"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function e(t,n,r){function o(a,u){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!u&&c)return c(a,!0);if(i)return i(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return o(n?n:e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a=0?(i>=j?10:i>=S?5:i>=O?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=j?10:i>=S?5:i>=O?2:1)}function o(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>=j?o*=10:i>=S?o*=5:i>=O&&(o*=2),tt?1:e>=t?0:NaN},u=function(e){return 1===e.length&&(e=t(e)),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>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>>1;e(t[i],n)>0?o=i:r=i+1}return r}}},c=u(a),f=c.right,l=c.left,s=function R(e,t){null==t&&(t=n);for(var r=0,o=e.length-1,i=e[0],R=new Array(o<0?0:o);re?1:t>=e?0:NaN},p=function(e){return null===e?NaN:+e},b=function(e,t){var n,r,o=e.length,i=0,a=-1,u=0,c=0;if(null==t)for(;++a1)return c/(i-1)},g=function(e,t){var n=b(e,t);return n?Math.sqrt(n):n},y=function(e,t){var n,r,o,i=e.length,a=-1;if(null==t){for(;++a=n)for(r=o=n;++an&&(r=n),o=n)for(r=o=n;++an&&(r=n),o0)for(e=Math.ceil(e/i),t=Math.floor(t/i),W=new Array(o=Math.ceil(t-e+1));++ud;)h.pop(),--p;var b,g=new Array(p+1);for(i=0;i<=p;++i)b=g[i]=[],b.x0=i>0?h[i-1]:s,b.x1=i=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e),u=+n(e[i+1],i+1,e);return a+(u-a)*(o-i)}},N=function(e,t,n){return e=w.call(e,p).sort(a),Math.ceil((n-t)/(2*(C(e,.75)-C(e,.25))*Math.pow(e.length,-1/3)))},F=function(e,t,n){return Math.ceil((n-t)/(3.5*g(e)*Math.pow(e.length,-1/3)))},D=function V(e,t){var n,V,r=e.length,o=-1;if(null==t){for(;++o=n)for(V=n;++oV&&(V=n)}else for(;++o=n)for(V=n;++oV&&(V=n);return V},E=function(e,t){var n,r=e.length,o=r,i=-1,a=0;if(null==t)for(;++i=0;)for(r=e[o],t=r.length;--t>=0;)n[--a]=r[t];return n},U=function Q(e,t){var n,Q,r=e.length,o=-1;if(null==t){for(;++o=n)for(Q=n;++on&&(Q=n)}else for(;++o=n)for(Q=n;++on&&(Q=n);return Q},P=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},q=function(e,t){if(n=e.length){var n,r,o=0,i=0,u=e[i];for(null==t&&(t=a);++o=f.length)return null!=u&&t.sort(u),null!=c?c(t):t;for(var a,l,s,d=-1,h=t.length,p=f[r++],b=n(),g=o();++df.length)return e;var r,o=l[n-1];return null!=c&&n>=f.length?r=e.entries():(r=[],e.each(function(e,o){r.push({key:o,values:t(e,n)})})),null!=o?r.sort(function(e,t){return o(e.key,t.key)}):r}var u,c,m,f=[],l=[];return m={object:function(t){return e(t,0,r,o)},map:function(t){return e(t,0,i,a)},entries:function(n){return t(e(n,0,i,a),0)},key:function(e){return f.push(e),m},sortKeys:function(e){return l[f.length-1]=e,m},sortValues:function(e){return u=e,m},rollup:function(e){return c=e,m}}},s=n.prototype;u.prototype=c.prototype={constructor:u,has:s.has,add:function(e){return e+="",this[f+e]=e,this},remove:s.remove,clear:s.clear,values:s.keys,size:s.size,empty:s.empty,each:s.each};var d=function w(e){var w=[];for(var t in e)w.push(t);return w},h=function M(e){var M=[];for(var t in e)M.push(e[t]);return M},p=function _(e){var _=[];for(var t in e)_.push({key:t,value:e[t]});return _};e.nest=l,e.set=c,e.map=n,e.keys=d,e.values=h,e.entries=p,Object.defineProperty(e,"__esModule",{value:!0})})},{}],3:[function(e,t,n){!function(e,r){"object"===("undefined"==typeof n?"undefined":_typeof(n))&&"undefined"!=typeof t?r(n):"function"==typeof define&&define.amd?define(["exports"],r):r(e.d3=e.d3||{})}(this,function(e){function t(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function n(){}function r(e){var t;return e=(e+"").trim().toLowerCase(),(t=D.exec(e))?(t=parseInt(t[1],16),new c(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=E.exec(e))?o(parseInt(t[1],16)):(t=Y.exec(e))?new c(t[1],t[2],t[3],1):(t=I.exec(e))?new c(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=U.exec(e))?i(t[1],t[2],t[3],t[4]):(t=P.exec(e))?i(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=q.exec(e))?f(t[1],t[2]/100,t[3]/100,1):(t=L.exec(e))?f(t[1],t[2]/100,t[3]/100,t[4]):z.hasOwnProperty(e)?o(z[e]):"transparent"===e?new c(NaN,NaN,NaN,0):null}function o(e){return new c(e>>16&255,e>>8&255,255&e,1)}function i(e,t,n,r){return r<=0&&(e=t=n=NaN),new c(e,t,n,r)}function a(e){return e instanceof n||(e=r(e)),e?(e=e.rgb(),new c(e.r,e.g,e.b,e.opacity)):new c}function u(e,t,n,r){return 1===arguments.length?a(e):new c(e,t,n,null==r?1:r)}function c(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function f(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new d(e,t,n,r)}function l(e){if(e instanceof d)return new d(e.h,e.s,e.l,e.opacity);if(e instanceof n||(e=r(e)),!e)return new d;if(e instanceof d)return e;e=e.rgb();var t=e.r/255,o=e.g/255,i=e.b/255,a=Math.min(t,o,i),u=Math.max(t,o,i),c=NaN,f=u-a,l=(u+a)/2;return f?(c=t===u?(o-i)/f+6*(o0&&l<1?0:c,new d(c,f,l,e.opacity)}function s(e,t,n,r){return 1===arguments.length?l(e):new d(e,t,n,null==r?1:r)}function d(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function h(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 p(e){if(e instanceof g)return new g(e.l,e.a,e.b,e.opacity);if(e instanceof x){var t=e.h*H;return new g(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof c||(e=a(e));var n=w(e.r),r=w(e.g),o=w(e.b),i=y((.4124564*n+.3575761*r+.1804375*o)/B),u=y((.2126729*n+.7151522*r+.072175*o)/W),f=y((.0193339*n+.119192*r+.9503041*o)/X);return new g(116*u-16,500*(i-u),200*(u-f),e.opacity)}function b(e,t,n,r){return 1===arguments.length?p(e):new g(e,t,n,null==r?1:r)}function g(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function y(e){return e>G?Math.pow(e,1/3):e/Z+V}function v(e){return e>Q?e*e*e:Z*(e-V)}function m(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function w(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function M(e){if(e instanceof x)return new x(e.h,e.c,e.l,e.opacity);e instanceof g||(e=p(e));var t=Math.atan2(e.b,e.a)*$;return new x(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function _(e,t,n,r){return 1===arguments.length?M(e):new x(e,t,n,null==r?1:r)}function x(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function j(e){if(e instanceof O)return new O(e.h,e.s,e.l,e.opacity);e instanceof c||(e=a(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(ie*r+re*t-oe*n)/(ie+re-oe),i=r-o,u=(ne*(n-o)-ee*i)/te,f=Math.sqrt(u*u+i*i)/(ne*o*(1-o)),l=f?Math.atan2(u,i)*$-120:NaN;return new O(l<0?l+360:l,f,o,e.opacity)}function S(e,t,n,r){return 1===arguments.length?j(e):new O(e,t,n,null==r?1:r)}function O(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}var k=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},A=.7,T=1/A,C="\\s*([+-]?\\d+)\\s*",N="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",F="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",D=/^#([0-9a-f]{3})$/,E=/^#([0-9a-f]{6})$/,Y=new RegExp("^rgb\\("+[C,C,C]+"\\)$"),I=new RegExp("^rgb\\("+[F,F,F]+"\\)$"),U=new RegExp("^rgba\\("+[C,C,C,N]+"\\)$"),P=new RegExp("^rgba\\("+[F,F,F,N]+"\\)$"),q=new RegExp("^hsl\\("+[N,F,F]+"\\)$"),L=new RegExp("^hsla\\("+[N,F,F,N]+"\\)$"),z={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};k(n,r,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),k(c,u,t(n,{brighter:function(e){return e=null==e?T:Math.pow(T,e),new c(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?A:Math.pow(A,e),new c(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(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+")")}})),k(d,s,t(n,{brighter:function(e){return e=null==e?T:Math.pow(T,e),new d(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?A:Math.pow(A,e),new d(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 c(h(e>=240?e-240:e+120,o,r),h(e,o,r),h(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}}));var H=Math.PI/180,$=180/Math.PI,R=18,B=.95047,W=1,X=1.08883,V=4/29,Q=6/29,Z=3*Q*Q,G=Q*Q*Q;k(g,b,t(n,{brighter:function(e){return new g(this.l+R*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new g(this.l-R*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=W*v(e),t=B*v(t),n=X*v(n),new c(m(3.2404542*t-1.5371385*e-.4985314*n),m(-.969266*t+1.8760108*e+.041556*n),m(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),k(x,_,t(n,{brighter:function(e){return new x(this.h,this.c,this.l+R*(null==e?1:e),this.opacity)},darker:function(e){return new x(this.h,this.c,this.l-R*(null==e?1:e),this.opacity)},rgb:function(){return p(this).rgb()}}));var J=-.14861,K=1.78277,ee=-.29227,te=-.90649,ne=1.97294,re=ne*te,oe=ne*K,ie=K*ee-te*J;k(O,S,t(n,{brighter:function(e){return e=null==e?T:Math.pow(T,e),new O(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?A:Math.pow(A,e),new O(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*H,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new c(255*(t+n*(J*r+K*o)),255*(t+n*(ee*r+te*o)),255*(t+n*(ne*r)),this.opacity)}})),e.color=r,e.rgb=u,e.hsl=s,e.lab=b,e.hcl=_,e.cubehelix=S,Object.defineProperty(e,"__esModule",{value:!0})})},{}],4:[function(e,t,n){!function(e,r){"object"===("undefined"==typeof n?"undefined":_typeof(n))&&"undefined"!=typeof t?r(n):"function"==typeof define&&define.amd?define(["exports"],r):r(e.d3=e.d3||{})}(this,function(e){function t(e){return+e}function n(e){return e*e}function r(e){return e*(2-e)}function o(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function i(e){return e*e*e}function a(e){return--e*e*e+1}function u(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}function c(e){return 1-Math.cos(e*S)}function f(e){return Math.sin(e*S)}function l(e){return(1-Math.cos(j*e))/2}function s(e){return Math.pow(2,10*e-10)}function d(e){return 1-Math.pow(2,-10*e)}function h(e){return((e*=2)<=1?Math.pow(2,10*e-10):2-Math.pow(2,10-10*e))/2}function p(e){return 1-Math.sqrt(1-e*e)}function b(e){return Math.sqrt(1- --e*e)}function g(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}function y(e){return 1-v(1-e)}function v(e){return(e=+e)",o=t[3]||"-",i=t[4]||"",a=!!t[5],u=t[6]&&+t[6],c=!!t[7],f=t[8]&&+t[8].slice(1),l=t[9]||"";"n"===l?(c=!0,l="g"):d[l]||(l=""),(a||"0"===n&&"="===r)&&(a=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=i,this.zero=a,this.width=u,this.comma=c,this.precision=f,this.type=l}function r(t){return p=y(t),e.format=p.format,e.formatPrefix=p.formatPrefix,p}var o,i=function(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)]},a=function(e){return e=i(Math.abs(e)),e?e[1]:NaN},u=function(e,t){return function(n,r){for(var o=n.length,i=[],a=0,u=e[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),i.push(n.substring(o-=u,o+u)),!((c+=u+1)>r));)u=e[a=(a+1)%e.length];return i.reverse().join(t)}},c=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}},f=function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,i=-1;o0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e},l=function(e,t){var n=i(e,t);if(!n)return e+"";var r=n[0],a=n[1],u=a-(o=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,c=r.length;return u===c?r:u>c?r+new Array(u-c+1).join("0"):u>0?r.slice(0,u)+"."+r.slice(u):"0."+new Array(1-u).join("0")+i(e,Math.max(0,t+u-1))[0]},s=function(e,t){var n=i(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")},d={"":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.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return s(100*e,t)},r:s,s:l,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},h=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;t.prototype=n.prototype,n.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var p,b=function(e){return e},g=["y","z","a","f","p","n","ยต","m","","k","M","G","T","P","E","Z","Y"],y=function(e){function n(e){function n(e){var t,n,c,f=w,d=M;if("c"===m)d=_(e)+d,e="";else{e=+e;var h=e<0;if(e=_(Math.abs(e),v),h&&0===+e&&(h=!1),f=(h?"("===u?u:"-":"-"===u||"("===u?"":u)+f,d=d+("s"===m?g[8+o/3]:"")+(h&&"("===u?")":""),x)for(t=-1,n=e.length;++tc||c>57){d=(46===c?l+e.slice(t+1):e.slice(t))+d,e=e.slice(0,t);break}}y&&!p&&(e=i(e,1/0));var j=f.length+e.length+d.length,S=j>1)+f+e+d+S.slice(j);break;default:e=S+f+e+d}return s(e)}e=t(e);var r=e.fill,a=e.align,u=e.sign,c=e.symbol,p=e.zero,b=e.width,y=e.comma,v=e.precision,m=e.type,w="$"===c?f[0]:"#"===c&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",M="$"===c?f[1]:/[%p]/.test(m)?h:"",_=d[m],x=!m||/[defgprs%]/.test(m);return v=null==v?m?6:12:/[gprs]/.test(m)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),n.toString=function(){return e+""},n}function r(e,r){var o=n((e=t(e),e.type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(a(r)/3))),u=Math.pow(10,-i),c=g[8+i/3];return function(e){return o(u*e)+c}}var i=e.grouping&&e.thousands?u(e.grouping,e.thousands):b,f=e.currency,l=e.decimal,s=e.numerals?c(e.numerals):b,h=e.percent||"%";return{format:n,formatPrefix:r}};r({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var v=function(e){return Math.max(0,-a(Math.abs(e)))},m=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(a(t)/3)))-a(Math.abs(e)))},w=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,a(t)-a(e))+1};e.formatDefaultLocale=r,e.formatLocale=y,e.formatSpecifier=t,e.precisionFixed=v,e.precisionPrefix=m,e.precisionRound=w,Object.defineProperty(e,"__esModule",{value:!0})})},{}],6:[function(e,t,n){!function(r,o){"object"===("undefined"==typeof n?"undefined":_typeof(n))&&"undefined"!=typeof t?o(n,e("d3-color")):"function"==typeof define&&define.amd?define(["exports","d3-color"],o):o(r.d3=r.d3||{},r.d3)}(this,function(e,t){function n(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}function r(e,t){return function(n){return e+n*t}}function o(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)}}function i(e,t){var n=t-e;return n?r(e,n>180||n<-180?n-360*Math.round(n/360):n):k(isNaN(e)?t:e)}function a(e){return 1===(e=+e)?u:function(t,n){return n-t?o(t,n,e):k(isNaN(t)?n:t)}}function u(e,t){var n=t-e;return n?r(e,n):k(isNaN(e)?t:e)}function c(e){return function(n){var r,o,i=n.length,a=new Array(i),u=new Array(i),c=new Array(i);for(r=0;r180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:D(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}function u(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:D(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}function c(e,t,n,r,i,a){if(e!==n||t!==r){var u=i.push(o(i)+"scale(",null,",",null,")");a.push({i:u-4,x:D(e,n)},{i:u-2,x:D(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}return function(t,n){var r=[],o=[];return t=e(t),n=e(n),i(t.translateX,t.translateY,n.translateX,n.translateY,r,o),a(t.rotate,n.rotate,r,o),u(t.skewX,n.skewX,r,o),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,o),t=n=null,function(e){for(var t,n=-1,i=o.length;++n=1?(r=1,t-1):Math.floor(r*t),i=e[o],a=e[o+1],u=o>0?e[o-1]:2*i-a,c=oi&&(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,c.push({i:a,x:D(n,r)})),i=I.lastIndex;return i=n?1:r(e)}}}function p(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function b(e,t,n,r){var o=e[0],i=e[1],a=t[0],u=t[1];return i2?g:b,a=u=null,o}function o(t){return(a||(a=i(c,f,s?h(e):e,l)))(+t)}var i,a,u,c=W,f=W,l=r.interpolate,s=!1;return o.invert=function(e){return(u||(u=i(f,c,d,s?p(t):t)))(+e)},o.domain=function(e){return arguments.length?(c=z.call(e,B),n()):c.slice()},o.range=function(e){return arguments.length?(f=H.call(e),n()):f.slice()},o.rangeRound=function(e){return f=H.call(e),l=r.interpolateRound,n()},o.clamp=function(e){return arguments.length?(s=!!e,n()):s},o.interpolate=function(e){return arguments.length?(l=e,n()):l},n()}function m(e){var n=e.domain;return e.ticks=function(e){var r=n();return t.ticks(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,t){return X(n(),e,t)},e.nice=function(r){null==r&&(r=10);var o,i=n(),a=0,u=i.length-1,c=i[a],f=i[u];return f0?(c=Math.floor(c/o)*o,f=Math.ceil(f/o)*o,o=t.tickIncrement(c,f,r)):o<0&&(c=Math.ceil(c*o)/o,f=Math.floor(f*o)/o,o=t.tickIncrement(c,f,r)),o>0?(i[a]=Math.floor(c/o)*o,i[u]=Math.ceil(f/o)*o,n(i)):o<0&&(i[a]=Math.ceil(c*o)/o,i[u]=Math.floor(f*o)/o,n(i)),e},e}function w(){var e=v(d,r.interpolateNumber);return e.copy=function(){return y(e,w())},m(e)}function M(){function e(e){return+e}var t=[0,1];return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=z.call(n,B),e):t.slice()},e.copy=function(){return M().domain(t)},m(e)}function _(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:R(t)}function x(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 j(e){return isFinite(e)?+("1e"+e):e<0?0:e}function S(e){return 10===e?j:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function O(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 k(e){return function(t){return-e(-t)}}function A(){function e(){return a=O(i),u=S(i),r()[0]<0&&(a=k(a),u=k(u)),n}var n=v(_,x).domain([1,10]),r=n.domain,i=10,a=O(10),u=S(10);return n.base=function(t){return arguments.length?(i=+t,e()):i},n.domain=function(t){return arguments.length?(r(t),e()):r()},n.ticks=function(e){var n,o=r(),c=o[0],f=o[o.length-1];(n=f0){for(;hf)break;g.push(d)}}else for(;h=1;--s)if(d=l*s,!(df)break;g.push(d)}}else g=t.ticks(h,p,Math.min(p-h,b)).map(u);return n?g.reverse():g},n.tickFormat=function(e,t){if(null==t&&(t=10===i?".0e":","),"function"!=typeof t&&(t=o.format(t)),e===1/0)return t;null==e&&(e=10);var r=Math.max(1,i*e/n.ticks().length);return function(e){var n=e/u(Math.round(a(e)));return n*i0?i[t-1]:r[0],t=i?[a[i-1],o]:[a[t-1],a[t]]},e.copy=function(){return D().domain([r,o]).range(u)},m(e)}function E(){function e(e){if(e<=e)return r[t.bisect(n,e,0,o)]}var n=[.5],r=[0,1],o=1;return e.domain=function(t){return arguments.length?(n=H.call(t),o=Math.min(n.length,r.length-1),e):n.slice()},e.range=function(t){return arguments.length?(r=H.call(t),o=Math.min(n.length,r.length-1),e):r.slice()},e.invertExtent=function(e){var t=r.indexOf(e);return[n[t-1],n[t]]},e.copy=function(){return E().domain(n).range(r)},e}function Y(e){return new Date(e)}function I(e){return e instanceof Date?+e:+new Date((+e))}function U(e,n,o,i,a,u,c,f,l){function s(t){return(c(t)1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return de.h=360*e-100,de.s=1.5-1.5*t,de.l=.8-.9*t,de+""},pe=P(oe("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),be=P(oe("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),ge=P(oe("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ye=P(oe("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));e.scaleBand=f,e.scalePoint=s,e.scaleIdentity=M,e.scaleLinear=w,e.scaleLog=A,e.scaleOrdinal=c,e.scaleImplicit=$,e.scalePow=C,e.scaleSqrt=N,e.scaleQuantile=F,e.scaleQuantize=D,e.scaleThreshold=E,e.scaleTime=ne,e.scaleUtc=re,e.schemeCategory10=ie,e.schemeCategory20b=ae,e.schemeCategory20c=ue,e.schemeCategory20=ce,e.interpolateCubehelixDefault=fe,e.interpolateRainbow=he,e.interpolateWarm=le,e.interpolateCool=se,e.interpolateViridis=pe,e.interpolateMagma=be,e.interpolateInferno=ge,e.interpolatePlasma=ye,e.scaleSequential=q,Object.defineProperty(e,"__esModule",{value:!0})})},{"d3-array":1,"d3-collection":2,"d3-color":3,"d3-format":5,"d3-interpolate":6,"d3-time":9,"d3-time-format":8}],8:[function(e,t,n){!function(r,o){"object"===("undefined"==typeof n?"undefined":_typeof(n))&&"undefined"!=typeof t?o(n,e("d3-time")):"function"==typeof define&&define.amd?define(["exports","d3-time"],o):o(r.d3=r.d3||{},r.d3)}(this,function(e,t){function n(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 r(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 o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function i(e){function t(e,t){return function(n){var r,o,i,a=[],u=-1,c=0,f=e.length;for(n instanceof Date||(n=new Date((+n)));++u=c)return-1;if(o=t.charCodeAt(a++),37===o){if(o=t.charAt(a++),i=Ue[o in re?t.charAt(a++):o],!i||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function u(e,t,n){var r=Se.exec(t.slice(n));return r?(e.p=Oe[r[0].toLowerCase()],n+r[0].length):-1}function K(e,t,n){var r=Te.exec(t.slice(n));return r?(e.w=Ce[r[0].toLowerCase()],n+r[0].length):-1}function ee(e,t,n){var r=ke.exec(t.slice(n));return r?(e.w=Ae[r[0].toLowerCase()],n+r[0].length):-1}function te(e,t,n){var r=De.exec(t.slice(n));return r?(e.m=Ee[r[0].toLowerCase()],n+r[0].length):-1}function ne(e,t,n){var r=Ne.exec(t.slice(n));return r?(e.m=Fe[r[0].toLowerCase()],n+r[0].length):-1}function oe(e,t,n){return a(e,ye,t,n)}function ie(e,t,n){return a(e,ve,t,n)}function ae(e,t,n){return a(e,me,t,n)}function ue(e){return _e[e.getDay()]}function ce(e){return Me[e.getDay()]}function fe(e){return je[e.getMonth()]}function le(e){return xe[e.getMonth()]}function se(e){return we[+(e.getHours()>=12)]}function de(e){return _e[e.getUTCDay()]}function he(e){return Me[e.getUTCDay()]}function pe(e){return je[e.getUTCMonth()]}function be(e){return xe[e.getUTCMonth()]}function ge(e){return we[+(e.getUTCHours()>=12)]}var ye=e.dateTime,ve=e.date,me=e.time,we=e.periods,Me=e.days,_e=e.shortDays,xe=e.months,je=e.shortMonths,Se=c(we),Oe=f(we),ke=c(Me),Ae=f(Me),Te=c(_e),Ce=f(_e),Ne=c(xe),Fe=f(xe),De=c(je),Ee=f(je),Ye={a:ue,A:ce,b:fe,B:le,c:null,d:j,e:j,H:S,I:O,j:k,L:A,m:T,M:C,p:se,S:N,U:F,w:D,W:E,x:null,X:null,y:Y,Y:I,Z:U,"%":J},Ie={a:de,A:he,b:pe,B:be,c:null,d:P,e:P,H:q,I:L,j:z,L:H,m:$,M:R,p:ge,S:B,U:W,w:X,W:V,x:null,X:null,y:Q,Y:Z,Z:G,"%":J},Ue={a:K,A:ee,b:te,B:ne,c:oe,d:y,e:y,H:m,I:m,j:v,L:_,m:g,M:w,p:u,S:M,U:s,w:l,W:d,x:ie,X:ae,y:p,Y:h,Z:b,"%":x};return Ye.x=t(ve,Ye),Ye.X=t(me,Ye),Ye.c=t(ye,Ye),Ie.x=t(ve,Ie),Ie.X=t(me,Ie),Ie.c=t(ye,Ie),{format:function(e){var n=t(e+="",Ye);return n.toString=function(){return e},n},parse:function(e){var t=i(e+="",n);return t.toString=function(){return e},t},utcFormat:function(e){var n=t(e+="",Ie);return n.toString=function(){return e},n},utcParse:function(e){var t=i(e,r);return t.toString=function(){return e},t}}}function a(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3),n+r[0].length):-1}function b(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 g(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function y(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function v(e,t,n){var r=oe.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function m(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function w(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function M(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function _(e,t,n){var r=oe.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function x(e,t,n){var r=ie.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function j(e,t){return a(e.getDate(),t,2)}function S(e,t){return a(e.getHours(),t,2)}function O(e,t){return a(e.getHours()%12||12,t,2)}function k(e,n){return a(1+t.timeDay.count(t.timeYear(e),e),n,3)}function A(e,t){return a(e.getMilliseconds(),t,3)}function T(e,t){return a(e.getMonth()+1,t,2)}function C(e,t){return a(e.getMinutes(),t,2)}function N(e,t){return a(e.getSeconds(),t,2)}function F(e,n){return a(t.timeSunday.count(t.timeYear(e),e),n,2)}function D(e){return e.getDay()}function E(e,n){return a(t.timeMonday.count(t.timeYear(e),e),n,2)}function Y(e,t){return a(e.getFullYear()%100,t,2)}function I(e,t){return a(e.getFullYear()%1e4,t,4)}function U(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+a(t/60|0,"0",2)+a(t%60,"0",2)}function P(e,t){return a(e.getUTCDate(),t,2)}function q(e,t){return a(e.getUTCHours(),t,2)}function L(e,t){return a(e.getUTCHours()%12||12,t,2)}function z(e,n){return a(1+t.utcDay.count(t.utcYear(e),e),n,3)}function H(e,t){return a(e.getUTCMilliseconds(),t,3)}function $(e,t){return a(e.getUTCMonth()+1,t,2)}function R(e,t){return a(e.getUTCMinutes(),t,2)}function B(e,t){return a(e.getUTCSeconds(),t,2)}function W(e,n){return a(t.utcSunday.count(t.utcYear(e),e),n,2)}function X(e){return e.getUTCDay()}function V(e,n){return a(t.utcMonday.count(t.utcYear(e),e),n,2)}function Q(e,t){return a(e.getUTCFullYear()%100,t,2)}function Z(e,t){return a(e.getUTCFullYear()%1e4,t,4)}function G(){return"+0000"}function J(){return"%"}function K(t){return ne=i(t),e.timeFormat=ne.format,e.timeParse=ne.parse,e.utcFormat=ne.utcFormat,e.utcParse=ne.utcParse,ne}function ee(e){return e.toISOString()}function te(e){var t=new Date(e);return isNaN(t)?null:t}var ne,re={"-":"",_:" ",0:"0"},oe=/^\s*\d+/,ie=/^%/,ae=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;K({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var ue="%Y-%m-%dT%H:%M:%S.%LZ",ce=Date.prototype.toISOString?ee:e.utcFormat(ue),fe=+new Date("2000-01-01T00:00:00.000Z")?te:e.utcParse(ue);e.timeFormatDefaultLocale=K,e.timeFormatLocale=i,e.isoFormat=ce,e.isoParse=fe,Object.defineProperty(e,"__esModule",{value:!0})})},{"d3-time":9}],9:[function(e,t,n){!function(e,r){"object"===("undefined"==typeof n?"undefined":_typeof(n))&&"undefined"!=typeof t?r(n):"function"==typeof define&&define.amd?define(["exports"],r):r(e.d3=e.d3||{})}(this,function(e){function t(e,n,r,a){function u(t){return e(t=new Date((+t))),t}return u.floor=u,u.ceil=function(t){return e(t=new Date(t-1)),n(t,1),e(t),t},u.round=function(e){var t=u(e),n=u.ceil(e);return e-t0))return i;do i.push(new Date((+t)));while(n(t,o),e(t),t=t)for(;e(t),!r(t);)t.setTime(t-1)},function(e,t){if(e>=e)if(t<0)for(;++t<=0;)for(;n(e,-1),!r(e););else for(;--t>=0;)for(;n(e,1),!r(e););})},r&&(u.count=function(t,n){return o.setTime(+t),i.setTime(+n),e(o),e(i),Math.floor(r(o,i))},u.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?u.filter(a?function(t){return a(t)%e===0}:function(t){return u.count(0,t)%e===0}):u:null}),u}function n(e){return t(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*f)/d})}function r(e){return t(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)/d})}var o=new Date,i=new Date,a=t(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});a.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?t(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):a:null};var u=a.range,c=1e3,f=6e4,l=36e5,s=864e5,d=6048e5,h=t(function(e){e.setTime(Math.floor(e/c)*c)},function(e,t){e.setTime(+e+t*c)},function(e,t){return(t-e)/c},function(e){return e.getUTCSeconds()}),p=h.range,b=t(function(e){e.setTime(Math.floor(e/f)*f)},function(e,t){e.setTime(+e+t*f)},function(e,t){return(t-e)/f},function(e){return e.getMinutes()}),g=b.range,y=t(function(e){var t=e.getTimezoneOffset()*f%l;t<0&&(t+=l),e.setTime(Math.floor((+e-t)/l)*l+t)},function(e,t){e.setTime(+e+t*l)},function(e,t){return(t-e)/l},function(e){return e.getHours()}),v=y.range,m=t(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*f)/s},function(e){return e.getDate()-1}),w=m.range,M=n(0),_=n(1),x=n(2),j=n(3),S=n(4),O=n(5),k=n(6),A=M.range,T=_.range,C=x.range,N=j.range,F=S.range,D=O.range,E=k.range,Y=t(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()}),I=Y.range,U=t(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()});U.every=function(e){return isFinite(e=Math.floor(e))&&e>0?t(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 P=U.range,q=t(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*f)},function(e,t){return(t-e)/f},function(e){return e.getUTCMinutes()}),L=q.range,z=t(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*l)},function(e,t){return(t-e)/l},function(e){return e.getUTCHours()}),H=z.range,$=t(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/s},function(e){return e.getUTCDate()-1}),R=$.range,B=r(0),W=r(1),X=r(2),V=r(3),Q=r(4),Z=r(5),G=r(6),J=B.range,K=W.range,ee=X.range,te=V.range,ne=Q.range,re=Z.range,oe=G.range,ie=t(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()}),ae=ie.range,ue=t(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()});ue.every=function(e){return isFinite(e=Math.floor(e))&&e>0?t(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 ce=ue.range;e.timeInterval=t,e.timeMillisecond=a,e.timeMilliseconds=u,e.utcMillisecond=a,e.utcMilliseconds=u,e.timeSecond=h,e.timeSeconds=p,e.utcSecond=h,e.utcSeconds=p,e.timeMinute=b,e.timeMinutes=g,e.timeHour=y,e.timeHours=v,e.timeDay=m,e.timeDays=w,e.timeWeek=M,e.timeWeeks=A,e.timeSunday=M,e.timeSundays=A,e.timeMonday=_,e.timeMondays=T,e.timeTuesday=x,e.timeTuesdays=C,e.timeWednesday=j,e.timeWednesdays=N,e.timeThursday=S,e.timeThursdays=F,e.timeFriday=O,e.timeFridays=D,e.timeSaturday=k,e.timeSaturdays=E,e.timeMonth=Y,e.timeMonths=I,e.timeYear=U,e.timeYears=P,e.utcMinute=q,e.utcMinutes=L,e.utcHour=z,e.utcHours=H,e.utcDay=$,e.utcDays=R,e.utcWeek=B,e.utcWeeks=J,e.utcSunday=B,e.utcSundays=J,e.utcMonday=W,e.utcMondays=K,e.utcTuesday=X,e.utcTuesdays=ee,e.utcWednesday=V,e.utcWednesdays=te,e.utcThursday=Q,e.utcThursdays=ne,e.utcFriday=Z,e.utcFridays=re,e.utcSaturday=G,e.utcSaturdays=oe,e.utcMonth=ie,e.utcMonths=ae,e.utcYear=ue,e.utcYears=ce,Object.defineProperty(e,"__esModule",{value:!0})})},{}],10:[function(e,t,n){function r(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function o(e,t){for(var n=-1,r=Array(e);++n1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&h(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r-1&&e%1==0&&e-1&&e%1==0&&e<=j}function M(e){var t="undefined"==typeof e?"undefined":_typeof(e);return!!e&&("object"==t||"function"==t)}function _(e){return!!e&&"object"==("undefined"==typeof e?"undefined":_typeof(e))}function x(e){return y(e)?a(e):c(e)}var j=9007199254740991,S="[object Arguments]",O="[object Function]",k="[object GeneratorFunction]",A=/^(?:0|[1-9]\d*)$/,T=Object.prototype,C=T.hasOwnProperty,N=T.toString,F=T.propertyIsEnumerable,D=i(Object.keys,Object),E=Math.max,Y=!F.call({valueOf:1},"valueOf"),I=Array.isArray,U=s(function(e,t){if(Y||p(t)||y(t))return void l(t,x(t),e);for(var n in t)C.call(t,n)&&u(e,n,t[n])});t.exports=U},{}],11:[function(e,t,n){(function(e){function r(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function i(e,t){for(var n=-1,r=e?e.length:0;++n-1}function S(e,t){var n=this.__data__,r=L(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function O(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Ce}function xe(e){var t="undefined"==typeof e?"undefined":_typeof(e);return!!e&&("object"==t||"function"==t)}function je(e){return!!e&&"object"==("undefined"==typeof e?"undefined":_typeof(e))}function Se(e){return me(e)?P(e):X(e)}function Oe(){return[]}function ke(){return!1}var Ae=200,Te="__lodash_hash_undefined__",Ce=9007199254740991,Ne="[object Arguments]",Fe="[object Array]",De="[object Boolean]",Ee="[object Date]",Ye="[object Error]",Ie="[object Function]",Ue="[object GeneratorFunction]",Pe="[object Map]",qe="[object Number]",Le="[object Object]",ze="[object Promise]",He="[object RegExp]",$e="[object Set]",Re="[object String]",Be="[object Symbol]",We="[object WeakMap]",Xe="[object ArrayBuffer]",Ve="[object DataView]",Qe="[object Float32Array]",Ze="[object Float64Array]",Ge="[object Int8Array]",Je="[object Int16Array]",Ke="[object Int32Array]",et="[object Uint8Array]",tt="[object Uint8ClampedArray]",nt="[object Uint16Array]",rt="[object Uint32Array]",ot=/[\\^$.*+?()[\]{}|]/g,it=/\w*$/,at=/^\[object .+?Constructor\]$/,ut=/^(?:0|[1-9]\d*)$/,ct={};ct[Ne]=ct[Fe]=ct[Xe]=ct[Ve]=ct[De]=ct[Ee]=ct[Qe]=ct[Ze]=ct[Ge]=ct[Je]=ct[Ke]=ct[Pe]=ct[qe]=ct[Le]=ct[He]=ct[$e]=ct[Re]=ct[Be]=ct[et]=ct[tt]=ct[nt]=ct[rt]=!0,ct[Ye]=ct[Ie]=ct[We]=!1;var ft="object"==("undefined"==typeof e?"undefined":_typeof(e))&&e&&e.Object===Object&&e,lt="object"==("undefined"==typeof self?"undefined":_typeof(self))&&self&&self.Object===Object&&self,st=ft||lt||Function("return this")(),dt="object"==("undefined"==typeof n?"undefined":_typeof(n))&&n&&!n.nodeType&&n,ht=dt&&"object"==("undefined"==typeof t?"undefined":_typeof(t))&&t&&!t.nodeType&&t,pt=ht&&ht.exports===dt,bt=Array.prototype,gt=Function.prototype,yt=Object.prototype,vt=st["__core-js_shared__"],mt=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),wt=gt.toString,Mt=yt.hasOwnProperty,_t=yt.toString,xt=RegExp("^"+wt.call(Mt).replace(ot,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jt=pt?st.Buffer:void 0,St=st.Symbol,Ot=st.Uint8Array,kt=d(Object.getPrototypeOf,Object),At=Object.create,Tt=yt.propertyIsEnumerable,Ct=bt.splice,Nt=Object.getOwnPropertySymbols,Ft=jt?jt.isBuffer:void 0,Dt=d(Object.keys,Object),Et=ue(st,"DataView"),Yt=ue(st,"Map"),It=ue(st,"Promise"),Ut=ue(st,"Set"),Pt=ue(st,"WeakMap"),qt=ue(Object,"create"),Lt=be(Et),zt=be(Yt),Ht=be(It),$t=be(Ut),Rt=be(Pt),Bt=St?St.prototype:void 0,Wt=Bt?Bt.valueOf:void 0;p.prototype.clear=b,p.prototype["delete"]=g,p.prototype.get=y,p.prototype.has=v,p.prototype.set=m,w.prototype.clear=M,w.prototype["delete"]=_,w.prototype.get=x,w.prototype.has=j,w.prototype.set=S,O.prototype.clear=k,O.prototype["delete"]=A,O.prototype.get=T,O.prototype.has=C,O.prototype.set=N,F.prototype.clear=D,F.prototype["delete"]=E,F.prototype.get=Y,F.prototype.has=I,F.prototype.set=U;var Xt=Nt?d(Nt,Object):Oe,Vt=B;(Et&&Vt(new Et(new ArrayBuffer(1)))!=Ve||Yt&&Vt(new Yt)!=Pe||It&&Vt(It.resolve())!=ze||Ut&&Vt(new Ut)!=$e||Pt&&Vt(new Pt)!=We)&&(Vt=function(e){var t=_t.call(e),n=t==Le?e.constructor:void 0,r=n?be(n):void 0;if(r)switch(r){case Lt:return Ve;case zt:return Pe;case Ht:return ze;case $t:return $e;case Rt:return We}return t});var Qt=Array.isArray,Zt=Ft||ke;t.exports=ge}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],12:[function(e,t,n){function r(e,t){for(var n=-1,r=e?e.length:0;++n-1&&e%1==0&&e-1&&e%1==0&&e<=x}function m(e){var t="undefined"==typeof e?"undefined":_typeof(e);return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==("undefined"==typeof e?"undefined":_typeof(e))}function M(e){return b(e)?a(e):c(e)}function _(e){return e}var x=9007199254740991,j="[object Arguments]",S="[object Function]",O="[object GeneratorFunction]",k=/^(?:0|[1-9]\d*)$/,A=Object.prototype,T=A.hasOwnProperty,C=A.toString,N=A.propertyIsEnumerable,F=i(Object.keys,Object),D=f(u),E=l(),Y=Array.isArray;t.exports=h},{}],13:[function(e,t,n){(function(e){function r(e,t){return null==e?void 0:e[t]}function o(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function i(e,t){return function(n){return e(t(n))}}function a(e){return B.call(e)}function u(e){if(!v(e)||f(e))return!1;var t=g(e)||o(e)?W:F;return t.test(s(e))}function c(e,t){var n=r(e,t);return u(n)?n:void 0}function f(e){return!!H&&H in e}function l(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||L;return e===n}function s(e){if(null!=e){try{return $.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function d(e){return p(e)&&R.call(e,"callee")&&(!V.call(e,"callee")||B.call(e)==_)}function h(e){return null!=e&&y(e.length)&&!g(e)}function p(e){return m(e)&&h(e)}function b(e){if(h(e)&&(fe(e)||"string"==typeof e||"function"==typeof e.splice||le(e)||d(e)))return!e.length;var t=ce(e);if(t==S||t==A)return!e.size;if(ne||l(e))return!Z(e).length;for(var n in e)if(R.call(e,n))return!1;return!0}function g(e){var t=v(e)?B.call(e):"";return t==x||t==j}function y(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=M}function v(e){var t="undefined"==typeof e?"undefined":_typeof(e);return!!e&&("object"==t||"function"==t)}function m(e){return!!e&&"object"==("undefined"==typeof e?"undefined":_typeof(e))}function w(){return!1}var M=9007199254740991,_="[object Arguments]",x="[object Function]",j="[object GeneratorFunction]",S="[object Map]",O="[object Object]",k="[object Promise]",A="[object Set]",T="[object WeakMap]",C="[object DataView]",N=/[\\^$.*+?()[\]{}|]/g,F=/^\[object .+?Constructor\]$/,D="object"==("undefined"==typeof e?"undefined":_typeof(e))&&e&&e.Object===Object&&e,E="object"==("undefined"==typeof self?"undefined":_typeof(self))&&self&&self.Object===Object&&self,Y=D||E||Function("return this")(),I="object"==("undefined"==typeof n?"undefined":_typeof(n))&&n&&!n.nodeType&&n,U=I&&"object"==("undefined"==typeof t?"undefined":_typeof(t))&&t&&!t.nodeType&&t,P=U&&U.exports===I,q=Function.prototype,L=Object.prototype,z=Y["__core-js_shared__"],H=function(){var e=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),$=q.toString,R=L.hasOwnProperty,B=L.toString,W=RegExp("^"+$.call(R).replace(N,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),X=P?Y.Buffer:void 0,V=L.propertyIsEnumerable,Q=X?X.isBuffer:void 0,Z=i(Object.keys,Object),G=c(Y,"DataView"),J=c(Y,"Map"),K=c(Y,"Promise"),ee=c(Y,"Set"),te=c(Y,"WeakMap"),ne=!V.call({valueOf:1},"valueOf"),re=s(G),oe=s(J),ie=s(K),ae=s(ee),ue=s(te),ce=a;(G&&ce(new G(new ArrayBuffer(1)))!=C||J&&ce(new J)!=S||K&&ce(K.resolve())!=k||ee&&ce(new ee)!=A||te&&ce(new te)!=T)&&(ce=function(e){var t=B.call(e),n=t==O?e.constructor:void 0,r=n?s(n):void 0;if(r)switch(r){case re:return C;case oe:return S;case ie:return k;case ae:return A;case ue:return T}return t});var fe=Array.isArray,le=Q||w;t.exports=b}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],14:[function(e,t,n){(function(e){function r(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n-1}function j(e,t){var n=this.__data__,r=z(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function S(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tf))return!1;var s=a.get(e);if(s&&a.get(t))return s==t;var d=-1,h=!0,p=n&_e?new N:void 0;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=xe}function pe(e){var t="undefined"==typeof e?"undefined":_typeof(e);return null!=e&&("object"==t||"function"==t)}function be(e){return null!=e&&"object"==("undefined"==typeof e?"undefined":_typeof(e))}function ge(e){return le(e)?L(e):Q(e)}function ye(){return[]}function ve(){return!1}var me=200,we="__lodash_hash_undefined__",Me=1,_e=2,xe=9007199254740991,je="[object Arguments]",Se="[object Array]",Oe="[object AsyncFunction]",ke="[object Boolean]",Ae="[object Date]",Te="[object Error]",Ce="[object Function]",Ne="[object GeneratorFunction]",Fe="[object Map]",De="[object Number]",Ee="[object Null]",Ye="[object Object]",Ie="[object Promise]",Ue="[object Proxy]",Pe="[object RegExp]",qe="[object Set]",Le="[object String]",ze="[object Symbol]",He="[object Undefined]",$e="[object WeakMap]",Re="[object ArrayBuffer]",Be="[object DataView]",We="[object Float32Array]",Xe="[object Float64Array]",Ve="[object Int8Array]",Qe="[object Int16Array]",Ze="[object Int32Array]",Ge="[object Uint8Array]",Je="[object Uint8ClampedArray]",Ke="[object Uint16Array]",et="[object Uint32Array]",tt=/[\\^$.*+?()[\]{}|]/g,nt=/^\[object .+?Constructor\]$/,rt=/^(?:0|[1-9]\d*)$/,ot={};ot[We]=ot[Xe]=ot[Ve]=ot[Qe]=ot[Ze]=ot[Ge]=ot[Je]=ot[Ke]=ot[et]=!0,ot[je]=ot[Se]=ot[Re]=ot[ke]=ot[Be]=ot[Ae]=ot[Te]=ot[Ce]=ot[Fe]=ot[De]=ot[Ye]=ot[Pe]=ot[qe]=ot[Le]=ot[$e]=!1;var it="object"==("undefined"==typeof e?"undefined":_typeof(e))&&e&&e.Object===Object&&e,at="object"==("undefined"==typeof self?"undefined":_typeof(self))&&self&&self.Object===Object&&self,ut=it||at||Function("return this")(),ct="object"==("undefined"==typeof n?"undefined":_typeof(n))&&n&&!n.nodeType&&n,ft=ct&&"object"==("undefined"==typeof t?"undefined":_typeof(t))&&t&&!t.nodeType&&t,lt=ft&&ft.exports===ct,st=lt&&it.process,dt=function(){try{return st&&st.binding&&st.binding("util")}catch(e){}}(),ht=dt&&dt.isTypedArray,pt=Array.prototype,bt=Function.prototype,gt=Object.prototype,yt=ut["__core-js_shared__"],vt=bt.toString,mt=gt.hasOwnProperty,wt=function(){var e=/[^.]+$/.exec(yt&&yt.keys&&yt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Mt=gt.toString,_t=RegExp("^"+vt.call(mt).replace(tt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=lt?ut.Buffer:void 0,jt=ut.Symbol,St=ut.Uint8Array,Ot=gt.propertyIsEnumerable,kt=pt.splice,At=jt?jt.toStringTag:void 0,Tt=Object.getOwnPropertySymbols,Ct=xt?xt.isBuffer:void 0,Nt=s(Object.keys,Object),Ft=te(ut,"DataView"),Dt=te(ut,"Map"),Et=te(ut,"Promise"),Yt=te(ut,"Set"),It=te(ut,"WeakMap"),Ut=te(Object,"create"),Pt=ce(Ft),qt=ce(Dt),Lt=ce(Et),zt=ce(Yt),Ht=ce(It),$t=jt?jt.prototype:void 0,Rt=$t?$t.valueOf:void 0;h.prototype.clear=p,h.prototype["delete"]=b,h.prototype.get=g,h.prototype.has=y,h.prototype.set=v,m.prototype.clear=w,m.prototype["delete"]=M,m.prototype.get=_,m.prototype.has=x,m.prototype.set=j,S.prototype.clear=O,S.prototype["delete"]=k,S.prototype.get=A,S.prototype.has=T,S.prototype.set=C,N.prototype.add=N.prototype.push=F,N.prototype.has=D,E.prototype.clear=Y,E.prototype["delete"]=I,E.prototype.get=U,E.prototype.has=P,E.prototype.set=q;var Bt=Tt?function(e){return null==e?[]:(e=Object(e),r(Tt(e),function(t){return Ot.call(e,t)}))}:ye,Wt=$;(Ft&&Wt(new Ft(new ArrayBuffer(1)))!=Be||Dt&&Wt(new Dt)!=Fe||Et&&Wt(Et.resolve())!=Ie||Yt&&Wt(new Yt)!=qe||It&&Wt(new It)!=$e)&&(Wt=function(e){var t=$(e),n=t==Ye?e.constructor:void 0,r=n?ce(n):"";if(r)switch(r){case Pt:return Be;case qt:return Fe;case Lt:return Ie;case zt:return qe;case Ht:return $e}return t});var Xt=R(function(){return arguments}())?R:function(e){return be(e)&&mt.call(e,"callee")&&!Ot.call(e,"callee")},Vt=Array.isArray,Qt=Ct||ve,Zt=ht?u(ht):V;t.exports=se}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],15:[function(e,t,n){function r(e){this.callback=e,this.ticking=!1}window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,r.prototype={constructor:r,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},t.exports=r},{}],16:[function(e,t,n){function r(e){e=o(r.options,e),this.lastKnownScrollY=0,this.initialised=!1,this.onScrollCallback=e.onScrollCallback}var o=(e("lodash.isequal"),e("lodash.foreach"),e("lodash.isempty"),e("lodash.clone"),e("lodash.assign")),i=e("./Debouncer");r.prototype={constructor:r,init:function(){return this.debouncer=new i(this.update.bind(this)),setTimeout(this.attachEvent.bind(this),100),this},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,window.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},getScrollY:function(){return void 0!==window.pageYOffset?window.pageYOffset:void 0!==window.scrollTop?window.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop},update:function(){var e=this.getScrollY();e>this.lastKnownScrollY?"down":"up";this.onScrollCallback(e),this.lastKnownScrollY=e},destroy:function(){this.initialised=!1,window.removeEventListener("scroll",this.debouncer,!1)}},r.options={onScrollCallback:function(){}},t.exports=r},{"./Debouncer":15,"lodash.assign":10,"lodash.clone":11,"lodash.foreach":12,"lodash.isempty":13,"lodash.isequal":14}],17:[function(e,t,n){function r(e){e=o(e,r.options),this.PROPERTIES=["translateX","translateY","opacity","scale"],this.keyframes=e.keyframes}function o(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var t,n,r=e||{};for(n=1;n=n.reveal.when&&t.updateCSSClass(n.element,n.reveal.className)})}var t=this;return new a({onScrollCallback:e.bind(this)}).init(),this.toAnimate=this.keyframes.filter(function(e){return e.animate}),this.toReveal=this.keyframes.filter(function(e){return e.reveal}),this.toAnimate.forEach(function(e){e&&e.animate.forEach(function(n){n.scale=t.createScale(n.property,e.domain,n.range)})}),this},calculatePropertyValues:function(e,t){var n=this,r=new Object;return this.PROPERTIES.forEach(function(o){r[o]=n.getDefaultPropertyValue(o),e.forEach(function(e){ e.property==o&&(r[o]=n.scaleValue(e.scale,t))})}),r},scaleValue:function(e,t){return e(t)},updateCSSValues:function(e,t){return e.style.transform="translate3d("+t.translateX+"px, "+t.translateY+"px, 0) scale("+t.scale+")",e.style.opacity=t.opacity,e},updateCSSClass:function(e,t){return e.classList?e.classList.add(t):e.className+=" "+t,e},getDefaultPropertyValue:function(e){switch(e){case"translateX":return 0;case"translateY":return 0;case"scale":return 1;case"rotate":return 0;case"opacity":return 1;default:return null}},createScale:function(e,t,n){switch(e){case"translateX":case"translateY":case"scale":case"opacity":return u.scaleLinear().domain(t).range(n).interpolate(this.easeInterpolate(f.easeCubicOut)).clamp(!0);default:return null}},easeInterpolate:function(e){return function(t,n){var r=c.interpolate(t,n);return function(t){return Math.round(100*r(e(t)))/100}}}},r.options={keyframes:{}},t.exports=r},{"./Scrllr.js":16,"d3-ease":4,"d3-interpolate":6,"d3-scale":7}],18:[function(e,t,n){function r(e,t,n,o,i,a){o=o?o:0;var u=document.documentElement,c=u.clientHeight,f="scrollMaxY"in window?window.scrollMaxY:u.scrollHeight-c,l=window.pageYOffset,s=l,d=isNaN(e)?e.getBoundingClientRect():0;"center"===i?(s+=isNaN(e)?d.top+d.height/2:e,s-=c/2,s-=o):"bottom"===i?(s+=d.bottom||e,s-=c,s+=o):(s+=d.top||e,s-=o),s=Math.max(Math.min(f,s),0);var h=s-l,p={targetY:s,deltaY:h,duration:t?t:0,easing:n in r.Easing?r.Easing[n]:r.Easing.linear,onFinish:a,startTime:Date.now(),lastY:l,step:r.step};window.requestAnimationFrame(p.step.bind(p))}r.Easing={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:-1+(4-2*e)*e},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}},r.step=function(){if(this.lastY!==window.pageYOffset&&this.onFinish)return void this.onFinish();var e=Math.min((Date.now()-this.startTime)/this.duration,1),t=this.targetY-(1-this.easing(e))*this.deltaY;window.scrollTo(window.scrollX,t),1!==e?(this.lastY=window.pageYOffset,window.requestAnimationFrame(this.step.bind(this))):this.onFinish&&this.onFinish()},t.exports=r},{}],19:[function(e,t,n){function r(){i(document.querySelectorAll(".qr-popup")[0],"qr-popup--shown")}function o(){a(document.querySelectorAll(".qr-popup")[0],"qr-popup--shown")}function i(e,t){return e.classList?e.classList.add(t):e.className+=" "+t,e}function a(e,t){return e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "),e}var u=e("./lib/ScrollOver.js"),c=e("./lib/animatescroll.js"),f=document.querySelectorAll("body")[0],l=(document.querySelectorAll(".tagline")[0],document.querySelectorAll(".phone-wrap--iphone")[0]),s=document.querySelectorAll(".phone-wrap--android")[0],d=document.querySelectorAll(".features-wrap")[0],h=document.querySelectorAll(".slide--two")[0],p=document.querySelectorAll(".slide--three")[0],b=document.querySelectorAll(".slide--six")[0],g=document.querySelectorAll(".language-switcher")[0];setTimeout(function(){return f.classList.add("shown")},400),document.querySelectorAll(".button--more")[0].addEventListener("click",function(e){c(h,600,"easeInOutCubic",0),e.preventDefault()}),document.querySelectorAll(".nav__item--features")[0].addEventListener("click",function(e){c(h,600,"easeInOutCubic",0),e.preventDefault()}),document.querySelectorAll(".nav__item--about")[0].addEventListener("click",function(e){c(p,600,"easeInOutCubic",0),e.preventDefault()}),new u({keyframes:[{element:l,domain:[0,800],animate:[{property:"translateY",range:[0,60]}]},{element:s,domain:[0,800],animate:[{property:"translateY",range:[0,110]}]},{element:d,domain:[200,800],animate:[{property:"translateY",range:[0,-40]}]},{element:h,reveal:{when:440,className:"slide--shown"}},{element:p,reveal:{when:1200,className:"slide--shown"}},{element:b,reveal:{when:2190,className:"slide--shown"}}]}).init(),document.querySelectorAll(".nav__item--download")[0]&&(document.querySelectorAll(".nav__item--download")[0].addEventListener("mouseover",function(e){r()}),document.querySelectorAll(".nav__item--download")[0].addEventListener("mouseout",function(e){o()})),g.addEventListener("change",function(){var e=g.options[g.selectedIndex].value;return"en"==e?void window.location.replace("https://status.im/"):void window.location.replace("https://status.im/"+e+".html")})},{"./lib/ScrollOver.js":17,"./lib/animatescroll.js":18}]},{},[19]);