text: /*! For license information please see 2.add44a26.chunk.js.LICENSE.txt */
  (this["webpackJsonpcovid-19-trackers"]=this["webpackJsonpcovid-19-trackers"]||[]).push([[2],[function(e,t,n){e.exports=n(71)()},function(e,t,n){"use strict";e.exports=n(49)},function(e,t,n){"use strict";n.d(t,"b",(function(){return oh})),n.d(t,"c",(function(){return Iy})),n.d(t,"d",(function(){return Wy})),n.d(t,"a",(function(){return cv}));var r={};n.r(r),n.d(r,"arc",(function(){return ca})),n.d(r,"area",(function(){return wa})),n.d(r,"line",(function(){return xa})),n.d(r,"pie",(function(){return Oa})),n.d(r,"areaRadial",(function(){return Aa})),n.d(r,"radialArea",(function(){return Aa})),n.d(r,"lineRadial",(function(){return Ca})),n.d(r,"radialLine",(function(){return Ca})),n.d(r,"pointRadial",(function(){return Na})),n.d(r,"linkHorizontal",(function(){return Ua})),n.d(r,"linkVertical",(function(){return Va})),n.d(r,"linkRadial",(function(){return Ha})),n.d(r,"symbol",(function(){return au})),n.d(r,"symbols",(function(){return iu})),n.d(r,"symbolCircle",(function(){return Ba})),n.d(r,"symbolCross",(function(){return qa})),n.d(r,"symbolDiamond",(function(){return $a})),n.d(r,"symbolSquare",(function(){return Za})),n.d(r,"symbolStar",(function(){return Ka})),n.d(r,"symbolTriangle",(function(){return eu})),n.d(r,"symbolWye",(function(){return ou})),n.d(r,"curveBasisClosed",(function(){return pu})),n.d(r,"curveBasisOpen",(function(){return du})),n.d(r,"curveBasis",(function(){return su})),n.d(r,"curveBundle",(function(){return mu})),n.d(r,"curveCardinalClosed",(function(){return xu})),n.d(r,"curveCardinalOpen",(function(){return ku})),n.d(r,"curveCardinal",(function(){return bu})),n.d(r,"curveCatmullRomClosed",(function(){return Pu})),n.d(r,"curveCatmullRomOpen",(function(){return Cu})),n.d(r,"curveCatmullRom",(function(){return Eu})),n.d(r,"curveLinearClosed",(function(){return Nu})),n.d(r,"curveLinear",(function(){return va})),n.d(r,"curveMonotoneX",(function(){return Uu})),n.d(r,"curveMonotoneY",(function(){return Vu})),n.d(r,"curveNatural",(function(){return qu})),n.d(r,"curveStep",(function(){return Yu})),n.d(r,"curveStepAfter",(function(){return Gu})),n.d(r,"curveStepBefore",(function(){return $u})),n.d(r,"stack",(function(){return Zu})),n.d(r,"stackOffsetExpand",(function(){return Ju})),n.d(r,"stackOffsetDiverging",(function(){return el})),n.d(r,"stackOffsetNone",(function(){return Xu})),n.d(r,"stackOffsetSilhouette",(function(){return tl})),n.d(r,"stackOffsetWiggle",(function(){return nl})),n.d(r,"stackOrderAppearance",(function(){return rl})),n.d(r,"stackOrderAscending",(function(){return il})),n.d(r,"stackOrderDescending",(function(){return ul})),n.d(r,"stackOrderInsideOut",(function(){return ll})),n.d(r,"stackOrderNone",(function(){return Qu})),n.d(r,"stackOrderReverse",(function(){return cl}));var o=n(0),i=n.n(o),a=function(e){return function(){return e}};function u(e){return e[0]}function l(e){return e[1]}function c(){this._=null}function s(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function f(e,t){var n=t,r=t.R,o=n.U;o?o.L===n?o.L=r:o.R=r:e._=r,r.U=o,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function p(e,t){var n=t,r=t.L,o=n.U;o?o.L===n?o.L=r:o.R=r:e._=r,r.U=o,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function h(e){for(;e.L;)e=e.L;return e}c.prototype={constructor:c,insert:function(e,t){var n,r,o;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=h(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(o=r.R)&&o.C?(n.C=o.C=!1,r.C=!0,e=r):(e===n.R&&(f(this,n),n=(e=n).U),n.C=!1,r.C=!0,p(this,r)):(o=r.L)&&o.C?(n.C=o.C=!1,r.C=!0,e=r):(e===n.L&&(p(this,n),n=(e=n).U),n.C=!1,r.C=!0,f(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,o=e.U,i=e.L,a=e.R;if(n=i?a?h(a):i:a,o?o.L===e?o.L=n:o.R=n:this._=n,i&&a?(r=n.C,n.C=e.C,n.L=i,i.U=n,n!==a?(o=n.U,n.U=e.U,e=n.R,o.L=e,n.R=a,a.U=n):(n.U=o,o=n,e=n.R)):(r=e.C,e=n),e&&(e.U=o),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===o.L){if((t=o.R).C&&(t.C=!1,o.C=!0,f(this,o),t=o.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,p(this,t),t=o.R),t.C=o.C,o.C=t.R.C=!1,f(this,o),e=this._;break}}else if((t=o.L).C&&(t.C=!1,o.C=!0,p(this,o),t=o.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,f(this,t),t=o.L),t.C=o.C,o.C=t.L.C=!1,p(this,o),e=this._;break}t.C=!0,e=o,o=o.U}while(!e.C);e&&(e.C=!1)}}};var d=c;function y(e,t,n,r){var o=[null,null],i=z.push(o)-1;return o.left=e,o.right=t,n&&g(o,e,t,n),r&&g(o,t,e,r),F[e.index].halfedges.push(i),F[t.index].halfedges.push(i),o}function m(e,t,n){var r=[t,n];return r.left=e,r}function g(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function v(e,t,n,r,o){var i,a=e[0],u=e[1],l=a[0],c=a[1],s=0,f=1,p=u[0]-l,h=u[1]-c;if(i=t-l,p||!(i>0)){if(i/=p,p<0){if(i<s)return;i<f&&(f=i)}else if(p>0){if(i>f)return;i>s&&(s=i)}if(i=r-l,p||!(i<0)){if(i/=p,p<0){if(i>f)return;i>s&&(s=i)}else if(p>0){if(i<s)return;i<f&&(f=i)}if(i=n-c,h||!(i>0)){if(i/=h,h<0){if(i<s)return;i<f&&(f=i)}else if(h>0){if(i>f)return;i>s&&(s=i)}if(i=o-c,h||!(i<0)){if(i/=h,h<0){if(i>f)return;i>s&&(s=i)}else if(h>0){if(i<s)return;i<f&&(f=i)}return!(s>0||f<1)||(s>0&&(e[0]=[l+s*p,c+s*h]),f<1&&(e[1]=[l+f*p,c+f*h]),!0)}}}}}function b(e,t,n,r,o){var i=e[1];if(i)return!0;var a,u,l=e[0],c=e.left,s=e.right,f=c[0],p=c[1],h=s[0],d=s[1],y=(f+h)/2,m=(p+d)/2;if(d===p){if(y<t||y>=r)return;if(f>h){if(l){if(l[1]>=o)return}else l=[y,n];i=[y,o]}else{if(l){if(l[1]<n)return}else l=[y,o];i=[y,n]}}else if(u=m-(a=(f-h)/(d-p))*y,a<-1||a>1)if(f>h){if(l){if(l[1]>=o)return}else l=[(n-u)/a,n];i=[(o-u)/a,o]}else{if(l){if(l[1]<n)return}else l=[(o-u)/a,o];i=[(n-u)/a,n]}else if(p<d){if(l){if(l[0]>=r)return}else l=[t,a*t+u];i=[r,a*r+u]}else{if(l){if(l[0]<t)return}else l=[r,a*r+u];i=[t,a*t+u]}return e[0]=l,e[1]=i,!0}function _(e,t){var n=e.site,r=t.left,o=t.right;return n===o&&(o=r,r=n),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(n===r?(r=t[1],o=t[0]):(r=t[0],o=t[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function x(e,t){return t[+(t.left!==e.site)]}function w(e,t){return t[+(t.left===e.site)]}var k,T=[];function O(){s(this),this.x=this.y=this.arc=this.site=this.cy=null}function E(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,o=e.site,i=n.site;if(r!==i){var a=o[0],u=o[1],l=r[0]-a,c=r[1]-u,s=i[0]-a,f=i[1]-u,p=2*(l*f-c*s);if(!(p>=-V)){var h=l*l+c*c,d=s*s+f*f,y=(f*h-c*d)/p,m=(l*d-s*h)/p,g=T.pop()||new O;g.arc=e,g.site=o,g.x=y+a,g.y=(g.cy=m+u)+Math.sqrt(y*y+m*m),e.circle=g;for(var v=null,b=I._;b;)if(g.y<b.y||g.y===b.y&&g.x<=b.x){if(!b.L){v=b.P;break}b=b.L}else{if(!b.R){v=b;break}b=b.R}I.insert(v,g),v||(k=g)}}}}function S(e){var t=e.circle;t&&(t.P||(k=t.N),I.remove(t),T.push(t),s(t),e.circle=null)}var P=[];function M(){s(this),this.edge=this.site=this.circle=null}function C(e){var t=P.pop()||new M;return t.site=e,t}function A(e){S(e),D.remove(e),P.push(e),s(e)}function N(e){var t=e.circle,n=t.x,r=t.cy,o=[n,r],i=e.P,a=e.N,u=[e];A(e);for(var l=i;l.circle&&Math.abs(n-l.circle.x)<U&&Math.abs(r-l.circle.cy)<U;)i=l.P,u.unshift(l),A(l),l=i;u.unshift(l),S(l);for(var c=a;c.circle&&Math.abs(n-c.circle.x)<U&&Math.abs(r-c.circle.cy)<U;)a=c.N,u.push(c),A(c),c=a;u.push(c),S(c);var s,f=u.length;for(s=1;s<f;++s)c=u[s],l=u[s-1],g(c.edge,l.site,c.site,o);l=u[0],(c=u[f-1]).edge=y(l.site,c.site,null,o),E(l),E(c)}function j(e){for(var t,n,r,o,i=e[0],a=e[1],u=D._;u;)if((r=R(u,a)-i)>U)u=u.L;else{if(!((o=i-L(u,a))>U)){r>-U?(t=u.P,n=u):o>-U?(t=u,n=u.N):t=n=u;break}if(!u.R){t=u;break}u=u.R}!function(e){F[e.index]={site:e,halfedges:[]}}(e);var l=C(e);if(D.insert(t,l),t||n){if(t===n)return S(t),n=C(t.site),D.insert(l,n),l.edge=n.edge=y(t.site,l.site),E(t),void E(n);if(n){S(t),S(n);var c=t.site,s=c[0],f=c[1],p=e[0]-s,h=e[1]-f,d=n.site,m=d[0]-s,v=d[1]-f,b=2*(p*v-h*m),_=p*p+h*h,x=m*m+v*v,w=[(v*_-h*x)/b+s,(p*x-m*_)/b+f];g(n.edge,c,d,w),l.edge=y(c,e,null,w),n.edge=y(e,d,null,w),E(t),E(n)}else l.edge=y(t.site,l.site)}}function R(e,t){var n=e.site,r=n[0],o=n[1],i=o-t;if(!i)return r;var a=e.P;if(!a)return-1/0;var u=(n=a.site)[0],l=n[1],c=l-t;if(!c)return u;var s=u-r,f=1/i-1/c,p=s/c;return f?(-p+Math.sqrt(p*p-2*f*(s*s/(-2*c)-l+c/2+o-i/2)))/f+r:(r+u)/2}function L(e,t){var n=e.N;if(n)return R(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var D,F,I,z,U=1e-6,V=1e-12;function H(e,t){return t[1]-e[1]||t[0]-e[0]}function B(e,t){var n,r,o,i=e.sort(H).pop();for(z=[],F=new Array(e.length),D=new d,I=new d;;)if(o=k,i&&(!o||i[1]<o.y||i[1]===o.y&&i[0]<o.x))i[0]===n&&i[1]===r||(j(i),n=i[0],r=i[1]),i=e.pop();else{if(!o)break;N(o.arc)}if(function(){for(var e,t,n,r,o=0,i=F.length;o<i;++o)if((e=F[o])&&(r=(t=e.halfedges).length)){var a=new Array(r),u=new Array(r);for(n=0;n<r;++n)a[n]=n,u[n]=_(e,z[t[n]]);for(a.sort((function(e,t){return u[t]-u[e]})),n=0;n<r;++n)u[n]=t[a[n]];for(n=0;n<r;++n)t[n]=u[n]}}(),t){var a=+t[0][0],u=+t[0][1],l=+t[1][0],c=+t[1][1];!function(e,t,n,r){for(var o,i=z.length;i--;)b(o=z[i],e,t,n,r)&&v(o,e,t,n,r)&&(Math.abs(o[0][0]-o[1][0])>U||Math.abs(o[0][1]-o[1][1])>U)||delete z[i]}(a,u,l,c),function(e,t,n,r){var o,i,a,u,l,c,s,f,p,h,d,y,g=F.length,v=!0;for(o=0;o<g;++o)if(i=F[o]){for(a=i.site,u=(l=i.halfedges).length;u--;)z[l[u]]||l.splice(u,1);for(u=0,c=l.length;u<c;)d=(h=w(i,z[l[u]]))[0],y=h[1],f=(s=x(i,z[l[++u%c]]))[0],p=s[1],(Math.abs(d-f)>U||Math.abs(y-p)>U)&&(l.splice(u,0,z.push(m(a,h,Math.abs(d-e)<U&&r-y>U?[e,Math.abs(f-e)<U?p:r]:Math.abs(y-r)<U&&n-d>U?[Math.abs(p-r)<U?f:n,r]:Math.abs(d-n)<U&&y-t>U?[n,Math.abs(f-n)<U?p:t]:Math.abs(y-t)<U&&d-e>U?[Math.abs(p-t)<U?f:e,t]:null))-1),++c);c&&(v=!1)}if(v){var b,_,k,T=1/0;for(o=0,v=null;o<g;++o)(i=F[o])&&(k=(b=(a=i.site)[0]-e)*b+(_=a[1]-t)*_)<T&&(T=k,v=i);if(v){var O=[e,t],E=[e,r],S=[n,r],P=[n,t];v.halfedges.push(z.push(m(a=v.site,O,E))-1,z.push(m(a,E,S))-1,z.push(m(a,S,P))-1,z.push(m(a,P,O))-1)}}for(o=0;o<g;++o)(i=F[o])&&(i.halfedges.length||delete F[o])}(a,u,l,c)}this.edges=z,this.cells=F,D=I=z=F=null}B.prototype={constructor:B,polygons:function(){var e=this.edges;return this.cells.map((function(t){var n=t.halfedges.map((function(n){return x(t,e[n])}));return n.data=t.site.data,n}))},triangles:function(){var e=[],t=this.edges;return this.cells.forEach((function(n,r){if(i=(o=n.halfedges).length)for(var o,i,a,u,l,c,s=n.site,f=-1,p=t[o[i-1]],h=p.left===s?p.right:p.left;++f<i;)a=h,h=(p=t[o[f]]).left===s?p.right:p.left,a&&h&&r<a.index&&r<h.index&&(l=a,c=h,((u=s)[0]-c[0])*(l[1]-u[1])-(u[0]-l[0])*(c[1]-u[1])<0)&&e.push([s.data,a.data,h.data])})),e},links:function(){return this.edges.filter((function(e){return e.right})).map((function(e){return{source:e.left.data,target:e.right.data}}))},find:function(e,t,n){for(var r,o,i=this,a=i._found||0,u=i.cells.length;!(o=i.cells[a]);)if(++a>=u)return null;var l=e-o.site[0],c=t-o.site[1],s=l*l+c*c;do{o=i.cells[r=a],a=null,o.halfedges.forEach((function(n){var r=i.edges[n],u=r.left;if(u!==o.site&&u||(u=r.right)){var l=e-u[0],c=t-u[1],f=l*l+c*c;f<s&&(s=f,a=u.index)}}))}while(null!==a);return i._found=r,null==n||s<=n*n?o.site:null}};var q=function(){var e=u,t=l,n=null;function r(r){return new B(r.map((function(n,o){var i=[Math.round(e(n,o,r)/U)*U,Math.round(t(n,o,r)/U)*U];return i.index=o,i.data=n,i})),n)}return r.polygons=function(e){return r(e).polygons()},r.links=function(e){return r(e).links()},r.triangles=function(e){return r(e).triangles()},r.x=function(t){return arguments.length?(e="function"===typeof t?t:a(+t),r):e},r.y=function(e){return arguments.length?(t="function"===typeof e?e:a(+e),r):t},r.extent=function(e){return arguments.length?(n=null==e?null:[[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]],r):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},r.size=function(e){return arguments.length?(n=null==e?null:[[0,0],[+e[0],+e[1]]],r):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},r},W=n(1),Y=n.n(W),$=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function G(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function X(){}var Q="\\s*([+-]?\\d+)\\s*",K="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Z="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",J=/^#([0-9a-f]{3,8})$/,ee=new RegExp("^rgb\\("+[Q,Q,Q]+"\\)$"),te=new RegExp("^rgb\\("+[Z,Z,Z]+"\\)$"),ne=new RegExp("^rgba\\("+[Q,Q,Q,K]+"\\)$"),re=new RegExp("^rgba\\("+[Z,Z,Z,K]+"\\)$"),oe=new RegExp("^hsl\\("+[K,Z,Z]+"\\)$"),ie=new RegExp("^hsla\\("+[K,Z,Z,K]+"\\)$"),ae={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ue(){return this.rgb().formatHex()}function le(){return this.rgb().formatRgb()}function ce(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=J.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?se(t):3===n?new de(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?fe(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?fe(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=ee.exec(e))?new de(t[1],t[2],t[3],1):(t=te.exec(e))?new de(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ne.exec(e))?fe(t[1],t[2],t[3],t[4]):(t=re.exec(e))?fe(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=oe.exec(e))?ve(t[1],t[2]/100,t[3]/100,1):(t=ie.exec(e))?ve(t[1],t[2]/100,t[3]/100,t[4]):ae.hasOwnProperty(e)?se(ae[e]):"transparent"===e?new de(NaN,NaN,NaN,0):null}function se(e){return new de(e>>16&255,e>>8&255,255&e,1)}function fe(e,t,n,r){return r<=0&&(e=t=n=NaN),new de(e,t,n,r)}function pe(e){return e instanceof X||(e=ce(e)),e?new de((e=e.rgb()).r,e.g,e.b,e.opacity):new de}function he(e,t,n,r){return 1===arguments.length?pe(e):new de(e,t,n,null==r?1:r)}function de(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function ye(){return"#"+ge(this.r)+ge(this.g)+ge(this.b)}function me(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function ge(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function ve(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new xe(e,t,n,r)}function be(e){if(e instanceof xe)return new xe(e.h,e.s,e.l,e.opacity);if(e instanceof X||(e=ce(e)),!e)return new xe;if(e instanceof xe)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,u=i-o,l=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n<r):n===i?(r-t)/u+2:(t-n)/u+4,u/=l<.5?i+o:2-i-o,a*=60):u=l>0&&l<1?0:a,new xe(a,u,l,e.opacity)}function _e(e,t,n,r){return 1===arguments.length?be(e):new xe(e,t,n,null==r?1:r)}function xe(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function we(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function ke(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}$(X,ce,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ue,formatHex:ue,formatHsl:function(){return be(this).formatHsl()},formatRgb:le,toString:le}),$(de,he,G(X,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new de(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new de(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ye,formatHex:ye,formatRgb:me,toString:me})),$(xe,_e,G(X,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new xe(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new xe(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new de(we(e>=240?e-240:e+120,o,r),we(e,o,r),we(e<120?e+240:e-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},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Te=function(e){return function(){return e}};function Oe(e,t){return function(n){return e+n*t}}function Ee(e){return 1===(e=+e)?Se:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Te(isNaN(t)?n:t)}}function Se(e,t){var n=t-e;return n?Oe(e,n):Te(isNaN(e)?t:e)}var Pe=function e(t){var n=Ee(t);function r(e,t){var r=n((e=he(e)).r,(t=he(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Se(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Me(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n<o;++n)r=he(t[n]),i[n]=r.r||0,a[n]=r.g||0,u[n]=r.b||0;return i=e(i),a=e(a),u=e(u),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=u(e),r+""}}}Me((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,u=r<t-1?e[r+2]:2*i-o;return ke((n-r/t)*t,a,o,i,u)}})),Me((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],u=e[(r+2)%t];return ke((n-r/t)*t,o,i,a,u)}}));var Ce=function(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}};function Ae(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Ne(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=ze(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}var je=function(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}},Re=function(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}},Le=function(e,t){var n,r={},o={};for(n in null!==e&&"object"===typeof e||(e={}),null!==t&&"object"===typeof t||(t={}),t)n in e?r[n]=ze(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}},De=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Fe=new RegExp(De.source,"g");var Ie=function(e,t){var n,r,o,i=De.lastIndex=Fe.lastIndex=0,a=-1,u=[],l=[];for(e+="",t+="";(n=De.exec(e))&&(r=Fe.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,l.push({i:a,x:Re(n,r)})),i=Fe.lastIndex;return i<t.length&&(o=t.slice(i),u[a]?u[a]+=o:u[++a]=o),u.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)u[(n=l[r]).i]=n.x(e);return u.join("")})},ze=function(e,t){var n,r=typeof t;return null==t||"boolean"===r?Te(t):("number"===r?Re:"string"===r?(n=ce(t))?(t=n,Pe):Ie:t instanceof ce?Pe:t instanceof Date?je:Ae(t)?Ce:Array.isArray(t)?Ne:"function"!==typeof t.valueOf&&"function"!==typeof t.toString||isNaN(t)?Le:Re)(e,t)},Ue=n(8),Ve=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var Be=i.a.oneOfType([i.a.string,i.a.shape({stiffness:i.a.number,nonAnimatedProps:i.a.arrayOf(i.a.string),damping:i.a.number}),i.a.bool]),qe={animatedProps:i.a.arrayOf(i.a.string).isRequired,animation:Be,onStart:i.a.func,onEnd:i.a.func};function We(e){var t=e.animatedProps,n=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["animatedProps"]);return t.reduce((function(e,t){return n.hasOwnProperty(t)&&(e[t]=n[t]),e}),{})}var Ye=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n._motionEndHandler=function(){n.props.onEnd&&n.props.onEnd()},n._renderChildren=function(e){var t=e.i,r=n.props.children,o=n._interpolator,i=Y.a.Children.only(r),a=o?o(t):o,u=a&&a.data||null;return u&&i.props._data&&(u=u.map((function(e,t){var n=i.props._data[t];return He({},e,{parent:n.parent,children:n.children})}))),Y.a.cloneElement(i,He({},i.props,a,{data:u||i.props.data||null,_animation:Math.random()}))},n._updateInterpolator(e),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ve(t,[{key:"componentWillUpdate",value:function(e){this._updateInterpolator(this.props,e),e.onStart&&e.onStart()}},{key:"_updateInterpolator",value:function(e,t){this._interpolator=ze(We(e),t?We(t):null)}},{key:"render",value:function(){var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ue.presets.noWobble;if("string"===typeof e)return Ue.presets[e]||Ue.presets.noWobble;var t=e.damping,n=e.stiffness;return He({damping:t||Ue.presets.noWobble.damping,stiffness:n||Ue.presets.noWobble.stiffness},e)}(this.props.animation),t={i:Object(Ue.spring)(1,e)},n=Math.random();return Y.a.createElement(Ue.Motion,He({defaultStyle:{i:0},style:t,key:n},{onRest:this._motionEndHandler}),this._renderChildren)}}]),t}(W.PureComponent);Ye.propTypes=qe,Ye.displayName="Animation";var $e=Ye,Ge=Be,Xe=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},Qe=function(e){var t;return 1===e.length&&(t=e,e=function(e,n){return Xe(t(e),n)}),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;e(t[i],n)>0?o=i:r=i+1}return r}}};var Ke=Qe(Xe),Ze=Ke.right,Je=(Ke.left,Ze);var et=function(e,t){var n,r,o,i=e.length,a=-1;if(null==t){for(;++a<i;)if(null!=(n=e[a])&&n>=n)for(r=o=n;++a<i;)null!=(n=e[a])&&(r>n&&(r=n),o<n&&(o=n))}else for(;++a<i;)if(null!=(n=t(e[a],a,e))&&n>=n)for(r=o=n;++a<i;)null!=(n=t(e[a],a,e))&&(r>n&&(r=n),o<n&&(o=n));return[r,o]},tt=Array.prototype,nt=(tt.slice,tt.map,function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}),rt=Math.sqrt(50),ot=Math.sqrt(10),it=Math.sqrt(2),at=function(e,t,n){var r,o,i,a,u=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(a=ut(e,t,n))||!isFinite(a))return[];if(a>0)for(e=Math.ceil(e/a),t=Math.floor(t/a),i=new Array(o=Math.ceil(t-e+1));++u<o;)i[u]=(e+u)*a;else for(e=Math.floor(e*a),t=Math.ceil(t*a),i=new Array(o=Math.ceil(e-t+1));++u<o;)i[u]=(e-u)/a;return r&&i.reverse(),i};function ut(e,t,n){var r=(t-e)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=rt?10:i>=ot?5:i>=it?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=rt?10:i>=ot?5:i>=it?2:1)}function lt(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=rt?o*=10:i>=ot?o*=5:i>=it&&(o*=2),t<e?-o:o}var ct=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1},st=function(e,t){var n,r,o=e.length,i=-1;if(null==t){for(;++i<o;)if(null!=(n=e[i])&&n>=n)for(r=n;++i<o;)null!=(n=e[i])&&r>n&&(r=n)}else for(;++i<o;)if(null!=(n=t(e[i],i,e))&&n>=n)for(r=n;++i<o;)null!=(n=t(e[i],i,e))&&r>n&&(r=n);return r},ft=function(e,t){var n,r=e.length,o=-1,i=0;if(null==t)for(;++o<r;)(n=+e[o])&&(i+=n);else for(;++o<r;)(n=+t(e[o],o,e))&&(i+=n);return i};function pt(){}function ht(e,t){var n=new pt;if(e instanceof pt)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(r=e[o],o,e),r)}else if(e)for(var a in e)n.set(a,e[a]);return n}pt.prototype=ht.prototype={constructor:pt,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var dt=ht,yt=function(){var e,t,n,r=[],o=[];function i(n,o,a,u){if(o>=r.length)return null!=e&&n.sort(e),null!=t?t(n):n;for(var l,c,s,f=-1,p=n.length,h=r[o++],d=dt(),y=a();++f<p;)(s=d.get(l=h(c=n[f])+""))?s.push(c):d.set(l,[c]);return d.each((function(e,t){u(y,t,i(e,o,a,u))})),y}return n={object:function(e){return i(e,0,mt,gt)},map:function(e){return i(e,0,vt,bt)},entries:function(e){return function e(n,i){if(++i>r.length)return n;var a,u=o[i-1];return null!=t&&i>=r.length?a=n.entries():(a=[],n.each((function(t,n){a.push({key:n,values:e(t,i)})}))),null!=u?a.sort((function(e,t){return u(e.key,t.key)})):a}(i(e,0,vt,bt),0)},key:function(e){return r.push(e),n},sortKeys:function(e){return o[r.length-1]=e,n},sortValues:function(t){return e=t,n},rollup:function(e){return t=e,n}}};function mt(){return{}}function gt(e,t,n){e[t]=n}function vt(){return dt()}function bt(e,t,n){e.set(t,n)}function _t(){}var xt=dt.prototype;function wt(e,t){var n=new _t;if(e instanceof _t)e.each((function(e){n.add(e)}));else if(e){var r=-1,o=e.length;if(null==t)for(;++r<o;)n.add(e[r]);else for(;++r<o;)n.add(t(e[r],r,e))}return n}_t.prototype=wt.prototype={constructor:_t,has:xt.has,add:function(e){return this["$"+(e+="")]=e,this},remove:xt.remove,clear:xt.clear,values:xt.keys,size:xt.size,empty:xt.empty,each:xt.each};var kt=wt,Tt=Array.prototype,Ot=Tt.map,Et=Tt.slice,St={name:"implicit"};function Pt(e){var t=dt(),n=[],r=St;function o(o){var i=o+"",a=t.get(i);if(!a){if(r!==St)return r;t.set(i,a=n.push(o))}return e[(a-1)%e.length]}return e=null==e?[]:Et.call(e),o.domain=function(e){if(!arguments.length)return n.slice();n=[],t=dt();for(var r,i,a=-1,u=e.length;++a<u;)t.has(i=(r=e[a])+"")||t.set(i,n.push(r));return o},o.range=function(t){return arguments.length?(e=Et.call(t),o):e.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return Pt().domain(n).range(e).unknown(r)},o}var Mt=function(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}},Ct=function(e){return function(){return e}},At=function(e){return+e},Nt=[0,1];function jt(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Ct(t)}function Rt(e,t,n,r){var o=e[0],i=e[1],a=t[0],u=t[1];return i<o?(o=n(i,o),a=r(u,a)):(o=n(o,i),a=r(a,u)),function(e){return a(o(e))}}function Lt(e,t,n,r){var o=Math.min(e.length,t.length)-1,i=new Array(o),a=new Array(o),u=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++u<o;)i[u]=n(e[u],e[u+1]),a[u]=r(t[u],t[u+1]);return function(t){var n=Je(e,t,1,o)-1;return a[n](i[n](t))}}function Dt(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function Ft(e,t){var n,r,o,i=Nt,a=Nt,u=ze,l=!1;function c(){return n=Math.min(i.length,a.length)>2?Lt:Rt,r=o=null,s}function s(t){return(r||(r=n(i,a,l?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}(e):e,u)))(+t)}return s.invert=function(e){return(o||(o=n(a,i,jt,l?function(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}(t):t)))(+e)},s.domain=function(e){return arguments.length?(i=Ot.call(e,At),c()):i.slice()},s.range=function(e){return arguments.length?(a=Et.call(e),c()):a.slice()},s.rangeRound=function(e){return a=Et.call(e),u=Mt,c()},s.clamp=function(e){return arguments.length?(l=!!e,c()):l},s.interpolate=function(e){return arguments.length?(u=e,c()):u},c()}var It=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function zt(e){if(!(t=It.exec(e)))throw new Error("invalid format: "+e);var t;return new Ut({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Ut(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}zt.prototype=Ut.prototype,Ut.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};function Vt(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var Ht,Bt,qt,Wt,Yt=function(e){return(e=Vt(Math.abs(e)))?e[1]:NaN},$t=function(e,t){var n=Vt(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},Gt={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return $t(100*e,t)},r:$t,s:function(e,t){var n=Vt(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Ht=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Vt(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Xt=function(e){return e},Qt=Array.prototype.map,Kt=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];Bt=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Xt:(t=Qt.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,u=t[0],l=0;o>0&&u>0&&(l+u+1>r&&(u=Math.max(1,r-l)),i.push(e.substring(o-=u,o+u)),!((l+=u+1)>r));)u=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?Xt:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Qt.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",s=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=zt(e)).fill,n=e.align,f=e.sign,p=e.symbol,h=e.zero,d=e.width,y=e.comma,m=e.precision,g=e.trim,v=e.type;"n"===v?(y=!0,v="g"):Gt[v]||(void 0===m&&(m=12),g=!0,v="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===p?i:/[%p]/.test(v)?l:"",x=Gt[v],w=/[defgprs%]/.test(v);function k(e){var o,i,l,p=b,k=_;if("c"===v)k=x(e)+k,e="";else{var T=(e=+e)<0||1/e<0;if(e=isNaN(e)?s:x(Math.abs(e),m),g&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),T&&0===+e&&"+"!==f&&(T=!1),p=(T?"("===f?f:c:"-"===f||"("===f?"":f)+p,k=("s"===v?Kt[8+Ht/3]:"")+k+(T&&"("===f?")":""),w)for(o=-1,i=e.length;++o<i;)if(48>(l=e.charCodeAt(o))||l>57){k=(46===l?a+e.slice(o+1):e.slice(o))+k,e=e.slice(0,o);break}}y&&!h&&(e=r(e,1/0));var O=p.length+e.length+k.length,E=O<d?new Array(d-O+1).join(t):"";switch(y&&h&&(e=r(E+e,E.length?d-k.length:1/0),E=""),n){case"<":e=p+e+k+E;break;case"=":e=p+E+e+k;break;case"^":e=E.slice(0,O=E.length>>1)+p+e+k+E.slice(O);break;default:e=E+p+e+k}return u(e)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:f,formatPrefix:function(e,t){var n=f(((e=zt(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Yt(t)/3))),o=Math.pow(10,-r),i=Kt[8+r/3];return function(e){return n(o*e)+i}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),qt=Bt.format,Wt=Bt.formatPrefix;var Zt=function(e,t,n){var r,o=e[0],i=e[e.length-1],a=lt(o,i,null==t?10:t);switch((n=zt(null==n?",f":n)).type){case"s":var u=Math.max(Math.abs(o),Math.abs(i));return null!=n.precision||isNaN(r=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Yt(t)/3)))-Yt(Math.abs(e)))}(a,u))||(n.precision=r),Wt(n,u);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Yt(t)-Yt(e))+1}(a,Math.max(Math.abs(o),Math.abs(i))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(e){return Math.max(0,-Yt(Math.abs(e)))}(a))||(n.precision=r-2*("%"===n.type))}return qt(n)};function Jt(e){var t=e.domain;return e.ticks=function(e){var n=t();return at(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return Zt(t(),e,n)},e.nice=function(n){null==n&&(n=10);var r,o=t(),i=0,a=o.length-1,u=o[i],l=o[a];return l<u&&(r=u,u=l,l=r,r=i,i=a,a=r),(r=ut(u,l,n))>0?r=ut(u=Math.floor(u/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=ut(u=Math.ceil(u*r)/r,l=Math.floor(l*r)/r,n)),r>0?(o[i]=Math.floor(u/r)*r,o[a]=Math.ceil(l/r)*r,t(o)):r<0&&(o[i]=Math.ceil(u*r)/r,o[a]=Math.floor(l*r)/r,t(o)),e},e}function en(){var e=Ft(jt,Re);return e.copy=function(){return Dt(e,en())},Jt(e)}var tn=function(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e};function nn(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:Ct(t)}function rn(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function on(e){return isFinite(e)?+("1e"+e):e<0?0:e}function an(e){return 10===e?on:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function un(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function ln(e){return function(t){return-e(-t)}}function cn(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function sn(){return function e(){var t=1,n=Ft((function(e,n){return(n=cn(n,t)-(e=cn(e,t)))?function(r){return(cn(r,t)-e)/n}:Ct(n)}),(function(e,n){return n=cn(n,t)-(e=cn(e,t)),function(r){return cn(e+n*r,1/t)}})),r=n.domain;return n.exponent=function(e){return arguments.length?(t=+e,r(r())):t},n.copy=function(){return Dt(n,e().exponent(t))},Jt(n)}().exponent(.5)}var fn=new Date,pn=new Date;function hn(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,u=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r)||!(i>0))return u;do{u.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return u},o.filter=function(n){return hn((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return fn.setTime(+t),pn.setTime(+r),e(fn),e(pn),Math.floor(n(fn,pn))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var dn=hn((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));dn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?hn((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var yn=dn,mn=(dn.range,hn((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),gn=mn;mn.range;function vn(e){return hn((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/6048e5}))}var bn=vn(0),_n=vn(1),xn=vn(2),wn=vn(3),kn=vn(4),Tn=vn(5),On=vn(6),En=(bn.range,_n.range,xn.range,wn.range,kn.range,Tn.range,On.range,hn((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/864e5}),(function(e){return e.getDate()-1}))),Sn=En,Pn=(En.range,hn((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getHours()}))),Mn=Pn,Cn=(Pn.range,hn((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getMinutes()}))),An=Cn,Nn=(Cn.range,hn((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+1e3*t)}),(function(e,t){return(t-e)/1e3}),(function(e){return e.getUTCSeconds()}))),jn=Nn,Rn=(Nn.range,hn((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e})));Rn.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?hn((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Rn:null};var Ln=Rn;Rn.range;function Dn(e){return hn((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/6048e5}))}var Fn=Dn(0),In=Dn(1),zn=Dn(2),Un=Dn(3),Vn=Dn(4),Hn=Dn(5),Bn=Dn(6),qn=(Fn.range,In.range,zn.range,Un.range,Vn.range,Hn.range,Bn.range,hn((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/864e5}),(function(e){return e.getUTCDate()-1}))),Wn=qn,Yn=(qn.range,hn((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Yn.every=function(e){return isFinite(e=Math.floor(e))&&e>0?hn((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var $n=Yn;Yn.range;function Gn(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Xn(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Qn(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Kn,Zn,Jn,er={"-":"",_:" ",0:"0"},tr=/^\s*\d+/,nr=/^%/,rr=/[\\^$*+?|[\]().{}]/g;function or(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function ir(e){return e.replace(rr,"\\$&")}function ar(e){return new RegExp("^(?:"+e.map(ir).join("|")+")","i")}function ur(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function lr(e,t,n){var r=tr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function cr(e,t,n){var r=tr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function sr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function fr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function pr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function hr(e,t,n){var r=tr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function dr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function yr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function mr(e,t,n){var r=tr.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function gr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function vr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function br(e,t,n){var r=tr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function _r(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function xr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function wr(e,t,n){var r=tr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function kr(e,t,n){var r=tr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Tr(e,t,n){var r=tr.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Or(e,t,n){var r=nr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Er(e,t,n){var r=tr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Sr(e,t,n){var r=tr.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Pr(e,t){return or(e.getDate(),t,2)}function Mr(e,t){return or(e.getHours(),t,2)}function Cr(e,t){return or(e.getHours()%12||12,t,2)}function Ar(e,t){return or(1+Sn.count(yn(e),e),t,3)}function Nr(e,t){return or(e.getMilliseconds(),t,3)}function jr(e,t){return Nr(e,t)+"000"}function Rr(e,t){return or(e.getMonth()+1,t,2)}function Lr(e,t){return or(e.getMinutes(),t,2)}function Dr(e,t){return or(e.getSeconds(),t,2)}function Fr(e){var t=e.getDay();return 0===t?7:t}function Ir(e,t){return or(bn.count(yn(e)-1,e),t,2)}function zr(e){var t=e.getDay();return t>=4||0===t?kn(e):kn.ceil(e)}function Ur(e,t){return e=zr(e),or(kn.count(yn(e),e)+(4===yn(e).getDay()),t,2)}function Vr(e){return e.getDay()}function Hr(e,t){return or(_n.count(yn(e)-1,e),t,2)}function Br(e,t){return or(e.getFullYear()%100,t,2)}function qr(e,t){return or((e=zr(e)).getFullYear()%100,t,2)}function Wr(e,t){return or(e.getFullYear()%1e4,t,4)}function Yr(e,t){var n=e.getDay();return or((e=n>=4||0===n?kn(e):kn.ceil(e)).getFullYear()%1e4,t,4)}function $r(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+or(t/60|0,"0",2)+or(t%60,"0",2)}function Gr(e,t){return or(e.getUTCDate(),t,2)}function Xr(e,t){return or(e.getUTCHours(),t,2)}function Qr(e,t){return or(e.getUTCHours()%12||12,t,2)}function Kr(e,t){return or(1+Wn.count($n(e),e),t,3)}function Zr(e,t){return or(e.getUTCMilliseconds(),t,3)}function Jr(e,t){return Zr(e,t)+"000"}function eo(e,t){return or(e.getUTCMonth()+1,t,2)}function to(e,t){return or(e.getUTCMinutes(),t,2)}function no(e,t){return or(e.getUTCSeconds(),t,2)}function ro(e){var t=e.getUTCDay();return 0===t?7:t}function oo(e,t){return or(Fn.count($n(e)-1,e),t,2)}function io(e){var t=e.getUTCDay();return t>=4||0===t?Vn(e):Vn.ceil(e)}function ao(e,t){return e=io(e),or(Vn.count($n(e),e)+(4===$n(e).getUTCDay()),t,2)}function uo(e){return e.getUTCDay()}function lo(e,t){return or(In.count($n(e)-1,e),t,2)}function co(e,t){return or(e.getUTCFullYear()%100,t,2)}function so(e,t){return or((e=io(e)).getUTCFullYear()%100,t,2)}function fo(e,t){return or(e.getUTCFullYear()%1e4,t,4)}function po(e,t){var n=e.getUTCDay();return or((e=n>=4||0===n?Vn(e):Vn.ceil(e)).getUTCFullYear()%1e4,t,4)}function ho(){return"+0000"}function yo(){return"%"}function mo(e){return+e}function go(e){return Math.floor(+e/1e3)}!function(e){Kn=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,u=e.months,l=e.shortMonths,c=ar(o),s=ur(o),f=ar(i),p=ur(i),h=ar(a),d=ur(a),y=ar(u),m=ur(u),g=ar(l),v=ur(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:Pr,e:Pr,f:jr,g:qr,G:Yr,H:Mr,I:Cr,j:Ar,L:Nr,m:Rr,M:Lr,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:mo,s:go,S:Dr,u:Fr,U:Ir,V:Ur,w:Vr,W:Hr,x:null,X:null,y:Br,Y:Wr,Z:$r,"%":yo},_={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:Gr,e:Gr,f:Jr,g:so,G:po,H:Xr,I:Qr,j:Kr,L:Zr,m:eo,M:to,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:mo,s:go,S:no,u:ro,U:oo,V:ao,w:uo,W:lo,x:null,X:null,y:co,Y:fo,Z:ho,"%":yo},x={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=v[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=m[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return T(e,t,n,r)},d:vr,e:vr,f:Tr,g:dr,G:hr,H:_r,I:_r,j:br,L:kr,m:gr,M:xr,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=s[r[0].toLowerCase()],n+r[0].length):-1},q:mr,Q:Er,s:Sr,S:wr,u:cr,U:sr,V:fr,w:lr,W:pr,x:function(e,t,r){return T(e,n,t,r)},X:function(e,t,n){return T(e,r,t,n)},y:dr,Y:hr,Z:yr,"%":Or};function w(e,t){return function(n){var r,o,i,a=[],u=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===e.charCodeAt(u)&&(a.push(e.slice(l,u)),null!=(o=er[r=e.charAt(++u)])?r=e.charAt(++u):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=u+1);return a.push(e.slice(l,u)),a.join("")}}function k(e,t){return function(n){var r,o,i=Qn(1900,void 0,1);if(T(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Xn(Qn(i.y,0,1))).getUTCDay(),r=o>4||0===o?In.ceil(r):In(r),r=Wn.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Gn(Qn(i.y,0,1))).getDay(),r=o>4||0===o?_n.ceil(r):_n(r),r=Sn.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Xn(Qn(i.y,0,1)).getUTCDay():Gn(Qn(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Xn(i)):Gn(i)}}function T(e,t,n,r){for(var o,i,a=0,u=t.length,l=n.length;a<u;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=x[o in er?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(t,b),_.x=w(n,_),_.X=w(r,_),_.c=w(t,_),{format:function(e){var t=w(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",_);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e+="",!0);return t.toString=function(){return e},t}}}(e),Zn=Kn.format,Kn.parse,Jn=Kn.utcFormat,Kn.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 vo(e){return new Date(e)}function bo(e){return e instanceof Date?+e:+new Date(+e)}function _o(e,t,n,r,o,i,a,u,l){var c=Ft(jt,Re),s=c.invert,f=c.domain,p=l(".%L"),h=l(":%S"),d=l("%I:%M"),y=l("%I %p"),m=l("%a %d"),g=l("%b %d"),v=l("%B"),b=l("%Y"),_=[[a,1,1e3],[a,5,5e3],[a,15,15e3],[a,30,3e4],[i,1,6e4],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,31536e6]];function x(u){return(a(u)<u?p:i(u)<u?h:o(u)<u?d:r(u)<u?y:t(u)<u?n(u)<u?m:g:e(u)<u?v:b)(u)}function w(t,n,r,o){if(null==t&&(t=10),"number"===typeof t){var i=Math.abs(r-n)/t,a=Qe((function(e){return e[2]})).right(_,i);a===_.length?(o=lt(n/31536e6,r/31536e6,t),t=e):a?(o=(a=_[i/_[a-1][2]<_[a][2]/i?a-1:a])[1],t=a[0]):(o=Math.max(lt(n,r,t),1),t=u)}return null==o?t:t.every(o)}return c.invert=function(e){return new Date(s(e))},c.domain=function(e){return arguments.length?f(Ot.call(e,bo)):f().map(vo)},c.ticks=function(e,t){var n,r=f(),o=r[0],i=r[r.length-1],a=i<o;return a&&(n=o,o=i,i=n),n=(n=w(e,o,i,t))?n.range(o,i+1):[],a?n.reverse():n},c.tickFormat=function(e,t){return null==t?x:l(t)},c.nice=function(e,t){var n=f();return(e=w(e,n[0],n[n.length-1],t))?f(tn(n,e)):c},c.copy=function(){return Dt(c,_o(e,t,n,r,o,i,a,u,l))},c}var xo=hn((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})),wo=xo,ko=(xo.range,hn((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getUTCHours()}))),To=ko,Oo=(ko.range,hn((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+6e4*t)}),(function(e,t){return(t-e)/6e4}),(function(e){return e.getUTCMinutes()}))),Eo=Oo,So=(Oo.range,function(e){return e.match(/.{6}/g).map((function(e){return"#"+e}))}),Po=(So("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),So("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),So("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),So("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),Math.PI/180),Mo=180/Math.PI,Co=-.14861,Ao=-.29227,No=1.97294,jo=-.90649*No,Ro=1.78277*No,Lo=-.6557636667999999;function Do(e){if(e instanceof Io)return new Io(e.h,e.s,e.l,e.opacity);e instanceof de||(e=pe(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Lo*r+jo*t-Ro*n)/(Lo+jo-Ro),i=r-o,a=(No*(n-o)-Ao*i)/-.90649,u=Math.sqrt(a*a+i*i)/(No*o*(1-o)),l=u?Math.atan2(a,i)*Mo-120:NaN;return new Io(l<0?l+360:l,u,o,e.opacity)}function Fo(e,t,n,r){return 1===arguments.length?Do(e):new Io(e,t,n,null==r?1:r)}function Io(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function zo(e){return function t(n){function r(t,r){var o=e((t=Fo(t)).h,(r=Fo(r)).h),i=Se(t.s,r.s),a=Se(t.l,r.l),u=Se(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=i(e),t.l=a(Math.pow(e,n)),t.opacity=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}$(Io,Fo,G(X,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new Io(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new Io(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Po,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new de(255*(t+n*(Co*r+1.78277*o)),255*(t+n*(Ao*r+-.90649*o)),255*(t+n*(No*r)),this.opacity)}}));zo((function(e,t){var n=t-e;return n?Oe(e,n>180||n<-180?n-360*Math.round(n/360):n):Te(isNaN(e)?t:e)}));var Uo=zo(Se);Uo(Fo(300,.5,0),Fo(-240,.5,1)),Uo(Fo(-100,.75,.35),Fo(80,1.5,.8)),Uo(Fo(260,.75,.35),Fo(80,1.5,.8)),Fo();function Vo(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}Vo(So("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Vo(So("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Vo(So("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Vo(So("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));var Ho=n(5);function Bo(e){return"[object Date]"===Object.prototype.toString.call(e)?e.toDateString():e}var qo,Wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Yo=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function $o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function Go(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xo=(Go(qo={},"linear",en),Go(qo,"ordinal",(function(){return function e(t){var n=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return e(n())},t}(function e(){var t,n,r=Pt().unknown(void 0),o=r.domain,i=r.range,a=[0,1],u=!1,l=0,c=0,s=.5;function f(){var e=o().length,r=a[1]<a[0],f=a[r-0],p=a[1-r];t=(p-f)/Math.max(1,e-l+2*c),u&&(t=Math.floor(t)),f+=(p-f-t*(e-l))*s,n=t*(1-l),u&&(f=Math.round(f),n=Math.round(n));var h=nt(e).map((function(e){return f+t*e}));return i(r?h.reverse():h)}return delete r.unknown,r.domain=function(e){return arguments.length?(o(e),f()):o()},r.range=function(e){return arguments.length?(a=[+e[0],+e[1]],f()):a.slice()},r.rangeRound=function(e){return a=[+e[0],+e[1]],u=!0,f()},r.bandwidth=function(){return n},r.step=function(){return t},r.round=function(e){return arguments.length?(u=!!e,f()):u},r.padding=function(e){return arguments.length?(l=c=Math.max(0,Math.min(1,e)),f()):l},r.paddingInner=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),f()):l},r.paddingOuter=function(e){return arguments.length?(c=Math.max(0,Math.min(1,e)),f()):c},r.align=function(e){return arguments.length?(s=Math.max(0,Math.min(1,e)),f()):s},r.copy=function(){return e().domain(o()).range(a).round(u).paddingInner(l).paddingOuter(c).align(s)},f()}().paddingInner(1))})),Go(qo,"category",Pt),Go(qo,"literal",pi),Go(qo,"log",(function e(){var t=Ft(nn,rn).domain([1,10]),n=t.domain,r=10,o=un(10),i=an(10);function a(){return o=un(r),i=an(r),n()[0]<0&&(o=ln(o),i=ln(i)),t}return t.base=function(e){return arguments.length?(r=+e,a()):r},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=function(e){var t,a=n(),u=a[0],l=a[a.length-1];(t=l<u)&&(p=u,u=l,l=p);var c,s,f,p=o(u),h=o(l),d=null==e?10:+e,y=[];if(!(r%1)&&h-p<d){if(p=Math.round(p)-1,h=Math.round(h)+1,u>0){for(;p<h;++p)for(s=1,c=i(p);s<r;++s)if(!((f=c*s)<u)){if(f>l)break;y.push(f)}}else for(;p<h;++p)for(s=r-1,c=i(p);s>=1;--s)if(!((f=c*s)<u)){if(f>l)break;y.push(f)}}else y=at(p,h,Math.min(h-p,d)).map(i);return t?y.reverse():y},t.tickFormat=function(e,n){if(null==n&&(n=10===r?".0e":","),"function"!==typeof n&&(n=qt(n)),e===1/0)return n;null==e&&(e=10);var a=Math.max(1,r*e/t.ticks().length);return function(e){var t=e/i(Math.round(o(e)));return t*r<r-.5&&(t*=r),t<=a?n(e):""}},t.nice=function(){return n(tn(n(),{floor:function(e){return i(Math.floor(o(e)))},ceil:function(e){return i(Math.ceil(o(e)))}}))},t.copy=function(){return Dt(t,e().base(r))},t})),Go(qo,"time",(function(){return _o(yn,gn,bn,Sn,Mn,An,jn,Ln,Zn).domain([new Date(2e3,0,1),new Date(2e3,0,2)])})),Go(qo,"time-utc",(function(){return _o($n,wo,Fn,Wn,To,Eo,jn,Ln,Jn).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])})),qo),Qo=["color","fill","opacity","stroke"];function Ko(e){return""+e[0].toUpperCase()+e.slice(1)}function Zo(e){if(!e)return null;var t=e.type,n=e.domain,r=e.range,o=n[0]===n[1]?0===n[0]?[-1,0]:[-n[0],n[0]]:n;if("literal"===t)return pi(r[0]);var i=Xo[t]().domain(o).range(r);return"ordinal"===t&&(i.padding(.5),function(e){e.invert||(e.invert=function(t){var n=e.range(),r=Yo(n,2),o=r[0],i=r[1],a=Math.min(o,i),u=Math.max(o,i);if(t<a+e.padding()*e.step())return e.domain()[0];if(t>u-e.padding()*e.step())return e.domain()[e.domain().length-1];var l=Math.floor((t-a-e.padding()*e.step())/e.step());return e.domain()[l]})}(i)),i}function Jo(e,t,n,r){var o=e.reduce((function(e,r){var o=t(r),i=n(r);return ii(o)&&e.push(o),ii(i)&&e.push(i),e}),[]);return o.length?"ordinal"!==r&&"category"!==r?et(o):kt(o).values():[]}function ei(e,t,n,r,o){return"literal"===n?{type:"literal",domain:[],range:[t],distance:0,attr:e,baseValue:void 0,isValue:!0,accessor:r,accessor0:o}:"undefined"===typeof t?null:{type:"category",range:[t],domain:[],distance:0,attr:e,baseValue:void 0,isValue:!0,accessor:r,accessor0:o}}function ti(e,t){var n=t.domain,r=t.type,o=t.accessor,i=t.accessor0,a=function(e,t,n,r){return"time"===r&&1===t.length?[n(e[0])].concat($o(t)):t}(e,function(e,t){var n=new Set(e.map(t));return Array.from(n)}(e,o),i,r),u=function(e,t){var n=Zo(t),r=0;if(n)for(var o=void 0,i=n(e[0]),a=1/0,u=void 0,l=1;l<e.length;l++)o=n(e[l]),(u=Math.abs(o-i))<a&&(a=u,r=l),i=o;return r}(a,t),l=[].concat(n);l[0]-=function(e){return e.length>1?(e[1]-e[0])/2:1===e.length?e[0]-.5:0}(a),l[n.length-1]+=function(e){return e.length>1?(e[e.length-1]-e[e.length-2])/2:1===e.length?e[0]-.5:0}(a),"log"===r&&n[0]<=0&&(l[0]=Math.min(n[1]/10,1));var c=function(e,t,n,r){if(e.length>1){var o=Math.max(n,1);return Math.abs(r(e[o])-r(e[o-1]))}return 1===e.length?Math.abs(r(t[1])-r(t[0])):0}(a,l,u,Zo(Wo({},t,{domain:l})));return{domain0:l[0],domainN:l[l.length-1],distance:c}}function ni(e,t){var n=function(e,t){var n,r=e[t],o=e["_"+t+"Value"],i=e[t+"Range"],a=e[t+"Distance"],u=void 0===a?0:a,l=e[t+"BaseValue"],c=e[t+"Type"],s=void 0===c?"linear":c,f=e[t+"NoFallBack"],p=e["get"+Ko(t)],h=void 0===p?function(e){return e[t]}:p,d=e["get"+Ko(t)+"0"],y=void 0===d?function(e){return e[t+"0"]}:d,m=e[t+"Domain"];return f||"undefined"===typeof r?("undefined"!==typeof l&&(m=function(e,t){var n=[].concat(e);return n[0]>t&&(n[0]=t),n[n.length-1]<t&&(n[n.length-1]=t),n}(m,l)),i&&m&&m.length?{domain:(n={domain:m,range:i,type:s,distance:u,attr:t,baseValue:l,accessor:h,accessor0:y}).domain,range:n.range,type:n.type,distance:n.distance,attr:n.attr,baseValue:n.baseValue,isValue:!1,accessor:n.accessor,accessor0:n.accessor0}:ei(t,o,e[t+"Type"],h,y)):ei(t,r,e[t+"Type"],h,y)}(e,t);if(!n)return null;if(!function(e,t){var n=t.attr,r=e._adjustBy,o=void 0===r?[]:r,i=e._adjustWhat;return(void 0===i?[]:i).length&&o.length&&-1!==o.indexOf(n)}(e,n))return n;var r=n.type;return"ordinal"===r||"category"===r?function(e){var t=Zo(e),n=e.domain,r=e.range;return n.length>1?e.distance=Math.abs(t(n[1])-t(n[0])):e.distance=Math.abs(r[1]-r[0]),e}(n):function(e,t){var n=e._allData,r=e._adjustWhat,o=void 0===r?[]:r,i=t.domain.length,a=t.domain,u=a[0],l=a[i-1],c=t.distance;return n.forEach((function(e,n){if(-1!==o.indexOf(n)&&e&&e.length){var r=ti(e,t),i=r.domain0,a=r.domainN,s=r.distance;u=Math.min(u,i),l=Math.max(l,a),c=Math.max(c,s)}})),t.domain=[u].concat($o(a.slice(1,-1)),[l]),t.distance=c,t}(e,n)}function ri(e,t){return Zo(ni(e,t))}function oi(e,t){return t(e.data?e.data:e)}function ii(e){return"undefined"!==typeof e}function ai(e,t){var n=ni(e,t);if(n){var r=Zo(n);return function(e){return r(oi(e,n.accessor))}}return null}function ui(e,t){var n=ni(e,t);if(n){var r=n.domain,o=n.baseValue,i=void 0===o?r[0]:o,a=Zo(n);return function(e){var t=oi(e,n.accessor0);return a(ii(t)?t:i)}}return null}function li(e,t){var n=ni(e,t);return n?(n.isValue||void 0!==e["_"+t+"Value"]||Object(Ho.b)("[React-vis] Cannot use data defined "+t+" for this series type. Using fallback value instead."),e["_"+t+"Value"]||n.range[0]):null}function ci(e){var t;return Go(t={},"_"+e+"Value",i.a.any),Go(t,e+"Domain",i.a.array),Go(t,"get"+Ko(e),i.a.func),Go(t,"get"+Ko(e)+"0",i.a.func),Go(t,e+"Range",i.a.array),Go(t,e+"Type",i.a.oneOf(Object.keys(Xo))),Go(t,e+"Distance",i.a.number),Go(t,e+"BaseValue",i.a.any),t}function si(e,t){var n={};return Object.keys(e).forEach((function(r){t.find((function(e){var t=0===r.indexOf(e),n=0===r.indexOf("_"+e),o=0===r.indexOf("get"+Ko(e));return t||n||o}))&&(n[r]=e[r])})),n}function fi(e,t,n){var r={};return n.forEach((function(n){e["get"+Ko(n)]||(r["get"+Ko(n)]=function(e){return e[n]}),e["get"+Ko(n)+"0"]||(r["get"+Ko(n)+"0"]=function(e){return e[n+"0"]}),e[n+"Domain"]||(r[n+"Domain"]=Jo(t,e["get"+Ko(n)]||r["get"+Ko(n)],e["get"+Ko(n)+"0"]||r["get"+Ko(n)+"0"],e[n+"Type"]),e[n+"Padding"]&&(r[n+"Domain"]=function(e,t){if(!e)return e;if(isNaN(parseFloat(e[0]))||isNaN(parseFloat(e[1])))return e;var n=Yo(e,2),r=n[0],o=n[1],i=.01*t*(o-r);return[r-i,o+i]}(r[n+"Domain"],e[n+"Padding"])))})),r}function pi(e){function t(t){return void 0===t?e:t}function n(){return t}return t.domain=n,t.range=n,t.unknown=n,t.copy=n,t}function hi(e){return e?_e(e).l>.57?"#222":"#fff":null}function di(e,t){var n=Qo.reduce((function(t,n){var r=e[n+"Domain"],o=e[n+"Range"],i=e[n+"Type"];return r&&o&&i?Wo({},t,Go({},n,Xo[i]().domain(r).range(o))):t}),{});return t.map((function(e){return Qo.reduce((function(t,r){if(e.props&&void 0!==e.props[r]){var o=e.props[r],i=n[r],a=i?i(o):o;return Wo({},t,Go({},"_"+r+"Value",a))}return t}),{})}))}var yi=["Padding"].map((function(e){return new RegExp(e+"$","i")}));function mi(e){return Object.keys(e).reduce((function(t,n){return yi.every((function(e){return!n.match(e)}))||(t[n]=e[n]),t}),{})}var gi=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function vi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bi(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var _i=(Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e})({},ci("x"),ci("y"),ci("size"),ci("opacity"),ci("color"),{width:i.a.number,height:i.a.number,data:i.a.arrayOf(i.a.oneOfType([i.a.object,i.a.array])),onValueMouseOver:i.a.func,onValueMouseOut:i.a.func,onValueClick:i.a.func,onValueRightClick:i.a.func,onSeriesMouseOver:i.a.func,onSeriesMouseOut:i.a.func,onSeriesClick:i.a.func,onSeriesRightClick:i.a.func,onNearestX:i.a.func,onNearestXY:i.a.func,style:i.a.object,animation:Ge,stack:i.a.bool}),xi=function(e){function t(){var e,n,r;vi(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=bi(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._seriesClickHandler=function(e){var t=r.props.onSeriesClick;t&&t({event:e})},r._seriesMouseOutHandler=function(e){var t=r.props.onSeriesMouseOut;t&&t({event:e})},r._seriesMouseOverHandler=function(e){var t=r.props.onSeriesMouseOver;t&&t({event:e})},r._seriesRightClickHandler=function(e){var t=r.props.onSeriesRightClick;t&&t({event:e})},r._valueClickHandler=function(e,t){var n=r.props,o=n.onValueClick,i=n.onSeriesClick;o&&o(e,{event:t}),i&&i({event:t})},r._valueMouseOutHandler=function(e,t){var n=r.props,o=n.onValueMouseOut,i=n.onSeriesMouseOut;o&&o(e,{event:t}),i&&i({event:t})},r._valueMouseOverHandler=function(e,t){var n=r.props,o=n.onValueMouseOver,i=n.onSeriesMouseOver;o&&o(e,{event:t}),i&&i({event:t})},r._valueRightClickHandler=function(e,t){var n=r.props,o=n.onValueRightClick,i=n.onSeriesRightClick;o&&o(e,{event:t}),i&&i({event:t})},bi(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),gi(t,[{key:"onParentMouseMove",value:function(e){var t=this.props,n=t.onNearestX,r=t.onNearestXY,o=t.data;(n||r)&&o&&(r?this._handleNearestXY(e):this._handleNearestX(e))}},{key:"onParentTouchMove",value:function(e){e.preventDefault(),this.onParentMouseMove(e)}},{key:"onParentTouchStart",value:function(e){e.preventDefault()}},{key:"_getAttr0Functor",value:function(e){return ui(this.props,e)}},{key:"_getAttributeFunctor",value:function(e){return ai(this.props,e)}},{key:"_getAttributeValue",value:function(e){return li(this.props,e)}},{key:"_getScaleDistance",value:function(e){var t=ni(this.props,e);return t?t.distance:0}},{key:"_getXYCoordinateInContainer",value:function(e){var t=this.props,n=t.marginTop,r=void 0===n?0:n,o=t.marginLeft,i=void 0===o?0:o,a=e.nativeEvent,u=e.currentTarget,l=u.getBoundingClientRect(),c=a.clientX,s=a.clientY;return"touchmove"===a.type&&(c=a.touches[0].pageX,s=a.touches[0].pageY),{x:c-l.left-u.clientLeft-i,y:s-l.top-u.clientTop-r}}},{key:"_handleNearestX",value:function(e){var t=this.props,n=t.onNearestX,r=t.data,o=Number.POSITIVE_INFINITY,i=null,a=null,u=this._getXYCoordinateInContainer(e),l=this._getAttributeFunctor("x");r.forEach((function(e,t){var n=l(e),r=Math.abs(u.x-n);r<o&&(o=r,i=e,a=t)})),i&&n(i,{innerX:l(i),index:a,event:e.nativeEvent})}},{key:"_handleNearestXY",value:function(e){var t=this.props,n=t.onNearestXY,r=t.data,o=this._getXYCoordinateInContainer(e),i=this._getAttributeFunctor("x"),a=this._getAttributeFunctor("y"),u=q().x(i).y(a)(r).find(o.x,o.y),l=u.data;l&&n(l,{innerX:u[0],innerY:u[1],index:u.index,event:e.nativeEvent})}}],[{key:"getParentConfig",value:function(){return{}}},{key:"requiresSVG",get:function(){return!0}}]),t}(W.PureComponent);xi.displayName="AbstractSeries",xi.propTypes=_i,xi.defaultProps={className:"",stack:!1,style:{}};var wi=xi,ki=["#12939A","#79C7E3","#1A3177","#FF9833","#EF5D28"],Ti=["#19CDD7","#DDB27C","#88572C","#FF991F","#F15C17","#223F9A","#DA70BF","#125C77","#4DC19C","#776E57","#12939A","#17B8BE","#F6D18A","#B7885E","#FFCB99","#F89570","#829AE3","#E79FD5","#1E96BE","#89DAC1","#B3AD9E"],Oi=["#EF5D28","#FF9833"],Ei=[1,10],Si=ki[0],Pi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ci(e){return e.type.prototype instanceof wi}function Ai(e){return Y.a.Children.toArray(e).filter((function(e){return e&&Ci(e)}))}function Ni(e,t){var n=e.some((function(e){return e&&e.props.stack})),r={};return e.reduce((function(e,o,i){if(!o)return e.push(null),e;var a=o.type.displayName,u=o.props,l=u.data,c=u.cluster,s=void 0===c?"default":c,f=u.stack,p=function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return!!e&&e.some((function(e){return e.radius&&e.angle}))}(e)?e.map((function(e){return Pi({},e,{x:e.radius*Math.cos(e.angle),y:e.radius*Math.sin(e.angle)})})):e}(l);if(!t||!p||!p.length||n&&!f)return e.push(p),e;var h=t+"0",d="y"===t?"x":"y";return e.push(p.map((function(e,n){var o,i;r[s]||(r[s]={}),r[s][a]||(r[s][a]={});var u,l=r[s][a][e[d]];if(!l)return r[s][a][e[d]]=(Mi(u={},h,e[h]),Mi(u,t,e[t]),u),Pi({},e);var c=Pi({},e,(Mi(o={},h,l[t]),Mi(o,t,l[t]+e[t]-(e[h]||0)),o));return r[s][a][e[d]]=(Mi(i={},h,c[h]),Mi(i,t,c[t]),i),c}))),e}),[])}function ji(e){var t=[],n=function(e){var t={};return e.filter(Ci).forEach((function(e){var n=e.type.displayName,r=e.props.cluster;t[n]||(t[n]={sameTypeTotal:0,sameTypeIndex:0,clusters:new Set}),t[n].clusters.add(r),t[n].sameTypeTotal++})),t}(e),r=0;return e.forEach((function(e){var o=void 0;if(Ci(e)){var i=n[e.type.displayName];o=Pi({},i,{seriesIndex:r,_colorValue:ki[r%ki.length],_opacityValue:1}),i.sameTypeIndex++,r++,e.props.cluster&&(o.cluster=e.props.cluster,o.clusters=Array.from(i.clusters),o.sameTypeTotal=o.clusters.length,o.sameTypeIndex=o.clusters.indexOf(e.props.cluster))}t.push(o)})),t}function Ri(e){return e.reduce((function(e,t){return Math.max(t.radius,e)}),0)}var Li=["xRange","xDomain","x","yRange","yDomain","y","colorRange","colorDomain","color","opacityRange","opacityDomain","opacity","strokeRange","strokeDomain","stroke","fillRange","fillDomain","fill","width","height","marginLeft","marginTop","marginRight","marginBottom","data","angleDomain","angleRange","angle","radiusDomain","radiusRange","radius","innerRadiusDomain","innerRadiusRange","innerRadius"];function Di(e){var t=e._stackBy,n=e.valuePosAttr,r=e.cluster,o=e.sameTypeTotal,i=void 0===o?1:o,a=e.sameTypeIndex,u=void 0===a?0:a;return t!==n||r||(i=1,u=0),{sameTypeTotal:i,sameTypeIndex:u}}var Fi=Math.PI,Ii=2*Fi,zi=Ii-1e-6;function Ui(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Vi(){return new Ui}Ui.prototype=Vi.prototype={constructor:Ui,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,i){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(e,t,n,r,o){e=+e,t=+t,n=+n,r=+r,o=+o;var i=this._x1,a=this._y1,u=n-e,l=r-t,c=i-e,s=a-t,f=c*c+s*s;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>1e-6)if(Math.abs(s*u-l*c)>1e-6&&o){var p=n-i,h=r-a,d=u*u+l*l,y=p*p+h*h,m=Math.sqrt(d),g=Math.sqrt(f),v=o*Math.tan((Fi-Math.acos((d+f-y)/(2*m*g)))/2),b=v/g,_=v/m;Math.abs(b-1)>1e-6&&(this._+="L"+(e+b*c)+","+(t+b*s)),this._+="A"+o+","+o+",0,0,"+ +(s*p>c*h)+","+(this._x1=e+_*u)+","+(this._y1=t+_*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,o,i){e=+e,t=+t,i=!!i;var a=(n=+n)*Math.cos(r),u=n*Math.sin(r),l=e+a,c=t+u,s=1^i,f=i?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),n&&(f<0&&(f=f%Ii+Ii),f>zi?this._+="A"+n+","+n+",0,1,"+s+","+(e-a)+","+(t-u)+"A"+n+","+n+",0,1,"+s+","+(this._x1=l)+","+(this._y1=c):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=Fi)+","+s+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Hi=Vi,Bi=function(e){return function(){return e}},qi=Math.abs,Wi=Math.atan2,Yi=Math.cos,$i=Math.max,Gi=Math.min,Xi=Math.sin,Qi=Math.sqrt,Ki=Math.PI,Zi=Ki/2,Ji=2*Ki;function ea(e){return e>1?0:e<-1?Ki:Math.acos(e)}function ta(e){return e>=1?Zi:e<=-1?-Zi:Math.asin(e)}function na(e){return e.innerRadius}function ra(e){return e.outerRadius}function oa(e){return e.startAngle}function ia(e){return e.endAngle}function aa(e){return e&&e.padAngle}function ua(e,t,n,r,o,i,a,u){var l=n-e,c=r-t,s=a-o,f=u-i,p=f*l-s*c;if(!(p*p<1e-12))return[e+(p=(s*(t-i)-f*(e-o))/p)*l,t+p*c]}function la(e,t,n,r,o,i,a){var u=e-n,l=t-r,c=(a?i:-i)/Qi(u*u+l*l),s=c*l,f=-c*u,p=e+s,h=t+f,d=n+s,y=r+f,m=(p+d)/2,g=(h+y)/2,v=d-p,b=y-h,_=v*v+b*b,x=o-i,w=p*y-d*h,k=(b<0?-1:1)*Qi($i(0,x*x*_-w*w)),T=(w*b-v*k)/_,O=(-w*v-b*k)/_,E=(w*b+v*k)/_,S=(-w*v+b*k)/_,P=T-m,M=O-g,C=E-m,A=S-g;return P*P+M*M>C*C+A*A&&(T=E,O=S),{cx:T,cy:O,x01:-s,y01:-f,x11:T*(o/x-1),y11:O*(o/x-1)}}var ca=function(){var e=na,t=ra,n=Bi(0),r=null,o=oa,i=ia,a=aa,u=null;function l(){var l,c,s=+e.apply(this,arguments),f=+t.apply(this,arguments),p=o.apply(this,arguments)-Zi,h=i.apply(this,arguments)-Zi,d=qi(h-p),y=h>p;if(u||(u=l=Hi()),f<s&&(c=f,f=s,s=c),f>1e-12)if(d>Ji-1e-12)u.moveTo(f*Yi(p),f*Xi(p)),u.arc(0,0,f,p,h,!y),s>1e-12&&(u.moveTo(s*Yi(h),s*Xi(h)),u.arc(0,0,s,h,p,y));else{var m,g,v=p,b=h,_=p,x=h,w=d,k=d,T=a.apply(this,arguments)/2,O=T>1e-12&&(r?+r.apply(this,arguments):Qi(s*s+f*f)),E=Gi(qi(f-s)/2,+n.apply(this,arguments)),S=E,P=E;if(O>1e-12){var M=ta(O/s*Xi(T)),C=ta(O/f*Xi(T));(w-=2*M)>1e-12?(_+=M*=y?1:-1,x-=M):(w=0,_=x=(p+h)/2),(k-=2*C)>1e-12?(v+=C*=y?1:-1,b-=C):(k=0,v=b=(p+h)/2)}var A=f*Yi(v),N=f*Xi(v),j=s*Yi(x),R=s*Xi(x);if(E>1e-12){var L,D=f*Yi(b),F=f*Xi(b),I=s*Yi(_),z=s*Xi(_);if(d<Ki&&(L=ua(A,N,I,z,D,F,j,R))){var U=A-L[0],V=N-L[1],H=D-L[0],B=F-L[1],q=1/Xi(ea((U*H+V*B)/(Qi(U*U+V*V)*Qi(H*H+B*B)))/2),W=Qi(L[0]*L[0]+L[1]*L[1]);S=Gi(E,(s-W)/(q-1)),P=Gi(E,(f-W)/(q+1))}}k>1e-12?P>1e-12?(m=la(I,z,A,N,f,P,y),g=la(D,F,j,R,f,P,y),u.moveTo(m.cx+m.x01,m.cy+m.y01),P<E?u.arc(m.cx,m.cy,P,Wi(m.y01,m.x01),Wi(g.y01,g.x01),!y):(u.arc(m.cx,m.cy,P,Wi(m.y01,m.x01),Wi(m.y11,m.x11),!y),u.arc(0,0,f,Wi(m.cy+m.y11,m.cx+m.x11),Wi(g.cy+g.y11,g.cx+g.x11),!y),u.arc(g.cx,g.cy,P,Wi(g.y11,g.x11),Wi(g.y01,g.x01),!y))):(u.moveTo(A,N),u.arc(0,0,f,v,b,!y)):u.moveTo(A,N),s>1e-12&&w>1e-12?S>1e-12?(m=la(j,R,D,F,s,-S,y),g=la(A,N,I,z,s,-S,y),u.lineTo(m.cx+m.x01,m.cy+m.y01),S<E?u.arc(m.cx,m.cy,S,Wi(m.y01,m.x01),Wi(g.y01,g.x01),!y):(u.arc(m.cx,m.cy,S,Wi(m.y01,m.x01),Wi(m.y11,m.x11),!y),u.arc(0,0,s,Wi(m.cy+m.y11,m.cx+m.x11),Wi(g.cy+g.y11,g.cx+g.x11),y),u.arc(g.cx,g.cy,S,Wi(g.y11,g.x11),Wi(g.y01,g.x01),!y))):u.arc(0,0,s,x,_,y):u.lineTo(j,R)}else u.moveTo(0,0);if(u.closePath(),l)return u=null,l+""||null}return l.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+o.apply(this,arguments)+ +i.apply(this,arguments))/2-Ki/2;return[Yi(r)*n,Xi(r)*n]},l.innerRadius=function(t){return arguments.length?(e="function"===typeof t?t:Bi(+t),l):e},l.outerRadius=function(e){return arguments.length?(t="function"===typeof e?e:Bi(+e),l):t},l.cornerRadius=function(e){return arguments.length?(n="function"===typeof e?e:Bi(+e),l):n},l.padRadius=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:Bi(+e),l):r},l.startAngle=function(e){return arguments.length?(o="function"===typeof e?e:Bi(+e),l):o},l.endAngle=function(e){return arguments.length?(i="function"===typeof e?e:Bi(+e),l):i},l.padAngle=function(e){return arguments.length?(a="function"===typeof e?e:Bi(+e),l):a},l.context=function(e){return arguments.length?(u=null==e?null:e,l):u},l},sa=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var pa=["radius","angle"],ha=fa({},wi.defaultProps,{center:{x:0,y:0},arcClassName:"",className:"",style:{},padAngle:0});function da(e){var t=e.radius,n=e.angle,r=e.angle0,o=-1*n+Math.PI/2,i=-1*r+Math.PI/2;return fa({},e,{x:t*Math.cos(o),y:t*Math.sin(o),angle:o,angle0:i})}var ya=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n._getAllScaleProps(e);return n.state={scaleProps:r},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),sa(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({scaleProps:this._getAllScaleProps(e)})}},{key:"_getAllScaleProps",value:function(e){var t=this._getDefaultScaleProps(e),n=si(e,pa),r=fi(fa({},t,n),e.data,pa);return fa({},t,n,r)}},{key:"_getDefaultScaleProps",value:function(e){var t=e.innerWidth,n=e.innerHeight,r=Math.min(t/2,n/2);return{radiusRange:[0,r],_radiusValue:r,angleType:"literal"}}},{key:"render",value:function(){var e=this,n=this.props,r=n.arcClassName,o=n.animation,i=n.className,a=n.center,u=n.data,l=n.disableSeries,c=n.hideSeries,s=n.marginLeft,f=n.marginTop,p=n.padAngle,h=n.style;if(!u)return null;if(o){var d=u.map((function(e){return fa({},e)}));return Y.a.createElement("g",{className:"rv-xy-plot__series--arc__animation-wrapper"},Y.a.createElement($e,fa({},this.props,{animatedProps:Li,data:d}),Y.a.createElement(t,fa({},this.props,{animation:null,disableSeries:!0,data:d}))),Y.a.createElement(t,fa({},this.props,{animation:null,hideSeries:!0,style:{stroke:"red"}})))}var y=this.state.scaleProps,m=y.radiusDomain,g=ai(y,"radius"),v=ui(y,"radius"),b=ai(y,"angle"),_=ui(y,"angle"),x=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),w=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),k=this._getAttributeFunctor("opacity"),T=this._getAttributeFunctor("x"),O=this._getAttributeFunctor("y");return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--arc "+i,onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,opacity:c?0:1,pointerEvents:l?"none":"all",transform:"translate("+(s+T(a))+","+(f+O(a))+")"},u.map((function(t,n){var o={innerRadius:m[1]===m[0]?0:v(t),outerRadius:g(t),startAngle:_(t)||0,endAngle:b(t)},i=ca().padAngle(p),a=t.style||{},u=t.className||"";return Y.a.createElement("path",{style:fa({opacity:k&&k(t),stroke:w&&w(t),fill:x&&x(t)},h,a),onClick:function(n){return e._valueClickHandler(da(t),n)},onContextMenu:function(n){return e._valueRightClickHandler(da(t),n)},onMouseOver:function(n){return e._valueMouseOverHandler(da(t),n)},onMouseOut:function(n){return e._valueMouseOutHandler(da(t),n)},key:n,className:"rv-xy-plot__series rv-xy-plot__series--arc-path "+r+" "+u,d:i(o)})})))}}]),t}(wi);ya.propTypes=fa({},wi.propTypes,ci("radius"),ci("angle"),{center:i.a.shape({x:i.a.number,y:i.a.number}),arcClassName:i.a.string,padAngle:i.a.oneOfType([i.a.func,i.a.number])}),ya.defaultProps=ha,ya.displayName="ArcSeries";var ma=ya;function ga(e){this._context=e}ga.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var va=function(e){return new ga(e)};function ba(e){return e[0]}function _a(e){return e[1]}var xa=function(){var e=ba,t=_a,n=Bi(!0),r=null,o=va,i=null;function a(a){var u,l,c,s=a.length,f=!1;for(null==r&&(i=o(c=Hi())),u=0;u<=s;++u)!(u<s&&n(l=a[u],u,a))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(l,u,a),+t(l,u,a));if(c)return i=null,c+""||null}return a.x=function(t){return arguments.length?(e="function"===typeof t?t:Bi(+t),a):e},a.y=function(e){return arguments.length?(t="function"===typeof e?e:Bi(+e),a):t},a.defined=function(e){return arguments.length?(n="function"===typeof e?e:Bi(!!e),a):n},a.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),a):o},a.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),a):r},a},wa=function(){var e=ba,t=null,n=Bi(0),r=_a,o=Bi(!0),i=null,a=va,u=null;function l(l){var c,s,f,p,h,d=l.length,y=!1,m=new Array(d),g=new Array(d);for(null==i&&(u=a(h=Hi())),c=0;c<=d;++c){if(!(c<d&&o(p=l[c],c,l))===y)if(y=!y)s=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),f=c-1;f>=s;--f)u.point(m[f],g[f]);u.lineEnd(),u.areaEnd()}y&&(m[c]=+e(p,c,l),g[c]=+n(p,c,l),u.point(t?+t(p,c,l):m[c],r?+r(p,c,l):g[c]))}if(h)return u=null,h+""||null}function c(){return xa().defined(o).curve(a).context(i)}return l.x=function(n){return arguments.length?(e="function"===typeof n?n:Bi(+n),t=null,l):e},l.x0=function(t){return arguments.length?(e="function"===typeof t?t:Bi(+t),l):e},l.x1=function(e){return arguments.length?(t=null==e?null:"function"===typeof e?e:Bi(+e),l):t},l.y=function(e){return arguments.length?(n="function"===typeof e?e:Bi(+e),r=null,l):n},l.y0=function(e){return arguments.length?(n="function"===typeof e?e:Bi(+e),l):n},l.y1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:Bi(+e),l):r},l.lineX0=l.lineY0=function(){return c().x(e).y(n)},l.lineY1=function(){return c().x(e).y(r)},l.lineX1=function(){return c().x(t).y(n)},l.defined=function(e){return arguments.length?(o="function"===typeof e?e:Bi(!!e),l):o},l.curve=function(e){return arguments.length?(a=e,null!=i&&(u=a(i)),l):a},l.context=function(e){return arguments.length?(null==e?i=u=null:u=a(i=e),l):i},l},ka=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},Ta=function(e){return e},Oa=function(){var e=Ta,t=ka,n=null,r=Bi(0),o=Bi(Ji),i=Bi(0);function a(a){var u,l,c,s,f,p=a.length,h=0,d=new Array(p),y=new Array(p),m=+r.apply(this,arguments),g=Math.min(Ji,Math.max(-Ji,o.apply(this,arguments)-m)),v=Math.min(Math.abs(g)/p,i.apply(this,arguments)),b=v*(g<0?-1:1);for(u=0;u<p;++u)(f=y[d[u]=u]=+e(a[u],u,a))>0&&(h+=f);for(null!=t?d.sort((function(e,n){return t(y[e],y[n])})):null!=n&&d.sort((function(e,t){return n(a[e],a[t])})),u=0,c=h?(g-p*b)/h:0;u<p;++u,m=s)l=d[u],s=m+((f=y[l])>0?f*c:0)+b,y[l]={data:a[l],index:u,value:f,startAngle:m,endAngle:s,padAngle:v};return y}return a.value=function(t){return arguments.length?(e="function"===typeof t?t:Bi(+t),a):e},a.sortValues=function(e){return arguments.length?(t=e,n=null,a):t},a.sort=function(e){return arguments.length?(n=e,t=null,a):n},a.startAngle=function(e){return arguments.length?(r="function"===typeof e?e:Bi(+e),a):r},a.endAngle=function(e){return arguments.length?(o="function"===typeof e?e:Bi(+e),a):o},a.padAngle=function(e){return arguments.length?(i="function"===typeof e?e:Bi(+e),a):i},a},Ea=Pa(va);function Sa(e){this._curve=e}function Pa(e){function t(t){return new Sa(e(t))}return t._curve=e,t}function Ma(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(Pa(e)):t()._curve},e}Sa.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var Ca=function(){return Ma(xa().curve(Ea))},Aa=function(){var e=wa().curve(Ea),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,i=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return Ma(n())},delete e.lineX0,e.lineEndAngle=function(){return Ma(r())},delete e.lineX1,e.lineInnerRadius=function(){return Ma(o())},delete e.lineY0,e.lineOuterRadius=function(){return Ma(i())},delete e.lineY1,e.curve=function(e){return arguments.length?t(Pa(e)):t()._curve},e},Na=function(e,t){return[(t=+t)*Math.cos(e-=Math.PI/2),t*Math.sin(e)]},ja=Array.prototype.slice;function Ra(e){return e.source}function La(e){return e.target}function Da(e){var t=Ra,n=La,r=ba,o=_a,i=null;function a(){var a,u=ja.call(arguments),l=t.apply(this,u),c=n.apply(this,u);if(i||(i=a=Hi()),e(i,+r.apply(this,(u[0]=l,u)),+o.apply(this,u),+r.apply(this,(u[0]=c,u)),+o.apply(this,u)),a)return i=null,a+""||null}return a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(e){return arguments.length?(n=e,a):n},a.x=function(e){return arguments.length?(r="function"===typeof e?e:Bi(+e),a):r},a.y=function(e){return arguments.length?(o="function"===typeof e?e:Bi(+e),a):o},a.context=function(e){return arguments.length?(i=null==e?null:e,a):i},a}function Fa(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t=(t+r)/2,n,t,o,r,o)}function Ia(e,t,n,r,o){e.moveTo(t,n),e.bezierCurveTo(t,n=(n+o)/2,r,n,r,o)}function za(e,t,n,r,o){var i=Na(t,n),a=Na(t,n=(n+o)/2),u=Na(r,n),l=Na(r,o);e.moveTo(i[0],i[1]),e.bezierCurveTo(a[0],a[1],u[0],u[1],l[0],l[1])}function Ua(){return Da(Fa)}function Va(){return Da(Ia)}function Ha(){var e=Da(za);return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e}var Ba={draw:function(e,t){var n=Math.sqrt(t/Ki);e.moveTo(n,0),e.arc(0,0,n,0,Ji)}},qa={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},Wa=Math.sqrt(1/3),Ya=2*Wa,$a={draw:function(e,t){var n=Math.sqrt(t/Ya),r=n*Wa;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Ga=Math.sin(Ki/10)/Math.sin(7*Ki/10),Xa=Math.sin(Ji/10)*Ga,Qa=-Math.cos(Ji/10)*Ga,Ka={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=Xa*n,o=Qa*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=Ji*i/5,u=Math.cos(a),l=Math.sin(a);e.lineTo(l*n,-u*n),e.lineTo(u*r-l*o,l*r+u*o)}e.closePath()}},Za={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},Ja=Math.sqrt(3),eu={draw:function(e,t){var n=-Math.sqrt(t/(3*Ja));e.moveTo(0,2*n),e.lineTo(-Ja*n,-n),e.lineTo(Ja*n,-n),e.closePath()}},tu=Math.sqrt(3)/2,nu=1/Math.sqrt(12),ru=3*(nu/2+1),ou={draw:function(e,t){var n=Math.sqrt(t/ru),r=n/2,o=n*nu,i=r,a=n*nu+n,u=-i,l=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(u,l),e.lineTo(-.5*r-tu*o,tu*r+-.5*o),e.lineTo(-.5*i-tu*a,tu*i+-.5*a),e.lineTo(-.5*u-tu*l,tu*u+-.5*l),e.lineTo(-.5*r+tu*o,-.5*o-tu*r),e.lineTo(-.5*i+tu*a,-.5*a-tu*i),e.lineTo(-.5*u+tu*l,-.5*l-tu*u),e.closePath()}},iu=[Ba,qa,$a,Za,Ka,eu,ou],au=function(){var e=Bi(Ba),t=Bi(64),n=null;function r(){var r;if(n||(n=r=Hi()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(t){return arguments.length?(e="function"===typeof t?t:Bi(t),r):e},r.size=function(e){return arguments.length?(t="function"===typeof e?e:Bi(+e),r):t},r.context=function(e){return arguments.length?(n=null==e?null:e,r):n},r},uu=function(){};function lu(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function cu(e){this._context=e}cu.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:lu(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:lu(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var su=function(e){return new cu(e)};function fu(e){this._context=e}fu.prototype={areaStart:uu,areaEnd:uu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:lu(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var pu=function(e){return new fu(e)};function hu(e){this._context=e}hu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:lu(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var du=function(e){return new hu(e)};function yu(e,t){this._basis=new cu(e),this._beta=t}yu.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],i=t[0],a=e[n]-o,u=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*a),this._beta*t[l]+(1-this._beta)*(i+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var mu=function e(t){function n(e){return 1===t?new cu(e):new yu(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function gu(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function vu(e,t){this._context=e,this._k=(1-t)/6}vu.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:gu(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:gu(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var bu=function e(t){function n(e){return new vu(e,t)}return n.tension=function(t){return e(+t)},n}(0);function _u(e,t){this._context=e,this._k=(1-t)/6}_u.prototype={areaStart:uu,areaEnd:uu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:gu(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var xu=function e(t){function n(e){return new _u(e,t)}return n.tension=function(t){return e(+t)},n}(0);function wu(e,t){this._context=e,this._k=(1-t)/6}wu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:gu(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ku=function e(t){function n(e){return new wu(e,t)}return n.tension=function(t){return e(+t)},n}(0);function Tu(e,t,n){var r=e._x1,o=e._y1,i=e._x2,a=e._y2;if(e._l01_a>1e-12){var u=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*u-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*u-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>1e-12){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*c+e._x1*e._l23_2a-t*e._l12_2a)/s,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(r,o,i,a,e._x2,e._y2)}function Ou(e,t){this._context=e,this._alpha=t}Ou.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;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._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Tu(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Eu=function e(t){function n(e){return t?new Ou(e,t):new vu(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Su(e,t){this._context=e,this._alpha=t}Su.prototype={areaStart:uu,areaEnd:uu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;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=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Tu(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Pu=function e(t){function n(e){return t?new Su(e,t):new _u(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Mu(e,t){this._context=e,this._alpha=t}Mu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;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:Tu(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Cu=function e(t){function n(e){return t?new Mu(e,t):new wu(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Au(e){this._context=e}Au.prototype={areaStart:uu,areaEnd:uu,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var Nu=function(e){return new Au(e)};function ju(e){return e<0?-1:1}function Ru(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),u=(i*o+a*r)/(r+o);return(ju(i)+ju(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(u))||0}function Lu(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Du(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,u=(i-r)/3;e._context.bezierCurveTo(r+u,o+u*t,i-u,a-u*n,i,a)}function Fu(e){this._context=e}function Iu(e){this._context=new zu(e)}function zu(e){this._context=e}function Uu(e){return new Fu(e)}function Vu(e){return new Iu(e)}function Hu(e){this._context=e}function Bu(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}Fu.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:Du(this,this._t0,Lu(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Du(this,Lu(this,n=Ru(this,e,t)),n);break;default:Du(this,this._t0,n=Ru(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Iu.prototype=Object.create(Fu.prototype)).point=function(e,t){Fu.prototype.point.call(this,t,e)},zu.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},Hu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Bu(e),o=Bu(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var qu=function(e){return new Hu(e)};function Wu(e,t){this._context=e,this._t=t}Wu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Yu=function(e){return new Wu(e,.5)};function $u(e){return new Wu(e,0)}function Gu(e){return new Wu(e,1)}var Xu=function(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],u=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]},Qu=function(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n};function Ku(e,t){return e[t]}var Zu=function(){var e=Bi([]),t=Qu,n=Xu,r=Ku;function o(o){var i,a,u=e.apply(this,arguments),l=o.length,c=u.length,s=new Array(c);for(i=0;i<c;++i){for(var f,p=u[i],h=s[i]=new Array(l),d=0;d<l;++d)h[d]=f=[0,+r(o[d],p,d,o)],f.data=o[d];h.key=p}for(i=0,a=t(s);i<c;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(t){return arguments.length?(e="function"===typeof t?t:Bi(ja.call(t)),o):e},o.value=function(e){return arguments.length?(r="function"===typeof e?e:Bi(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?Qu:"function"===typeof e?e:Bi(ja.call(e)),o):t},o.offset=function(e){return arguments.length?(n=null==e?Xu:e,o):n},o},Ju=function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}Xu(e,t)}},el=function(e,t){if((u=e.length)>0)for(var n,r,o,i,a,u,l=0,c=e[t[0]].length;l<c;++l)for(i=a=0,n=0;n<u;++n)(o=(r=e[t[n]][l])[1]-r[0])>0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):(r[0]=0,r[1]=o)},tl=function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,u=0;a<n;++a)u+=e[a][r][1]||0;o[r][1]+=o[r][0]=-u/2}Xu(e,t)}},nl=function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var u=0,l=0,c=0;u<o;++u){for(var s=e[t[u]],f=s[a][1]||0,p=(f-(s[a-1][1]||0))/2,h=0;h<u;++h){var d=e[t[h]];p+=(d[a][1]||0)-(d[a-1][1]||0)}l+=f,c+=p*f}n[a-1][1]+=n[a-1][0]=i,l&&(i-=c/l)}n[a-1][1]+=n[a-1][0]=i,Xu(e,t)}},rl=function(e){var t=e.map(ol);return Qu(e).sort((function(e,n){return t[e]-t[n]}))};function ol(e){for(var t,n=-1,r=0,o=e.length,i=-1/0;++n<o;)(t=+e[n][1])>i&&(i=t,r=n);return r}var il=function(e){var t=e.map(al);return Qu(e).sort((function(e,n){return t[e]-t[n]}))};function al(e){for(var t,n=0,r=-1,o=e.length;++r<o;)(t=+e[r][1])&&(n+=t);return n}var ul=function(e){return il(e).reverse()},ll=function(e){var t,n,r=e.length,o=e.map(al),i=rl(e),a=0,u=0,l=[],c=[];for(t=0;t<r;++t)n=i[t],a<u?(a+=o[n],l.push(n)):(u+=o[n],c.push(n));return c.reverse().concat(l)},cl=function(e){return Qu(e).reverse()},sl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fl=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function pl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hl(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var dl=function(e){function t(){return pl(this,t),hl(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),fl(t,[{key:"_renderArea",value:function(e,t,n,o,i,a){var u=wa();return null!==i&&("string"===typeof i&&r[i]?u=u.curve(r[i]):"function"===typeof i&&(u=u.curve(i))),(u=(u=u.defined(a)).x(t).y0(n).y1(o))(e)}},{key:"render",value:function(){var e=this.props,n=e.animation,r=e.className,o=e.curve,i=e.data,a=e.marginLeft,u=e.marginTop,l=e.style;if(this.props.nullAccessor&&Object(Ho.b)("nullAccessor has been renamed to getNull",!0),!i)return null;if(n)return Y.a.createElement($e,sl({},this.props,{animatedProps:Li}),Y.a.createElement(t,sl({},this.props,{animation:null})));var c=this._getAttributeFunctor("x"),s=this._getAttributeFunctor("y"),f=this._getAttr0Functor("y"),p=this._getAttributeValue("stroke")||this._getAttributeValue("color"),h=this._getAttributeValue("fill")||this._getAttributeValue("color"),d=this._getAttributeValue("opacity"),y=Number.isFinite(d)?d:1,m=this.props.nullAccessor||this.props.getNull,g=this._renderArea(i,c,f,s,o,m);return Y.a.createElement("path",{d:g,className:"rv-xy-plot__series rv-xy-plot__series--line "+r,transform:"translate("+a+","+u+")",onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,style:sl({opacity:y,stroke:p,fill:h},l)})}}]),t}(wi);dl.displayName="AreaSeries",dl.propTypes=sl({},wi.propTypes,{getNull:i.a.func}),dl.defaultProps=sl({},wi.defaultProps,{getNull:function(){return!0}});var yl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ml={style:i.a.shape({bottom:i.a.object,left:i.a.object,right:i.a.object,top:i.a.object}),marginTop:i.a.number,marginBottom:i.a.number,marginLeft:i.a.number,marginRight:i.a.number,innerWidth:i.a.number,innerHeight:i.a.number},gl="rv-xy-plot__borders-bottom",vl="rv-xy-plot__borders",bl="rv-xy-plot__borders-left",_l="rv-xy-plot__borders-right",xl="rv-xy-plot__borders-top";function wl(e){var t=e.marginTop,n=e.marginBottom,r=e.marginLeft,o=e.marginRight,i=e.innerWidth,a=e.innerHeight,u=e.style,l=e.className,c=a+t+n,s=i+r+o;return Y.a.createElement("g",{className:vl+" "+l},Y.a.createElement("rect",{className:gl+" "+l+"-bottom",style:yl({},u.all,u.bottom),x:0,y:c-n,width:s,height:n}),Y.a.createElement("rect",{className:bl+" "+l+"-left",style:yl({},u.all,u.left),x:0,y:0,width:r,height:c}),Y.a.createElement("rect",{className:_l+" "+l+"-right",style:yl({},u.all,u.right),x:s-o,y:0,width:o,height:c}),Y.a.createElement("rect",{className:xl+" "+l+"-top",style:yl({},u.all,u.top),x:0,y:0,width:s,height:t}))}wl.displayName="Borders",wl.defaultProps={className:"",style:{all:{},bottom:{},left:{},right:{},top:{}}},wl.propTypes=ml,wl.requiresSVG=!0;var kl=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Tl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ol(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var El=function(e){function t(){return Tl(this,t),Ol(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),kl(t,[{key:"render",value:function(){var e=this.props,t=e.innerHeight,n=e.innerWidth,r=e.marginBottom,o=e.marginLeft,i=e.marginRight,a=e.marginTop,u=e.className,l=e.includeMargin,c=e.style,s=e.text,f=(n+(l?o+i:0))*e.xPercent+(l?0:o),p=(t+(l?a+r:0))*e.yPercent+(l?o:0);return Y.a.createElement("g",{transform:"translate("+f+", "+p+")",className:"rv-xy-plot__axis__title "+u},Y.a.createElement("text",c,s))}}],[{key:"requiresSVG",get:function(){return!0}}]),t}(Y.a.PureComponent);El.displayName="ChartLabel",El.propTypes={className:i.a.string,includeMargin:i.a.bool,style:i.a.object,text:i.a.string.isRequired,xPercent:i.a.number.isRequired,yPercent:i.a.number.isRequired},El.defaultProps={className:"",includeMargin:!0,text:"",xPercent:0,yPercent:0,style:{}};var Sl={TOP:"top",LEFT:"left",RIGHT:"right",BOTTOM:"bottom",VERTICAL:"vertical",HORIZONTAL:"horizontal"},Pl={VERTICAL:"vertical",HORIZONTAL:"horizontal"};function Ml(e){return e<700?e>300?10:5:20}function Cl(e,t,n){return n||(e.ticks?e.ticks(t):e.domain())}var Al=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Nl=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function jl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rl(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Ll=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickTotal"],Dl=function(e){function t(){return jl(this,t),Rl(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Nl(t,[{key:"_getDefaultProps",value:function(){var e=this.props,t=e.innerWidth,n=e.innerHeight,r=e.marginTop;return{left:e.marginLeft,top:r,width:t,height:n,style:{},tickTotal:Ml(Math.min(t,n))}}},{key:"render",value:function(){var e=this.props,n=e.animation,r=e.centerX,o=e.centerY;if(n)return Y.a.createElement($e,Al({},this.props,{animatedProps:Ll}),Y.a.createElement(t,Al({},this.props,{animation:null})));var i=Al({},this._getDefaultProps(),this.props),a=i.tickTotal,u=i.tickValues,l=i.marginLeft,c=i.marginTop,s=i.rRange,f=i.style,p=ri(i,"x"),h=ri(i,"y"),d=Cl(p,a,u);return Y.a.createElement("g",{transform:"translate("+(p(r)+l)+","+(h(o)+c)+")",className:"rv-xy-plot__circular-grid-lines"},d.reduce((function(e,t,n){var r=p(t);return s&&(r<s[0]||r>s[1])?e:e.concat([Y.a.createElement("circle",Al({cx:0,cy:0,r:r},{key:n,className:"rv-xy-plot__circular-grid-lines__line",style:f}))])}),[]))}}]),t}(W.PureComponent);Dl.displayName="CircularGridLines",Dl.propTypes={centerX:i.a.number,centerY:i.a.number,width:i.a.number,height:i.a.number,top:i.a.number,left:i.a.number,rRange:i.a.arrayOf(i.a.number),style:i.a.object,tickValues:i.a.arrayOf(i.a.number),tickTotal:i.a.number,animation:Ge,marginTop:i.a.number,marginBottom:i.a.number,marginLeft:i.a.number,marginRight:i.a.number,innerWidth:i.a.number,innerHeight:i.a.number},Dl.defaultProps={centerX:0,centerY:0},Dl.requiresSVG=!0;var Fl=Array.prototype.slice,Il=function(e,t){return e-t},zl=function(e){return function(){return e}},Ul=function(e,t){for(var n,r=-1,o=t.length;++r<o;)if(n=Vl(e,t[r]))return n;return 0};function Vl(e,t){for(var n=t[0],r=t[1],o=-1,i=0,a=e.length,u=a-1;i<a;u=i++){var l=e[i],c=l[0],s=l[1],f=e[u],p=f[0],h=f[1];if(Hl(l,f,t))return 0;s>r!==h>r&&n<(p-c)*(r-s)/(h-s)+c&&(o=-o)}return o}function Hl(e,t,n){var r,o,i,a;return function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])===(n[0]-e[0])*(t[1]-e[1])}(e,t,n)&&(o=e[r=+(e[0]===t[0])],i=n[r],a=t[r],o<=i&&i<=a||a<=i&&i<=o)}var Bl=function(){},ql=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],Wl=function(){var e=1,t=1,n=ct,r=u;function o(e){var t=n(e);if(Array.isArray(t))t=t.slice().sort(Il);else{var r=et(e),o=r[0],a=r[1];t=lt(o,a,t),t=nt(Math.floor(o/t)*t,Math.floor(a/t)*t,t)}return t.map((function(t){return i(e,t)}))}function i(n,o){var i=[],u=[];return function(n,r,o){var i,u,l,c,s,f,p=new Array,h=new Array;i=u=-1,c=n[0]>=r,ql[c<<1].forEach(d);for(;++i<e-1;)l=c,c=n[i+1]>=r,ql[l|c<<1].forEach(d);ql[c<<0].forEach(d);for(;++u<t-1;){for(i=-1,c=n[u*e+e]>=r,s=n[u*e]>=r,ql[c<<1|s<<2].forEach(d);++i<e-1;)l=c,c=n[u*e+e+i+1]>=r,f=s,s=n[u*e+i+1]>=r,ql[l|c<<1|s<<2|f<<3].forEach(d);ql[c|s<<3].forEach(d)}i=-1,s=n[u*e]>=r,ql[s<<2].forEach(d);for(;++i<e-1;)f=s,s=n[u*e+i+1]>=r,ql[s<<2|f<<3].forEach(d);function d(e){var t,n,r=[e[0][0]+i,e[0][1]+u],l=[e[1][0]+i,e[1][1]+u],c=a(r),s=a(l);(t=h[c])?(n=p[s])?(delete h[t.end],delete p[n.start],t===n?(t.ring.push(l),o(t.ring)):p[t.start]=h[n.end]={start:t.start,end:n.end,ring:t.ring.concat(n.ring)}):(delete h[t.end],t.ring.push(l),h[t.end=s]=t):(t=p[s])?(n=h[c])?(delete p[t.start],delete h[n.end],t===n?(t.ring.push(l),o(t.ring)):p[n.start]=h[t.end]={start:n.start,end:t.end,ring:n.ring.concat(t.ring)}):(delete p[t.start],t.ring.unshift(r),p[t.start=c]=t):p[c]=h[s]={start:c,end:s,ring:[r,l]}}ql[s<<3].forEach(d)}(n,o,(function(e){r(e,n,o),function(e){for(var t=0,n=e.length,r=e[n-1][1]*e[0][0]-e[n-1][0]*e[0][1];++t<n;)r+=e[t-1][1]*e[t][0]-e[t-1][0]*e[t][1];return r}(e)>0?i.push([e]):u.push(e)})),u.forEach((function(e){for(var t,n=0,r=i.length;n<r;++n)if(-1!==Ul((t=i[n])[0],e))return void t.push(e)})),{type:"MultiPolygon",value:o,coordinates:i}}function a(t){return 2*t[0]+t[1]*(e+1)*4}function u(n,r,o){n.forEach((function(n){var i,a=n[0],u=n[1],l=0|a,c=0|u,s=r[c*e+l];a>0&&a<e&&l===a&&(i=r[c*e+l-1],n[0]=a+(o-i)/(s-i)-.5),u>0&&u<t&&c===u&&(i=r[(c-1)*e+l],n[1]=u+(o-i)/(s-i)-.5)}))}return o.contour=i,o.size=function(n){if(!arguments.length)return[e,t];var r=Math.ceil(n[0]),i=Math.ceil(n[1]);if(!(r>0)||!(i>0))throw new Error("invalid size");return e=r,t=i,o},o.thresholds=function(e){return arguments.length?(n="function"===typeof e?e:Array.isArray(e)?zl(Fl.call(e)):zl(e),o):n},o.smooth=function(e){return arguments.length?(r=e?u:Bl,o):r===u},o};function Yl(e,t,n){for(var r=e.width,o=e.height,i=1+(n<<1),a=0;a<o;++a)for(var u=0,l=0;u<r+n;++u)u<r&&(l+=e.data[u+a*r]),u>=n&&(u>=i&&(l-=e.data[u-i+a*r]),t.data[u-n+a*r]=l/Math.min(u+1,r-1+i-u,i))}function $l(e,t,n){for(var r=e.width,o=e.height,i=1+(n<<1),a=0;a<r;++a)for(var u=0,l=0;u<o+n;++u)u<o&&(l+=e.data[a+u*r]),u>=n&&(u>=i&&(l-=e.data[a+(u-i)*r]),t.data[a+(u-n)*r]=l/Math.min(u+1,o-1+i-u,i))}function Gl(e){return e[0]}function Xl(e){return e[1]}function Ql(){return 1}var Kl=function(e){return e};function Zl(e,t){e&&ec.hasOwnProperty(e.type)&&ec[e.type](e,t)}var Jl={Feature:function(e,t){Zl(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r<o;)Zl(n[r].geometry,t)}},ec={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){tc(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)tc(n[r],t,0)},Polygon:function(e,t){nc(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)nc(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,o=n.length;++r<o;)Zl(n[r],t)}};function tc(e,t,n){var r,o=-1,i=e.length-n;for(t.lineStart();++o<i;)r=e[o],t.point(r[0],r[1],r[2]);t.lineEnd()}function nc(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)tc(e[n],t,1);t.polygonEnd()}var rc=function(e,t){e&&Jl.hasOwnProperty(e.type)?Jl[e.type](e,t):Zl(e,t)},oc=function(){return new ic};function ic(){this.reset()}ic.prototype={constructor:ic,reset:function(){this.s=this.t=0},add:function(e){uc(ac,e,this.t),uc(this,ac.s,this.s),this.s?this.t+=ac.t:this.s=ac.t},valueOf:function(){return this.s}};var ac=new ic;function uc(e,t,n){var r=e.s=t+n,o=r-t,i=r-o;e.t=t-i+(n-o)}var lc=Math.PI,cc=2*lc,sc=Math.abs,fc=(Math.atan,Math.atan2,Math.cos,Math.ceil,Math.exp,Math.floor,Math.log,Math.pow,Math.sin,Math.sign,Math.sqrt);Math.tan;function pc(){}var hc,dc,yc,mc,gc=oc(),vc=oc(),bc={point:pc,lineStart:pc,lineEnd:pc,polygonStart:function(){bc.lineStart=_c,bc.lineEnd=kc},polygonEnd:function(){bc.lineStart=bc.lineEnd=bc.point=pc,gc.add(sc(vc)),vc.reset()},result:function(){var e=gc/2;return gc.reset(),e}};function _c(){bc.point=xc}function xc(e,t){bc.point=wc,hc=yc=e,dc=mc=t}function wc(e,t){vc.add(mc*e-yc*t),yc=e,mc=t}function kc(){wc(hc,dc)}var Tc=bc,Oc=1/0,Ec=Oc,Sc=-Oc,Pc=Sc;var Mc,Cc,Ac,Nc,jc={point:function(e,t){e<Oc&&(Oc=e);e>Sc&&(Sc=e);t<Ec&&(Ec=t);t>Pc&&(Pc=t)},lineStart:pc,lineEnd:pc,polygonStart:pc,polygonEnd:pc,result:function(){var e=[[Oc,Ec],[Sc,Pc]];return Sc=Pc=-(Ec=Oc=1/0),e}},Rc=0,Lc=0,Dc=0,Fc=0,Ic=0,zc=0,Uc=0,Vc=0,Hc=0,Bc={point:qc,lineStart:Wc,lineEnd:Gc,polygonStart:function(){Bc.lineStart=Xc,Bc.lineEnd=Qc},polygonEnd:function(){Bc.point=qc,Bc.lineStart=Wc,Bc.lineEnd=Gc},result:function(){var e=Hc?[Uc/Hc,Vc/Hc]:zc?[Fc/zc,Ic/zc]:Dc?[Rc/Dc,Lc/Dc]:[NaN,NaN];return Rc=Lc=Dc=Fc=Ic=zc=Uc=Vc=Hc=0,e}};function qc(e,t){Rc+=e,Lc+=t,++Dc}function Wc(){Bc.point=Yc}function Yc(e,t){Bc.point=$c,qc(Ac=e,Nc=t)}function $c(e,t){var n=e-Ac,r=t-Nc,o=fc(n*n+r*r);Fc+=o*(Ac+e)/2,Ic+=o*(Nc+t)/2,zc+=o,qc(Ac=e,Nc=t)}function Gc(){Bc.point=qc}function Xc(){Bc.point=Kc}function Qc(){Zc(Mc,Cc)}function Kc(e,t){Bc.point=Zc,qc(Mc=Ac=e,Cc=Nc=t)}function Zc(e,t){var n=e-Ac,r=t-Nc,o=fc(n*n+r*r);Fc+=o*(Ac+e)/2,Ic+=o*(Nc+t)/2,zc+=o,Uc+=(o=Nc*e-Ac*t)*(Ac+e),Vc+=o*(Nc+t),Hc+=3*o,qc(Ac=e,Nc=t)}var Jc=Bc;function es(e){this._context=e}es.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,cc)}},result:pc};var ts,ns,rs,os,is,as=oc(),us={point:pc,lineStart:function(){us.point=ls},lineEnd:function(){ts&&cs(ns,rs),us.point=pc},polygonStart:function(){ts=!0},polygonEnd:function(){ts=null},result:function(){var e=+as;return as.reset(),e}};function ls(e,t){us.point=cs,ns=os=e,rs=is=t}function cs(e,t){os-=e,is-=t,as.add(fc(os*os+is*is)),os=e,is=t}var ss=us;function fs(){this._string=[]}function ps(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}fs.prototype={_radius:4.5,_circle:ps(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=ps(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}};var hs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ds=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function ys(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ms(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var gs=function(e){function t(){return ys(this,t),ms(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ds(t,[{key:"render",value:function(){var e=this.props,n=e.animation,r=e.bandwidth,o=e.className,i=e.colorRange,a=e.data,u=e.innerHeight,l=e.innerWidth,c=e.marginLeft,s=e.marginTop,f=e.style;if(!a||!l||!u)return null;if(n)return Y.a.createElement($e,hs({},this.props,{animatedProps:Li}),Y.a.createElement(t,hs({},this.props,{animation:null})));var p=this._getAttributeFunctor("x"),h=this._getAttributeFunctor("y"),d=function(){var e=Gl,t=Xl,n=Ql,r=960,o=500,i=20,a=2,u=3*i,l=r+2*u>>a,c=o+2*u>>a,s=zl(20);function f(r){var o=new Float32Array(l*c),f=new Float32Array(l*c);r.forEach((function(r,i,s){var f=+e(r,i,s)+u>>a,p=+t(r,i,s)+u>>a,h=+n(r,i,s);f>=0&&f<l&&p>=0&&p<c&&(o[f+p*l]+=h)})),Yl({width:l,height:c,data:o},{width:l,height:c,data:f},i>>a),$l({width:l,height:c,data:f},{width:l,height:c,data:o},i>>a),Yl({width:l,height:c,data:o},{width:l,height:c,data:f},i>>a),$l({width:l,height:c,data:f},{width:l,height:c,data:o},i>>a),Yl({width:l,height:c,data:o},{width:l,height:c,data:f},i>>a),$l({width:l,height:c,data:f},{width:l,height:c,data:o},i>>a);var h=s(o);if(!Array.isArray(h)){var d=function(e,t){var n,r,o=e.length,i=-1;if(null==t){for(;++i<o;)if(null!=(n=e[i])&&n>=n)for(r=n;++i<o;)null!=(n=e[i])&&n>r&&(r=n)}else for(;++i<o;)if(null!=(n=t(e[i],i,e))&&n>=n)for(r=n;++i<o;)null!=(n=t(e[i],i,e))&&n>r&&(r=n);return r}(o);h=lt(0,d,h),(h=nt(0,Math.floor(d/h)*h,h)).shift()}return Wl().thresholds(h).size([l,c])(o).map(p)}function p(e){return e.value*=Math.pow(2,-2*a),e.coordinates.forEach(h),e}function h(e){e.forEach(d)}function d(e){e.forEach(y)}function y(e){e[0]=e[0]*Math.pow(2,a)-u,e[1]=e[1]*Math.pow(2,a)-u}function m(){return l=r+2*(u=3*i)>>a,c=o+2*u>>a,f}return f.x=function(t){return arguments.length?(e="function"===typeof t?t:zl(+t),f):e},f.y=function(e){return arguments.length?(t="function"===typeof e?e:zl(+e),f):t},f.weight=function(e){return arguments.length?(n="function"===typeof e?e:zl(+e),f):n},f.size=function(e){if(!arguments.length)return[r,o];var t=Math.ceil(e[0]),n=Math.ceil(e[1]);if(!(t>=0)&&!(t>=0))throw new Error("invalid size");return r=t,o=n,m()},f.cellSize=function(e){if(!arguments.length)return 1<<a;if(!((e=+e)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(e)/Math.LN2),m()},f.thresholds=function(e){return arguments.length?(s="function"===typeof e?e:Array.isArray(e)?zl(Fl.call(e)):zl(e),f):s},f.bandwidth=function(e){if(!arguments.length)return Math.sqrt(i*(i+1));if(!((e=+e)>=0))throw new Error("invalid bandwidth");return i=Math.round((Math.sqrt(4*e*e+1)-1)/2),m()},f}().x((function(e){return p(e)})).y((function(e){return h(e)})).size([l,u]).bandwidth(r)(a),y=function(e,t){var n,r,o=4.5;function i(e){return e&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),rc(e,n(r))),r.result()}return i.area=function(e){return rc(e,n(Tc)),Tc.result()},i.measure=function(e){return rc(e,n(ss)),ss.result()},i.bounds=function(e){return rc(e,n(jc)),jc.result()},i.centroid=function(e){return rc(e,n(Jc)),Jc.result()},i.projection=function(t){return arguments.length?(n=null==t?(e=null,Kl):(e=t).stream,i):e},i.context=function(e){return arguments.length?(r=null==e?(t=null,new fs):new es(t=e),"function"!==typeof o&&r.pointRadius(o),i):t},i.pointRadius=function(e){return arguments.length?(o="function"===typeof e?e:(r.pointRadius(+e),+e),i):o},i.projection(e).context(t)}(),m=function(e){return e.reduce((function(e,t){return{min:Math.min(e.min,t.value),max:Math.max(e.max,t.value)}}),{min:1/0,max:-1/0})}(d),g=m.min,v=m.max,b=en().domain([g,v]).range(i||Oi);return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--contour "+o,transform:"translate("+c+","+s+")"},d.map((function(e,t){return Y.a.createElement("path",{className:"rv-xy-plot__series--contour-line",key:"rv-xy-plot__series--contour-line-"+t,d:y(e),style:hs({fill:b(e.value)},f)})})))}}]),t}(wi);gs.propTypes=hs({},wi.propTypes,{animation:i.a.bool,bandwidth:i.a.number,className:i.a.string,marginLeft:i.a.number,marginTop:i.a.number,style:i.a.object}),gs.defaultProps=hs({},wi.defaultProps,{bandwidth:40,style:{}});var vs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bs=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function _s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xs(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function ws(e){var t=Ts(e);if(t)return{title:"x",value:Bo(t.x)}}function ks(e){return e.map((function(e,t){if(e)return{value:e.y,title:t}}))}function Ts(e){return(e||[]).find((function(e){return Boolean(e)}))}var Os=function(e){function t(){return _s(this,t),xs(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),bs(t,[{key:"_renderCrosshairItems",value:function(){var e=this.props,t=e.values,n=(0,e.itemsFormat)(t);return n?n.filter((function(e){return e})).map((function(e,t){return Y.a.createElement("div",{className:"rv-crosshair__item",key:"item"+t},Y.a.createElement("span",{className:"rv-crosshair__item__title"},e.title),": ",Y.a.createElement("span",{className:"rv-crosshair__item__value"},e.value))})):null}},{key:"_renderCrosshairTitle",value:function(){var e=this.props,t=e.values,n=e.titleFormat,r=e.style,o=n(t);return o?Y.a.createElement("div",{className:"rv-crosshair__title",key:"title",style:r.title},Y.a.createElement("span",{className:"rv-crosshair__title__title"},o.title),": ",Y.a.createElement("span",{className:"rv-crosshair__title__value"},o.value)):null}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.values,o=e.marginTop,i=e.marginLeft,a=e.innerWidth,u=e.innerHeight,l=e.style,c=Ts(r);if(!c)return null;var s=ai(this.props,"x")(c),f=this.props.orientation,p=i+s,h=o,d="rv-crosshair__inner rv-crosshair__inner--"+(void 0===f?s>a/2?"left":"right":f);return Y.a.createElement("div",{className:"rv-crosshair "+n,style:{left:p+"px",top:h+"px"}},Y.a.createElement("div",{className:"rv-crosshair__line",style:vs({height:u+"px"},l.line)}),Y.a.createElement("div",{className:d},t||Y.a.createElement("div",{className:"rv-crosshair__inner__content",style:l.box},Y.a.createElement("div",null,this._renderCrosshairTitle(),this._renderCrosshairItems()))))}}],[{key:"defaultProps",get:function(){return{titleFormat:ws,itemsFormat:ks,style:{line:{},title:{},box:{}}}}},{key:"propTypes",get:function(){return{className:i.a.string,values:i.a.arrayOf(i.a.oneOfType([i.a.number,i.a.string,i.a.object])),series:i.a.object,innerWidth:i.a.number,innerHeight:i.a.number,marginLeft:i.a.number,marginTop:i.a.number,orientation:i.a.oneOf(["left","right"]),itemsFormat:i.a.func,titleFormat:i.a.func,style:i.a.shape({line:i.a.object,title:i.a.object,box:i.a.object})}}}]),t}(W.PureComponent);Os.displayName="Crosshair";var Es=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Ss=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Ps(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ms(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Cs(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var As={stroke:"blue",fill:"blue"};function Ns(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:As;switch(e){case"diamond":return Y.a.createElement("polygon",{style:n,points:"0 0 "+t/2+" "+t/2+" 0 "+t+" "+-t/2+" "+t/2+" 0 0"});case"star":var r=[].concat(Cs(new Array(5))).map((function(e,n){var r=n/5*Math.PI*2,o=r+Math.PI/10,i=r-Math.PI/10,a=t/2.61;return"\n        "+Math.cos(i)*t+" "+Math.sin(i)*t+"\n        "+Math.cos(o)*a+" "+Math.sin(o)*a+"\n      "})).join(" ");return Y.a.createElement("polygon",{points:r,x:"0",y:"0",height:t,width:t,style:n});case"square":return Y.a.createElement("rect",{x:""+-t/2,y:""+-t/2,height:t,width:t,style:n});default:case"circle":return Y.a.createElement("circle",{cx:"0",cy:"0",r:t/2,style:n})}}var js=function(e){function t(){return Ps(this,t),Ms(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Es(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.animation,o=n.className,i=n.customComponent,a=n.data,u=n.innerHeight,l=n.innerWidth,c=n.marginLeft,s=n.marginTop,f=n.style,p=n.size;if(!a||!l||!u)return null;if(r)return Y.a.createElement($e,Ss({},this.props,{animatedProps:Li}),Y.a.createElement(t,Ss({},this.props,{animation:!1})));var h=this._getAttributeFunctor("x"),d=this._getAttributeFunctor("y"),y=a.map((function(t,n){var r={x:h(t),y:d(t)},o=function(e){var t=e.customComponent,n=e.defaultType,r=e.positionInPixels,o=(e.positionFunctions,e.style),i=e.propsSize,a=t.size,u=Ss({},o,t.style||{}),l=t.customComponent;return l||"string"!==typeof n?l?"string"===typeof l?Ns(l||n,a,u):l(t,r,u):n(t,r,u):Ns(n,a||i,u)}({customComponent:t,positionInPixels:r,defaultType:i,positionFunctions:{x:h,y:d},style:f,propsSize:p});return Y.a.createElement("g",{className:"rv-xy-plot__series--custom-svg",key:"rv-xy-plot__series--custom-svg-"+n,transform:"translate("+r.x+","+r.y+")",onMouseEnter:function(n){return e._valueMouseOverHandler(t,n)},onMouseLeave:function(n){return e._valueMouseOutHandler(t,n)}},o)}));return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--custom-svg-wrapper "+o,transform:"translate("+c+","+s+")"},y)}}]),t}(wi);js.propTypes={animation:i.a.bool,className:i.a.string,customComponent:i.a.oneOfType([i.a.string,i.a.func]),data:i.a.arrayOf(i.a.shape({x:i.a.oneOfType([i.a.string,i.a.number]).isRequired,y:i.a.oneOfType([i.a.string,i.a.number]).isRequired})).isRequired,marginLeft:i.a.number,marginTop:i.a.number,style:i.a.object,size:i.a.number,onValueMouseOver:i.a.func,onValueMouseOut:i.a.func},js.defaultProps=Ss({},wi.defaultProps,{animation:!1,customComponent:"circle",style:{},size:2});function Rs(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var Ls=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ds(e){if(!(t=Ls.exec(e)))throw new Error("invalid format: "+e);var t;return new Fs({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Fs(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}Ds.prototype=Fs.prototype,Fs.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Is,zs,Us,Vs=function(e,t){var n=Rs(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},Hs={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Vs(100*e,t)},r:Vs,s:function(e,t){var n=Rs(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Is=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Rs(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Bs=function(e){return e},qs=Array.prototype.map,Ws=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"],Ys=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Bs:(t=qs.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,u=t[0],l=0;o>0&&u>0&&(l+u+1>r&&(u=Math.max(1,r-l)),i.push(e.substring(o-=u,o+u)),!((l+=u+1)>r));)u=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?Bs:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(qs.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",s=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Ds(e)).fill,n=e.align,f=e.sign,p=e.symbol,h=e.zero,d=e.width,y=e.comma,m=e.precision,g=e.trim,v=e.type;"n"===v?(y=!0,v="g"):Hs[v]||(void 0===m&&(m=12),g=!0,v="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var b="$"===p?o:"#"===p&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",_="$"===p?i:/[%p]/.test(v)?l:"",x=Hs[v],w=/[defgprs%]/.test(v);function k(e){var o,i,l,p=b,k=_;if("c"===v)k=x(e)+k,e="";else{var T=(e=+e)<0||1/e<0;if(e=isNaN(e)?s:x(Math.abs(e),m),g&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),T&&0===+e&&"+"!==f&&(T=!1),p=(T?"("===f?f:c:"-"===f||"("===f?"":f)+p,k=("s"===v?Ws[8+Is/3]:"")+k+(T&&"("===f?")":""),w)for(o=-1,i=e.length;++o<i;)if(48>(l=e.charCodeAt(o))||l>57){k=(46===l?a+e.slice(o+1):e.slice(o))+k,e=e.slice(0,o);break}}y&&!h&&(e=r(e,1/0));var O=p.length+e.length+k.length,E=O<d?new Array(d-O+1).join(t):"";switch(y&&h&&(e=r(E+e,E.length?d-k.length:1/0),E=""),n){case"<":e=p+e+k+E;break;case"=":e=p+E+e+k;break;case"^":e=E.slice(0,O=E.length>>1)+p+e+k+E.slice(O);break;default:e=E+p+e+k}return u(e)}return m=void 0===m?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),k.toString=function(){return e+""},k}return{format:f,formatPrefix:function(e,t){var n,r=f(((e=Ds(e)).type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor((n=t,((n=Rs(Math.abs(n)))?n[1]:NaN)/3)))),i=Math.pow(10,-o),a=Ws[8+o/3];return function(e){return r(i*e)+a}}}};!function(e){zs=Ys(e),Us=zs.format,zs.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var $s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Gs(e){var t=e.axisDomain,n=e.numberOfTicks,r=e.axisStart,o=e.axisEnd,i=e.tickValue,a=e.tickSize,u=e.style,l=function(e){var t=e.axisStart,n=e.axisEnd,r=e.numberOfTicks,o=e.axisDomain,i=function(e,t){if(e.x===t.x)return{left:e.y,right:t.y,slope:0,offset:e.x};var n=(e.y-t.y)/(e.x-t.x);return{left:e.x,right:t.x,slope:n,offset:e.y-n*e.x}}(t,n),a=i.left,u=i.right,l=i.slope,c=i.offset,s=(u-a)/r,f=en().domain([a,u]).range(o),p=t.x===n.x;return{slope:p?1/0:l,points:nt(a,u+s,s).map((function(e){return p?{y:e,x:l*e+c,text:f(e)}:{x:e,y:l*e+c,text:f(e)}})).slice(0,r+1)}}({axisStart:r,axisEnd:o,numberOfTicks:n,axisDomain:t}).points,c=function(e,t){return e.x===t.x?t.y>e.y?Math.PI/2:3*Math.PI/2:Math.atan((t.y-e.y)/(t.x-e.x))}(r,o)+Math.PI/2;return l.map((function(e,t){var n=$s({x1:0,y1:0,x2:a*Math.cos(c),y2:a*Math.sin(c)},u.ticks),r=$s({x:a*Math.cos(c),y:a*Math.sin(c),textAnchor:"start"},u.text);return Y.a.createElement("g",{key:t,transform:"translate("+e.x+", "+e.y+")",className:"rv-xy-plot__axis__tick"},Y.a.createElement("line",$s({},n,{className:"rv-xy-plot__axis__tick__line"})),Y.a.createElement("text",$s({},r,{className:"rv-xy-plot__axis__tick__text"}),i(e.text)))}))}var Xs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qs=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zs(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Js=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickSize","tickTotal","tickSizeInner","tickSizeOuter"],ef=function(e){function t(){return Ks(this,t),Zs(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Qs(t,[{key:"render",value:function(){var e=this.props,n=e.animation,r=e.className,o=e.marginLeft,i=e.marginTop,a=e.axisStart,u=e.axisEnd,l=e.axisDomain,c=e.numberOfTicks,s=e.tickValue,f=e.tickSize,p=e.style;if(n)return Y.a.createElement($e,Xs({},this.props,{animatedProps:Js}),Y.a.createElement(t,Xs({},this.props,{animation:null})));var h=this._getAttributeFunctor("x"),d=this._getAttributeFunctor("y");return Y.a.createElement("g",{className:"rv-xy-manipulable-axis rv-xy-plot__axis "+r,transform:"translate("+o+","+i+")"},Y.a.createElement("line",Xs({},Xs({x1:h({x:a.x}),x2:h({x:u.x}),y1:d({y:a.y}),y2:d({y:u.y})},p.line),{className:"rv-xy-plot__axis__line"})),Y.a.createElement("g",{className:"rv-xy-manipulable-axis__ticks"},Gs({axisDomain:l,axisEnd:{x:h(u),y:d(u)},axisStart:{x:h(a),y:d(a)},numberOfTicks:c,tickValue:s,tickSize:f,style:p})))}}]),t}(wi),tf=Us(".2r");ef.defaultProps={className:"",numberOfTicks:10,tickValue:function(e){return tf(e)},tickSize:5,style:{line:{strokeWidth:1},ticks:{strokeWidth:2},text:{}}},ef.propTypes=Xs({},wi.propTypes,{axisDomain:i.a.arrayOf(i.a.number).isRequired,axisEnd:i.a.shape({x:i.a.oneOfType([i.a.number,i.a.string]),y:i.a.oneOfType([i.a.number,i.a.string])}).isRequired,axisStart:i.a.shape({x:i.a.oneOfType([i.a.number,i.a.string]),y:i.a.oneOfType([i.a.number,i.a.string])}).isRequired,className:i.a.string,numberOfTicks:i.a.number,tickValue:i.a.func,tickSize:i.a.number,style:i.a.shape({line:i.a.object,ticks:i.a.object,text:i.a.object})}),ef.displayName="DecorativeAxis";var nf=ef;function rf(e){var t=e.className;return Y.a.createElement("defs",{className:"rv-gradient-defs "+t},e.children)}rf.displayName="GradientDefs",rf.requiresSVG=!0,rf.propTypes={className:i.a.string},rf.defaultProps={className:""};var of=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},af=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function uf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var sf=Pl.VERTICAL,ff=Pl.HORIZONTAL,pf={direction:i.a.oneOf([sf,ff]),attr:i.a.string.isRequired,width:i.a.number,height:i.a.number,top:i.a.number,left:i.a.number,style:i.a.object,tickValues:i.a.arrayOf(i.a.oneOfType([i.a.number,i.a.string])),tickTotal:i.a.number,animation:Ge,marginTop:i.a.number,marginBottom:i.a.number,marginLeft:i.a.number,marginRight:i.a.number,innerWidth:i.a.number,innerHeight:i.a.number},hf={direction:sf},df=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickTotal"],yf=function(e){function t(){return lf(this,t),cf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),af(t,[{key:"_getDefaultProps",value:function(){var e=this.props,t=e.innerWidth,n=e.innerHeight,r=e.marginTop;return{left:e.marginLeft,top:r,width:t,height:n,tickTotal:Ml(e.direction===sf?t:n)}}},{key:"render",value:function(){var e=this.props,n=e.animation,r=e.className;if(n)return Y.a.createElement($e,of({},this.props,{animatedProps:df}),Y.a.createElement(t,of({},this.props,{animation:null})));var o=of({},this._getDefaultProps(),this.props),i=o.attr,a=o.direction,u=o.width,l=o.height,c=o.style,s=o.tickTotal,f=o.tickValues,p=o.top,h=o.left,d=a===sf,y=d?"y":"x",m=d?"x":"y",g=d?l:u,v=ri(o,i),b=Cl(v,s,f);return Y.a.createElement("g",{transform:"translate("+h+","+p+")",className:"rv-xy-plot__grid-lines "+r},b.map((function(e,t){var n,r=v(e),o=(uf(n={},m+"1",r),uf(n,m+"2",r),uf(n,y+"1",0),uf(n,y+"2",g),n);return Y.a.createElement("line",of({},o,{key:t,className:"rv-xy-plot__grid-lines__line",style:c}))})))}}]),t}(W.PureComponent);yf.displayName="GridLines",yf.defaultProps=hf,yf.propTypes=pf,yf.requiresSVG=!0;var mf=yf,gf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vf=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function bf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var xf=function(e){function t(){return bf(this,t),_f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),vf(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.animation,o=n.className,i=n.data,a=n.marginLeft,u=n.marginTop,l=n.style;if(!i)return null;if(r)return Y.a.createElement($e,gf({},this.props,{animatedProps:Li}),Y.a.createElement(t,gf({},this.props,{animation:null})));var c=gf({rectStyle:{}},l).rectStyle,s=this._getAttributeFunctor("x"),f=this._getAttributeFunctor("y"),p=this._getAttributeFunctor("opacity"),h=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),d=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),y=this._getScaleDistance("x"),m=this._getScaleDistance("y");return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--heatmap "+o,transform:"translate("+a+","+u+")"},i.map((function(t,n){var r=gf({style:gf({stroke:d&&d(t),fill:h&&h(t),opacity:p&&p(t)},l)},c,{x:s(t)-y/2,y:f(t)-m/2,width:y,height:m,key:n,onClick:function(n){return e._valueClickHandler(t,n)},onContextMenu:function(n){return e._valueRightClickHandler(t,n)},onMouseOver:function(n){return e._valueMouseOverHandler(t,n)},onMouseOut:function(n){return e._valueMouseOutHandler(t,n)}});return Y.a.createElement("rect",r)})))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e||"y"===e}}}]),t}(wi);xf.propTypes=gf({},wi.propTypes),xf.displayName="HeatmapSeries";var wf=Math.PI/3,kf=[0,wf,2*wf,3*wf,4*wf,5*wf];function Tf(e){return e[0]}function Of(e){return e[1]}var Ef=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sf=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Pf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Cf(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var Af=function(e){function t(){return Pf(this,t),Mf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Sf(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.animation,o=n.className,i=n.colorRange,a=n.data,u=n.innerHeight,l=n.innerWidth,c=n.marginLeft,s=n.marginTop,f=n.radius,p=n.sizeHexagonsWithCount,h=n.style,d=n.xOffset,y=n.yOffset;if(!a)return null;if(r)return Y.a.createElement($e,Ef({},this.props,{animatedProps:Li}),Y.a.createElement(t,Ef({},this.props,{animation:null})));var m=this._getAttributeFunctor("x"),g=this._getAttributeFunctor("y"),v=function(){var e,t,n,r=0,o=0,i=1,a=1,u=Tf,l=Of;function c(e){var r,o={},i=[],a=e.length;for(r=0;r<a;++r)if(!isNaN(s=+u.call(null,c=e[r],r,e))&&!isNaN(f=+l.call(null,c,r,e))){var c,s,f,p=Math.round(f/=n),h=Math.round(s=s/t-(1&p)/2),d=f-p;if(3*Math.abs(d)>1){var y=s-h,m=h+(s<h?-1:1)/2,g=p+(f<p?-1:1),v=s-m,b=f-g;y*y+d*d>v*v+b*b&&(h=m+(1&p?1:-1)/2,p=g)}var _=h+"-"+p,x=o[_];x?x.push(c):(i.push(x=o[_]=[c]),x.x=(h+(1&p)/2)*t,x.y=p*n)}return i}function s(e){var t=0,n=0;return kf.map((function(r){var o=Math.sin(r)*e,i=-Math.cos(r)*e,a=o-t,u=i-n;return t=o,n=i,[a,u]}))}return c.hexagon=function(t){return"m"+s(null==t?e:+t).join("l")+"z"},c.centers=function(){for(var u=[],l=Math.round(o/n),c=Math.round(r/t),s=l*n;s<a+e;s+=n,++l)for(var f=c*t+(1&l)*t/2;f<i+t/2;f+=t)u.push([f,s]);return u},c.mesh=function(){var t=s(e).slice(0,4).join("l");return c.centers().map((function(e){return"M"+e+"m"+t})).join("")},c.x=function(e){return arguments.length?(u=e,c):u},c.y=function(e){return arguments.length?(l=e,c):l},c.radius=function(r){return arguments.length?(t=2*(e=+r)*Math.sin(wf),n=1.5*e,c):e},c.size=function(e){return arguments.length?(r=o=0,i=+e[0],a=+e[1],c):[i-r,a-o]},c.extent=function(e){return arguments.length?(r=+e[0][0],o=+e[0][1],i=+e[1][0],a=+e[1][1],c):[[r,o],[i,a]]},c.radius(1)}().x((function(e){return m(e)+d})).y((function(e){return g(e)+y})).radius(f).size([l,u]),b=v.hexagon(),_=v(a),x=function(e,t){var n=e.countDomain;return n||[0,Math.max.apply(Math,Cf(t.map((function(e){return e.length}))))]}(this.props,_),w=en().domain(x).range(i),k=en().domain(x).range([0,f]);return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--hexbin "+o,transform:"translate("+c+","+s+")"},_.map((function(t,n){var r={style:h,d:p?v.hexagon(k(t.length)):b,fill:w(t.length),transform:"translate("+t.x+", "+t.y+")",key:n,onClick:function(n){return e._valueClickHandler(t,n)},onContextMenu:function(n){return e._valueRightClickHandler(t,n)},onMouseOver:function(n){return e._valueMouseOverHandler(t,n)},onMouseOut:function(n){return e._valueMouseOutHandler(t,n)}};return Y.a.createElement("path",r)})))}}]),t}(wi);Af.propTypes=Ef({},wi.propTypes,{radius:i.a.number}),Af.defaultProps={radius:20,colorRange:Oi,xOffset:0,yOffset:0},Af.displayName="HexbinSeries";var Nf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jf=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Rf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Df(e){return{xLoc:"touchstart"===e.type?e.pageX:e.offsetX,yLoc:"touchstart"===e.type?e.pageY:e.offsetY}}var Ff=function(e){function t(){var e,n,r;Rf(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=Lf(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={dragging:!1,brushArea:{top:0,right:0,bottom:0,left:0},brushing:!1,startLocX:0,startLocY:0,dragArea:null},Lf(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),jf(t,[{key:"_getDrawArea",value:function(e,t){var n=this.state,r=n.startLocX,o=n.startLocY,i=this.props,a=i.enableX,u=i.enableY,l=i.highlightWidth,c=i.highlightHeight,s=i.innerWidth,f=i.innerHeight,p=i.marginLeft,h=i.marginRight,d=i.marginBottom,y=i.marginTop,m=l||s+p+h,g=c||f+y+d;return{bottom:u?Math.max(o,t):g,right:a?Math.max(r,e):m,left:a?Math.min(e,r):0,top:u?Math.min(t,o):0}}},{key:"_getDragArea",value:function(e,t){var n=this.props,r=n.enableX,o=n.enableY,i=this.state,a=i.startLocX,u=i.startLocY,l=i.dragArea;return{bottom:l.bottom+(o?t-u:0),left:l.left+(r?e-a:0),right:l.right+(r?e-a:0),top:l.top+(o?t-u:0)}}},{key:"_clickedOutsideDrag",value:function(e,t){var n=this.props,r=n.enableX,o=n.enableY,i=this.state,a=i.dragArea,u=i.brushArea,l=u.left,c=u.right,s=u.top,f=u.bottom,p=a&&(e<l||e>c),h=a&&(t<s||t>f);return r&&o?p||h:r?p:!o||h}},{key:"_convertAreaToCoordinates",value:function(e){var t=this.props,n=t.enableX,r=t.enableY,o=t.marginLeft,i=t.marginTop,a=ri(this.props,"x"),u=ri(this.props,"y");return n&&r?{bottom:u.invert(e.bottom),left:a.invert(e.left-o),right:a.invert(e.right-o),top:u.invert(e.top)}:r?{bottom:u.invert(e.bottom-i),top:u.invert(e.top-i)}:n?{left:a.invert(e.left-o),right:a.invert(e.right-o)}:{}}},{key:"startBrushing",value:function(e){var t=this,n=this.props,r=n.onBrushStart,o=n.onDragStart,i=n.drag,a=this.state.dragArea,u=Df(e.nativeEvent),l=u.xLoc,c=u.yLoc,s=function(e,n){var r={bottom:c,left:l,right:l,top:c};t.setState({dragging:e,brushArea:a&&!n?a:r,brushing:!e,startLocX:l,startLocY:c})},f=this._clickedOutsideDrag(l,c);if(i&&!a||!i||f)return s(!1,f),void(r&&r(e));i&&a&&(s(!0,f),o&&o(e))}},{key:"stopBrushing",value:function(e){var t=this.state,n=t.brushing,r=t.dragging,o=t.brushArea;if(n||r){var i=this.props,a=i.onBrushEnd,u=i.onDragEnd,l=i.drag,c=Math.abs(o.right-o.left)<5,s=Math.abs(o.top-o.bottom)<5||c;this.setState({brushing:!1,dragging:!1,brushArea:l?o:{top:0,right:0,bottom:0,left:0},startLocX:0,startLocY:0,dragArea:l&&!s&&o}),n&&a&&a(s?null:this._convertAreaToCoordinates(o)),l&&u&&u(s?null:this._convertAreaToCoordinates(o))}}},{key:"onBrush",value:function(e){var t=this.props,n=t.onBrush,r=t.onDrag,o=t.drag,i=this.state,a=i.brushing,u=i.dragging,l=Df(e.nativeEvent),c=l.xLoc,s=l.yLoc;if(a){var f=this._getDrawArea(c,s);this.setState({brushArea:f}),n&&n(this._convertAreaToCoordinates(f))}if(o&&u){var p=this._getDragArea(c,s);this.setState({brushArea:p}),r&&r(this._convertAreaToCoordinates(p))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.color,r=t.className,o=t.highlightHeight,i=t.highlightWidth,a=t.highlightX,u=t.highlightY,l=t.innerWidth,c=t.innerHeight,s=t.marginLeft,f=t.marginRight,p=t.marginTop,h=t.marginBottom,d=t.opacity,y=this.state.brushArea,m=y.left,g=y.right,v=y.top,b=y.bottom,_=0;a&&(_=ri(this.props,"x")(a));var x=0;u&&(x=ri(this.props,"y")(u));var w=i||s+f+l,k=o||p+h+c;return Y.a.createElement("g",{transform:"translate("+_+", "+x+")",className:r+" rv-highlight-container"},Y.a.createElement("rect",{className:"rv-mouse-target",fill:"black",opacity:"0",x:"0",y:"0",width:Math.max(w,0),height:Math.max(k,0),onMouseDown:function(t){return e.startBrushing(t)},onMouseMove:function(t){return e.onBrush(t)},onMouseUp:function(t){return e.stopBrushing(t)},onMouseLeave:function(t){return e.stopBrushing(t)},onTouchEnd:function(t){t.preventDefault(),e.stopBrushing(t)},onTouchCancel:function(t){t.preventDefault(),e.stopBrushing(t)},onContextMenu:function(e){return e.preventDefault()},onContextMenuCapture:function(e){return e.preventDefault()}}),Y.a.createElement("rect",{className:"rv-highlight",pointerEvents:"none",opacity:d,fill:n,x:m,y:v,width:Math.min(Math.max(0,g-m),w),height:Math.min(Math.max(0,b-v),k)}))}}]),t}(wi);Ff.displayName="HighlightOverlay",Ff.defaultProps={color:"rgb(77, 182, 172)",className:"",enableX:!0,enableY:!0,opacity:.3},Ff.propTypes=Nf({},wi.propTypes,{enableX:i.a.bool,enableY:i.a.bool,highlightHeight:i.a.number,highlightWidth:i.a.number,highlightX:i.a.oneOfType([i.a.string,i.a.number]),highlightY:i.a.oneOfType([i.a.string,i.a.number]),onBrushStart:i.a.func,onDragStart:i.a.func,onBrush:i.a.func,onDrag:i.a.func,onBrushEnd:i.a.func,onDragEnd:i.a.func});var If=Ff,zf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uf=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Vf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Bf={AUTO:"auto",LEFT:"left",RIGHT:"right",LEFT_EDGE:"leftEdge",RIGHT_EDGE:"rightEdge",BOTTOM:"bottom",TOP:"top",BOTTOM_EDGE:"bottomEdge",TOP_EDGE:"topEdge"},qf={BOTTOM_LEFT:"bottomleft",BOTTOM_RIGHT:"bottomright",TOP_LEFT:"topleft",TOP_RIGHT:"topright"};function Wf(e){return Object.keys(e).map((function(t){return{title:t,value:Bo(e[t])}}))}var Yf=function(e){function t(){return Vf(this,t),Hf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Uf(t,[{key:"_getAlign",value:function(e,t){var n=this.props,r=n.innerWidth,o=n.innerHeight,i=n.orientation,a=n.align,u=a.horizontal,l=a.vertical,c=i?this._mapOrientationToAlign(i):{horizontal:u,vertical:l};return u===Bf.AUTO&&(c.horizontal=e>r/2?Bf.LEFT:Bf.RIGHT),l===Bf.AUTO&&(c.vertical=t>o/2?Bf.TOP:Bf.BOTTOM),c}},{key:"_getAlignClassNames",value:function(e){var t=this.props.orientation;return(t?"rv-hint--orientation-"+t:"")+" rv-hint--horizontalAlign-"+e.horizontal+"\n     rv-hint--verticalAlign-"+e.vertical}},{key:"_getAlignStyle",value:function(e,t,n){return zf({},this._getXCSS(e.horizontal,t),this._getYCSS(e.vertical,n))}},{key:"_getCSSBottom",value:function(e){if(void 0===e||null===e)return{bottom:0};var t=this.props,n=t.innerHeight;return{bottom:t.marginBottom+n-e}}},{key:"_getCSSLeft",value:function(e){return void 0===e||null===e?{left:0}:{left:this.props.marginLeft+e}}},{key:"_getCSSRight",value:function(e){if(void 0===e||null===e)return{right:0};var t=this.props,n=t.innerWidth;return{right:t.marginRight+n-e}}},{key:"_getCSSTop",value:function(e){return void 0===e||null===e?{top:0}:{top:this.props.marginTop+e}}},{key:"_getPositionInfo",value:function(){var e=this.props,t=e.value,n=e.getAlignStyle,r=ai(this.props,"x")(t),o=ai(this.props,"y")(t),i=this._getAlign(r,o);return{position:n?n(i,r,o):this._getAlignStyle(i,r,o),positionClassName:this._getAlignClassNames(i)}}},{key:"_getXCSS",value:function(e,t){switch(e){case Bf.LEFT_EDGE:return this._getCSSLeft(null);case Bf.RIGHT_EDGE:return this._getCSSRight(null);case Bf.LEFT:return this._getCSSRight(t);case Bf.RIGHT:default:return this._getCSSLeft(t)}}},{key:"_getYCSS",value:function(e,t){switch(e){case Bf.TOP_EDGE:return this._getCSSTop(null);case Bf.BOTTOM_EDGE:return this._getCSSBottom(null);case Bf.BOTTOM:return this._getCSSTop(t);case Bf.TOP:default:return this._getCSSBottom(t)}}},{key:"_mapOrientationToAlign",value:function(e){switch(e){case qf.BOTTOM_LEFT:return{horizontal:Bf.LEFT,vertical:Bf.BOTTOM};case qf.BOTTOM_RIGHT:return{horizontal:Bf.RIGHT,vertical:Bf.BOTTOM};case qf.TOP_LEFT:return{horizontal:Bf.LEFT,vertical:Bf.TOP};case qf.TOP_RIGHT:return{horizontal:Bf.RIGHT,vertical:Bf.TOP}}}},{key:"render",value:function(){var e=this.props,t=e.value,n=e.format,r=e.children,o=e.style,i=e.className,a=this._getPositionInfo(),u=a.position,l=a.positionClassName;return Y.a.createElement("div",{className:"rv-hint "+l+" "+i,style:zf({},o,u,{position:"absolute"})},r||Y.a.createElement("div",{className:"rv-hint__content",style:o.content},n(t).map((function(e,t){return Y.a.createElement("div",{key:"rv-hint"+t,style:o.row},Y.a.createElement("span",{className:"rv-hint__title",style:o.title},e.title),": ",Y.a.createElement("span",{className:"rv-hint__value",style:o.value},e.value))}))))}}],[{key:"defaultProps",get:function(){return{format:Wf,align:{horizontal:Bf.AUTO,vertical:Bf.AUTO},style:{}}}},{key:"propTypes",get:function(){return{marginTop:i.a.number,marginLeft:i.a.number,innerWidth:i.a.number,innerHeight:i.a.number,scales:i.a.object,value:i.a.object,format:i.a.func,style:i.a.object,className:i.a.string,align:i.a.shape({horizontal:i.a.oneOf([Bf.AUTO,Bf.LEFT,Bf.RIGHT,Bf.LEFT_EDGE,Bf.RIGHT_EDGE]),vertical:i.a.oneOf([Bf.AUTO,Bf.BOTTOM,Bf.TOP,Bf.BOTTOM_EDGE,Bf.TOP_EDGE])}),getAlignStyle:i.a.func,orientation:i.a.oneOf([qf.BOTTOM_LEFT,qf.BOTTOM_RIGHT,qf.TOP_LEFT,qf.TOP_RIGHT])}}}]),t}(W.PureComponent);Yf.displayName="Hint",Yf.ORIENTATION=qf,Yf.ALIGN=Bf;var $f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gf=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Xf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kf(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Zf=function(e){function t(){return Qf(this,t),Kf(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Gf(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.animation,o=n.className,i=n.data,a=n.linePosAttr,u=n.lineSizeAttr,l=n.marginLeft,c=n.marginTop,s=n.style,f=n.valuePosAttr,p=n.valueSizeAttr,h=n.barWidth;if(!i)return null;if(r)return Y.a.createElement($e,$f({},this.props,{animatedProps:Li}),Y.a.createElement(t,$f({},this.props,{animation:null})));var d=Di(this.props),y=d.sameTypeTotal,m=d.sameTypeIndex,g=this._getScaleDistance(a),v=this._getAttributeFunctor(a),b=this._getAttributeFunctor(f),_=this._getAttr0Functor(f),x=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),w=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),k=this._getAttributeFunctor("opacity"),T=g/2*h;return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--bar "+o,transform:"translate("+l+","+c+")"},i.map((function(t,n){var r,o=2*T,i=v(t),l=o/y-(y-1)/y,c=i-T+l*m+m,h=(Xf(r={style:$f({opacity:k&&k(t),stroke:w&&w(t),fill:x&&x(t)},s)},a,c),Xf(r,u,l),Xf(r,f,Math.min(_(t),b(t))),Xf(r,p,Math.abs(-_(t)+b(t))),Xf(r,"onClick",(function(n){return e._valueClickHandler(t,n)})),Xf(r,"onContextMenu",(function(n){return e._valueRightClickHandler(t,n)})),Xf(r,"onMouseOver",(function(n){return e._valueMouseOverHandler(t,n)})),Xf(r,"onMouseOut",(function(n){return e._valueMouseOutHandler(t,n)})),Xf(r,"key",n),r);return Y.a.createElement("rect",h)})))}}],[{key:"propTypes",get:function(){return $f({},wi.propTypes,{linePosAttr:i.a.string,valuePosAttr:i.a.string,lineSizeAttr:i.a.string,valueSizeAttr:i.a.string,cluster:i.a.string,barWidth:i.a.number})}},{key:"defaultProps",get:function(){return{barWidth:.85}}}]),t}(wi);Zf.displayName="BarSeries";var Jf=Zf,ep=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},tp=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function np(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var op=function(e){function t(){return np(this,t),rp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),tp(t,[{key:"render",value:function(){return Y.a.createElement(Jf,ep({},this.props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"y"===e,zeroBaseValue:"x"===e}}}]),t}(wi);op.displayName="HorizontalBarSeries";var ip=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ap=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function up(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var cp=function(e){function t(){return up(this,t),lp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ap(t,[{key:"render",value:function(){return null}}],[{key:"renderLayer",value:function(e,t){var n=e.data,r=e.linePosAttr,o=e.lineSizeAttr,i=e.valuePosAttr,a=e.marginTop,u=e.marginBottom;if(n&&0!==n.length){var l=function(e,t){var n=ni(e,t);return n?n.distance:0}(e,r),c=ai(e,r),s=ai(e,i),f=ui(e,i),p=ai(e,"fill")||ai(e,"color"),h=ai(e,"stroke")||ai(e,"color"),d=ai(e,"opacity"),y=l/2*.85,m=2*y,g=Di(e),v=g.sameTypeTotal,b=g.sameTypeIndex;n.forEach((function(e){var n=c(e)-y,r=m/v-(v-1)/v,l=he(p(e)),g=he(h(e)),_=d(e)||1,x=n+r*b+b,w=Math.min(f(e),s(e)),k="x"===i?w:x,T="y"===i?w:x,O=Math.abs(-f(e)+s(e)),E="height"===o?r:O,S="width"===o?r:O;t.beginPath(),t.rect(k+u,T+a,S,E),t.fillStyle="rgba("+l.r+", "+l.g+", "+l.b+", "+_+")",t.fill(),t.strokeStyle="rgba("+g.r+", "+g.g+", "+g.b+", "+_+")",t.stroke()}))}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);cp.displayName="BarSeriesCanvas",cp.defaultProps=ip({},wi.defaultProps,{linePosAttr:i.a.string.isRequired,valuePosAttr:i.a.string.isRequired,lineSizeAttr:i.a.string.isRequired,valueSizeAttr:i.a.string.isRequired}),cp.propTypes=ip({},wi.propTypes);var sp=cp,fp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pp=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function hp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var yp=function(e){function t(){return hp(this,t),dp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),pp(t,[{key:"render",value:function(){return null}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"y"===e,zeroBaseValue:"x"===e}}},{key:"renderLayer",value:function(e,t){sp.renderLayer(fp({},e,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);yp.displayName="HorizontalBarSeriesCanvas",yp.propTypes=fp({},wi.propTypes);var mp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gp=Pl.HORIZONTAL,vp=mp({},mf.propTypes,{direction:i.a.oneOf([gp])}),bp={direction:gp,attr:"y"};function _p(e){return Y.a.createElement(mf,e)}_p.displayName="HorizontalGridLines",_p.propTypes=vp,_p.defaultProps=bp,_p.requiresSVG=!0;var xp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wp=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function kp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Op(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Ep=function(e){function t(){return Tp(this,t),Op(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),wp(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.animation,o=n.className,i=n.data,a=n.linePosAttr,u=n.lineSizeAttr,l=n.marginLeft,c=n.marginTop,s=n.style,f=n.valuePosAttr,p=n.valueSizeAttr;if(!i)return null;if(r)return Y.a.createElement($e,xp({},this.props,{animatedProps:Li}),Y.a.createElement(t,xp({},this.props,{animation:null})));var h=this._getAttributeFunctor(a),d=this._getAttr0Functor(a),y=this._getAttributeFunctor(f),m=this._getAttr0Functor(f),g=this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),v=this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),b=this._getAttributeFunctor("opacity");return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--rect "+o,transform:"translate("+l+","+c+")"},i.map((function(t,n){var r,o=(kp(r={style:xp({opacity:b&&b(t),stroke:v&&v(t),fill:g&&g(t)},s)},a,d(t)),kp(r,u,Math.abs(h(t)-d(t))),kp(r,f,Math.min(m(t),y(t))),kp(r,p,Math.abs(-m(t)+y(t))),kp(r,"onClick",(function(n){return e._valueClickHandler(t,n)})),kp(r,"onContextMenu",(function(n){return e._valueRightClickHandler(t,n)})),kp(r,"onMouseOver",(function(n){return e._valueMouseOverHandler(t,n)})),kp(r,"onMouseOut",(function(n){return e._valueMouseOutHandler(t,n)})),kp(r,"key",n),r);return Y.a.createElement("rect",o)})))}}],[{key:"propTypes",get:function(){return xp({},wi.propTypes,{linePosAttr:i.a.string,valuePosAttr:i.a.string,lineSizeAttr:i.a.string,valueSizeAttr:i.a.string})}}]),t}(wi);Ep.displayName="RectSeries";var Sp=Ep,Pp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mp=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Cp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ap(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Np=function(e){function t(){return Cp(this,t),Ap(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Mp(t,[{key:"render",value:function(){return Y.a.createElement(Sp,Pp({},this.props,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"x"===e}}}]),t}(wi);Np.displayName="HorizontalRectSeries";var jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rp=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Fp=function(e){function t(){return Lp(this,t),Dp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Rp(t,[{key:"render",value:function(){return null}}],[{key:"renderLayer",value:function(e,t){var n=e.data,r=e.linePosAttr,o=e.lineSizeAttr,i=e.marginLeft,a=e.marginTop,u=e.valuePosAttr;if(n&&0!==n.length){var l=ai(e,r),c=ui(e,r),s=ai(e,u),f=ui(e,u),p=ai(e,"fill")||ai(e,"color"),h=ai(e,"stroke")||ai(e,"color"),d=ai(e,"opacity");n.forEach((function(e){var n=he(p(e)),r=he(h(e)),y=d(e)||1,m=c(e),g=Math.min(f(e),s(e)),v="x"===u?g:m,b="y"===u?g:m,_=Math.abs(l(e)-c(e)),x=Math.abs(-f(e)+s(e)),w="height"===o?_:x,k="width"===o?_:x;t.beginPath(),t.rect(v+i,b+a,k,w),t.fillStyle="rgba("+n.r+", "+n.g+", "+n.b+", "+y+")",t.fill(),t.strokeStyle="rgba("+r.r+", "+r.g+", "+r.b+", "+y+")",t.stroke()}))}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);Fp.displayName="RectSeriesCanvas",Fp.defaultProps=jp({},wi.defaultProps,{linePosAttr:i.a.string.isRequired,valuePosAttr:i.a.string.isRequired,lineSizeAttr:i.a.string.isRequired,valueSizeAttr:i.a.string.isRequired}),Fp.propTypes=jp({},wi.propTypes);var Ip=Fp,zp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Up=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Vp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hp(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Bp=function(e){function t(){return Vp(this,t),Hp(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Up(t,[{key:"render",value:function(){return null}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"x"===e}}},{key:"renderLayer",value:function(e,t){Ip.renderLayer(zp({},e,{linePosAttr:"y",valuePosAttr:"x",lineSizeAttr:"height",valueSizeAttr:"width"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);Bp.displayName="HorizontalRectSeriesCanvas",Bp.propTypes=zp({},wi.propTypes);var qp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wp=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Gp=function(e,t){return e||(t?"start":"end")},Xp=function(e,t){return e||(t?"text-before-edge":"text-after-edge")},Qp=function(e){function t(){return Yp(this,t),$p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Wp(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.animation,o=n.allowOffsetToBeReversed,i=n.className,a=n.data,u=n._data,l=n.getLabel,c=n.marginLeft,s=n.marginTop,f=n.rotation,p=n.style,h=n.xRange,d=n.yRange,y=n.labelAnchorX,m=n.labelAnchorY;if(!a)return null;if(r)return Y.a.createElement($e,qp({},this.props,{animatedProps:Li}),Y.a.createElement(t,qp({},this.props,{animation:null,_data:a})));var g=this._getAttributeFunctor("x"),v=this._getAttributeFunctor("y");return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--label "+i,transform:"translate("+c+","+s+")",style:p},a.reduce((function(t,n,r){var i=n.style,a=n.xOffset,c=n.yOffset;if(!l(n))return t;var s=g(n),p=v(n),b=s<(h[1]-h[0])/2,_=p<Math.abs(d[1]-d[0])/2,x=s+(o&&b?-1:1)*(a||0),w=p+(o&&_?-1:1)*(c||0),k=0===n.rotation||n.rotation?n.rotation:f,T=qp({dominantBaseline:Xp(m,_),className:"rv-xy-plot__series--label-text",key:r,onClick:function(t){return e._valueClickHandler(n,t)},onContextMenu:function(t){return e._valueRightClickHandler(n,t)},onMouseOver:function(t){return e._valueMouseOverHandler(n,t)},onMouseOut:function(t){return e._valueMouseOutHandler(n,t)},textAnchor:Gp(y,b),x:x,y:w,transform:"rotate("+k+","+x+","+w+")"},i),O=l(u?u[r]:n);return t.concat([Y.a.createElement("text",T,O)])}),[]))}}]),t}(wi);Qp.propTypes={animation:i.a.bool,allowOffsetToBeReversed:i.a.bool,className:i.a.string,data:i.a.arrayOf(i.a.shape({x:i.a.oneOfType([i.a.number,i.a.string]),y:i.a.oneOfType([i.a.number,i.a.string]),angle:i.a.number,radius:i.a.number,label:i.a.string,xOffset:i.a.number,yOffset:i.a.number,style:i.a.object})).isRequired,marginLeft:i.a.number,marginTop:i.a.number,rotation:i.a.number,style:i.a.object,xRange:i.a.arrayOf(i.a.number),yRange:i.a.arrayOf(i.a.number),labelAnchorX:i.a.string,labelAnchorY:i.a.string},Qp.defaultProps=qp({},wi.defaultProps,{animation:!1,rotation:0,getLabel:function(e){return e.label}}),Qp.displayName="LabelSeries";var Kp=Qp,Zp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jp=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function th(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var nh={dashed:"6, 2",solid:null},rh=function(e){function t(){return eh(this,t),th(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Jp(t,[{key:"_renderLine",value:function(e,t,n,o,i){var a=xa();return null!==o&&("string"===typeof o&&r[o]?a=a.curve(r[o]):"function"===typeof o&&(a=a.curve(o))),(a=(a=a.defined(i)).x(t).y(n))(e)}},{key:"render",value:function(){var e=this.props,n=e.animation,r=e.className,o=e.data;if(this.props.nullAccessor&&Object(Ho.b)("nullAccessor has been renamed to getNull",!0),!o)return null;if(n)return Y.a.createElement($e,Zp({},this.props,{animatedProps:Li}),Y.a.createElement(t,Zp({},this.props,{animation:null})));var i=this.props,a=i.curve,u=i.marginLeft,l=i.marginTop,c=i.strokeDasharray,s=i.strokeStyle,f=i.strokeWidth,p=i.style,h=this._getAttributeFunctor("x"),d=this._getAttributeFunctor("y"),y=this._getAttributeValue("stroke")||this._getAttributeValue("color"),m=this._getAttributeValue("opacity"),g=Number.isFinite(m)?m:1,v=this.props.nullAccessor||this.props.getNull,b=this._renderLine(o,h,d,a,v);return Y.a.createElement("path",{d:b,className:"rv-xy-plot__series rv-xy-plot__series--line "+r,transform:"translate("+u+","+l+")",onMouseOver:this._seriesMouseOverHandler,onMouseOut:this._seriesMouseOutHandler,onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,style:Zp({opacity:g,strokeDasharray:nh[s]||c,strokeWidth:f,stroke:y},p)})}}]),t}(wi);rh.displayName="LineSeries",rh.propTypes=Zp({},wi.propTypes,{strokeStyle:i.a.oneOf(Object.keys(nh)),curve:i.a.oneOfType([i.a.string,i.a.func]),getNull:i.a.func}),rh.defaultProps=Zp({},wi.defaultProps,{strokeStyle:"solid",style:{},opacity:1,curve:null,className:"",getNull:function(){return!0}});var oh=rh,ih=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ah=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function uh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var ch=function(e){function t(){return uh(this,t),lh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),ah(t,[{key:"_renderCircle",value:function(e,t,n,r,o){var i=this,a=o.fill,u=o.opacity,l=o.size,c=o.stroke,s=o.x,f=o.y,p={r:l?l(e):5,cx:s(e),cy:f(e),style:ih({opacity:u?u(e):1,stroke:c&&c(e),fill:a&&a(e),strokeWidth:n||1},r),key:t,onClick:function(t){return i._valueClickHandler(e,t)},onContextMenu:function(t){return i._valueRightClickHandler(e,t)},onMouseOver:function(t){return i._valueMouseOverHandler(e,t)},onMouseOut:function(t){return i._valueMouseOutHandler(e,t)}};return Y.a.createElement("circle",p)}},{key:"render",value:function(){var e=this,n=this.props,r=n.animation,o=n.className,i=n.data,a=n.marginLeft,u=n.marginTop,l=n.strokeWidth,c=n.style;this.props.nullAccessor&&Object(Ho.b)("nullAccessor has been renamed to getNull",!0);var s=this.props.nullAccessor||this.props.getNull;if(!i)return null;if(r)return Y.a.createElement($e,ih({},this.props,{animatedProps:Li}),Y.a.createElement(t,ih({},this.props,{animation:null})));var f={fill:this._getAttributeFunctor("fill")||this._getAttributeFunctor("color"),opacity:this._getAttributeFunctor("opacity"),size:this._getAttributeFunctor("size"),stroke:this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),x:this._getAttributeFunctor("x"),y:this._getAttributeFunctor("y")};return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--mark "+o,transform:"translate("+a+","+u+")"},i.map((function(t,n){return s(t)&&e._renderCircle(t,n,l,c,f)})))}}]),t}(wi);ch.displayName="MarkSeries",ch.propTypes=ih({},wi.propTypes,{getNull:i.a.func,strokeWidth:i.a.number}),ch.defaultProps={getNull:function(){return!0}};var sh=ch,fh=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),ph=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function hh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var yh=ph({},oh.propTypes,{lineStyle:i.a.object,markStyle:i.a.object}),mh=function(e){function t(){return hh(this,t),dh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),fh(t,[{key:"render",value:function(){var e=this.props,t=e.lineStyle,n=e.markStyle,r=e.style;return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--linemark"},Y.a.createElement(oh,ph({},this.props,{style:ph({},r,t)})),Y.a.createElement(sh,ph({},this.props,{style:ph({},r,n)})))}}],[{key:"defaultProps",get:function(){return ph({},oh.defaultProps,{lineStyle:{},markStyle:{}})}}]),t}(wi);mh.displayName="LineMarkSeries",mh.propTypes=yh;var gh=mh,vh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bh=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function _h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var wh=function(e){function t(){return _h(this,t),xh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),bh(t,[{key:"render",value:function(){return null}}],[{key:"renderLayer",value:function(e,t){var n=e.data,r=e.marginLeft,o=e.marginTop,i=ai(e,"x"),a=ai(e,"y"),u=ai(e,"size")||function(e){return 5},l=ai(e,"fill")||ai(e,"color"),c=ai(e,"stroke")||ai(e,"color"),s=ai(e,"opacity");n.forEach((function(e){var n=he(l(e)),f=he(c(e)),p=s(e)||1;t.beginPath(),t.arc(i(e)+r,a(e)+o,u(e),0,2*Math.PI),t.fillStyle="rgba("+n.r+", "+n.g+", "+n.b+", "+p+")",t.fill(),t.strokeStyle="rgba("+f.r+", "+f.g+", "+f.b+", "+p+")",t.stroke()}))}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);wh.displayName="MarkSeriesCanvas",wh.propTypes=vh({},wi.propTypes);var kh=wh,Th=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oh=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Eh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Ph=function(e){function t(){return Eh(this,t),Sh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Oh(t,[{key:"render",value:function(){return Y.a.createElement("div",null)}}],[{key:"renderLayer",value:function(e,t){var n=e.curve,o=e.data,i=e.marginLeft,a=e.marginTop,u=e.strokeWidth,l=e.strokeDasharray;if(o&&0!==o.length){var c=ai(e,"x"),s=ai(e,"y"),f=he(li(e,"stroke")||li(e,"color")),p=li(e,"opacity"),h=Number.isFinite(p)?p:1,d=xa().x((function(e){return c(e)+i})).y((function(e){return s(e)+a}));"string"===typeof n&&r[n]?d=d.curve(r[n]):"function"===typeof n&&(d=d.curve(n)),t.beginPath(),t.strokeStyle="rgba("+f.r+", "+f.g+", "+f.b+", "+h+")",t.lineWidth=u,l&&t.setLineDash(l),d.context(t)(o),t.stroke(),t.closePath(),t.lineWidth=1,t.setLineDash([])}}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);Ph.displayName="LineSeriesCanvas",Ph.defaultProps=Th({},wi.defaultProps,{strokeWidth:2}),Ph.propTypes=Th({},wi.propTypes,{strokeWidth:i.a.number});var Mh=Ph,Ch=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ah=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Nh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Rh=function(e){function t(){return Nh(this,t),jh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Ah(t,[{key:"render",value:function(){return null}}],[{key:"renderLayer",value:function(e,t){Mh.renderLayer(e,t),kh.renderLayer(e,t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);Rh.displayName="LineMarkSeriesCanvas",Rh.propTypes=Ch({},wi.propTypes);var Lh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Dh=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Fh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ih(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var zh=function(e,t,n){return e.reduce((function(e,r,o){return e+" "+(o?"L":"M")+t(r)+" "+n(r)}),"")+" Z"},Uh=function(e){function t(){return Fh(this,t),Ih(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Dh(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.animation,o=n.color,i=n.className,a=n.data,u=n.marginLeft,l=n.marginTop,c=n.style;if(!a)return null;if(r)return Y.a.createElement($e,Lh({},this.props,{animatedProps:Li}),Y.a.createElement(t,Lh({},this.props,{animation:null})));var s=this._getAttributeFunctor("x"),f=this._getAttributeFunctor("y");return Y.a.createElement("path",{className:"rv-xy-plot__series rv-xy-plot__series--polygon "+i,onMouseOver:function(t){return e._seriesMouseOverHandler(a,t)},onMouseOut:function(t){return e._seriesMouseOutHandler(a,t)},onClick:this._seriesClickHandler,onContextMenu:this._seriesRightClickHandler,fill:o||"#12939A",style:c,d:zh(a,s,f),transform:"translate("+u+","+l+")"})}}],[{key:"propTypes",get:function(){return Lh({},wi.propTypes)}}]),t}(wi);Uh.displayName="PolygonSeries";var Vh=Uh,Hh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bh=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function qh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Wh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Yh=function(e){function t(){return qh(this,t),Wh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Bh(t,[{key:"render",value:function(){return Y.a.createElement(Jf,Hh({},this.props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e,zeroBaseValue:"y"===e}}}]),t}(wi);Yh.displayName="VerticalBarSeries";var $h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gh=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Xh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qh(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var Kh=function(e){function t(){return Xh(this,t),Qh(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Gh(t,[{key:"render",value:function(){return null}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:"x"===e,zeroBaseValue:"y"===e}}},{key:"renderLayer",value:function(e,t){sp.renderLayer($h({},e,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);Kh.displayName="HorizontalBarSeriesCanvas",Kh.propTypes=$h({},wi.propTypes);var Zh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jh=Pl.VERTICAL,ed=Zh({},mf.propTypes,{direction:i.a.oneOf([Jh])}),td={direction:Jh,attr:"x"};function nd(e){return Y.a.createElement(mf,e)}nd.displayName="VerticalGridLines",nd.propTypes=ed,nd.defaultProps=td,nd.requiresSVG=!0;var rd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},od=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function id(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ad(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var ud=function(e){function t(){return id(this,t),ad(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),od(t,[{key:"render",value:function(){return Y.a.createElement(Sp,rd({},this.props,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}))}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"y"===e}}}]),t}(wi);ud.displayName="VerticalRectSeries";var ld=ud,cd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sd=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function fd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var hd=function(e){function t(){return fd(this,t),pd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),sd(t,[{key:"render",value:function(){return null}}],[{key:"getParentConfig",value:function(e){return{isDomainAdjustmentNeeded:!1,zeroBaseValue:"y"===e}}},{key:"renderLayer",value:function(e,t){Ip.renderLayer(cd({},e,{linePosAttr:"x",valuePosAttr:"y",lineSizeAttr:"width",valueSizeAttr:"height"}),t)}},{key:"requiresSVG",get:function(){return!1}},{key:"isCanvas",get:function(){return!0}}]),t}(wi);hd.displayName="HorizontalRectSeriesCanvas",hd.propTypes=cd({},wi.propTypes);var dd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yd=function(e){return e};function md(e){var t=e.className,n=e.extent,r=e.nodes,o=e.onBlur,i=e.onClick,a=e.onMouseUp,u=e.onMouseDown,l=e.onHover,c=e.polygonStyle,s=e.style,f=e.x,p=e.y,h=q().x(f||ai(e,"x")).y(p||ai(e,"y")).extent(n||function(e){var t=e.innerWidth,n=e.innerHeight,r=e.marginLeft,o=e.marginTop;return[[r,o],[t+r,n+o]]}(e)).polygons(r),d=function(e){return function(t){t.preventDefault();var n=function(e){var t=e.nativeEvent,n=t.pageX,r=t.pageY,o=document.elementFromPoint(n,r);if(!o)return-1;var i=o.parentNode;return Array.prototype.indexOf.call(i.childNodes,o)}(t);if(n>-1&&n<h.length){var r=h[n];e(r.data)}}};return Y.a.createElement("g",{className:t+" rv-voronoi",style:s,onTouchEnd:d(a),onTouchStart:d(u),onTouchMove:d(l),onTouchCancel:d(o)},h.map((function(e,t){return Y.a.createElement("path",{className:"rv-voronoi__cell "+(e.data&&e.data.className||""),d:"M"+e.join("L")+"Z",onClick:function(){return i(e.data)},onMouseUp:function(){return a(e.data)},onMouseDown:function(){return u(e.data)},onMouseOver:function(){return l(e.data)},onMouseOut:function(){return o(e.data)},fill:"none",style:dd({pointerEvents:"all"},c,e.data&&e.data.style),key:t})})))}md.requiresSVG=!0,md.displayName="Voronoi",md.defaultProps={className:"",onBlur:yd,onClick:yd,onHover:yd,onMouseDown:yd,onMouseUp:yd},md.propTypes={className:i.a.string,extent:i.a.arrayOf(i.a.arrayOf(i.a.number)),nodes:i.a.arrayOf(i.a.object).isRequired,onBlur:i.a.func,onClick:i.a.func,onHover:i.a.func,onMouseDown:i.a.func,onMouseUp:i.a.func,x:i.a.func,y:i.a.func};var gd=md,vd=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),bd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function _d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var wd=function(e){function t(){return _d(this,t),xd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),vd(t,[{key:"render",value:function(){var e=this.props,n=e.animation,r=e.className,o=e.crossBarWidth,i=e.data,a=e.marginLeft,u=e.marginTop,l=e.strokeWidth,c=e.style;if(!i)return null;if(n)return Y.a.createElement($e,bd({},this.props,{animatedProps:Li}),Y.a.createElement(t,bd({},this.props,{animation:null})));var s={crossBarWidth:o,opacityFunctor:this._getAttributeFunctor("opacity"),sizeFunctor:this._getAttributeFunctor("size"),strokeFunctor:this._getAttributeFunctor("stroke")||this._getAttributeFunctor("color"),strokeWidth:l,style:c,xFunctor:this._getAttributeFunctor("x"),yFunctor:this._getAttributeFunctor("y"),valueClickHandler:this._valueClickHandler,valueRightClickHandler:this._valueRightClickHandler,valueMouseOverHandler:this._valueMouseOverHandler,valueMouseOutHandler:this._valueMouseOutHandler};return Y.a.createElement("g",{className:"rv-xy-plot__series rv-xy-plot__series--whisker "+r,transform:"translate("+a+","+u+")"},i.map(function(e){return function(t,n){var r=e.crossBarWidth,o=e.opacityFunctor,i=e.sizeFunctor,a=e.strokeFunctor,u=e.strokeWidth,l=e.style,c=e.valueClickHandler,s=e.valueMouseOutHandler,f=e.valueMouseOverHandler,p=e.valueRightClickHandler,h=e.xFunctor,d=e.yFunctor,y=i?i(t):0,m=h(t),g=d(t),v=h({x:t.x+t.xVariance/2}),b=h({x:t.x-t.xVariance/2}),_=d({y:t.y+t.yVariance/2}),x=d({y:t.y-t.yVariance/2}),w=v&&m+y<v,k=_&&g-y>_;if(!w&&!k)return null;var T=bd({opacity:o?o(t):1,stroke:a&&a(t),strokeWidth:u||1},l),O=r/2,E={x1:m+y,y1:g,x2:v,y2:g,style:T},S={x1:m-y,y1:g,x2:b,y2:g,style:T},P={x1:v,y1:g-O,x2:v,y2:g+O,style:T},M={x1:b,y1:g-O,x2:b,y2:g+O,style:T},C={x1:m,y1:g-y,x2:m,y2:_,style:T},A={x1:m,y1:g+y,x2:m,y2:x,style:T},N={x1:m-O,y1:_,x2:m+O,y2:_,style:T},j={x1:m-O,y1:x,x2:m+O,y2:x,style:T};return Y.a.createElement("g",{className:"mark-whiskers",key:n,onClick:function(e){return c(t,e)},onContextMenu:function(e){return p(t,e)},onMouseOver:function(e){return f(t,e)},onMouseOut:function(e){return s(t,e)}},w?Y.a.createElement("g",{className:"x-whiskers"},Y.a.createElement("line",E),Y.a.createElement("line",S),Y.a.createElement("line",P),Y.a.createElement("line",M)):null,k?Y.a.createElement("g",{className:"y-whiskers"},Y.a.createElement("line",C),Y.a.createElement("line",A),Y.a.createElement("line",N),Y.a.createElement("line",j)):null)}}(s)))}}]),t}(wi);wd.displayName="WhiskerSeries",wd.propTypes=bd({},wi.propTypes,{strokeWidth:i.a.number}),wd.defaultProps=bd({},wi.defaultProps,{crossBarWidth:6,size:0,strokeWidth:1});var kd=n(44),Td=n.n(kd),Od=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Ed(e,t){var n=e.margin,r=e.width,o=e.height,i=Od({},t,"number"===typeof n?{left:n,right:n,top:n,bottom:n}:n),a=i.left,u=void 0===a?0:a,l=i.top,c=void 0===l?0:l,s=i.right,f=void 0===s?0:s,p=i.bottom,h=void 0===p?0:p;return{marginLeft:u,marginTop:c,marginRight:f,marginBottom:h,innerHeight:o-h-c,innerWidth:r-u-f}}function Sd(e,t,n){var r=e/2-n,o=t/2-n;return{bottom:o,left:r,right:r,top:o}}var Pd=i.a.oneOfType([i.a.shape({left:i.a.number,top:i.a.number,right:i.a.number,bottom:i.a.number}),i.a.number]),Md={left:40,right:10,top:10,bottom:40},Cd=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Ad=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jd(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function Rd(e,t,n,r,o){e.clearRect(0,0,n,t),r.forEach((function(t){var n=t.interpolator,r=t.newProps,i=t.animation?n?n(o/30):n:function(){return{}};t.renderLayer(Ad({},r,i),e)}))}var Ld=function(e){function t(){return Nd(this,t),jd(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Cd(t,[{key:"componentDidMount",value:function(){var e=this.canvas.getContext("2d");if(e){var t=this.props.pixelRatio;e&&(e.scale(t,t),this.drawChildren(null,this.props,e))}}},{key:"componentDidUpdate",value:function(e){this.drawChildren(e,this.props,this.canvas.getContext("2d"))}},{key:"drawChildren",value:function(e,t,n){var r=t.children,o=t.innerHeight,i=t.innerWidth,a=t.marginBottom,u=t.marginLeft,l=t.marginRight,c=t.marginTop;if(n){var s,f,p=r.find((function(e){return e.props.animation})),h=o+c+a,d=i+u+l,y=(s=t.children,f=e?e.children:[],s.map((function(e,t){var n=f[t]?f[t].props:{},r=e.props,o=We(Ad({},n,{animatedProps:Li})),i=r?We(Ad({},r,{animatedProps:Li})):null,a=ze(o,i);return{renderLayer:e.type.renderLayer,newProps:e.props,animation:e.props.animation,interpolator:a}})));p?function(e,t,n,r){var o=0,i=setInterval((function(){e?(Rd(e,t,n,r,o),o>30&&clearInterval(i),o+=1):clearInterval(i)}),1)}(n,h,d,y):Rd(n,h,d,y)}}},{key:"render",value:function(){var e=this,t=this.props,n=t.innerHeight,r=t.innerWidth,o=t.marginBottom,i=t.marginLeft,a=t.marginRight,u=t.marginTop,l=t.pixelRatio,c=n+u+o,s=r+i+a;return Y.a.createElement("div",{style:{left:0,top:0},className:"rv-xy-canvas"},Y.a.createElement("canvas",{className:"rv-xy-canvas-element",height:c*l,width:s*l,style:{height:c+"px",width:s+"px"},ref:function(t){return e.canvas=t}}),this.props.children)}}],[{key:"defaultProps",get:function(){return{pixelRatio:window&&window.devicePixelRatio||1}}}]),t}(W.Component);Ld.displayName="CanvasWrapper",Ld.propTypes={marginBottom:i.a.number.isRequired,marginLeft:i.a.number.isRequired,marginRight:i.a.number.isRequired,marginTop:i.a.number.isRequired,innerHeight:i.a.number.isRequired,innerWidth:i.a.number.isRequired,pixelRatio:i.a.number.isRequired};var Dd=Ld,Fd=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Id=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var zd=["x","y","radius","angle","color","fill","stroke","opacity","size"];function Ud(e){return e.map((function(e){return Array.isArray(e)?e.map((function(e){return Id({},e,{parent:null})})):e}))}var Vd=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));Hd.call(n);var r=e.stackBy,o=Ni(Ai(e.children),r);return n.state={scaleMixins:n._getScaleMixins(o,e),data:o},n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Fd(t,null,[{key:"defaultProps",get:function(){return{className:""}}},{key:"propTypes",get:function(){return{animation:Ge,className:i.a.string,dontCheckIfEmpty:i.a.bool,height:i.a.number.isRequired,margin:Pd,onClick:i.a.func,onDoubleClick:i.a.func,onMouseDown:i.a.func,onMouseUp:i.a.func,onMouseEnter:i.a.func,onMouseLeave:i.a.func,onMouseMove:i.a.func,onTouchStart:i.a.func,onTouchMove:i.a.func,onTouchEnd:i.a.func,onTouchCancel:i.a.func,onWheel:i.a.func,stackBy:i.a.oneOf(zd),style:i.a.object,width:i.a.number.isRequired}}}]),Fd(t,[{key:"componentWillReceiveProps",value:function(e){var t=Ni(Ai(e.children),e.stackBy),n=this.state.scaleMixins,r=this._getScaleMixins(t,e);(function(e,t,n){var r=Id({},e,{_allData:n?Ud(e._allData):e._allData}),o=Id({},t,{_allData:n?Ud(t._allData):t._allData});return Td()(r,o)})(r,n,e.hasTreeStructure)||this.setState({scaleMixins:r,data:t})}},{key:"_getClonedChildComponents",value:function(){var e=this,t=this.props,n=this.props.animation,r=this.state,o=r.scaleMixins,i=r.data,a=Ed(this.props,Md),u=Y.a.Children.toArray(this.props.children),l=ji(u),c=di(t,u);return u.map((function(t,r){var u=null;if(l[r]){var s=l[r].seriesIndex;u={data:i[s]}}return Y.a.cloneElement(t,Id({},a,{animation:n},u&&t.type.prototype&&t.type.prototype.render?{ref:function(t){return e["series"+l[r].seriesIndex]=t}}:{},l[r],o,t.props,c[r],u))}))}},{key:"_getDefaultScaleProps",value:function(e){var t=Ed(e,Md),n=t.innerWidth,r=t.innerHeight,o=["color","fill","stroke"].reduce((function(t,n){var r,o,i,a="category"===e[n+"Type"]?Ti:Oi;return Id({},t,(i=a,(o=n+"Range")in(r={})?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r))}),{});return Id({xRange:[0,n],yRange:[r,0]},o,{opacityType:"literal",sizeRange:Ei})}},{key:"_getScaleMixins",value:function(e,t){var n,r=e.filter((function(e){return e})),o=(n=[]).concat.apply(n,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(r)),i=this._getDefaultScaleProps(t),a=mi(t),u=si(t,zd),l=fi(Id({},i,a,u),o,zd),c=Ai(t.children),s={},f=new Set,p=new Set;return c.forEach((function(n,r){n&&e[r]&&zd.forEach((function(e){var o=n.type.getParentConfig(e,n.props),i=o.isDomainAdjustmentNeeded,a=o.zeroBaseValue;if(i&&(f.add(e),p.add(r)),a){var u=t[e+"Domain"];s[e+"BaseValue"]=u?u[0]:0}}))})),Id({},i,s,u,l,{_allData:e,_adjustBy:Array.from(f),_adjustWhat:Array.from(p),_stackBy:t.stackBy})}},{key:"_isPlotEmpty",value:function(){var e=this.state.data;return!e||!e.length||!e.some((function(e){return e&&e.some((function(e){return e}))}))}},{key:"renderCanvasComponents",value:function(e,t){var n=e.filter((function(e){return e&&!e.type.requiresSVG&&e.type.isCanvas}));if(0===n.length)return null;var r=n[0].props,o=r.marginLeft,i=r.marginTop,a=r.marginBottom,u=r.marginRight,l=r.innerHeight,c=r.innerWidth;return Y.a.createElement(Dd,{innerHeight:l,innerWidth:c,marginLeft:o,marginTop:i,marginBottom:a,marginRight:u},n)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.dontCheckIfEmpty,r=e.style,o=e.width,i=e.height;if(!n&&this._isPlotEmpty())return Y.a.createElement("div",{className:"rv-xy-plot "+t,style:Id({width:o+"px",height:i+"px"},this.props.style)});var a=this._getClonedChildComponents();return Y.a.createElement("div",{style:{width:o+"px",height:i+"px"},className:"rv-xy-plot "+t},Y.a.createElement("svg",{className:"rv-xy-plot__inner",width:o,height:i,style:r,onClick:this._clickHandler,onDoubleClick:this._doubleClickHandler,onMouseDown:this._mouseDownHandler,onMouseUp:this._mouseUpHandler,onMouseMove:this._mouseMoveHandler,onMouseLeave:this._mouseLeaveHandler,onMouseEnter:this._mouseEnterHandler,onTouchStart:this._mouseDownHandler,onTouchMove:this._touchMoveHandler,onTouchEnd:this._touchEndHandler,onTouchCancel:this._touchCancelHandler,onWheel:this._wheelHandler},a.filter((function(e){return e&&e.type.requiresSVG}))),this.renderCanvasComponents(a,this.props),a.filter((function(e){return e&&!e.type.requiresSVG&&!e.type.isCanvas})))}}]),t}(Y.a.Component),Hd=function(){var e=this;this._clickHandler=function(t){var n=e.props.onClick;n&&n(t)},this._doubleClickHandler=function(t){var n=e.props.onDoubleClick;n&&n(t)},this._mouseDownHandler=function(t){var n=e.props,r=n.onMouseDown,o=n.children;r&&r(t),Ai(o).forEach((function(n,r){var o=e["series"+r];o&&o.onParentMouseDown&&o.onParentMouseDown(t)}))},this._mouseEnterHandler=function(t){var n=e.props,r=n.onMouseEnter,o=n.children;r&&r(t),Ai(o).forEach((function(n,r){var o=e["series"+r];o&&o.onParentMouseEnter&&o.onParentMouseEnter(t)}))},this._mouseLeaveHandler=function(t){var n=e.props,r=n.onMouseLeave,o=n.children;r&&r(t),Ai(o).forEach((function(n,r){var o=e["series"+r];o&&o.onParentMouseLeave&&o.onParentMouseLeave(t)}))},this._mouseMoveHandler=function(t){var n=e.props,r=n.onMouseMove,o=n.children;r&&r(t),Ai(o).forEach((function(n,r){var o=e["series"+r];o&&o.onParentMouseMove&&o.onParentMouseMove(t)}))},this._mouseUpHandler=function(t){var n=e.props,r=n.onMouseUp,o=n.children;r&&r(t),Ai(o).forEach((function(n,r){var o=e["series"+r];o&&o.onParentMouseUp&&o.onParentMouseUp(t)}))},this._touchCancelHandler=function(t){var n=e.props.onTouchCancel;n&&n(t)},this._touchEndHandler=function(t){var n=e.props.onTouchEnd;n&&n(t)},this._touchMoveHandler=function(t){var n=e.props,r=n.onTouchMove,o=n.children;r&&r(t),Ai(o).forEach((function(n,r){var o=e["series"+r];o&&o.onParentTouchMove&&o.onParentTouchMove(t)}))},this._touchStartHandler=function(t){var n=e.props,r=n.onTouchStart,o=n.children;r&&r(t),Ai(o).forEach((function(n,r){var o=e["series"+r];o&&o.onParentTouchStart&&o.onParentTouchStart(t)}))},this._wheelHandler=function(t){var n=e.props.onWheel;n&&n(t)}};Vd.displayName="XYPlot";var Bd=Vd,qd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Wd=Sl.LEFT,Yd=Sl.RIGHT,$d=Sl.TOP,Gd=Sl.BOTTOM,Xd={height:i.a.number.isRequired,style:i.a.object,orientation:i.a.oneOf([Wd,Yd,$d,Gd]).isRequired,width:i.a.number.isRequired};function Qd(e){var t=e.orientation,n=e.width,r=e.height,o=e.style,i=void 0;return i=t===Wd?{x1:n,x2:n,y1:0,y2:r}:t===Yd?{x1:0,x2:0,y1:0,y2:r}:t===$d?{x1:0,x2:n,y1:r,y2:r}:{x1:0,x2:n,y1:0,y2:0},Y.a.createElement("line",qd({},i,{className:"rv-xy-plot__axis__line",style:o}))}Qd.defaultProps={style:{}},Qd.displayName="AxisLine",Qd.propTypes=Xd;var Kd=Qd,Zd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jd=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function ey(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ty(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ny(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var ry=Sl.LEFT,oy=Sl.RIGHT,iy=Sl.TOP,ay=Sl.BOTTOM,uy={height:i.a.number.isRequired,orientation:i.a.oneOf([ry,oy,iy,ay]).isRequired,style:i.a.object,width:i.a.number.isRequired};var ly=function(e){function t(){return ty(this,t),ny(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Jd(t,[{key:"_areTicksWrapped",value:function(){var e=this.props.orientation;return e===ry||e===iy}},{key:"_getTickContainerPropsGetterFn",value:function(){return this._isAxisVertical()?function(e){return{transform:"translate(0, "+e+")"}}:function(e){return{transform:"translate("+e+", 0)"}}}},{key:"_getTickLabelProps",value:function(){var e=this.props,t=e.orientation,n=e.tickLabelAngle,r=e.tickSize,o=e.tickSizeOuter,i=void 0===o?r:o,a=e.tickPadding,u=void 0===a?r:a,l=void 0;l=t===ry||t===ay&&n?"end":t===oy||t===iy&&n?"start":"middle";var c=this._isAxisVertical(),s=(this._areTicksWrapped()?-1:1)*(i+u);return{textAnchor:l,dy:t===iy||n?"0":t===ay?"0.72em":"0.32em",transform:(c?"translate("+s+", 0)":"translate(0, "+s+")")+(n?" rotate("+n+")":"")}}},{key:"_getTickLineProps",value:function(){var e,t=this.props,n=t.tickSize,r=t.tickSizeOuter,o=void 0===r?n:r,i=t.tickSizeInner,a=void 0===i?n:i,u=this._isAxisVertical(),l=u?"y":"x",c=u?"x":"y",s=this._areTicksWrapped()?-1:1;return ey(e={},l+"1",0),ey(e,l+"2",0),ey(e,c+"1",-s*a),ey(e,c+"2",s*o),e}},{key:"_isAxisVertical",value:function(){var e=this.props.orientation;return e===ry||e===oy}},{key:"render",value:function(){var e=this.props,t=e.attr,n=e.orientation,r=e.width,o=e.height,i=e.style,a=e.tickFormat,u=e.tickTotal,l=e.tickValues,c=n===ry?r:0,s=n===iy?o:0,f=ri(this.props,t),p=Cl(f,u,l),h=function(e,t,n){return n||(e.tickFormat?e.tickFormat(t):function(e){return e})}(f,u,a),d=this._getTickContainerPropsGetterFn(),y=this._getTickLineProps(),m=this._getTickLabelProps(),g=p.map((function(e,t){var n=f(e),o=h(e,t,f,u),a=Y.a.isValidElement(o)&&!["tspan","textPath"].includes(o.type),l=o&&"string"!==typeof o.type;return Y.a.createElement("g",Zd({key:t},d(n,0),{className:"rv-xy-plot__axis__tick",style:i}),Y.a.createElement("line",Zd({},y,{className:"rv-xy-plot__axis__tick__line",style:Zd({},i,i.line)})),a?Y.a.cloneElement(o,l?Zd({},m,{containerWidth:r,tickCount:p.length}):void 0):Y.a.createElement("text",Zd({},m,{className:"rv-xy-plot__axis__tick__text",style:Zd({},i,i.text)}),o))}));return Y.a.createElement("g",{transform:"translate("+c+", "+s+")",className:"rv-xy-plot__axis__ticks"},g)}}]),t}(Y.a.Component);ly.defaultProps={style:{}},ly.displayName="AxisTicks",ly.propTypes=uy,ly.requiresSVG=!0;var cy=ly,sy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function fy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var py=Sl.LEFT,hy=Sl.RIGHT,dy=Sl.TOP,yy=Sl.BOTTOM,my={width:i.a.number.isRequired,height:i.a.number.isRequired,orientation:i.a.oneOf([py,hy,dy,yy]).isRequired,style:i.a.object,title:i.a.string.isRequired};function gy(e){var t=e.orientation,n=e.position,r=e.width,o=e.height,i=e.style,a=e.title,u="translate("+(t===py?r:0)+", "+(t===dy?o:0)+")",l=function(e,t){var n;return fy(n={},py,{end:{x:16,y:6,rotation:-90,textAnchor:"end"},middle:{x:16,y:t/2-6,rotation:-90,textAnchor:"middle"},start:{x:16,y:t-6,rotation:-90,textAnchor:"start"}}),fy(n,hy,{end:{x:-8,y:6,rotation:-90,textAnchor:"end"},middle:{x:-8,y:t/2-6,rotation:-90,textAnchor:"middle"},start:{x:-8,y:t-6,rotation:-90,textAnchor:"start"}}),fy(n,dy,{start:{x:6,y:16,rotation:0,textAnchor:"start"},middle:{x:e/2-6,y:16,rotation:0,textAnchor:"middle"},end:{x:e-6,y:16,rotation:0,textAnchor:"end"}}),fy(n,yy,{start:{x:6,y:-6,rotation:0,textAnchor:"start"},middle:{x:e/2-6,y:-6,rotation:0,textAnchor:"middle"},end:{x:e-6,y:-6,rotation:0,textAnchor:"end"}}),n}(r,o)[t][n],c=l.x,s=l.y,f=l.rotation,p=l.textAnchor,h="translate("+c+", "+s+") rotate("+f+")";return Y.a.createElement("g",{transform:u,className:"rv-xy-plot__axis__title"},Y.a.createElement("g",{style:sy({textAnchor:p},i),transform:h},Y.a.createElement("text",{style:i},a)))}gy.displayName="AxisTitle",gy.propTypes=my,gy.defaultProps={position:"end"};var vy=gy,by=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_y=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function xy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wy(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var ky=["xRange","yRange","xDomain","yDomain","width","height","marginLeft","marginTop","marginRight","marginBottom","tickSize","tickTotal","tickSizeInner","tickSizeOuter"],Ty=Sl.LEFT,Oy=Sl.RIGHT,Ey=Sl.TOP,Sy=Sl.BOTTOM,Py={orientation:i.a.oneOf([Ty,Oy,Ey,Sy]),attr:i.a.string.isRequired,attrAxis:i.a.string,width:i.a.number,height:i.a.number,top:i.a.number,left:i.a.number,title:i.a.string,style:i.a.object,className:i.a.string,hideTicks:i.a.bool,hideLine:i.a.bool,on0:i.a.bool,tickLabelAngle:i.a.number,tickSize:i.a.number,tickSizeInner:i.a.number,tickSizeOuter:i.a.number,tickPadding:i.a.number,tickValues:i.a.arrayOf(i.a.oneOfType([i.a.number,i.a.string])),tickFormat:i.a.func,tickTotal:i.a.number,marginTop:i.a.number,marginBottom:i.a.number,marginLeft:i.a.number,marginRight:i.a.number,innerWidth:i.a.number,innerHeight:i.a.number},My={className:"",on0:!1,style:{},tickSize:6,tickPadding:8,orientation:Sy},Cy=function(e){function t(){return xy(this,t),wy(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),_y(t,[{key:"_getDefaultAxisProps",value:function(){var e=this.props,t=e.innerWidth,n=e.innerHeight,r=e.marginTop,o=e.marginBottom,i=e.marginLeft,a=e.marginRight,u=e.orientation;return u===Sy?{tickTotal:Ml(t),top:n+r,left:i,width:t,height:o}:u===Ey?{tickTotal:Ml(t),top:0,left:i,width:t,height:r}:u===Ty?{tickTotal:Ml(n),top:r,left:0,width:i,height:n}:{tickTotal:Ml(n),top:r,left:i+t,width:a,height:n}}},{key:"render",value:function(){var e=this.props.animation;if(e){var n=e.nonAnimatedProps?ky.filter((function(t){return e.nonAnimatedProps.indexOf(t)<0})):ky;return Y.a.createElement($e,by({},this.props,{animatedProps:n}),Y.a.createElement(t,by({},this.props,{animation:null})))}var r=by({},this._getDefaultAxisProps(),this.props),o=r.attrAxis,i=r.className,a=r.height,u=r.hideLine,l=r.hideTicks,c=r.left,s=r.marginTop,f=r.on0,p=r.orientation,h=r.position,d=r.style,y=r.title,m=r.top,g=r.width,v=[Ty,Oy].indexOf(p)>-1,b=v?"rv-xy-plot__axis--vertical":"rv-xy-plot__axis--horizontal",_=c,x=m;if(f){var w=ri(r,o);v?_=w(0):x=s+w(0)}return Y.a.createElement("g",{transform:"translate("+_+","+x+")",className:"rv-xy-plot__axis "+b+" "+i,style:d},!u&&Y.a.createElement(Kd,{height:a,width:g,orientation:p,style:by({},d,d.line)}),!l&&Y.a.createElement(cy,by({},r,{style:by({},d,d.ticks)})),y?Y.a.createElement(vy,{position:h,title:y,height:a,width:g,style:by({},d,d.title),orientation:p}):null)}}]),t}(W.PureComponent);Cy.displayName="Axis",Cy.propTypes=Py,Cy.defaultProps=My,Cy.requiresSVG=!0;var Ay=Cy,Ny=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jy=Sl.TOP,Ry=Sl.BOTTOM,Ly=Ny({},Ay.propTypes,{orientation:i.a.oneOf([jy,Ry])}),Dy={orientation:Ry,attr:"x",attrAxis:"y"};function Fy(e){return Y.a.createElement(Ay,e)}Fy.displayName="XAxis",Fy.propTypes=Ly,Fy.defaultProps=Dy,Fy.requiresSVG=!0;var Iy=Fy,zy=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Uy=Sl.LEFT,Vy=Sl.RIGHT,Hy=zy({},Ay.propTypes,{orientation:i.a.oneOf([Uy,Vy])}),By={orientation:Uy,attr:"y",attrAxis:"x"};function qy(e){return Y.a.createElement(Ay,e)}qy.displayName="YAxis",qy.propTypes=Hy,qy.defaultProps=By,qy.requiresSVG=!0;var Wy=qy,Yy={className:i.a.string,height:i.a.number,endColor:i.a.string,endTitle:i.a.oneOfType([i.a.number,i.a.string]).isRequired,midColor:i.a.string,midTitle:i.a.oneOfType([i.a.number,i.a.string]),startColor:i.a.string,startTitle:i.a.oneOfType([i.a.number,i.a.string]).isRequired,width:i.a.number},$y={className:"",startColor:Oi[0],endColor:Oi[1]};function Gy(e){var t=e.startColor,n=e.midColor,r=e.endColor,o=e.startTitle,i=e.midTitle,a=e.endTitle,u=e.height,l=e.width,c=e.className,s=[t];return n&&s.push(n),s.push(r),Y.a.createElement("div",{className:"rv-continuous-color-legend "+c,style:{width:l,height:u}},Y.a.createElement("div",{className:"rv-gradient",style:{background:"linear-gradient(to right, "+s.join(",")+")"}}),Y.a.createElement("div",{className:"rv-legend-titles"},Y.a.createElement("span",{className:"rv-legend-titles__left"},o),Y.a.createElement("span",{className:"rv-legend-titles__right"},a),i?Y.a.createElement("span",{className:"rv-legend-titles__center"},i):null))}Gy.displayName="ContinuousColorLegend",Gy.propTypes=Yy,Gy.defaultProps=$y;var Xy={className:i.a.string,circlesTotal:i.a.number,endSize:i.a.number,endTitle:i.a.oneOfType([i.a.number,i.a.string]).isRequired,height:i.a.number,startSize:i.a.number,startTitle:i.a.oneOfType([i.a.number,i.a.string]).isRequired,width:i.a.number};function Qy(e){for(var t=e.startTitle,n=e.endTitle,r=e.startSize,o=e.endSize,i=e.circlesTotal,a=e.height,u=e.width,l=e.className,c=[],s=(o-r)/(i-1),f=0;f<i;f++){var p=s*f+r;c.push(Y.a.createElement("div",{key:f,className:"rv-bubble",style:{width:p,height:p,borderRadius:p/2}})),c.push(" ")}return Y.a.createElement("div",{className:"rv-continuous-size-legend "+l,style:{width:u,height:a}},Y.a.createElement("div",{className:"rv-bubbles",style:{height:o}},c,Y.a.createElement("div",{className:"rv-spacer"})),Y.a.createElement("div",{className:"rv-legend-titles"},Y.a.createElement("span",{className:"rv-legend-titles__left"},t),Y.a.createElement("span",{className:"rv-legend-titles__right"},n)))}Qy.displayName="ContinuousSizeLegend",Qy.propTypes=Xy,Qy.defaultProps={circlesTotal:10,className:"",endSize:20,startSize:2};var Ky=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Zy={dashed:"6, 2",solid:null};function Jy(e){var t=e.color,n=e.strokeDasharray,r=e.strokeStyle,o=e.strokeWidth,i=e.disabled,a=e.onClick,u=e.orientation,l=e.onMouseEnter,c=e.onMouseLeave,s=e.title,f="rv-discrete-color-legend-item "+u;i&&(f+=" disabled"),a&&(f+=" clickable");var p=Zy[r]||n;return Y.a.createElement("div",{className:f,onClick:a,onMouseEnter:l,onMouseLeave:c},Y.a.createElement("svg",{className:"rv-discrete-color-legend-item__color",height:2,width:14},Y.a.createElement("path",{className:"rv-discrete-color-legend-item__color__path",d:"M 0, 1 L 14, 1",style:Ky({},o?{strokeWidth:o}:{},p?{strokeDasharray:p}:{},{stroke:i?null:t})})),Y.a.createElement("span",{className:"rv-discrete-color-legend-item__title"},s))}Jy.propTypes={color:i.a.string.isRequired,disabled:i.a.bool,title:i.a.oneOfType([i.a.string,i.a.element]).isRequired,onClick:i.a.func,onMouseEnter:i.a.func,onMouseLeave:i.a.func,orientation:i.a.oneOf(["vertical","horizontal"]).isRequired,strokeDasharray:i.a.string,strokeWidth:i.a.number,strokeStyle:i.a.oneOf(Object.keys(Zy))},Jy.defaultProps={disabled:!1,strokeStyle:"solid"},Jy.displayName="DiscreteColorLegendItem";var em=Jy,tm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function nm(e){var t=e.className,n=e.colors,r=e.height,o=e.items,i=e.onItemClick,a=e.onItemMouseEnter,u=e.onItemMouseLeave,l=e.orientation,c=e.style,s=e.width;return Y.a.createElement("div",{className:"rv-discrete-color-legend "+l+" "+t,style:tm({width:s,height:r},c)},o.map((function(e,t){return Y.a.createElement(em,{title:e.title?e.title:e,color:e.color?e.color:n[t%n.length],strokeDasharray:e.strokeDasharray,strokeStyle:e.strokeStyle,strokeWidth:e.strokeWidth,disabled:Boolean(e.disabled),orientation:l,key:t,onClick:i?function(n){return i(e,t,n)}:null,onMouseEnter:a?function(n){return a(e,t,n)}:null,onMouseLeave:a?function(n){return u(e,t,n)}:null})})))}nm.displayName="DiscreteColorLegendItem",nm.propTypes={className:i.a.string,items:i.a.arrayOf(i.a.oneOfType([i.a.shape({title:i.a.oneOfType([i.a.string,i.a.element]).isRequired,color:i.a.string,disabled:i.a.bool}),i.a.string.isRequired,i.a.element])).isRequired,onItemClick:i.a.func,onItemMouseEnter:i.a.func,onItemMouseLeave:i.a.func,height:i.a.number,width:i.a.number,orientation:i.a.oneOf(["vertical","horizontal"])},nm.defaultProps={className:"",colors:ki,orientation:"vertical"};var rm=nm,om=(Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e})({},rm.propTypes,{searchText:i.a.string,onSearchChange:i.a.func,searchPlaceholder:i.a.string,searchFn:i.a.func}),im={className:"",searchText:"",searchFn:function(e,t){return e.filter((function(e){return-1!==String(e.title||e).toLowerCase().indexOf(t)}))}};function am(e){var t=e.className,n=e.colors,r=e.height,o=e.items,i=e.onItemClick,a=e.onSearchChange,u=e.orientation,l=e.searchFn,c=e.searchPlaceholder,s=e.searchText,f=e.width,p=a?function(e){var t=e.target.value;return a(t)}:null,h=l(o,s);return Y.a.createElement("div",{className:"rv-search-wrapper "+t,style:{width:f,height:r}},Y.a.createElement("form",{className:"rv-search-wrapper__form"},Y.a.createElement("input",{type:"search",placeholder:c,className:"rv-search-wrapper__form__input",value:s,onChange:p})),Y.a.createElement("div",{className:"rv-search-wrapper__contents"},Y.a.createElement(rm,{colors:n,items:h,onItemClick:i,orientation:u})))}am.propTypes=om,am.defaultProps=im,am.displayName="SearchableDiscreteColorLegend";var um=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),lm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function cm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sm(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var fm=Us(".2r");function pm(e){var t=e.domains,n=e.style;return t.map((function(e,t){return{x:e.name,y:1.1,label:e.name,style:n}}))}var hm=function(e){function t(){var e,n,r;cm(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=sm(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={brushFilters:{}},sm(r,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),um(t,[{key:"render",value:function(){var e=this,t=this.state.brushFilters,n=this.props,r=n.animation,o=n.brushing,i=n.className,a=n.children,u=n.colorRange,l=n.data,c=n.domains,s=n.height,f=n.hideInnerMostValues,p=n.margin,h=n.onMouseLeave,d=n.onMouseEnter,y=n.showMarks,m=n.style,g=n.tickFormat,v=n.width,b=function(e){var t=e.animation,n=e.domains,r=e.style,o=e.tickFormat;return n.map((function(e,n){var i=e.domain;return Y.a.createElement(nf,{animation:t,key:n+"-axis",axisStart:{x:e.name,y:0},axisEnd:{x:e.name,y:1},axisDomain:i,numberOfTicks:5,tickValue:function(t){return e.tickFormat?e.tickFormat(t):o(t)},style:r.axes})}))}({domains:c,animation:r,hideInnerMostValues:f,style:m,tickFormat:g}),_=function(e){var t=e.animation,n=e.brushFilters,r=e.colorRange,o=e.domains,i=e.data,a=e.style,u=e.showMarks,l=o.reduce((function(e,t){var n=t.domain;return e[t.name]=en().domain(n).range([0,1]),e}),{});return i.map((function(e,i){var c=!0,s=o.map((function(t,r){var o=t.getValue,i=t.name,a=l[i](o?o(e):e[i]),u=n[i];return u&&(a<u.min||a>u.max)&&(c=!1),{x:i,y:a}})),f={animation:t,className:c?"rv-parallel-coordinates-chart-line":"rv-parallel-coordinates-chart-line rv-parallel-coordinates-chart-line-unselected",key:i+"-polygon",data:s,color:e.color||r[i%r.length],style:lm({},a.lines,e.style||{})};return c||(f.style=lm({},f.style,a.deselectedLineStyle)),u?Y.a.createElement(gh,f):Y.a.createElement(oh,f)}))}({animation:r,brushFilters:t,colorRange:u,domains:c,data:l,showMarks:y,style:m}),x=Y.a.createElement(Kp,{animation:!0,key:i,className:"rv-parallel-coordinates-chart-label",data:pm({domains:c,style:m.labels})}),w=Ed(this.props,Md),k=w.marginLeft,T=w.marginRight;return Y.a.createElement(Bd,{height:s,width:v,margin:p,dontCheckIfEmpty:!0,className:i+" rv-parallel-coordinates-chart",onMouseLeave:h,onMouseEnter:d,xType:"ordinal",yDomain:[0,1]},a,b.concat(_).concat(x),o&&c.map((function(n){var r=function(r){var o,i,a;e.setState({brushFilters:lm({},t,(o={},i=n.name,a=r?{min:r.bottom,max:r.top}:null,i in o?Object.defineProperty(o,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[i]=a,o))})};return Y.a.createElement(If,{key:n.name,drag:!0,highlightX:n.name,onBrushEnd:r,onDragEnd:r,highlightWidth:(v-k-T)/c.length,enableX:!1})})))}}]),t}(W.Component);hm.displayName="ParallelCoordinates",hm.propTypes={animation:Ge,brushing:i.a.bool,className:i.a.string,colorType:i.a.string,colorRange:i.a.arrayOf(i.a.string),data:i.a.arrayOf(i.a.object).isRequired,domains:i.a.arrayOf(i.a.shape({name:i.a.string.isRequired,domain:i.a.arrayOf(i.a.number).isRequired,tickFormat:i.a.func})).isRequired,height:i.a.number.isRequired,margin:Pd,style:i.a.shape({axes:i.a.object,labels:i.a.object,lines:i.a.object}),showMarks:i.a.bool,tickFormat:i.a.func,width:i.a.number.isRequired},hm.defaultProps={className:"",colorType:"category",colorRange:ki,style:{axes:{line:{},ticks:{},text:{}},labels:{fontSize:10,textAnchor:"middle"},lines:{strokeWidth:1,strokeOpacity:1},deselectedLineStyle:{strokeOpacity:.1}},tickFormat:fm};var dm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ym=Us(".2r");function mm(e){return Math.abs(e)<=1e-12?e=0:e>0?Math.abs(e-.5)<=1e-12&&(e=.5):e<0&&Math.abs(e+.5)<=1e-12&&(e=-.5),e}function gm(e){var t=e.domains,n=e.startingAngle,r=e.style;return t.map((function(e,o){var i=e.name,a=o/t.length*Math.PI*2+n;return{x:1.2*Math.cos(a),y:1.2*Math.sin(a),label:i,style:r}}))}function vm(e){var t=e.animation,n=e.className,r=e.children,o=e.colorRange,i=e.data,a=e.domains,u=e.height,l=e.hideInnerMostValues,c=e.margin,s=e.onMouseLeave,f=e.onMouseEnter,p=e.startingAngle,h=e.style,d=e.tickFormat,y=e.width,m=e.renderAxesOverPolygons,g=e.onValueMouseOver,v=e.onValueMouseOut,b=e.onSeriesMouseOver,_=e.onSeriesMouseOut,x=function(e){var t=e.animation,n=e.domains,r=e.startingAngle,o=e.style,i=e.tickFormat,a=e.hideInnerMostValues;return n.map((function(e,u){var l=u/n.length*Math.PI*2+r,c=e.domain;return Y.a.createElement(nf,{animation:t,key:u+"-axis",axisStart:{x:0,y:0},axisEnd:{x:mm(Math.cos(l)),y:mm(Math.sin(l))},axisDomain:c,numberOfTicks:5,tickValue:function(t){return a&&t===c[0]?"":e.tickFormat?e.tickFormat(t):i(t)},style:o.axes})}))}({domains:a,animation:t,hideInnerMostValues:l,startingAngle:p,style:h,tickFormat:d}),w=function(e){var t=e.animation,n=e.colorRange,r=e.domains,o=e.data,i=e.style,a=e.startingAngle,u=e.onSeriesMouseOver,l=e.onSeriesMouseOut,c=r.reduce((function(e,t){var n=t.domain;return e[t.name]=en().domain(n).range([0,1]),e}),{});return o.map((function(e,o){var s=r.map((function(t,n){var o=t.name,i=t.getValue,u=i?i(e):e[o],l=n/r.length*Math.PI*2+a,s=Math.max(c[o](u),0);return{x:s*Math.cos(l),y:s*Math.sin(l),name:e.name}}));return Y.a.createElement(Vh,{animation:t,className:"rv-radar-chart-polygon",key:o+"-polygon",data:s,style:dm({stroke:e.color||e.stroke||n[o%n.length],fill:e.color||e.fill||n[o%n.length]},i.polygons),onSeriesMouseOver:u,onSeriesMouseOut:l})}))}({animation:t,colorRange:o,domains:a,data:i,startingAngle:p,style:h,onSeriesMouseOver:b,onSeriesMouseOut:_}),k=function(e){var t=e.animation,n=e.domains,r=e.data,o=e.startingAngle,i=e.style,a=e.onValueMouseOver,u=e.onValueMouseOut;if(a){var l=n.reduce((function(e,t){var n=t.domain;return e[t.name]=en().domain(n).range([0,1]),e}),{});return r.map((function(e,r){var c=n.map((function(t,r){var i=t.name,a=t.getValue,u=a?a(e):e[i],c=r/n.length*Math.PI*2+o,s=Math.max(l[i](u),0);return{x:s*Math.cos(c),y:s*Math.sin(c),domain:i,value:u,dataName:e.name}}));return Y.a.createElement(sh,{animation:t,className:"rv-radar-chart-polygonPoint",key:r+"-polygonPoint",data:c,size:10,style:dm({},i.polygons,{fill:"transparent",stroke:"transparent"}),onValueMouseOver:a,onValueMouseOut:u})}))}}({animation:t,colorRange:o,domains:a,data:i,startingAngle:p,style:h,onValueMouseOver:g,onValueMouseOut:v}),T=Y.a.createElement(Kp,{animation:t,key:n,className:"rv-radar-chart-label",data:gm({domains:a,style:h.labels,startingAngle:p})});return Y.a.createElement(Bd,{height:u,width:y,margin:c,dontCheckIfEmpty:!0,className:n+" rv-radar-chart",onMouseLeave:s,onMouseEnter:f,xDomain:[-1,1],yDomain:[-1,1]},r,!m&&x.concat(w).concat(T).concat(k),m&&w.concat(T).concat(x).concat(k))}vm.displayName="RadarChart",vm.propTypes={animation:Ge,className:i.a.string,colorType:i.a.string,colorRange:i.a.arrayOf(i.a.string),data:i.a.arrayOf(i.a.object).isRequired,domains:i.a.arrayOf(i.a.shape({name:i.a.string.isRequired,domain:i.a.arrayOf(i.a.number).isRequired,tickFormat:i.a.func})).isRequired,height:i.a.number.isRequired,hideInnerMostValues:i.a.bool,margin:Pd,startingAngle:i.a.number,style:i.a.shape({axes:i.a.object,labels:i.a.object,polygons:i.a.object}),tickFormat:i.a.func,width:i.a.number.isRequired,renderAxesOverPolygons:i.a.bool,onValueMouseOver:i.a.func,onValueMouseOut:i.a.func,onSeriesMouseOver:i.a.func,onSeriesMouseOut:i.a.func},vm.defaultProps={className:"",colorType:"category",colorRange:ki,hideInnerMostValues:!0,startingAngle:Math.PI/2,style:{axes:{line:{},ticks:{},text:{}},labels:{fontSize:10,textAnchor:"middle"},polygons:{strokeWidth:.5,strokeOpacity:1,fillOpacity:.1}},tickFormat:ym,renderAxesOverPolygons:!1};var bm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function _m(e){var t=e.animation,n=e.className,r=e.children,o=e.colorType,i=e.data,a=e.getAngle,u=e.getLabel,l=e.getSubLabel,c=e.height,s=e.hideRootNode,f=e.innerRadius,p=e.labelsAboveChildren,h=e.labelsRadiusMultiplier,d=e.labelsStyle,y=e.margin,m=e.onMouseLeave,g=e.onMouseEnter,v=e.radius,b=e.showLabels,_=e.style,x=e.width,w=function(e){var t=e.data,n=e.getAngle;return Oa().sort(null).value(n)(t).reverse().map((function(e,t){return bm({},e.data,{angle0:e.startAngle,angle:e.endAngle,radius0:e.data.innerRadius||0,radius:e.data.radius||1,color:e.data.color||t})}))}({data:i,height:c,hideRootNode:s,width:x,getAngle:a}),k=Ri(w),T=bm({colorType:o},e,{animation:t,radiusDomain:[0,k],data:w,radiusNoFallBack:!0,style:_,arcClassName:"rv-radial-chart__series--pie__slice"});v&&(T.radiusDomain=[0,1],T.radiusRange=[f||0,v],T.radiusType="linear");var O=Sd(x,c,v||function(e,t){return Math.min(e,t)/2-15}(x,c)),E=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1.1,r=t.getLabel,o=t.getSubLabel;return e.reduce((function(e,t){var i=t.angle,a=t.angle0,u=t.radius,l=-1*((i+a)/2)+Math.PI/2,c=[];return r(t)&&c.push({angle:l,radius:u*n,label:r(t)}),o(t)&&c.push({angle:l,radius:u*n,label:o(t),style:{fontSize:10},yOffset:12}),e.concat(c)}),[])}(w,{getLabel:u,getSubLabel:l},h);return Y.a.createElement(Bd,{height:c,width:x,margin:bm({},y,O),className:n+" rv-radial-chart",onMouseLeave:m,onMouseEnter:g,xDomain:[-k,k],yDomain:[-k,k]},Y.a.createElement(ma,bm({},T,{getAngle:function(e){return e.angle}})),b&&!p&&Y.a.createElement(Kp,{data:E,style:d}),r,b&&p&&Y.a.createElement(Kp,{data:E,style:d}))}_m.displayName="RadialChart",_m.propTypes={animation:Ge,className:i.a.string,colorType:i.a.string,data:i.a.arrayOf(i.a.shape({angle:i.a.number,className:i.a.string,label:i.a.string,radius:i.a.number,style:i.a.object})).isRequired,getAngle:i.a.func,getAngle0:i.a.func,padAngle:i.a.oneOfType([i.a.func,i.a.number]),getRadius:i.a.func,getRadius0:i.a.func,getLabel:i.a.func,height:i.a.number.isRequired,labelsAboveChildren:i.a.bool,labelsStyle:i.a.object,margin:Pd,onValueClick:i.a.func,onValueMouseOver:i.a.func,onValueMouseOut:i.a.func,showLabels:i.a.bool,style:i.a.object,subLabel:i.a.func,width:i.a.number.isRequired},_m.defaultProps={className:"",colorType:"category",colorRange:ki,padAngle:0,getAngle:function(e){return e.angle},getAngle0:function(e){return e.angle0},getRadius:function(e){return e.radius},getRadius0:function(e){return e.radius0},getLabel:function(e){return e.label},getSubLabel:function(e){return e.subLabel}};function xm(e){return e.target.depth}function wm(e,t){return e.sourceLinks.length?e.depth:t-1}function km(e){return function(){return e}}function Tm(e,t){return Em(e.source,t.source)||e.index-t.index}function Om(e,t){return Em(e.target,t.target)||e.index-t.index}function Em(e,t){return e.y0-t.y0}function Sm(e){return e.value}function Pm(e){return(e.y0+e.y1)/2}function Mm(e){return Pm(e.source)*e.value}function Cm(e){return Pm(e.target)*e.value}function Am(e){return e.index}function Nm(e){return e.nodes}function jm(e){return e.links}function Rm(e,t){var n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function Lm(e){return[e.source.x1,e.y0]}function Dm(e){return[e.target.x0,e.y1]}var Fm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Im=ki[1];function zm(e){var t=e.animation,n=e.data,r=e.node,o=e.opacity,i=e.color,a=e.strokeWidth,u=e.style,l=e.onLinkClick,c=e.onLinkMouseOver,s=e.onLinkMouseOut;return t?Y.a.createElement($e,Fm({},e,{animatedProps:Li}),Y.a.createElement(zm,Fm({},e,{animation:null}))):Y.a.createElement("path",Fm({d:n},u,{className:"rv-sankey__link",opacity:Number.isFinite(o)?o:.7,stroke:i||Im,onClick:function(e){return l(r,e)},onMouseOver:function(e){return c(r,e)},onMouseOut:function(e){return s(r,e)},strokeWidth:a,fill:"none"}))}zm.displayName="SankeyLink",zm.requiresSVG=!0;var Um=zm,Vm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Hm(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var Bm=function(e){return e},qm={justify:wm,center:function(e){return e.targetLinks.length?e.depth:e.sourceLinks.length?st(e.sourceLinks,xm)-1:0},left:function(e){return e.depth},right:function(e,t){return t-1-e.height}},Wm={top:20,left:20,right:20,bottom:20};function Ym(e){var t=e.align,n=e.animation,r=e.children,o=e.className,i=e.hasVoronoi,a=e.height,u=e.hideLabels,l=e.labelRotation,c=e.layout,s=e.links,f=e.linkOpacity,p=e.margin,h=e.nodePadding,d=e.nodes,y=e.nodeWidth,m=e.onValueClick,g=e.onValueMouseOver,v=e.onValueMouseOut,b=e.onLinkClick,_=e.onLinkMouseOver,x=e.onLinkMouseOut,w=e.style,k=e.width,T=[].concat(Hm(new Array(d.length))).map((function(e,t){return Vm({},d[t])})),O=[].concat(Hm(new Array(s.length))).map((function(e,t){return Vm({},s[t])})),E=Ed({margin:p,height:a,width:k},Wm),S=E.marginLeft,P=E.marginTop,M=E.marginRight,C=E.marginBottom,A=function(){var e=0,t=0,n=1,r=1,o=24,i=8,a=Am,u=wm,l=Nm,c=jm,s=32;function f(){var e={nodes:l.apply(null,arguments),links:c.apply(null,arguments)};return p(e),h(e),d(e),y(e),m(e),e}function p(e){e.nodes.forEach((function(e,t){e.index=t,e.sourceLinks=[],e.targetLinks=[]}));var t=dt(e.nodes,a);e.links.forEach((function(e,n){e.index=n;var r=e.source,o=e.target;"object"!==typeof r&&(r=e.source=Rm(t,r)),"object"!==typeof o&&(o=e.target=Rm(t,o)),r.sourceLinks.push(e),o.targetLinks.push(e)}))}function h(e){e.nodes.forEach((function(e){e.value=Math.max(ft(e.sourceLinks,Sm),ft(e.targetLinks,Sm))}))}function d(t){var r,i,a;for(r=t.nodes,i=[],a=0;r.length;++a,r=i,i=[])r.forEach((function(e){e.depth=a,e.sourceLinks.forEach((function(e){i.indexOf(e.target)<0&&i.push(e.target)}))}));for(r=t.nodes,i=[],a=0;r.length;++a,r=i,i=[])r.forEach((function(e){e.height=a,e.targetLinks.forEach((function(e){i.indexOf(e.source)<0&&i.push(e.source)}))}));var l=(n-e-o)/(a-1);t.nodes.forEach((function(t){t.x1=(t.x0=e+Math.max(0,Math.min(a-1,Math.floor(u.call(null,t,a))))*l)+o}))}function y(e){var n=yt().key((function(e){return e.x0})).sortKeys(Xe).entries(e.nodes).map((function(e){return e.values}));!function(){var o=st(n,(function(e){return(r-t-(e.length-1)*i)/ft(e,Sm)}));n.forEach((function(e){e.forEach((function(e,t){e.y1=(e.y0=t)+e.value*o}))})),e.links.forEach((function(e){e.width=e.value*o}))}(),c();for(var o=1,a=s;a>0;--a)l(o*=.99),c(),u(o),c();function u(e){n.forEach((function(t){t.forEach((function(t){if(t.targetLinks.length){var n=(ft(t.targetLinks,Mm)/ft(t.targetLinks,Sm)-Pm(t))*e;t.y0+=n,t.y1+=n}}))}))}function l(e){n.slice().reverse().forEach((function(t){t.forEach((function(t){if(t.sourceLinks.length){var n=(ft(t.sourceLinks,Cm)/ft(t.sourceLinks,Sm)-Pm(t))*e;t.y0+=n,t.y1+=n}}))}))}function c(){n.forEach((function(e){var n,o,a,u=t,l=e.length;for(e.sort(Em),a=0;a<l;++a)(o=u-(n=e[a]).y0)>0&&(n.y0+=o,n.y1+=o),u=n.y1+i;if((o=u-i-r)>0)for(u=n.y0-=o,n.y1-=o,a=l-2;a>=0;--a)(o=(n=e[a]).y1+i-u)>0&&(n.y0-=o,n.y1-=o),u=n.y0}))}}function m(e){e.nodes.forEach((function(e){e.sourceLinks.sort(Om),e.targetLinks.sort(Tm)})),e.nodes.forEach((function(e){var t=e.y0,n=t;e.sourceLinks.forEach((function(e){e.y0=t+e.width/2,t+=e.width})),e.targetLinks.forEach((function(e){e.y1=n+e.width/2,n+=e.width}))}))}return f.update=function(e){return m(e),e},f.nodeId=function(e){return arguments.length?(a="function"===typeof e?e:km(e),f):a},f.nodeAlign=function(e){return arguments.length?(u="function"===typeof e?e:km(e),f):u},f.nodeWidth=function(e){return arguments.length?(o=+e,f):o},f.nodePadding=function(e){return arguments.length?(i=+e,f):i},f.nodes=function(e){return arguments.length?(l="function"===typeof e?e:km(e),f):l},f.links=function(e){return arguments.length?(c="function"===typeof e?e:km(e),f):c},f.size=function(o){return arguments.length?(e=t=0,n=+o[0],r=+o[1],f):[n-e,r-t]},f.extent=function(o){return arguments.length?(e=+o[0][0],n=+o[1][0],t=+o[0][1],r=+o[1][1],f):[[e,t],[n,r]]},f.iterations=function(e){return arguments.length?(s=+e,f):s},f}().extent([[S,P],[k-M,a-C-P]]).nodeWidth(y).nodePadding(h).nodes(T).links(O).nodeAlign(qm[t]).iterations(c);A(T);var N=A.nodeWidth(),j=Ua().source(Lm).target(Dm);return Y.a.createElement(Bd,Vm({},e,{yType:"literal",className:"rv-sankey "+o}),O.map((function(e,t){return Y.a.createElement(Um,{style:w.links,data:j(e),opacity:e.opacity||f,color:e.color,onLinkClick:b,onLinkMouseOver:_,onLinkMouseOut:x,strokeWidth:Math.max(e.width,1),node:e,nWidth:N,key:"link-"+t})})),Y.a.createElement(ld,{animation:n,className:o+" rv-sankey__node",data:T.map((function(e){return Vm({},e,{y:e.y1-P,y0:e.y0-P,x:e.x1,x0:e.x0,color:e.color||ki[0],sourceLinks:null,targetLinks:null})})),style:w.rects,onValueClick:m,onValueMouseOver:g,onValueMouseOut:v,colorType:"literal"}),!u&&Y.a.createElement(Kp,{animation:n,className:o,rotation:l,labelAnchorY:"text-before-edge",data:T.map((function(e,t){return Vm({x:e.x0+(e.x0<k/2?N+10:-10),y:(e.y0+e.y1)/2-P,label:e.name,style:Vm({textAnchor:e.x0<k/2?"start":"end",dy:"-.5em"},w.labels)},d[t])}))}),i&&Y.a.createElement(gd,{className:"rv-sankey__voronoi",extent:[[-S,-P],[k+M,a+C]],nodes:T,onClick:m,onHover:g,onBlur:v,x:function(e){return e.x0+(e.x1-e.x0)/2},y:function(e){return e.y0+(e.y1-e.y0)/2}}),r)}Ym.defaultProps={align:"justify",className:"",hasVoronoi:!1,hideLabels:!1,labelRotation:0,layout:50,margin:Wm,nodePadding:10,nodeWidth:10,onValueMouseOver:Bm,onValueClick:Bm,onValueMouseOut:Bm,onLinkClick:Bm,onLinkMouseOver:Bm,onLinkMouseOut:Bm,style:{links:{},rects:{},labels:{}}},Ym.propTypes={align:i.a.oneOf(["justify","left","right","center"]),className:i.a.string,hasVoronoi:i.a.bool,height:i.a.number.isRequired,hideLabels:i.a.bool,labelRotation:i.a.number,layout:i.a.number,links:i.a.arrayOf(i.a.shape({source:i.a.oneOfType([i.a.number,i.a.object]).isRequired,target:i.a.oneOfType([i.a.number,i.a.object]).isRequired})).isRequired,margin:Pd,nodePadding:i.a.number,nodes:i.a.arrayOf(i.a.object).isRequired,nodeWidth:i.a.number,onValueMouseOver:i.a.func,onValueClick:i.a.func,onValueMouseOut:i.a.func,onLinkClick:i.a.func,onLinkMouseOver:i.a.func,onLinkMouseOut:i.a.func,style:i.a.shape({links:i.a.object,rects:i.a.object,labels:i.a.object}),width:i.a.number.isRequired};var $m=function(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)},Gm=function(e,t,n,r,o){for(var i,a=e.children,u=-1,l=a.length,c=e.value&&(r-t)/e.value;++u<l;)(i=a[u]).y0=n,i.y1=o,i.x0=t,i.x1=t+=i.value*c},Xm=function(){var e=1,t=1,n=0,r=!1;function o(o){var i=o.height+1;return o.x0=o.y0=n,o.x1=e,o.y1=t/i,o.eachBefore(function(e,t){return function(r){r.children&&Gm(r,r.x0,e*(r.depth+1)/t,r.x1,e*(r.depth+2)/t);var o=r.x0,i=r.y0,a=r.x1-n,u=r.y1-n;a<o&&(o=a=(o+a)/2),u<i&&(i=u=(i+u)/2),r.x0=o,r.y0=i,r.x1=a,r.y1=u}}(t,i)),r&&o.eachBefore($m),o}return o.round=function(e){return arguments.length?(r=!!e,o):r},o.size=function(n){return arguments.length?(e=+n[0],t=+n[1],o):[e,t]},o.padding=function(e){return arguments.length?(n=+e,o):n},o};function Qm(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function Km(e,t){var n,r,o,i,a,u=new tg(e),l=+e.value&&(u.value=e.value),c=[u];for(null==t&&(t=Zm);n=c.pop();)if(l&&(n.value=+n.data.value),(o=t(n.data))&&(a=o.length))for(n.children=new Array(a),i=a-1;i>=0;--i)c.push(r=n.children[i]=new tg(o[i])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(eg)}function Zm(e){return e.children}function Jm(e){e.data=e.data.data}function eg(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function tg(e){this.data=e,this.depth=this.height=0,this.parent=null}tg.prototype=Km.prototype={constructor:tg,count:function(){return this.eachAfter(Qm)},each:function(e){var t,n,r,o,i=this,a=[i];do{for(t=a.reverse(),a=[];i=t.pop();)if(e(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(e){for(var t,n,r,o=this,i=[o],a=[];o=i.pop();)if(a.push(o),t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n]);for(;o=a.pop();)e(o);return this},eachBefore:function(e){for(var t,n,r=this,o=[r];r=o.pop();)if(e(r),t=r.children)for(n=t.length-1;n>=0;--n)o.push(t[n]);return this},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;e=n.pop(),t=r.pop();for(;e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each((function(t){e.push(t)})),e},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return Km(this).eachBefore(Jm)}};var ng=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rg=["onValueMouseOver","onValueMouseOut","onValueClick","onValueRightClick","onSeriesMouseOver","onSeriesMouseOut","onSeriesClick","onSeriesRightClick"];var og=function(){};function ig(e){var t=e.getAngle,n=e.getAngle0,r=e.animation,o=e.className,i=e.children,a=e.data,u=e.height,l=e.hideRootNode,c=e.getLabel,s=e.width,f=e.getSize,p=e.colorType,h=function(e){var t=e.data,n=e.height,r=e.hideRootNode,o=e.width,i=e.getSize,a=Xm(),u=Km(t).sum(i),l=Math.min(o,n)/2-10,c=en().range([0,2*Math.PI]),s=sn().range([0,l]);return a(u).descendants().reduce((function(e,t,n){return r&&0===n?e:e.concat([ng({angle0:Math.max(0,Math.min(2*Math.PI,c(t.x0))),angle:Math.max(0,Math.min(2*Math.PI,c(t.x1))),radius0:Math.max(0,s(t.y0)),radius:Math.max(0,s(t.y1)),depth:t.depth,parent:t.parent},t.data)])}),[])}({data:a,height:u,hideRootNode:l,width:s,getSize:f}),d=Ri(h),y=Sd(s,u,d),m=function(e,t){var n=t.getAngle,r=t.getAngle0,o=t.getLabel,i=t.getRadius0;return e.filter(o).map((function(e){var t=-1*n(e)+Math.PI/2,o=(-1*r(e)+Math.PI/2+t)/2,a=!e.dontRotateLabel,u=-o/(2*Math.PI)*360;return ng({},e,{children:null,angle:null,radius:null,x:i(e)*Math.cos(o),y:i(e)*Math.sin(o),style:ng({textAnchor:u>90?"end":"start"},e.labelStyle),rotation:a?u>90?u+180:90===u?90:u:null})}))}(h,{getAngle:t,getAngle0:n,getLabel:c,getRadius0:function(e){return e.radius0}});return Y.a.createElement(Bd,{height:u,hasTreeStructure:!0,width:s,className:"rv-sunburst "+o,margin:y,xDomain:[-d,d],yDomain:[-d,d]},Y.a.createElement(ma,ng({colorType:p},e,{animation:r,radiusDomain:[0,d],data:r?h.map((function(e,t){return ng({},e,{parent:null,children:null,index:t})})):h,_data:r?h:null,arcClassName:"rv-sunburst__series--radial__arc"},rg.reduce((function(t,n){var o,i=e[n];return t[n]=r?(o=i,function(e,t){return o?o(h[e.index],t):og}):i,t}),{}))),m.length>0&&Y.a.createElement(Kp,{data:m,getLabel:c}),i)}ig.displayName="Sunburst",ig.propTypes={animation:Ge,getAngle:i.a.func,getAngle0:i.a.func,className:i.a.string,colorType:i.a.string,data:i.a.object.isRequired,height:i.a.number.isRequired,hideRootNode:i.a.bool,getLabel:i.a.func,onValueClick:i.a.func,onValueMouseOver:i.a.func,onValueMouseOut:i.a.func,getSize:i.a.func,width:i.a.number.isRequired,padAngle:i.a.oneOfType([i.a.func,i.a.number])},ig.defaultProps={getAngle:function(e){return e.angle},getAngle0:function(e){return e.angle0},className:"",colorType:"literal",getColor:function(e){return e.color},hideRootNode:!1,getLabel:function(e){return e.label},getSize:function(e){return e.size},padAngle:0};var ag=function(e,t,n,r,o){for(var i,a=e.children,u=-1,l=a.length,c=e.value&&(o-n)/e.value;++u<l;)(i=a[u]).x0=t,i.x1=r,i.y0=n,i.y1=n+=i.value*c},ug=(1+Math.sqrt(5))/2;function lg(e,t,n,r,o,i){for(var a,u,l,c,s,f,p,h,d,y,m,g=[],v=t.children,b=0,_=0,x=v.length,w=t.value;b<x;){l=o-n,c=i-r;do{s=v[_++].value}while(!s&&_<x);for(f=p=s,m=s*s*(y=Math.max(c/l,l/c)/(w*e)),d=Math.max(p/m,m/f);_<x;++_){if(s+=u=v[_].value,u<f&&(f=u),u>p&&(p=u),m=s*s*y,(h=Math.max(p/m,m/f))>d){s-=u;break}d=h}g.push(a={value:s,dice:l<c,children:v.slice(b,_)}),a.dice?Gm(a,n,r,o,w?r+=c*s/w:i):ag(a,n,r,w?n+=l*s/w:o,i),w-=s,b=_}return g}var cg=function e(t){function n(e,n,r,o,i){lg(t,e,n,r,o,i)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(ug),sg=function e(t){function n(e,n,r,o,i){if((a=e._squarify)&&a.ratio===t)for(var a,u,l,c,s,f=-1,p=a.length,h=e.value;++f<p;){for(l=(u=a[f]).children,c=u.value=0,s=l.length;c<s;++c)u.value+=l[c].value;u.dice?Gm(u,n,r,o,r+=(i-r)*u.value/h):ag(u,n,r,n+=(o-n)*u.value/h,i),h-=u.value}else e._squarify=a=lg(t,e,n,r,o,i),a.ratio=t}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(ug),fg=Array.prototype.slice;var pg=function(e){for(var t,n,r=0,o=(e=function(e){for(var t,n,r=e.length;r;)n=Math.random()*r--|0,t=e[r],e[r]=e[n],e[n]=t;return e}(fg.call(e))).length,i=[];r<o;)t=e[r],n&&yg(n,t)?++r:(n=gg(i=hg(i,t)),r=0);return n};function hg(e,t){var n,r;if(mg(t,e))return[t];for(n=0;n<e.length;++n)if(dg(t,e[n])&&mg(vg(e[n],t),e))return[e[n],t];for(n=0;n<e.length-1;++n)for(r=n+1;r<e.length;++r)if(dg(vg(e[n],e[r]),t)&&dg(vg(e[n],t),e[r])&&dg(vg(e[r],t),e[n])&&mg(bg(e[n],e[r],t),e))return[e[n],e[r],t];throw new Error}function dg(e,t){var n=e.r-t.r,r=t.x-e.x,o=t.y-e.y;return n<0||n*n<r*r+o*o}function yg(e,t){var n=e.r-t.r+1e-6,r=t.x-e.x,o=t.y-e.y;return n>0&&n*n>r*r+o*o}function mg(e,t){for(var n=0;n<t.length;++n)if(!yg(e,t[n]))return!1;return!0}function gg(e){switch(e.length){case 1:return{x:(t=e[0]).x,y:t.y,r:t.r};case 2:return vg(e[0],e[1]);case 3:return bg(e[0],e[1],e[2])}var t}function vg(e,t){var n=e.x,r=e.y,o=e.r,i=t.x,a=t.y,u=t.r,l=i-n,c=a-r,s=u-o,f=Math.sqrt(l*l+c*c);return{x:(n+i+l/f*s)/2,y:(r+a+c/f*s)/2,r:(f+o+u)/2}}function bg(e,t,n){var r=e.x,o=e.y,i=e.r,a=t.x,u=t.y,l=t.r,c=n.x,s=n.y,f=n.r,p=r-a,h=r-c,d=o-u,y=o-s,m=l-i,g=f-i,v=r*r+o*o-i*i,b=v-a*a-u*u+l*l,_=v-c*c-s*s+f*f,x=h*d-p*y,w=(d*_-y*b)/(2*x)-r,k=(y*m-d*g)/x,T=(h*b-p*_)/(2*x)-o,O=(p*g-h*m)/x,E=k*k+O*O-1,S=2*(i+w*k+T*O),P=w*w+T*T-i*i,M=-(E?(S+Math.sqrt(S*S-4*E*P))/(2*E):P/S);return{x:r+w+k*M,y:o+T+O*M,r:M}}function _g(e,t,n){var r,o,i,a,u=e.x-t.x,l=e.y-t.y,c=u*u+l*l;c?(o=t.r+n.r,o*=o,a=e.r+n.r,o>(a*=a)?(r=(c+a-o)/(2*c),i=Math.sqrt(Math.max(0,a/c-r*r)),n.x=e.x-r*u-i*l,n.y=e.y-r*l+i*u):(r=(c+o-a)/(2*c),i=Math.sqrt(Math.max(0,o/c-r*r)),n.x=t.x+r*u-i*l,n.y=t.y+r*l+i*u)):(n.x=t.x+n.r,n.y=t.y)}function xg(e,t){var n=e.r+t.r-1e-6,r=t.x-e.x,o=t.y-e.y;return n>0&&n*n>r*r+o*o}function wg(e){var t=e._,n=e.next._,r=t.r+n.r,o=(t.x*n.r+n.x*t.r)/r,i=(t.y*n.r+n.y*t.r)/r;return o*o+i*i}function kg(e){this._=e,this.next=null,this.previous=null}function Tg(e){if(!(o=e.length))return 0;var t,n,r,o,i,a,u,l,c,s,f;if((t=e[0]).x=0,t.y=0,!(o>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(o>2))return t.r+n.r;_g(n,t,r=e[2]),t=new kg(t),n=new kg(n),r=new kg(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(u=3;u<o;++u){_g(t._,n._,r=e[u]),r=new kg(r),l=n.next,c=t.previous,s=n._.r,f=t._.r;do{if(s<=f){if(xg(l._,r._)){n=l,t.next=n,n.previous=t,--u;continue e}s+=l._.r,l=l.next}else{if(xg(c._,r._)){(t=c).next=n,n.previous=t,--u;continue e}f+=c._.r,c=c.previous}}while(l!==c.next);for(r.previous=t,r.next=n,t.next=n.previous=n=r,i=wg(t);(r=r.next)!==n;)(a=wg(r))<i&&(t=r,i=a);n=t.next}for(t=[n._],r=n;(r=r.next)!==n;)t.push(r._);for(r=pg(t),u=0;u<o;++u)(t=e[u]).x-=r.x,t.y-=r.y;return r.r}function Og(e){return null==e?null:Eg(e)}function Eg(e){if("function"!==typeof e)throw new Error;return e}function Sg(){return 0}var Pg=function(e){return function(){return e}};function Mg(e){return Math.sqrt(e.value)}function Cg(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function Ag(e,t){return function(n){if(r=n.children){var r,o,i,a=r.length,u=e(n)*t||0;if(u)for(o=0;o<a;++o)r[o].r+=u;if(i=Tg(r),u)for(o=0;o<a;++o)r[o].r-=u;n.r=i+u}}}function Ng(e){return function(t){var n=t.parent;t.r*=e,n&&(t.x=n.x+e*t.x,t.y=n.y+e*t.y)}}var jg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rg=["colorRange","colorDomain","color","opacityRange","opacityDomain","opacity","x0","x1","y0","y1","r"];function Lg(e){var t=e.animation,n=e.getLabel,r=e.mode,o=e.node,i=e.onLeafClick,a=e.onLeafMouseOver,u=e.onLeafMouseOut,l=e.r,c=e.scales,s=e.x0,f=e.x1,p=e.y0,h=e.y1,d=e.style;if(t)return Y.a.createElement($e,jg({},e,{animatedProps:Rg}),Y.a.createElement(Lg,jg({},e,{animation:null})));var y="circlePack"===r,m=c.color(o),g=c.opacity(o),v=hi(m),b=n(o.data),_=jg({top:y?p-l:p,left:y?s-l:s,width:y?2*l:f-s,height:y?2*l:h-p,background:m,opacity:g,color:v},d,o.data.style);return Y.a.createElement("div",{className:"rv-treemap__leaf "+(y?"rv-treemap__leaf--circle":""),onMouseEnter:function(e){return a(o,e)},onMouseLeave:function(e){return u(o,e)},onClick:function(e){return i(o,e)},style:_},Y.a.createElement("div",{className:"rv-treemap__leaf__content"},b))}Lg.propTypes={animation:Ge,height:i.a.number.isRequired,mode:i.a.string,node:i.a.object.isRequired,onLeafClick:i.a.func,onLeafMouseOver:i.a.func,onLeafMouseOut:i.a.func,scales:i.a.object.isRequired,width:i.a.number.isRequired,r:i.a.number.isRequired,x0:i.a.number.isRequired,x1:i.a.number.isRequired,y0:i.a.number.isRequired,y1:i.a.number.isRequired};var Dg=Lg,Fg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Ig(e){var t=e.animation,n=e.className,r=e.height,o=e.hideRootNode,i=e.getLabel,a=e.mode,u=e.nodes,l=e.width,c=e.scales,s=e.style,f="circlePack"===a;return Y.a.createElement("div",{className:"rv-treemap "+(f?"rv-treemap-circle-packed":"")+" "+n,style:{height:r,width:l}},u.map((function(n,r){if(o&&!r)return null;var a=Fg({animation:t,node:n,getLabel:i},e,{x0:f?n.x:n.x0,x1:f?n.x:n.x1,y0:f?n.y:n.y0,y1:f?n.y:n.y1,r:f?n.r:1,scales:c,style:s});return Y.a.createElement(Dg,Fg({},a,{key:"leaf-"+r}))})))}Ig.displayName="TreemapDOM";var zg=Ig,Ug=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vg=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function Hg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bg(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var qg=function(e){function t(){return Hg(this,t),Bg(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Vg(t,[{key:"getCircularNodes",value:function(){var e=this.props,t=e.animation,n=e.hideRootNode,r=e.nodes,o=e.onLeafMouseOver,i=e.onLeafMouseOut,a=e.onLeafClick,u=e.scales,l=e.style,c=r.reduce((function(e,t,r){if(!r&&n)return e;var o=t.x,i=t.y,a=t.r;return{maxY:Math.max(i+a,e.maxY),minY:Math.min(i-a,e.minY),maxX:Math.max(o+1.2*a,e.maxX),minX:Math.min(o-1.2*a,e.minX),rows:e.rows.concat([{x:o,y:i,size:a,color:u.color(t)}])}}),{rows:[],maxY:-1/0,minY:1/0,maxX:-1/0,minX:1/0}),s=c.rows,f=c.minY,p=c.maxY,h=c.minX,d=c.maxX;return{updatedNodes:Y.a.createElement(sh,{animation:t,className:"rv-treemap__leaf rv-treemap__leaf--circle",onSeriesMouseEnter:o,onSeriesMouseLeave:i,onSeriesClick:a,data:s,colorType:"literal",getColor:function(e){return e.color},sizeType:"literal",getSize:function(e){return e.size},style:l}),minY:f,maxY:p,minX:h,maxX:d}}},{key:"getNonCircularNodes",value:function(){var e=this.props,t=e.animation,n=e.hideRootNode,r=e.nodes,o=e.onLeafMouseOver,i=e.onLeafMouseOut,a=e.onLeafClick,u=e.scales,l=e.style,c=u.color;return r.reduce((function(e,r,u){if(!u&&n)return e;var s=r.x0,f=r.x1,p=r.y1,h=r.y0,d=s,y=h,m=p-h,g=f-s;e.maxY=Math.max(y+m,e.maxY),e.minY=Math.min(y,e.minY),e.maxX=Math.max(d+g,e.maxX),e.minX=Math.min(d,e.minX);var v=[{x:d,y:y},{x:d,y:y+m},{x:d+g,y:y+m},{x:d+g,y:y}];return e.updatedNodes=e.updatedNodes.concat([Y.a.createElement(Vh,{animation:t,className:"rv-treemap__leaf",key:u,color:c(r),type:"literal",onSeriesMouseEnter:o,onSeriesMouseLeave:i,onSeriesClick:a,data:v,style:Ug({},l,r.style)})]),e}),{updatedNodes:[],maxY:-1/0,minY:1/0,maxX:-1/0,minX:1/0})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.height,r=e.mode,o=e.nodes,i=e.width,a="circlePack"===r,u=a?this.getCircularNodes():this.getNonCircularNodes(),l=u.minY,c=u.maxY,s=u.minX,f=u.maxX,p=u.updatedNodes,h=o.reduce((function(e,t){return t.data.title?e.concat(Ug({},t.data,{x:t.x0||t.x,y:t.y0||t.y,label:""+t.data.title})):e}),[]);return Y.a.createElement(Bd,Ug({className:"rv-treemap "+(a?"rv-treemap-circle-packed":"")+" "+t,width:i,height:n,yDomain:[c,l],xDomain:[s,f],colorType:"literal",hasTreeStructure:!0},this.props),p,Y.a.createElement(Kp,{data:h}))}}]),t}(Y.a.Component);qg.displayName="TreemapSVG";var Wg=qg,Yg=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),$g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};var Gg={squarify:cg,resquarify:sg,slice:ag,dice:Gm,slicedice:function(e,t,n,r,o){(1&e.depth?ag:Gm)(e,t,n,r,o)},binary:function(e,t,n,r,o){var i,a,u=e.children,l=u.length,c=new Array(l+1);for(c[0]=a=i=0;i<l;++i)c[i+1]=a+=u[i].value;!function e(t,n,r,o,i,a,l){if(t>=n-1){var s=u[t];return s.x0=o,s.y0=i,s.x1=a,void(s.y1=l)}var f=c[t],p=r/2+f,h=t+1,d=n-1;for(;h<d;){var y=h+d>>>1;c[y]<p?h=y+1:d=y}p-c[h-1]<c[h]-p&&t+1<h&&--h;var m=c[h]-f,g=r-m;if(a-o>l-i){var v=(o*g+a*m)/r;e(t,h,m,o,i,v,l),e(h,n,g,v,i,a,l)}else{var b=(i*g+l*m)/r;e(t,h,m,o,i,a,b),e(h,n,g,o,b,a,l)}}(0,l,e.value,t,n,r,o)}},Xg=function(e){return e},Qg=["opacity","color"];function Kg(e){var t=e.data.children||[],n=$g({},e,fi(e,t,Qg),{_allData:t});return{opacity:ai(n,"opacity"),color:ai(n,"color")}}var Zg=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state=$g({scales:Kg(e)},Ed(e,e.margin)),n}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),Yg(t,[{key:"componentWillReceiveProps",value:function(e){this.setState($g({scales:Kg(e)},Ed(e,e.margin)))}},{key:"_getNodesToRender",value:function(){var e=this.state,t=e.innerWidth,n=e.innerHeight,r=this.props,o=r.data,i=r.mode,a=r.padding,u=r.sortFunction,l=r.getSize;if(!o)return[];if("partition"===i||"partition-pivot"===i){var c=Xm().size("partition-pivot"===i?[n,t]:[t,n]).padding(a)(Km(o).sum(l).sort((function(e,t){return u(e,t,l)}))).descendants();return"partition-pivot"===i?c.map((function(e){return $g({},e,{x0:e.y0,x1:e.y1,y0:e.x0,y1:e.x1})})):c}if("circlePack"===i)return function(){var e=null,t=1,n=1,r=Sg;function o(o){return o.x=t/2,o.y=n/2,e?o.eachBefore(Cg(e)).eachAfter(Ag(r,.5)).eachBefore(Ng(1)):o.eachBefore(Cg(Mg)).eachAfter(Ag(Sg,1)).eachAfter(Ag(r,o.r/Math.min(t,n))).eachBefore(Ng(Math.min(t,n)/(2*o.r))),o}return o.radius=function(t){return arguments.length?(e=Og(t),o):e},o.size=function(e){return arguments.length?(t=+e[0],n=+e[1],o):[t,n]},o.padding=function(e){return arguments.length?(r="function"===typeof e?e:Pg(+e),o):r},o}().size([t,n]).padding(a)(Km(o).sum(l).sort((function(e,t){return u(e,t,l)}))).descendants();var s=Gg[i];return function(){var e=cg,t=!1,n=1,r=1,o=[0],i=Sg,a=Sg,u=Sg,l=Sg,c=Sg;function s(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(f),o=[0],t&&e.eachBefore($m),e}function f(t){var n=o[t.depth],r=t.x0+n,s=t.y0+n,f=t.x1-n,p=t.y1-n;f<r&&(r=f=(r+f)/2),p<s&&(s=p=(s+p)/2),t.x0=r,t.y0=s,t.x1=f,t.y1=p,t.children&&(n=o[t.depth+1]=i(t)/2,r+=c(t)-n,s+=a(t)-n,(f-=u(t)-n)<r&&(r=f=(r+f)/2),(p-=l(t)-n)<s&&(s=p=(s+p)/2),e(t,r,s,f,p))}return s.round=function(e){return arguments.length?(t=!!e,s):t},s.size=function(e){return arguments.length?(n=+e[0],r=+e[1],s):[n,r]},s.tile=function(t){return arguments.length?(e=Eg(t),s):e},s.padding=function(e){return arguments.length?s.paddingInner(e).paddingOuter(e):s.paddingInner()},s.paddingInner=function(e){return arguments.length?(i="function"===typeof e?e:Pg(+e),s):i},s.paddingOuter=function(e){return arguments.length?s.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):s.paddingTop()},s.paddingTop=function(e){return arguments.length?(a="function"===typeof e?e:Pg(+e),s):a},s.paddingRight=function(e){return arguments.length?(u="function"===typeof e?e:Pg(+e),s):u},s.paddingBottom=function(e){return arguments.length?(l="function"===typeof e?e:Pg(+e),s):l},s.paddingLeft=function(e){return arguments.length?(c="function"===typeof e?e:Pg(+e),s):c},s}().tile(s).size([t,n]).padding(a)(Km(o).sum(l).sort((function(e,t){return u(e,t,l)}))).descendants()}},{key:"render",value:function(){var e=this.props.renderMode,t=this.state.scales,n=this._getNodesToRender(),r="SVG"===e?Wg:zg;return Y.a.createElement(r,$g({},this.props,{nodes:n,scales:t}))}}]),t}(Y.a.Component);Zg.displayName="Treemap",Zg.propTypes={animation:Ge,className:i.a.string,data:i.a.object.isRequired,height:i.a.number.isRequired,hideRootNode:i.a.bool,margin:Pd,mode:i.a.oneOf(Object.keys(Gg).concat(["circlePack","partition","partition-pivot"])),onLeafClick:i.a.func,onLeafMouseOver:i.a.func,onLeafMouseOut:i.a.func,useCirclePacking:i.a.bool,padding:i.a.number.isRequired,sortFunction:i.a.func,width:i.a.number.isRequired,getSize:i.a.func,getColor:i.a.func},Zg.defaultProps={className:"",colorRange:Oi,_colorValue:Si,data:{children:[]},hideRootNode:!1,margin:{left:40,right:10,top:10,bottom:40},mode:"squarify",onLeafClick:Xg,onLeafMouseOver:Xg,onLeafMouseOut:Xg,opacityType:"literal",_opacityValue:1,padding:1,sortFunction:function(e,t,n){return n?n(e)-n(t):0},getSize:function(e){return e.size},getColor:function(e){return e.color},getLabel:function(e){return e.title}};var Jg=n(10),ev=n.n(Jg),tv=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},nv=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var rv=[],ov=null;function iv(){ev.a.clearTimeout(ov),ov=ev.a.setTimeout(av,100)}function av(){rv.forEach((function(e){return e()}))}function uv(e){return rv.push(e),1===rv.length&&ev.a.addEventListener("resize",iv),function(){!function(e){var t=rv.indexOf(e);t>-1&&rv.splice(t,1)}(e),0===rv.length&&(ev.a.clearTimeout(ov),ev.a.removeEventListener("resize",iv))}}function lv(e,t,n){var r=function(r){function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return t._onResize=function(){var e=Object(Ho.a)(t.container),n=e.offsetHeight,r=e.offsetWidth,o=t.state.height===n?{}:{height:n},i=t.state.width===r?{}:{width:r};t.setState(tv({},o,i))},t.state={height:0,width:0},t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,r),nv(o,null,[{key:"propTypes",get:function(){var t=e.propTypes;t.height,t.width;return function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["height","width"])}}]),nv(o,[{key:"componentDidMount",value:function(){this._onResize(),this.cancelSubscription=uv(this._onResize)}},{key:"componentWillReceiveProps",value:function(){this._onResize()}},{key:"componentWillUnmount",value:function(){this.cancelSubscription()}},{key:"render",value:function(){var r=this,o=this.state,i=o.height,a=o.width,u=tv({},this.props,{animation:0===i&&0===a?null:this.props.animation}),l=tv({},n?{height:i}:{},t?{width:a}:{});return Y.a.createElement("div",{ref:function(e){return r.container=e},style:{width:"100%",height:"100%"}},Y.a.createElement(e,tv({},l,u)))}}]),o}(Y.a.Component);return r.displayName="Flexible"+function(e){return e.displayName||e.name||"Component"}(e),r}lv(Bd,!0,!1),function(e){lv(e,!1,!0)}(Bd);var cv=function(e){return lv(e,!0,!0)}(Bd)},function(e,t,n){"use strict";var r=n(27),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function u(e){return null!==e&&"object"===typeof e}function l(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function s(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:u,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return u(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:s,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)s(arguments[r],n);return t},extend:function(e,t,n){return s(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==u.return||u.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return f}));var r=n(1),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(n.n(r).a.version.split("."),2),i=o[0],a=o[1],u=Number(a)>13||Number(i)>13,l=function(e){return u?e:e&&e.getDOMNode()},c={},s=!0;function f(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.process&&s||n&&c[t]||(console.warn(t),c[t]=!0)}}).call(this,n(16))},,function(e,t,n){e.exports=n(54)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n(73);t.Motion=r(o);var i=n(75);t.StaggeredMotion=r(i);var a=n(76);t.TransitionMotion=r(a);var u=n(78);t.spring=r(u);var l=n(35);t.presets=r(l);var c=n(15);t.stripStyle=r(c);var s=n(79);t.reorderKeys=r(s)},,function(e,t,n){(function(t){var n;n="undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:{},e.exports=n}).call(this,n(16))},function(e,t,n){"use strict";var r=n(36),o="function"===typeof Symbol&&"symbol"===typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,u=Object.defineProperty,l=u&&function(){var e={};try{for(var t in u(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(n){return!1}}(),c=function(e,t,n,r){var o;(!(t in e)||"function"===typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(l?u(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},s=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var u=0;u<i.length;u+=1)c(e,i[u],t[i[u]],n[i[u]])};s.supportsDescriptors=!!l,e.exports=s},function(e,t,n){"use strict";var r=n(84);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var u=e[i](a),l=u.value}catch(c){return void n(c)}u.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,l,"next",e)}function l(e){r(a,o,i,u,l,"throw",e)}u(void 0)}))}}n.d(t,"a",(function(){return o}))},,function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]="number"===typeof e[n]?e[n]:e[n].val);return t},e.exports=t.default},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],s=!1,f=-1;function p(){s&&l&&(s=!1,l.length?c=l.concat(c):f=-1,c.length&&h())}function h(){if(!s){var e=u(p);s=!0;for(var t=c.length;t;){for(l=c,c=[];++f<t;)l&&l[f].run();f=-1,t=c.length}l=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function y(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new d(e,t)),1!==c.length||s||u(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=0);return t},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t,n,o,i,a,u){var l=n+(-i*(t-o)+-a*n)*e,c=t+l*e;if(Math.abs(l)<u&&Math.abs(c-o)<u)return r[0]=o,r[1]=0,r;return r[0]=c,r[1]=l,r};var r=[0,0];e.exports=t.default},function(e,t,n){(function(t){(function(){var n,r,o;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-o)/1e6},r=t.hrtime,o=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})()):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(17))},function(e,t,n){(function(t){for(var r=n(74),o="undefined"===typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",u=o["request"+a],l=o["cancel"+a]||o["cancelRequest"+a],c=0;!u&&c<i.length;c++)u=o[i[c]+"Request"+a],l=o[i[c]+"Cancel"+a]||o[i[c]+"CancelRequest"+a];if(!u||!l){var s=0,f=0,p=[];u=function(e){if(0===p.length){var t=r(),n=Math.max(0,1e3/60-(t-s));s=n+t,setTimeout((function(){var e=p.slice(0);p.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(s)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}return p.push({handle:++f,callback:e,cancelled:!1}),f},l=function(e){for(var t=0;t<p.length;t++)p[t].handle===e&&(p[t].cancelled=!0)}}e.exports=function(e){return u.call(o,e)},e.exports.cancel=function(){l.apply(o,arguments)},e.exports.polyfill=function(e){e||(e=o),e.requestAnimationFrame=u,e.cancelAnimationFrame=l}}).call(this,n(16))},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(0!==n[r])return!1;var o="number"===typeof t[r]?t[r]:t[r].val;if(e[r]!==o)return!1}return!0},e.exports=t.default},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(86);e.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&o())))}}).call(this,n(16))},,,function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,u,l=a(e),c=1;c<arguments.length;c++){for(var s in n=Object(arguments[c]))o.call(n,s)&&(l[s]=n[s]);if(r){u=r(n);for(var f=0;f<u.length;f++)i.call(n,u[f])&&(l[u[f]]=n[u[f]])}}return l}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(3);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var u=e.indexOf("#");-1!==u&&(e=e.slice(0,u)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(3),o=n(60),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n(31)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(i)})),e.exports=u}).call(this,n(17))},function(e,t,n){"use strict";var r=n(3),o=n(61),i=n(63),a=n(28),u=n(64),l=n(67),c=n(68),s=n(32);e.exports=function(e){return new Promise((function(t,n){var f=e.data,p=e.headers;r.isFormData(f)&&delete p["Content-Type"],(r.isBlob(f)||r.isFile(f))&&f.type&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var d=e.auth.username||"",y=unescape(encodeURIComponent(e.auth.password))||"";p.Authorization="Basic "+btoa(d+":"+y)}var m=u(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),a(m,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in h?l(h.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};o(t,n,i),h=null}},h.onabort=function(){h&&(n(s("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(s("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(s(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=(e.withCredentials||c(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;g&&(p[e.xsrfHeaderName]=g)}if("setRequestHeader"in h&&r.forEach(p,(function(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(v){if("json"!==e.responseType)throw v}"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),n(e),h=null)})),f||(f=null),h.send(f)}))}},function(e,t,n){"use strict";var r=n(62);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];function l(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function c(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),r.forEach(i,c),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(void 0,t[o])})),r.forEach(u,(function(r){r in t?n[r]=l(e[r],t[r]):r in e&&(n[r]=l(void 0,e[r]))}));var s=o.concat(i).concat(a).concat(u),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===s.indexOf(e)}));return r.forEach(f,c),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";t.__esModule=!0,t.default={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}},e.exports=t.default},function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(37),i=Object.keys,a=i?function(e){return i(e)}:n(80),u=Object.keys;a.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return o(e)?u(r.call(e)):u(e)}):Object.keys=a;return Object.keys||a},e.exports=a},function(e,t,n){"use strict";var r=Object.prototype.toString;e.exports=function(e){var t=r.call(e),n="[object Arguments]"===t;return n||(n="[object Array]"!==t&&null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=function(e){return e!==e};e.exports=function(e,t){return 0===e&&0===t?1/e===1/t:e===t||!(!r(e)||!r(t))}},function(e,t,n){"use strict";var r=n(38);e.exports=function(){return"function"===typeof Object.is?Object.is:r}},function(e,t,n){"use strict";var r=Object,o=TypeError;e.exports=function(){if(null!=this&&this!==r(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},function(e,t,n){"use strict";var r=n(40),o=n(11).supportsDescriptors,i=Object.getOwnPropertyDescriptor,a=TypeError;e.exports=function(){if(!o)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"===typeof e.get&&"boolean"===typeof/a/.dotAll)return e.get}return r}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(50)},function(e,t,n){e.exports=n(55)},function(e,t,n){var r=n(36),o=n(81),i=n(82),a=n(89),u=n(90),l=n(94),c=Date.prototype.getTime;function s(e,t,n){var h=n||{};return!!(h.strict?i(e,t):e===t)||(!e||!t||"object"!==typeof e&&"object"!==typeof t?h.strict?i(e,t):e==t:function(e,t,n){var i,h;if(typeof e!==typeof t)return!1;if(f(e)||f(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e)!==o(t))return!1;var d=a(e),y=a(t);if(d!==y)return!1;if(d||y)return e.source===t.source&&u(e)===u(t);if(l(e)&&l(t))return c.call(e)===c.call(t);var m=p(e),g=p(t);if(m!==g)return!1;if(m||g){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!==typeof t)return!1;try{var v=r(e),b=r(t)}catch(_){return!1}if(v.length!==b.length)return!1;for(v.sort(),b.sort(),i=v.length-1;i>=0;i--)if(v[i]!=b[i])return!1;for(i=v.length-1;i>=0;i--)if(h=v[i],!s(e[h],t[h],n))return!1;return!0}(e,t,h))}function f(e){return null===e||void 0===e}function p(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&("function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0]))}e.exports=s},,,,,function(e,t,n){"use strict";var r=n(26),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,u=o?Symbol.for("react.fragment"):60107,l=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,s=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,p=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,d=o?Symbol.for("react.memo"):60115,y=o?Symbol.for("react.lazy"):60116,m="function"===typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function _(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}function x(){}function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||v}_.prototype.isReactComponent={},_.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},_.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=_.prototype;var k=w.prototype=new x;k.constructor=w,r(k,_.prototype),k.isPureReactComponent=!0;var T={current:null},O=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,o={},a=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(a=""+t.key),t)O.call(t,r)&&!E.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:i,type:e,key:a,ref:u,props:o,_owner:T.current}}function P(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var M=/\/+/g,C=[];function A(e,t,n,r){if(C.length){var o=C.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function N(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>C.length&&C.push(e)}function j(e,t,n){return null==e?0:function e(t,n,r,o){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var l=!1;if(null===t)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case i:case a:l=!0}}if(l)return r(o,t,""===n?"."+R(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var s=n+R(u=t[c],c);l+=e(u,s,r,o)}else if(null===t||"object"!==typeof t?s=null:s="function"===typeof(s=m&&t[m]||t["@@iterator"])?s:null,"function"===typeof s)for(t=s.call(t),c=0;!(u=t.next()).done;)l+=e(u=u.value,s=n+R(u,c++),r,o);else if("object"===u)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return l}(e,"",t,n)}function R(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function D(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,(function(e){return e})):null!=e&&(P(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(M,"$&/")+"/")+n)),r.push(e))}function F(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(M,"$&/")+"/"),j(e,D,t=A(t,i,r,o)),N(t)}var I={current:null};function z(){var e=I.current;if(null===e)throw Error(g(321));return e}var U={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;j(e,L,t=A(null,null,t,n)),N(t)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var t=[];return F(e,t,null,(function(e){return e})),t},only:function(e){if(!P(e))throw Error(g(143));return e}},t.Component=_,t.Fragment=u,t.Profiler=c,t.PureComponent=w,t.StrictMode=l,t.Suspense=h,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(g(267,e));var o=r({},e.props),a=e.key,u=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,l=T.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)O.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];o.children=c}return{$$typeof:i,type:e.type,key:a,ref:u,props:o,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:p,render:e}},t.isValidElement=P,t.lazy=function(e){return{$$typeof:y,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return z().useCallback(e,t)},t.useContext=function(e,t){return z().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return z().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return z().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return z().useLayoutEffect(e,t)},t.useMemo=function(e,t){return z().useMemo(e,t)},t.useReducer=function(e,t,n){return z().useReducer(e,t,n)},t.useRef=function(e){return z().useRef(e)},t.useState=function(e){return z().useState(e)},t.version="16.14.0"},function(e,t,n){"use strict";var r=n(1),o=n(26),i=n(51);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function u(e,t,n,r,o,i,a,u,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(s){this.onError(s)}}var l=!1,c=null,s=!1,f=null,p={onError:function(e){l=!0,c=e}};function h(e,t,n,r,o,i,a,s,f){l=!1,c=null,u.apply(p,arguments)}var d=null,y=null,m=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=m(n),function(e,t,n,r,o,i,u,p,d){if(h.apply(this,arguments),l){if(!l)throw Error(a(198));var y=c;l=!1,c=null,s||(s=!0,f=y)}}(r,t,void 0,e),e.currentTarget=null}var v=null,b={};function _(){if(v)for(var e in b){var t=b[e],n=v.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!w[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in w[n]=t,n=t.eventTypes){var o=void 0,i=n[r],u=t,l=r;if(k.hasOwnProperty(l))throw Error(a(99,l));k[l]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&x(c[o],u,l);o=!0}else i.registrationName?(x(i.registrationName,u,l),o=!0):o=!1;if(!o)throw Error(a(98,r,e))}}}}function x(e,t,n){if(T[e])throw Error(a(100,e));T[e]=t,O[e]=t.eventTypes[n].dependencies}var w=[],k={},T={},O={};function E(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&_()}var S=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),P=null,M=null,C=null;function A(e){if(e=y(e)){if("function"!==typeof P)throw Error(a(280));var t=e.stateNode;t&&(t=d(t),P(e.stateNode,e.type,t))}}function N(e){M?C?C.push(e):C=[e]:M=e}function j(){if(M){var e=M,t=C;if(C=M=null,A(e),t)for(e=0;e<t.length;e++)A(t[e])}}function R(e,t){return e(t)}function L(e,t,n,r,o){return e(t,n,r,o)}function D(){}var F=R,I=!1,z=!1;function U(){null===M&&null===C||(D(),j())}function V(e,t,n){if(z)return e(t,n);z=!0;try{return F(e,t,n)}finally{z=!1,U()}}var H=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,B=Object.prototype.hasOwnProperty,q={},W={};function Y(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){$[e]=new Y(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];$[t]=new Y(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){$[e]=new Y(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){$[e]=new Y(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){$[e]=new Y(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){$[e]=new Y(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){$[e]=new Y(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){$[e]=new Y(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){$[e]=new Y(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\-:]([a-z])/g;function X(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(G,X);$[t]=new Y(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(G,X);$[t]=new Y(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(G,X);$[t]=new Y(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){$[e]=new Y(e,1,!1,e.toLowerCase(),null,!1)})),$.xlinkHref=new Y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){$[e]=new Y(e,1,!1,e.toLowerCase(),null,!0)}));var Q=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function K(e,t,n,r){var o=$.hasOwnProperty(t)?$[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!B.call(W,e)||!B.call(q,e)&&(H.test(e)?W[e]=!0:(q[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Q.hasOwnProperty("ReactCurrentDispatcher")||(Q.ReactCurrentDispatcher={current:null}),Q.hasOwnProperty("ReactCurrentBatchConfig")||(Q.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,J="function"===typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,oe=J?Symbol.for("react.profiler"):60114,ie=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,ue=J?Symbol.for("react.concurrent_mode"):60111,le=J?Symbol.for("react.forward_ref"):60112,ce=J?Symbol.for("react.suspense"):60113,se=J?Symbol.for("react.suspense_list"):60120,fe=J?Symbol.for("react.memo"):60115,pe=J?Symbol.for("react.lazy"):60116,he=J?Symbol.for("react.block"):60121,de="function"===typeof Symbol&&Symbol.iterator;function ye(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=de&&e[de]||e["@@iterator"])?e:null}function me(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case oe:return"Profiler";case re:return"StrictMode";case ce:return"Suspense";case se:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case ie:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return me(e.type);case he:return me(e.render);case pe:if(e=1===e._status?e._result:null)return me(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=me(e.type);n=null,r&&(n=me(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace(Z,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}function ve(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function _e(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function xe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function we(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ke(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ve(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Te(e,t){null!=(t=t.checked)&&K(e,"checked",t,!1)}function Oe(e,t){Te(e,t);var n=ve(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Se(e,t.type,n):t.hasOwnProperty("defaultValue")&&Se(e,t.type,ve(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ee(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Se(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Pe(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Me(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ve(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function Ce(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ve(n)}}function Ne(e,t){var n=ve(t.value),r=ve(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function je(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Re="http://www.w3.org/1999/xhtml",Le="http://www.w3.org/2000/svg";function De(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?De(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ie,ze=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Le||"innerHTML"in e)e.innerHTML=t;else{for((Ie=Ie||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ie.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Ue(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ve(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:Ve("Animation","AnimationEnd"),animationiteration:Ve("Animation","AnimationIteration"),animationstart:Ve("Animation","AnimationStart"),transitionend:Ve("Transition","TransitionEnd")},Be={},qe={};function We(e){if(Be[e])return Be[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in qe)return Be[e]=n[t];return e}S&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ye=We("animationend"),$e=We("animationiteration"),Ge=We("animationstart"),Xe=We("transitionend"),Qe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ke=new("function"===typeof WeakMap?WeakMap:Map);function Ze(e){var t=Ke.get(e);return void 0===t&&(t=new Map,Ke.set(e,t)),t}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Je(e)!==e)throw Error(a(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return tt(o),e;if(i===r)return tt(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var u=!1,l=o.child;l;){if(l===n){u=!0,n=o,r=i;break}if(l===r){u=!0,r=o,n=i;break}l=l.sibling}if(!u){for(l=i.child;l;){if(l===n){u=!0,n=i,r=o;break}if(l===r){u=!0,r=i,n=o;break}l=l.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function ot(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function at(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function ut(e){if(null!==e&&(it=rt(it,e)),e=it,it=null,e){if(ot(e,at),it)throw Error(a(95));if(s)throw e=f,s=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ct(e){if(!S)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}var st=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>st.length&&st.push(e)}function pt(e,t,n,r){if(st.length){var o=st.pop();return o.topLevelType=e,o.eventSystemFlags=r,o.nativeEvent=t,o.targetInst=n,o}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ht(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Sn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=lt(e.nativeEvent);r=e.topLevelType;var i=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var u=null,l=0;l<w.length;l++){var c=w[l];c&&(c=c.extractEvents(r,t,i,o,a))&&(u=rt(u,c))}ut(u)}}function dt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Gt(t,"scroll",!0);break;case"focus":case"blur":Gt(t,"focus",!0),Gt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ct(e)&&Gt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qe.indexOf(e)&&$t(e,t)}n.set(e,null)}}var yt,mt,gt,vt=!1,bt=[],_t=null,xt=null,wt=null,kt=new Map,Tt=new Map,Ot=[],Et="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),St="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Pt(e,t,n,r,o){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:o,container:r}}function Mt(e,t){switch(e){case"focus":case"blur":_t=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":wt=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Ct(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Pt(t,n,r,o,i),null!==t&&(null!==(t=Pn(t))&&mt(t)),e):(e.eventSystemFlags|=r,e)}function At(e){var t=Sn(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void i.unstable_runWithPriority(e.priority,(function(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Nt(e){if(null!==e.blockedOn)return!1;var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Pn(t);return null!==n&&mt(n),e.blockedOn=t,!1}return!0}function jt(e,t,n){Nt(e)&&n.delete(t)}function Rt(){for(vt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=Pn(e.blockedOn))&&yt(e);break}var t=Zt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==_t&&Nt(_t)&&(_t=null),null!==xt&&Nt(xt)&&(xt=null),null!==wt&&Nt(wt)&&(wt=null),kt.forEach(jt),Tt.forEach(jt)}function Lt(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Rt)))}function Dt(e){function t(t){return Lt(t,e)}if(0<bt.length){Lt(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==_t&&Lt(_t,e),null!==xt&&Lt(xt,e),null!==wt&&Lt(wt,e),kt.forEach(t),Tt.forEach(t),n=0;n<Ot.length;n++)(r=Ot[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ot.length&&null===(n=Ot[0]).blockedOn;)At(n),null===n.blockedOn&&Ot.shift()}var Ft={},It=new Map,zt=new Map,Ut=["abort","abort",Ye,"animationEnd",$e,"animationIteration",Ge,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Xe,"transitionEnd","waiting","waiting"];function Vt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1],i="on"+(o[0].toUpperCase()+o.slice(1));i={phasedRegistrationNames:{bubbled:i,captured:i+"Capture"},dependencies:[r],eventPriority:t},zt.set(r,t),It.set(r,i),Ft[o]=i}}Vt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Vt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Vt(Ut,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Bt=0;Bt<Ht.length;Bt++)zt.set(Ht[Bt],0);var qt=i.unstable_UserBlockingPriority,Wt=i.unstable_runWithPriority,Yt=!0;function $t(e,t){Gt(t,e,!1)}function Gt(e,t,n){var r=zt.get(t);switch(void 0===r?2:r){case 0:r=Xt.bind(null,t,1,e);break;case 1:r=Qt.bind(null,t,1,e);break;default:r=Kt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Xt(e,t,n,r){I||D();var o=Kt,i=I;I=!0;try{L(o,e,t,n,r)}finally{(I=i)||U()}}function Qt(e,t,n,r){Wt(qt,Kt.bind(null,e,t,n,r))}function Kt(e,t,n,r){if(Yt)if(0<bt.length&&-1<Et.indexOf(e))e=Pt(null,e,t,n,r),bt.push(e);else{var o=Zt(e,t,n,r);if(null===o)Mt(e,r);else if(-1<Et.indexOf(e))e=Pt(o,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,o){switch(t){case"focus":return _t=Ct(_t,e,t,n,r,o),!0;case"dragenter":return xt=Ct(xt,e,t,n,r,o),!0;case"mouseover":return wt=Ct(wt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return kt.set(i,Ct(kt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Tt.set(i,Ct(Tt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r)){Mt(e,r),e=pt(e,r,null,t);try{V(ht,e)}finally{ft(e)}}}}function Zt(e,t,n,r){if(null!==(n=Sn(n=lt(r)))){var o=Je(n);if(null===o)n=null;else{var i=o.tag;if(13===i){if(null!==(n=et(o)))return n;n=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}e=pt(e,r,n,t);try{V(ht,e)}finally{ft(e)}return null}var Jt={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,gridArea:!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},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Jt.hasOwnProperty(e)&&Jt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Jt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jt[t]=Jt[e]}))}));var rn=o({menuitem:!0},{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});function on(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62,""))}}function an(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=Re;function ln(e,t){var n=Ze(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=O[t];for(var r=0;r<t.length;r++)dt(t[r],e,n)}function cn(){}function sn(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function pn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function hn(){for(var e=window,t=sn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=sn((e=t.contentWindow).document)}return t}function dn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yn=null,mn=null;function gn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"===typeof setTimeout?setTimeout:void 0,_n="function"===typeof clearTimeout?clearTimeout:void 0;function xn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function wn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var kn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+kn,On="__reactEventHandlers$"+kn,En="__reactContainere$"+kn;function Sn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[En]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=wn(e);null!==e;){if(n=e[Tn])return n;e=wn(e)}return t}n=(e=n).parentNode}return null}function Pn(e){return!(e=e[Tn]||e[En])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Mn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Cn(e){return e[On]||null}function An(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Nn(e,t){var n=e.stateNode;if(!n)return null;var r=d(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}function jn(e,t,n){(t=Nn(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Rn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=An(t);for(t=n.length;0<t--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(n[t],"bubbled",e)}}function Ln(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=Nn(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Dn(e){e&&e.dispatchConfig.registrationName&&Ln(e._targetInst,null,e)}function Fn(e){ot(e,Rn)}var In=null,zn=null,Un=null;function Vn(){if(Un)return Un;var e,t,n=zn,r=n.length,o="value"in In?In.value:In.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Un=o.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function Bn(){return!1}function qn(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:Bn,this.isPropagationStopped=Bn,this}function Wn(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function Yn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function $n(e){e.eventPool=[],e.getPooled=Wn,e.release=Yn}o(qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:Bn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Bn,this._dispatchInstances=this._dispatchListeners=null}}),qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},qn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,$n(n),n},$n(qn);var Gn=qn.extend({data:null}),Xn=qn.extend({data:null}),Qn=[9,13,27,32],Kn=S&&"CompositionEvent"in window,Zn=null;S&&"documentMode"in document&&(Zn=document.documentMode);var Jn=S&&"TextEvent"in window&&!Zn,er=S&&(!Kn||Zn&&8<Zn&&11>=Zn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function or(e,t){switch(e){case"keyup":return-1!==Qn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ir(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var ar=!1;var ur={eventTypes:nr,extractEvents:function(e,t,n,r){var o;if(Kn)e:{switch(e){case"compositionstart":var i=nr.compositionStart;break e;case"compositionend":i=nr.compositionEnd;break e;case"compositionupdate":i=nr.compositionUpdate;break e}i=void 0}else ar?or(e,n)&&(i=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(i=nr.compositionStart);return i?(er&&"ko"!==n.locale&&(ar||i!==nr.compositionStart?i===nr.compositionEnd&&ar&&(o=Vn()):(zn="value"in(In=r)?In.value:In.textContent,ar=!0)),i=Gn.getPooled(i,t,n,r),o?i.data=o:null!==(o=ir(n))&&(i.data=o),Fn(i),o=i):o=null,(e=Jn?function(e,t){switch(e){case"compositionend":return ir(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(ar)return"compositionend"===e||!Kn&&or(e,t)?(e=Vn(),Un=zn=In=null,ar=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Xn.getPooled(nr.beforeInput,t,n,r)).data=e,Fn(t)):t=null,null===o?t:null===t?o:[o,t]}},lr={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};function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var sr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=qn.getPooled(sr.change,e,t,n)).type="change",N(n),Fn(e),e}var pr=null,hr=null;function dr(e){ut(e)}function yr(e){if(xe(Mn(e)))return e}function mr(e,t){if("change"===e)return t}var gr=!1;function vr(){pr&&(pr.detachEvent("onpropertychange",br),hr=pr=null)}function br(e){if("value"===e.propertyName&&yr(hr))if(e=fr(hr,e,lt(e)),I)ut(e);else{I=!0;try{R(dr,e)}finally{I=!1,U()}}}function _r(e,t,n){"focus"===e?(vr(),hr=n,(pr=t).attachEvent("onpropertychange",br)):"blur"===e&&vr()}function xr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return yr(hr)}function wr(e,t){if("click"===e)return yr(t)}function kr(e,t){if("input"===e||"change"===e)return yr(t)}S&&(gr=ct("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:sr,_isInputEventSupported:gr,extractEvents:function(e,t,n,r){var o=t?Mn(t):window,i=o.nodeName&&o.nodeName.toLowerCase();if("select"===i||"input"===i&&"file"===o.type)var a=mr;else if(cr(o))if(gr)a=kr;else{a=xr;var u=_r}else(i=o.nodeName)&&"input"===i.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(a=wr);if(a&&(a=a(e,t)))return fr(a,n,r);u&&u(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&Se(o,"number",o.value)}},Or=qn.extend({view:null,detail:null}),Er={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Er[e])&&!!t[e]}function Pr(){return Sr}var Mr=0,Cr=0,Ar=!1,Nr=!1,jr=Or.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Pr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Mr;return Mr=e.screenX,Ar?"mousemove"===e.type?e.screenX-t:0:(Ar=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Cr;return Cr=e.screenY,Nr?"mousemove"===e.type?e.screenY-t:0:(Nr=!0,0)}}),Rr=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Lr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Dr={eventTypes:Lr,extractEvents:function(e,t,n,r,o){var i="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(i&&0===(32&o)&&(n.relatedTarget||n.fromElement)||!a&&!i)return null;(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a)?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Sn(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null;if(a===t)return null;if("mouseout"===e||"mouseover"===e)var u=jr,l=Lr.mouseLeave,c=Lr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=Rr,l=Lr.pointerLeave,c=Lr.pointerEnter,s="pointer");if(e=null==a?i:Mn(a),i=null==t?i:Mn(t),(l=u.getPooled(l,a,n,r)).type=s+"leave",l.target=e,l.relatedTarget=i,(n=u.getPooled(c,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=a)&&s)e:{for(c=s,a=0,e=u=r;e;e=An(e))a++;for(e=0,t=c;t;t=An(t))e++;for(;0<a-e;)u=An(u),a--;for(;0<e-a;)c=An(c),e--;for(;a--;){if(u===c||u===c.alternate)break e;u=An(u),c=An(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(a=r.alternate)||a!==c);)u.push(r),r=An(r);for(r=[];s&&s!==c&&(null===(a=s.alternate)||a!==c);)r.push(s),s=An(s);for(s=0;s<u.length;s++)Ln(u[s],"bubbled",l);for(s=r.length;0<s--;)Ln(r[s],"captured",n);return 0===(64&o)?[l]:[l,n]}};var Fr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Ir=Object.prototype.hasOwnProperty;function zr(e,t){if(Fr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Ir.call(t,n[r])||!Fr(e[n[r]],t[n[r]]))return!1;return!0}var Ur=S&&"documentMode"in document&&11>=document.documentMode,Vr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,Br=null,qr=null,Wr=!1;function Yr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Wr||null==Hr||Hr!==sn(n)?null:("selectionStart"in(n=Hr)&&dn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qr&&zr(qr,n)?null:(qr=n,(e=qn.getPooled(Vr.select,Br,e,t)).type="select",e.target=Hr,Fn(e),e))}var $r={eventTypes:Vr,extractEvents:function(e,t,n,r,o,i){if(!(i=!(o=i||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{o=Ze(o),i=O.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break e}o=!0}i=!o}if(i)return null;switch(o=t?Mn(t):window,e){case"focus":(cr(o)||"true"===o.contentEditable)&&(Hr=o,Br=t,qr=null);break;case"blur":qr=Br=Hr=null;break;case"mousedown":Wr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Wr=!1,Yr(n,r);case"selectionchange":if(Ur)break;case"keydown":case"keyup":return Yr(n,r)}return null}},Gr=qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Xr=qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Qr=Or.extend({relatedTarget:null});function Kr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Zr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jr={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"},eo=Or.extend({key:function(e){if(e.key){var t=Zr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Kr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Jr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Pr,charCode:function(e){return"keypress"===e.type?Kr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Kr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),to=jr.extend({dataTransfer:null}),no=Or.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Pr}),ro=qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),oo=jr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),io={eventTypes:Ft,extractEvents:function(e,t,n,r){var o=It.get(e);if(!o)return null;switch(e){case"keypress":if(0===Kr(n))return null;case"keydown":case"keyup":e=eo;break;case"blur":case"focus":e=Qr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=jr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=to;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=no;break;case Ye:case $e:case Ge:e=Gr;break;case Xe:e=ro;break;case"scroll":e=Or;break;case"wheel":e=oo;break;case"copy":case"cut":case"paste":e=Xr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Rr;break;default:e=qn}return Fn(t=e.getPooled(o,t,n,r)),t}};if(v)throw Error(a(101));v=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_(),d=Cn,y=Pn,m=Mn,E({SimpleEventPlugin:io,EnterLeaveEventPlugin:Dr,ChangeEventPlugin:Tr,SelectEventPlugin:$r,BeforeInputEventPlugin:ur});var ao=[],uo=-1;function lo(e){0>uo||(e.current=ao[uo],ao[uo]=null,uo--)}function co(e,t){uo++,ao[uo]=e.current,e.current=t}var so={},fo={current:so},po={current:!1},ho=so;function yo(e,t){var n=e.type.contextTypes;if(!n)return so;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function mo(e){return null!==(e=e.childContextTypes)&&void 0!==e}function go(){lo(po),lo(fo)}function vo(e,t,n){if(fo.current!==so)throw Error(a(168));co(fo,t),co(po,n)}function bo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,me(t)||"Unknown",i));return o({},n,{},r)}function _o(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||so,ho=fo.current,co(fo,e),co(po,po.current),!0}function xo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=bo(e,t,ho),r.__reactInternalMemoizedMergedChildContext=e,lo(po),lo(fo),co(fo,e)):lo(po),co(po,n)}var wo=i.unstable_runWithPriority,ko=i.unstable_scheduleCallback,To=i.unstable_cancelCallback,Oo=i.unstable_requestPaint,Eo=i.unstable_now,So=i.unstable_getCurrentPriorityLevel,Po=i.unstable_ImmediatePriority,Mo=i.unstable_UserBlockingPriority,Co=i.unstable_NormalPriority,Ao=i.unstable_LowPriority,No=i.unstable_IdlePriority,jo={},Ro=i.unstable_shouldYield,Lo=void 0!==Oo?Oo:function(){},Do=null,Fo=null,Io=!1,zo=Eo(),Uo=1e4>zo?Eo:function(){return Eo()-zo};function Vo(){switch(So()){case Po:return 99;case Mo:return 98;case Co:return 97;case Ao:return 96;case No:return 95;default:throw Error(a(332))}}function Ho(e){switch(e){case 99:return Po;case 98:return Mo;case 97:return Co;case 96:return Ao;case 95:return No;default:throw Error(a(332))}}function Bo(e,t){return e=Ho(e),wo(e,t)}function qo(e,t,n){return e=Ho(e),ko(e,t,n)}function Wo(e){return null===Do?(Do=[e],Fo=ko(Po,$o)):Do.push(e),jo}function Yo(){if(null!==Fo){var e=Fo;Fo=null,To(e)}$o()}function $o(){if(!Io&&null!==Do){Io=!0;var e=0;try{var t=Do;Bo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Do=null}catch(n){throw null!==Do&&(Do=Do.slice(e+1)),ko(Po,Yo),n}finally{Io=!1}}}function Go(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Xo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Qo={current:null},Ko=null,Zo=null,Jo=null;function ei(){Jo=Zo=Ko=null}function ti(e){var t=Qo.current;lo(Qo),e.type._context._currentValue=t}function ni(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ri(e,t){Ko=e,Jo=Zo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Ca=!0),e.firstContext=null)}function oi(e,t){if(Jo!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(Jo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Zo){if(null===Ko)throw Error(a(308));Zo=t,Ko.dependencies={expirationTime:0,firstContext:t,responders:null}}else Zo=Zo.next=t;return e._currentValue}var ii=!1;function ai(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function li(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function ci(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function si(e,t){var n=e.alternate;null!==n&&ui(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function fi(e,t,n,r){var i=e.updateQueue;ii=!1;var a=i.baseQueue,u=i.shared.pending;if(null!==u){if(null!==a){var l=a.next;a.next=u.next,u.next=l}a=u,i.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=u))}if(null!==a){l=a.next;var c=i.baseState,s=0,f=null,p=null,h=null;if(null!==l)for(var d=l;;){if((u=d.expirationTime)<r){var y={expirationTime:d.expirationTime,suspenseConfig:d.suspenseConfig,tag:d.tag,payload:d.payload,callback:d.callback,next:null};null===h?(p=h=y,f=c):h=h.next=y,u>s&&(s=u)}else{null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:d.suspenseConfig,tag:d.tag,payload:d.payload,callback:d.callback,next:null}),il(u,d.suspenseConfig);e:{var m=e,g=d;switch(u=t,y=n,g.tag){case 1:if("function"===typeof(m=g.payload)){c=m.call(y,c,u);break e}c=m;break e;case 3:m.effectTag=-4097&m.effectTag|64;case 0:if(null===(u="function"===typeof(m=g.payload)?m.call(y,c,u):m)||void 0===u)break e;c=o({},c,u);break e;case 2:ii=!0}}null!==d.callback&&(e.effectTag|=32,null===(u=i.effects)?i.effects=[d]:u.push(d))}if(null===(d=d.next)||d===l){if(null===(u=i.shared.pending))break;d=a.next=u.next,u.next=l,i.baseQueue=a=u,i.shared.pending=null}}null===h?f=c:h.next=p,i.baseState=f,i.baseQueue=h,al(s),e.expirationTime=s,e.memoizedState=c}}function pi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=o,o=n,"function"!==typeof r)throw Error(a(191,r));r.call(o)}}}var hi=Q.ReactCurrentBatchConfig,di=(new r.Component).refs;function yi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var mi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Yu(),o=hi.suspense;(o=li(r=$u(r,e,o),o)).payload=t,void 0!==n&&null!==n&&(o.callback=n),ci(e,o),Gu(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Yu(),o=hi.suspense;(o=li(r=$u(r,e,o),o)).tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),ci(e,o),Gu(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Yu(),r=hi.suspense;(r=li(n=$u(n,e,r),r)).tag=2,void 0!==t&&null!==t&&(r.callback=t),ci(e,r),Gu(e,n)}};function gi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!zr(n,r)||!zr(o,i))}function vi(e,t,n){var r=!1,o=so,i=t.contextType;return"object"===typeof i&&null!==i?i=oi(i):(o=mo(t)?ho:fo.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?yo(e,o):so),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=mi,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function bi(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&mi.enqueueReplaceState(t,t.state,null)}function _i(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=di,ai(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=oi(i):(i=mo(t)?ho:fo.current,o.context=yo(e,i)),fi(e,n,o,r),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(yi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&mi.enqueueReplaceState(o,o.state,null),fi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.effectTag|=4)}var xi=Array.isArray;function wi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===di&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function ki(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ti(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=El(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Ml(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=wi(e,t,n),r.return=e,r):((r=Sl(n.type,n.key,n.props,null,e.mode,r)).ref=wi(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Cl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Pl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function p(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Ml(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Sl(t.type,t.key,t.props,null,e.mode,n)).ref=wi(e,null,t),n.return=e,n;case te:return(t=Cl(t,e.mode,n)).return=e,t}if(xi(t)||ye(t))return(t=Pl(t,e.mode,n,null)).return=e,t;ki(e,t)}return null}function h(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===o?n.type===ne?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case te:return n.key===o?s(e,t,n,r):null}if(xi(n)||ye(n))return null!==o?null:f(e,t,n,r,null);ki(e,n)}return null}function d(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case te:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(xi(r)||ye(r))return f(t,e=e.get(n)||null,r,o,null);ki(t,r)}return null}function y(o,a,u,l){for(var c=null,s=null,f=a,y=a=0,m=null;null!==f&&y<u.length;y++){f.index>y?(m=f,f=null):m=f.sibling;var g=h(o,f,u[y],l);if(null===g){null===f&&(f=m);break}e&&f&&null===g.alternate&&t(o,f),a=i(g,a,y),null===s?c=g:s.sibling=g,s=g,f=m}if(y===u.length)return n(o,f),c;if(null===f){for(;y<u.length;y++)null!==(f=p(o,u[y],l))&&(a=i(f,a,y),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(o,f);y<u.length;y++)null!==(m=d(f,o,y,u[y],l))&&(e&&null!==m.alternate&&f.delete(null===m.key?y:m.key),a=i(m,a,y),null===s?c=m:s.sibling=m,s=m);return e&&f.forEach((function(e){return t(o,e)})),c}function m(o,u,l,c){var s=ye(l);if("function"!==typeof s)throw Error(a(150));if(null==(l=s.call(l)))throw Error(a(151));for(var f=s=null,y=u,m=u=0,g=null,v=l.next();null!==y&&!v.done;m++,v=l.next()){y.index>m?(g=y,y=null):g=y.sibling;var b=h(o,y,v.value,c);if(null===b){null===y&&(y=g);break}e&&y&&null===b.alternate&&t(o,y),u=i(b,u,m),null===f?s=b:f.sibling=b,f=b,y=g}if(v.done)return n(o,y),s;if(null===y){for(;!v.done;m++,v=l.next())null!==(v=p(o,v.value,c))&&(u=i(v,u,m),null===f?s=v:f.sibling=v,f=v);return s}for(y=r(o,y);!v.done;m++,v=l.next())null!==(v=d(y,o,m,v.value,c))&&(e&&null!==v.alternate&&y.delete(null===v.key?m:v.key),u=i(v,u,m),null===f?s=v:f.sibling=v,f=v);return e&&y.forEach((function(e){return t(o,e)})),s}return function(e,r,i,l){var c="object"===typeof i&&null!==i&&i.type===ne&&null===i.key;c&&(i=i.props.children);var s="object"===typeof i&&null!==i;if(s)switch(i.$$typeof){case ee:e:{for(s=i.key,c=r;null!==c;){if(c.key===s){switch(c.tag){case 7:if(i.type===ne){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}break;default:if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=wi(e,c,i),r.return=e,e=r;break e}}n(e,c);break}t(e,c),c=c.sibling}i.type===ne?((r=Pl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Sl(i.type,i.key,i.props,null,e.mode,l)).ref=wi(e,r,i),l.return=e,e=l)}return u(e);case te:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Cl(i,e.mode,l)).return=e,e=r}return u(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Ml(i,e.mode,l)).return=e,e=r),u(e);if(xi(i))return y(e,r,i,l);if(ye(i))return m(e,r,i,l);if(s&&ki(e,i),"undefined"===typeof i&&!c)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Oi=Ti(!0),Ei=Ti(!1),Si={},Pi={current:Si},Mi={current:Si},Ci={current:Si};function Ai(e){if(e===Si)throw Error(a(174));return e}function Ni(e,t){switch(co(Ci,t),co(Mi,e),co(Pi,Si),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fe(null,"");break;default:t=Fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}lo(Pi),co(Pi,t)}function ji(){lo(Pi),lo(Mi),lo(Ci)}function Ri(e){Ai(Ci.current);var t=Ai(Pi.current),n=Fe(t,e.type);t!==n&&(co(Mi,e),co(Pi,n))}function Li(e){Mi.current===e&&(lo(Pi),lo(Mi))}var Di={current:0};function Fi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function Ii(e,t){return{responder:e,props:t}}var zi=Q.ReactCurrentDispatcher,Ui=Q.ReactCurrentBatchConfig,Vi=0,Hi=null,Bi=null,qi=null,Wi=!1;function Yi(){throw Error(a(321))}function $i(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Fr(e[n],t[n]))return!1;return!0}function Gi(e,t,n,r,o,i){if(Vi=i,Hi=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,zi.current=null===e||null===e.memoizedState?ga:va,e=n(r,o),t.expirationTime===Vi){i=0;do{if(t.expirationTime=0,!(25>i))throw Error(a(301));i+=1,qi=Bi=null,t.updateQueue=null,zi.current=ba,e=n(r,o)}while(t.expirationTime===Vi)}if(zi.current=ma,t=null!==Bi&&null!==Bi.next,Vi=0,qi=Bi=Hi=null,Wi=!1,t)throw Error(a(300));return e}function Xi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===qi?Hi.memoizedState=qi=e:qi=qi.next=e,qi}function Qi(){if(null===Bi){var e=Hi.alternate;e=null!==e?e.memoizedState:null}else e=Bi.next;var t=null===qi?Hi.memoizedState:qi.next;if(null!==t)qi=t,Bi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Bi=e).memoizedState,baseState:Bi.baseState,baseQueue:Bi.baseQueue,queue:Bi.queue,next:null},null===qi?Hi.memoizedState=qi=e:qi=qi.next=e}return qi}function Ki(e,t){return"function"===typeof t?t(e):t}function Zi(e){var t=Qi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Bi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=u=i=null,c=o;do{var s=c.expirationTime;if(s<Vi){var f={expirationTime:c.expirationTime,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(u=l=f,i=r):l=l.next=f,s>Hi.expirationTime&&(Hi.expirationTime=s,al(s))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:c.suspenseConfig,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),il(s,c.suspenseConfig),r=c.eagerReducer===e?c.eagerState:e(r,c.action);c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=u,Fr(r,t.memoizedState)||(Ca=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Ji(e){var t=Qi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=e(i,u.action),u=u.next}while(u!==o);Fr(i,t.memoizedState)||(Ca=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ea(e){var t=Xi();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Ki,lastRenderedState:e}).dispatch=ya.bind(null,Hi,e),[t.memoizedState,e]}function ta(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Hi.updateQueue)?(t={lastEffect:null},Hi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function na(){return Qi().memoizedState}function ra(e,t,n,r){var o=Xi();Hi.effectTag|=e,o.memoizedState=ta(1|t,n,void 0,void 0===r?null:r)}function oa(e,t,n,r){var o=Qi();r=void 0===r?null:r;var i=void 0;if(null!==Bi){var a=Bi.memoizedState;if(i=a.destroy,null!==r&&$i(r,a.deps))return void ta(t,n,i,r)}Hi.effectTag|=e,o.memoizedState=ta(1|t,n,i,r)}function ia(e,t){return ra(516,4,e,t)}function aa(e,t){return oa(516,4,e,t)}function ua(e,t){return oa(4,2,e,t)}function la(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function ca(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,oa(4,2,la.bind(null,t,e),n)}function sa(){}function fa(e,t){return Xi().memoizedState=[e,void 0===t?null:t],e}function pa(e,t){var n=Qi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$i(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ha(e,t){var n=Qi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&$i(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function da(e,t,n){var r=Vo();Bo(98>r?98:r,(function(){e(!0)})),Bo(97<r?97:r,(function(){var r=Ui.suspense;Ui.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ui.suspense=r}}))}function ya(e,t,n){var r=Yu(),o=hi.suspense;o={expirationTime:r=$u(r,e,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===Hi||null!==i&&i===Hi)Wi=!0,o.expirationTime=Vi,Hi.expirationTime=Vi;else{if(0===e.expirationTime&&(null===i||0===i.expirationTime)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,u=i(a,n);if(o.eagerReducer=i,o.eagerState=u,Fr(u,a))return}catch(l){}Gu(e,r)}}var ma={readContext:oi,useCallback:Yi,useContext:Yi,useEffect:Yi,useImperativeHandle:Yi,useLayoutEffect:Yi,useMemo:Yi,useReducer:Yi,useRef:Yi,useState:Yi,useDebugValue:Yi,useResponder:Yi,useDeferredValue:Yi,useTransition:Yi},ga={readContext:oi,useCallback:fa,useContext:oi,useEffect:ia,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ra(4,2,la.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ra(4,2,e,t)},useMemo:function(e,t){var n=Xi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Xi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ya.bind(null,Hi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Xi().memoizedState=e},useState:ea,useDebugValue:sa,useResponder:Ii,useDeferredValue:function(e,t){var n=ea(e),r=n[0],o=n[1];return ia((function(){var n=Ui.suspense;Ui.suspense=void 0===t?null:t;try{o(e)}finally{Ui.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ea(!1),n=t[0];return t=t[1],[fa(da.bind(null,t,e),[t,e]),n]}},va={readContext:oi,useCallback:pa,useContext:oi,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:ua,useMemo:ha,useReducer:Zi,useRef:na,useState:function(){return Zi(Ki)},useDebugValue:sa,useResponder:Ii,useDeferredValue:function(e,t){var n=Zi(Ki),r=n[0],o=n[1];return aa((function(){var n=Ui.suspense;Ui.suspense=void 0===t?null:t;try{o(e)}finally{Ui.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Zi(Ki),n=t[0];return t=t[1],[pa(da.bind(null,t,e),[t,e]),n]}},ba={readContext:oi,useCallback:pa,useContext:oi,useEffect:aa,useImperativeHandle:ca,useLayoutEffect:ua,useMemo:ha,useReducer:Ji,useRef:na,useState:function(){return Ji(Ki)},useDebugValue:sa,useResponder:Ii,useDeferredValue:function(e,t){var n=Ji(Ki),r=n[0],o=n[1];return aa((function(){var n=Ui.suspense;Ui.suspense=void 0===t?null:t;try{o(e)}finally{Ui.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ji(Ki),n=t[0];return t=t[1],[pa(da.bind(null,t,e),[t,e]),n]}},_a=null,xa=null,wa=!1;function ka(e,t){var n=Tl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ta(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Oa(e){if(wa){var t=xa;if(t){var n=t;if(!Ta(e,t)){if(!(t=xn(n.nextSibling))||!Ta(e,t))return e.effectTag=-1025&e.effectTag|2,wa=!1,void(_a=e);ka(_a,n)}_a=e,xa=xn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,wa=!1,_a=e}}function Ea(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;_a=e}function Sa(e){if(e!==_a)return!1;if(!wa)return Ea(e),wa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!vn(t,e.memoizedProps))for(t=xa;t;)ka(e,t),t=xn(t.nextSibling);if(Ea(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){xa=xn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}xa=null}}else xa=_a?xn(e.stateNode.nextSibling):null;return!0}function Pa(){xa=_a=null,wa=!1}var Ma=Q.ReactCurrentOwner,Ca=!1;function Aa(e,t,n,r){t.child=null===e?Ei(t,null,n,r):Oi(t,e.child,n,r)}function Na(e,t,n,r,o){n=n.render;var i=t.ref;return ri(t,o),r=Gi(e,t,n,r,i,o),null===e||Ca?(t.effectTag|=1,Aa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ga(e,t,o))}function ja(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!==typeof a||Ol(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Sl(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ra(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:zr)(o,r)&&e.ref===t.ref)?Ga(e,t,i):(t.effectTag|=1,(e=El(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ra(e,t,n,r,o,i){return null!==e&&zr(e.memoizedProps,r)&&e.ref===t.ref&&(Ca=!1,o<i)?(t.expirationTime=e.expirationTime,Ga(e,t,i)):Da(e,t,n,r,i)}function La(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Da(e,t,n,r,o){var i=mo(n)?ho:fo.current;return i=yo(t,i),ri(t,o),n=Gi(e,t,n,r,i,o),null===e||Ca?(t.effectTag|=1,Aa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),Ga(e,t,o))}function Fa(e,t,n,r,o){if(mo(n)){var i=!0;_o(t)}else i=!1;if(ri(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),vi(t,n,r),_i(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,u=t.memoizedProps;a.props=u;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=oi(c):c=yo(t,c=mo(n)?ho:fo.current);var s=n.getDerivedStateFromProps,f="function"===typeof s||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||l!==c)&&bi(t,a,r,c),ii=!1;var p=t.memoizedState;a.state=p,fi(t,r,a,o),l=t.memoizedState,u!==r||p!==l||po.current||ii?("function"===typeof s&&(yi(t,n,s,r),l=t.memoizedState),(u=ii||gi(t,n,u,r,p,l,c))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=u):("function"===typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,ui(e,t),u=t.memoizedProps,a.props=t.type===t.elementType?u:Xo(t.type,u),l=a.context,"object"===typeof(c=n.contextType)&&null!==c?c=oi(c):c=yo(t,c=mo(n)?ho:fo.current),(f="function"===typeof(s=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(u!==r||l!==c)&&bi(t,a,r,c),ii=!1,l=t.memoizedState,a.state=l,fi(t,r,a,o),p=t.memoizedState,u!==r||l!==p||po.current||ii?("function"===typeof s&&(yi(t,n,s,r),p=t.memoizedState),(s=ii||gi(t,n,u,r,l,p,c))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=s):("function"!==typeof a.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Ia(e,t,n,r,i,o)}function Ia(e,t,n,r,o,i){La(e,t);var a=0!==(64&t.effectTag);if(!r&&!a)return o&&xo(t,n,!1),Ga(e,t,i);r=t.stateNode,Ma.current=t;var u=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=Oi(t,e.child,null,i),t.child=Oi(t,null,u,i)):Aa(e,t,u,i),t.memoizedState=r.state,o&&xo(t,n,!0),t.child}function za(e){var t=e.stateNode;t.pendingContext?vo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&vo(0,t.context,!1),Ni(e,t.containerInfo)}var Ua,Va,Ha,Ba={dehydrated:null,retryTime:0};function qa(e,t,n){var r,o=t.mode,i=t.pendingProps,a=Di.current,u=!1;if((r=0!==(64&t.effectTag))||(r=0!==(2&a)&&(null===e||null!==e.memoizedState)),r?(u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),co(Di,1&a),null===e){if(void 0!==i.fallback&&Oa(t),u){if(u=i.fallback,(i=Pl(null,o,0,null)).return=t,0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Pl(u,o,n,null)).return=t,i.sibling=n,t.memoizedState=Ba,t.child=i,n}return o=i.children,t.memoizedState=null,t.child=Ei(t,null,o,n)}if(null!==e.memoizedState){if(o=(e=e.child).sibling,u){if(i=i.fallback,(n=El(e,e.pendingProps)).return=t,0===(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(o=El(o,i)).return=t,n.sibling=o,n.childExpirationTime=0,t.memoizedState=Ba,t.child=n,o}return n=Oi(t,e.child,i.children,n),t.memoizedState=null,t.child=n}if(e=e.child,u){if(u=i.fallback,(i=Pl(null,o,0,null)).return=t,i.child=e,null!==e&&(e.return=i),0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,i.child=e;null!==e;)e.return=i,e=e.sibling;return(n=Pl(u,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,i.childExpirationTime=0,t.memoizedState=Ba,t.child=i,n}return t.memoizedState=null,t.child=Oi(t,e,i.children,n)}function Wa(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ni(e.return,t)}function Ya(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=o,a.lastEffect=i)}function $a(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Aa(e,t,r.children,n),0!==(2&(r=Di.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Wa(e,n);else if(19===e.tag)Wa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(co(Di,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Fi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ya(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Fi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ya(t,!0,n,null,i,t.lastEffect);break;case"together":Ya(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ga(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&al(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=El(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=El(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Xa(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Qa(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return mo(t.type)&&go(),null;case 3:return ji(),lo(po),lo(fo),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Sa(t)||(t.effectTag|=4),null;case 5:Li(t),n=Ai(Ci.current);var i=t.type;if(null!==e&&null!=t.stateNode)Va(e,t,i,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ai(Pi.current),Sa(t)){r=t.stateNode,i=t.type;var u=t.memoizedProps;switch(r[Tn]=t,r[On]=u,i){case"iframe":case"object":case"embed":$t("load",r);break;case"video":case"audio":for(e=0;e<Qe.length;e++)$t(Qe[e],r);break;case"source":$t("error",r);break;case"img":case"image":case"link":$t("error",r),$t("load",r);break;case"form":$t("reset",r),$t("submit",r);break;case"details":$t("toggle",r);break;case"input":ke(r,u),$t("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},$t("invalid",r),ln(n,"onChange");break;case"textarea":Ae(r,u),$t("invalid",r),ln(n,"onChange")}for(var l in on(i,u),e=null,u)if(u.hasOwnProperty(l)){var c=u[l];"children"===l?"string"===typeof c?r.textContent!==c&&(e=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(e=["children",""+c]):T.hasOwnProperty(l)&&null!=c&&ln(n,l)}switch(i){case"input":_e(r),Ee(r,u,!0);break;case"textarea":_e(r),je(r);break;case"select":case"option":break;default:"function"===typeof u.onClick&&(r.onclick=cn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===un&&(e=De(i)),e===un?"script"===i?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(i,{is:r.is}):(e=l.createElement(i),"select"===i&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,i),e[Tn]=t,e[On]=r,Ua(e,t),t.stateNode=e,l=an(i,r),i){case"iframe":case"object":case"embed":$t("load",e),c=r;break;case"video":case"audio":for(c=0;c<Qe.length;c++)$t(Qe[c],e);c=r;break;case"source":$t("error",e),c=r;break;case"img":case"image":case"link":$t("error",e),$t("load",e),c=r;break;case"form":$t("reset",e),$t("submit",e),c=r;break;case"details":$t("toggle",e),c=r;break;case"input":ke(e,r),c=we(e,r),$t("invalid",e),ln(n,"onChange");break;case"option":c=Pe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},c=o({},r,{value:void 0}),$t("invalid",e),ln(n,"onChange");break;case"textarea":Ae(e,r),c=Ce(e,r),$t("invalid",e),ln(n,"onChange");break;default:c=r}on(i,c);var s=c;for(u in s)if(s.hasOwnProperty(u)){var f=s[u];"style"===u?nn(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&ze(e,f):"children"===u?"string"===typeof f?("textarea"!==i||""!==f)&&Ue(e,f):"number"===typeof f&&Ue(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(T.hasOwnProperty(u)?null!=f&&ln(n,u):null!=f&&K(e,u,f,l))}switch(i){case"input":_e(e),Ee(e,r,!1);break;case"textarea":_e(e),je(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ve(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Me(e,!!r.multiple,n,!1):null!=r.defaultValue&&Me(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof c.onClick&&(e.onclick=cn)}gn(i,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ha(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Ai(Ci.current),Ai(Pi.current),Sa(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return lo(Di),r=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Sa(t):(r=null!==(i=e.memoizedState),n||null===i||null!==(i=e.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=i,i.nextEffect=u):(t.firstEffect=t.lastEffect=i,i.nextEffect=null),i.effectTag=8)),n&&!r&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Di.current)?Su===_u&&(Su=xu):(Su!==_u&&Su!==xu||(Su=wu),0!==Nu&&null!==Tu&&(jl(Tu,Eu),Rl(Tu,Nu)))),(n||r)&&(t.effectTag|=4),null);case 4:return ji(),null;case 10:return ti(t),null;case 17:return mo(t.type)&&go(),null;case 19:if(lo(Di),null===(r=t.memoizedState))return null;if(i=0!==(64&t.effectTag),null===(u=r.rendering)){if(i)Xa(r,!1);else if(Su!==_u||null!==e&&0!==(64&e.effectTag))for(u=t.child;null!==u;){if(null!==(e=Fi(u))){for(t.effectTag|=64,Xa(r,!1),null!==(i=e.updateQueue)&&(t.updateQueue=i,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)u=n,(i=r).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(e=i.alternate)?(i.childExpirationTime=0,i.expirationTime=u,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=e.childExpirationTime,i.expirationTime=e.expirationTime,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,u=e.dependencies,i.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return co(Di,1&Di.current|2),t.child}u=u.sibling}}else{if(!i)if(null!==(e=Fi(u))){if(t.effectTag|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Xa(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Uo()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,i=!0,Xa(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Uo()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Uo(),n.sibling=null,t=Di.current,co(Di,i?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function Ka(e){switch(e.tag){case 1:mo(e.type)&&go();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(ji(),lo(po),lo(fo),0!==(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Li(e),null;case 13:return lo(Di),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return lo(Di),null;case 4:return ji(),null;case 10:return ti(e),null;default:return null}}function Za(e,t){return{value:e,source:t,stack:ge(t)}}Ua=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Va=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var u,l,c=t.stateNode;switch(Ai(Pi.current),e=null,n){case"input":a=we(c,a),r=we(c,r),e=[];break;case"option":a=Pe(c,a),r=Pe(c,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=Ce(c,a),r=Ce(c,r),e=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(c.onclick=cn)}for(u in on(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u)for(l in c=a[u])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(T.hasOwnProperty(u)?e||(e=[]):(e=e||[]).push(u,null));for(u in r){var s=r[u];if(c=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&s!==c&&(null!=s||null!=c))if("style"===u)if(c){for(l in c)!c.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&c[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(e||(e=[]),e.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(u,s)):"children"===u?c===s||"string"!==typeof s&&"number"!==typeof s||(e=e||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(T.hasOwnProperty(u)?(null!=s&&ln(i,u),e||c===s||(e=[])):(e=e||[]).push(u,s))}n&&(e=e||[]).push("style",n),i=e,(t.updateQueue=i)&&(t.effectTag|=4)}},Ha=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Ja="function"===typeof WeakSet?WeakSet:Set;function eu(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&me(n.type),t=t.value,null!==e&&1===e.tag&&me(e.type);try{console.error(t)}catch(o){setTimeout((function(){throw o}))}}function tu(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){vl(e,n)}else t.current=null}function nu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(a(163))}function ru(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function ou(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void ou(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Xo(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&pi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}pi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&gn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Dt(n)))));case 19:case 17:case 20:case 21:return}throw Error(a(163))}function au(e,t,n){switch("function"===typeof wl&&wl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Bo(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var o=t;try{n()}catch(i){vl(o,i)}}e=e.next}while(e!==r)}))}break;case 1:tu(t),"function"===typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){vl(e,n)}}(t,n);break;case 5:tu(t);break;case 4:su(e,t,n)}}function uu(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&uu(t)}function lu(e){return 5===e.tag||3===e.tag||4===e.tag}function cu(e){e:{for(var t=e.return;null!==t;){if(lu(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ue(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||lu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=cn));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function su(e,t,n){for(var r,o,i=t,u=!1;;){if(!u){u=i.return;e:for(;;){if(null===u)throw Error(a(160));switch(r=u.stateNode,u.tag){case 5:o=!1;break e;case 3:case 4:r=r.containerInfo,o=!0;break e}u=u.return}u=!0}if(5===i.tag||6===i.tag){e:for(var l=e,c=i,s=n,f=c;;)if(au(l,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break e;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}o?(l=r,c=i.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(i.stateNode)}else if(4===i.tag){if(null!==i.child){r=i.stateNode.containerInfo,o=!0,i.child.return=i,i=i.child;continue}}else if(au(e,i,n),null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;4===(i=i.return).tag&&(u=!1)}i.sibling.return=i.return,i=i.sibling}}function fu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ru(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[On]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Te(n,r),an(e,o),t=an(e,r),o=0;o<i.length;o+=2){var u=i[o],l=i[o+1];"style"===u?nn(n,l):"dangerouslySetInnerHTML"===u?ze(n,l):"children"===u?Ue(n,l):K(n,u,l,t)}switch(e){case"input":Oe(n,r);break;case"textarea":Ne(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Me(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Me(n,!!r.multiple,r.defaultValue,!0):Me(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Dt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ru=Uo()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"===typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=void 0!==(o=e.memoizedProps.style)&&null!==o&&o.hasOwnProperty("display")?o.display:null,i.style.display=tn("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void pu(t);case 19:return void pu(t);case 17:return}throw Error(a(163))}function pu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ja),t.forEach((function(t){var r=_l.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var hu="function"===typeof WeakMap?WeakMap:Map;function du(e,t,n){(n=li(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Du||(Du=!0,Fu=r),eu(e,t)},n}function yu(e,t,n){(n=li(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return eu(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Iu?Iu=new Set([this]):Iu.add(this),eu(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var mu,gu=Math.ceil,vu=Q.ReactCurrentDispatcher,bu=Q.ReactCurrentOwner,_u=0,xu=3,wu=4,ku=0,Tu=null,Ou=null,Eu=0,Su=_u,Pu=null,Mu=1073741823,Cu=1073741823,Au=null,Nu=0,ju=!1,Ru=0,Lu=null,Du=!1,Fu=null,Iu=null,zu=!1,Uu=null,Vu=90,Hu=null,Bu=0,qu=null,Wu=0;function Yu(){return 0!==(48&ku)?1073741821-(Uo()/10|0):0!==Wu?Wu:Wu=1073741821-(Uo()/10|0)}function $u(e,t,n){if(0===(2&(t=t.mode)))return 1073741823;var r=Vo();if(0===(4&t))return 99===r?1073741823:1073741822;if(0!==(16&ku))return Eu;if(null!==n)e=Go(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Go(e,150,100);break;case 97:case 96:e=Go(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==Tu&&e===Eu&&--e,e}function Gu(e,t){if(50<Bu)throw Bu=0,qu=null,Error(a(185));if(null!==(e=Xu(e,t))){var n=Vo();1073741823===t?0!==(8&ku)&&0===(48&ku)?Ju(e):(Ku(e),0===ku&&Yo()):Ku(e),0===(4&ku)||98!==n&&99!==n||(null===Hu?Hu=new Map([[e,t]]):(void 0===(n=Hu.get(e))||n>t)&&Hu.set(e,t))}}function Xu(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(Tu===o&&(al(t),Su===wu&&jl(o,Eu)),Rl(o,t)),o}function Qu(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Nl(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Ku(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Wo(Ju.bind(null,e));else{var t=Qu(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Yu();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==jo&&To(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Wo(Ju.bind(null,e)):qo(r,Zu.bind(null,e),{timeout:10*(1073741821-t)-Uo()}),e.callbackNode=t}}}function Zu(e,t){if(Wu=0,t)return Ll(e,t=Yu()),Ku(e),null;var n=Qu(e);if(0!==n){if(t=e.callbackNode,0!==(48&ku))throw Error(a(327));if(yl(),e===Tu&&n===Eu||nl(e,n),null!==Ou){var r=ku;ku|=16;for(var o=ol();;)try{ll();break}catch(l){rl(e,l)}if(ei(),ku=r,vu.current=o,1===Su)throw t=Pu,nl(e,n),jl(e,n),Ku(e),t;if(null===Ou)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Su,Tu=null,r){case _u:case 1:throw Error(a(345));case 2:Ll(e,2<n?2:n);break;case xu:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),1073741823===Mu&&10<(o=Ru+500-Uo())){if(ju){var i=e.lastPingedTime;if(0===i||i>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(i=Qu(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(pl.bind(null,e),o);break}pl(e);break;case wu:if(jl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(o)),ju&&(0===(o=e.lastPingedTime)||o>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(o=Qu(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Cu?r=10*(1073741821-Cu)-Uo():1073741823===Mu?r=0:(r=10*(1073741821-Mu)-5e3,0>(r=(o=Uo())-r)&&(r=0),(n=10*(1073741821-n)-o)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gu(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(pl.bind(null,e),r);break}pl(e);break;case 5:if(1073741823!==Mu&&null!==Au){i=Mu;var u=Au;if(0>=(r=0|u.busyMinDurationMs)?r=0:(o=0|u.busyDelayMs,r=(i=Uo()-(10*(1073741821-i)-(0|u.timeoutMs||5e3)))<=o?0:o+r-i),10<r){jl(e,n),e.timeoutHandle=bn(pl.bind(null,e),r);break}}pl(e);break;default:throw Error(a(329))}if(Ku(e),e.callbackNode===t)return Zu.bind(null,e)}}return null}function Ju(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!==(48&ku))throw Error(a(327));if(yl(),e===Tu&&t===Eu||nl(e,t),null!==Ou){var n=ku;ku|=16;for(var r=ol();;)try{ul();break}catch(o){rl(e,o)}if(ei(),ku=n,vu.current=r,1===Su)throw n=Pu,nl(e,t),jl(e,t),Ku(e),n;if(null!==Ou)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Tu=null,pl(e),Ku(e)}return null}function el(e,t){var n=ku;ku|=1;try{return e(t)}finally{0===(ku=n)&&Yo()}}function tl(e,t){var n=ku;ku&=-2,ku|=8;try{return e(t)}finally{0===(ku=n)&&Yo()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,_n(n)),null!==Ou)for(n=Ou.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&go();break;case 3:ji(),lo(po),lo(fo);break;case 5:Li(r);break;case 4:ji();break;case 13:case 19:lo(Di);break;case 10:ti(r)}n=n.return}Tu=e,Ou=El(e.current,null),Eu=t,Su=_u,Pu=null,Cu=Mu=1073741823,Au=null,Nu=0,ju=!1}function rl(e,t){for(;;){try{if(ei(),zi.current=ma,Wi)for(var n=Hi.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Vi=0,qi=Bi=Hi=null,Wi=!1,null===Ou||null===Ou.return)return Su=1,Pu=t,Ou=null;e:{var o=e,i=Ou.return,a=Ou,u=t;if(t=Eu,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==u&&"object"===typeof u&&"function"===typeof u.then){var l=u;if(0===(2&a.mode)){var c=a.alternate;c?(a.updateQueue=c.updateQueue,a.memoizedState=c.memoizedState,a.expirationTime=c.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var s=0!==(1&Di.current),f=i;do{var p;if(p=13===f.tag){var h=f.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var d=f.memoizedProps;p=void 0!==d.fallback&&(!0!==d.unstable_avoidThisFallback||!s)}}if(p){var y=f.updateQueue;if(null===y){var m=new Set;m.add(l),f.updateQueue=m}else y.add(l);if(0===(2&f.mode)){if(f.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=li(1073741823,null);g.tag=2,ci(a,g)}a.expirationTime=1073741823;break e}u=void 0,a=t;var v=o.pingCache;if(null===v?(v=o.pingCache=new hu,u=new Set,v.set(l,u)):void 0===(u=v.get(l))&&(u=new Set,v.set(l,u)),!u.has(a)){u.add(a);var b=bl.bind(null,o,l,a);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);u=Error((me(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(a))}5!==Su&&(Su=2),u=Za(u,a),f=i;do{switch(f.tag){case 3:l=u,f.effectTag|=4096,f.expirationTime=t,si(f,du(f,l,t));break e;case 1:l=u;var _=f.type,x=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof _.getDerivedStateFromError||null!==x&&"function"===typeof x.componentDidCatch&&(null===Iu||!Iu.has(x)))){f.effectTag|=4096,f.expirationTime=t,si(f,yu(f,l,t));break e}}f=f.return}while(null!==f)}Ou=sl(Ou)}catch(w){t=w;continue}break}}function ol(){var e=vu.current;return vu.current=ma,null===e?ma:e}function il(e,t){e<Mu&&2<e&&(Mu=e),null!==t&&e<Cu&&2<e&&(Cu=e,Au=t)}function al(e){e>Nu&&(Nu=e)}function ul(){for(;null!==Ou;)Ou=cl(Ou)}function ll(){for(;null!==Ou&&!Ro();)Ou=cl(Ou)}function cl(e){var t=mu(e.alternate,e,Eu);return e.memoizedProps=e.pendingProps,null===t&&(t=sl(e)),bu.current=null,t}function sl(e){Ou=e;do{var t=Ou.alternate;if(e=Ou.return,0===(2048&Ou.effectTag)){if(t=Qa(t,Ou,Eu),1===Eu||1!==Ou.childExpirationTime){for(var n=0,r=Ou.child;null!==r;){var o=r.expirationTime,i=r.childExpirationTime;o>n&&(n=o),i>n&&(n=i),r=r.sibling}Ou.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ou.firstEffect),null!==Ou.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ou.firstEffect),e.lastEffect=Ou.lastEffect),1<Ou.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ou:e.firstEffect=Ou,e.lastEffect=Ou))}else{if(null!==(t=Ka(Ou)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ou.sibling))return t;Ou=e}while(null!==Ou);return Su===_u&&(Su=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function pl(e){var t=Vo();return Bo(99,hl.bind(null,e,t)),null}function hl(e,t){do{yl()}while(null!==Uu);if(0!==(48&ku))throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var o=fl(n);if(e.firstPendingTime=o,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Tu&&(Ou=Tu=null,Eu=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){var i=ku;ku|=32,bu.current=null,yn=Yt;var u=hn();if(dn(u)){if("selectionStart"in u)var l={start:u.selectionStart,end:u.selectionEnd};else e:{var c=(l=(l=u.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{l.nodeType,f.nodeType}catch(E){l=null;break e}var p=0,h=-1,d=-1,y=0,m=0,g=u,v=null;t:for(;;){for(var b;g!==l||0!==s&&3!==g.nodeType||(h=p+s),g!==f||0!==c&&3!==g.nodeType||(d=p+c),3===g.nodeType&&(p+=g.nodeValue.length),null!==(b=g.firstChild);)v=g,g=b;for(;;){if(g===u)break t;if(v===l&&++y===s&&(h=p),v===f&&++m===c&&(d=p),null!==(b=g.nextSibling))break;v=(g=v).parentNode}g=b}l=-1===h||-1===d?null:{start:h,end:d}}else l=null}l=l||{start:0,end:0}}else l=null;mn={activeElementDetached:null,focusedElem:u,selectionRange:l},Yt=!1,Lu=o;do{try{dl()}catch(E){if(null===Lu)throw Error(a(330));vl(Lu,E),Lu=Lu.nextEffect}}while(null!==Lu);Lu=o;do{try{for(u=e,l=t;null!==Lu;){var _=Lu.effectTag;if(16&_&&Ue(Lu.stateNode,""),128&_){var x=Lu.alternate;if(null!==x){var w=x.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&_){case 2:cu(Lu),Lu.effectTag&=-3;break;case 6:cu(Lu),Lu.effectTag&=-3,fu(Lu.alternate,Lu);break;case 1024:Lu.effectTag&=-1025;break;case 1028:Lu.effectTag&=-1025,fu(Lu.alternate,Lu);break;case 4:fu(Lu.alternate,Lu);break;case 8:su(u,s=Lu,l),uu(s)}Lu=Lu.nextEffect}}catch(E){if(null===Lu)throw Error(a(330));vl(Lu,E),Lu=Lu.nextEffect}}while(null!==Lu);if(w=mn,x=hn(),_=w.focusedElem,l=w.selectionRange,x!==_&&_&&_.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(_.ownerDocument.documentElement,_)){null!==l&&dn(_)&&(x=l.start,void 0===(w=l.end)&&(w=x),"selectionStart"in _?(_.selectionStart=x,_.selectionEnd=Math.min(w,_.value.length)):(w=(x=_.ownerDocument||document)&&x.defaultView||window).getSelection&&(w=w.getSelection(),s=_.textContent.length,u=Math.min(l.start,s),l=void 0===l.end?u:Math.min(l.end,s),!w.extend&&u>l&&(s=l,l=u,u=s),s=pn(_,u),f=pn(_,l),s&&f&&(1!==w.rangeCount||w.anchorNode!==s.node||w.anchorOffset!==s.offset||w.focusNode!==f.node||w.focusOffset!==f.offset)&&((x=x.createRange()).setStart(s.node,s.offset),w.removeAllRanges(),u>l?(w.addRange(x),w.extend(f.node,f.offset)):(x.setEnd(f.node,f.offset),w.addRange(x))))),x=[];for(w=_;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof _.focus&&_.focus(),_=0;_<x.length;_++)(w=x[_]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Yt=!!yn,mn=yn=null,e.current=n,Lu=o;do{try{for(_=e;null!==Lu;){var k=Lu.effectTag;if(36&k&&iu(_,Lu.alternate,Lu),128&k){x=void 0;var T=Lu.ref;if(null!==T){var O=Lu.stateNode;switch(Lu.tag){case 5:x=O;break;default:x=O}"function"===typeof T?T(x):T.current=x}}Lu=Lu.nextEffect}}catch(E){if(null===Lu)throw Error(a(330));vl(Lu,E),Lu=Lu.nextEffect}}while(null!==Lu);Lu=null,Lo(),ku=i}else e.current=n;if(zu)zu=!1,Uu=e,Vu=t;else for(Lu=o;null!==Lu;)t=Lu.nextEffect,Lu.nextEffect=null,Lu=t;if(0===(t=e.firstPendingTime)&&(Iu=null),1073741823===t?e===qu?Bu++:(Bu=0,qu=e):Bu=0,"function"===typeof xl&&xl(n.stateNode,r),Ku(e),Du)throw Du=!1,e=Fu,Fu=null,e;return 0!==(8&ku)||Yo(),null}function dl(){for(;null!==Lu;){var e=Lu.effectTag;0!==(256&e)&&nu(Lu.alternate,Lu),0===(512&e)||zu||(zu=!0,qo(97,(function(){return yl(),null}))),Lu=Lu.nextEffect}}function yl(){if(90!==Vu){var e=97<Vu?97:Vu;return Vu=90,Bo(e,ml)}}function ml(){if(null===Uu)return!1;var e=Uu;if(Uu=null,0!==(48&ku))throw Error(a(331));var t=ku;for(ku|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ru(5,n),ou(5,n)}}catch(r){if(null===e)throw Error(a(330));vl(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return ku=t,Yo(),!0}function gl(e,t,n){ci(e,t=du(e,t=Za(n,t),1073741823)),null!==(e=Xu(e,1073741823))&&Ku(e)}function vl(e,t){if(3===e.tag)gl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){gl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Iu||!Iu.has(r))){ci(n,e=yu(n,e=Za(t,e),1073741823)),null!==(n=Xu(n,1073741823))&&Ku(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Tu===e&&Eu===n?Su===wu||Su===xu&&1073741823===Mu&&Uo()-Ru<500?nl(e,Eu):ju=!0:Nl(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Ku(e)))}function _l(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=$u(t=Yu(),e,null)),null!==(e=Xu(e,t))&&Ku(e)}mu=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||po.current)Ca=!0;else{if(r<n){switch(Ca=!1,t.tag){case 3:za(t),Pa();break;case 5:if(Ri(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:mo(t.type)&&_o(t);break;case 4:Ni(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,o=t.type._context,co(Qo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?qa(e,t,n):(co(Di,1&Di.current),null!==(t=Ga(e,t,n))?t.sibling:null);co(Di,1&Di.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return $a(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),co(Di,Di.current),!r)return null}return Ga(e,t,n)}Ca=!1}}else Ca=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=yo(t,fo.current),ri(t,n),o=Gi(null,t,r,e,o,n),t.effectTag|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mo(r)){var i=!0;_o(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ai(t);var u=r.getDerivedStateFromProps;"function"===typeof u&&yi(t,r,u,e),o.updater=mi,t.stateNode=o,o._reactInternalFiber=t,_i(t,r,e,n),t=Ia(null,t,r,!0,i,n)}else t.tag=0,Aa(null,t,o,n),t=t.child;return t;case 16:e:{if(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(o),1!==o._status)throw o._result;switch(o=o._result,t.type=o,i=t.tag=function(e){if("function"===typeof e)return Ol(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(o),e=Xo(o,e),i){case 0:t=Da(null,t,o,e,n);break e;case 1:t=Fa(null,t,o,e,n);break e;case 11:t=Na(null,t,o,e,n);break e;case 14:t=ja(null,t,o,Xo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Da(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Fa(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 3:if(za(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ui(e,t),fi(t,r,null,n),(r=t.memoizedState.element)===o)Pa(),t=Ga(e,t,n);else{if((o=t.stateNode.hydrate)&&(xa=xn(t.stateNode.containerInfo.firstChild),_a=t,o=wa=!0),o)for(n=Ei(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Aa(e,t,r,n),Pa();t=t.child}return t;case 5:return Ri(t),null===e&&Oa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,u=o.children,vn(r,o)?u=null:null!==i&&vn(r,i)&&(t.effectTag|=16),La(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Aa(e,t,u,n),t=t.child),t;case 6:return null===e&&Oa(t),null;case 13:return qa(e,t,n);case 4:return Ni(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Oi(t,null,r,n):Aa(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Na(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 7:return Aa(e,t,t.pendingProps,n),t.child;case 8:case 12:return Aa(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,u=t.memoizedProps,i=o.value;var l=t.type._context;if(co(Qo,l._currentValue),l._currentValue=i,null!==u)if(l=u.value,0===(i=Fr(l,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(u.children===o.children&&!po.current){t=Ga(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!==(s.observedBits&i)){1===l.tag&&((s=li(n,null)).tag=2,ci(l,s)),l.expirationTime<n&&(l.expirationTime=n),null!==(s=l.alternate)&&s.expirationTime<n&&(s.expirationTime=n),ni(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else u=10===l.tag&&l.type===t.type?null:l.child;if(null!==u)u.return=l;else for(u=l;null!==u;){if(u===t){u=null;break}if(null!==(l=u.sibling)){l.return=u.return,u=l;break}u=u.return}l=u}Aa(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ri(t,n),r=r(o=oi(o,i.unstable_observedBits)),t.effectTag|=1,Aa(e,t,r,n),t.child;case 14:return i=Xo(o=t.type,t.pendingProps),ja(e,t,o,i=Xo(o.type,i),r,n);case 15:return Ra(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,mo(r)?(e=!0,_o(t)):e=!1,ri(t,n),vi(t,r,o),_i(t,r,o,n),Ia(null,t,r,!0,e,n);case 19:return $a(e,t,n)}throw Error(a(156,t.tag))};var xl=null,wl=null;function kl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Tl(e,t,n,r){return new kl(e,t,n,r)}function Ol(e){return!(!(e=e.prototype)||!e.isReactComponent)}function El(e,t){var n=e.alternate;return null===n?((n=Tl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Sl(e,t,n,r,o,i){var u=2;if(r=e,"function"===typeof e)Ol(e)&&(u=1);else if("string"===typeof e)u=5;else e:switch(e){case ne:return Pl(n.children,o,i,t);case ue:u=8,o|=7;break;case re:u=8,o|=1;break;case oe:return(e=Tl(12,n,t,8|o)).elementType=oe,e.type=oe,e.expirationTime=i,e;case ce:return(e=Tl(13,n,t,o)).type=ce,e.elementType=ce,e.expirationTime=i,e;case se:return(e=Tl(19,n,t,o)).elementType=se,e.expirationTime=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case ie:u=10;break e;case ae:u=9;break e;case le:u=11;break e;case fe:u=14;break e;case pe:u=16,r=null;break e;case he:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Tl(u,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Pl(e,t,n,r){return(e=Tl(7,e,r,t)).expirationTime=n,e}function Ml(e,t,n){return(e=Tl(6,e,null,t)).expirationTime=n,e}function Cl(e,t,n){return(t=Tl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Al(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Nl(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function jl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Rl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Ll(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Dl(e,t,n,r){var o=t.current,i=Yu(),u=hi.suspense;i=$u(i,o,u);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(mo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(mo(c)){n=bo(n,c,l);break e}}n=l}else n=so;return null===t.context?t.context=n:t.pendingContext=n,(t=li(i,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),ci(o,t),Gu(o,i),i}function Fl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Il(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function zl(e,t){Il(e,t),(e=e.alternate)&&Il(e,t)}function Ul(e,t,n){var r=new Al(e,t,n=null!=n&&!0===n.hydrate),o=Tl(3,null,null,2===t?7:1===t?3:0);r.current=o,o.stateNode=r,ai(o),e[En]=r.current,n&&0!==t&&function(e,t){var n=Ze(t);Et.forEach((function(e){dt(e,t,n)})),St.forEach((function(e){dt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Vl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"===typeof o){var u=o;o=function(){var e=Fl(a);u.call(e)}}Dl(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ul(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"===typeof o){var l=o;o=function(){var e=Fl(a);l.call(e)}}tl((function(){Dl(t,a,e,o)}))}return Fl(a)}function Bl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ql(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Vl(t))throw Error(a(200));return Bl(e,t,null,n)}Ul.prototype.render=function(e){Dl(e,this._internalRoot,null,null)},Ul.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Dl(null,e,null,(function(){t[En]=null}))},yt=function(e){if(13===e.tag){var t=Go(Yu(),150,100);Gu(e,t),zl(e,t)}},mt=function(e){13===e.tag&&(Gu(e,3),zl(e,3))},gt=function(e){if(13===e.tag){var t=Yu();Gu(e,t=$u(t,e,null)),zl(e,t)}},P=function(e,t,n){switch(t){case"input":if(Oe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=Cn(r);if(!o)throw Error(a(90));xe(r),Oe(r,o)}}}break;case"textarea":Ne(e,n);break;case"select":null!=(t=n.value)&&Me(e,!!n.multiple,t,!1)}},R=el,L=function(e,t,n,r,o){var i=ku;ku|=4;try{return Bo(98,e.bind(null,t,n,r,o))}finally{0===(ku=i)&&Yo()}},D=function(){0===(49&ku)&&(function(){if(null!==Hu){var e=Hu;Hu=null,e.forEach((function(e,t){Ll(t,e),Ku(t)})),Yo()}}(),yl())},F=function(e,t){var n=ku;ku|=2;try{return e(t)}finally{0===(ku=n)&&Yo()}};var Wl={Events:[Pn,Mn,Cn,E,k,Fn,function(e){ot(e,Dn)},N,j,Kt,ut,yl,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);xl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64===(64&e.current.effectTag))}catch(r){}},wl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(o({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Sn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wl,t.createPortal=ql,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!==(48&ku))throw Error(a(187));var n=ku;ku|=1;try{return Bo(99,e.bind(null,t))}finally{ku=n,Yo()}},t.hydrate=function(e,t,n){if(!Vl(t))throw Error(a(200));return Hl(null,e,t,!0,n)},t.render=function(e,t,n){if(!Vl(t))throw Error(a(200));return Hl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Vl(e))throw Error(a(40));return!!e._reactRootContainer&&(tl((function(){Hl(null,null,e,!1,(function(){e._reactRootContainer=null,e[En]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return ql(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vl(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return Hl(e,t,n,!1,r)},t.version="16.14.0"},function(e,t,n){"use strict";e.exports=n(52)},function(e,t,n){"use strict";var r,o,i,a,u;if("undefined"===typeof window||"function"!==typeof MessageChannel){var l=null,c=null,s=function e(){if(null!==l)try{var n=t.unstable_now();l(!0,n),l=null}catch(r){throw setTimeout(e,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(s,0))},o=function(e,t){c=setTimeout(e,t)},i=function(){clearTimeout(c)},a=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,h=window.Date,d=window.setTimeout,y=window.clearTimeout;if("undefined"!==typeof console){var m=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof p&&"function"===typeof p.now)t.unstable_now=function(){return p.now()};else{var g=h.now();t.unstable_now=function(){return h.now()-g}}var v=!1,b=null,_=-1,x=5,w=0;a=function(){return t.unstable_now()>=w},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):x=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,T=k.port2;k.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();w=e+x;try{b(!0,e)?T.postMessage(null):(v=!1,b=null)}catch(n){throw T.postMessage(null),n}}else v=!1},r=function(e){b=e,v||(v=!0,T.postMessage(null))},o=function(e,n){_=d((function(){e(t.unstable_now())}),n)},i=function(){y(_),_=-1}}function O(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<P(o,t)))break e;e[r]=t,e[n]=o,n=r}}function E(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],u=i+1,l=e[u];if(void 0!==a&&0>P(a,n))void 0!==l&&0>P(l,a)?(e[r]=l,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>P(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function P(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var M=[],C=[],A=1,N=null,j=3,R=!1,L=!1,D=!1;function F(e){for(var t=E(C);null!==t;){if(null===t.callback)S(C);else{if(!(t.startTime<=e))break;S(C),t.sortIndex=t.expirationTime,O(M,t)}t=E(C)}}function I(e){if(D=!1,F(e),!L)if(null!==E(M))L=!0,r(z);else{var t=E(C);null!==t&&o(I,t.startTime-e)}}function z(e,n){L=!1,D&&(D=!1,i()),R=!0;var r=j;try{for(F(n),N=E(M);null!==N&&(!(N.expirationTime>n)||e&&!a());){var u=N.callback;if(null!==u){N.callback=null,j=N.priorityLevel;var l=u(N.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?N.callback=l:N===E(M)&&S(M),F(n)}else S(M);N=E(M)}if(null!==N)var c=!0;else{var s=E(C);null!==s&&o(I,s.startTime-n),c=!1}return c}finally{N=null,j=r,R=!1}}function U(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=u;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||R||(L=!0,r(z))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return E(M)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var u=t.unstable_now();if("object"===typeof a&&null!==a){var l=a.delay;l="number"===typeof l&&0<l?u+l:u,a="number"===typeof a.timeout?a.timeout:U(e)}else a=U(e),l=u;return e={id:A++,callback:n,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>u?(e.sortIndex=l,O(C,e),null===E(M)&&e===E(C)&&(D?i():D=!0,o(I,l-u))):(e.sortIndex=a,O(M,e),L||R||(L=!0,r(z))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();F(e);var n=E(M);return n!==N&&null!==N&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<N.expirationTime||a()},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},,function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(E){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=_(a,n);if(u){if(u===s)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=c(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===s)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(E){return{type:"throw",arg:E}}}e.wrap=l;var s={};function f(){}function p(){}function h(){}var d={};d[o]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(T([])));m&&m!==t&&n.call(m,o)&&(d=m);var g=h.prototype=f.prototype=Object.create(d);function v(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,u){var l=c(e[o],e,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(l.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function _(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,_(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=c(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function T(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=g.constructor=h,h.constructor=p,p.displayName=u(h,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,u(e,a,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},v(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new b(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(g),u(g,a,"Generator"),g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(u&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";var r=n(3),o=n(27),i=n(56),a=n(33);function u(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var l=u(n(30));l.Axios=i,l.create=function(e){return u(a(l.defaults,e))},l.Cancel=n(34),l.CancelToken=n(69),l.isCancel=n(29),l.all=function(e){return Promise.all(e)},l.spread=n(70),e.exports=l,e.exports.default=l},function(e,t,n){"use strict";var r=n(3),o=n(28),i=n(57),a=n(58),u=n(33);function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=u(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(u(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(u(r||{},{method:e,url:t,data:n}))}})),e.exports=l},function(e,t,n){"use strict";var r=n(3);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(3),o=n(59),i=n(29),a=n(30);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(32);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(3);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var u=[];u.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&u.push("expires="+new Date(n).toGMTString()),r.isString(o)&&u.push("path="+o),r.isString(i)&&u.push("domain="+i),!0===a&&u.push("secure"),document.cookie=u.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(65),o=n(66);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(3),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var r=n(3);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(34);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r=n(72);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e){return e&&e.__esModule?e:{default:e}}var a=i(n(18)),u=i(n(15)),l=i(n(19)),c=i(n(20)),s=i(n(21)),f=i(n(22)),p=i(n(1)),h=i(n(0)),d=function(e){function t(n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.wasAnimating=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyle=null,this.clearUnreadPropStyle=function(e){var t=!1,n=o.state,i=n.currentStyle,a=n.currentVelocity,u=n.lastIdealStyle,l=n.lastIdealVelocity;for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var s=e[c];"number"===typeof s&&(t||(t=!0,i=r({},i),a=r({},a),u=r({},u),l=r({},l)),i[c]=s,a[c]=0,u[c]=s,l[c]=0)}t&&o.setState({currentStyle:i,currentVelocity:a,lastIdealStyle:u,lastIdealVelocity:l})},this.startAnimationIfNecessary=function(){o.animationID=s.default((function(e){var t=o.props.style;if(f.default(o.state.currentStyle,t,o.state.currentVelocity))return o.wasAnimating&&o.props.onRest&&o.props.onRest(),o.animationID=null,o.wasAnimating=!1,void(o.accumulatedTime=0);o.wasAnimating=!0;var n=e||c.default(),r=n-o.prevTime;if(o.prevTime=n,o.accumulatedTime=o.accumulatedTime+r,o.accumulatedTime>1e3/60*10&&(o.accumulatedTime=0),0===o.accumulatedTime)return o.animationID=null,void o.startAnimationIfNecessary();var i=(o.accumulatedTime-Math.floor(o.accumulatedTime/(1e3/60))*(1e3/60))/(1e3/60),a=Math.floor(o.accumulatedTime/(1e3/60)),u={},s={},p={},h={};for(var d in t)if(Object.prototype.hasOwnProperty.call(t,d)){var y=t[d];if("number"===typeof y)p[d]=y,h[d]=0,u[d]=y,s[d]=0;else{for(var m=o.state.lastIdealStyle[d],g=o.state.lastIdealVelocity[d],v=0;v<a;v++){var b=l.default(1e3/60/1e3,m,g,y.val,y.stiffness,y.damping,y.precision);m=b[0],g=b[1]}var _=l.default(1e3/60/1e3,m,g,y.val,y.stiffness,y.damping,y.precision),x=_[0],w=_[1];p[d]=m+(x-m)*i,h[d]=g+(w-g)*i,u[d]=m,s[d]=g}}o.animationID=null,o.accumulatedTime-=a*(1e3/60),o.setState({currentStyle:p,currentVelocity:h,lastIdealStyle:u,lastIdealVelocity:s}),o.unreadPropStyle=null,o.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",value:{defaultStyle:h.default.objectOf(h.default.number),style:h.default.objectOf(h.default.oneOfType([h.default.number,h.default.object])).isRequired,children:h.default.func.isRequired,onRest:h.default.func},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyle,n=e.style,r=t||u.default(n),o=a.default(r);return{currentStyle:r,currentVelocity:o,lastIdealStyle:r,lastIdealVelocity:o}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyle&&this.clearUnreadPropStyle(this.unreadPropStyle),this.unreadPropStyle=e.style,null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(s.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyle);return e&&p.default.Children.only(e)},t}(p.default.Component);t.default=d,e.exports=t.default},function(e,t,n){(function(t){(function(){var n,r,o,i,a,u;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof t&&null!==t&&t.hrtime?(e.exports=function(){return(n()-a)/1e6},r=t.hrtime,i=(n=function(){var e;return 1e9*(e=r())[0]+e[1]})(),u=1e9*t.uptime(),a=i-u):Date.now?(e.exports=function(){return Date.now()-o},o=Date.now()):(e.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)}).call(this,n(17))},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e){return e&&e.__esModule?e:{default:e}}var a=i(n(18)),u=i(n(15)),l=i(n(19)),c=i(n(20)),s=i(n(21)),f=i(n(22)),p=i(n(1)),h=i(n(0));var d=function(e){function t(n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=o.state,n=t.currentStyles,i=t.currentVelocities,a=t.lastIdealStyles,u=t.lastIdealVelocities,l=!1,c=0;c<e.length;c++){var s=e[c],f=!1;for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p)){var h=s[p];"number"===typeof h&&(f||(f=!0,l=!0,n[c]=r({},n[c]),i[c]=r({},i[c]),a[c]=r({},a[c]),u[c]=r({},u[c])),n[c][p]=h,i[c][p]=0,a[c][p]=h,u[c][p]=0)}}l&&o.setState({currentStyles:n,currentVelocities:i,lastIdealStyles:a,lastIdealVelocities:u})},this.startAnimationIfNecessary=function(){o.animationID=s.default((function(e){var t=o.props.styles(o.state.lastIdealStyles);if(function(e,t,n){for(var r=0;r<e.length;r++)if(!f.default(e[r],t[r],n[r]))return!1;return!0}(o.state.currentStyles,t,o.state.currentVelocities))return o.animationID=null,void(o.accumulatedTime=0);var n=e||c.default(),r=n-o.prevTime;if(o.prevTime=n,o.accumulatedTime=o.accumulatedTime+r,o.accumulatedTime>1e3/60*10&&(o.accumulatedTime=0),0===o.accumulatedTime)return o.animationID=null,void o.startAnimationIfNecessary();for(var i=(o.accumulatedTime-Math.floor(o.accumulatedTime/(1e3/60))*(1e3/60))/(1e3/60),a=Math.floor(o.accumulatedTime/(1e3/60)),u=[],s=[],p=[],h=[],d=0;d<t.length;d++){var y=t[d],m={},g={},v={},b={};for(var _ in y)if(Object.prototype.hasOwnProperty.call(y,_)){var x=y[_];if("number"===typeof x)m[_]=x,g[_]=0,v[_]=x,b[_]=0;else{for(var w=o.state.lastIdealStyles[d][_],k=o.state.lastIdealVelocities[d][_],T=0;T<a;T++){var O=l.default(1e3/60/1e3,w,k,x.val,x.stiffness,x.damping,x.precision);w=O[0],k=O[1]}var E=l.default(1e3/60/1e3,w,k,x.val,x.stiffness,x.damping,x.precision),S=E[0],P=E[1];m[_]=w+(S-w)*i,g[_]=k+(P-k)*i,v[_]=w,b[_]=k}}p[d]=m,h[d]=g,u[d]=v,s[d]=b}o.animationID=null,o.accumulatedTime-=a*(1e3/60),o.setState({currentStyles:p,currentVelocities:h,lastIdealStyles:u,lastIdealVelocities:s}),o.unreadPropStyles=null,o.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",value:{defaultStyles:h.default.arrayOf(h.default.objectOf(h.default.number)),styles:h.default.func.isRequired,children:h.default.func.isRequired},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=t||n().map(u.default),o=r.map((function(e){return a.default(e)}));return{currentStyles:r,currentVelocities:o,lastIdealStyles:r,lastIdealVelocities:o}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles),this.unreadPropStyles=e.styles(this.state.lastIdealStyles),null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(s.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyles);return e&&p.default.Children.only(e)},t}(p.default.Component);t.default=d,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e){return e&&e.__esModule?e:{default:e}}var a=i(n(18)),u=i(n(15)),l=i(n(19)),c=i(n(77)),s=i(n(20)),f=i(n(21)),p=i(n(22)),h=i(n(1)),d=i(n(0));function y(e,t,n){var r=t;return null==r?e.map((function(e,t){return{key:e.key,data:e.data,style:n[t]}})):e.map((function(e,t){for(var o=0;o<r.length;o++)if(r[o].key===e.key)return{key:r[o].key,data:r[o].data,style:n[t]};return{key:e.key,data:e.data,style:n[t]}}))}function m(e,t,n,r,o,i,u,l,s){for(var f=c.default(r,o,(function(e,r){var o=t(r);return null==o||p.default(i[e],o,u[e])?(n({key:r.key,data:r.data}),null):{key:r.key,data:r.data,style:o}})),h=[],d=[],y=[],m=[],g=0;g<f.length;g++){for(var v=f[g],b=null,_=0;_<r.length;_++)if(r[_].key===v.key){b=_;break}if(null==b){var x=e(v);h[g]=x,y[g]=x;var w=a.default(v.style);d[g]=w,m[g]=w}else h[g]=i[b],y[g]=l[b],d[g]=u[b],m[g]=s[b]}return[f,h,d,y,m]}var g=function(e){function t(n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.unmounting=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=m(o.props.willEnter,o.props.willLeave,o.props.didLeave,o.state.mergedPropsStyles,e,o.state.currentStyles,o.state.currentVelocities,o.state.lastIdealStyles,o.state.lastIdealVelocities),n=t[0],i=t[1],a=t[2],u=t[3],l=t[4],c=0;c<e.length;c++){var s=e[c].style,f=!1;for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p)){var h=s[p];"number"===typeof h&&(f||(f=!0,i[c]=r({},i[c]),a[c]=r({},a[c]),u[c]=r({},u[c]),l[c]=r({},l[c]),n[c]={key:n[c].key,data:n[c].data,style:r({},n[c].style)}),i[c][p]=h,a[c][p]=0,u[c][p]=h,l[c][p]=0,n[c].style[p]=h)}}o.setState({currentStyles:i,currentVelocities:a,mergedPropsStyles:n,lastIdealStyles:u,lastIdealVelocities:l})},this.startAnimationIfNecessary=function(){o.unmounting||(o.animationID=f.default((function(e){if(!o.unmounting){var t=o.props.styles,n="function"===typeof t?t(y(o.state.mergedPropsStyles,o.unreadPropStyles,o.state.lastIdealStyles)):t;if(function(e,t,n,r){if(r.length!==t.length)return!1;for(var o=0;o<r.length;o++)if(r[o].key!==t[o].key)return!1;for(o=0;o<r.length;o++)if(!p.default(e[o],t[o].style,n[o]))return!1;return!0}(o.state.currentStyles,n,o.state.currentVelocities,o.state.mergedPropsStyles))return o.animationID=null,void(o.accumulatedTime=0);var r=e||s.default(),i=r-o.prevTime;if(o.prevTime=r,o.accumulatedTime=o.accumulatedTime+i,o.accumulatedTime>1e3/60*10&&(o.accumulatedTime=0),0===o.accumulatedTime)return o.animationID=null,void o.startAnimationIfNecessary();for(var a=(o.accumulatedTime-Math.floor(o.accumulatedTime/(1e3/60))*(1e3/60))/(1e3/60),u=Math.floor(o.accumulatedTime/(1e3/60)),c=m(o.props.willEnter,o.props.willLeave,o.props.didLeave,o.state.mergedPropsStyles,n,o.state.currentStyles,o.state.currentVelocities,o.state.lastIdealStyles,o.state.lastIdealVelocities),f=c[0],h=c[1],d=c[2],g=c[3],v=c[4],b=0;b<f.length;b++){var _=f[b].style,x={},w={},k={},T={};for(var O in _)if(Object.prototype.hasOwnProperty.call(_,O)){var E=_[O];if("number"===typeof E)x[O]=E,w[O]=0,k[O]=E,T[O]=0;else{for(var S=g[b][O],P=v[b][O],M=0;M<u;M++){var C=l.default(1e3/60/1e3,S,P,E.val,E.stiffness,E.damping,E.precision);S=C[0],P=C[1]}var A=l.default(1e3/60/1e3,S,P,E.val,E.stiffness,E.damping,E.precision),N=A[0],j=A[1];x[O]=S+(N-S)*a,w[O]=P+(j-P)*a,k[O]=S,T[O]=P}}g[b]=k,v[b]=T,h[b]=x,d[b]=w}o.animationID=null,o.accumulatedTime-=u*(1e3/60),o.setState({currentStyles:h,currentVelocities:d,lastIdealStyles:g,lastIdealVelocities:v,mergedPropsStyles:f}),o.unreadPropStyles=null,o.startAnimationIfNecessary()}})))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,null,[{key:"propTypes",value:{defaultStyles:d.default.arrayOf(d.default.shape({key:d.default.string.isRequired,data:d.default.any,style:d.default.objectOf(d.default.number).isRequired})),styles:d.default.oneOfType([d.default.func,d.default.arrayOf(d.default.shape({key:d.default.string.isRequired,data:d.default.any,style:d.default.objectOf(d.default.oneOfType([d.default.number,d.default.object])).isRequired}))]).isRequired,children:d.default.func.isRequired,willEnter:d.default.func,willLeave:d.default.func,didLeave:d.default.func},enumerable:!0},{key:"defaultProps",value:{willEnter:function(e){return u.default(e.style)},willLeave:function(){return null},didLeave:function(){}},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=e.willEnter,o=e.willLeave,i=e.didLeave,l="function"===typeof n?n(t):n,c=void 0;c=null==t?l:t.map((function(e){for(var t=0;t<l.length;t++)if(l[t].key===e.key)return l[t];return e}));var s=null==t?l.map((function(e){return u.default(e.style)})):t.map((function(e){return u.default(e.style)})),f=null==t?l.map((function(e){return a.default(e.style)})):t.map((function(e){return a.default(e.style)})),p=m(r,o,i,c,l,s,f,s,f),h=p[0];return{currentStyles:p[1],currentVelocities:p[2],lastIdealStyles:p[3],lastIdealVelocities:p[4],mergedPropsStyles:h}},t.prototype.componentDidMount=function(){this.prevTime=s.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles);var t=e.styles;this.unreadPropStyles="function"===typeof t?t(y(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.lastIdealStyles)):t,null==this.animationID&&(this.prevTime=s.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){this.unmounting=!0,null!=this.animationID&&(f.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=y(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.currentStyles),t=this.props.children(e);return t&&h.default.Children.only(t)},t}(h.default.Component);t.default=g,e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t,n){for(var r={},o=0;o<e.length;o++)r[e[o].key]=o;var i={};for(o=0;o<t.length;o++)i[t[o].key]=o;var a=[];for(o=0;o<t.length;o++)a[o]=t[o];for(o=0;o<e.length;o++)if(!Object.prototype.hasOwnProperty.call(i,e[o].key)){var u=n(o,e[o]);null!=u&&a.push(u)}return a.sort((function(e,n){var o=i[e.key],a=i[n.key],u=r[e.key],l=r[n.key];if(null!=o&&null!=a)return i[e.key]-i[n.key];if(null!=u&&null!=l)return r[e.key]-r[n.key];if(null!=o){for(var c=0;c<t.length;c++){var s=t[c].key;if(Object.prototype.hasOwnProperty.call(r,s)){if(o<i[s]&&l>r[s])return-1;if(o>i[s]&&l<r[s])return 1}}return 1}for(c=0;c<t.length;c++){s=t[c].key;if(Object.prototype.hasOwnProperty.call(r,s)){if(a<i[s]&&u>r[s])return 1;if(a>i[s]&&u<r[s])return-1}}return-1}))},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){return r({},u,t,{val:e})};var o,i=n(35),a=(o=i)&&o.__esModule?o:{default:o},u=r({},a.default.noWobble,{precision:.01});e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){0};e.exports=t.default},function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(37),u=Object.prototype.propertyIsEnumerable,l=!u.call({toString:null},"toString"),c=u.call((function(){}),"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(e){var t=e.constructor;return t&&t.prototype===e},p={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"===typeof window)return!1;for(var e in window)try{if(!p["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"===typeof window[e])try{f(window[e])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(e){var t=null!==e&&"object"===typeof e,n="[object Function]"===i.call(e),r=a(e),u=t&&"[object String]"===i.call(e),p=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var d=c&&n;if(u&&e.length>0&&!o.call(e,0))for(var y=0;y<e.length;++y)p.push(String(y));if(r&&e.length>0)for(var m=0;m<e.length;++m)p.push(String(m));else for(var g in e)d&&"prototype"===g||!o.call(e,g)||p.push(String(g));if(l)for(var v=function(e){if("undefined"===typeof window||!h)return f(e);try{return f(e)}catch(t){return!1}}(e),b=0;b<s.length;++b)v&&"constructor"===s[b]||!o.call(e,s[b])||p.push(s[b]);return p}}e.exports=r},function(e,t,n){"use strict";var r="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,o=Object.prototype.toString,i=function(e){return!(r&&e&&"object"===typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o.call(e)},a=function(e){return!!i(e)||null!==e&&"object"===typeof e&&"number"===typeof e.length&&e.length>=0&&"[object Array]"!==o.call(e)&&"[object Function]"===o.call(e.callee)},u=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=u?i:a},function(e,t,n){"use strict";var r=n(11),o=n(83),i=n(38),a=n(39),u=n(88),l=o(a(),Object);r(l,{getPolyfill:a,implementation:i,shim:u}),e.exports=l},function(e,t,n){"use strict";var r=n(12),o=n(85),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch(s){l=null}e.exports=function(){return u(r,a,arguments)};var c=function(){return u(r,i,arguments)};l?l(e.exports,"apply",{value:c}):e.exports.apply=c},function(e,t,n){"use strict";var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!==typeof t||"[object Function]"!==i.call(t))throw new TypeError(r+t);for(var n,a=o.call(arguments,1),u=function(){if(this instanceof n){var r=t.apply(this,a.concat(o.call(arguments)));return Object(r)===r?r:this}return t.apply(e,a.concat(o.call(arguments)))},l=Math.max(0,t.length-a.length),c=[],s=0;s<l;s++)c.push("$"+s);if(n=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(u),t.prototype){var f=function(){};f.prototype=t.prototype,n.prototype=new f,f.prototype=null}return n}},function(e,t,n){"use strict";var r=SyntaxError,o=Function,i=TypeError,a=function(e){try{return Function('"use strict"; return ('+e+").constructor;")()}catch(t){}},u=Object.getOwnPropertyDescriptor;if(u)try{u({},"")}catch(S){u=null}var l=function(){throw new i},c=u?function(){try{return l}catch(e){try{return u(arguments,"callee").get}catch(t){return l}}}():l,s=n(23)(),f=Object.getPrototypeOf||function(e){return e.__proto__},p=a("async function* () {}"),h=p?p.prototype:void 0,d=h?h.prototype:void 0,y="undefined"===typeof Uint8Array?void 0:f(Uint8Array),m={"%AggregateError%":"undefined"===typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":s?f([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":a("async function () {}"),"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":d?f(d):void 0,"%Atomics%":"undefined"===typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"===typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":a("function* () {}"),"%Int8Array%":"undefined"===typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":s?f(f([][Symbol.iterator]())):void 0,"%JSON%":"object"===typeof JSON?JSON:void 0,"%Map%":"undefined"===typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&s?f((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?void 0:Promise,"%Proxy%":"undefined"===typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&s?f((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":s?f(""[Symbol.iterator]()):void 0,"%Symbol%":s?Symbol:void 0,"%SyntaxError%":r,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":i,"%Uint8Array%":"undefined"===typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?void 0:WeakSet},g={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=n(12),b=n(87),_=v.call(Function.call,Array.prototype.concat),x=v.call(Function.apply,Array.prototype.splice),w=v.call(Function.call,String.prototype.replace),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,O=function(e){var t=[];return w(e,k,(function(e,n,r,o){t[t.length]=r?w(o,T,"$1"):n||e})),t},E=function(e,t){var n,o=e;if(b(g,o)&&(o="%"+(n=g[o])[0]+"%"),b(m,o)){var a=m[o];if("undefined"===typeof a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:a}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new i('"allowMissing" argument must be a boolean');var n=O(e),r=n.length>0?n[0]:"",o=E("%"+r+"%",t),a=o.name,l=o.value,c=!1,s=o.alias;s&&(r=s[0],x(n,_([0,1],s)));for(var f=1,p=!0;f<n.length;f+=1){var h=n[f];if("constructor"!==h&&p||(c=!0),b(m,a="%"+(r+="."+h)+"%"))l=m[a];else if(null!=l){if(u&&f+1>=n.length){var d=u(l,h);if(p=!!d,!t&&!(h in l))throw new i("base intrinsic for "+e+" exists, but the property is not available.");l=p&&"get"in d&&!("originalValue"in d.get)?d.get:l[h]}else p=b(l,h),l=l[h];p&&!c&&(m[a]=l)}}return l}},function(e,t,n){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(12);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";var r=n(39),o=n(11);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},function(e,t,n){"use strict";var r,o,i,a,u=n(23)()&&"symbol"===typeof Symbol.toStringTag;if(u){r=Function.call.bind(Object.prototype.hasOwnProperty),o=Function.call.bind(RegExp.prototype.exec),i={};var l=function(){throw i};a={toString:l,valueOf:l},"symbol"===typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=l)}var c=Object.prototype.toString,s=Object.getOwnPropertyDescriptor;e.exports=u?function(e){if(!e||"object"!==typeof e)return!1;var t=s(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{o(e,a)}catch(n){return n===i}}:function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===c.call(e)}},function(e,t,n){"use strict";var r=n(11),o=n(91),i=n(40),a=n(41),u=n(93),l=o(i);r(l,{getPolyfill:a,implementation:i,shim:u}),e.exports=l},function(e,t,n){"use strict";var r=n(12),o=n(92),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch(s){l=null}e.exports=function(){return u(r,a,arguments)};var c=function(){return u(r,i,arguments)};l?l(e.exports,"apply",{value:c}):e.exports.apply=c},function(e,t,n){"use strict";var r=TypeError,o=Object.getOwnPropertyDescriptor;if(o)try{o({},"")}catch(g){o=null}var i=function(){throw new r},a=o?function(){try{return i}catch(e){try{return o(arguments,"callee").get}catch(t){return i}}}():i,u=n(23)(),l=Object.getPrototypeOf||function(e){return e.__proto__},c=void 0,s="undefined"===typeof Uint8Array?void 0:l(Uint8Array),f={"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"===typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":u?l([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":c&&u&&Symbol.asyncIterator?c[Symbol.asyncIterator]():void 0,"%Atomics%":"undefined"===typeof Atomics?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":"undefined"===typeof DataView?void 0:DataView,"%DataViewPrototype%":"undefined"===typeof DataView?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":"undefined"===typeof Float32Array?void 0:Float32Array,"%Float32ArrayPrototype%":"undefined"===typeof Float32Array?void 0:Float32Array.prototype,"%Float64Array%":"undefined"===typeof Float64Array?void 0:Float64Array,"%Float64ArrayPrototype%":"undefined"===typeof Float64Array?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":"undefined"===typeof Int8Array?void 0:Int8Array,"%Int8ArrayPrototype%":"undefined"===typeof Int8Array?void 0:Int8Array.prototype,"%Int16Array%":"undefined"===typeof Int16Array?void 0:Int16Array,"%Int16ArrayPrototype%":"undefined"===typeof Int16Array?void 0:Int8Array.prototype,"%Int32Array%":"undefined"===typeof Int32Array?void 0:Int32Array,"%Int32ArrayPrototype%":"undefined"===typeof Int32Array?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":u?l(l([][Symbol.iterator]())):void 0,"%JSON%":"object"===typeof JSON?JSON:void 0,"%JSONParse%":"object"===typeof JSON?JSON.parse:void 0,"%Map%":"undefined"===typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&u?l((new Map)[Symbol.iterator]()):void 0,"%MapPrototype%":"undefined"===typeof Map?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?void 0:Promise,"%PromisePrototype%":"undefined"===typeof Promise?void 0:Promise.prototype,"%PromiseProto_then%":"undefined"===typeof Promise?void 0:Promise.prototype.then,"%Promise_all%":"undefined"===typeof Promise?void 0:Promise.all,"%Promise_reject%":"undefined"===typeof Promise?void 0:Promise.reject,"%Promise_resolve%":"undefined"===typeof Promise?void 0:Promise.resolve,"%Proxy%":"undefined"===typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":"undefined"===typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":"undefined"===typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&u?l((new Set)[Symbol.iterator]()):void 0,"%SetPrototype%":"undefined"===typeof Set?void 0:Set.prototype,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":"undefined"===typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":u?l(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":u?Symbol:void 0,"%SymbolPrototype%":u?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":a,"%TypedArray%":s,"%TypedArrayPrototype%":s?s.prototype:void 0,"%TypeError%":r,"%TypeErrorPrototype%":r.prototype,"%Uint8Array%":"undefined"===typeof Uint8Array?void 0:Uint8Array,"%Uint8ArrayPrototype%":"undefined"===typeof Uint8Array?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":"undefined"===typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":"undefined"===typeof Uint16Array?void 0:Uint16Array,"%Uint16ArrayPrototype%":"undefined"===typeof Uint16Array?void 0:Uint16Array.prototype,"%Uint32Array%":"undefined"===typeof Uint32Array?void 0:Uint32Array,"%Uint32ArrayPrototype%":"undefined"===typeof Uint32Array?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":"undefined"===typeof WeakMap?void 0:WeakMap,"%WeakMapPrototype%":"undefined"===typeof WeakMap?void 0:WeakMap.prototype,"%WeakSet%":"undefined"===typeof WeakSet?void 0:WeakSet,"%WeakSetPrototype%":"undefined"===typeof WeakSet?void 0:WeakSet.prototype},p=n(12).call(Function.call,String.prototype.replace),h=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,d=/\\(\\)?/g,y=function(e){var t=[];return p(e,h,(function(e,n,r,o){t[t.length]=r?p(o,d,"$1"):n||e})),t},m=function(e,t){if(!(e in f))throw new SyntaxError("intrinsic "+e+" does not exist!");if("undefined"===typeof f[e]&&!t)throw new r("intrinsic "+e+" exists, but is not available. Please file an issue!");return f[e]};e.exports=function(e,t){if("string"!==typeof e||0===e.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=y(e),i=m("%"+(n.length>0?n[0]:"")+"%",t),a=1;a<n.length;a+=1)if(null!=i)if(o&&a+1>=n.length){var u=o(i,n[a]);if(!t&&!(n[a]in i))throw new r("base intrinsic for "+e+" exists, but the property is not available.");i=u&&"get"in u&&!("originalValue"in u.get)?u.get:i[n[a]]}else i=i[n[a]];return i}},function(e,t,n){"use strict";var r=n(11).supportsDescriptors,o=n(41),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,u=TypeError,l=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!r||!l)throw new u("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=l(c),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;e.exports=function(e){return"object"===typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(t){return!1}}(e):"[object Date]"===o.call(e))}},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));function r(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}var o=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(e){if(!(t=o.exec(e)))throw new Error("invalid format: "+e);var t;return new a({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function a(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}i.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var u,l,c,s=function(e,t){var n=r(e,t);if(!n)return e+"";var o=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+o:o.length>i+1?o.slice(0,i+1)+"."+o.slice(i+1):o+new Array(i-o.length+2).join("0")},f={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return s(100*e,t)},r:s,s:function(e,t){var n=r(e,t);if(!n)return e+"";var o=n[0],i=n[1],a=i-(u=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,l=o.length;return a===l?o:a>l?o+new Array(a-l+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+new Array(1-a).join("0")+r(e,Math.max(0,t+a-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},p=function(e){return e},h=Array.prototype.map,d=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];l=function(e){var t,n,o=void 0===e.grouping||void 0===e.thousands?p:(t=h.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,u=t[0],l=0;o>0&&u>0&&(l+u+1>r&&(u=Math.max(1,r-l)),i.push(e.substring(o-=u,o+u)),!((l+=u+1)>r));)u=t[a=(a+1)%t.length];return i.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",l=void 0===e.currency?"":e.currency[1]+"",c=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?p:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(h.call(e.numerals,String)),y=void 0===e.percent?"%":e.percent+"",m=void 0===e.minus?"\u2212":e.minus+"",g=void 0===e.nan?"NaN":e.nan+"";function v(e){var t=(e=i(e)).fill,n=e.align,r=e.sign,p=e.symbol,h=e.zero,v=e.width,b=e.comma,_=e.precision,x=e.trim,w=e.type;"n"===w?(b=!0,w="g"):f[w]||(void 0===_&&(_=12),x=!0,w="g"),(h||"0"===t&&"="===n)&&(h=!0,t="0",n="=");var k="$"===p?a:"#"===p&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",T="$"===p?l:/[%p]/.test(w)?y:"",O=f[w],E=/[defgprs%]/.test(w);function S(e){var i,a,l,f=k,p=T;if("c"===w)p=O(e)+p,e="";else{var y=(e=+e)<0||1/e<0;if(e=isNaN(e)?g:O(Math.abs(e),_),x&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),y&&0===+e&&"+"!==r&&(y=!1),f=(y?"("===r?r:m:"-"===r||"("===r?"":r)+f,p=("s"===w?d[8+u/3]:"")+p+(y&&"("===r?")":""),E)for(i=-1,a=e.length;++i<a;)if(48>(l=e.charCodeAt(i))||l>57){p=(46===l?c+e.slice(i+1):e.slice(i))+p,e=e.slice(0,i);break}}b&&!h&&(e=o(e,1/0));var S=f.length+e.length+p.length,P=S<v?new Array(v-S+1).join(t):"";switch(b&&h&&(e=o(P+e,P.length?v-p.length:1/0),P=""),n){case"<":e=f+e+p+P;break;case"=":e=f+P+e+p;break;case"^":e=P.slice(0,S=P.length>>1)+f+e+p+P.slice(S);break;default:e=P+f+e+p}return s(e)}return _=void 0===_?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_)),S.toString=function(){return e+""},S}return{format:v,formatPrefix:function(e,t){var n,o=v(((e=i(e)).type="f",e)),a=3*Math.max(-8,Math.min(8,Math.floor((n=t,((n=r(Math.abs(n)))?n[1]:NaN)/3)))),u=Math.pow(10,-a),l=d[8+a/3];return function(e){return o(u*e)+l}}}}({thousands:",",grouping:[3],currency:["$",""]}),c=l.format,l.formatPrefix}]]);
  //# sourceMappingURL=2.add44a26.chunk.js.map