From adbd7ba0359c1245345f6ed2bcc9b4e6b675bef4 Mon Sep 17 00:00:00 2001 From: Thomas Kluth Date: Tue, 25 May 2021 21:23:27 +0200 Subject: [PATCH 1/5] unsuccessful try to update plotly --- hugo/assets/js/plotly.custom.min.js | 693 +- hugo/package-lock.json | 9836 ++++++++++++++++----------- hugo/package.json | 9 +- 3 files changed, 5691 insertions(+), 4847 deletions(-) diff --git a/hugo/assets/js/plotly.custom.min.js b/hugo/assets/js/plotly.custom.min.js index 8193965..2be7cea 100644 --- a/hugo/assets/js/plotly.custom.min.js +++ b/hugo/assets/js/plotly.custom.min.js @@ -1,692 +1 @@ -parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c1)for(var n=1;nt?1:n>=t?0:NaN}function p(n){return null===n?NaN:+n}function g(n){return!isNaN(n)}function v(n){return{left:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r>>1;n(t[u],e)<0?r=u+1:i=u}return r},right:function(t,e,r,i){for(arguments.length<3&&(r=0),arguments.length<4&&(i=t.length);r>>1;n(t[u],e)>0?i=u:r=u+1}return r}}}t.ascending=h,t.descending=function(n,t){return tn?1:t>=n?0:NaN},t.min=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ir&&(e=r)}else{for(;++i=r){e=r;break}for(;++ir&&(e=r)}return e},t.max=function(n,t){var e,r,i=-1,u=n.length;if(1===arguments.length){for(;++i=r){e=r;break}for(;++ie&&(e=r)}else{for(;++i=r){e=r;break}for(;++ie&&(e=r)}return e},t.extent=function(n,t){var e,r,i,u=-1,o=n.length;if(1===arguments.length){for(;++u=r){e=i=r;break}for(;++ur&&(e=r),i=r){e=i=r;break}for(;++ur&&(e=r),i1)return o/(l-1)},t.deviation=function(){var n=t.variance.apply(this,arguments);return n?Math.sqrt(n):n};var d=v(h);function y(n){return n.length}t.bisectLeft=d.left,t.bisect=t.bisectRight=d.right,t.bisector=function(n){return v(1===n.length?function(t,e){return h(n(t),e)}:n)},t.shuffle=function(n,t,e){(u=arguments.length)<3&&(e=n.length,u<2&&(t=0));for(var r,i,u=e-t;u;)i=Math.random()*u--|0,r=n[u+t],n[u+t]=n[i+t],n[i+t]=r;return n},t.permute=function(n,t){for(var e=t.length,r=new Array(e);e--;)r[e]=n[t[e]];return r},t.pairs=function(n){for(var t=0,e=n.length-1,r=n[0],i=new Array(e<0?0:e);t=0;)for(t=(r=n[i]).length;--t>=0;)e[--o]=r[t];return e};var m=Math.abs;function M(n,t){for(var e in t)Object.defineProperty(n.prototype,e,{value:t[e],enumerable:!1})}function x(){this._=Object.create(null)}t.range=function(n,t,e){if(arguments.length<3&&(e=1,arguments.length<2&&(t=n,n=0)),(t-n)/e==1/0)throw new Error("infinite range");var r,i=[],u=function(n){var t=1;for(;n*t%1;)t*=10;return t}(m(e)),o=-1;if(n*=u,t*=u,(e*=u)<0)for(;(r=n+e*++o)>t;)i.push(r/u);else for(;(r=n+e*++o)=i.length)return e?e.call(r,u):n?u.sort(n):u;for(var l,c,f,s,h=-1,p=u.length,g=i[a++],v=new x;++h=i.length)return t;var r=[],o=u[e++];return t.forEach(function(t,i){r.push({key:t,values:n(i,e)})}),o?r.sort(function(n,t){return o(n.key,t.key)}):r}(o(t.map,n,0),0)},r.key=function(n){return i.push(n),r},r.sortKeys=function(n){return u[i.length-1]=n,r},r.sortValues=function(t){return n=t,r},r.rollup=function(n){return e=n,r},r},t.set=function(n){var t=new z;if(n)for(var e=0,r=n.length;e=0&&(r=n.slice(e+1),n=n.slice(0,e)),n)return arguments.length<2?this[n].on(r):this[n].on(r,t);if(2===arguments.length){if(null==t)for(n in this)this.hasOwnProperty(n)&&this[n].on(r,null);return this}},t.event=null,t.requote=function(n){return n.replace(O,"\\$&")};var O=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,I={}.__proto__?function(n,t){n.__proto__=t}:function(n,t){for(var e in t)n[e]=t[e]};function Y(n){return I(n,$),n}var Z=function(n,t){return t.querySelector(n)},V=function(n,t){return t.querySelectorAll(n)},X=function(n,t){var e=n.matches||n[T(n,"matchesSelector")];return(X=function(n,t){return e.call(n,t)})(n,t)};"function"==typeof Sizzle&&(Z=function(n,t){return Sizzle(n,t)[0]||null},V=Sizzle,X=Sizzle.matchesSelector),t.selection=function(){return t.select(i.documentElement)};var $=t.selection.prototype=[];function B(n){return"function"==typeof n?n:function(){return Z(n,this)}}function W(n){return"function"==typeof n?n:function(){return V(n,this)}}$.select=function(n){var t,e,r,i,u=[];n=B(n);for(var o=-1,a=this.length;++o=0&&"xmlns"!==(e=n.slice(0,t))&&(n=n.slice(t+1)),G.hasOwnProperty(e)?{space:G[e],local:n}:n}},$.attr=function(n,e){if(arguments.length<2){if("string"==typeof n){var r=this.node();return(n=t.ns.qualify(n)).local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}for(e in n)this.each(K(e,n[e]));return this}return this.each(K(n,e))},$.classed=function(n,t){if(arguments.length<2){if("string"==typeof n){var e=this.node(),r=(n=tn(n)).length,i=-1;if(t=e.classList){for(;++i=0;)(e=r[i])&&(u&&u!==e.nextSibling&&u.parentNode.insertBefore(e,u),u=e);return this},$.sort=function(n){n=function(n){arguments.length||(n=h);return function(t,e){return t&&e?n(t.__data__,e.__data__):!t-!e}}.apply(this,arguments);for(var t=-1,e=this.length;++t0&&(n=n.slice(0,o));var l=vn.get(n);function c(){var t=this[u];t&&(this.removeEventListener(n,t,t.$),delete this[u])}return l&&(n=l,a=yn),o?e?function(){var t=a(e,r(arguments));c.call(this),this.addEventListener(n,this[u]=t,t.$=i),t._=e}:c:e?D:function(){var e,r=new RegExp("^__on([^.]+)"+t.requote(n)+"$");for(var i in this)if(e=i.match(r)){var u=this[i];this.removeEventListener(e[1],u,u.$),delete this[i]}}}t.selection.enter=hn,t.selection.enter.prototype=pn,pn.append=$.append,pn.empty=$.empty,pn.node=$.node,pn.call=$.call,pn.size=$.size,pn.select=function(n){for(var t,e,r,i,u,o=[],a=-1,l=this.length;++a=r&&(r=t+1);!(o=a[r])&&++r0?1:n<0?-1:0}function Tn(n,t,e){return(t[0]-n[0])*(e[1]-n[1])-(t[1]-n[1])*(e[0]-n[0])}function Rn(n){return n>1?0:n<-1?Nn:Math.acos(n)}function Dn(n){return n>1?Cn:n<-1?-Cn:Math.asin(n)}function Pn(n){return((n=Math.exp(n))+1/n)/2}function Un(n){return(n=Math.sin(n/2))*n}var jn=Math.SQRT2;t.interpolateZoom=function(n,t){var e,r,i=n[0],u=n[1],o=n[2],a=t[0],l=t[1],c=t[2],f=a-i,s=l-u,h=f*f+s*s;if(h0&&(n=n.transition().duration(v)),n.call(_.event)}function E(){c&&c.domain(l.range().map(function(n){return(n-h.x)/h.k}).map(l.invert)),s&&s.domain(f.range().map(function(n){return(n-h.y)/h.k}).map(f.invert))}function A(n){d++||n({type:"zoomstart"})}function C(n){E(),n({type:"zoom",scale:h.k,translate:[h.x,h.y]})}function z(n){--d||(n({type:"zoomend"}),e=null)}function L(){var n=this,e=b.of(n,arguments),r=0,i=t.select(o(n)).on(m,function(){r=1,k(t.mouse(n),u),C(e)}).on(M,function(){i.on(m,null).on(M,null),a(r),z(e)}),u=w(t.mouse(n)),a=xn(n);pa.call(n),A(e)}function q(){var n,e=this,r=b.of(e,arguments),i={},u=0,o=".zoom-"+t.event.changedTouches[0].identifier,l="touchmove"+o,c="touchend"+o,f=[],s=t.select(e),p=xn(e);function g(){var r=t.touches(e);return n=h.k,r.forEach(function(n){n.identifier in i&&(i[n.identifier]=w(n))}),r}function v(){var n=t.event.target;t.select(n).on(l,d).on(c,m),f.push(n);for(var r=t.event.changedTouches,o=0,s=r.length;o1){y=p[0];var M=p[1],x=y[0]-M[0],b=y[1]-M[1];u=x*x+b*b}}function d(){var o,l,c,f,s=t.touches(e);pa.call(e);for(var h=0,p=s.length;h360?n-=360:n<0&&(n+=360),n<60?r+(i-r)*n/60:n<180?i:n<240?r+(i-r)*(240-n)/60:r}(n))}return n=isNaN(n)?0:(n%=360)<0?n+360:n,t=isNaN(t)?0:t<0?0:t>1?1:t,r=2*(e=e<0?0:e>1?1:e)-(i=e<=.5?e*(1+t):e+t-e*t),new ot(u(n+120),u(n),u(n-120))}function Xn(n,e,r){return this instanceof Xn?(this.h=+n,this.c=+e,void(this.l=+r)):arguments.length<2?n instanceof Xn?new Xn(n.h,n.c,n.l):et(n instanceof Wn?n.l:(n=pt((n=t.rgb(n)).r,n.g,n.b)).l,n.a,n.b):new Xn(n,e,r)}Zn.brighter=function(n){return n=Math.pow(.7,arguments.length?n:1),new Yn(this.h,this.s,this.l/n)},Zn.darker=function(n){return n=Math.pow(.7,arguments.length?n:1),new Yn(this.h,this.s,n*this.l)},Zn.rgb=function(){return Vn(this.h,this.s,this.l)},t.hcl=Xn;var $n=Xn.prototype=new In;function Bn(n,t,e){return isNaN(n)&&(n=0),isNaN(t)&&(t=0),new Wn(e,Math.cos(n*=zn)*t,Math.sin(n)*t)}function Wn(n,t,e){return this instanceof Wn?(this.l=+n,this.a=+t,void(this.b=+e)):arguments.length<2?n instanceof Wn?new Wn(n.l,n.a,n.b):n instanceof Xn?Bn(n.h,n.c,n.l):pt((n=ot(n)).r,n.g,n.b):new Wn(n,t,e)}$n.brighter=function(n){return new Xn(this.h,this.c,Math.min(100,this.l+Jn*(arguments.length?n:1)))},$n.darker=function(n){return new Xn(this.h,this.c,Math.max(0,this.l-Jn*(arguments.length?n:1)))},$n.rgb=function(){return Bn(this.h,this.c,this.l).rgb()},t.lab=Wn;var Jn=18,Gn=.95047,Kn=1,Qn=1.08883,nt=Wn.prototype=new In;function tt(n,t,e){var r=(n+16)/116,i=r+t/500,u=r-e/200;return new ot(ut(3.2404542*(i=rt(i)*Gn)-1.5371385*(r=rt(r)*Kn)-.4985314*(u=rt(u)*Qn)),ut(-.969266*i+1.8760108*r+.041556*u),ut(.0556434*i-.2040259*r+1.0572252*u))}function et(n,t,e){return n>0?new Xn(Math.atan2(e,t)*Ln,Math.sqrt(t*t+e*e),n):new Xn(NaN,NaN,n)}function rt(n){return n>.206893034?n*n*n:(n-4/29)/7.787037}function it(n){return n>.008856?Math.pow(n,1/3):7.787037*n+4/29}function ut(n){return Math.round(255*(n<=.00304?12.92*n:1.055*Math.pow(n,1/2.4)-.055))}function ot(n,t,e){return this instanceof ot?(this.r=~~n,this.g=~~t,void(this.b=~~e)):arguments.length<2?n instanceof ot?new ot(n.r,n.g,n.b):st(""+n,ot,Vn):new ot(n,t,e)}function at(n){return new ot(n>>16,n>>8&255,255&n)}function lt(n){return at(n)+""}nt.brighter=function(n){return new Wn(Math.min(100,this.l+Jn*(arguments.length?n:1)),this.a,this.b)},nt.darker=function(n){return new Wn(Math.max(0,this.l-Jn*(arguments.length?n:1)),this.a,this.b)},nt.rgb=function(){return tt(this.l,this.a,this.b)},t.rgb=ot;var ct=ot.prototype=new In;function ft(n){return n<16?"0"+Math.max(0,n).toString(16):Math.min(255,n).toString(16)}function st(n,t,e){var r,i,u,o=0,a=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(n=n.toLowerCase()))switch(i=r[2].split(","),r[1]){case"hsl":return e(parseFloat(i[0]),parseFloat(i[1])/100,parseFloat(i[2])/100);case"rgb":return t(vt(i[0]),vt(i[1]),vt(i[2]))}return(u=dt.get(n))?t(u.r,u.g,u.b):(null==n||"#"!==n.charAt(0)||isNaN(u=parseInt(n.slice(1),16))||(4===n.length?(o=(3840&u)>>4,o|=o>>4,a=240&u,a|=a>>4,l=15&u,l|=l<<4):7===n.length&&(o=(16711680&u)>>16,a=(65280&u)>>8,l=255&u)),t(o,a,l))}function ht(n,t,e){var r,i,u=Math.min(n/=255,t/=255,e/=255),o=Math.max(n,t,e),a=o-u,l=(o+u)/2;return a?(i=l<.5?a/(o+u):a/(2-o-u),r=n==o?(t-e)/a+(t0&&l<1?0:r),new Yn(r,i,l)}function pt(n,t,e){var r=it((.4124564*(n=gt(n))+.3575761*(t=gt(t))+.1804375*(e=gt(e)))/Gn),i=it((.2126729*n+.7151522*t+.072175*e)/Kn);return Wn(116*i-16,500*(r-i),200*(i-it((.0193339*n+.119192*t+.9503041*e)/Qn)))}function gt(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function vt(n){var t=parseFloat(n);return"%"===n.charAt(n.length-1)?Math.round(2.55*t):t}ct.brighter=function(n){n=Math.pow(.7,arguments.length?n:1);var t=this.r,e=this.g,r=this.b,i=30;return t||e||r?(t&&t=200&&t<300||304===t){try{n=i.call(o,c)}catch(Za){return void a.error.call(o,Za)}a.load.call(o,n)}else a.error.call(o,c)}return!this.XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(n)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=s:c.onreadystatechange=function(){c.readyState>3&&s()},c.onprogress=function(n){var e=t.event;t.event=n;try{a.progress.call(o,c)}finally{t.event=e}},o.header=function(n,t){return n=(n+"").toLowerCase(),arguments.length<2?l[n]:(null==t?delete l[n]:l[n]=t+"",o)},o.mimeType=function(n){return arguments.length?(e=null==n?null:n+"",o):e},o.responseType=function(n){return arguments.length?(f=n,o):f},o.response=function(n){return i=n,o},["get","post"].forEach(function(n){o[n]=function(){return o.send.apply(o,[n].concat(r(arguments)))}}),o.send=function(t,r,i){if(2===arguments.length&&"function"==typeof r&&(i=r,r=null),c.open(t,n,!0),null==e||"accept"in l||(l.accept=e+",*/*"),c.setRequestHeader)for(var u in l)c.setRequestHeader(u,l[u]);return null!=e&&c.overrideMimeType&&c.overrideMimeType(e),null!=f&&(c.responseType=f),null!=i&&o.on("error",i).on("load",function(n){i(null,n)}),a.beforesend.call(o,c),c.send(null==r?null:r),o},o.abort=function(){return c.abort(),o},t.rebind(o,a,"on"),null==u?o:o.get(function(n){return 1===n.length?function(t,e){n(null==t?e:null)}:n}(u))}dt.forEach(function(n,t){dt.set(n,at(t))}),t.functor=yt,t.xhr=mt(L),t.dsv=function(n,t){var e=new RegExp('["'+n+"\n]"),r=n.charCodeAt(0);function i(n,e,r){arguments.length<3&&(r=e,e=null);var i=Mt(n,t,null==e?u:o(e),r);return i.row=function(n){return arguments.length?i.response(null==(e=n)?u:o(n)):e},i}function u(n){return i.parse(n.responseText)}function o(n){return function(t){return i.parse(t.responseText,n)}}function a(t){return t.map(l).join(n)}function l(n){return e.test(n)?'"'+n.replace(/\"/g,'""')+'"':n}return i.parse=function(n,t){var e;return i.parseRows(n,function(n,r){if(e)return e(n,r-1);var i=new Function("d","return {"+n.map(function(n,t){return JSON.stringify(n)+": d["+t+"]"}).join(",")+"}");e=t?function(n,e){return t(i(n),e)}:i})},i.parseRows=function(n,t){var e,i,u={},o={},a=[],l=n.length,c=0,f=0;function s(){if(c>=l)return o;if(i)return i=!1,u;var t=c;if(34===n.charCodeAt(t)){for(var e=t;e++24?(isFinite(t)&&(clearTimeout(wt),wt=setTimeout(Nt,t)),_t=0):(_t=1,St(Nt))}function Et(){for(var n=Date.now(),t=xt;t;)n>=t.t&&t.c(n-t.t)&&(t.c=null),t=t.n;return n}function At(){for(var n,t=xt,e=1/0;t;)t.c?(t.t8?function(n){return n/e}:function(n){return n*e},symbol:n}});function Lt(n){var e=n.decimal,r=n.thousands,i=n.grouping,u=n.currency,o=i&&r?function(n,t){for(var e=n.length,u=[],o=0,a=i[0],l=0;e>0&&a>0&&(l+a+1>t&&(a=Math.max(1,t-l)),u.push(n.substring(e-=a,e+a)),!((l+=a+1)>t));)a=i[o=(o+1)%i.length];return u.reverse().join(r)}:L;return function(n){var r=qt.exec(n),i=r[1]||" ",a=r[2]||">",l=r[3]||"-",c=r[4]||"",f=r[5],s=+r[6],h=r[7],p=r[8],g=r[9],v=1,d="",y="",m=!1,M=!0;switch(p&&(p=+p.substring(1)),(f||"0"===i&&"="===a)&&(f=i="0",a="="),g){case"n":h=!0,g="g";break;case"%":v=100,y="%",g="f";break;case"p":v=100,y="%",g="r";break;case"b":case"o":case"x":case"X":"#"===c&&(d="0"+g.toLowerCase());case"c":M=!1;case"d":m=!0,p=0;break;case"s":v=-1,g="r"}"$"===c&&(d=u[0],y=u[1]),"r"!=g||p||(g="g"),null!=p&&("g"==g?p=Math.max(1,Math.min(21,p)):"e"!=g&&"f"!=g||(p=Math.max(0,Math.min(20,p)))),g=Tt.get(g)||Rt;var x=f&&h;return function(n){var r=y;if(m&&n%1)return"";var u=n<0||0===n&&1/n<0?(n=-n,"-"):"-"===l?"":l;if(v<0){var c=t.formatPrefix(n,p);n=c.scale(n),r=c.symbol+y}else n*=v;var b,_,w=(n=g(n,p)).lastIndexOf(".");if(w<0){var S=M?n.lastIndexOf("e"):-1;S<0?(b=n,_=""):(b=n.substring(0,S),_=n.substring(S))}else b=n.substring(0,w),_=e+n.substring(w+1);!f&&h&&(b=o(b,1/0));var k=d.length+b.length+_.length+(x?0:u.length),N=k"===a?N+u+n:"^"===a?N.substring(0,k>>=1)+u+n+N.substring(k):u+(x?n:N+n))+r}}}t.formatPrefix=function(n,e){var r=0;return(n=+n)&&(n<0&&(n*=-1),e&&(n=t.round(n,Ct(n,e))),r=1+Math.floor(1e-12+Math.log(n)/Math.LN10),r=Math.max(-24,Math.min(24,3*Math.floor((r-1)/3)))),zt[8+r/3]};var qt=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Tt=t.map({b:function(n){return n.toString(2)},c:function(n){return String.fromCharCode(n)},o:function(n){return n.toString(8)},x:function(n){return n.toString(16)},X:function(n){return n.toString(16).toUpperCase()},g:function(n,t){return n.toPrecision(t)},e:function(n,t){return n.toExponential(t)},f:function(n,t){return n.toFixed(t)},r:function(n,e){return(n=t.round(n,Ct(n,e))).toFixed(Math.max(0,Math.min(20,Ct(n*(1+1e-15),e))))}});function Rt(n){return n+""}var Dt=t.time={},Pt=Date;function Ut(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Ut.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){jt.setUTCDate.apply(this._,arguments)},setDay:function(){jt.setUTCDay.apply(this._,arguments)},setFullYear:function(){jt.setUTCFullYear.apply(this._,arguments)},setHours:function(){jt.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){jt.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){jt.setUTCMinutes.apply(this._,arguments)},setMonth:function(){jt.setUTCMonth.apply(this._,arguments)},setSeconds:function(){jt.setUTCSeconds.apply(this._,arguments)},setTime:function(){jt.setTime.apply(this._,arguments)}};var jt=Date.prototype;function Ft(n,t,e){function r(t){var e=n(t),r=u(e,1);return t-e1)for(;o=c)return-1;if(37===(i=t.charCodeAt(a++))){if(o=t.charAt(a++),!(u=_[o in It?t.charAt(a++):o])||(r=u(n,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}f.utc=function(n){var t=f(n);function e(n){try{var e=new(Pt=Ut);return e._=n,t(e)}finally{Pt=Date}}return e.parse=function(n){try{Pt=Ut;var e=t.parse(n);return e&&e._}finally{Pt=Date}},e.toString=t.toString,e},f.multi=f.utc.multi=ce;var h=t.map(),p=Xt(o),g=$t(o),v=Xt(a),d=$t(a),y=Xt(l),m=$t(l),M=Xt(c),x=$t(c);u.forEach(function(n,t){h.set(n.toLowerCase(),t)});var b={a:function(n){return a[n.getDay()]},A:function(n){return o[n.getDay()]},b:function(n){return c[n.getMonth()]},B:function(n){return l[n.getMonth()]},c:f(e),d:function(n,t){return Vt(n.getDate(),t,2)},e:function(n,t){return Vt(n.getDate(),t,2)},H:function(n,t){return Vt(n.getHours(),t,2)},I:function(n,t){return Vt(n.getHours()%12||12,t,2)},j:function(n,t){return Vt(1+Dt.dayOfYear(n),t,3)},L:function(n,t){return Vt(n.getMilliseconds(),t,3)},m:function(n,t){return Vt(n.getMonth()+1,t,2)},M:function(n,t){return Vt(n.getMinutes(),t,2)},p:function(n){return u[+(n.getHours()>=12)]},S:function(n,t){return Vt(n.getSeconds(),t,2)},U:function(n,t){return Vt(Dt.sundayOfYear(n),t,2)},w:function(n){return n.getDay()},W:function(n,t){return Vt(Dt.mondayOfYear(n),t,2)},x:f(r),X:f(i),y:function(n,t){return Vt(n.getFullYear()%100,t,2)},Y:function(n,t){return Vt(n.getFullYear()%1e4,t,4)},Z:ae,"%":function(){return"%"}},_={a:function(n,t,e){v.lastIndex=0;var r=v.exec(t.slice(e));return r?(n.w=d.get(r[0].toLowerCase()),e+r[0].length):-1},A:function(n,t,e){p.lastIndex=0;var r=p.exec(t.slice(e));return r?(n.w=g.get(r[0].toLowerCase()),e+r[0].length):-1},b:function(n,t,e){M.lastIndex=0;var r=M.exec(t.slice(e));return r?(n.m=x.get(r[0].toLowerCase()),e+r[0].length):-1},B:function(n,t,e){y.lastIndex=0;var r=y.exec(t.slice(e));return r?(n.m=m.get(r[0].toLowerCase()),e+r[0].length):-1},c:function(n,t,e){return s(n,b.c.toString(),t,e)},d:te,e:te,H:re,I:re,j:ee,L:oe,m:ne,M:ie,p:function(n,t,e){var r=h.get(t.slice(e,e+=2).toLowerCase());return null==r?-1:(n.p=r,e)},S:ue,U:Wt,w:Bt,W:Jt,x:function(n,t,e){return s(n,b.x.toString(),t,e)},X:function(n,t,e){return s(n,b.X.toString(),t,e)},y:Kt,Y:Gt,Z:Qt,"%":le};return f}Dt.year=Ft(function(n){return(n=Dt.day(n)).setMonth(0,1),n},function(n,t){n.setFullYear(n.getFullYear()+t)},function(n){return n.getFullYear()}),Dt.years=Dt.year.range,Dt.years.utc=Dt.year.utc.range,Dt.day=Ft(function(n){var t=new Pt(2e3,0);return t.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),t},function(n,t){n.setDate(n.getDate()+t)},function(n){return n.getDate()-1}),Dt.days=Dt.day.range,Dt.days.utc=Dt.day.utc.range,Dt.dayOfYear=function(n){var t=Dt.year(n);return Math.floor((n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(n,t){t=7-t;var e=Dt[n]=Ft(function(n){return(n=Dt.day(n)).setDate(n.getDate()-(n.getDay()+t)%7),n},function(n,t){n.setDate(n.getDate()+7*Math.floor(t))},function(n){var e=Dt.year(n).getDay();return Math.floor((Dt.dayOfYear(n)+(e+t)%7)/7)-(e!==t)});Dt[n+"s"]=e.range,Dt[n+"s"].utc=e.utc.range,Dt[n+"OfYear"]=function(n){var e=Dt.year(n).getDay();return Math.floor((Dt.dayOfYear(n)+(e+t)%7)/7)}}),Dt.week=Dt.sunday,Dt.weeks=Dt.sunday.range,Dt.weeks.utc=Dt.sunday.utc.range,Dt.weekOfYear=Dt.sundayOfYear;var It={"-":"",_:" ",0:"0"},Yt=/^\s*\d+/,Zt=/^%/;function Vt(n,t,e){var r=n<0?"-":"",i=(r?-n:n)+"",u=i.length;return r+(u68?1900:2e3),e+i[0].length):-1}function Qt(n,t,e){return/^[+-]\d{4}$/.test(t=t.slice(e,e+5))?(n.Z=-t,e+5):-1}function ne(n,t,e){Yt.lastIndex=0;var r=Yt.exec(t.slice(e,e+2));return r?(n.m=r[0]-1,e+r[0].length):-1}function te(n,t,e){Yt.lastIndex=0;var r=Yt.exec(t.slice(e,e+2));return r?(n.d=+r[0],e+r[0].length):-1}function ee(n,t,e){Yt.lastIndex=0;var r=Yt.exec(t.slice(e,e+3));return r?(n.j=+r[0],e+r[0].length):-1}function re(n,t,e){Yt.lastIndex=0;var r=Yt.exec(t.slice(e,e+2));return r?(n.H=+r[0],e+r[0].length):-1}function ie(n,t,e){Yt.lastIndex=0;var r=Yt.exec(t.slice(e,e+2));return r?(n.M=+r[0],e+r[0].length):-1}function ue(n,t,e){Yt.lastIndex=0;var r=Yt.exec(t.slice(e,e+2));return r?(n.S=+r[0],e+r[0].length):-1}function oe(n,t,e){Yt.lastIndex=0;var r=Yt.exec(t.slice(e,e+3));return r?(n.L=+r[0],e+r[0].length):-1}function ae(n){var t=n.getTimezoneOffset(),e=t>0?"-":"+",r=m(t)/60|0,i=m(t)%60;return e+Vt(r,"0",2)+Vt(i,"0",2)}function le(n,t,e){Zt.lastIndex=0;var r=Zt.exec(t.slice(e,e+1));return r?e+r[0].length:-1}function ce(n){for(var t=n.length,e=-1;++e=0?1:-1,a=o*u,l=Math.cos(t),c=Math.sin(t),f=i*c,s=r*l+f*Math.cos(a),h=f*o*Math.sin(a);Le.add(Math.atan2(h,s)),e=n,r=l,i=c}qe.point=function(o,a){qe.point=u,e=(n=o)*zn,r=Math.cos(a=(t=a)*zn/2+Nn/4),i=Math.sin(a)},qe.lineEnd=function(){u(n,t)}}function Re(n){var t=n[0],e=n[1],r=Math.cos(e);return[r*Math.cos(t),r*Math.sin(t),Math.sin(e)]}function De(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]}function Pe(n,t){return[n[1]*t[2]-n[2]*t[1],n[2]*t[0]-n[0]*t[2],n[0]*t[1]-n[1]*t[0]]}function Ue(n,t){n[0]+=t[0],n[1]+=t[1],n[2]+=t[2]}function je(n,t){return[n[0]*t,n[1]*t,n[2]*t]}function Fe(n){var t=Math.sqrt(n[0]*n[0]+n[1]*n[1]+n[2]*n[2]);n[0]/=t,n[1]/=t,n[2]/=t}function He(n){return[Math.atan2(n[1],n[0]),Dn(n[2])]}function Oe(n,t){return m(n[0]-t[0])Sn?i=90:c<-Sn&&(e=-90),s[0]=n,s[1]=r}};function p(t,u){f.push(s=[n=t,r=t]),ui&&(i=u)}function g(t,o){var a=Re([t*zn,o*zn]);if(l){var c=Pe(l,a),f=Pe([c[1],-c[0],0],c);Fe(f),f=He(f);var s=t-u,h=s>0?1:-1,g=f[0]*Ln*h,v=m(s)>180;if(v^(h*ui&&(i=d);else if(v^(h*u<(g=(g+360)%360-180)&&gi&&(i=o);v?tb(n,r)&&(r=t):b(t,r)>b(n,r)&&(n=t):r>=n?(tr&&(r=t)):t>u?b(n,t)>b(n,r)&&(r=t):b(t,r)>b(n,r)&&(n=t)}else p(t,o);l=a,u=t}function v(){h.point=g}function d(){s[0]=n,s[1]=r,h.point=p,l=null}function y(n,t){if(l){var e=n-u;c+=m(e)>180?e+(e>0?360:-360):e}else o=n,a=t;qe.point(n,t),g(n,t)}function M(){qe.lineStart()}function x(){y(o,a),qe.lineEnd(),m(c)>Sn&&(n=-(r=180)),s[0]=n,s[1]=r,l=null}function b(n,t){return(t-=n)<0?t+360:t}function _(n,t){return n[0]-t[0]}function w(n,t){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nb(v[0],v[1])&&(v[1]=p[1]),b(p[0],v[1])>b(v[0],v[1])&&(v[0]=p[0])):a.push(v=p);for(var l,c,p,g=-1/0,v=(o=0,a[c=a.length-1]);o<=c;v=p,++o)p=a[o],(l=b(v[1],p[0]))>g&&(g=l,n=p[0],r=v[1])}return f=s=null,n===1/0||e===1/0?[[NaN,NaN],[NaN,NaN]]:[[n,e],[r,i]]}}(),t.geo.centroid=function(n){xe=be=_e=we=Se=ke=Ne=Ee=Ae=Ce=ze=0,t.geo.stream(n,Ie);var e=Ae,r=Ce,i=ze,u=e*e+r*r+i*i;return u=0;--a)i.point((s=f[a])[0],s[1]);else r(p.x,p.p.x,-1,i);p=p.p}f=(p=p.o).z,g=!g}while(!p.v);i.lineEnd()}}}function Ge(n){if(t=n.length){for(var t,e,r=0,i=n[0];++r=0?1:-1,w=_*b,S=w>Nn,k=g*M;if(Le.add(Math.atan2(k*_*Math.sin(w),v*x+k*Math.cos(w))),u+=S?b+_*En:b,S^h>=e^y>=e){var N=Pe(Re(s),Re(n));Fe(N);var E=Pe(i,N);Fe(E);var A=(S^b>=0?-1:1)*Dn(E[2]);(r>A||r===A&&(N[0]||N[1]))&&(o+=S^b>=0?1:-1)}if(!d++)break;h=y,g=M,v=x,s=n}}return(u<-Sn||u0){for(M||(o.polygonStart(),M=!0),o.lineStart();++u1&&2&t&&e.push(e.pop().concat(e.shift())),a.push(e.filter(nr))}return f}}function nr(n){return n.length>1}function tr(){var n,t=[];return{lineStart:function(){t.push(n=[])},point:function(t,e){n.push([t,e])},lineEnd:D,buffer:function(){var e=t;return t=[],n=null,e},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function er(n,t){return((n=n.x)[0]<0?n[1]-Cn-Sn:Cn-n[1])-((t=t.x)[0]<0?t[1]-Cn-Sn:Cn-t[1])}var rr=Qe(We,function(n){var t,e=NaN,r=NaN,i=NaN;return{lineStart:function(){n.lineStart(),t=1},point:function(u,o){var a=u>0?Nn:-Nn,l=m(u-e);m(l-Nn)0?Cn:-Cn),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),n.point(u,r),t=0):i!==a&&l>=Nn&&(m(e-i)Sn?Math.atan((Math.sin(t)*(u=Math.cos(r))*Math.sin(e)-Math.sin(r)*(i=Math.cos(t))*Math.sin(n))/(i*u*o)):(t+r)/2}(e,r,u,o),n.point(i,r),n.lineEnd(),n.lineStart(),n.point(a,r),t=0),n.point(e=u,r=o),i=a},lineEnd:function(){n.lineEnd(),e=r=NaN},clean:function(){return 2-t}}},function(n,t,e,r){var i;if(null==n)i=e*Cn,r.point(-Nn,i),r.point(0,i),r.point(Nn,i),r.point(Nn,0),r.point(Nn,-i),r.point(0,-i),r.point(-Nn,-i),r.point(-Nn,0),r.point(-Nn,i);else if(m(n[0]-t[0])>Sn){var u=n[0]0)){if(u/=h,h<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=e-l,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u0)){if(u/=p,p<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=r-c,p||!(u<0)){if(u/=p,p<0){if(u>s)return;u>f&&(f=u)}else if(p>0){if(u0&&(i.a={x:l+f*h,y:c+f*p}),s<1&&(i.b={x:l+s*h,y:c+s*p}),i}}}}}}var ur=1e9;function or(n,e,r,i){return function(l){var c,f,s,h,p,g,v,d,y,m,M,x=l,b=tr(),_=ir(n,e,r,i),w={point:N,lineStart:function(){w.point=E,f&&f.push(s=[]);m=!0,y=!1,v=d=NaN},lineEnd:function(){c&&(E(h,p),g&&y&&b.rejoin(),c.push(b.buffer()));w.point=N,y&&l.lineEnd()},polygonStart:function(){l=b,c=[],f=[],M=!0},polygonEnd:function(){l=x,c=t.merge(c);var e=function(n){for(var t=0,e=f.length,r=n[1],i=0;ir&&Tn(c,u,n)>0&&++t:u[1]<=r&&Tn(c,u,n)<0&&--t,c=u;return 0!==t}([n,i]),r=M&&e,u=c.length;(r||u)&&(l.polygonStart(),r&&(l.lineStart(),S(null,null,1,l),l.lineEnd()),u&&Je(c,o,e,S,l),l.polygonEnd()),c=f=s=null}};function S(t,o,l,c){var f=0,s=0;if(null==t||(f=u(t,l))!==(s=u(o,l))||a(t,o)<0^l>0)do{c.point(0===f||3===f?n:r,f>1?i:e)}while((f=(f+l+4)%4)!==s);else c.point(o[0],o[1])}function k(t,u){return n<=t&&t<=r&&e<=u&&u<=i}function N(n,t){k(n,t)&&l.point(n,t)}function E(n,t){var e=k(n=Math.max(-ur,Math.min(ur,n)),t=Math.max(-ur,Math.min(ur,t)));if(f&&s.push([n,t]),m)h=n,p=t,g=e,m=!1,e&&(l.lineStart(),l.point(n,t));else if(e&&y)l.point(n,t);else{var r={a:{x:v,y:d},b:{x:n,y:t}};_(r)?(y||(l.lineStart(),l.point(r.a.x,r.a.y)),l.point(r.b.x,r.b.y),e||l.lineEnd(),M=!1):e&&(l.lineStart(),l.point(n,t),M=!1)}v=n,d=t,y=e}return w};function u(t,i){return m(t[0]-n)0?0:3:m(t[0]-r)0?2:1:m(t[1]-e)0?1:0:i>0?3:2}function o(n,t){return a(n.x,t.x)}function a(n,t){var e=u(n,1),r=u(t,1);return e!==r?e-r:0===e?t[1]-n[1]:1===e?n[0]-t[0]:2===e?n[1]-t[1]:t[0]-n[0]}}function ar(n){var t=0,e=Nn/3,r=Lr(n),i=r(t,e);return i.parallels=function(n){return arguments.length?r(t=n[0]*Nn/180,e=n[1]*Nn/180):[t/Nn*180,e/Nn*180]},i}function lr(n,t){var e=Math.sin(n),r=(e+Math.sin(t))/2,i=1+e*(2*r-e),u=Math.sqrt(i)/r;function o(n,t){var e=Math.sqrt(i-2*r*Math.sin(t))/r;return[e*Math.sin(n*=r),u-e*Math.cos(n)]}return o.invert=function(n,t){var e=u-t;return[Math.atan2(n,e)/r,Dn((i-(n*n+e*e)*r*r)/(2*r))]},o}t.geo.clipExtent=function(){var n,t,e,r,i,u,o={stream:function(n){return i&&(i.valid=!1),(i=u(n)).valid=!0,i},extent:function(a){return arguments.length?(u=or(n=+a[0][0],t=+a[0][1],e=+a[1][0],r=+a[1][1]),i&&(i.valid=!1,i=null),o):[[n,t],[e,r]]}};return o.extent([[0,0],[960,500]])},(t.geo.conicEqualArea=function(){return ar(lr)}).raw=lr,t.geo.albers=function(){return t.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},t.geo.albersUsa=function(){var n,e,r,i,u=t.geo.albers(),o=t.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),a=t.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,e){n=[t,e]}};function c(t){var u=t[0],o=t[1];return n=null,e(u,o),n||(r(u,o),n)||i(u,o),n}return c.invert=function(n){var t=u.scale(),e=u.translate(),r=(n[0]-e[0])/t,i=(n[1]-e[1])/t;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?o:i>=.166&&i<.234&&r>=-.214&&r<-.115?a:u).invert(n)},c.stream=function(n){var t=u.stream(n),e=o.stream(n),r=a.stream(n);return{point:function(n,i){t.point(n,i),e.point(n,i),r.point(n,i)},sphere:function(){t.sphere(),e.sphere(),r.sphere()},lineStart:function(){t.lineStart(),e.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),e.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),e.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),e.polygonEnd(),r.polygonEnd()}}},c.precision=function(n){return arguments.length?(u.precision(n),o.precision(n),a.precision(n),c):u.precision()},c.scale=function(n){return arguments.length?(u.scale(n),o.scale(.35*n),a.scale(n),c.translate(u.translate())):u.scale()},c.translate=function(n){if(!arguments.length)return u.translate();var t=u.scale(),f=+n[0],s=+n[1];return e=u.translate(n).clipExtent([[f-.455*t,s-.238*t],[f+.455*t,s+.238*t]]).stream(l).point,r=o.translate([f-.307*t,s+.201*t]).clipExtent([[f-.425*t+Sn,s+.12*t+Sn],[f-.214*t-Sn,s+.234*t-Sn]]).stream(l).point,i=a.translate([f-.205*t,s+.212*t]).clipExtent([[f-.214*t+Sn,s+.166*t+Sn],[f-.115*t-Sn,s+.234*t-Sn]]).stream(l).point,c},c.scale(1070)};var cr,fr,sr,hr,pr,gr,vr={point:D,lineStart:D,lineEnd:D,polygonStart:function(){fr=0,vr.lineStart=dr},polygonEnd:function(){vr.lineStart=vr.lineEnd=vr.point=D,cr+=m(fr/2)}};function dr(){var n,t,e,r;function i(n,t){fr+=r*n-e*t,e=n,r=t}vr.point=function(u,o){vr.point=i,n=e=u,t=r=o},vr.lineEnd=function(){i(n,t)}}var yr={point:function(n,t){npr&&(pr=n);tgr&&(gr=t)},lineStart:D,lineEnd:D,polygonStart:D,polygonEnd:D};function mr(){var n=Mr(4.5),t=[],e={point:r,lineStart:function(){e.point=i},lineEnd:o,polygonStart:function(){e.lineEnd=a},polygonEnd:function(){e.lineEnd=o,e.point=r},pointRadius:function(t){return n=Mr(t),e},result:function(){if(t.length){var n=t.join("");return t=[],n}}};function r(e,r){t.push("M",e,",",r,n)}function i(n,r){t.push("M",n,",",r),e.point=u}function u(n,e){t.push("L",n,",",e)}function o(){e.point=r}function a(){t.push("Z")}return e}function Mr(n){return"m0,"+n+"a"+n+","+n+" 0 1,1 0,"+-2*n+"a"+n+","+n+" 0 1,1 0,"+2*n+"z"}var xr,br={point:_r,lineStart:wr,lineEnd:Sr,polygonStart:function(){br.lineStart=kr},polygonEnd:function(){br.point=_r,br.lineStart=wr,br.lineEnd=Sr}};function _r(n,t){_e+=n,we+=t,++Se}function wr(){var n,t;function e(e,r){var i=e-n,u=r-t,o=Math.sqrt(i*i+u*u);ke+=o*(n+e)/2,Ne+=o*(t+r)/2,Ee+=o,_r(n=e,t=r)}br.point=function(r,i){br.point=e,_r(n=r,t=i)}}function Sr(){br.point=_r}function kr(){var n,t,e,r;function i(n,t){var i=n-e,u=t-r,o=Math.sqrt(i*i+u*u);ke+=o*(e+n)/2,Ne+=o*(r+t)/2,Ee+=o,Ae+=(o=r*n-e*t)*(e+n),Ce+=o*(r+t),ze+=3*o,_r(e=n,r=t)}br.point=function(u,o){br.point=i,_r(n=e=u,t=r=o)},br.lineEnd=function(){i(n,t)}}function Nr(n){var t=4.5,e={point:r,lineStart:function(){e.point=i},lineEnd:o,polygonStart:function(){e.lineEnd=a},polygonEnd:function(){e.lineEnd=o,e.point=r},pointRadius:function(n){return t=n,e},result:D};function r(e,r){n.moveTo(e+t,r),n.arc(e,r,t,0,En)}function i(t,r){n.moveTo(t,r),e.point=u}function u(t,e){n.lineTo(t,e)}function o(){e.point=r}function a(){n.closePath()}return e}function Er(n){var t=.5,e=Math.cos(30*zn),r=16;function i(t){return(r?function(t){var e,i,o,a,l,c,f,s,h,p,g,v,d={point:y,lineStart:m,lineEnd:x,polygonStart:function(){t.polygonStart(),d.lineStart=b},polygonEnd:function(){t.polygonEnd(),d.lineStart=m}};function y(e,r){e=n(e,r),t.point(e[0],e[1])}function m(){s=NaN,d.point=M,t.lineStart()}function M(e,i){var o=Re([e,i]),a=n(e,i);u(s,h,f,p,g,v,s=a[0],h=a[1],f=e,p=o[0],g=o[1],v=o[2],r,t),t.point(s,h)}function x(){d.point=y,t.lineEnd()}function b(){m(),d.point=_,d.lineEnd=w}function _(n,t){M(e=n,t),i=s,o=h,a=p,l=g,c=v,d.point=M}function w(){u(s,h,f,p,g,v,i,o,e,a,l,c,r,t),d.lineEnd=x,x()}return d}:function(t){return Cr(t,function(e,r){e=n(e,r),t.point(e[0],e[1])})})(t)}function u(r,i,o,a,l,c,f,s,h,p,g,v,d,y){var M=f-r,x=s-i,b=M*M+x*x;if(b>4*t&&d--){var _=a+p,w=l+g,S=c+v,k=Math.sqrt(_*_+w*w+S*S),N=Math.asin(S/=k),E=m(m(S)-1)t||m((M*L+x*q)/b-.5)>.3||a*p+l*g+c*v0&&16,i):Math.sqrt(t)},i}function Ar(n){this.stream=n}function Cr(n,t){return{point:t,sphere:function(){n.sphere()},lineStart:function(){n.lineStart()},lineEnd:function(){n.lineEnd()},polygonStart:function(){n.polygonStart()},polygonEnd:function(){n.polygonEnd()}}}function zr(n){return Lr(function(){return n})()}function Lr(n){var e,r,i,u,o,a,l=Er(function(n,t){return[(n=e(n,t))[0]*c+u,o-n[1]*c]}),c=150,f=480,s=250,h=0,p=0,g=0,v=0,d=0,y=rr,M=L,x=null,b=null;function _(n){return[(n=i(n[0]*zn,n[1]*zn))[0]*c+u,o-n[1]*c]}function w(n){return(n=i.invert((n[0]-u)/c,(o-n[1])/c))&&[n[0]*Ln,n[1]*Ln]}function S(){i=Be(r=Dr(g,v,d),e);var n=e(h,p);return u=f-n[0]*c,o=s+n[1]*c,k()}function k(){return a&&(a.valid=!1,a=null),_}return _.stream=function(n){return a&&(a.valid=!1),(a=qr(y(r,l(M(n))))).valid=!0,a},_.clipAngle=function(n){return arguments.length?(y=null==n?(x=n,rr):function(n){var t=Math.cos(n),e=t>0,r=m(t)>Sn;return Qe(i,function(n){var t,a,l,c,f;return{lineStart:function(){c=l=!1,f=1},point:function(s,h){var p,g=[s,h],v=i(s,h),d=e?v?0:o(s,h):v?o(s+(s<0?Nn:-Nn),h):0;if(!t&&(c=l=v)&&n.lineStart(),v!==l&&(p=u(t,g),(Oe(t,p)||Oe(g,p))&&(g[0]+=Sn,g[1]+=Sn,v=i(g[0],g[1]))),v!==l)f=0,v?(n.lineStart(),p=u(g,t),n.point(p[0],p[1])):(p=u(t,g),n.point(p[0],p[1]),n.lineEnd()),t=p;else if(r&&t&&e^v){var y;d&a||!(y=u(g,t,!0))||(f=0,e?(n.lineStart(),n.point(y[0][0],y[0][1]),n.point(y[1][0],y[1][1]),n.lineEnd()):(n.point(y[1][0],y[1][1]),n.lineEnd(),n.lineStart(),n.point(y[0][0],y[0][1])))}!v||t&&Oe(t,g)||n.point(g[0],g[1]),t=g,l=v,a=d},lineEnd:function(){l&&n.lineEnd(),t=null},clean:function(){return f|(c&&l)<<1}}},Fr(n,6*zn),e?[0,-n]:[-Nn,n-Nn]);function i(n,e){return Math.cos(n)*Math.cos(e)>t}function u(n,e,r){var i=[1,0,0],u=Pe(Re(n),Re(e)),o=De(u,u),a=u[0],l=o-a*a;if(!l)return!r&&n;var c=t*o/l,f=-t*a/l,s=Pe(i,u),h=je(i,c);Ue(h,je(u,f));var p=s,g=De(h,p),v=De(p,p),d=g*g-v*(De(h,h)-1);if(!(d<0)){var y=Math.sqrt(d),M=je(p,(-g-y)/v);if(Ue(M,h),M=He(M),!r)return M;var x,b=n[0],_=e[0],w=n[1],S=e[1];_0^M[1]<(m(M[0]-b)Nn^(b<=M[0]&&M[0]<=_)){var E=je(p,(-g+y)/v);return Ue(E,h),[M,He(E)]}}}function o(t,r){var i=e?n:Nn-n,u=0;return t<-i?u|=1:t>i&&(u|=2),r<-i?u|=4:r>i&&(u|=8),u}}((x=+n)*zn),k()):x},_.clipExtent=function(n){return arguments.length?(b=n,M=n?or(n[0][0],n[0][1],n[1][0],n[1][1]):L,k()):b},_.scale=function(n){return arguments.length?(c=+n,S()):c},_.translate=function(n){return arguments.length?(f=+n[0],s=+n[1],S()):[f,s]},_.center=function(n){return arguments.length?(h=n[0]%360*zn,p=n[1]%360*zn,S()):[h*Ln,p*Ln]},_.rotate=function(n){return arguments.length?(g=n[0]%360*zn,v=n[1]%360*zn,d=n.length>2?n[2]%360*zn:0,S()):[g*Ln,v*Ln,d*Ln]},t.rebind(_,l,"precision"),function(){return e=n.apply(this,arguments),_.invert=e.invert&&w,S()}}function qr(n){return Cr(n,function(t,e){n.point(t*zn,e*zn)})}function Tr(n,t){return[n,t]}function Rr(n,t){return[n>Nn?n-En:n<-Nn?n+En:n,t]}function Dr(n,t,e){return n?t||e?Be(Ur(n),jr(t,e)):Ur(n):t||e?jr(t,e):Rr}function Pr(n){return function(t,e){return[(t+=n)>Nn?t-En:t<-Nn?t+En:t,e]}}function Ur(n){var t=Pr(n);return t.invert=Pr(-n),t}function jr(n,t){var e=Math.cos(n),r=Math.sin(n),i=Math.cos(t),u=Math.sin(t);function o(n,t){var o=Math.cos(t),a=Math.cos(n)*o,l=Math.sin(n)*o,c=Math.sin(t),f=c*e+a*r;return[Math.atan2(l*i-f*u,a*e-c*r),Dn(f*i+l*u)]}return o.invert=function(n,t){var o=Math.cos(t),a=Math.cos(n)*o,l=Math.sin(n)*o,c=Math.sin(t),f=c*i-l*u;return[Math.atan2(l*i+c*u,a*e+f*r),Dn(f*e-a*r)]},o}function Fr(n,t){var e=Math.cos(n),r=Math.sin(n);return function(i,u,o,a){var l=o*t;null!=i?(i=Hr(e,i),u=Hr(e,u),(o>0?iu)&&(i+=o*En)):(i=n+o*En,u=n-.5*l);for(var c,f=i;o>0?f>u:f2?n[2]*zn:0),t.invert=function(t){return(t=n.invert(t[0]*zn,t[1]*zn))[0]*=Ln,t[1]*=Ln,t},t},Rr.invert=Tr,t.geo.circle=function(){var n,t,e=[0,0],r=6;function i(){var n="function"==typeof e?e.apply(this,arguments):e,r=Dr(-n[0]*zn,-n[1]*zn,0).invert,i=[];return t(null,null,1,{point:function(n,t){i.push(n=r(n,t)),n[0]*=Ln,n[1]*=Ln}}),{type:"Polygon",coordinates:[i]}}return i.origin=function(n){return arguments.length?(e=n,i):e},i.angle=function(e){return arguments.length?(t=Fr((n=+e)*zn,r*zn),i):n},i.precision=function(e){return arguments.length?(t=Fr(n*zn,(r=+e)*zn),i):r},i.angle(90)},t.geo.distance=function(n,t){var e,r=(t[0]-n[0])*zn,i=n[1]*zn,u=t[1]*zn,o=Math.sin(r),a=Math.cos(r),l=Math.sin(i),c=Math.cos(i),f=Math.sin(u),s=Math.cos(u);return Math.atan2(Math.sqrt((e=s*o)*e+(e=c*f-l*s*a)*e),l*f+c*s*a)},t.geo.graticule=function(){var n,e,r,i,u,o,a,l,c,f,s,h,p=10,g=p,v=90,d=360,y=2.5;function M(){return{type:"MultiLineString",coordinates:x()}}function x(){return t.range(Math.ceil(i/v)*v,r,v).map(s).concat(t.range(Math.ceil(l/d)*d,a,d).map(h)).concat(t.range(Math.ceil(e/p)*p,n,p).filter(function(n){return m(n%v)>Sn}).map(c)).concat(t.range(Math.ceil(o/g)*g,u,g).filter(function(n){return m(n%d)>Sn}).map(f))}return M.lines=function(){return x().map(function(n){return{type:"LineString",coordinates:n}})},M.outline=function(){return{type:"Polygon",coordinates:[s(i).concat(h(a).slice(1),s(r).reverse().slice(1),h(l).reverse().slice(1))]}},M.extent=function(n){return arguments.length?M.majorExtent(n).minorExtent(n):M.minorExtent()},M.majorExtent=function(n){return arguments.length?(i=+n[0][0],r=+n[1][0],l=+n[0][1],a=+n[1][1],i>r&&(n=i,i=r,r=n),l>a&&(n=l,l=a,a=n),M.precision(y)):[[i,l],[r,a]]},M.minorExtent=function(t){return arguments.length?(e=+t[0][0],n=+t[1][0],o=+t[0][1],u=+t[1][1],e>n&&(t=e,e=n,n=t),o>u&&(t=o,o=u,u=t),M.precision(y)):[[e,o],[n,u]]},M.step=function(n){return arguments.length?M.majorStep(n).minorStep(n):M.minorStep()},M.majorStep=function(n){return arguments.length?(v=+n[0],d=+n[1],M):[v,d]},M.minorStep=function(n){return arguments.length?(p=+n[0],g=+n[1],M):[p,g]},M.precision=function(t){return arguments.length?(y=+t,c=Or(o,u,90),f=Ir(e,n,y),s=Or(l,a,90),h=Ir(i,r,y),M):y},M.majorExtent([[-180,-90+Sn],[180,90-Sn]]).minorExtent([[-180,-80-Sn],[180,80+Sn]])},t.geo.greatArc=function(){var n,e,r=Yr,i=Zr;function u(){return{type:"LineString",coordinates:[n||r.apply(this,arguments),e||i.apply(this,arguments)]}}return u.distance=function(){return t.geo.distance(n||r.apply(this,arguments),e||i.apply(this,arguments))},u.source=function(t){return arguments.length?(r=t,n="function"==typeof t?null:t,u):r},u.target=function(n){return arguments.length?(i=n,e="function"==typeof n?null:n,u):i},u.precision=function(){return arguments.length?u:0},u},t.geo.interpolate=function(n,t){return e=n[0]*zn,r=n[1]*zn,i=t[0]*zn,u=t[1]*zn,o=Math.cos(r),a=Math.sin(r),l=Math.cos(u),c=Math.sin(u),f=o*Math.cos(e),s=o*Math.sin(e),h=l*Math.cos(i),p=l*Math.sin(i),g=2*Math.asin(Math.sqrt(Un(u-r)+o*l*Un(i-e))),v=1/Math.sin(g),(d=g?function(n){var t=Math.sin(n*=g)*v,e=Math.sin(g-n)*v,r=e*f+t*h,i=e*s+t*p,u=e*a+t*c;return[Math.atan2(i,r)*Ln,Math.atan2(u,Math.sqrt(r*r+i*i))*Ln]}:function(){return[e*Ln,r*Ln]}).distance=g,d;var e,r,i,u,o,a,l,c,f,s,h,p,g,v,d},t.geo.length=function(n){return xr=0,t.geo.stream(n,Vr),xr};var Vr={sphere:D,point:D,lineStart:function(){var n,t,e;function r(r,i){var u=Math.sin(i*=zn),o=Math.cos(i),a=m((r*=zn)-n),l=Math.cos(a);xr+=Math.atan2(Math.sqrt((a=o*Math.sin(a))*a+(a=e*u-t*o*l)*a),t*u+e*o*l),n=r,t=u,e=o}Vr.point=function(i,u){n=i*zn,t=Math.sin(u*=zn),e=Math.cos(u),Vr.point=r},Vr.lineEnd=function(){Vr.point=Vr.lineEnd=D}},lineEnd:D,polygonStart:D,polygonEnd:D};function Xr(n,t){function e(t,e){var r=Math.cos(t),i=Math.cos(e),u=n(r*i);return[u*i*Math.sin(t),u*Math.sin(e)]}return e.invert=function(n,e){var r=Math.sqrt(n*n+e*e),i=t(r),u=Math.sin(i),o=Math.cos(i);return[Math.atan2(n*u,r*o),Math.asin(r&&e*u/r)]},e}var $r=Xr(function(n){return Math.sqrt(2/(1+n))},function(n){return 2*Math.asin(n/2)});(t.geo.azimuthalEqualArea=function(){return zr($r)}).raw=$r;var Br=Xr(function(n){var t=Math.acos(n);return t&&t/Math.sin(t)},L);function Wr(n,t){var e=Math.cos(n),r=function(n){return Math.tan(Nn/4+n/2)},i=n===t?Math.sin(n):Math.log(e/Math.cos(t))/Math.log(r(t)/r(n)),u=e*Math.pow(r(n),i)/i;if(!i)return Kr;function o(n,t){u>0?t<-Cn+Sn&&(t=-Cn+Sn):t>Cn-Sn&&(t=Cn-Sn);var e=u/Math.pow(r(t),i);return[e*Math.sin(i*n),u-e*Math.cos(i*n)]}return o.invert=function(n,t){var e=u-t,r=qn(i)*Math.sqrt(n*n+e*e);return[Math.atan2(n,e)/i,2*Math.atan(Math.pow(u/r,1/i))-Cn]},o}function Jr(n,t){var e=Math.cos(n),r=n===t?Math.sin(n):(e-Math.cos(t))/(t-n),i=e/r+n;if(m(r)1&&Tn(n[e[r-2]],n[e[r-1]],n[i])<=0;)--r;e[r++]=i}return e.slice(0,r)}function oi(n,t){return n[0]-t[0]||n[1]-t[1]}(t.geo.stereographic=function(){return zr(ti)}).raw=ti,ei.invert=function(n,t){return[-t,2*Math.atan(Math.exp(n))-Cn]},(t.geo.transverseMercator=function(){var n=Qr(ei),t=n.center,e=n.rotate;return n.center=function(n){return n?t([-n[1],n[0]]):[(n=t())[1],-n[0]]},n.rotate=function(n){return n?e([n[0],n[1],n.length>2?n[2]+90:90]):[(n=e())[0],n[1],n[2]-90]},e([0,0,90])}).raw=ei,t.geom={},t.geom.hull=function(n){var t=ri,e=ii;if(arguments.length)return r(n);function r(n){if(n.length<3)return[];var r,i=yt(t),u=yt(e),o=n.length,a=[],l=[];for(r=0;r=0;--r)p.push(n[a[c[r]][2]]);for(r=+s;rSn)a=a.L;else{if(!((i=u-Si(a,o))>Sn)){r>-Sn?(t=a.P,e=a):i>-Sn?(t=a,e=a.N):t=e=a;break}if(!a.R){t=a;break}a=a.R}var l=Mi(n);if(pi.insert(t,l),t||e){if(t===e)return Ci(t),e=Mi(t.site),pi.insert(l,e),l.edge=e.edge=qi(t.site,l.site),Ai(t),void Ai(e);if(e){Ci(t),Ci(e);var c=t.site,f=c.x,s=c.y,h=n.x-f,p=n.y-s,g=e.site,v=g.x-f,d=g.y-s,y=2*(h*d-p*v),m=h*h+p*p,M=v*v+d*d,x={x:(d*m-p*M)/y+f,y:(h*M-v*m)/y+s};Ti(e.edge,c,g,x),l.edge=qi(c,n,null,x),e.edge=qi(n,g,null,x),Ai(t),Ai(e)}else l.edge=qi(t.site,l.site)}}function wi(n,t){var e=n.site,r=e.x,i=e.y,u=i-t;if(!u)return r;var o=n.P;if(!o)return-1/0;var a=(e=o.site).x,l=e.y,c=l-t;if(!c)return a;var f=a-r,s=1/u-1/c,h=f/c;return s?(-h+Math.sqrt(h*h-2*s*(f*f/(-2*c)-l+c/2+i-u/2)))/s+r:(r+a)/2}function Si(n,t){var e=n.N;if(e)return wi(e,t);var r=n.site;return r.y===t?r.x:1/0}function ki(n){this.site=n,this.edges=[]}function Ni(n,t){return t.angle-n.angle}function Ei(){Pi(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ai(n){var t=n.P,e=n.N;if(t&&e){var r=t.site,i=n.site,u=e.site;if(r!==u){var o=i.x,a=i.y,l=r.x-o,c=r.y-a,f=u.x-o,s=2*(l*(d=u.y-a)-c*f);if(!(s>=-kn)){var h=l*l+c*c,p=f*f+d*d,g=(d*h-c*p)/s,v=(l*p-f*h)/s,d=v+a,y=yi.pop()||new Ei;y.arc=n,y.site=i,y.x=g+o,y.y=d+Math.sqrt(g*g+v*v),y.cy=d,n.circle=y;for(var m=null,M=vi._;M;)if(y.y=a)return;if(h>g){if(u){if(u.y>=c)return}else u={x:d,y:l};e={x:d,y:c}}else{if(u){if(u.y1)if(h>g){if(u){if(u.y>=c)return}else u={x:(l-i)/r,y:l};e={x:(c-i)/r,y:c}}else{if(u){if(u.y=a)return}else u={x:o,y:r*o+i};e={x:a,y:r*a+i}}else{if(u){if(u.xSn||m(i-e)>Sn)&&(a.splice(o,0,new Ri((y=u.site,M=f,x=m(r-s)Sn?{x:s,y:m(t-s)Sn?{x:m(e-g)Sn?{x:h,y:m(t-h)Sn?{x:m(e-p)=e&&c.x<=i&&c.y>=r&&c.y<=o?[[e,o],[i,o],[i,r],[e,r]]:[]).point=n[a]}),t}function a(n){return n.map(function(n,t){return{x:Math.round(r(n,t)/Sn)*Sn,y:Math.round(i(n,t)/Sn)*Sn,i:t}})}return o.links=function(n){return Hi(a(n)).edges.filter(function(n){return n.l&&n.r}).map(function(t){return{source:n[t.l.i],target:n[t.r.i]}})},o.triangles=function(n){var t=[];return Hi(a(n)).cells.forEach(function(e,r){for(var i,u,o,a,l=e.site,c=e.edges.sort(Ni),f=-1,s=c.length,h=c[s-1].edge,p=h.l===l?h.r:h.l;++fu&&(i=t.slice(u,i),a[o]?a[o]+=i:a[++o]=i),(e=e[0])===(r=r[0])?a[o]?a[o]+=r:a[++o]=r:(a[++o]=null,l.push({i:o,x:$i(e,r)})),u=Ji.lastIndex;return uv&&(v=l.x),l.y>d&&(d=l.y),c.push(l.x),f.push(l.y);else for(s=0;sv&&(v=x),b>d&&(d=b),c.push(x),f.push(b)}var _=v-p,w=d-g;function S(n,t,e,r,i,u,o,a){if(!isNaN(e)&&!isNaN(r))if(n.leaf){var l=n.x,c=n.y;if(null!=l)if(m(l-e)+m(c-r)<.01)k(n,t,e,r,i,u,o,a);else{var f=n.point;n.x=n.y=n.point=null,k(n,f,l,c,i,u,o,a),k(n,t,e,r,i,u,o,a)}else n.x=e,n.y=r,n.point=t}else k(n,t,e,r,i,u,o,a)}function k(n,t,e,r,i,u,o,a){var l=.5*(i+o),c=.5*(u+a),f=e>=l,s=r>=c,h=s<<1|f;n.leaf=!1,f?i=l:o=l,s?u=c:a=c,S(n=n.nodes[h]||(n.nodes[h]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,e,r,i,u,o,a)}_>w?d=g+_:v=p+w;var N={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(n){S(N,n,+y(n,++s),+M(n,s),p,g,v,d)}};if(N.visit=function(n){!function n(t,e,r,i,u,o){if(!t(e,r,i,u,o)){var a=.5*(r+u),l=.5*(i+o),c=e.nodes;c[0]&&n(t,c[0],r,i,a,l),c[1]&&n(t,c[1],a,i,u,l),c[2]&&n(t,c[2],r,l,a,o),c[3]&&n(t,c[3],a,l,u,o)}}(n,N,p,g,v,d)},N.find=function(n){return function(n,t,e,r,i,u,o){var a,l=1/0;return function n(c,f,s,h,p){if(!(f>u||s>o||h=b)<<1|t>=x,w=_+4;_=0&&!(r=t.interpolators[i](n,e)););return r}function Ki(n,t){var e,r=[],i=[],u=n.length,o=t.length,a=Math.min(n.length,t.length);for(e=0;e=1)return 1;var t=n*n,e=t*n;return 4*(n<.5?e:3*(n-t)+e-.75)}function au(n){return 1-Math.cos(n*Cn)}function lu(n){return Math.pow(2,10*(n-1))}function cu(n){return 1-Math.sqrt(1-n*n)}function fu(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}function su(n,t){return t-=n,function(e){return Math.round(n+t*e)}}function hu(n){var t,e,r,i=[n.a,n.b],u=[n.c,n.d],o=gu(i),a=pu(i,u),l=gu(((t=u)[0]+=(r=-a)*(e=i)[0],t[1]+=r*e[1],t))||0;i[0]*u[1]=0?n.slice(0,r):n,u=r>=0?n.slice(r+1):"in";return i=nu.get(i)||Qi,u=tu.get(u)||L,t=u(i.apply(null,e.call(arguments,1))),function(n){return n<=0?0:n>=1?1:t(n)}},t.interpolateHcl=function(n,e){n=t.hcl(n),e=t.hcl(e);var r=n.h,i=n.c,u=n.l,o=e.h-r,a=e.c-i,l=e.l-u;isNaN(a)&&(a=0,i=isNaN(i)?e.c:i);isNaN(o)?(o=0,r=isNaN(r)?e.h:r):o>180?o-=360:o<-180&&(o+=360);return function(n){return Bn(r+o*n,i+a*n,u+l*n)+""}},t.interpolateHsl=function(n,e){n=t.hsl(n),e=t.hsl(e);var r=n.h,i=n.s,u=n.l,o=e.h-r,a=e.s-i,l=e.l-u;isNaN(a)&&(a=0,i=isNaN(i)?e.s:i);isNaN(o)?(o=0,r=isNaN(r)?e.h:r):o>180?o-=360:o<-180&&(o+=360);return function(n){return Vn(r+o*n,i+a*n,u+l*n)+""}},t.interpolateLab=function(n,e){n=t.lab(n),e=t.lab(e);var r=n.l,i=n.a,u=n.b,o=e.l-r,a=e.a-i,l=e.b-u;return function(n){return tt(r+o*n,i+a*n,u+l*n)+""}},t.interpolateRound=su,t.transform=function(n){var e=i.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(n){if(null!=n){e.setAttribute("transform",n);var t=e.transform.baseVal.consolidate()}return new hu(t?t.matrix:vu)})(n)},hu.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var vu={a:1,b:0,c:0,d:1,e:0,f:0};function du(n){return n.length?n.pop()+",":""}function yu(n,e){var r=[],i=[];return n=t.transform(n),e=t.transform(e),function(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push("translate(",null,",",null,")");r.push({i:i-4,x:$i(n[0],t[0])},{i:i-2,x:$i(n[1],t[1])})}else(t[0]||t[1])&&e.push("translate("+t+")")}(n.translate,e.translate,r,i),function(n,t,e,r){n!==t?(n-t>180?t+=360:t-n>180&&(n+=360),r.push({i:e.push(du(e)+"rotate(",null,")")-2,x:$i(n,t)})):t&&e.push(du(e)+"rotate("+t+")")}(n.rotate,e.rotate,r,i),function(n,t,e,r){n!==t?r.push({i:e.push(du(e)+"skewX(",null,")")-2,x:$i(n,t)}):t&&e.push(du(e)+"skewX("+t+")")}(n.skew,e.skew,r,i),function(n,t,e,r){if(n[0]!==t[0]||n[1]!==t[1]){var i=e.push(du(e)+"scale(",null,",",null,")");r.push({i:i-4,x:$i(n[0],t[0])},{i:i-2,x:$i(n[1],t[1])})}else 1===t[0]&&1===t[1]||e.push(du(e)+"scale("+t+")")}(n.scale,e.scale,r,i),n=e=null,function(n){for(var t,e=-1,u=i.length;++e0?r=t:(n.c=null,n.t=NaN,n=null,l.end({type:"end",alpha:r=0})):t>0&&(l.start({type:"start",alpha:r=t}),n=kt(a.tick)),a):r},a.start=function(){var n,t,e,r=y.length,l=m.length,f=c[0],g=c[1];for(n=0;n=0;)e.push(i[r])}function Lu(n,t){for(var e=[n],r=[];null!=(n=e.pop());)if(r.push(n),(u=n.children)&&(i=u.length))for(var i,u,o=-1;++o=0;)o.push(f=c[l]),f.parent=u,f.depth=u.depth+1;e&&(u.value=0),u.children=c}else e&&(u.value=+e.call(r,u,u.depth)||0),delete u.children;return Lu(i,function(t){var r,i;n&&(r=t.children)&&r.sort(n),e&&(i=t.parent)&&(i.value+=t.value)}),a}return r.sort=function(t){return arguments.length?(n=t,r):n},r.children=function(n){return arguments.length?(t=n,r):t},r.value=function(n){return arguments.length?(e=n,r):e},r.revalue=function(n){return e&&(zu(n,function(n){n.children&&(n.value=0)}),Lu(n,function(n){var t;n.children||(n.value=+e.call(r,n,n.depth)||0),(t=n.parent)&&(t.value+=n.value)})),n},r},t.layout.partition=function(){var n=t.layout.hierarchy(),e=[1,1];function r(t,r){var i=n.call(this,t,r);return function n(t,e,r,i){var u=t.children;if(t.x=e,t.y=t.depth*i,t.dx=r,t.dy=i,u&&(o=u.length)){var o,a,l,c=-1;for(r=t.value?r/t.value:0;++ca&&(a=r),o.push(r)}for(e=0;ei&&(r=e,i=t);return r}function Vu(n){return n.reduce(Xu,0)}function Xu(n,t){return n+t[1]}function $u(n,t){return Bu(n,Math.ceil(Math.log(t.length)/Math.LN2+1))}function Bu(n,t){for(var e=-1,r=+n[0],i=(n[1]-r)/t,u=[];++e<=t;)u[e]=i*e+r;return u}function Wu(n){return[t.min(n),t.max(n)]}function Ju(n,t){return n.value-t.value}function Gu(n,t){var e=n._pack_next;n._pack_next=t,t._pack_prev=n,t._pack_next=e,e._pack_prev=t}function Ku(n,t){n._pack_next=t,t._pack_prev=n}function Qu(n,t){var e=t.x-n.x,r=t.y-n.y,i=n.r+t.r;return.999*i*i>e*e+r*r}function no(n){if((t=n.children)&&(l=t.length)){var t,e,r,i,u,o,a,l,c=1/0,f=-1/0,s=1/0,h=-1/0;if(t.forEach(to),(e=t[0]).x=-e.r,e.y=0,M(e),l>1&&((r=t[1]).x=r.r,r.y=0,M(r),l>2))for(ro(e,r,i=t[2]),M(i),Gu(e,i),e._pack_prev=i,Gu(i,r),r=e._pack_next,u=3;u0)for(o=-1;++o=s[0]&&l<=s[1]&&((a=c[t.bisect(h,l,1,g)-1]).y+=v,a.push(u[o]));return c}return u.value=function(n){return arguments.length?(e=n,u):e},u.range=function(n){return arguments.length?(r=yt(n),u):r},u.bins=function(n){return arguments.length?(i="number"==typeof n?function(t){return Bu(t,n)}:yt(n),u):i},u.frequency=function(t){return arguments.length?(n=!!t,u):n},u},t.layout.pack=function(){var n,e=t.layout.hierarchy().sort(Ju),r=0,i=[1,1];function u(t,u){var o=e.call(this,t,u),a=o[0],l=i[0],c=i[1],f=null==n?Math.sqrt:"function"==typeof n?n:function(){return n};if(a.x=a.y=0,Lu(a,function(n){n.r=+f(n.value)}),Lu(a,no),r){var s=r*(n?1:Math.max(2*a.r/l,2*a.r/c))/2;Lu(a,function(n){n.r+=s}),Lu(a,no),Lu(a,function(n){n.r-=s})}return function n(t,e,r,i){var u=t.children;t.x=e+=i*t.x;t.y=r+=i*t.y;t.r*=i;if(u)for(var o=-1,a=u.length;++op.x&&(p=n),n.depth>g.depth&&(g=n)});var v=e(h,p)/2-h.x,d=r[0]/(p.x+e(p,h)/2+v),y=r[1]/(g.depth||1);zu(f,function(n){n.x=(n.x+v)*d,n.y=n.depth*y})}return c}function o(n){var t=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(t.length){!function(n){var t,e=0,r=0,i=n.children,u=i.length;for(;--u>=0;)(t=i[u]).z+=e,t.m+=e,e+=t.s+(r+=t.c)}(n);var u=(t[0].z+t[t.length-1].z)/2;i?(n.z=i.z+e(n._,i._),n.m=n.z-u):n.z=u}else i&&(n.z=i.z+e(n._,i._));n.parent.A=function(n,t,r){if(t){for(var i,u=n,o=n,a=t,l=u.parent.children[0],c=u.m,f=o.m,s=a.m,h=l.m;a=oo(a),u=uo(u),a&&u;)l=uo(l),(o=oo(o)).a=n,(i=a.z+s-u.z-c+e(a._,u._))>0&&(ao(lo(a,n,r),n,i),c+=i,f+=i),s+=a.m,c+=u.m,h+=l.m,f+=o.m;a&&!oo(o)&&(o.t=a,o.m+=s-f),u&&!uo(l)&&(l.t=u,l.m+=c-h,r=n)}return r}(n,i,n.parent.A||r[0])}function a(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function l(n){n.x*=r[0],n.y=n.depth*r[1]}return u.separation=function(n){return arguments.length?(e=n,u):e},u.size=function(n){return arguments.length?(i=null==(r=n)?l:null,u):i?null:r},u.nodeSize=function(n){return arguments.length?(i=null==(r=n)?null:l,u):i?r:null},Cu(u,n)},t.layout.cluster=function(){var n=t.layout.hierarchy().sort(null).value(null),e=io,r=[1,1],i=!1;function u(u,o){var a,l=n.call(this,u,o),c=l[0],f=0;Lu(c,function(n){var r=n.children;r&&r.length?(n.x=function(n){return n.reduce(function(n,t){return n+t.x},0)/n.length}(r),n.y=function(n){return 1+t.max(n,function(n){return n.y})}(r)):(n.x=a?f+=e(n,a):0,n.y=0,a=n)});var s=function n(t){var e=t.children;return e&&e.length?n(e[0]):t}(c),h=function n(t){var e,r=t.children;return r&&(e=r.length)?n(r[e-1]):t}(c),p=s.x-e(s,h)/2,g=h.x+e(h,s)/2;return Lu(c,i?function(n){n.x=(n.x-c.x)*r[0],n.y=(c.y-n.y)*r[1]}:function(n){n.x=(n.x-p)/(g-p)*r[0],n.y=(1-(c.y?n.y/c.y:1))*r[1]}),l}return u.separation=function(n){return arguments.length?(e=n,u):e},u.size=function(n){return arguments.length?(i=null==(r=n),u):i?null:r},u.nodeSize=function(n){return arguments.length?(i=null!=(r=n),u):i?r:null},Cu(u,n)},t.layout.treemap=function(){var n,e=t.layout.hierarchy(),r=Math.round,i=[1,1],u=null,o=co,a=!1,l="squarify",c=.5*(1+Math.sqrt(5));function f(n,t){for(var e,r,i=-1,u=n.length;++i0;)a.push(e=c[i-1]),a.area+=e.area,"squarify"!==l||(r=p(a,v))<=h?(c.pop(),h=r):(a.area-=a.pop().area,g(a,v,u,!1),v=Math.min(u.dx,u.dy),a.length=a.area=0,h=1/0);a.length&&(g(a,v,u,!0),a.length=a.area=0),t.forEach(s)}}function h(n){var t=n.children;if(t&&t.length){var e,r=o(n),i=t.slice(),u=[];for(f(i,r.dx*r.dy/n.value),u.area=0;e=i.pop();)u.push(e),u.area+=e.area,null!=e.z&&(g(u,e.z?r.dx:r.dy,r,!i.length),u.length=u.area=0);t.forEach(h)}}function p(n,t){for(var e,r=n.area,i=0,u=1/0,o=-1,a=n.length;++oi&&(i=e));return t*=t,(r*=r)?Math.max(t*i*c/r,r/(t*u*c)):1/0}function g(n,t,e,i){var u,o=-1,a=n.length,l=e.x,c=e.y,f=t?r(n.area/t):0;if(t==e.dx){for((i||f>e.dy)&&(f=e.dy);++oe.dx)&&(f=e.dx);++o1);return n+t*e*Math.sqrt(-2*Math.log(i)/i)}},logNormal:function(){var n=t.random.normal.apply(t,arguments);return function(){return Math.exp(n())}},bates:function(n){var e=t.random.irwinHall(n);return function(){return e()/n}},irwinHall:function(n){return function(){for(var t=0,e=0;e2?mo:po,a=i?Mu:mu;return u=n(t,e,a,r),o=n(e,t,a,Gi),l}function l(n){return u(n)}l.invert=function(n){return o(n)};l.domain=function(n){return arguments.length?(t=n.map(Number),a()):t};l.range=function(n){return arguments.length?(e=n,a()):e};l.rangeRound=function(n){return l.range(n).interpolate(su)};l.clamp=function(n){return arguments.length?(i=n,a()):i};l.interpolate=function(n){return arguments.length?(r=n,a()):r};l.ticks=function(n){return _o(t,n)};l.tickFormat=function(n,e){return wo(t,n,e)};l.nice=function(n){return xo(t,n),a()};l.copy=function(){return n(t,e,r,i)};return a()}([0,1],[0,1],Gi,!1)};var So={s:1,g:1,p:1,r:1,e:1};function ko(n){return-Math.floor(Math.log(n)/Math.LN10+.01)}t.scale.log=function(){return function n(e,r,i,u){function o(n){return(i?Math.log(n<0?0:n):-Math.log(n>0?0:-n))/Math.log(r)}function a(n){return i?Math.pow(r,n):-Math.pow(r,-n)}function l(n){return e(o(n))}l.invert=function(n){return a(e.invert(n))};l.domain=function(n){return arguments.length?(i=n[0]>=0,e.domain((u=n.map(Number)).map(o)),l):u};l.base=function(n){return arguments.length?(r=+n,e.domain(u.map(o)),l):r};l.nice=function(){var n=go(u.map(o),i?Math:Eo);return e.domain(n),u=n.map(a),l};l.ticks=function(){var n=so(u),t=[],e=n[0],l=n[1],c=Math.floor(o(e)),f=Math.ceil(o(l)),s=r%1?2:r;if(isFinite(f-c)){if(i){for(;c0;h--)t.push(a(c)*h);for(c=0;t[c]l;f--);t=t.slice(c,f)}return t};l.tickFormat=function(n,e){if(!arguments.length)return No;arguments.length<2?e=No:"function"!=typeof e&&(e=t.format(e));var i=Math.max(1,r*n/l.ticks().length);return function(n){var t=n/a(Math.round(o(n)));return t*r0?i[n-1]:e[0],ns?0:1;if(c=An)return l(c,p)+(a?l(a,1-p):"")+"Z";var g,v,d,y,m,M,x,b,_,w,S,k,N=0,E=0,A=[];if((y=(+o.apply(this,arguments)||0)/2)&&(d=r===Ro?Math.sqrt(a*a+c*c):+r.apply(this,arguments),p||(E*=-1),c&&(E=Dn(d/c*Math.sin(y))),a&&(N=Dn(d/a*Math.sin(y)))),c){m=c*Math.cos(f+E),M=c*Math.sin(f+E),x=c*Math.cos(s-E),b=c*Math.sin(s-E);var C=Math.abs(s-f-2*E)<=Nn?0:1;if(E&&Ho(m,M,x,b)===p^C){var z=(f+s)/2;m=c*Math.cos(z),M=c*Math.sin(z),x=b=null}}else m=M=0;if(a){_=a*Math.cos(s-N),w=a*Math.sin(s-N),S=a*Math.cos(f+N),k=a*Math.sin(f+N);var L=Math.abs(f-s+2*N)<=Nn?0:1;if(N&&Ho(_,w,S,k)===1-p^L){var q=(f+s)/2;_=a*Math.cos(q),w=a*Math.sin(q),S=k=null}}else _=w=0;if(h>Sn&&(g=Math.min(Math.abs(c-a)/2,+e.apply(this,arguments)))>.001){v=a0?0:1}function Oo(n,t,e,r,i){var u=n[0]-t[0],o=n[1]-t[1],a=(i?r:-r)/Math.sqrt(u*u+o*o),l=a*o,c=-a*u,f=n[0]+l,s=n[1]+c,h=t[0]+l,p=t[1]+c,g=(f+h)/2,v=(s+p)/2,d=h-f,y=p-s,m=d*d+y*y,M=e-r,x=f*p-h*s,b=(y<0?-1:1)*Math.sqrt(Math.max(0,M*M*m-x*x)),_=(x*y-d*b)/m,w=(-x*d-y*b)/m,S=(x*y+d*b)/m,k=(-x*d+y*b)/m,N=_-g,E=w-v,A=S-g,C=k-v;return N*N+E*E>A*A+C*C&&(_=S,w=k),[[_-l,w-c],[_*e/M,w*e/M]]}function Io(n){var t=ri,e=ii,r=We,i=Zo,u=i.key,o=.7;function a(u){var a,l=[],c=[],f=-1,s=u.length,h=yt(t),p=yt(e);function g(){l.push("M",i(n(c),o))}for(;++f1&&i.push("H",r[0]);return i.join("")},"step-before":Xo,"step-after":$o,basis:Jo,"basis-open":function(n){if(n.length<4)return Zo(n);var t,e=[],r=-1,i=n.length,u=[0],o=[0];for(;++r<3;)t=n[r],u.push(t[0]),o.push(t[1]);e.push(Go(na,u)+","+Go(na,o)),--r;for(;++r9&&(i=3*t/Math.sqrt(i),o[a]=i*e,o[a+1]=i*r));a=-1;for(;++a<=l;)i=(n[Math.min(l,a+1)][0]-n[Math.max(0,a-1)][0])/(6*(1+o[a]*o[a])),u.push([i||0,o[a]*i||0]);return u}(n))}});function Zo(n){return n.length>1?n.join("L"):n+"Z"}function Vo(n){return n.join("L")+"Z"}function Xo(n){for(var t=0,e=n.length,r=n[0],i=[r[0],",",r[1]];++t1){a=t[1],u=n[l],l++,r+="C"+(i[0]+o[0])+","+(i[1]+o[1])+","+(u[0]-a[0])+","+(u[1]-a[1])+","+u[0]+","+u[1];for(var c=2;cNn)+",1 "+t}function l(n,t,e,r){return"Q 0,0 "+r}return u.radius=function(n){return arguments.length?(e=yt(n),u):e},u.source=function(t){return arguments.length?(n=yt(t),u):n},u.target=function(n){return arguments.length?(t=yt(n),u):t},u.startAngle=function(n){return arguments.length?(r=yt(n),u):r},u.endAngle=function(n){return arguments.length?(i=yt(n),u):i},u},t.svg.diagonal=function(){var n=Yr,t=Zr,e=oa;function r(r,i){var u=n.call(this,r,i),o=t.call(this,r,i),a=(u.y+o.y)/2,l=[u,{x:u.x,y:a},{x:o.x,y:a},o];return"M"+(l=l.map(e))[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return r.source=function(t){return arguments.length?(n=yt(t),r):n},r.target=function(n){return arguments.length?(t=yt(n),r):t},r.projection=function(n){return arguments.length?(e=n,r):e},r},t.svg.diagonal.radial=function(){var n=t.svg.diagonal(),e=oa,r=n.projection;return n.projection=function(n){return arguments.length?r(function(n){return function(){var t=n.apply(this,arguments),e=t[0],r=t[1]-Cn;return[e*Math.cos(r),e*Math.sin(r)]}}(e=n)):e},n},t.svg.symbol=function(){var n=la,t=aa;function e(e,r){return(fa.get(n.call(this,e,r))||ca)(t.call(this,e,r))}return e.type=function(t){return arguments.length?(n=yt(t),e):n},e.size=function(n){return arguments.length?(t=yt(n),e):t},e};var fa=t.map({circle:ca,cross:function(n){var t=Math.sqrt(n/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(n){var t=Math.sqrt(n/(2*ha)),e=t*ha;return"M0,"+-t+"L"+e+",0 0,"+t+" "+-e+",0Z"},square:function(n){var t=Math.sqrt(n)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(n){var t=Math.sqrt(n/sa),e=t*sa/2;return"M0,"+e+"L"+t+","+-e+" "+-t+","+-e+"Z"},"triangle-up":function(n){var t=Math.sqrt(n/sa),e=t*sa/2;return"M0,"+-e+"L"+t+","+e+" "+-t+","+e+"Z"}});t.svg.symbolTypes=fa.keys();var sa=Math.sqrt(3),ha=Math.tan(30*zn);$.transition=function(n){for(var t,e,r=da||++Ma,i=_a(n),u=[],o=ya||{time:Date.now(),ease:ou,delay:0,duration:250},a=-1,l=this.length;++a0;)c[--h].call(n,o);if(u>=1)return s.event&&s.event.end.call(n,n.__data__,t),--f.count?delete f[r]:delete n[e],1}s||(u=i.time,o=kt(function(n){var t=s.delay;if(o.t=t+u,t<=n)return h(n-t);o.c=h},0,u),s=f[r]={tween:new x,time:u,timer:o,delay:i.delay,duration:i.duration,ease:i.ease,index:t},i=null,++f.count)}ma.call=$.call,ma.empty=$.empty,ma.node=$.node,ma.size=$.size,t.transition=function(n,e){return n&&n.transition?da?n.transition(e):n:t.selection().transition(n)},t.transition.prototype=ma,ma.select=function(n){var t,e,r,i=this.id,u=this.namespace,o=[];n=B(n);for(var a=-1,l=this.length;++arect,.s>rect").attr("width",a[1]-a[0])}function v(n){n.select(".extent").attr("y",l[0]),n.selectAll(".extent,.e>rect,.w>rect").attr("height",l[1]-l[0])}function d(){var s,d,y=this,m=t.select(t.event.target),M=r.of(y,arguments),x=t.select(y),b=m.datum(),_=!/^(n|s)$/.test(b)&&i,w=!/^(e|w)$/.test(b)&&u,S=m.classed("extent"),k=xn(y),N=t.mouse(y),E=t.select(o(y)).on("keydown.brush",function(){32==t.event.keyCode&&(S||(s=null,N[0]-=a[1],N[1]-=l[1],S=2),j())}).on("keyup.brush",function(){32==t.event.keyCode&&2==S&&(N[0]+=a[1],N[1]+=l[1],S=0,j())});if(t.event.changedTouches?E.on("touchmove.brush",z).on("touchend.brush",q):E.on("mousemove.brush",z).on("mouseup.brush",q),x.interrupt().selectAll("*").interrupt(),S)N[0]=a[0]-N[0],N[1]=l[0]-N[1];else if(b){var A=+/w$/.test(b),C=+/^n/.test(b);d=[a[1-A]-N[0],l[1-C]-N[1]],N[0]=a[A],N[1]=l[C]}else t.event.altKey&&(s=N.slice());function z(){var n=t.mouse(y),e=!1;d&&(n[0]+=d[0],n[1]+=d[1]),S||(t.event.altKey?(s||(s=[(a[0]+a[1])/2,(l[0]+l[1])/2]),N[0]=a[+(n[0]1?{floor:function(t){for(;a(t=n.floor(t));)t=Da(t-1);return t},ceil:function(t){for(;a(t=n.ceil(t));)t=Da(+t+1);return t}}:n))},i.ticks=function(n,t){var e=so(i.domain()),r=null==n?u(e,10):"number"==typeof n?u(e,n):!n.range&&[{range:n},t];return r&&(n=r[0],t=r[1]),n.range(e[0],Da(+e[1]+1),t<1?1:t)},i.tickFormat=function(){return r},i.copy=function(){return Ra(n.copy(),e,r)},Mo(i,n)}function Da(n){return new Date(n)}za.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Ta:qa,Ta.parse=function(n){var t=new Date(n);return isNaN(t)?null:t},Ta.toString=qa.toString,Dt.second=Ft(function(n){return new Pt(1e3*Math.floor(n/1e3))},function(n,t){n.setTime(n.getTime()+1e3*Math.floor(t))},function(n){return n.getSeconds()}),Dt.seconds=Dt.second.range,Dt.seconds.utc=Dt.second.utc.range,Dt.minute=Ft(function(n){return new Pt(6e4*Math.floor(n/6e4))},function(n,t){n.setTime(n.getTime()+6e4*Math.floor(t))},function(n){return n.getMinutes()}),Dt.minutes=Dt.minute.range,Dt.minutes.utc=Dt.minute.utc.range,Dt.hour=Ft(function(n){var t=n.getTimezoneOffset()/60;return new Pt(36e5*(Math.floor(n/36e5-t)+t))},function(n,t){n.setTime(n.getTime()+36e5*Math.floor(t))},function(n){return n.getHours()}),Dt.hours=Dt.hour.range,Dt.hours.utc=Dt.hour.utc.range,Dt.month=Ft(function(n){return(n=Dt.day(n)).setDate(1),n},function(n,t){n.setMonth(n.getMonth()+t)},function(n){return n.getMonth()}),Dt.months=Dt.month.range,Dt.months.utc=Dt.month.utc.range;var Pa=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],Ua=[[Dt.second,1],[Dt.second,5],[Dt.second,15],[Dt.second,30],[Dt.minute,1],[Dt.minute,5],[Dt.minute,15],[Dt.minute,30],[Dt.hour,1],[Dt.hour,3],[Dt.hour,6],[Dt.hour,12],[Dt.day,1],[Dt.day,2],[Dt.week,1],[Dt.month,1],[Dt.month,3],[Dt.year,1]],ja=za.multi([[".%L",function(n){return n.getMilliseconds()}],[":%S",function(n){return n.getSeconds()}],["%I:%M",function(n){return n.getMinutes()}],["%I %p",function(n){return n.getHours()}],["%a %d",function(n){return n.getDay()&&1!=n.getDate()}],["%b %d",function(n){return 1!=n.getDate()}],["%B",function(n){return n.getMonth()}],["%Y",We]]),Fa={range:function(n,e,r){return t.range(Math.ceil(n/r)*r,+e,r).map(Da)},floor:L,ceil:L};Ua.year=Dt.year,Dt.scale=function(){return Ra(t.scale.linear(),Ua,ja)};var Ha=Ua.map(function(n){return[n[0].utc,n[1]]}),Oa=La.multi([[".%L",function(n){return n.getUTCMilliseconds()}],[":%S",function(n){return n.getUTCSeconds()}],["%I:%M",function(n){return n.getUTCMinutes()}],["%I %p",function(n){return n.getUTCHours()}],["%a %d",function(n){return n.getUTCDay()&&1!=n.getUTCDate()}],["%b %d",function(n){return 1!=n.getUTCDate()}],["%B",function(n){return n.getUTCMonth()}],["%Y",We]]);function Ia(n){return JSON.parse(n.responseText)}function Ya(n){var t=i.createRange();return t.selectNode(i.body),t.createContextualFragment(n.responseText)}Ha.year=Dt.year.utc,Dt.scale.utc=function(){return Ra(t.scale.linear(),Ha,Oa)},t.text=mt(function(n){return n.responseText}),t.json=function(n,t){return Mt(n,"application/json",Ia,t)},t.html=function(n,t){return Mt(n,"text/html",Ya,t)},t.xml=mt(function(n){return n.responseXML}),"function"==typeof n&&n.amd?(this.d3=t,n(t)):"object"==typeof module&&module.exports?module.exports=t:this.d3=t}(); -},{}],"q9v0":[function(require,module,exports) { -"use strict";module.exports=function(r){for(var t,e=r.length,n=0;n13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}; -},{}],"T2RE":[function(require,module,exports) { -"use strict";var r=require("is-string-blank");module.exports=function(e){var t=typeof e;if("string"===t){var i=e;if(0===(e=+e)&&r(i))return!1}else if("number"!==t)return!1;return e-e<1}; -},{"is-string-blank":"q9v0"}],"NTky":[function(require,module,exports) { -"use strict";module.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEAVGYEAR:315576e5,ONEAVGMONTH:26298e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:"โˆ’"}; -},{}],"NZTe":[function(require,module,exports) { -"use strict";var r=Array.isArray,n="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},t="undefined"==typeof DataView?function(){}:DataView;function e(r){return n.isView(r)&&!(r instanceof t)}function u(n){return r(n)||e(n)}function i(r){return!u(r[0])}function o(r,n,t){if(u(r)){if(u(r[0])){for(var e=t,i=0;i2)return d[r]=d[r]|l,m.set(t,null);if(p){for(s=r;s0)return Math.log(a)/Math.LN10;var e=Math.log(Math.min(r[0],r[1]))/Math.LN10;return t(e)||(e=Math.log(Math.max(r[0],r[1]))/Math.LN10-6),e}; -},{"fast-isnumeric":"T2RE"}],"UEPW":[function(require,module,exports) { -"use strict";var e=require("./array").isArrayOrTypedArray,r=require("./is_plain_object");module.exports=function i(t,n){for(var a in n){var o=n[a],f=t[a];if(f!==o)if("_"===a.charAt(0)||"function"==typeof o){if(a in t)continue;t[a]=o}else if(e(o)&&e(f)&&r(o[0])){if("customdata"===a||"ids"===a)continue;for(var s=Math.min(o.length,f.length),c=0;cr/2?t-Math.round(t/r)*r:t}module.exports={mod:t,modHalf:r}; -},{}],"ZdXS":[function(require,module,exports) { -var define; -var t;!function(r){var e=/^\s+/,n=/\s+$/,a=0,i=r.round,s=r.min,o=r.max,f=r.random;function h(t,f){if(f=f||{},(t=t||"")instanceof h)return t;if(!(this instanceof h))return new h(t,f);var u=function(t){var a={r:0,g:0,b:0},i=1,f=null,h=null,u=null,l=!1,c=!1;"string"==typeof t&&(t=function(t){t=t.replace(e,"").replace(n,"").toLowerCase();var r,a=!1;if(R[t])t=R[t],a=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(r=P.rgb.exec(t))return{r:r[1],g:r[2],b:r[3]};if(r=P.rgba.exec(t))return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=P.hsl.exec(t))return{h:r[1],s:r[2],l:r[3]};if(r=P.hsla.exec(t))return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=P.hsv.exec(t))return{h:r[1],s:r[2],v:r[3]};if(r=P.hsva.exec(t))return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=P.hex8.exec(t))return{r:I(r[1]),g:I(r[2]),b:I(r[3]),a:E(r[4]),format:a?"name":"hex8"};if(r=P.hex6.exec(t))return{r:I(r[1]),g:I(r[2]),b:I(r[3]),format:a?"name":"hex"};if(r=P.hex4.exec(t))return{r:I(r[1]+""+r[1]),g:I(r[2]+""+r[2]),b:I(r[3]+""+r[3]),a:E(r[4]+""+r[4]),format:a?"name":"hex8"};if(r=P.hex3.exec(t))return{r:I(r[1]+""+r[1]),g:I(r[2]+""+r[2]),b:I(r[3]+""+r[3]),format:a?"name":"hex"};return!1}(t));"object"==typeof t&&($(t.r)&&$(t.g)&&$(t.b)?(g=t.r,b=t.g,d=t.b,a={r:255*q(g,255),g:255*q(b,255),b:255*q(d,255)},l=!0,c="%"===String(t.r).substr(-1)?"prgb":"rgb"):$(t.h)&&$(t.s)&&$(t.v)?(f=N(t.s),h=N(t.v),a=function(t,e,n){t=6*q(t,360),e=q(e,100),n=q(n,100);var a=r.floor(t),i=t-a,s=n*(1-e),o=n*(1-i*e),f=n*(1-(1-i)*e),h=a%6;return{r:255*[n,o,s,s,f,n][h],g:255*[f,n,n,o,s,s][h],b:255*[s,s,f,n,n,o][h]}}(t.h,f,h),l=!0,c="hsv"):$(t.h)&&$(t.s)&&$(t.l)&&(f=N(t.s),u=N(t.l),a=function(t,r,e){var n,a,i;function s(t,r,e){return e<0&&(e+=1),e>1&&(e-=1),e<1/6?t+6*(r-t)*e:e<.5?r:e<2/3?t+(r-t)*(2/3-e)*6:t}if(t=q(t,360),r=q(r,100),e=q(e,100),0===r)n=a=i=e;else{var o=e<.5?e*(1+r):e+r-e*r,f=2*e-o;n=s(f,o,t+1/3),a=s(f,o,t),i=s(f,o,t-1/3)}return{r:255*n,g:255*a,b:255*i}}(t.h,f,u),l=!0,c="hsl"),t.hasOwnProperty("a")&&(i=t.a));var g,b,d;return i=C(i),{ok:l,format:t.format||c,r:s(255,o(a.r,0)),g:s(255,o(a.g,0)),b:s(255,o(a.b,0)),a:i}}(t);this._originalInput=t,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=i(100*this._a)/100,this._format=f.format||u.format,this._gradientType=f.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=u.ok,this._tc_id=a++}function u(t,r,e){t=q(t,255),r=q(r,255),e=q(e,255);var n,a,i=o(t,r,e),f=s(t,r,e),h=(i+f)/2;if(i==f)n=a=0;else{var u=i-f;switch(a=h>.5?u/(2-i-f):u/(i+f),i){case t:n=(r-e)/u+(r>1)+720)%360;--r;)n.h=(n.h+a)%360,i.push(h(n));return i}function H(t,r){r=r||6;for(var e=h(t).toHsv(),n=e.h,a=e.s,i=e.v,s=[],o=1/r;r--;)s.push(h({h:n,s:a,v:i})),i=(i+o)%1;return s}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,a=this.toRgb();return t=a.r/255,e=a.g/255,n=a.b/255,.2126*(t<=.03928?t/12.92:r.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:r.pow((e+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:r.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=C(t),this._roundA=i(100*this._a)/100,this},toHsv:function(){var t=l(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=l(this._r,this._g,this._b),r=i(360*t.h),e=i(100*t.s),n=i(100*t.v);return 1==this._a?"hsv("+r+", "+e+"%, "+n+"%)":"hsva("+r+", "+e+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var t=u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=u(this._r,this._g,this._b),r=i(360*t.h),e=i(100*t.s),n=i(100*t.l);return 1==this._a?"hsl("+r+", "+e+"%, "+n+"%)":"hsla("+r+", "+e+"%, "+n+"%, "+this._roundA+")"},toHex:function(t){return c(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,r,e,n,a){var s=[L(i(t).toString(16)),L(i(r).toString(16)),L(i(e).toString(16)),L(z(n))];if(a&&s[0].charAt(0)==s[0].charAt(1)&&s[1].charAt(0)==s[1].charAt(1)&&s[2].charAt(0)==s[2].charAt(1)&&s[3].charAt(0)==s[3].charAt(1))return s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0);return s.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*q(this._r,255))+"%",g:i(100*q(this._g,255))+"%",b:i(100*q(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*q(this._r,255))+"%, "+i(100*q(this._g,255))+"%, "+i(100*q(this._b,255))+"%)":"rgba("+i(100*q(this._r,255))+"%, "+i(100*q(this._g,255))+"%, "+i(100*q(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(F[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var r="#"+g(this._r,this._g,this._b,this._a),e=r,n=this._gradientType?"GradientType = 1, ":"";if(t){var a=h(t);e="#"+g(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+e+")"},toString:function(t){var r=!!t;t=t||this._format;var e=!1,n=this._a<1&&this._a>=0;return r||!n||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(e=this.toRgbString()),"prgb"===t&&(e=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(e=this.toHexString()),"hex3"===t&&(e=this.toHexString(!0)),"hex4"===t&&(e=this.toHex8String(!0)),"hex8"===t&&(e=this.toHex8String()),"name"===t&&(e=this.toName()),"hsl"===t&&(e=this.toHslString()),"hsv"===t&&(e=this.toHsvString()),e||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(t,r){var e=t.apply(null,[this].concat([].slice.call(r)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(p,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(d,arguments)},greyscale:function(){return this._applyModification(_,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(t,r){return t.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(H,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},h.fromRatio=function(t,r){if("object"==typeof t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]="a"===n?t[n]:N(t[n]));t=e}return h(t,r)},h.equals=function(t,r){return!(!t||!r)&&h(t).toRgbString()==h(r).toRgbString()},h.random=function(){return h.fromRatio({r:f(),g:f(),b:f()})},h.mix=function(t,r,e){e=0===e?0:e||50;var n=h(t).toRgb(),a=h(r).toRgb(),i=e/100;return h({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},h.readability=function(t,e){var n=h(t),a=h(e);return(r.max(n.getLuminance(),a.getLuminance())+.05)/(r.min(n.getLuminance(),a.getLuminance())+.05)},h.isReadable=function(t,r,e){var n,a,i=h.readability(t,r);switch(a=!1,(n=function(t){var r,e;r=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),e=(t.size||"small").toLowerCase(),"AA"!==r&&"AAA"!==r&&(r="AA");"small"!==e&&"large"!==e&&(e="small");return{level:r,size:e}}(e)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},h.mostReadable=function(t,r,e){var n,a,i,s,o=null,f=0;a=(e=e||{}).includeFallbackColors,i=e.level,s=e.size;for(var u=0;uf&&(f=n,o=h(r[u]));return h.isReadable(t,o,{level:i,size:s})||!a?o:(e.includeFallbackColors=!1,h.mostReadable(t,["#fff","#000"],e))};var R=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},F=h.hexNames=function(t){var r={};for(var e in t)t.hasOwnProperty(e)&&(r[t[e]]=e);return r}(R);function C(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function q(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=s(e,o(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),r.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function M(t){return s(1,o(0,t))}function I(t){return parseInt(t,16)}function L(t){return 1==t.length?"0"+t:""+t}function N(t){return t<=1&&(t=100*t+"%"),t}function z(t){return r.round(255*parseFloat(t)).toString(16)}function E(t){return I(t)/255}var T,j,O,P=(j="[\\s|\\(]+("+(T="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",O="[\\s|\\(]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")[,|\\s]+("+T+")\\s*\\)?",{CSS_UNIT:new RegExp(T),rgb:new RegExp("rgb"+j),rgba:new RegExp("rgba"+O),hsl:new RegExp("hsl"+j),hsla:new RegExp("hsla"+O),hsv:new RegExp("hsv"+j),hsva:new RegExp("hsva"+O),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function $(t){return!!P.CSS_UNIT.exec(t)}"undefined"!=typeof module&&module.exports?module.exports=h:"function"==typeof t&&t.amd?t(function(){return h}):window.tinycolor=h}(Math); -},{}],"c1FL":[function(require,module,exports) { -"use strict";module.exports=function(e){var a=e.editType,r=e.colorEditType;void 0===r&&(r=a);var t={family:{valType:"string",role:"style",noBlank:!0,strict:!0,editType:a,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The plotly service (at https://plot.ly or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",role:"style",min:1,editType:a},color:{valType:"color",role:"style",editType:r},editType:a,description:""+(e.description||"")};return e.arrayOk&&(t.family.arrayOk=!0,t.size.arrayOk=!0,t.color.arrayOk=!0),t}; -},{}],"uylr":[function(require,module,exports) { -"use strict";module.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}; -},{}],"umf8":[function(require,module,exports) { -"use strict";var e=require("./constants"),t=require("../../plots/font_attributes")({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});t.family.dflt=e.HOVERFONT,t.size.dflt=e.HOVERFONTSIZE,module.exports={clickmode:{valType:"flaglist",role:"info",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",role:"info",values:["zoom","pan","select","lasso","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",role:"info",values:["x","y","closest",!1],editType:"modebar",description:["Determines the mode of hover interactions.","If `clickmode` includes the *select* flag,","`hovermode` defaults to *closest*.","If `clickmode` lacks the *select* flag,","it defaults to *x* or *y* (depending on the trace's","`orientation` value) for plots based on","cartesian coordinates. For anything else the default","value is *closest*."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",role:"style",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:t,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",role:"style",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,role:"style",editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",role:"info",values:["h","v","d","any"],dflt:"any",description:['When "dragmode" is set to "select", this limits the selection of the drag to','horizontal, vertical or diagonal. "h" only allows horizontal selection,','"v" only vertical, "d" only diagonal and "any" sets no limit.'].join(" "),editType:"none"}}; -},{"./constants":"uylr","../../plots/font_attributes":"c1FL"}],"qfbf":[function(require,module,exports) { -"use strict";var e=require("./is_plain_object.js"),r=Array.isArray;function t(e,r){var t,n;for(t=0;ti.max?t.set(n):t.set(+r)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(r,t,n,i){r%1||!e(r)||void 0!==i.min&&ri.max?t.set(n):t.set(+r)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,r,t,n){if("string"!=typeof e){var i="number"==typeof e;!0!==n.strict&&i?r.set(String(e)):r.set(t)}else n.noBlank&&!e?r.set(t):r.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,n){r(e).isValid()?t.set(e):t.set(n)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,n){Array.isArray(e)&&e.length&&e.every(function(e){return r(e).isValid()})?t.set(e):t.set(n)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(n.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,r,t){r.set(n.get(e,t))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(r,t,n){"auto"===r?t.set("auto"):e(r)?t.set(s(+r,360)):t.set(n)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(e,r,t,n){var i=n.regex||a(t);"string"==typeof e&&i.test(e)?r.set(e):r.set(t)},validateFunction:function(e,r){var t=r.dflt;return e===t||"string"==typeof e&&!!a(t).test(e)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,r,t,n){if("string"==typeof e)if(-1===(n.extras||[]).indexOf(e)){for(var i=e.split("+"),o=0;o/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"boolean",dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},t={};function o(e,t){for(var n in e){var i=e[n];i.valType?t[n]=i.dflt:(t[n]||(t[n]={}),o(i,t[n]))}}o(e,t),module.exports={configAttributes:e,dfltConfig:t}; -},{}],"kExi":[function(require,module,exports) { -"use strict";var o=require("../plot_api/plot_config").dfltConfig,n=module.exports={};function r(o,n){if(o&&o.apply)try{return void o.apply(console,n)}catch(l){}for(var r=0;r1){for(var n=["LOG:"],l=0;l0){for(var n=["WARN:"],l=0;l0){for(var n=["ERROR:"],l=0;l=e&&r<=t?r:s}if("string"!=typeof r&&"number"!=typeof r)return s;r=String(r);var C=D(n),T=r.charAt(0);!C||"G"!==T&&"g"!==T||(r=r.substr(1),n="");var v=C&&"chinese"===n.substr(0,7),x=r.match(v?M:h);if(!x)return s;var y=x[1],N=x[3]||"1",b=Number(x[5]||1),U=Number(x[7]||0),w=Number(x[9]||0),S=Number(x[11]||0);if(C){if(2===y.length)return s;var A;y=Number(y);try{var J=m.getComponentMethod("calendars","getCal")(n);if(v){var O="i"===N.charAt(N.length-1);N=parseInt(N,10),A=J.newDate(y,J.toMonthIndex(y,N,O),b)}else A=J.newDate(y,Number(N),b)}catch(E){return s}return A?(A.toJD()-l)*d+U*u+w*f+S*c:s}y=2===y.length?(Number(y)+2e3-p)%100+p:Number(y),N-=1;var Y=new Date(Date.UTC(2e3,N,b,U,w));return Y.setUTCFullYear(y),Y.getUTCMonth()!==N?s:Y.getUTCDate()!==b?s:Y.getTime()+S*c},e=exports.MIN_MS=exports.dateTime2ms("-9999"),t=exports.MAX_MS=exports.dateTime2ms("9999-12-31 23:59:59.9999"),exports.isDateTime=function(e,t){return exports.dateTime2ms(e,t)!==s};var T=90*d,v=3*u,x=5*f;function y(e,t,r,n,a){if((t||r||n||a)&&(e+=" "+C(t,2)+":"+C(r,2),(n||a)&&(e+=":"+C(n,2),a))){for(var o=4;a%10==0;)o-=1,a/=10;e+="."+C(a,o)}return e}exports.ms2DateTime=function(r,n,a){if("number"!=typeof r||!(r>=e&&r<=t))return s;n||(n=0);var i,h,M,p,C,N,b=Math.floor(10*o(r+.05,1)),U=Math.round(r-b/10);if(D(a)){var w=Math.floor(U/d)+l,S=Math.floor(o(r,d));try{i=m.getComponentMethod("calendars","getCal")(a).fromJD(w).formatDate("yyyy-mm-dd")}catch(A){i=g("G%Y-%m-%d")(new Date(U))}if("-"===i.charAt(0))for(;i.length<11;)i="-0"+i.substr(1);else for(;i.length<10;)i="0"+i;h=n=e+d&&n<=t-d))return s;var a=Math.floor(10*o(n+.05,1)),i=new Date(Math.round(n-a/10));return y(r.time.format("%Y-%m-%d")(i),i.getHours(),i.getMinutes(),i.getSeconds(),10*i.getUTCMilliseconds()+a)},exports.cleanDate=function(e,t,r){if(e===s)return t;if(exports.isJSDate(e)||"number"==typeof e&&isFinite(e)){if(D(r))return a.error("JS Dates and milliseconds are incompatible with world calendars",e),t;if(!(e=exports.ms2DateTimeLocal(+e))&&void 0!==t)return t}else if(!exports.isDateTime(e,r))return a.error("unrecognized date",e),t;return e};var N=/%\d?f/g;function b(e,t,r,n){e=e.replace(N,function(e){var r=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0"});var a=new Date(Math.floor(t+.05));if(D(n))try{e=m.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(o){return"Invalid"}return r(e)(a)}var U=[59,59.9,59.99,59.999,59.9999];function w(e,t){var r=o(e+.05,d),a=C(Math.floor(r/u),2)+":"+C(o(Math.floor(r/f),60),2);if("M"!==t){n(t)||(t=0);var i=(100+Math.min(o(e/c,60),U[t])).toFixed(t).substr(1);t>0&&(i=i.replace(/0+$/,"").replace(/[\.]$/,"")),a+=":"+i}return a}exports.formatDate=function(e,t,r,n,a,o){if(a=D(a)&&a,!t)if("y"===r)t=o.year;else if("m"===r)t=o.month;else{if("d"!==r)return w(e,r)+"\n"+b(o.dayMonthYear,e,n,a);t=o.dayMonth+"\n"+o.year}return b(t,e,n,a)};var S=3*d;exports.incrementMonth=function(e,t,r){r=D(r)&&r;var n=o(e,d);if(e=Math.round(e-n),r)try{var i=Math.round(e/d)+l,s=m.getComponentMethod("calendars","getCal")(r),u=s.fromJD(i);return t%12?s.add(u,t,"m"):s.add(u,t/12,"y"),(u.toJD()-l)*d+n}catch(c){a.error("invalid ms "+e+" in calendar "+r)}var f=new Date(e+S);return f.setUTCMonth(f.getUTCMonth()+t)+n-S},exports.findExactDates=function(e,t){for(var r,a,o=0,i=0,s=0,u=0,f=D(t)&&m.getComponentMethod("calendars","getCal")(t),c=0;ct}function u(r,t){return r>=t}exports.findBin=function(n,f,a){if(r(f.start))return a?Math.ceil((n-f.start)/f.size-e)-1:Math.floor((n-f.start)/f.size+e);var c,l,h=0,v=f.length,p=0,g=v>1?(f[v-1]-f[0])/(v-1):1;for(l=g>=0?a?o:i:a?u:s,n+=g*e*(a?-1:1)*(g>=0?1:-1);h90&&t.log("Long binary search..."),h-1},exports.sorterAsc=function(r,t){return r-t},exports.sorterDes=function(r,t){return t-r},exports.distinctVals=function(r){var t=r.slice();t.sort(exports.sorterAsc);for(var n=t.length-1,e=t[n]-t[0]||1,o=e/(n||1)/1e4,i=[t[0]],s=0;st[s]+o&&(e=Math.min(e,t[s+1]-t[s]),i.push(t[s+1]));return{vals:i,minDiff:e}},exports.roundUp=function(r,t,n){for(var e,o=0,i=t.length-1,s=0,u=n?0:1,f=n?1:0,a=n?Math.ceil:Math.floor;o0&&(e=1),n&&e)return r.sort(t)}return e?r:r.reverse()},exports.findIndexOfMin=function(r,t){t=t||n;for(var e,o=1/0,i=0;io.length)&&(u=o.length),r(n)||(n=!1),t(o[0])){for(i=new Array(u),s=0;st.length-1)return t[t.length-1];var n=e%1;return n*t[Math.ceil(e)]+(1-n)*t[Math.floor(e)]}; -},{"fast-isnumeric":"T2RE","./array":"NZTe"}],"zZtD":[function(require,module,exports) { -"use strict";exports.init2dArray=function(r,t){for(var n=new Array(r),e=0;ee-1e-14}function c(n,r){return t(r-n,e)}function l(n,r){return Math.abs(c(n,r))}function f(n,t){if(o(t))return!0;var u,a;t[0](a=r(a,e))&&(a+=e);var i=r(n,e),c=i+e;return i>=u&&i<=a||c>=u&&c<=a}function s(n,r,t,u){return!!f(r,u)&&(t[0]=e&&n<=a);var e,a}function M(n,r,t,a,i,c,l){i=i||0,c=c||0;var f,s,M,d,h,v=o([t,a]);function g(n,r){return[n*Math.cos(r)+i,c-n*Math.sin(r)]}v?(f=0,s=u,M=e):t1/3&&o.x<2/3},exports.isRightAnchor=function(o){return"right"===o.xanchor||"auto"===o.xanchor&&o.x>=2/3},exports.isTopAnchor=function(o){return"top"===o.yanchor||"auto"===o.yanchor&&o.y>=2/3},exports.isMiddleAnchor=function(o){return"middle"===o.yanchor||"auto"===o.yanchor&&o.y>1/3&&o.y<2/3},exports.isBottomAnchor=function(o){return"bottom"===o.yanchor||"auto"===o.yanchor&&o.y<=1/3}; -},{}],"oj4n":[function(require,module,exports) { -"use strict";var t,n,e,r=require("./mod").mod;function i(t,n,e,r,i,o,a,u){var g=e-t,h=i-t,f=a-i,s=r-n,x=o-n,c=u-o,l=g*c-f*s;if(0===l)return null;var v=(h*c-f*x)/l,y=(h*s-g*x)/l;return y<0||y>1||v<0||v>1?null:{x:t+g*v,y:n+s*v}}function o(t,n,e,r,i){var o=r*t+i*n;if(o<0)return r*r+i*i;if(o>e){var a=r-t,u=i-n;return a*a+u*u}var g=r*n-i*t;return g*g/e}exports.segmentsIntersect=i,exports.segmentDistance=function(t,n,e,r,a,u,g,h){if(i(t,n,e,r,a,u,g,h))return 0;var f=e-t,s=r-n,x=g-a,c=h-u,l=f*f+s*s,v=x*x+c*c,y=Math.min(o(f,s,l,a-t,u-n),o(f,s,l,g-t,h-n),o(x,c,v,t-a,n-u),o(x,c,v,e-a,r-u));return Math.sqrt(y)},exports.getTextLocation=function(i,o,a,u){if(i===n&&u===e||(t={},n=i,e=u),t[a])return t[a];var g=i.getPointAtLength(r(a-u/2,o)),h=i.getPointAtLength(r(a+u/2,o)),f=Math.atan((h.y-g.y)/(h.x-g.x)),s=i.getPointAtLength(r(a,o)),x={x:(4*s.x+g.x+h.x)/6,y:(4*s.y+g.y+h.y)/6,theta:f};return t[a]=x,x},exports.clearLocationCache=function(){n=null},exports.getVisibleSegment=function(t,n,e){var r,i,o=n.left,a=n.right,u=n.top,g=n.bottom,h=0,f=t.getTotalLength(),s=f;function x(n){var e=t.getPointAtLength(n);0===n?r=e:n===f&&(i=e);var h=e.xa?e.x-a:0,s=e.yg?e.y-g:0;return Math.sqrt(h*h+s*s)}for(var c=x(h);c;){if((h+=c+e)>s)return;c=x(h)}for(c=x(s);c;){if(h>(s-=c+e))return;c=x(s)}return{min:h,max:s,len:s-h,total:f,isClosed:0===h&&s===f&&Math.abs(r.x-i.x)<.1&&Math.abs(r.y-i.y)<.1}},exports.findPointOnPath=function(t,n,e,r){for(var i,o,a,u=(r=r||{}).pathLength||t.getTotalLength(),g=r.tolerance||.001,h=r.iterationLimit||30,f=t.getPointAtLength(0)[e]>t.getPointAtLength(u)[e]?-1:1,s=0,x=0,c=u;s0?c=i:x=i,s++}return o}; -},{"./mod":"R99V"}],"RK98":[function(require,module,exports) { -"use strict";var e={};function n(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}exports.throttle=function(t,o,r){var i=e[t],l=Date.now();if(!i){for(var u in e)e[u].tsi.ts+o?s():i.timer=setTimeout(function(){s(),i.timer=null},o)},exports.done=function(n){var t=e[n];return t&&t.timer?new Promise(function(e){var n=t.onDone;t.onDone=function(){n&&n(),e(),t.onDone=null}}):Promise.resolve()},exports.clear=function(t){if(t)n(e[t]),delete e[t];else for(var o in e)exports.clear(o)}; -},{}],"eozd":[function(require,module,exports) { -"use strict";module.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener("resize",e._responsiveChartHandler),delete e._responsiveChartHandler)}; -},{}],"fgg9":[function(require,module,exports) { -"use strict";var e=require("d3");module.exports=function(r,t,a){var n=r.selectAll("g."+a.replace(/\s/g,".")).data(t,function(e){return e[0].trace.uid});n.exit().remove(),n.enter().append("g").attr("class",a),n.order();var c=r.classed("rangeplot")?"nodeRangePlot3":"node3";return n.each(function(r){r[0][c]=e.select(this)}),n}; -},{"d3":"uT61"}],"jOSz":[function(require,module,exports) { -"use strict";var r=require("../registry");module.exports=function(e,t){for(var a=e._context.locale,i=0;i<2;i++){for(var o=e._context.locales,c=0;c<2;c++){var l=(o[a]||{}).dictionary;if(l){var n=l[t];if(n)return n}o=r.localeRegistry}var s=a.split("-")[0];if(s===a)break;a=s}return t}; -},{"../registry":"RoGf"}],"C3zi":[function(require,module,exports) { -"use strict";var e=require("d3"),t=require("fast-isnumeric"),i=[];module.exports=function(n,a){if(-1===i.indexOf(n)){i.push(n);var l=1e3;t(a)?l=a:"long"===a&&(l=3e3);var o=e.select("body").selectAll(".plotly-notifier").data([0]);o.enter().append("div").classed("plotly-notifier",!0),o.selectAll(".notifier-note").data(i).enter().append("div").classed("notifier-note",!0).style("opacity",0).each(function(t){var i=e.select(this);i.append("button").classed("notifier-close",!0).html("×").on("click",function(){i.transition().call(s)});for(var n=i.append("p"),a=t.split(//g),o=0;on?a:r(e)?Number(e):a:a},i.isIndex=function(e,t){return!(void 0!==t&&e>=t)&&(r(e)&&e>=0&&e%1==0)},i.noop=require("./noop"),i.identity=require("./identity"),i.repeat=function(e,r){for(var t=new Array(r),n=0;nt?Math.max(t,Math.min(r,e)):Math.max(r,Math.min(t,e))},i.bBoxIntersect=function(e,r,t){return t=t||0,e.left<=r.right+t&&r.left<=e.right+t&&e.top<=r.bottom+t&&r.top<=e.bottom+t},i.simpleMap=function(e,r,t,n){for(var a=e.length,i=new Array(a),o=0;o=Math.pow(2,t)?a>10?(i.warn("randstr failed uniqueness"),u):e(r,t,n,(a||0)+1):u},i.OptionControl=function(e,r){e||(e={}),r||(r="opt");var t={optionList:[],_newoption:function(n){n[r]=e,t[n.name]=n,t.optionList.push(n)}};return t["_"+r]=e,t},i.smooth=function(e,r){if((r=Math.round(r)||0)<2)return e;var t,n,a,i,o=e.length,s=2*o,c=2*r-1,u=new Array(c),l=new Array(o);for(t=0;t=s&&(a-=s*Math.floor(a/s)),a<0?a=-1-a:a>=o&&(a=s-1-a),i+=e[a]*u[n];l[t]=i}return l},i.syncOrAsync=function(e,r,t){var n;function a(){return i.syncOrAsync(e,r,t)}for(;e.length;)if((n=(0,e.splice(0,1)[0])(r))&&n.then)return n.then(a).then(void 0,i.promiseError);return t&&t(r)},i.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},i.noneOrAll=function(e,r,t){if(e){var n,a=!1,i=!0;for(n=0;n0?r:0})},i.fillArray=function(e,r,t,n){if(n=n||i.identity,i.isArrayOrTypedArray(e))for(var a=0;a1?a+o[1]:"";if(i&&(o.length>1||s.length>4||t))for(;n.test(s);)s=s.replace(n,"$1"+i+"$2");return s+c},i.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var q=/^\w*$/;i.templateString=function(e,r){var t={};return e.replace(i.TEMPLATE_STRING_REGEX,function(e,n){return q.test(n)?r[n]||"":(t[n]=t[n]||i.nestedProperty(r,n).get,t[n]()||"")})};var P={max:10,count:0,name:"hovertemplate"};i.hovertemplateString=function(){return R.apply(P,arguments)};var w={max:10,count:0,name:"texttemplate"};i.texttemplateString=function(){return R.apply(w,arguments)};var O=/^[:|\|]/;function R(r,t,n){var a=this,o=arguments;t||(t={});var s={};return r.replace(i.TEMPLATE_STRING_REGEX,function(r,c,u){var l,d,f,p;for(f=3;f=_&&o<=I,u=s>=_&&s<=I;if(c&&(n=10*n+o-_),u&&(a=10*a+s-_),!c||!u){if(n!==a)return n-a;if(o!==s)return o-s}}return a-n};var E=2e9;i.seedPseudoRandom=function(){E=2e9},i.pseudoRandom=function(){var e=E;return E=(69069*E+1)%4294967296,Math.abs(E-e)<429496729?i.pseudoRandom():E/4294967296},i.fillText=function(e,r,t){var n=Array.isArray(t)?function(e){t.push(e)}:function(e){t.text=e},a=i.extractOption(e,r,"htx","hovertext");if(i.isValidTextValue(a))return n(a);var o=i.extractOption(e,r,"tx","text");return i.isValidTextValue(o)?n(o):void 0},i.isValidTextValue=function(e){return e||0===e},i.formatPercent=function(e,r){r=r||0;for(var t=(Math.round(100*e*Math.pow(10,r))*Math.pow(.1,r)).toFixed(r)+"%",n=0;n:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":"content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;","X [data-title]:after":"content:attr(data-title);background:#69738a;color:white;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:white;","X .select-outline-2":"stroke:black;stroke-dasharray:2px 2px;",Y:"font-family:'Open Sans';position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;","Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var o in r){var t=o.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");e.addStyleRule(t,r[o])} -},{"../src/lib":"Ra1u"}],"jUYR":[function(require,module,exports) { -"use strict";module.exports=function(){"undefined"!=typeof MathJax&&("local"!==(window.PlotlyConfig||{}).MathJaxConfig&&(MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured()))}; -},{}],"yVTx":[function(require,module,exports) { -module.exports=!0; -},{}],"VmCq":[function(require,module,exports) { -var global = arguments[3]; -var e,r=arguments[3],a=require("is-browser");e="function"==typeof r.matchMedia?!r.matchMedia("(hover: none)").matches:a,module.exports=e; -},{"is-browser":"yVTx"}],"GgUy":[function(require,module,exports) { -"use strict";var e,t="object"==typeof Reflect?Reflect:null,n=t&&"function"==typeof t.apply?t.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function r(e){console&&console.warn&&console.warn(e)}e=t&&"function"==typeof t.ownKeys?t.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}module.exports=o,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function f(e,t,n,i){var o,s,f;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),f=s[t]),void 0===f)f=s[t]=n,++e._eventsCount;else if("function"==typeof f?f=s[t]=i?[n,f]:[f,n]:i?f.unshift(n):f.push(n),(o=u(e))>0&&f.length>o&&!f.warned){f.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+f.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=e,p.type=t,p.count=f.length,r(p)}return e}function p(){for(var e=[],t=0;t0&&(s=t[0]),s instanceof Error)throw s;var u=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw u.context=s,u}var f=o[e];if(void 0===f)return!1;if("function"==typeof f)n(f,this,t);else{var p=f.length,v=c(f,p);for(r=0;r=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():l(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):a.call(e,t)},o.prototype.listenerCount=a,o.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}; -},{}],"DkOh":[function(require,module,exports) { -"use strict";var e=require("events").EventEmitter,n={init:function(n){if(n._ev instanceof e)return n;var r=new e,t=new e;return n._ev=r,n._internalEv=t,n.on=r.on.bind(r),n.once=r.once.bind(r),n.removeListener=r.removeListener.bind(r),n.removeAllListeners=r.removeAllListeners.bind(r),n._internalOn=t.on.bind(t),n._internalOnce=t.once.bind(t),n._removeInternalListener=t.removeListener.bind(t),n._removeAllInternalListeners=t.removeAllListeners.bind(t),n.emit=function(e,i){"undefined"!=typeof jQuery&&jQuery(n).trigger(e,i),r.emit(e,i),t.emit(e,i)},n},triggerHandler:function(e,n,r){var t,i;"undefined"!=typeof jQuery&&(t=jQuery(e).triggerHandler(n,r));var l=e._ev;if(!l)return t;var o,d=l._events[n];if(!d)return t;function v(e){return e.listener?(l.removeListener(n,e.listener),e.fired?void 0:(e.fired=!0,e.listener.apply(l,[r]))):e.apply(l,[r])}for(d=Array.isArray(d)?d:[d],o=0;ou.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var u,n;if(e.framework&&e.framework.isPolar)e.framework.undo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,u=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,n=0;n=e.undoQueue.queue.length)){for(u=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,n=0;n0){for(var r=[],i=0;i` is displayed in the secondary box, for example "{fullData.name}".',"To hide the secondary box completely, use an empty tag ``."].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n},exports.texttemplateAttrs=function(e,t){e=e||{};var i=r(t=t||{}),n={valType:"string",role:"info",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",a,"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",i].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n}; -},{"../constants/docs":"cMj3"}],"IWxK":[function(require,module,exports) { -"use strict";exports.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",role:"style",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")}; -},{}],"Df6H":[function(require,module,exports) { -"use strict";var e=require("../lib"),t=require("../plots/attributes"),n="templateitemname",i={name:{valType:"string",role:"style",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function a(e){return e&&"string"==typeof e}function r(t){var n=t.length-1;return"s"!==t.charAt(n)&&e.warn("bad argument to arrayDefaultKey: "+t),t.substr(0,t.length-1)+"defaults"}i[n]={valType:"string",role:"info",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},exports.templatedArray=function(e,t){return t._isLinkedToArray=e,t.name=i.name,t[n]=i[n],t},exports.traceTemplater=function(n){var i,a,r={};for(i in n)a=n[i],Array.isArray(a)&&a.length&&(r[i]=0);return{newTrace:function(o){var m={type:i=e.coerce(o,{},t,"type"),_template:null};if(i in r){a=n[i];var l=r[i]%a.length;r[i]++,m._template=a[l]}return m}}},exports.newContainer=function(t,n,i){var a=t._template,r=a&&(a[n]||i&&a[i]);return e.isPlainObject(r)||(r=null),t[n]={_template:r}},exports.arrayTemplater=function(e,t,i){var o=e._template,m=o&&o[r(t)],l=o&&o[t];Array.isArray(l)&&l.length||(l=[]);var u={};return{newItem:function(e){var t={name:e.name,_input:e},r=t[n]=e[n];if(!a(r))return t._template=m,t;for(var o=0;o=r&&(a._input||{})._templateitemname;m&&(o=r);var l,u=i+"["+o+"]";function s(){l={},m&&(l[u]={},l[u][n]=m)}function p(t,n){m?e.nestedProperty(l[u],t).set(n):l[u+"."+t]=n}function f(){var e=l;return s(),e}return s(),{modifyBase:function(e,t){l[e]=t},modifyItem:p,getUpdateObj:f,applyUpdate:function(n,i){n&&p(n,i);var a=f();for(var r in a)e.nestedProperty(t,r).set(a[r])}}}; -},{"../lib":"Ra1u","../plots/attributes":"w5bL"}],"OeVF":[function(require,module,exports) { -"use strict";var e=require("../../lib/regex").counter;module.exports={idRegex:{x:e("x"),y:e("y")},attrRegex:e("[xy]axis"),xAxisMatch:e("xaxis"),yAxisMatch:e("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}; -},{"../../lib/regex":"qvvB"}],"BQE2":[function(require,module,exports) { -"use strict";var e=require("../font_attributes"),t=require("../../components/color/attributes"),i=require("../../components/drawing/attributes").dash,o=require("../../lib/extend").extendFlat,s=require("../../plot_api/plot_template").templatedArray,a=require("../../constants/docs").FORMAT_LINK,n=require("../../constants/docs").DATE_FORMAT_LINK,r=require("./constants");module.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:t.defaultLine,role:"style",editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",role:"info",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:e({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",role:"info",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"info",editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"info",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},scaleanchor:{valType:"enumerated",values:[r.idRegex.x.toString(),r.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],dflt:"range",role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range* (default), or by decreasing the *domain*."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[r.idRegex.x.toString(),r.idRegex.y.toString()],role:"info",editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},tickmode:{valType:"enumerated",values:["auto","linear","array"],role:"info",editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tick0:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],role:"style",editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],role:"info",dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,role:"style",editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:t.defaultLine,role:"style",editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,role:"style",editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,role:"style",editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,role:"style",editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:o({},i,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],role:"style",dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor"],dflt:"data",role:"style",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:e({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",a,"And for dates see:",n,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:s("tickformatstop",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",role:"info",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",a,"And for dates see:",n,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:t.defaultLine,role:"style",editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:t.lightLine,role:"style",editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:t.defaultLine,role:"style",editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:t.defaultLine,role:"style",editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",r.idRegex.x.toString(),r.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",r.idRegex.x.toString(),r.idRegex.y.toString()],role:"info",editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",role:"info",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",role:"info",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",role:"info",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",role:"info",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:e({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}; -},{"../font_attributes":"c1FL","../../components/color/attributes":"Gju3","../../components/drawing/attributes":"IWxK","../../lib/extend":"qfbf","../../plot_api/plot_template":"Df6H","../../constants/docs":"cMj3","./constants":"OeVF"}],"VPPm":[function(require,module,exports) { -"use strict";var e=require("../lib"),t=e.extendFlat,a=e.isPlainObject,r={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},l={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},s=r.flags.slice().concat(["fullReplot"]),o=l.flags.slice().concat("layoutReplot");function i(e){for(var t={},a=0;a=0))return r;if(3===o)n[o]>1&&(n[o]=1);else if(n[o]>=1)return r}var u=Math.round(255*n[0])+", "+Math.round(255*n[1])+", "+Math.round(255*n[2]);return i?"rgba("+u+", "+n[3]+")":"rgb("+u+")"}e.tinyRGB=function(r){var t=r.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},e.rgb=function(t){return e.tinyRGB(r(t))},e.opacity=function(t){return t?r(t).getAlpha():0},e.addOpacity=function(t,e){var a=r(t).toRgb();return"rgba("+Math.round(a.r)+", "+Math.round(a.g)+", "+Math.round(a.b)+", "+e+")"},e.combine=function(t,e){var a=r(t).toRgb();if(1===a.a)return r(t).toRgbString();var n=r(e||i).toRgb(),o=1===n.a?n:{r:255*(1-n.a)+n.r*n.a,g:255*(1-n.a)+n.g*n.a,b:255*(1-n.a)+n.b*n.a},u={r:o.r*(1-a.a)+a.r*a.a,g:o.g*(1-a.a)+a.g*a.a,b:o.b*(1-a.a)+a.b*a.a};return r(u).toRgbString()},e.contrast=function(t,a,o){var u=r(t);return 1!==u.getAlpha()&&(u=r(e.combine(t,i))),(u.isDark()?a?u.lighten(a):i:o?u.darken(o):n).toString()},e.stroke=function(t,a){var n=r(a);t.style({stroke:e.tinyRGB(n),"stroke-opacity":n.getAlpha()})},e.fill=function(t,a){var n=r(a);t.style({fill:e.tinyRGB(n),"fill-opacity":n.getAlpha()})},e.clean=function(r){if(r&&"object"==typeof r){var t,a,n,i,u=Object.keys(r);for(t=0;t=0;a--,o++){var c=r[a];n[o]=[1-c[0],c[1]]}return n}function m(a,c){c=c||{};for(var i=a.domain,t=a.range,l=t.length,u=new Array(l),s=0;sv-d?d=v-(g-v):g-v=0?l.colorscale.sequential:l.colorscale.sequentialminus,m._sync("colorscale",i))}; -},{"fast-isnumeric":"T2RE","../../lib":"Ra1u","./helpers":"aSM5"}],"D56s":[function(require,module,exports) { -"use strict";var e=require("./scales"),a=require("./helpers");module.exports={moduleType:"component",name:"colorscale",attributes:require("./attributes"),layoutAttributes:require("./layout_attributes"),supplyLayoutDefaults:require("./layout_defaults"),handleDefaults:require("./defaults"),crossTraceDefaults:require("./cross_trace_defaults"),calc:require("./calc"),scales:e.scales,defaultScale:e.defaultScale,getScale:e.get,isValidScale:e.isValid,hasColorscale:a.hasColorscale,extractOpts:a.extractOpts,extractScale:a.extractScale,flipScale:a.flipScale,makeColorScaleFunc:a.makeColorScaleFunc,makeColorScaleFuncFromTrace:a.makeColorScaleFuncFromTrace}; -},{"./scales":"OOCt","./helpers":"aSM5","./attributes":"v5TS","./layout_attributes":"sDDB","./layout_defaults":"IVGG","./defaults":"kgut","./cross_trace_defaults":"XIHQ","./calc":"wVZj"}],"cFDs":[function(require,module,exports) { -"use strict";exports.xmlns="http://www.w3.org/2000/xmlns/",exports.svg="http://www.w3.org/2000/svg",exports.xlink="http://www.w3.org/1999/xlink",exports.svgAttrs={xmlns:exports.svg,"xmlns:xlink":exports.xlink}; -},{}],"kKbD":[function(require,module,exports) { -"use strict";module.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}; -},{}],"q7WC":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("../lib"),n=require("../constants/xmlns_namespaces"),a=require("../constants/alignment").LINE_SPACING;function r(t,e){return t.node().getBoundingClientRect()[e]}var o=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;exports.convertToTspans=function(e,n,a){var i=e.text(),s=!e.attr("data-notex")&&"undefined"!=typeof MathJax&&i.match(o),l=t.select(e.node().parentNode);if(!l.empty()){var u=e.attr("class")?e.attr("class").split(" ")[0]:"text";return u+="-math",l.selectAll("svg."+u).remove(),l.selectAll("g."+u+"-group").remove(),e.style("display",null).attr({"data-unformatted":i,"data-math":"N"}),s?(n&&n._promises||[]).push(new Promise(function(t){e.style("display","none");var n=parseInt(e.node().style.fontSize,10),o={fontSize:n};c(s[2],o,function(o,s,c){l.selectAll("svg."+u).remove(),l.selectAll("g."+u+"-group").remove();var p=o&&o.select("svg");if(!p||!p.node())return d(),void t();var f=l.append("g").classed(u+"-group",!0).attr({"pointer-events":"none","data-unformatted":i,"data-math":"Y"});f.node().appendChild(p.node()),s&&s.node()&&p.node().insertBefore(s.node().cloneNode(!0),p.node().firstChild),p.attr({class:u,height:c.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var h=e.node().style.fill||"black",g=p.select("g");g.attr({fill:h,stroke:h});var v=r(g,"width"),m=r(g,"height"),x=+e.attr("x")-v*{start:0,middle:.5,end:1}[e.attr("text-anchor")||"start"],y=-(n||r(e,"height"))/4;"y"===u[0]?(f.attr({transform:"rotate("+[-90,+e.attr("x"),+e.attr("y")]+") translate("+[-v/2,y-m/2]+")"}),p.attr({x:+e.attr("x"),y:+e.attr("y")})):"l"===u[0]?p.attr({x:e.attr("x"),y:y-m/2}):"a"===u[0]&&0!==u.indexOf("atitle")?p.attr({x:0,y:y}):p.attr({x:x,y:+e.attr("y")+y-m/2}),a&&a.call(e,f),t(f)})})):d(),e}function d(){l.empty()||(u=e.attr("class")+"-math",l.select("svg."+u).remove()),e.text("").style("white-space","pre"),_(e.node(),i)&&e.style("pointer-events","all"),exports.positionText(e),a&&a.call(e)}};var i=/(<|<|<)/g,s=/(>|>|>)/g;function l(t){return t.replace(i,"\\lt ").replace(s,"\\gt ")}function c(n,a,r){var o,i,s,c;MathJax.Hub.Queue(function(){return i=e.extendDeepAll({},MathJax.Hub.config),s=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})},function(){if("SVG"!==(o=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")},function(){var r="math-output-"+e.randstr({},64);return c=t.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":a.fontSize+"px"}).text(l(n)),MathJax.Hub.Typeset(c.node())},function(){var a=t.select("body").select("#MathJax_SVG_glyphs");if(c.select(".MathJax_SVG").empty()||!c.select("svg").node())e.log("There was an error in the tex syntax.",n),r();else{var i=c.select("svg").node().getBoundingClientRect();r(c.select(".MathJax_SVG"),a,i)}if(c.remove(),"SVG"!==o)return MathJax.Hub.setRenderer(o)},function(){return void 0!==s&&(MathJax.Hub.processSectionDelay=s),MathJax.Hub.Config(i)})}var u={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},d={sub:"0.3em",sup:"-0.6em"},p={sub:"-0.21em",sup:"0.42em"},f="โ€‹",h=["http:","https:","mailto:","",void 0,":"],g=exports.NEWLINES=/(\r\n?|\n)/g,v=/(<[^<>]*>)/,m=/<(\/?)([^ >]*)(\s+(.*))?>/i,x=//i;exports.BR_TAG_ALL=//gi;var y=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,b=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,w=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,C=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function S(t,e){if(!t)return null;var n=t.match(e),a=n&&(n[3]||n[4]);return a&&J(a)}var A=/(^|;)\s*color:/;exports.plainText=function(t,e){for(var n=void 0!==(e=e||{}).len&&-1!==e.len?e.len:1/0,a=void 0!==e.allowedTags?e.allowedTags:["br"],r="...".length,o=t.split(v),i=[],s="",l=0,c=0;cr?i.push(u.substr(0,h-r)+"..."):i.push(u.substr(0,h));break}s=""}}return i.join("")};var M={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร—",plusmn:"ยฑ",deg:"ยฐ"},k=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function J(t){return t.replace(k,function(t,e){return("#"===e.charAt(0)?N("x"===e.charAt(1)?parseInt(e.substr(2),16):parseInt(e.substr(1),10)):M[e])||t})}function N(t){if(!(t>1114111)){var e=String.fromCodePoint;if(e)return e(t);var n=String.fromCharCode;return t<=65535?n(t):n(55232+(t>>10),t%1024+56320)}}function _(r,o){o=o.replace(g," ");var i,s=!1,l=[],c=-1;function M(){c++;var e=document.createElementNS(n.svg,"tspan");t.select(e).attr({class:"line",dy:c*a+"em"}),r.appendChild(e),i=e;var o=l;if(l=[{node:e}],o.length>1)for(var s=1;s doesnt match end tag <"+t+">. Pretending it did match.",o),i=l[l.length-1].node}else e.log("Ignoring unexpected end tag .",o)}x.test(o)?M():(i=r,l=[{node:r}]);for(var z=o.split(v),R=0;R0?Math.max(t,i):0}}; -},{"fast-isnumeric":"T2RE"}],"sbcL":[function(require,module,exports) { -"use strict";var r=require("../../lib");exports.getSubplot=function(r){return r.subplot||r.xaxis+r.yaxis||r.geo},exports.isTraceInSubplots=function(r,e){if("splom"===r.type){for(var t=r.xaxes||[],n=r.yaxes||[],a=0;a=0&&t.index=200?x:"")}y.symbolNumber=function(t){if("string"==typeof t){var e=0;t.indexOf("-open")>0&&(e=100,t=t.replace("-open","")),t.indexOf("-dot")>0&&(e+=200,t=t.replace("-dot","")),(t=y.symbolNames.indexOf(t))>=0&&(t+=e)}return t%100>=h||t>=400?0:Math.floor(Math.max(t,0))};var g={x1:1,x2:0,y1:0,y2:0},S={x1:0,x2:0,y1:1,y2:0},F=t.format("~.1f"),A={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:g},horizontalreversed:{node:"linearGradient",attrs:g,reversed:!0},vertical:{node:"linearGradient",attrs:S},verticalreversed:{node:"linearGradient",attrs:S,reversed:!0}};y.gradient=function(e,n,a,l,s,c){for(var d=s.length,u=A[l],f=new Array(d),m=0;m=100,e.attr("d",b(d,c))}var u,f,m,p=!1;if(t.so)m=s.outlierwidth,f=s.outliercolor,u=l.outliercolor;else{var v=(s||{}).width;m=(t.mlw+1||v+1||(t.trace?(t.trace.marker.line||{}).width:0)+1)-1||0,f="mlc"in t?t.mlcc=n.lineScale(t.mlc):i.isArrayOrTypedArray(s.color)?o.defaultLine:s.color,i.isArrayOrTypedArray(l.color)&&(u=o.defaultLine,p=!0),u="mc"in t?t.mcc=n.markerScale(t.mc):l.color||"rgba(0,0,0,0)",n.selectedColorFn&&(u=n.selectedColorFn(t))}if(t.om)e.call(o.stroke,u).style({"stroke-width":(m||1)+"px",fill:"none"});else{e.style("stroke-width",(t.isBlank?0:m)+"px");var h=l.gradient,x=t.mgt;if(x?p=!0:x=h&&h.type,Array.isArray(x)&&(x=x[0],A[x]||(x=0)),x&&"none"!==x){var g=t.mgc;g?p=!0:g=h.color;var S=r.uid;p&&(S+="-"+t.i),y.gradient(e,a,S,x,[[0,g],[1,u]],"fill")}else o.fill(e,u);m&&o.stroke(e,f)}},y.makePointStyleFns=function(t){var e={},r=t.marker;return e.markerScale=y.tryColorscale(r,""),e.lineScale=y.tryColorscale(r,"line"),n.traceIs(t,"symbols")&&(e.ms2mrc=f.isBubble(t)?m(t):function(){return(r.size||6)/2}),t.selectedpoints&&i.extendFlat(e,y.makeSelectedPointStyleFns(t)),e},y.makeSelectedPointStyleFns=function(t){var e={},r=t.selected||{},o=t.unselected||{},a=t.marker||{},l=r.marker||{},s=o.marker||{},c=a.opacity,d=l.opacity,f=s.opacity,m=void 0!==d,p=void 0!==f;(i.isArrayOrTypedArray(c)||m||p)&&(e.selectedOpacityFn=function(t){var e=void 0===t.mo?a.opacity:t.mo;return t.selected?m?d:e:p?f:u*e});var y=a.color,v=l.color,h=s.color;(v||h)&&(e.selectedColorFn=function(t){var e=t.mcc||y;return t.selected?v||e:h||e});var x=a.size,b=l.size,g=s.size,S=void 0!==b,F=void 0!==g;return n.traceIs(t,"symbols")&&(S||F)&&(e.selectedSizeFn=function(t){var e=t.mrc||x/2;return t.selected?S?b/2:e:F?g/2:e}),e},y.makeSelectedTextStyleFns=function(t){var e={},r=t.selected||{},n=t.unselected||{},a=t.textfont||{},i=r.textfont||{},l=n.textfont||{},s=a.color,c=i.color,d=l.color;return e.selectedTextColorFn=function(t){var e=t.tc||s;return t.selected?c||e:d||(c?e:o.addOpacity(e,u))},e},y.selectedPointStyle=function(e,r){if(e.size()&&r.selectedpoints){var n=y.makeSelectedPointStyleFns(r),a=r.marker||{},i=[];n.selectedOpacityFn&&i.push(function(t,e){t.style("opacity",n.selectedOpacityFn(e))}),n.selectedColorFn&&i.push(function(t,e){o.fill(t,n.selectedColorFn(e))}),n.selectedSizeFn&&i.push(function(t,e){var r=e.mx||a.symbol||0,o=n.selectedSizeFn(e);t.attr("d",b(y.symbolNumber(r),o)),e.mrc2=o}),i.length&&e.each(function(e){for(var r=t.select(this),n=0;n0?n:0}y.textPointStyle=function(e,r,n){if(e.size()){var o;if(r.selectedpoints){var a=y.makeSelectedTextStyleFns(r);o=a.selectedTextColorFn}var s=r.texttemplate,c=n._fullLayout;e.each(function(e){var a=t.select(this),d=s?i.extractOption(e,r,"txt","texttemplate"):i.extractOption(e,r,"tx","text");if(d||0===d){if(s){var u=r._module.formatLabels?r._module.formatLabels(e,r,c):{},f={};p(f,r,e.i);var m=r._meta||{};d=i.texttemplateString(d,u,c._d3locale,f,e,m)}var v=e.tp||r.textposition,h=P(e,r),x=o?o(e):e.tc||r.textfont.color;a.call(y.font,e.tf||r.textfont.family,h,x).text(d).call(l.convertToTspans,n).call(L,v,h,e.mrc)}else a.remove()})}},y.selectedTextStyle=function(e,r){if(e.size()&&r.selectedpoints){var n=y.makeSelectedTextStyleFns(r);e.each(function(e){var a=t.select(this),i=n.selectedTextColorFn(e),l=e.tp||r.textposition,s=P(e,r);o.fill(a,i),L(a,l,s,e.mrc2||e.mrc)})}};var O=.5;function _(e,r,n,o){var a=e[0]-r[0],i=e[1]-r[1],l=n[0]-r[0],s=n[1]-r[1],c=Math.pow(a*a+i*i,O/2),d=Math.pow(l*l+s*s,O/2),u=(d*d*a-c*c*l)*o,f=(d*d*i-c*c*s)*o,m=3*d*(c+d),p=3*c*(c+d);return[[t.round(r[0]+(m&&u/m),2),t.round(r[1]+(m&&f/m),2)],[t.round(r[0]-(p&&u/p),2),t.round(r[1]-(p&&f/p),2)]]}y.smoothopen=function(t,e){if(t.length<3)return"M"+t.join("L");var r,n="M"+t[0],o=[];for(r=1;r=T&&(y.savedBBoxes={},N=0),n&&(y.savedBBoxes[n]=h),N++,i.extendFlat({},h)},y.setClipUrl=function(t,e,r){t.attr("clip-path",B(e,r))},y.getTranslate=function(t){var e=(t[t.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,function(t,e,r){return[e,r].join(" ")}).split(" ");return{x:+e[0]||0,y:+e[1]||0}},y.setTranslate=function(t,e,r){var n=t.attr?"attr":"getAttribute",o=t.attr?"attr":"setAttribute",a=t[n]("transform")||"";return e=e||0,r=r||0,a=a.replace(/(\btranslate\(.*?\);?)/,"").trim(),a=(a+=" translate("+e+", "+r+")").trim(),t[o]("transform",a),a},y.getScale=function(t){var e=(t[t.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,function(t,e,r){return[e,r].join(" ")}).split(" ");return{x:+e[0]||1,y:+e[1]||1}},y.setScale=function(t,e,r){var n=t.attr?"attr":"getAttribute",o=t.attr?"attr":"setAttribute",a=t[n]("transform")||"";return e=e||1,r=r||1,a=a.replace(/(\bscale\(.*?\);?)/,"").trim(),a=(a+=" scale("+e+", "+r+")").trim(),t[o]("transform",a),a};var q=/\s*sc.*/;y.setPointGroupScale=function(t,e,r){if(e=e||1,r=r||1,t){var n=1===e&&1===r?"":" scale("+e+","+r+")";t.each(function(){var t=(this.getAttribute("transform")||"").replace(q,"");t=(t+=n).trim(),this.setAttribute("transform",t)})}};var G=/translate\([^)]*\)\s*$/;y.setTextPointsScale=function(e,r,n){e&&e.each(function(){var e,o=t.select(this),a=o.select("text");if(a.node()){var i=parseFloat(a.attr("x")||0),l=parseFloat(a.attr("y")||0),s=(o.attr("transform")||"").match(G);e=1===r&&1===n?[]:["translate("+i+","+l+")","scale("+r+","+n+")","translate("+-i+","+-l+")"],s&&e.push(s),o.attr("transform",e.join(" "))}})}; -},{"d3":"uT61","fast-isnumeric":"T2RE","tinycolor2":"ZdXS","../../registry":"RoGf","../color":"fSwg","../colorscale":"D56s","../../lib":"Ra1u","../../lib/svg_text_utils":"q7WC","../../constants/xmlns_namespaces":"cFDs","../../constants/alignment":"kKbD","../../constants/interactions":"b2CG","../../traces/scatter/subtypes":"WwK3","../../traces/scatter/make_bubble_size_func":"LTTC","../../components/fx/helpers":"sbcL","./symbol_defs":"C23P"}],"MsWg":[function(require,module,exports) { -"use strict";module.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}; -},{}],"q8Id":[function(require,module,exports) { -"use strict";var e=require("../../plots/template_attributes").texttemplateAttrs,t=require("../../plots/template_attributes").hovertemplateAttrs,i=require("../../components/colorscale/attributes"),o=require("../../plots/font_attributes"),a=require("../../components/drawing/attributes").dash,n=require("../../components/drawing"),s=require("./constants"),r=require("../../lib/extend").extendFlat;module.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the x coordinates."},x0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `x`.","Builds a linear space of x coordinates.","Use with `dx`","where `x0` is the starting coordinate and `dx` the step."].join(" ")},dx:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the x coordinate step.","See `x0` for more info."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the y coordinates."},y0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `y`.","Builds a linear space of y coordinates.","Use with `dy`","where `y0` is the starting coordinate and `dy` the step."].join(" ")},dy:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the y coordinate step.","See `y0` for more info."].join(" ")},stackgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several scatter traces (on the same subplot) to the same","stackgroup in order to add their y values (or their x values if","`orientation` is *h*). If blank or omitted this trace will not be","stacked. Stacking also turns `fill` on by default, using *tonexty*","(*tonextx*) if `orientation` is *h* (*v*) and sets the default","`mode` to *lines* irrespective of point count.","You can only stack on a numeric (linear or log) axis.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`orientation` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`. Sets the","stacking direction. With *v* (*h*), the y (x) values of subsequent","traces are added. Also affects the default value of `fill`."].join(" ")},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`groupnorm` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Sets the normalization for the sum of this `stackgroup`.","With *fraction*, the value of each trace at each location is","divided by the sum of all trace values at that location.","*percent* is the same but multiplied by 100 to show percentages.","If there are multiple subplots, or multiple `stackgroup`s on one","subplot, each will be normalized within its own set."].join(" ")},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`stackgaps` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Determines how we handle locations at which other traces in this","group have data but this one does not.","With *infer zero* we insert a zero at these locations.","With *interpolate* we linearly interpolate between existing","values, and extrapolate a constant beyond the existing values."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},texttemplate:e({},{}),hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],role:"info",editType:"calc",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover.","If there are less than "+s.PTS_LINESONLY+" points","and the trace is not stacked","then the default is *lines+markers*. Otherwise, *lines*."].join(" ")},hoveron:{valType:"flaglist",flags:["points","fills"],role:"info",editType:"style",description:["Do the hover effects highlight individual points (markers or","line points) or do they highlight filled regions?","If the fill is *toself* or *tonext* and there are no markers","or text, then the default is *fills*, otherwise it is *points*."].join(" ")},hovertemplate:t({},{keys:s.eventDataKeys}),line:{color:{valType:"color",role:"style",editType:"style",anim:!0,description:"Sets the line color."},width:{valType:"number",min:0,dflt:2,role:"style",editType:"style",anim:!0,description:"Sets the line width (in px)."},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",role:"style",editType:"plot",description:["Determines the line shape.","With *spline* the lines are drawn using spline interpolation.","The other available values correspond to step-wise line shapes."].join(" ")},smoothing:{valType:"number",min:0,max:1.3,dflt:1,role:"style",editType:"plot",description:["Has an effect only if `shape` is set to *spline*","Sets the amount of smoothing.","*0* corresponds to no smoothing (equivalent to a *linear* shape)."].join(" ")},dash:r({},a,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Simplifies lines by removing nearly-collinear points. When transitioning","lines, it may be desirable to disable this so that the number of points","along the resulting SVG path is unaffected."].join(" ")},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the provided data arrays are connected."].join(" ")},cliponaxis:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines whether or not markers and text nodes","are clipped about the subplot axes.","To show markers and text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],role:"style",editType:"calc",description:["Sets the area to fill with a solid color.","Defaults to *none* unless this trace is stacked, then it gets","*tonexty* (*tonextx*) if `orientation` is *v* (*h*)","Use with `fillcolor` if not *none*.","*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.","*tonextx* and *tonexty* fill between the endpoints of this","trace and the endpoints of the trace before it, connecting those","endpoints with straight lines (to make a stacked area graph);","if there is no trace before it, they behave like *tozerox* and","*tozeroy*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},fillcolor:{valType:"color",role:"style",editType:"style",anim:!0,description:["Sets the fill color.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},marker:r({symbol:{valType:"enumerated",values:n.symbolList,dflt:"circle",arrayOk:!0,role:"style",editType:"style",description:["Sets the marker symbol type.","Adding 100 is equivalent to appending *-open* to a symbol name.","Adding 200 is equivalent to appending *-dot* to a symbol name.","Adding 300 is equivalent to appending *-open-dot*","or *dot-open* to a symbol name."].join(" ")},opacity:{valType:"number",min:0,max:1,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the marker opacity."},size:{valType:"number",min:0,dflt:6,arrayOk:!0,role:"style",editType:"calc",anim:!0,description:"Sets the marker size (in px)."},maxdisplayed:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:["Sets a maximum number of points to be drawn on the graph.","*0* corresponds to no limit."].join(" ")},sizeref:{valType:"number",dflt:1,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the scale factor used to determine the rendered size of","marker points. Use with `sizemin` and `sizemode`."].join(" ")},sizemin:{valType:"number",min:0,dflt:0,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the minimum size (in px) of the rendered marker points."].join(" ")},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",role:"info",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the rule for which the data in `size` is converted","to pixels."].join(" ")},line:r({width:{valType:"number",min:0,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the width (in px) of the lines bounding the marker points."},editType:"calc"},i("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",role:"style",editType:"calc",description:["Sets the type of gradient used to fill the markers"].join(" ")},color:{valType:"color",arrayOk:!0,role:"style",editType:"calc",description:["Sets the final color of the gradient fill:","the center color for radial, the right for horizontal,","or the bottom for vertical."].join(" ")},editType:"calc"},editType:"calc"},i("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of selected points."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of selected points."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of selected points."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of selected points."},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of unselected points, applied only when a selection exists."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of unselected points, applied only when a selection exists."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of unselected points, applied only when a selection exists."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of unselected points, applied only when a selection exists."},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,role:"style",editType:"calc",description:["Sets the positions of the `text` elements","with respects to the (x,y) coordinates."].join(" ")},textfont:o({editType:"calc",colorEditType:"style",arrayOk:!0,description:"Sets the text font."}),r:{valType:"data_array",editType:"calc",description:["r coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the radial coordinates","for legacy polar chart only."].join("")},t:{valType:"data_array",editType:"calc",description:["t coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the angular coordinates","for legacy polar chart only."].join("")}}; -},{"../../plots/template_attributes":"L9iY","../../components/colorscale/attributes":"v5TS","../../plots/font_attributes":"c1FL","../../components/drawing/attributes":"IWxK","../../components/drawing":"HEt8","./constants":"MsWg","../../lib/extend":"qfbf"}],"rqE7":[function(require,module,exports) { -"use strict";var e=require("../../../traces/scatter/attributes"),r=e.marker,i=require("../../../lib/extend").extendFlat,o=["Area traces are deprecated!","Please switch to the *barpolar* trace type."].join(" ");module.exports={r:i({},e.r,{description:[o,"Sets the radial coordinates","for legacy polar chart only."].join(" ")}),t:i({},e.t,{description:[o,"Sets the angular coordinates","for legacy polar chart only."].join(" ")}),marker:{color:i({},r.color,{description:[o,r.color.description].join(" ")}),size:i({},r.size,{description:[o,r.size.description].join(" ")}),symbol:i({},r.symbol,{description:[o,r.symbol.description].join(" ")}),opacity:i({},r.opacity,{description:[o,r.opacity.description].join(" ")}),editType:"calc"}}; -},{"../../../traces/scatter/attributes":"q8Id","../../../lib/extend":"qfbf"}],"b7a2":[function(require,module,exports) { -"use strict";var e=require("../../cartesian/layout_attributes"),i=require("../../../lib/extend").extendFlat,t=require("../../../plot_api/edit_types").overrideAll,o=["Legacy polar charts are deprecated!","Please switch to *polar* subplots."].join(" "),n=i({},e.domain,{description:["Polar chart subplots are not supported yet.","This key has currently no effect."].join(" ")});function r(e,t){var n={showline:{valType:"boolean",role:"style",description:[o,"Determines whether or not the line bounding this",e,"axis","will be shown on the figure."].join(" ")},showticklabels:{valType:"boolean",role:"style",description:[o,"Determines whether or not the",e,"axis ticks","will feature tick labels."].join(" ")},tickorientation:{valType:"enumerated",values:["horizontal","vertical"],role:"style",description:[o,"Sets the orientation (from the paper perspective)","of the",e,"axis tick labels."].join(" ")},ticklen:{valType:"number",min:0,role:"style",description:[o,"Sets the length of the tick lines on this",e,"axis."].join(" ")},tickcolor:{valType:"color",role:"style",description:[o,"Sets the color of the tick lines on this",e,"axis."].join(" ")},ticksuffix:{valType:"string",role:"style",description:[o,"Sets the length of the tick lines on this",e,"axis."].join(" ")},endpadding:{valType:"number",role:"style",description:o},visible:{valType:"boolean",role:"info",description:[o,"Determines whether or not this axis will be visible."].join(" ")}};return i({},t,n)}module.exports=t({radialaxis:r("radial",{range:{valType:"info_array",role:"info",items:[{valType:"number"},{valType:"number"}],description:[o,"Defines the start and end point of this radial axis."].join(" ")},domain:n,orientation:{valType:"number",role:"style",description:[o,"Sets the orientation (an angle with respect to the origin)","of the radial axis."].join(" ")}}),angularaxis:r("angular",{range:{valType:"info_array",role:"info",items:[{valType:"number",dflt:0},{valType:"number",dflt:360}],description:[o,"Defines the start and end point of this angular axis."].join(" ")},domain:n}),layout:{direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"info",description:[o,"Sets the direction corresponding to positive angles","in legacy polar charts."].join(" ")},orientation:{valType:"angle",role:"info",description:[o,"Rotates the entire polar by the given angle","in legacy polar charts."].join(" ")}}},"plot","nested"); -},{"../../cartesian/layout_attributes":"BQE2","../../../lib/extend":"qfbf","../../../plot_api/edit_types":"VPPm"}],"qkUv":[function(require,module,exports) { -"use strict";var e=require("../registry"),t=require("../lib"),r=require("../plots/attributes"),a=require("../plots/layout_attributes"),i=require("../plots/frame_attributes"),s=require("../plots/animation_attributes"),n=require("./plot_config").configAttributes,o=require("../plots/polar/legacy/area_attributes"),l=require("../plots/polar/legacy/axis_attributes"),u=require("./edit_types"),c=t.extendFlat,f=t.extendDeepAll,d=t.isPlainObject,y=t.isArrayOrTypedArray,p=t.nestedProperty,b=t.valObjectMeta,m="_isSubplotObj",g="_isLinkedToArray",v="_arrayAttrRegexps",h="_deprecated",x=[m,g,v,h];function A(t,r){var i,s,n,o,u=t._basePlotModules;if(u){var c;for(i=0;i=s.length)return!1;if(2===e.dimensions){if(r++,t.length===r)return e;var n=t[r];if(!O(n))return!1;e=s[i][n]}else e=s[i]}else e=s}}return e}function O(e){return e===Math.round(e)&&e>=0}function w(t){var a,i;"area"===t?(a={attributes:o},i={}):i=(a=e.modules[t]._module).basePlotModule;var s={type:null},n=f({},r),l=f({},a.attributes);exports.crawl(l,function(e,t,r,a,i){p(n,i).set(void 0),void 0===e&&p(l,i).set(void 0)}),f(s,n),e.traceIs(t,"noOpacity")&&delete s.opacity,e.traceIs(t,"showLegend")||(delete s.showlegend,delete s.legendgroup),e.traceIs(t,"noHover")&&(delete s.hoverinfo,delete s.hoverlabel),a.selectPoints||delete s.selectedpoints,f(s,l),i.attributes&&f(s,i.attributes),s.type=t;var u={meta:a.meta||{},categories:a.categories||{},animatable:Boolean(a.animatable),type:t,attributes:j(s)};if(a.layoutAttributes){var c={};f(c,a.layoutAttributes),u.layoutAttributes=j(c)}return a.animatable||exports.crawl(u,function(e){exports.isValObject(e)&&"anim"in e&&delete e.anim}),u}function R(){var t,r,i={};for(t in f(i,a),e.subplotsRegistry){if((r=e.subplotsRegistry[t]).layoutAttributes)if(Array.isArray(r.attr))for(var s=0;s=u.length)return!1;s=(i=(e.transformsRegistry[u[c].type]||{}).attributes)&&i[a[2]],l=3}else if("area"===t.type)s=o[n];else{var f=t._module;if(f||(f=(e.modules[t.type||r.type.dflt]||{})._module),!f)return!1;if(!(s=(i=f.attributes)&&i[n])){var d=f.basePlotModule;d&&d.attributes&&(s=d.attributes[n])}s||(s=r[n])}return _(s,a,l)},exports.getLayoutValObject=function(e,t){return _(A(e,t[0]),t,1)}; -},{"../registry":"RoGf","../lib":"Ra1u","../plots/attributes":"w5bL","../plots/layout_attributes":"SEhR","../plots/frame_attributes":"jTJ0","../plots/animation_attributes":"DsCb","./plot_config":"Bh3D","../plots/polar/legacy/area_attributes":"rqE7","../plots/polar/legacy/axis_attributes":"b7a2","./edit_types":"VPPm"}],"dmNr":[function(require,module,exports) { -"use strict";var r=require("../../registry"),t=require("./constants");exports.id2name=function(r){if("string"==typeof r&&r.match(t.AX_ID_PATTERN)){var s=r.substr(1);return"1"===s&&(s=""),r.charAt(0)+"axis"+s}},exports.name2id=function(r){if(r.match(t.AX_NAME_PATTERN)){var s=r.substr(5);return"1"===s&&(s=""),r.charAt(0)+s}},exports.cleanId=function(r,s){if(r.match(t.AX_ID_PATTERN)&&(!s||r.charAt(0)===s)){var e=r.substr(1).replace(/^0+/,"");return"1"===e&&(e=""),r.charAt(0)+e}},exports.list=function(r,t,s){var e=r._fullLayout;if(!e)return[];var a,n=exports.listIds(r,t),u=new Array(n.length);for(a=0;ae?1:-1:+(r.substr(1)||1)-+(t.substr(1)||1)},exports.getAxisGroup=function(r,t){for(var s=r._axisMatchGroups,e=0;e0?".":"")+o;e.isPlainObject(l)?i(l,a,s,n+1):a(s,o,l)}})}exports.manageCommandObserver=function(r,t,n,o){var i={},l=!0;t&&t._commandObserver&&(i=t._commandObserver),i.cache||(i.cache={}),i.lookupTable={};var s=exports.hasSimpleAPICommandBindings(r,n,i.lookupTable);if(t&&t._commandObserver){if(s)return i;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,i}if(s){a(r,s,i.cache),i.check=function(){if(l){var e=a(r,s,i.cache);return e.changed&&o&&void 0!==i.lookupTable[e.value]&&(i.disable(),Promise.resolve(o({value:e.value,type:s.type,prop:s.prop,traces:s.traces,index:i.lookupTable[e.value]})).then(i.enable,i.enable)),e.changed}};for(var u=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],c=0;c=a.width-20?(l["text-anchor"]="start",l.x=5):(l["text-anchor"]="end",l.x=a._paper.attr("width")-7),r.attr(l);var s=r.select(".js-link-to-tool"),u=r.select(".js-link-spacer"),d=r.select(".js-sourcelinks");t._context.showSources&&t._context.showSources(t),t._context.showLink&&g(t,s),u.text(s.text()&&d.text()?" - ":"")}},h.sendDataToCloud=function(t){t.emit("plotly_beforeexport");var a=(window.PLOTLYENV||{}).BASE_URL||t._context.plotlyServerURL,r=e.select(t).append("div").attr("id","hiddenform").style("display","none"),n=r.append("form").attr({action:a+"/external",method:"post",target:"_blank"});return n.append("input").attr({type:"text",name:"data"}).node().value=h.graphJson(t,!1,"keepdata"),n.node().submit(),r.remove(),t.emit("plotly_afterexport"),!1};var v=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],y=["year","month","dayMonth","dayMonthYear"];function x(e,t){var a,r,n=t.length,o=[];for(a=0;a1&&O.length>1){for(a.getComponentMethod("grid","sizeDefaults")(s,l),o=0;o15&&O.length>15&&0===l.shapes.length&&0===l.images.length,l._hasCartesian=l._has("cartesian"),l._hasGeo=l._has("geo"),l._hasGL3D=l._has("gl3d"),l._hasGL2D=l._has("gl2d"),l._hasTernary=l._has("ternary"),l._hasPie=l._has("pie"),h.linkSubplots(d,l,u,n),h.cleanPlot(d,l,u,n),n._zoomlayer&&!e._dragging&&n._zoomlayer.selectAll(".select-outline").remove(),w(d,l),c(l,n),a.getComponentMethod("colorscale","crossTraceDefaults")(d,l),l._preGUI||(l._preGUI={}),l._tracePreGUI||(l._tracePreGUI={});var B,G=l._tracePreGUI,W={};for(B in G)W[B]="old";for(o=0;o0){var f=1-2*s;n=Math.round(f*n),o=Math.round(f*o)}}var c=h.layoutAttributes.width.min,p=h.layoutAttributes.height.min;n1,_=!a.height&&Math.abs(r.height-o)>1;(_||m)&&(m&&(r.width=n),_&&(r.height=o)),e._initialAutoSize||(e._initialAutoSize={width:n,height:o}),h.sanitizeMargins(r)},h.supplyLayoutModuleDefaults=function(e,t,r,n){var o,l,s,u=a.componentsRegistry,d=t._basePlotModules,f=a.subplotsRegistry.cartesian;for(o in u)(s=u[o]).includeBasePlot&&s.includeBasePlot(e,t);for(var c in d.length||d.push(f),t._has("cartesian")&&(a.getComponentMethod("grid","contentDefaults")(e,t),f.finalizeSubplots(e,t)),t._subplots)t._subplots[c].sort(i.subplotSort);for(l=0;l.5*r.width&&(i.log("Margin push",t,"is too big in x, dropping"),a.l=a.r=0),a.b+a.t>.5*r.height&&(i.log("Margin push",t,"is too big in y, dropping"),a.b=a.t=0);var u=void 0!==a.xl?a.xl:a.x,d=void 0!==a.xr?a.xr:a.x,f=void 0!==a.yt?a.yt:a.y,c=void 0!==a.yb?a.yb:a.y;n[t]={l:{val:u,size:a.l+l},r:{val:d,size:a.r+l},b:{val:c,size:a.b+l},t:{val:f,size:a.t+l}},o[t]=1}else delete n[t],delete o[t];if(!r._replotting)return h.doAutoMargin(e)}},h.doAutoMargin=function(e){var r=e._fullLayout;r._size||(r._size={}),k(r);var n=r._size,o=r.margin,l=i.extendFlat({},n),s=o.l,u=o.r,d=o.t,f=o.b,c=r.width,p=r.height,m=r._pushmargin,_=r._pushmarginIds;if(!1!==r.margin.autoexpand){for(var g in m)_[g]||delete m[g];for(var v in m.base={l:{val:0,size:s},r:{val:1,size:u},t:{val:1,size:d},b:{val:0,size:f}},m){var y=m[v].l||{},x=m[v].b||{},b=y.val,A=y.size,D=x.val,w=x.size;for(var M in m){if(t(A)&&m[M].r){var C=m[M].r.val,P=m[M].r.size;if(C>b){var T=(A*C+(P-c)*b)/(C-b),L=(P*(1-b)+(A-c)*(1-C))/(C-b);T>=0&&L>=0&&c-(T+L)>0&&T+L>s+u&&(s=T,u=L)}}if(t(w)&&m[M].t){var z=m[M].t.val,I=m[M].t.size;if(z>D){var F=(w*z+(I-p)*D)/(z-D),S=(I*(1-D)+(w-p)*(1-z))/(z-D);F>=0&&S>=0&&p-(S+F)>0&&F+S>f+d&&(f=F,d=S)}}}}}if(n.l=Math.round(s),n.r=Math.round(u),n.t=Math.round(d),n.b=Math.round(f),n.p=Math.round(o.pad),n.w=Math.round(c)-n.l-n.r,n.h=Math.round(p)-n.t-n.b,!r._replotting&&h.didMarginChange(l,n)){"_redrawFromAutoMarginCount"in r?r._redrawFromAutoMarginCount++:r._redrawFromAutoMarginCount=1;var O=3*(1+Object.keys(_).length);if(r._redrawFromAutoMarginCount0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push(function(){n=!0}),r.redraw&&e._transitionData._interruptCallbacks.push(function(){return a.call("redraw",e)}),e._transitionData._interruptCallbacks.push(function(){e.emit("plotly_transitioninterrupted",[])});var o=0,l=0;function s(){return o++,function(){var t;l++,n||l!==o||(t=i,e._transitionData&&(function(e){if(e)for(;e.length;)e.shift()}(e._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(r.redraw)return a.call("redraw",e)}).then(function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])}).then(t)))}}r.runFn(s),setTimeout(s())})}],l=i.syncOrAsync(o,e);return l&&l.then||(l=Promise.resolve()),l.then(function(){return e})}h.didMarginChange=function(e,a){for(var r=0;r1)return!0}return!1},h.graphJson=function(e,t,a,r,n){(n&&t&&!e._fullData||n&&!t&&!e._fullLayout)&&h.supplyDefaults(e);var o=n?e._fullData:e.data,l=n?e._fullLayout:e.layout,s=(e._transitionData||{})._frames;function u(e){if("function"==typeof e)return null;if(i.isPlainObject(e)){var t,r,n={};for(t in e)if("function"!=typeof e[t]&&-1===["_","["].indexOf(t.charAt(0))){if("keepdata"===a){if("src"===t.substr(t.length-3))continue}else if("keepstream"===a){if("string"==typeof(r=e[t+"src"])&&r.indexOf(":")>0&&!i.isPlainObject(e.stream))continue}else if("keepall"!==a&&"string"==typeof(r=e[t+"src"])&&r.indexOf(":")>0)continue;n[t]=u(e[t])}return n}return Array.isArray(e)?e.map(u):i.isTypedArray(e)?i.simpleMap(e,i.identity):i.isJSDate(e)?i.ms2DateTimeLocal(+e):e}var d={data:(o||[]).map(function(e){var a=u(e);return t&&delete a.fit,a})};return t||(d.layout=u(l)),e.framework&&e.framework.isPolar&&(d=e.framework.getConfig()),s&&(d.frames=u(s)),"object"===r?d:JSON.stringify(d)},h.modifyFrames=function(e,t){var a,r,n,i=e._transitionData._frames,o=e._transitionData._frameHash;for(a=0;a=0;u--)if(o[u].enabled){n._indexToPoints=o[u]._indexToPoints;break}i&&i.calc&&(r=i.calc(e,n))}Array.isArray(r)&&r[0]||(r=[{x:l,y:l}]),r[0].t||(r[0].t={}),r[0].trace=n,p[t]=r}}for(F(d,f),o=0;o=0?g.angularAxis.domain:t.extent(C),T=Math.abs(C[1]-C[0]);w&&!S&&(T=0);var M=P.slice();L&&S&&(M[1]+=T);var z=g.angularAxis.ticksCount||4;z>8&&(z=z/(z/8)+z%8),g.angularAxis.ticksStep&&(z=(M[1]-M[0])/z);var E=g.angularAxis.ticksStep||(M[1]-M[0])/(z*(g.minorTicks+1));b&&(E=Math.max(Math.round(E),1)),M[2]||(M[2]=E);var O=t.range.apply(this,M);if(O=O.map(function(t,e){return parseFloat(t.toPrecision(12))}),l=t.scale.linear().domain(M.slice(0,2)).range("clockwise"===g.direction?[0,360]:[360,0]),u.layout.angularAxis.domain=l.domain(),u.layout.angularAxis.endPadding=L?T:0,void 0===(e=t.select(this).select("svg.chart-root"))||e.empty()){var I=(new DOMParser).parseFromString("' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '","application/xml"),D=this.appendChild(this.ownerDocument.importNode(I.documentElement,!0));e=t.select(D)}e.select(".guides-group").style({"pointer-events":"none"}),e.select(".angular.axis-group").style({"pointer-events":"none"}),e.select(".radial.axis-group").style({"pointer-events":"none"});var B,V=e.select(".chart-group"),q={fill:"none",stroke:g.tickColor},N={"font-size":g.font.size,"font-family":g.font.family,fill:g.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map(function(t,e){return" "+t+" 0 "+g.font.outlineColor}).join(",")};if(g.showLegend){B=e.select(".legend-group").attr({transform:"translate("+[k,g.margin.top]+")"}).style({display:"block"});var R=f.map(function(t,e){var r=n.util.cloneJson(t);return r.symbol="DotPlot"===t.geometry?t.dotType||"circle":"LinePlot"!=t.geometry?"square":"line",r.visibleInLegend=void 0===t.visibleInLegend||t.visibleInLegend,r.color="LinePlot"===t.geometry?t.strokeColor:t.color,r});n.Legend().config({data:f.map(function(t,e){return t.name||"Element"+e}),legendConfig:r({},n.Legend.defaultConfig().legendConfig,{container:B,elements:R,reverseOrder:g.legend.reverseOrder})})();var J=B.node().getBBox();k=Math.min(g.width-J.width-g.margin.left-g.margin.right,g.height-g.margin.top-g.margin.bottom)/2,k=Math.max(10,k),A=[g.margin.left+k,g.margin.top+k],o.range([0,k]),u.layout.radialAxis.domain=o.domain(),B.attr("transform","translate("+[A[0]+k,A[1]-k]+")")}else B=e.select(".legend-group").style({display:"none"});e.attr({width:g.width,height:g.height}).style({opacity:g.opacity}),V.attr("transform","translate("+A+")").style({cursor:"crosshair"});var W=[(g.width-(g.margin.left+g.margin.right+2*k+(J?J.width:0)))/2,(g.height-(g.margin.top+g.margin.bottom+2*k))/2];if(W[0]=Math.max(0,W[0]),W[1]=Math.max(0,W[1]),e.select(".outer-group").attr("transform","translate("+W+")"),g.title&&g.title.text){var j=e.select("g.title-group text").style(N).text(g.title.text),F=j.node().getBBox();j.attr({x:A[0]-F.width/2,y:A[1]-k-20})}var _=e.select(".radial.axis-group");if(g.radialAxis.gridLinesVisible){var X=_.selectAll("circle.grid-circle").data(o.ticks(5));X.enter().append("circle").attr({class:"grid-circle"}).style(q),X.attr("r",o),X.exit().remove()}_.select("circle.outside-circle").attr({r:k}).style(q);var Z=e.select("circle.background-circle").attr({r:k}).style({fill:g.backgroundColor,stroke:g.stroke});function H(t,e){return l(t)%360+g.orientation}if(g.radialAxis.visible){var K=t.svg.axis().scale(o).ticks(5).tickSize(5);_.call(K).attr({transform:"rotate("+g.radialAxis.orientation+")"}),_.selectAll(".domain").style(q),_.selectAll("g>text").text(function(t,e){return this.textContent+g.radialAxis.ticksSuffix}).style(N).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(t,e){return"horizontal"===g.radialAxis.tickOrientation?"rotate("+-g.radialAxis.orientation+") translate("+[0,N["font-size"]]+")":"translate("+[0,N["font-size"]]+")"}}),_.selectAll("g>line").style({stroke:"black"})}var G=e.select(".angular.axis-group").selectAll("g.angular-tick").data(O),Q=G.enter().append("g").classed("angular-tick",!0);G.attr({transform:function(t,e){return"rotate("+H(t)+")"}}).style({display:g.angularAxis.visible?"block":"none"}),G.exit().remove(),Q.append("line").classed("grid-line",!0).classed("major",function(t,e){return e%(g.minorTicks+1)==0}).classed("minor",function(t,e){return!(e%(g.minorTicks+1)==0)}).style(q),Q.selectAll(".minor").style({stroke:g.minorTickColor}),G.select("line.grid-line").attr({x1:g.tickLength?k-g.tickLength:0,x2:k}).style({display:g.angularAxis.gridLinesVisible?"block":"none"}),Q.append("text").classed("axis-text",!0).style(N);var U=G.select("text.axis-text").attr({x:k+g.labelOffset,dy:a+"em",transform:function(t,e){var r=H(t),a=k+g.labelOffset,n=g.angularAxis.tickOrientation;return"horizontal"==n?"rotate("+-r+" "+a+" 0)":"radial"==n?r<270&&r>90?"rotate(180 "+a+" 0)":null:"rotate("+(r<=180&&r>0?-90:90)+" "+a+" 0)"}}).style({"text-anchor":"middle",display:g.angularAxis.labelsVisible?"block":"none"}).text(function(t,e){return e%(g.minorTicks+1)!=0?"":b?b[t]+g.angularAxis.ticksSuffix:t+g.angularAxis.ticksSuffix}).style(N);g.angularAxis.rewriteTicks&&U.text(function(t,e){return e%(g.minorTicks+1)!=0?"":g.angularAxis.rewriteTicks(this.textContent,e)});var Y=t.max(V.selectAll(".angular-tick text")[0].map(function(t,e){return t.getCTM().e+t.getBBox().width}));B.attr({transform:"translate("+[k+Y,g.margin.top]+")"});var $=e.select("g.geometry-group").selectAll("g").size()>0,tt=e.select("g.geometry-group").selectAll("g.geometry").data(f);if(tt.enter().append("g").attr({class:function(t,e){return"geometry geometry"+e}}),tt.exit().remove(),f[0]||$){var et=[];f.forEach(function(t,e){var r={};r.radialScale=o,r.angularScale=l,r.container=tt.filter(function(t,r){return r==e}),r.geometry=t.geometry,r.orientation=g.orientation,r.direction=g.direction,r.index=e,et.push({data:t,geometryConfig:r})});var rt=t.nest().key(function(t,e){return void 0!==t.data.groupId||"unstacked"}).entries(et),at=[];rt.forEach(function(t,e){"unstacked"===t.key?at=at.concat(t.values.map(function(t,e){return[t]})):at.push(t.values)}),at.forEach(function(t,e){var a;a=Array.isArray(t)?t[0].geometryConfig.geometry:t.geometryConfig.geometry;var i=t.map(function(t,e){return r(n[a].defaultConfig(),t)});n[a]().config(i)()})}var nt,it,ot=e.select(".guides-group"),lt=e.select(".tooltips-group"),st=n.tooltipPanel().config({container:lt,fontSize:8})(),ct=n.tooltipPanel().config({container:lt,fontSize:8})(),ut=n.tooltipPanel().config({container:lt,hasTick:!0})();if(!S){var dt=ot.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});V.on("mousemove.angular-guide",function(t,e){var r=n.util.getMousePos(Z).angle;dt.attr({x2:-k,transform:"rotate("+r+")"}).style({opacity:.5});var a=(r+180+360-g.orientation)%360;nt=l.invert(a);var i=n.util.convertToCartesian(k+12,r+180);st.text(n.util.round(nt)).move([i[0]+A[0],i[1]+A[1]])}).on("mouseout.angular-guide",function(t,e){ot.select("line").style({opacity:0})})}var gt=ot.select("circle").style({stroke:"grey",fill:"none"});V.on("mousemove.radial-guide",function(t,e){var r=n.util.getMousePos(Z).radius;gt.attr({r:r}).style({opacity:.5}),it=o.invert(n.util.getMousePos(Z).radius);var a=n.util.convertToCartesian(r,g.radialAxis.orientation);ct.text(n.util.round(it)).move([a[0]+A[0],a[1]+A[1]])}).on("mouseout.radial-guide",function(t,e){gt.style({opacity:0}),ut.hide(),st.hide(),ct.hide()}),e.selectAll(".geometry-group .mark").on("mouseover.tooltip",function(r,a){var i=t.select(this),o=this.style.fill,l="black",s=this.style.opacity||1;if(i.attr({"data-opacity":s}),o&&"none"!==o){i.attr({"data-fill":o}),l=t.hsl(o).darker().toString(),i.style({fill:l,opacity:1});var c={t:n.util.round(r[0]),r:n.util.round(r[1])};S&&(c.t=b[r[0]]);var u="t: "+c.t+", r: "+c.r,d=this.getBoundingClientRect(),g=e.node().getBoundingClientRect(),f=[d.left+d.width/2-W[0]-g.left,d.top+d.height/2-W[1]-g.top];ut.config({color:l}).text(u),ut.move(f)}else o=this.style.stroke||"black",i.attr({"data-stroke":o}),l=t.hsl(o).darker().toString(),i.style({stroke:l,opacity:1})}).on("mousemove.tooltip",function(e,r){if(0!=t.event.which)return!1;t.select(this).attr("data-fill")&&ut.show()}).on("mouseout.tooltip",function(e,r){ut.hide();var a=t.select(this),n=a.attr("data-fill");n?a.style({fill:n,opacity:a.attr("data-opacity")}):a.style({stroke:a.attr("data-stroke"),opacity:a.attr("data-opacity")})})})}(c),this},g.config=function(t){if(!arguments.length)return s;var e=n.util.cloneJson(t);return e.data.forEach(function(t,e){s.data[e]||(s.data[e]={}),r(s.data[e],n.Axis.defaultConfig().data[0]),r(s.data[e],t)}),r(s.layout,n.Axis.defaultConfig().layout),r(s.layout,e.layout),this},g.getLiveConfig=function(){return u},g.getinputConfig=function(){return c},g.radialScale=function(t){return o},g.angularScale=function(t){return l},g.svg=function(){return e},t.rebind(g,d,"on"),g},n.Axis.defaultConfig=function(e,r){return{data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:t.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}}},n.util={},n.DATAEXTENT="dataExtent",n.AREA="AreaChart",n.LINE="LinePlot",n.DOT="DotPlot",n.BAR="BarChart",n.util._override=function(t,e){for(var r in t)r in e&&(e[r]=t[r])},n.util._extend=function(t,e){for(var r in t)e[r]=t[r]},n.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},n.util.dataFromEquation2=function(e,r){var a=r||6;return t.range(0,360+a,a).map(function(t,r){var a=t*Math.PI/180;return[t,e(a)]})},n.util.dataFromEquation=function(e,r,a){var n=r||6,i=[],o=[];t.range(0,360+n,n).forEach(function(t,r){var a=t*Math.PI/180,n=e(a);i.push(t),o.push(n)});var l={t:i,r:o};return a&&(l.name=a),l},n.util.ensureArray=function(e,r){if(void 0===e)return null;var a=[].concat(e);return t.range(r).map(function(t,e){return a[e]||a[0]})},n.util.fillArrays=function(t,e,r){return e.forEach(function(e,a){t[e]=n.util.ensureArray(t[e],r)}),t},n.util.cloneJson=function(t){return JSON.parse(JSON.stringify(t))},n.util.validateKeys=function(t,e){"string"==typeof e&&(e=e.split("."));var r=e.shift();return t[r]&&(!e.length||objHasKeys(t[r],e))},n.util.sumArrays=function(e,r){return t.zip(e,r).map(function(e,r){return t.sum(e)})},n.util.arrayLast=function(t){return t[t.length-1]},n.util.arrayEqual=function(t,e){for(var r=Math.max(t.length,e.length,1);r-- >=0&&t[r]===e[r];);return-2===r},n.util.flattenArray=function(t){for(var e=[];!n.util.arrayEqual(e,t);)e=t,t=[].concat.apply([],t);return t},n.util.deduplicate=function(t){return t.filter(function(t,e,r){return r.indexOf(t)==e})},n.util.convertToCartesian=function(t,e){var r=e*Math.PI/180;return[t*Math.cos(r),t*Math.sin(r)]},n.util.round=function(t,e){var r=e||2,a=Math.pow(10,r);return Math.round(t*a)/a},n.util.getMousePos=function(e){var r=t.mouse(e.node()),a=r[0],n=r[1],i={};return i.x=a,i.y=n,i.pos=r,i.angle=180*(Math.atan2(n,a)+Math.PI)/Math.PI,i.radius=Math.sqrt(a*a+n*n),i},n.util.duplicatesCount=function(t){for(var e,r={},a={},n=0,i=t.length;n0)){var s=t.select(this.parentNode).selectAll("path.line").data([0]);s.enter().insert("path"),s.attr({class:"line",d:u(l),transform:function(t,e){return"rotate("+(r.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(t,e){return m.fill(a,n,i)},"fill-opacity":0,stroke:function(t,e){return m.stroke(a,n,i)},"stroke-width":function(t,e){return m["stroke-width"](a,n,i)},"stroke-dasharray":function(t,e){return m["stroke-dasharray"](a,n,i)},opacity:function(t,e){return m.opacity(a,n,i)},display:function(t,e){return m.display(a,n,i)}})}};var d=r.angularScale.range(),g=Math.abs(d[1]-d[0])/o[0].length*Math.PI/180,f=t.svg.arc().startAngle(function(t){return-g/2}).endAngle(function(t){return g/2}).innerRadius(function(t){return r.radialScale(s+(t[2]||0))}).outerRadius(function(t){return r.radialScale(s+(t[2]||0))+r.radialScale(t[1])});c.arc=function(e,a,n){t.select(this).attr({class:"mark arc",d:f,transform:function(t,e){return"rotate("+(r.orientation+l(t[0])+90)+")"}})};var m={fill:function(t,r,a){return e[a].data.color},stroke:function(t,r,a){return e[a].data.strokeColor},"stroke-width":function(t,r,a){return e[a].data.strokeSize+"px"},"stroke-dasharray":function(t,r,a){return i[e[a].data.strokeDash]},opacity:function(t,r,a){return e[a].data.opacity},display:function(t,r,a){return void 0===e[a].data.visible||e[a].data.visible?"block":"none"}},p=t.select(this).selectAll("g.layer").data(o);p.enter().append("g").attr({class:"layer"});var y=p.selectAll("path.mark").data(function(t,e){return t});y.enter().append("path").attr({class:"mark"}),y.style(m).each(c[r.geometryType]),y.exit().remove(),p.exit().remove()})}return o.config=function(t){return arguments.length?(t.forEach(function(t,a){e[a]||(e[a]={}),r(e[a],n.PolyChart.defaultConfig()),r(e[a],t)}),this):e},o.getColorScale=function(){},t.rebind(o,a,"on"),o},n.PolyChart.defaultConfig=function(){return{data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:t.scale.category20()}}},n.BarChart=function(){return n.PolyChart()},n.BarChart.defaultConfig=function(){return{geometryConfig:{geometryType:"bar"}}},n.AreaChart=function(){return n.PolyChart()},n.AreaChart.defaultConfig=function(){return{geometryConfig:{geometryType:"arc"}}},n.DotPlot=function(){return n.PolyChart()},n.DotPlot.defaultConfig=function(){return{geometryConfig:{geometryType:"dot",dotType:"circle"}}},n.LinePlot=function(){return n.PolyChart()},n.LinePlot.defaultConfig=function(){return{geometryConfig:{geometryType:"line"}}},n.Legend=function(){var e=n.Legend.defaultConfig(),a=t.dispatch("hover");function i(){var a=e.legendConfig,n=e.data.map(function(t,e){return[].concat(t).map(function(t,n){var i=r({},a.elements[e]);return i.name=t,i.color=[].concat(a.elements[e].color)[n],i})}),o=t.merge(n);o=o.filter(function(t,e){return a.elements[e]&&(a.elements[e].visibleInLegend||void 0===a.elements[e].visibleInLegend)}),a.reverseOrder&&(o=o.reverse());var l=a.container;("string"==typeof l||l.nodeName)&&(l=t.select(l));var s=o.map(function(t,e){return t.color}),c=a.fontSize,u=null==a.isContinuous?"number"==typeof o[0]:a.isContinuous,d=u?a.height:c*o.length,g=l.classed("legend-group",!0).selectAll("svg").data([0]),f=g.enter().append("svg").attr({width:300,height:d+c,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});f.append("g").classed("legend-axis",!0),f.append("g").classed("legend-marks",!0);var m=t.range(o.length),p=t.scale[u?"linear":"ordinal"]().domain(m).range(s),y=t.scale[u?"linear":"ordinal"]().domain(m)[u?"range":"rangePoints"]([0,d]);if(u){var h=g.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(s);h.enter().append("stop"),h.attr({offset:function(t,e){return e/(s.length-1)*100+"%"}}).style({"stop-color":function(t,e){return t}}),g.append("rect").classed("legend-mark",!0).attr({height:a.height,width:a.colorBandWidth,fill:"url(#grad1)"})}else{var v=g.select(".legend-marks").selectAll("path.legend-mark").data(o);v.enter().append("path").classed("legend-mark",!0),v.attr({transform:function(t,e){return"translate("+[c/2,y(e)+c/2]+")"},d:function(e,r){var a,n,i,o=e.symbol;return i=3*(n=c),"line"===(a=o)?"M"+[[-n/2,-n/12],[n/2,-n/12],[n/2,n/12],[-n/2,n/12]]+"Z":-1!=t.svg.symbolTypes.indexOf(a)?t.svg.symbol().type(a).size(i)():t.svg.symbol().type("square").size(i)()},fill:function(t,e){return p(e)}}),v.exit().remove()}var k=t.svg.axis().scale(y).orient("right"),x=g.select("g.legend-axis").attr({transform:"translate("+[u?a.colorBandWidth:c,c/2]+")"}).call(k);return x.selectAll(".domain").style({fill:"none",stroke:"none"}),x.selectAll("line").style({fill:"none",stroke:u?a.textColor:"none"}),x.selectAll("text").style({fill:a.textColor,"font-size":a.fontSize}).text(function(t,e){return o[e].name}),i}return i.config=function(t){return arguments.length?(r(e,t),this):e},t.rebind(i,a,"on"),i},n.Legend.defaultConfig=function(t,e){return{data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}}},n.tooltipPanel=function(){var e,a,i,o={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},l="tooltip-"+n.tooltipPanel.uid++,s=10,c=function(){var t=(e=o.container.selectAll("g."+l).data([0])).enter().append("g").classed(l,!0).style({"pointer-events":"none",display:"none"});return i=t.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),a=t.append("text").attr({dx:o.padding+s,dy:.3*+o.fontSize}),c};return c.text=function(r){var n=t.hsl(o.color).l,l=n>=.5?"#aaa":"white",u=n>=.5?"black":"white",d=r||"";a.style({fill:u,"font-size":o.fontSize+"px"}).text(d);var g=o.padding,f=a.node().getBBox(),m={fill:o.color,stroke:l,"stroke-width":"2px"},p=f.width+2*g+s,y=f.height+2*g;return i.attr({d:"M"+[[s,-y/2],[s,-y/4],[o.hasTick?0:s,0],[s,y/4],[s,y/2],[p,y/2],[p,-y/2]].join("L")+"Z"}).style(m),e.attr({transform:"translate("+[s,-y/2+2*g]+")"}),e.style({display:"block"}),c},c.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),c},c.hide=function(){if(e)return e.style({display:"none"}),c},c.show=function(){if(e)return e.style({display:"block"}),c},c.config=function(t){return r(o,t),c},c},n.tooltipPanel.uid=1,n.adapter={},n.adapter.plotly=function(){var e={convert:function(e,a){var i={};if(e.data&&(i.data=e.data.map(function(t,e){var i=r({},t);return[[i,["marker","color"],["color"]],[i,["marker","opacity"],["opacity"]],[i,["marker","line","color"],["strokeColor"]],[i,["marker","line","dash"],["strokeDash"]],[i,["marker","line","width"],["strokeSize"]],[i,["marker","symbol"],["dotType"]],[i,["marker","size"],["dotSize"]],[i,["marker","barWidth"],["barWidth"]],[i,["line","interpolation"],["lineInterpolation"]],[i,["showlegend"],["visibleInLegend"]]].forEach(function(t,e){n.util.translator.apply(null,t.concat(a))}),a||delete i.marker,a&&delete i.groupId,a?("LinePlot"===i.geometry?(i.type="scatter",!0===i.dotVisible?(delete i.dotVisible,i.mode="lines+markers"):i.mode="lines"):"DotPlot"===i.geometry?(i.type="scatter",i.mode="markers"):"AreaChart"===i.geometry?i.type="area":"BarChart"===i.geometry&&(i.type="bar"),delete i.geometry):("scatter"===i.type?"lines"===i.mode?i.geometry="LinePlot":"markers"===i.mode?i.geometry="DotPlot":"lines+markers"===i.mode&&(i.geometry="LinePlot",i.dotVisible=!0):"area"===i.type?i.geometry="AreaChart":"bar"===i.type&&(i.geometry="BarChart"),delete i.mode,delete i.type),i}),!a&&e.layout&&"stack"===e.layout.barmode)){var o=n.util.duplicates(i.data.map(function(t,e){return t.geometry}));i.data.forEach(function(t,e){var r=o.indexOf(t.geometry);-1!=r&&(i.data[e].groupId=r)})}if(e.layout){var l=r({},e.layout);if([[l,["plot_bgcolor"],["backgroundColor"]],[l,["showlegend"],["showLegend"]],[l,["radialaxis"],["radialAxis"]],[l,["angularaxis"],["angularAxis"]],[l.angularaxis,["showline"],["gridLinesVisible"]],[l.angularaxis,["showticklabels"],["labelsVisible"]],[l.angularaxis,["nticks"],["ticksCount"]],[l.angularaxis,["tickorientation"],["tickOrientation"]],[l.angularaxis,["ticksuffix"],["ticksSuffix"]],[l.angularaxis,["range"],["domain"]],[l.angularaxis,["endpadding"],["endPadding"]],[l.radialaxis,["showline"],["gridLinesVisible"]],[l.radialaxis,["tickorientation"],["tickOrientation"]],[l.radialaxis,["ticksuffix"],["ticksSuffix"]],[l.radialaxis,["range"],["domain"]],[l.angularAxis,["showline"],["gridLinesVisible"]],[l.angularAxis,["showticklabels"],["labelsVisible"]],[l.angularAxis,["nticks"],["ticksCount"]],[l.angularAxis,["tickorientation"],["tickOrientation"]],[l.angularAxis,["ticksuffix"],["ticksSuffix"]],[l.angularAxis,["range"],["domain"]],[l.angularAxis,["endpadding"],["endPadding"]],[l.radialAxis,["showline"],["gridLinesVisible"]],[l.radialAxis,["tickorientation"],["tickOrientation"]],[l.radialAxis,["ticksuffix"],["ticksSuffix"]],[l.radialAxis,["range"],["domain"]],[l.font,["outlinecolor"],["outlineColor"]],[l.legend,["traceorder"],["reverseOrder"]],[l,["labeloffset"],["labelOffset"]],[l,["defaultcolorrange"],["defaultColorRange"]]].forEach(function(t,e){n.util.translator.apply(null,t.concat(a))}),a?(void 0!==l.tickLength&&(l.angularaxis.ticklen=l.tickLength,delete l.tickLength),l.tickColor&&(l.angularaxis.tickcolor=l.tickColor,delete l.tickColor)):(l.angularAxis&&void 0!==l.angularAxis.ticklen&&(l.tickLength=l.angularAxis.ticklen),l.angularAxis&&void 0!==l.angularAxis.tickcolor&&(l.tickColor=l.angularAxis.tickcolor)),l.legend&&"boolean"!=typeof l.legend.reverseOrder&&(l.legend.reverseOrder="normal"!=l.legend.reverseOrder),l.legend&&"boolean"==typeof l.legend.traceorder&&(l.legend.traceorder=l.legend.traceorder?"reversed":"normal",delete l.legend.reverseOrder),l.margin&&void 0!==l.margin.t){var s=["t","r","b","l","pad"],c=["top","right","bottom","left","pad"],u={};t.entries(l.margin).forEach(function(t,e){u[c[s.indexOf(t.key)]]=t.value}),l.margin=u}a&&(delete l.needsEndSpacing,delete l.minorTickColor,delete l.minorTicks,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksStep,delete l.angularaxis.rewriteTicks,delete l.angularaxis.nticks,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksStep,delete l.radialaxis.rewriteTicks,delete l.radialaxis.nticks),i.layout=l}return i}};return e}; -},{"d3":"uT61","../../../lib":"Ra1u","../../../constants/alignment":"kKbD"}],"F3lq":[function(require,module,exports) { -"use strict";module.exports=function(){var n,t=[],r=-1,u=!1;function e(n,t){return n?(u=!0,n[t](),u=!1,this):this}return{add:function(n){return u?this:(t.splice(r+1,t.length-r),t.push(n),r=t.length-1,this)},setCallback:function(t){n=t},undo:function(){var u=t[r];return u?(e(u,"undo"),r-=1,n&&n(u.undo),this):this},redo:function(){var u=t[r+1];return u?(e(u,"redo"),r+=1,n&&n(u.redo),this):this},clear:function(){t=[],r=-1},hasUndo:function(){return-1!==r},hasRedo:function(){return r*:not(.chart-root)").remove(),r=r?a(r,t):t,u||(u=n.Axis()),c=n.adapter.plotly().convert(r),u.config(c).render(d),o.data=r.data,o.layout=r.layout,i.fillLayout(o),r}return s.isPolar=!0,s.svg=function(){return u.svg()},s.getConfig=function(){return r},s.getLiveConfig=function(){return n.adapter.plotly().convert(u.getLiveConfig(),!0)},s.getLiveScales=function(){return{t:u.angularScale(),r:u.radialScale()}},s.setUndoPoint=function(){var e,o,t=this,a=n.util.cloneJson(r);e=a,o=l,f.add({undo:function(){o&&t(o)},redo:function(){t(e)}}),l=n.util.cloneJson(a)},s.undo=function(){f.undo()},s.redo=function(){f.redo()},s},i.fillLayout=function(o){var n=e.select(o).selectAll(".plot-container"),t=n.selectAll(".svg-container"),i=o.framework&&o.framework.svg&&o.framework.svg(),l={width:800,height:600,paper_bgcolor:r.background,_container:n,_paperdiv:t,_paper:i};o._fullLayout=a(l,o.layout)}; -},{"d3":"uT61","../../../lib":"Ra1u","../../../components/color":"fSwg","./micropolar":"Zy65","./undo_manager":"F3lq"}],"R5AH":[function(require,module,exports) { -"use strict";var r=module.exports=require("./micropolar");r.manager=require("./micropolar_manager"); -},{"./micropolar":"Zy65","./micropolar_manager":"vFxI"}],"Pb7v":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("fast-isnumeric"),i=require("../../plots/plots"),r=require("../../registry"),o=require("../../lib"),a=require("../drawing"),n=require("../color"),l=require("../../lib/svg_text_utils"),s=require("../../constants/interactions"),c=require("../../constants/alignment").OPPOSITE_SIDE,f=/ [XY][0-9]* /;function u(u,d,p){var x,m=p.propContainer,y=p.propName,h=p.placeholder,g=p.traceIndex,v=p.avoid||{},_=p.attributes,b=p.transform,q=p.containerGroup,T=u._fullLayout,E=1,O=!1,S=m.title,L=(S&&S.text?S.text:"").trim(),I=S&&S.font?S.font:{},P=I.family,w=I.size,A=I.color;"title.text"===y?x="titleText":-1!==y.indexOf("axis")?x="axisTitleText":y.indexOf(!0)&&(x="colorbarTitleText");var D=u._context.edits[x];""===L?E=0:L.replace(f," % ")===h.replace(f," % ")&&(E=.2,O=!0,D||(L="")),p._meta?L=o.templateString(L,p._meta):T._meta&&(L=o.templateString(L,T._meta));var H=L||D;q||(q=o.ensureSingle(T._infolayer,"g","g-"+d));var R=q.selectAll("text").data(H?[0]:[]);if(R.enter().append("text"),R.text(L).attr("class",d),R.exit().remove(),!H)return q;function B(t){o.syncOrAsync([C,z],t)}function C(e){var r;return b?(r="",b.rotate&&(r+="rotate("+[b.rotate,_.x,_.y]+")"),b.offset&&(r+="translate(0, "+b.offset+")")):r=null,e.attr("transform",r),e.style({"font-family":P,"font-size":t.round(w,2)+"px",fill:n.rgb(A),opacity:E*n.opacity(A),"font-weight":i.fontWeight}).attr(_).call(l.convertToTspans,u),i.previousPromises(u)}function z(i){var r=t.select(i.node().parentNode);if(v&&v.selection&&v.side&&L){r.attr("transform",null);var n=c[v.side],l="left"===v.side||"top"===v.side?-1:1,s=e(v.pad)?v.pad:2,f=a.bBox(r.node()),u={left:0,top:0,right:T.width,bottom:T.height},d=v.maxShift||l*(u[v.side]-f[v.side]),p=0;if(d<0)p=d;else{var x=v.offsetLeft||0,m=v.offsetTop||0;f.left-=x,f.right-=x,f.top-=m,f.bottom-=m,v.selection.each(function(){var t=a.bBox(this);o.bBoxIntersect(f,t,s)&&(p=Math.max(p,l*(t[v.side]-f[n])+s))}),p=Math.min(d,p)}if(p>0||d<0){var y={left:[-p,0],right:[p,0],top:[0,-p],bottom:[0,p]}[v.side];r.attr("transform","translate("+y+")")}}}return R.call(B),D&&(L?R.on(".opacity",null):(E=0,O=!0,R.text(h).on("mouseover.opacity",function(){t.select(this).transition().duration(s.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){t.select(this).transition().duration(s.HIDE_PLACEHOLDER).style("opacity",0)})),R.call(l.makeEditable,{gd:u}).on("edit",function(t){void 0!==g?r.call("_guiRestyle",u,y,t,g):r.call("_guiRelayout",u,y,t)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(B)}).on("input",function(t){this.text(t||" ").call(l.positionText,_.x,_.y)})),R.classed("js-placeholder",O),q}module.exports={draw:u}; -},{"d3":"uT61","fast-isnumeric":"T2RE","../../plots/plots":"MuEg","../../registry":"RoGf","../../lib":"Ra1u","../drawing":"HEt8","../color":"fSwg","../../lib/svg_text_utils":"q7WC","../../constants/interactions":"b2CG","../../constants/alignment":"kKbD"}],"jF4n":[function(require,module,exports) { -"use strict";var r=require("d3"),e=require("fast-isnumeric"),n=require("../../lib"),t=n.cleanNumber,a=n.ms2DateTime,i=n.dateTime2ms,o=n.ensureNumber,c=n.isArrayOrTypedArray,l=require("../../constants/numerical"),u=l.FP_SAFE,d=l.BADNUM,f=l.LOG_CLIP,g=require("./constants"),s=require("./axis_ids");function _(r){return Math.pow(10,r)}function p(r){return null!=r}module.exports=function(l,m){m=m||{};var v=l._id||"x",h=v.charAt(0);function y(r,e){if(r>0)return Math.log(r)/Math.LN10;if(r<=0&&e&&l.range&&2===l.range.length){var n=l.range[0],t=l.range[1];return.5*(n+t-2*f*Math.abs(n-t))}return d}function M(r,t,a){var o=i(r,a||l.calendar);if(o===d){if(!e(r))return d;r=+r;var c=Math.floor(10*n.mod(r+.05,1)),u=Math.round(r-c/10);o=i(new Date(u))+c/10}return o}function b(r,e,n){return a(r,e,n||l.calendar)}function A(r){return l._categories[Math.round(r)]}function w(r){if(p(r)){if(void 0===l._categoriesMap&&(l._categoriesMap={}),void 0!==l._categoriesMap[r])return l._categoriesMap[r];l._categories.push("number"==typeof r?String(r):r);var e=l._categories.length-1;return l._categoriesMap[r]=e,e}return d}function F(r){if(l._categoriesMap)return l._categoriesMap[r]}function x(r){var n=F(r);return void 0!==n?n:e(r)?+r:void 0}function C(n){return e(n)?r.round(l._b+l._m*n,2):d}function D(r){return(r-l._b)/l._m}l.c2l="log"===l.type?y:o,l.l2c="log"===l.type?_:o,l.l2p=C,l.p2l=D,l.c2p="log"===l.type?function(r,e){return C(y(r,e))}:C,l.p2c="log"===l.type?function(r){return _(D(r))}:D,-1!==["linear","-"].indexOf(l.type)?(l.d2r=l.r2d=l.d2c=l.r2c=l.d2l=l.r2l=t,l.c2d=l.c2r=l.l2d=l.l2r=o,l.d2p=l.r2p=function(r){return l.l2p(t(r))},l.p2d=l.p2r=D,l.cleanPos=o):"log"===l.type?(l.d2r=l.d2l=function(r,e){return y(t(r),e)},l.r2d=l.r2c=function(r){return _(t(r))},l.d2c=l.r2l=t,l.c2d=l.l2r=o,l.c2r=y,l.l2d=_,l.d2p=function(r,e){return l.l2p(l.d2r(r,e))},l.p2d=function(r){return _(D(r))},l.r2p=function(r){return l.l2p(t(r))},l.p2r=D,l.cleanPos=o):"date"===l.type?(l.d2r=l.r2d=n.identity,l.d2c=l.r2c=l.d2l=l.r2l=M,l.c2d=l.c2r=l.l2d=l.l2r=b,l.d2p=l.r2p=function(r,e,n){return l.l2p(M(r,0,n))},l.p2d=l.p2r=function(r,e,n){return b(D(r),e,n)},l.cleanPos=function(r){return n.cleanDate(r,d,l.calendar)}):"category"===l.type?(l.d2c=l.d2l=w,l.r2d=l.c2d=l.l2d=A,l.d2r=l.d2l_noadd=x,l.r2c=function(r){var e=x(r);return void 0!==e?e:l.fraction2r(.5)},l.l2r=l.c2r=o,l.r2l=x,l.d2p=function(r){return l.l2p(l.r2c(r))},l.p2d=function(r){return A(D(r))},l.r2p=l.d2p,l.p2r=D,l.cleanPos=function(r){return"string"==typeof r&&""!==r?r:o(r)}):"multicategory"===l.type&&(l.r2d=l.c2d=l.l2d=A,l.d2r=l.d2l_noadd=x,l.r2c=function(r){var e=x(r);return void 0!==e?e:l.fraction2r(.5)},l.r2c_just_indices=F,l.l2r=l.c2r=o,l.r2l=x,l.d2p=function(r){return l.l2p(l.r2c(r))},l.p2d=function(r){return A(D(r))},l.r2p=l.d2p,l.p2r=D,l.cleanPos=function(r){return Array.isArray(r)||"string"==typeof r&&""!==r?r:o(r)},l.setupMultiCategory=function(r){var e,t,a=l._traceIndices,i=m._axisMatchGroups;if(i&&i.length&&0===l._categories.length)for(e=0;eu&&(o[a]=u),o[0]===o[1]){var f=Math.max(1,Math.abs(1e-6*o[0]));o[0]-=f,o[1]+=f}}else n.nestedProperty(l,r).set(i)},l.setScale=function(r){var e=m._size;if(l.overlaying){var n=s.getFromId({_fullLayout:m},l.overlaying);l.domain=n.domain}var t=r&&l._r?"_r":"range",a=l.calendar;l.cleanRange(t);var i=l.r2l(l[t][0],a),o=l.r2l(l[t][1],a);if("y"===h?(l._offset=e.t+(1-l.domain[1])*e.h,l._length=e.h*(l.domain[1]-l.domain[0]),l._m=l._length/(i-o),l._b=-l._m*o):(l._offset=e.l+l.domain[0]*e.w,l._length=e.w*(l.domain[1]-l.domain[0]),l._m=l._length/(o-i),l._b=-l._m*i),!isFinite(l._m)||!isFinite(l._b)||l._length<0)throw m._replotting=!1,new Error("Something went wrong with axis scaling")},l.makeCalcdata=function(r,e){var t,a,i,o,c=l.type,u="date"===c&&r[e+"calendar"];if(e in r){if(t=r[e],o=r._length||n.minRowLength(t),n.isTypedArray(t)&&("linear"===c||"log"===c)){if(o===t.length)return t;if(t.subarray)return t.subarray(0,o)}if("multicategory"===c)return function(r,e){for(var n=new Array(e),t=0;t2*u}function i(r){for(var n=Math.max(1,(r.length-1)/1e3),a=0,i=0,u={},o=0;o2*a}function u(r){return e.isArrayOrTypedArray(r[0])&&e.isArrayOrTypedArray(r[1])}module.exports=function(r,e,t){return!(t=t||{}).noMultiCategory&&u(r)?"multicategory":a(r,e)?"date":i(r)?"category":n(r)?"linear":"-"}; -},{"fast-isnumeric":"T2RE","../../lib":"Ra1u","../../constants/numerical":"NTky"}],"xaB7":[function(require,module,exports) { -"use strict";var a=require("fast-isnumeric"),r=require("../../lib"),e=require("../../constants/numerical").FP_SAFE,n=require("../../registry");function t(a,e){var n,t,o=[],u=i(e),p=l(a,e),v=p.min,d=p.max;if(0===v.length||0===d.length)return r.simpleMap(e.range,e.r2l);var m=v[0].val,s=d[0].val;for(n=1;n0&&((M=D-u(g)-u(h))>I?y/M>q&&(_=g,x=h,q=y/M):y/D>q&&(_={val:g.val,pad:0},x={val:h.val,pad:0},q=y/D));if(m===s){var E=m-1,F=m+1;if(A)if(0===m)o=[0,1];else{var L=(m>0?d:v).reduce(function(a,r){return Math.max(a,u(r))},0),N=m/(1-Math.min(.5,L/D));o=m>0?[0,N]:[N,0]}else o=z?[Math.max(0,E),Math.max(1,F)]:[E,F]}else A?(_.val>=0&&(_={val:0,pad:0}),x.val<=0&&(x={val:0,pad:0})):z&&(_.val-q*u(_)<0&&(_={val:0,pad:0}),x.val<=0&&(x={val:1,pad:0})),q=(x.val-_.val)/(D-u(_)-u(x)),o=[_.val-q*u(_),x.val+q*u(x)];return f&&o.reverse(),r.simpleMap(o,e.l2r||Number)}function i(a){var r=a._length/20;return"domain"===a.constrain&&a._inputDomain&&(r*=(a._inputDomain[1]-a._inputDomain[0])/(a.domain[1]-a.domain[0])),function(a){return a.pad+(a.extrapad?r:0)}}function l(a,r){var e,n,t,i=r._id,l=a._fullData,o=a._fullLayout,u=[],d=[];function m(a,r){for(e=0;e0?t.ppadplus:t.ppadminus)||t.ppad||0),q=D((r._m>0?t.ppadminus:t.ppadplus)||t.ppad||0),E=D(t.vpadplus||t.vpad),F=D(t.vpadminus||t.vpad);if(!A){if(c=1/0,g=-1/0,b)for(i=0;i0&&(c=l),l>g&&l-e&&(c=l),l>g&&l=S;i--)N(i);return{min:h,max:_,opts:t}}function p(a,r,e,n){d(a,r,e,n,s)}function v(a,r,e,n){d(a,r,e,n,f)}function d(a,r,e,n,t){for(var i=n.tozero,l=n.extrapad,o=!0,u=0;u=e&&(p.extrapad||!l)){o=!1;break}t(r,p.val)&&p.pad<=e&&(l||!p.extrapad)&&(a.splice(u,1),u--)}if(o){var v=i&&0===r;a.push({val:r,pad:v?0:e,extrapad:!v&&l})}}function m(r){return a(r)&&Math.abs(r)=r}module.exports={getAutoRange:t,makePadFn:i,doAutoRange:o,findExtremes:u,concatExtremes:l}; -},{"fast-isnumeric":"T2RE","../../lib":"Ra1u","../../constants/numerical":"NTky","../../registry":"RoGf"}],"VI4t":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("fast-isnumeric"),r=require("../../plots/plots"),i=require("../../registry"),n=require("../../lib"),a=require("../../lib/svg_text_utils"),o=require("../../components/titles"),s=require("../../components/color"),l=require("../../components/drawing"),c=require("./layout_attributes"),d=require("./clean_ticks"),u=require("../../constants/numerical"),f=u.ONEAVGYEAR,h=u.ONEAVGMONTH,p=u.ONEDAY,g=u.ONEHOUR,v=u.ONEMIN,x=u.ONESEC,k=u.MINUS_SIGN,m=u.BADNUM,_=require("../../constants/alignment"),y=_.MID_SHIFT,M=_.CAP_SHIFT,b=_.LINE_SPACING,w=_.OPPOSITE_SIDE,A=module.exports={};A.setConvert=require("./set_convert");var S=require("./axis_autotype"),T=require("./axis_ids");A.id2name=T.id2name,A.name2id=T.name2id,A.cleanId=T.cleanId,A.list=T.list,A.listIds=T.listIds,A.getFromId=T.getFromId,A.getFromTrace=T.getFromTrace;var F=require("./autorange");A.getAutoRange=F.getAutoRange,A.findExtremes=F.findExtremes,A.coerceRef=function(t,e,r,i,a,o){var s=i.charAt(i.length-1),l=r._fullLayout._subplots[s+"axis"],c=i+"ref",d={};return a||(a=l[0]||o),o||(o=a),d[c]={valType:"enumerated",values:l.concat(o?[o]:[]),dflt:a},n.coerce(t,e,d,c)},A.coercePosition=function(t,e,r,i,a,o){var s,l;if("paper"===i||"pixel"===i)s=n.ensureNumber,l=r(a,o);else{var c=A.getFromId(e,i);l=r(a,o=c.fraction2r(o)),s=c.cleanPos}t[a]=s(l)},A.cleanPosition=function(t,e,r){return("paper"===r||"pixel"===r?n.ensureNumber:A.getFromId(e,r).cleanPos)(t)},A.redrawComponents=function(t,e){e=e||A.listIds(t);var r=t._fullLayout;function n(n,a,o,s){for(var l=i.getComponentMethod(n,a),c={},d=0;d.3*f||d(n)||d(a))){var h=i.dtick/2;t+=t+h.8){var s=Number(r.substr(1));o.exactYears>.8&&s%12==0?t=A.tickIncrement(t,"M6","reverse")+1.5*p:o.exactMonths>.8?t=A.tickIncrement(t,"M1","reverse")+15.5*p:t-=p/2;var l=A.tickIncrement(t,r);if(l<=i)return l}return t}function z(t){var e=t.tickvals,r=t.ticktext,i=new Array(e.length),a=n.simpleMap(t.range,t.r2l),o=1.0001*a[0]-1e-4*a[1],s=1.0001*a[1]-1e-4*a[0],l=Math.min(o,s),c=Math.max(o,s),d=0;Array.isArray(r)||(r=[]);var u="category"===t.type?t.d2l_noadd:t.d2l;"log"===t.type&&"L"!==String(t.dtick).charAt(0)&&(t.dtick="L"+Math.pow(10,Math.floor(Math.min(t.range[0],t.range[1]))-1));for(var f=0;fl&&h2e-6||((r-t._forceTick0)/t._minDtick%1+1.000001)%1>2e-6)&&(t._minDtick=0)):t._minDtick=0},A.saveRangeInitial=function(t,e){for(var r=A.list(t,"",!0),i=!1,n=0;n0&&t.dtick<2*t._minDtick&&(t.dtick=t._minDtick,t.tick0=t.l2r(t._forceTick0))}t.tick0||(t.tick0="date"===t.type?"2000-01-01":0),"date"===t.type&&t.dtick<.1&&(t.dtick=.1),H(t)},A.calcTicks=function(t){A.prepTicks(t);var r=n.simpleMap(t.range,t.r2l);if("array"===t.tickmode)return z(t);t._tmin=A.tickFirst(t);var i=1.0001*r[0]-1e-4*r[1],a=1.0001*r[1]-1e-4*r[0],o=r[1]=a:u<=a)&&!(s.length>d||u===c);u=A.tickIncrement(u,t.dtick,o,t.calendar)){c=u;var f=!1;l&&u!==(0|u)&&(f=!0),s.push({minor:f,value:u})}yt(t)&&360===Math.abs(r[1]-r[0])&&s.pop(),t._tmax=(s[s.length-1]||{}).value,t._prevDateHead="",t._inCalcTicks=!0;for(var h=new Array(s.length),p=0;p10||"01-01"!==n.substr(5)?t._tickround="d":t._tickround=+r.substr(1)%12==0?"y":"m";else if(r>=p&&a<=10||r>=15*p)t._tickround="d";else if(r>=v&&a<=16||r>=g)t._tickround="M";else if(r>=x&&a<=19||r>=v)t._tickround="S";else{var o=t.l2r(i+r).replace(/^-/,"").length;t._tickround=Math.max(a,o)-20,t._tickround<0&&(t._tickround=4)}}else if(e(r)||"L"===r.charAt(0)){var s=t.range.map(t.r2d||Number);e(r)||(r=Number(r.substr(1))),t._tickround=2-Math.floor(Math.log(r)/Math.LN10+.01);var l=Math.max(Math.abs(s[0]),Math.abs(s[1])),c=Math.floor(Math.log(l)/Math.LN10+.01);Math.abs(c)>3&&(X(t.exponentformat)&&!tt(c)?t._tickexponent=3*Math.round((c-1)/3):t._tickexponent=c)}else t._tickround=null}function V(t,e,r){var i=t.tickfont||{};return{x:e,dx:0,dy:0,text:r||"",fontSize:i.size,font:i.family,fontColor:i.color}}function j(t,r,i,a){var o=t._tickround,s=i&&t.hoverformat||A.getTickFormat(t);a&&(o=e(o)?4:{y:"m",m:"d",d:"M",M:"S",S:4}[o]);var l,c=n.formatDate(r.x,s,o,t._dateFormat,t.calendar,t._extraFormat),d=c.indexOf("\n");-1!==d&&(l=c.substr(d+1),c=c.substr(0,d)),a&&("00:00:00"===c||"00:00"===c?(c=l,l=""):8===c.length&&(c=c.replace(/:00$/,""))),l&&(i?"d"===o?c+=", "+l:c=l+(c?", "+c:""):t._inCalcTicks&&l===t._prevDateHead||(c+="
"+l,t._prevDateHead=l)),r.text=c}function Z(t,r,i,a,o){var s=t.dtick,l=r.x,c=t.tickformat,d="string"==typeof s&&s.charAt(0);if("never"===o&&(o=""),a&&"L"!==d&&(s="L3",d="L"),c||"L"===d)r.text=et(Math.pow(10,l),t,o,a);else if(e(s)||"D"===d&&n.mod(l+.01,1)<.1){var u=Math.round(l),f=Math.abs(u),h=t.exponentformat;"power"===h||X(h)&&tt(u)?(r.text=0===u?1:1===u?"10":"10"+(u>1?"":k)+f+"",r.fontSize*=1.25):("e"===h||"E"===h)&&f>2?r.text="1"+h+(u>0?"+":k)+f:(r.text=et(Math.pow(10,l),t,"","fakehover"),"D1"===s&&"y"===t._id.charAt(0)&&(r.dy-=r.fontSize/6))}else{if("D"!==d)throw"unrecognized dtick "+String(s);r.text=String(Math.round(Math.pow(10,n.mod(l,1)))),r.fontSize*=.75}if("D1"===t.dtick){var p=String(r.text).charAt(0);"0"!==p&&"1"!==p||("y"===t._id.charAt(0)?r.dx-=r.fontSize/4:(r.dy+=r.fontSize/2,r.dx+=(t.range[1]>t.range[0]?1:-1)*r.fontSize*(l<0?.5:.25)))}}function W(t,e){var r=t._categories[Math.round(e.x)];void 0===r&&(r=""),e.text=String(r)}function Y(t,e,r){var i=Math.round(e.x),n=t._categories[i]||[],a=void 0===n[1]?"":String(n[1]),o=void 0===n[0]?"":String(n[0]);r?e.text=o+" - "+a:(e.text=a,e.text2=o)}function $(t,e,r,i,n){"never"===n?n="":"all"===t.showexponent&&Math.abs(e.x/t.dtick)<1e-6&&(n="hide"),e.text=et(e.x,t,n,i)}function J(t,e,r,i,a){if("radians"!==t.thetaunit||r)e.text=et(e.x,t,a,i);else{var o=e.x/180;if(0===o)e.text="0";else{var s=K(o);if(s[1]>=100)e.text=et(n.deg2rad(e.x),t,a,i);else{var l=e.x<0;1===s[1]?1===s[0]?e.text="ฯ€":e.text=s[0]+"ฯ€":e.text=["",s[0],"","โ„","",s[1],"","ฯ€"].join(""),l&&(e.text=k+e.text)}}}}function K(t){function e(t,e){return Math.abs(t-e)<=1e-6}var r=function(t){for(var r=1;!e(Math.round(t*r)/r,t);)r*=10;return r}(t),i=t*r,n=Math.abs(function t(r,i){return e(i,0)?r:t(i,r%i)}(i,r));return[Math.round(i/n),Math.round(r/n)]}A.autoTicks=function(t,r){var i;function a(t){return Math.pow(t,Math.floor(Math.log(r)/Math.LN10))}if("date"===t.type){t.tick0=n.dateTick0(t.calendar);var o=2*r;o>f?(r/=f,i=a(10),t.dtick="M"+12*G(r,i,P)):o>h?(r/=h,t.dtick="M"+G(r,1,C)):o>p?(t.dtick=G(r,p,q),t.tick0=n.dateTick0(t.calendar,!0)):o>g?t.dtick=G(r,g,C):o>v?t.dtick=G(r,v,E):o>x?t.dtick=G(r,x,E):(i=a(10),t.dtick=G(r,i,P))}else if("log"===t.type){t.tick0=0;var s=n.simpleMap(t.range,t.r2l);if(r>.7)t.dtick=Math.ceil(r);else if(Math.abs(s[1]-s[0])<1){var l=1.5*Math.abs((s[1]-s[0])/r);r=Math.abs(Math.pow(10,s[1])-Math.pow(10,s[0]))/l,i=a(10),t.dtick="L"+G(r,i,P)}else t.dtick=r>.3?"D2":"D1"}else"category"===t.type||"multicategory"===t.type?(t.tick0=0,t.dtick=Math.ceil(Math.max(r,1))):yt(t)?(t.tick0=0,i=1,t.dtick=G(r,i,U)):(t.tick0=0,i=a(10),t.dtick=G(r,i,P));if(0===t.dtick&&(t.dtick=1),!e(t.dtick)&&"string"!=typeof t.dtick){var c=t.dtick;throw t.dtick=1,"ax.dtick error: "+String(c)}},A.tickIncrement=function(r,i,a,o){var s=a?-1:1;if(e(i))return r+s*i;var l=i.charAt(0),c=s*Number(i.substr(1));if("M"===l)return n.incrementMonth(r,c,o);if("L"===l)return Math.log(Math.pow(10,r)+c)/Math.LN10;if("D"===l){var d="D2"===i?B:R,u=r+.01*s,f=n.roundUp(n.mod(u,1),d,a);return Math.floor(u)+Math.log(t.round(Math.pow(10,f),1))/Math.LN10}throw"unrecognized dtick "+String(i)},A.tickFirst=function(r){var i=r.r2l||Number,a=n.simpleMap(r.range,i),o=a[1]=0&&r<=t._length?e:null};o.xbnd=[g(o.x-.5),g(o.x+t.dtick-.5)]}return o},A.hoverLabelText=function(t,e,r){if(r!==m&&r!==e)return A.hoverLabelText(t,e)+" - "+A.hoverLabelText(t,r);var i="log"===t.type&&e<=0,n=A.tickText(t,t.c2l(i?-e:e),"hover").text;return i?0===e?"0":k+n:n};var Q=["f","p","n","ฮผ","m","","k","M","G","T"];function X(t){return"SI"===t||"B"===t}function tt(t){return t>14||t<-15}function et(t,r,i,a){var o=t<0,s=r._tickround,l=i||r.exponentformat||"B",c=r._tickexponent,d=A.getTickFormat(r),u=r.separatethousands;if(a){var f={exponentformat:l,dtick:"none"===r.showexponent?r.dtick:e(t)&&Math.abs(t)||1,range:"none"===r.showexponent?r.range.map(r.r2d):[0,t||1]};H(f),s=(Number(f._tickround)||0)+4,c=f._tickexponent,r.hoverformat&&(d=r.hoverformat)}if(d)return r._numFormat(d)(t).replace(/-/g,k);var h,p=Math.pow(10,-s)/2;if("none"===l&&(c=0),(t=Math.abs(t))"+h+"":"B"===l&&9===c?t+="B":X(l)&&(t+=Q[c/3+5]));return o?k+t:t}function rt(t,e){var r,i=[],a=function(t,e){var r=t.xbnd[e];null!==r&&i.push(n.extendFlat({},t,{x:r}))};if(e.length){for(r=0;r1&&r1)for(i=1;i=0,a=d(t,e[1])<=0;return(r||n)&&(i||a)}if(t.tickformatstops&&t.tickformatstops.length>0)switch(t.type){case"date":case"linear":for(e=0;e=o(n)))){r=i;break}break;case"log":for(e=0;e0?n.bottom-h:0,p)))),e.automargin){a={x:0,y:0,r:0,l:0,t:0,b:0};var g=[0,1];if("x"===u){if("b"===l?a[l]=e._depth:(a[l]=e._depth=Math.max(n.width>0?h-n.top:0,p),g.reverse()),n.width>0){var v=n.right-(e._offset+e._length);v>0&&(a.xr=1,a.r=v);var x=e._offset-n.left;x>0&&(a.xl=0,a.l=x)}}else if("l"===l?a[l]=e._depth=Math.max(n.height>0?h-n.left:0,p):(a[l]=e._depth=Math.max(n.height>0?n.right-h:0,p),g.reverse()),n.height>0){var k=n.bottom-(e._offset+e._length);k>0&&(a.yb=0,a.b=k);var _=e._offset-n.top;_>0&&(a.yt=1,a.t=_)}a[f]="free"===e.anchor?e.position:e._anchorAxis.domain[g[0]],e.title.text!==c._dfltTitle[u]&&(a[l]+=lt(e)+(e.title.standoff||0)),e.mirror&&"free"!==e.anchor&&((o={x:0,y:0,r:0,l:0,t:0,b:0})[d]=e.linewidth,e.mirror&&!0!==e.mirror&&(o[d]+=p),!0===e.mirror||"ticks"===e.mirror?o[f]=e._anchorAxis.domain[g[1]]:"all"!==e.mirror&&"allticks"!==e.mirror||(o[f]=[e._counterDomainMin,e._counterDomainMax][g[1]]))}j&&(s=i.getComponentMethod("rangeslider","autoMarginOpts")(t,e)),r.autoMargin(t,pt(e),a),r.autoMargin(t,gt(e),o),r.autoMargin(t,vt(e),s)}),a.skipTitle||j&&"bottom"===e.side||H.push(function(){return ct(t,e)}),n.syncOrAsync(H)}},A.getTickSigns=function(t){var e=t._id.charAt(0),r={x:"top",y:"right"}[e],i=t.side===r?1:-1,n=[-1,1,i,-i];return"inside"!==t.ticks==("x"===e)&&(n=n.map(function(t){return-t})),t.side&&n.push({l:-1,t:-1,r:1,b:1}[t.side.charAt(0)]),n},A.makeTransFn=function(t){var e=t._id.charAt(0),r=t._offset;return"x"===e?function(e){return"translate("+(r+t.l2p(e.x))+",0)"}:function(e){return"translate(0,"+(r+t.l2p(e.x))+")"}},A.makeTickPath=function(t,e,r,i){i=void 0!==i?i:t.ticklen;var n=t._id.charAt(0),a=(t.linewidth||1)/2;return"x"===n?"M0,"+(e+a*r)+"v"+i*r:"M"+(e+a*r)+",0h"+i*r},A.makeLabelFns=function(t,r,i){var a=t._id.charAt(0),o="boundaries"!==t.tickson&&"outside"===t.ticks,s=0,l=0;if(o&&(s+=t.ticklen),i&&"outside"===t.ticks){var c=n.deg2rad(i);s=t.ticklen*Math.cos(c)+1,l=t.ticklen*Math.sin(c)}t.showticklabels&&(o||t.showline)&&(s+=.2*t.tickfont.size);var d,u,f,h,p={labelStandoff:s+=(t.linewidth||1)/2,labelShift:l};return"x"===a?(h="bottom"===t.side?1:-1,d=l*h,u=r+s*h,f="bottom"===t.side?1:-.2,p.xFn=function(t){return t.dx+d},p.yFn=function(t){return t.dy+u+t.fontSize*f},p.anchorFn=function(t,r){return e(r)&&0!==r&&180!==r?r*h<0?"end":"start":"middle"},p.heightFn=function(e,r,i){return r<-60||r>60?-.5*i:"top"===t.side?-i:0}):"y"===a&&(h="right"===t.side?1:-1,d=s,u=-l*h,f=90===Math.abs(t.tickangle)?.5:0,p.xFn=function(t){return t.dx+r+(d+t.fontSize*f)*h},p.yFn=function(t){return t.dy+u+t.fontSize*y},p.anchorFn=function(r,i){return e(i)&&90===Math.abs(i)?"middle":"right"===t.side?"start":"end"},p.heightFn=function(e,r,i){return(r*="left"===t.side?1:-1)<-30?-i:r<30?-.5*i:0}),p},A.drawTicks=function(t,e,r){r=r||{};var i=e._id+"tick",n=r.layer.selectAll("path."+i).data(e.ticks?r.vals:[],ot);n.exit().remove(),n.enter().append("path").classed(i,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(s.stroke,e.tickcolor).style("stroke-width",l.crispRound(t,e.tickwidth,1)+"px").attr("d",r.path),n.attr("transform",r.transFn)},A.drawGrid=function(t,e,r){r=r||{};var i=e._id+"grid",n=r.vals,a=r.counterAxis;if(!1===e.showgrid)n=[];else if(a&&A.shouldShowZeroLine(t,e,a))for(var o="array"===e.tickmode,c=0;c4/3-c?u:c}; -},{}],"DjXV":[function(require,module,exports) { -"use strict";var e=require("../../lib"),r=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];module.exports=function(i,s,t,o){return i="left"===t?0:"center"===t?1:"right"===t?2:e.constrain(Math.floor(3*i),0,2),s="bottom"===o?0:"middle"===o?1:"top"===o?2:e.constrain(Math.floor(3*s),0,2),r[s][i]}; -},{"../../lib":"Ra1u"}],"yU7P":[function(require,module,exports) { -"use strict";var e=require("../../lib/events"),r=require("../../lib/throttle"),l=require("../../lib/dom").getGraphDiv,t=require("../fx/constants"),o=module.exports={};o.wrapped=function(e,a,i){(e=l(e))._fullLayout&&r.clear(e._fullLayout._uid+t.HOVERID),o.raw(e,a,i)},o.raw=function(r,l){var t=r._fullLayout,o=r._hoverdata;l||(l={}),l.target&&!1===e.triggerHandler(r,"plotly_beforehover",l)||(t._hoverlayer.selectAll("g").remove(),t._hoverlayer.selectAll("line").remove(),t._hoverlayer.selectAll("circle").remove(),r._hoverdata=void 0,l.target&&o&&r.emit("plotly_unhover",{event:l,points:o}))}; -},{"../../lib/events":"DkOh","../../lib/throttle":"RK98","../../lib/dom":"Hyog","../fx/constants":"uylr"}],"TEC2":[function(require,module,exports) { -"use strict";var e=require("mouse-event-offset"),t=require("has-hover"),n=require("has-passive-events"),o=require("../../lib").removeElement,r=require("../../plots/cartesian/constants"),u=module.exports={};u.align=require("./align"),u.getCursor=require("./cursor");var a=require("./unhover");function d(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function c(t){return e(t.changedTouches?t.changedTouches[0]:t,document.body)}u.unhover=a.wrapped,u.unhoverRaw=a.raw,u.init=function(e){var a,i,s,m,v,l,g,h,p=e.gd,E=1,_=p._context.doubleClickDelay,w=e.element;p._mouseDownTime||(p._mouseDownTime=0),w.style.pointerEvents="all",w.onmousedown=y,n?(w._ontouchstart&&w.removeEventListener("touchstart",w._ontouchstart),w._ontouchstart=y,w.addEventListener("touchstart",y,{passive:!1})):w.ontouchstart=y;var f=e.clampFn||function(e,t,n){return Math.abs(e)_&&(E=Math.max(E-1,1)),p._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(E,l),!h){var r;try{r=new MouseEvent("click",n)}catch(a){var u=c(n);(r=document.createEvent("MouseEvents")).initMouseEvent("click",n.bubbles,n.cancelable,n.view,n.detail,n.screenX,n.screenY,u[0],u[1],n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget)}g.dispatchEvent(r)}p._dragging=!1,p._dragged=!1}else p._dragged=!1}},u.coverSlip=d; -},{"mouse-event-offset":"sGZY","has-hover":"VmCq","has-passive-events":"AHWD","../../lib":"Ra1u","../../plots/cartesian/constants":"OeVF","./align":"bFqR","./cursor":"DjXV","./unhover":"yU7P"}],"GYRL":[function(require,module,exports) { -"use strict";module.exports=function(s,c){(s.attr("class")||"").split(" ").forEach(function(c){0===c.indexOf("cursor-")&&s.classed(c,!1)}),c&&s.classed("cursor-"+c,!0)}; -},{}],"OMaz":[function(require,module,exports) { -"use strict";var r=require("./setcursor"),t="data-savedcursor",s="!!";module.exports=function(a,e){var u=a.attr(t);if(e){if(!u){for(var l=(a.attr("class")||"").split(" "),c=0;cm[0]._length||ee<0||ee>L[0]._length)return c.unhoverRaw(r,n)}if(n.pointerX=$+m[0]._offset,n.pointerY=ee+L[0]._offset,D="xval"in n?x.flat(f,n.xval):x.p2c(m,$),N="yval"in n?x.flat(f,n.yval):x.p2c(L,ee),!t(D[0])||!t(N[0]))return a.warn("Fx.hover failed",n,r),c.unhoverRaw(r,n)}var re=1/0;for(H=0;HU&&(W.splice(0,U),re=W[0].distance),u&&0!==j&&0===W.length){Y.distance=j,Y.index=!1;var le=E._module.hoverPoints(Y,B,X,"closest",p._hoverlayer);if(le&&(le=le.filter(function(e){return e.spikeDistance<=j})),le&&le.length){var se,ce=le.filter(function(e){return e.xa.showspikes});if(ce.length){var de=ce[0];t(de.x0)&&t(de.y0)&&(se=pe(de),(!K.vLinePoint||K.vLinePoint.spikeDistance>se.spikeDistance)&&(K.vLinePoint=se))}var he=le.filter(function(e){return e.ya.showspikes});if(he.length){var xe=he[0];t(xe.x0)&&t(xe.y0)&&(se=pe(xe),(!K.hLinePoint||K.hLinePoint.spikeDistance>se.spikeDistance)&&(K.hLinePoint=se))}}}}function fe(e,t){for(var r,a=null,i=1/0,n=0;n1||W.length>1)||"closest"===C&&Q&&W.length>1,Se=k(W,{hovermode:C,rotateLabels:ze,bgColor:s.combine(p.plot_bgcolor||s.background,p.paper_bgcolor),container:p._hoverlayer,outerContainer:p._paperdiv,commonLabelOpts:p.hoverlabel,hoverdistance:p.hoverdistance},r);if(w(Se,ze?"xa":"ya",p),O(Se,ze),n.target&&n.target.tagName){var Ae=h.getComponentMethod("annotations","hasClickToShow")(r,_e);o(e.select(n.target),Ae?"pointer":"")}n.target&&!d&&A(r,n,Le)&&(Le&&r.emit("plotly_unhover",{event:n,points:Le}),r.emit("plotly_hover",{event:n,points:r._hoverdata,xaxes:m,yaxes:L,xvals:D,yvals:N}))}exports.hover=function(e,t,r,i){e=a.getGraphDiv(e),a.throttle(e._fullLayout._uid+f.HOVERID,f.HOVERMINTIME,function(){L(e,t,r,i)})},exports.loneHover=function(t,r){var a=!0;Array.isArray(t)||(a=!1,t=[t]);var i=t.map(function(e){return{color:e.color||s.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,eventData:e.eventData||!1,hovertemplateLabels:e.hovertemplateLabels||!1}}),n=e.select(r.container),o=r.outerContainer?e.select(r.outerContainer):n,l={hovermode:"closest",rotateLabels:!1,bgColor:r.bgColor||s.background,container:n,outerContainer:o},c=k(i,l,r.gd),d=0,h=0;return c.sort(function(e,t){return e.y0-t.y0}).each(function(e,t){var a=e.y0-e.by/2;e.offset=a-5([\s\S]*)<\/extra>/;function k(t,r,i){var o=i._fullLayout,c=r.hovermode,d=r.rotateLabels,h=r.bgColor,x=r.container,v=r.outerContainer,y=r.commonLabelOpts||{},u=r.fontFamily||f.HOVERFONT,b=r.fontSize||f.HOVERFONTSIZE,L=t[0],k=L.xa,w=L.ya,O="y"===c?"yLabel":"xLabel",z=L[O],S=(String(z)||"").split(" ")[0],A=v.node().getBoundingClientRect(),P=A.top,M=A.width,V=A.height,C=void 0!==z&&L.distance<=r.hoverdistance&&("x"===c||"y"===c);if(C){var D,N,R=!0;for(D=0;Do.width-V?(_=o.width-V,d.attr("d","M"+(V-g)+",0L"+V+","+M+g+"v"+M+(2*m+T.height)+"H-"+V+"V"+M+g+"H"+(V-2*g)+"Z")):d.attr("d","M0,0L"+g+","+M+g+"H"+(m+T.width/2)+"v"+M+(2*m+T.height)+"H-"+(m+T.width/2)+"V"+M+g+"H-"+g+"Z")}else{var C,D,N;"right"===w.side?(C="start",D=1,N="",_=k._offset+k._length):(C="end",D=-1,N="-",_=k._offset),A=w._offset+(L.y0+L.y1)/2,h.attr("text-anchor",C),d.attr("d","M0,0L"+N+g+","+g+"V"+(m+T.height/2)+"h"+N+(2*m+T.width)+"V-"+(m+T.height/2)+"H"+N+g+"V-"+g+"Z");var R,H=T.height/2,q=P-T.top-H,E="clip"+o._uid+"commonlabel"+w._id;if(_"),void 0!==t.yLabel&&(f+="y: "+t.yLabel+"
"),"choropleth"!==t.trace.type&&"choroplethmapbox"!==t.trace.type&&(f+=(f?"z: ":"")+t.zLabel)):C&&t[c+"Label"]===z?f=t[("x"===c?"y":"x")+"Label"]||"":void 0===t.xLabel?void 0!==t.yLabel&&"scattercarpet"!==t.trace.type&&(f=t.yLabel):f=void 0===t.yLabel?t.xLabel:"("+t.xLabel+", "+t.yLabel+")",!t.text&&0!==t.text||Array.isArray(t.text)||(f+=(f?"
":"")+t.text),void 0!==t.extraText&&(f+=(f?"
":"")+t.extraText),""!==f||t.hovertemplate||(""===x&&r.remove(),f=x);var w=o._d3locale,O=t.hovertemplate||!1,S=t.hovertemplateLabels||t,A=t.eventData[0]||{};O&&(f=(f=a.hovertemplateString(O,S,w,A,t.trace._meta)).replace(_,function(e,r){return x=T(r,t.nameLength),""}));var D=r.select("text.nums").call(l.font,t.fontFamily||u,t.fontSize||b,t.fontColor||k).text(f).attr("data-notex",1).call(n.positionText,0,0).call(n.convertToTspans,i),N=r.select("text.name"),R=0,H=0;if(x&&x!==f){N.call(l.font,t.fontFamily||u,t.fontSize||b,L).text(x).attr("data-notex",1).call(n.positionText,0,0).call(n.convertToTspans,i);var q=N.node().getBoundingClientRect();R=q.width+2*m,H=q.height+2*m}else N.remove(),r.select("rect").remove();r.select("path").style({fill:y,stroke:k});var E,I,F=D.node().getBoundingClientRect(),Z=t.xa._offset+(t.x0+t.x1)/2,B=t.ya._offset+(t.y0+t.y1)/2,X=Math.abs(t.x1-t.x0),Y=Math.abs(t.y1-t.y0),U=F.width+g+m+R;if(t.ty0=P-F.top,t.bx=F.width+2*m,t.by=Math.max(F.height+2*m,H),t.anchor="start",t.txwidth=F.width,t.tx2width=R,t.offset=0,d)t.pos=Z,E=B+Y/2+U<=V,I=B-Y/2-U>=0,"top"!==t.idealAlign&&E||!I?E?(B+=Y/2,t.anchor="start"):t.anchor="middle":(B-=Y/2,t.anchor="end");else if(t.pos=B,E=Z+X/2+U<=M,I=Z-X/2-U>=0,"left"!==t.idealAlign&&E||!I)if(E)Z+=X/2,t.anchor="start";else{t.anchor="middle";var G=U/2,j=Z+G-M,W=Z-G;j>0&&(Z-=j),W<0&&(Z+=-W)}else Z-=X/2,t.anchor="end";D.attr("text-anchor",t.anchor),R&&N.attr("text-anchor",t.anchor),r.attr("transform","translate("+Z+","+B+")"+(d?"rotate("+p+")":""))}),E}function w(e,t,r){var a,i,n,o,l,s,c,d=0,h=1,x=e.size(),f=new Array(x),p=0;function v(e){var t=e[0],r=e[e.length-1];if(i=t.pmin-t.pos-t.dp+t.size,n=r.pos+r.dp+r.size-t.pmax,i>.01){for(l=e.length-1;l>=0;l--)e[l].dp+=i;a=!1}if(!(n<.01)){if(i<-.01){for(l=e.length-1;l>=0;l--)e[l].dp-=n;a=!1}if(a){var c=0;for(o=0;ot.pmax&&c++;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos>t.pmax-1&&(s.del=!0,c--);for(o=0;o=0;l--)e[l].dp-=n;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos+s.dp+s.size>t.pmax&&(s.del=!0,c--)}}}for(e.each(function(e){var a=e[t],i="x"===a._id.charAt(0),n=a.range;0===p&&n&&n[0]>n[1]!==i&&(h=-1),f[p++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(i?y:1)/2,pmin:0,pmax:i?r.width:r.height}]}),f.sort(function(e,t){return e[0].posref-t[0].posref||h*(t[0].traceIndex-e[0].traceIndex)});!a&&d<=x;){for(d++,a=!0,o=0;o.01&&g.pmin===m.pmin&&g.pmax===m.pmax){for(l=b.length-1;l>=0;l--)b[l].dp+=i;for(u.push.apply(u,b),f.splice(o+1,1),c=0,l=u.length-1;l>=0;l--)c+=u[l].dp;for(n=c/u.length,l=u.length-1;l>=0;l--)u[l].dp-=n;a=!1}else o++}f.forEach(v)}for(o=f.length-1;o>=0;o--){var L=f[o];for(l=L.length-1;l>=0;l--){var _=L[l],k=_.datum;k.offset=_.dp,k.del=_.del}}}function O(t,r){t.each(function(t){var a=e.select(this);if(t.del)return a.remove();var i=a.select("text.nums"),o=t.anchor,s="end"===o?-1:1,c={start:1,end:-1,middle:0}[o],d=c*(g+m),h=d+c*(t.txwidth+m),x=0,f=t.offset;"middle"===o&&(d-=t.tx2width/2,h+=t.txwidth/2+m),r&&(f*=-b,x=t.offset*u),a.select("path").attr("d","middle"===o?"M-"+(t.bx/2+t.tx2width/2)+","+(f-t.by/2)+"h"+t.bx+"v"+t.by+"h-"+t.bx+"Z":"M0,0L"+(s*g+x)+","+(g+f)+"v"+(t.by/2-g)+"h"+s*t.bx+"v-"+t.by+"H"+(s*g+x)+"V"+(f-g)+"Z");var p=d+x,v=f+t.ty0-t.by/2+m,y=t.textAlign||"auto";"auto"!==y&&("left"===y&&"start"!==o?(i.attr("text-anchor","start"),p="middle"===o?-t.bx/2-t.tx2width/2+m:-t.bx-m):"right"===y&&"end"!==o&&(i.attr("text-anchor","end"),p="middle"===o?t.bx/2-t.tx2width/2-m:t.bx+m)),i.call(n.positionText,p,v),t.tx2width&&(a.select("text.name").call(n.positionText,h+c*m+x,f+t.ty0-t.by/2+m),a.select("rect").call(l.setRect,h+(c-1)*t.tx2width/2+x,f-t.by/2-1,t.tx2width,t.by+2))})}function z(e,r){var i=e.index,n=e.trace||{},o=e.cd[0],l=e.cd[i]||{};function s(e){return e||t(e)&&0===e}var c=Array.isArray(i)?function(e,t){var r=a.castOption(o,i,e);return s(r)?r:a.extractOption({},n,"",t)}:function(e,t){return a.extractOption(l,n,e,t)};function h(t,r,a){var i=c(r,a);s(i)&&(e[t]=i)}if(h("hoverinfo","hi","hoverinfo"),h("bgcolor","hbg","hoverlabel.bgcolor"),h("borderColor","hbc","hoverlabel.bordercolor"),h("fontFamily","htf","hoverlabel.font.family"),h("fontSize","hts","hoverlabel.font.size"),h("fontColor","htc","hoverlabel.font.color"),h("nameLength","hnl","hoverlabel.namelength"),h("textAlign","hta","hoverlabel.align"),e.posref="y"===r||"closest"===r&&"h"===n.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=a.constrain(e.x0,0,e.xa._length),e.x1=a.constrain(e.x1,0,e.xa._length),e.y0=a.constrain(e.y0,0,e.ya._length),e.y1=a.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel="xLabel"in e?e.xLabel:d.hoverLabelText(e.xa,e.xLabelVal),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel="yLabel"in e?e.yLabel:d.hoverLabelText(e.ya,e.yLabelVal),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!(isNaN(e.xerr)||"log"===e.xa.type&&e.xerr<=0)){var x=d.tickText(e.xa,e.xa.c2l(e.xerr),"hover").text;void 0!==e.xerrneg?e.xLabel+=" +"+x+" / -"+d.tickText(e.xa,e.xa.c2l(e.xerrneg),"hover").text:e.xLabel+=" ยฑ "+x,"x"===r&&(e.distance+=1)}if(!(isNaN(e.yerr)||"log"===e.ya.type&&e.yerr<=0)){var f=d.tickText(e.ya,e.ya.c2l(e.yerr),"hover").text;void 0!==e.yerrneg?e.yLabel+=" +"+f+" / -"+d.tickText(e.ya,e.ya.c2l(e.yerrneg),"hover").text:e.yLabel+=" ยฑ "+f,"y"===r&&(e.distance+=1)}var p=e.hoverinfo||e.trace.hoverinfo;return p&&"all"!==p&&(-1===(p=Array.isArray(p)?p:p.split("+")).indexOf("x")&&(e.xLabel=void 0),-1===p.indexOf("y")&&(e.yLabel=void 0),-1===p.indexOf("z")&&(e.zLabel=void 0),-1===p.indexOf("text")&&(e.text=void 0),-1===p.indexOf("name")&&(e.name=void 0)),e}function S(e,t,a){var i,n,o=a.container,c=a.fullLayout,h=c._size,x=a.event,f=!!t.hLinePoint,p=!!t.vLinePoint;if(o.selectAll(".spikeline").remove(),p||f){var v=s.combine(c.plot_bgcolor,c.paper_bgcolor);if(f){var y,u,b=t.hLinePoint;i=b&&b.xa,"cursor"===(n=b&&b.ya).spikesnap?(y=x.pointerX,u=x.pointerY):(y=i._offset+b.x,u=n._offset+b.y);var g,m,L=r.readability(b.color,v)<1.5?s.contrast(v):b.color,_=n.spikemode,k=n.spikethickness,w=n.spikecolor||L,O=d.getPxPosition(e,n);if(-1!==_.indexOf("toaxis")||-1!==_.indexOf("across")){if(-1!==_.indexOf("toaxis")&&(g=O,m=y),-1!==_.indexOf("across")){var z=n._counterDomainMin,S=n._counterDomainMax;"free"===n.anchor&&(z=Math.min(z,n.position),S=Math.max(S,n.position)),g=h.l+z*h.w,m=h.l+S*h.w}o.insert("line",":first-child").attr({x1:g,x2:m,y1:u,y2:u,"stroke-width":k,stroke:w,"stroke-dasharray":l.dashStyle(n.spikedash,k)}).classed("spikeline",!0).classed("crisp",!0),o.insert("line",":first-child").attr({x1:g,x2:m,y1:u,y2:u,"stroke-width":k+2,stroke:v}).classed("spikeline",!0).classed("crisp",!0)}-1!==_.indexOf("marker")&&o.insert("circle",":first-child").attr({cx:O+("right"!==n.side?k:-k),cy:u,r:k,fill:w}).classed("spikeline",!0)}if(p){var A,P,T=t.vLinePoint;i=T&&T.xa,n=T&&T.ya,"cursor"===i.spikesnap?(A=x.pointerX,P=x.pointerY):(A=i._offset+T.x,P=n._offset+T.y);var M,V,C=r.readability(T.color,v)<1.5?s.contrast(v):T.color,D=i.spikemode,N=i.spikethickness,R=i.spikecolor||C,H=d.getPxPosition(e,i);if(-1!==D.indexOf("toaxis")||-1!==D.indexOf("across")){if(-1!==D.indexOf("toaxis")&&(M=H,V=P),-1!==D.indexOf("across")){var q=i._counterDomainMin,E=i._counterDomainMax;"free"===i.anchor&&(q=Math.min(q,i.position),E=Math.max(E,i.position)),M=h.t+(1-E)*h.h,V=h.t+(1-q)*h.h}o.insert("line",":first-child").attr({x1:A,x2:A,y1:M,y2:V,"stroke-width":N,stroke:R,"stroke-dasharray":l.dashStyle(i.spikedash,N)}).classed("spikeline",!0).classed("crisp",!0),o.insert("line",":first-child").attr({x1:A,x2:A,y1:M,y2:V,"stroke-width":N+2,stroke:v}).classed("spikeline",!0).classed("crisp",!0)}-1!==D.indexOf("marker")&&o.insert("circle",":first-child").attr({cx:A,cy:H-("top"!==i.side?N:-N),r:N,fill:R}).classed("spikeline",!0)}}}function A(e,t,r){if(!r||r.length!==e._hoverdata.length)return!0;for(var a=r.length-1;a>=0;a--){var i=r[a],n=e._hoverdata[a];if(i.curveNumber!==n.curveNumber||String(i.pointNumber)!==String(n.pointNumber)||String(i.pointNumbers)!==String(n.pointNumbers))return!0}return!1}function P(e,t){return!t||(t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint)}function T(e,t){return n.plainText(e||"",{len:t,allowedTags:["br","sub","sup","b","i","em"]})} -},{"d3":"uT61","fast-isnumeric":"T2RE","tinycolor2":"ZdXS","../../lib":"Ra1u","../../lib/events":"DkOh","../../lib/svg_text_utils":"q7WC","../../lib/override_cursor":"OMaz","../drawing":"HEt8","../color":"fSwg","../dragelement":"TEC2","../../plots/cartesian/axes":"VI4t","../../registry":"RoGf","./helpers":"sbcL","./constants":"uylr"}],"vmR7":[function(require,module,exports) { -"use strict";var e=require("../../lib");module.exports=function(o,l,r,n){r("hoverlabel.bgcolor",(n=n||{}).bgcolor),r("hoverlabel.bordercolor",n.bordercolor),r("hoverlabel.namelength",n.namelength),e.coerceFont(r,"hoverlabel.font",n.font),r("hoverlabel.align",n.align)}; -},{"../../lib":"Ra1u"}],"DYvP":[function(require,module,exports) { -"use strict";var e=require("../../lib"),r=require("./hoverlabel_defaults"),t=require("./layout_attributes");module.exports=function(u,i){r(u,i,function(r,o){return e.coerce(u,i,t,r,o)})}; -},{"../../lib":"Ra1u","./hoverlabel_defaults":"vmR7","./layout_attributes":"umf8"}],"iixo":[function(require,module,exports) { -"use strict";var e=require("../../lib"),r=require("./attributes"),t=require("./hoverlabel_defaults");module.exports=function(l,u,a,i){var n=e.extendFlat({},i.hoverlabel);u.hovertemplate&&(n.namelength=-1),t(l,u,function(t,a){return e.coerce(l,u,r,t,a)},n)}; -},{"../../lib":"Ra1u","./attributes":"wk7A","./hoverlabel_defaults":"vmR7"}],"syby":[function(require,module,exports) { -"use strict";var e=require("../../lib"),t=require("./layout_attributes");function r(e,t){for(var r=t._scatterStackOpts||{},o=0;o-1?n="closest":(a._isHoriz=r(i,a),n=a._isHoriz?"y":"x"):n="closest",s("hovermode",n)&&(s("hoverdistance"),s("spikedistance"));var d=a._has("mapbox"),u=a._has("geo"),l=a._basePlotModules.length;"zoom"===a.dragmode&&((d||u)&&1===l||d&&u&&2===l)&&(a.dragmode="pan")}; -},{"../../lib":"Ra1u","./layout_attributes":"umf8"}],"slNm":[function(require,module,exports) { -"use strict";var e=require("../../lib"),r=require("../../registry");function o(r,o,l,t){t=t||e.identity,Array.isArray(r)&&(o[0][l]=t(r))}module.exports=function(l){var t=l.calcdata,a=l._fullLayout;function h(r){return function(o){return e.coerceHoverinfo({hoverinfo:o},{_module:r._module},a)}}for(var i=0;iplotly-logomark"}}; -},{}],"QE4N":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("fast-isnumeric"),a=require("../../lib"),r=require("../../fonts/ploticon"),o=new DOMParser;function n(t){this.container=t.container,this.element=document.createElement("div"),this.update(t.graphInfo,t.buttons),this.container.appendChild(this.element)}var i=n.prototype;function l(e,a){var r=e._fullLayout,o=new n({graphInfo:e,container:r._modebardiv.node(),buttons:a});return r._privateplot&&t.select(o.element).append("span").classed("badge-private float--left",!0).text("PRIVATE"),o}i.update=function(t,e){this.graphInfo=t;var r=this.graphInfo._context,o=this.graphInfo._fullLayout,n="modebar-"+o._uid;this.element.setAttribute("id",n),this._uid=n,this.element.className="modebar","hover"===r.displayModeBar&&(this.element.className+=" modebar--hover ease-bg"),"v"===o.modebar.orientation&&(this.element.className+=" vertical",e=e.reverse());var i=o.modebar,l="hover"===r.displayModeBar?".js-plotly-plot .plotly:hover ":"";a.deleteRelatedStyleRule(n),a.addRelatedStyleRule(n,l+"#"+n+" .modebar-group","background-color: "+i.bgcolor),a.addRelatedStyleRule(n,"#"+n+" .modebar-btn .icon path","fill: "+i.color),a.addRelatedStyleRule(n,"#"+n+" .modebar-btn:hover .icon path","fill: "+i.activecolor),a.addRelatedStyleRule(n,"#"+n+" .modebar-btn.active .icon path","fill: "+i.activecolor);var s=!this.hasButtons(e),u=this.hasLogo!==r.displaylogo,d=this.locale!==r.locale;if(this.locale=r.locale,(s||u||d)&&(this.removeAllButtons(),this.updateButtons(e),r.watermark||r.displaylogo)){var c=this.getLogo();r.watermark&&(c.className=c.className+" watermark"),"v"===o.modebar.orientation?this.element.insertBefore(c,this.element.childNodes[0]):this.element.appendChild(c),this.hasLogo=!0}this.updateActiveButton()},i.updateButtons=function(t){var e=this;this.buttons=t,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach(function(t){var a=e.createGroup();t.forEach(function(t){var r=t.name;if(!r)throw new Error("must provide button 'name' in button config");if(-1!==e.buttonsNames.indexOf(r))throw new Error("button name '"+r+"' is taken");e.buttonsNames.push(r);var o=e.createButton(t);e.buttonElements.push(o),a.appendChild(o)}),e.element.appendChild(a)})},i.createGroup=function(){var t=document.createElement("div");return t.className="modebar-group",t},i.createButton=function(e){var a=this,o=document.createElement("a");o.setAttribute("rel","tooltip"),o.className="modebar-btn";var n=e.title;void 0===n?n=e.name:"function"==typeof n&&(n=n(this.graphInfo)),(n||0===n)&&o.setAttribute("data-title",n),void 0!==e.attr&&o.setAttribute("data-attr",e.attr);var i=e.val;if(void 0!==i&&("function"==typeof i&&(i=i(this.graphInfo)),o.setAttribute("data-val",i)),"function"!=typeof e.click)throw new Error("must provide button 'click' function in button config");o.addEventListener("click",function(t){e.click(a.graphInfo,t),a.updateActiveButton(t.currentTarget)}),o.setAttribute("data-toggle",e.toggle||!1),e.toggle&&t.select(o).classed("active",!0);var l=e.icon;return"function"==typeof l?o.appendChild(l()):o.appendChild(this.createIcon(l||r.question)),o.setAttribute("data-gravity",e.gravity||"n"),o},i.createIcon=function(t){var a,r=e(t.height)?Number(t.height):t.ascent-t.descent,n="http://www.w3.org/2000/svg";if(t.path){(a=document.createElementNS(n,"svg")).setAttribute("viewBox",[0,0,t.width,r].join(" ")),a.setAttribute("class","icon");var i=document.createElementNS(n,"path");i.setAttribute("d",t.path),t.transform?i.setAttribute("transform",t.transform):void 0!==t.ascent&&i.setAttribute("transform","matrix(1 0 0 -1 0 "+t.ascent+")"),a.appendChild(i)}t.svg&&(a=o.parseFromString(t.svg,"application/xml").childNodes[0]);return a.setAttribute("height","1em"),a.setAttribute("width","1em"),a},i.updateActiveButton=function(e){var r=this.graphInfo._fullLayout,o=void 0!==e?e.getAttribute("data-attr"):null;this.buttonElements.forEach(function(e){var n=e.getAttribute("data-val")||!0,i=e.getAttribute("data-attr"),l="true"===e.getAttribute("data-toggle"),s=t.select(e);if(l)i===o&&s.classed("active",!s.classed("active"));else{var u=null===i?i:a.nestedProperty(r,i).get();s.classed("active",u===n)}})},i.hasButtons=function(t){var e=this.buttons;if(!e)return!1;if(t.length!==e.length)return!1;for(var a=0;a1?(T=["toggleHover"],I=["resetViews"]):m?(A=["zoomInGeo","zoomOutGeo"],T=["hoverClosestGeo"],I=["resetGeo"]):f?(T=["hoverClosest3d"],I=["resetCameraDefault3d","resetCameraLastSave3d"]):y?(T=["toggleHover"],I=["resetViewMapbox"]):c?T=["hoverClosestGl2d"]:v?T=["hoverClosestPie"]:B?(T=["hoverClosestCartesian","hoverCompareCartesian"],I=["resetViewSankey"]):T=["toggleHover"],h&&(T=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),u(o)&&(T=[]),!h&&!c||C||(A=["zoomIn2d","zoomOut2d","autoScale2d"],"resetViews"!==I[0]&&(I=["resetScale2d"])),f?S=["zoom3d","pan3d","orbitRotation","tableRotation"]:(h||c)&&!C||g?S=["zoom2d","pan2d"]:y||m?S=["pan2d"]:_&&(S=["zoom2d"]),i(o)&&S.push("select2d","lasso2d"),b(S),b(A.concat(I)),b(T),l(w,d)}function n(r){for(var o=e.list({_fullLayout:r},null,!0),t=0;tr*v)||k)for(s=0;s<_.length;s++)if(h=y[l=_[s]],d=(u=D[l]).constrain,h!==b||"domain"===d)if(m=h/b,"range"===d)n(u,m);else{var A=u._inputDomain,M=(u.domain[1]-u.domain[0])/(A[1]-A[0]),G=(u.r2l(u.range[1])-u.r2l(u.range[0]))/(u.r2l(u._inputRange[1])-u.r2l(u._inputRange[0]));if((m/=M)*G<1){u.domain=u._input.domain=A.slice(),n(u,m);continue}if(G<1&&(u.range=u._input.range=u._inputRange.slice(),m*=G),u.autorange){var O=u.r2l(u.range[0]),q=u.r2l(u.range[1]),R=(O+q)/2,w=R,L=R,S=Math.abs(q-R),C=R-S*m*1.0001,T=R+S*m*1.0001,j=i(u);c(u,m);var E,F,z=Math.abs(u._m),B=t(a,u),I=B.min,P=B.max;for(F=0;FC&&EL&&(L=E);m/=(L-w)/(2*S),w=u.l2r(w),L=u.l2r(L),u.range=u._input.range=O=e[1]||n[1]<=e[0])&&(i[0]t[0]))return!0}return!1}function v(t){var n,l,c,d,h,_,f=t._fullLayout,g=f._size,m=g.p,v=p.list(t,"",!0);if(f._paperdiv.style({width:t._context.responsive&&f.autosize&&!t._context._hasZeroWidth&&!t.layout.width?"100%":f.width+"px",height:t._context.responsive&&f.autosize&&!t._context._hasZeroHeight&&!t.layout.height?"100%":f.height+"px"}).selectAll(".main-svg").call(a.setSize,f.width,f.height),t._context.setBackground(t,f.paper_bgcolor),exports.drawMainTitle(t),s.manage(t),!f._has("cartesian"))return r.previousPromises(t);function y(e,t,r){var o=e._lw/2;return"x"===e._id.charAt(0)?t?"top"===r?t._offset-m-o:t._offset+t._length+m+o:g.t+g.h*(1-(e.position||0))+o%1:t?"right"===r?t._offset+t._length+m+o:t._offset-m-o:g.l+g.w*(e.position||0)+o%1}for(n=0;n=-n},pointBetween:function(t,e,r){var o=t[1]-e[1],i=r[0]-e[0],a=t[0]-e[0],u=r[1]-e[1],p=a*i+o*u;return!(p-n)},pointsSameX:function(t,e){return Math.abs(t[0]-e[0])n!=a-o>n&&(i-s)*(o-f)/(a-f)+s-r>n&&(u=!u),i=s,a=f}return u}};return t}module.exports=n; -},{}],"okrX":[function(require,module,exports) { -var n={create:function(){var n={root:{root:!0,next:null},exists:function(e){return null!==e&&e!==n.root},isEmpty:function(){return null===n.root.next},getHead:function(){return n.root.next},insertBefore:function(e,t){for(var r=n.root,o=n.root.next;null!==o;){if(t(o))return e.prev=o.prev,e.next=o,o.prev.next=e,void(o.prev=e);r=o,o=o.next}r.next=e,e.prev=r,e.next=null},findTransition:function(e){for(var t=n.root,r=n.root.next;null!==r&&!e(r);)t=r,r=r.next;return{before:t===n.root?null:t,after:r,insert:function(n){return n.prev=t,n.next=r,t.next=n,null!==r&&(r.prev=n),n}}}};return n},node:function(n){return n.prev=null,n.next=null,n.remove=function(){n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.prev=null,n.next=null},n}};module.exports=n; -},{}],"IptI":[function(require,module,exports) { -var e=require("./linked-list");function t(t,r,n){function l(e,t,r){return{id:n?n.segmentId():-1,start:e,end:t,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var o=e.create();function i(e,t){o.insertBefore(e,function(n){return function(e,t,n,l,o,i){var s=r.pointsCompare(t,o);return 0!==s?s:r.pointsSame(n,i)?0:e!==l?e?1:-1:r.pointAboveOrOnLine(n,l?o:i,l?i:o)?1:-1}(e.isStart,e.pt,t,n.isStart,n.pt,n.other.pt)<0})}function s(t,r){var n=function(t,r){var n=e.node({isStart:!0,pt:t.start,seg:t,primary:r,other:null,status:null});return i(n,t.end),n}(t,r);return function(t,r,n){var l=e.node({isStart:!1,pt:r.end,seg:r,primary:n,other:t,status:null});t.other=l,i(l,t.pt)}(n,t,r),n}function a(e,t){var r=l(t,e.seg.end,e.seg);return function(e,t){n&&n.segmentChop(e.seg,t),e.other.remove(),e.seg.end=t,e.other.pt=t,i(e.other,e.pt)}(e,t),s(r,e.primary)}function g(l,i){var s=e.create();function g(e){return s.findTransition(function(t){var n,l,o,i,s,a;return(n=e,l=t.ev,o=n.seg.start,i=n.seg.end,s=l.seg.start,a=l.seg.end,r.pointsCollinear(o,s,a)?r.pointsCollinear(i,s,a)?1:r.pointAboveOrOnLine(i,s,a)?1:-1:r.pointAboveOrOnLine(o,s,a)?1:-1)>0})}function u(e,t){var l=e.seg,o=t.seg,i=l.start,s=l.end,g=o.start,u=o.end;n&&n.checkIntersection(l,o);var v=r.linesIntersect(i,s,g,u);if(!1===v){if(!r.pointsCollinear(i,s,g))return!1;if(r.pointsSame(i,u)||r.pointsSame(s,g))return!1;var m=r.pointsSame(i,g),p=r.pointsSame(s,u);if(m&&p)return t;var f=!m&&r.pointBetween(i,g,u),c=!p&&r.pointBetween(s,g,u);if(m)return c?a(t,s):a(e,u),t;f&&(p||(c?a(t,s):a(e,u)),a(t,i))}else 0===v.alongA&&(-1===v.alongB?a(e,g):0===v.alongB?a(e,v.pt):1===v.alongB&&a(e,u)),0===v.alongB&&(-1===v.alongA?a(t,i):0===v.alongA?a(t,v.pt):1===v.alongA&&a(t,s));return!1}for(var v=[];!o.isEmpty();){var m=o.getHead();if(n&&n.vert(m.pt[0]),m.isStart){n&&n.segmentNew(m.seg,m.primary);var p=g(m),f=p.before?p.before.ev:null,c=p.after?p.after.ev:null;function y(){if(f){var e=u(m,f);if(e)return e}return!!c&&u(m,c)}n&&n.tempStatus(m.seg,!!f&&f.seg,!!c&&c.seg);var d,b=y();if(b){var F;if(t)(F=null===m.seg.myFill.below||m.seg.myFill.above!==m.seg.myFill.below)&&(b.seg.myFill.above=!b.seg.myFill.above);else b.seg.otherFill=m.seg.myFill;n&&n.segmentUpdate(b.seg),m.other.remove(),m.remove()}if(o.getHead()!==m){n&&n.rewind(m.seg);continue}if(t)F=null===m.seg.myFill.below||m.seg.myFill.above!==m.seg.myFill.below,m.seg.myFill.below=c?c.seg.myFill.above:l,m.seg.myFill.above=F?!m.seg.myFill.below:m.seg.myFill.below;else if(null===m.seg.otherFill)d=c?m.primary===c.primary?c.seg.otherFill.above:c.seg.myFill.above:m.primary?i:l,m.seg.otherFill={above:d,below:d};n&&n.status(m.seg,!!f&&f.seg,!!c&&c.seg),m.other.status=p.insert(e.node({ev:m}))}else{var h=m.status;if(null===h)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(s.exists(h.prev)&&s.exists(h.next)&&u(h.prev.ev,h.next.ev),n&&n.statusRemove(h.ev.seg),h.remove(),!m.primary){var w=m.seg.myFill;m.seg.myFill=m.seg.otherFill,m.seg.otherFill=w}v.push(m.seg)}o.getHead().remove()}return n&&n.done(),v}return t?{addRegion:function(e){for(var t,l,o,i=e[e.length-1],a=0;ai||o===n||oh||r&&f(t))}:function(t,r){var f=t[0],o=t[1];if(f===n||fi||o===n||oh)return!1;var s,l,m,c,g,v=e.length,M=e[0][0],x=e[0][1],p=0;for(s=1;sMath.max(l,M)||o>Math.max(m,x)))if(os||Math.abs(t(u,m))>a)return!0;return!1},r.filter=function(t,n){var e=[t[0]],a=0,i=0;function u(u){t.push(u);var h=e.length,f=a;e.splice(i+1);for(var o=f+1;o1&&u(t.pop());return{addPt:u,raw:t,filtered:e}}; -},{"./matrix":"zZtD","../constants/numerical":"NTky"}],"BU1b":[function(require,module,exports) { -"use strict";var e=require("polybooljs"),t=require("../../registry"),n=require("../../components/color"),o=require("../../components/fx"),r=require("../../lib"),i=require("../../lib/polygon"),l=require("../../lib/throttle"),s=require("../../components/fx/helpers").makeEventData,a=require("./axis_ids").getFromId,c=require("../../lib/clear_gl_canvases"),u=require("../../plot_api/subroutines").redrawReglTraces,d=require("./constants"),f=d.MINSELECT,p=i.filter,m=i.tester;function h(e){return e._id}function x(e,t,i,s,a){var c,u,h,x,v,y,_,P=s.gd,L=P._fullLayout,S=L._zoomlayer,k=s.element.getBoundingClientRect(),q=s.plotinfo,Z=q.xaxis._offset,R=q.yaxis._offset,C=t-k.left,F=i-k.top,B=C,K=F,T="M"+C+","+F,j=s.xaxes[0]._length,z=s.yaxes[0]._length,w=s.xaxes.concat(s.yaxes),G=e.altKey;M(e,P,s),"lasso"===a&&(c=p([[C,F]],d.BENDPX));var U=S.selectAll("path.select-outline-"+q.id).data([1,2]);U.enter().append("path").attr("class",function(e){return"select-outline select-outline-"+e+" select-outline-"+q.id}).attr("transform","translate("+Z+", "+R+")").attr("d",T+"Z");var X,Y=S.append("path").attr("class","zoombox-corners").style({fill:n.background,stroke:n.defaultLine,"stroke-width":1}).attr("transform","translate("+Z+", "+R+")").attr("d","M0,0Z"),H=L._uid+d.SELECTID,J=[],Q=D(P,s.xaxes,s.yaxes,s.subplot);function V(e,t){return"log"===e.type?e.p2d(t):e.p2r(t)}function W(e){var t="y"===e._id.charAt(0)?1:0;return function(n){return V(e,n[t])}}function $(e,t){return e-t}X=q.fillRangeItems?q.fillRangeItems:"select"===a?function(e,t){var n=e.range={};for(v=0;v-1&&g(t,P,s.xaxes,s.yaxes,s.subplot,s,U),"event"===n&&P.emit("plotly_selected",void 0);o.click(P,t)}).catch(r.error)},s.doneFn=function(){Y.remove(),l.done(H).then(function(){l.clear(H),s.gd.emit("plotly_selected",_),x&&s.selectionDefs&&(x.subtract=G,s.selectionDefs.push(x),s.mergedPolygons.length=0,[].push.apply(s.mergedPolygons,h)),s.doneFnCompleted&&s.doneFnCompleted(J)}).catch(r.error)}}function g(e,t,n,o,r,i,l){var s,a,c,u,d,f,p,m,h,x=t._hoverdata,g=t._fullLayout.clickmode.indexOf("event")>-1,y=[];if(P(x)){M(e,t,i);var _=L(x,s=D(t,n,o,r));if(_.pointNumbers.length>0?k(s,_):q(s)&&(f=S(_))){for(l&&l.remove(),h=0;h0?"M"+r.join("M")+"Z":"M0,0Z",t.attr("d",o)}function P(e){return e&&Array.isArray(e)&&!0!==e[0].hoverOnBox}function L(e,t){var n,o,r=e[0],i=-1,l=[];for(o=0;o0?o[0]:n;return!!t.selectedpoints&&t.selectedpoints.indexOf(r)>-1}function k(e,t){var n,o,r,i=[];for(r=0;r0&&i.push(n);if(1===i.length&&i[0]===t.searchInfo&&(o=t.searchInfo.cd[0].trace).selectedpoints.length===t.pointNumbers.length){for(r=0;r1)return!1;if((o+=t.selectedpoints.length)>1)return!1}return 1===o}function O(e,n,o){var r,i,l,s;for(r=0;r-1&&v(r,n,U,$,i.id,Ze),l.indexOf("event")>-1&&s.click(n,r,i.id);else if(1===t&&xe){var u=O?X:V,c="s"===O||"w"===K?0:1,f=u._name+".range["+c+"]",g=z(u,c),h="left",d="middle";if(u.fixedrange)return;O?(d="n"===O?"top":"bottom","right"===u.side&&(h="right")):"e"===K&&(h="right"),n._context.showAxisRangeEntryBoxes&&e.select(ye).call(o.makeEditable,{gd:n,immediate:!0,background:n._fullLayout.paper_bgcolor,text:String(g),fill:u.tickfont?u.tickfont.color:"#444",horizontalAlign:h,verticalAlign:d}).on("edit",function(e){var t=u.d2r(e);void 0!==t&&a.call("_guiRelayout",n,f,t)})}}function He(e,t){if(n._transitioningWithDuration)return!1;var a=Math.max(0,Math.min(ne,e+be)),r=Math.max(0,Math.min(ae,t+Me)),o=Math.abs(a-be),i=Math.abs(r-Me);function l(){Ce="",we.r=we.l,we.t=we.b,ze.attr("d","M0,0Z")}if(we.l=Math.min(be,a),we.r=Math.max(be,a),we.t=Math.min(Me,r),we.b=Math.max(Me,r),re.isSubplotConstrained)o>w||i>w?(Ce="xy",o/ne>i/ae?(i=o*ae/ne,Me>r?we.t=Me-i:we.b=Me+i):(o=i*ne/ae,be>a?we.l=be-o:we.r=be+o),ze.attr("d",B(we))):l();else if(oe.isSubplotConstrained)if(o>w||i>w){Ce="xy";var s=Math.min(we.l/ne,(ae-we.b)/ae),u=Math.max(we.r/ne,(ae-we.t)/ae);we.l=s*ne,we.r=u*ne,we.b=(1-s)*ae,we.t=(1-u)*ae,ze.attr("d",B(we))}else l();else!le||i=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function R(e,t,n){return e?"nsew"===e?n?"":"pan"===t?"move":"crosshair":e.toLowerCase()+"-resize":"pointer"}function H(e,t,n,a,r){return e.append("path").attr("class","zoombox").style({fill:t>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform","translate("+n+", "+a+")").attr("d",r+"Z")}function A(e,t,n){return e.append("path").attr("class","zoombox-corners").style({fill:i.background,stroke:i.defaultLine,"stroke-width":1,opacity:0}).attr("transform","translate("+t+", "+n+")").attr("d","M0,0Z")}function T(e,t,n,a,r,o){e.attr("d",a+"M"+n.l+","+n.t+"v"+n.h+"h"+n.w+"v-"+n.h+"h-"+n.w+"Z"),O(e,t,r,o)}function O(e,t,n,a){n||(e.transition().style("fill",a>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}function I(t){e.select(t).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function E(e){k&&e.data&&e._context.showTips&&(r.notifier(r._(e,"Double-click to zoom back out"),"long"),k=!1)}function N(e){return"lasso"===e||"select"===e}function P(e,t){return"M"+(e.l-.5)+","+(t-w-.5)+"h-3v"+(2*w+1)+"h3ZM"+(e.r+.5)+","+(t-w-.5)+"h3v"+(2*w+1)+"h-3Z"}function W(e,t){return"M"+(t-w-.5)+","+(e.t-.5)+"v-3h"+(2*w+1)+"v3ZM"+(t-w-.5)+","+(e.b+.5)+"v3h"+(2*w+1)+"v-3Z"}function B(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,w)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}function G(e,t,n,a){for(var o,i,l,s,u=!1,c={},f={},g=0;g1&&t.warn("Full array edits are incompatible with other edits",c);var b=s[""][""];if(i(b))o.set(null);else{if(!Array.isArray(b))return t.warn("Unrecognized full array edit value",c,b),!0;o.set(b)}return!d&&(p(y,m),g(e),!0)}var v,w,x,q,A,j,C,M,_=Object.keys(s).map(Number).sort(n),O=o.get(),k=O||[],z=h(m,c).get(),L=[],U=-1,V=k.length;for(v=0;v<_.length;v++)if(q=s[x=_[v]],A=Object.keys(q),j=q[""],C=l(j),x<0||x>k.length-(C?0:1))t.warn("index out of range",c,x);else if(void 0!==j)A.length>1&&t.warn("Insertion & removal are incompatible with edits to the same index.",c,x),i(j)?L.push(x):C?("add"===j&&(j={}),k.splice(x,0,j),z&&z.splice(x,0,{})):t.warn("Unrecognized full object edit value",c,x,j),-1===U&&(U=x);else for(w=0;w=0;v--)k.splice(L[v],1),z&&z.splice(L[v],1);if(k.length?O||o.set(k):o.set(null),d)return!1;if(p(y,m),f!==r){var D;if(-1===U)D=_;else{for(V=Math.max(k.length,V),D=[],v=0;v<_.length&&!((x=_[v])>=U);v++)D.push(x);for(v=U;v0&&a.log("Clearing previous rejected promises from queue."),e._promises=[]},exports.cleanLayout=function(e){var t,o;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var l=(i.subplotsRegistry.cartesian||{}).attrRegex,c=(i.subplotsRegistry.polar||{}).attrRegex,p=(i.subplotsRegistry.ternary||{}).attrRegex,d=(i.subplotsRegistry.gl3d||{}).attrRegex,u=Object.keys(e);for(t=0;t3?(q.x=1.02,q.xanchor="left"):q.x<-2&&(q.x=-.02,q.xanchor="right"),q.y>3?(q.y=1.02,q.yanchor="bottom"):q.y<-2&&(q.y=-.02,q.yanchor="top")),f(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),s.clean(e),e.template&&e.template.layout&&exports.cleanLayout(e.template.layout),e},exports.cleanData=function(e){for(var r=0;r0)return e.substr(0,r)}exports.hasParent=function(e,r){for(var t=h(r);t;){if(t in e)return!0;t=h(t)}return!1};var v=["x","y","z"];exports.clearAxisTypes=function(e,r,t){for(var i=0;i=e.data.length||n<-e.data.length)throw new Error(a+" must be valid indices for gd.data.");if(t.indexOf(n,r+1)>-1||n>=0&&t.indexOf(-e.data.length+n)>-1||n<0&&t.indexOf(e.data.length+n)>-1)throw new Error("each index in "+a+" must be unique.")}}function q(e,t,a){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),M(e,t,"currentIndices"),void 0===a||Array.isArray(a)||(a=[a]),void 0!==a&&M(e,a,"newIndices"),void 0!==a&&t.length!==a.length)throw new Error("current and new indices must be of equal length.")}function G(e,t,a){var r,n;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),r=0;r=0&&a=0&&a-1?l(a,a.replace("titlefont","title.font")):a.indexOf("titleposition")>-1?l(a,a.replace("titleposition","title.position")):a.indexOf("titleside")>-1?l(a,a.replace("titleside","title.side")):a.indexOf("titleoffset")>-1&&l(a,a.replace("titleoffset","title.offset")):l(a,a.replace("title","title.text"));function l(t,a){e[a]=e[t],delete e[t]}}function te(e,t,a){if(e=r.getGraphDiv(e),x.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);var n={};if("string"==typeof t)n[t]=a;else{if(!r.isPlainObject(t))return r.warn("Relayout fail.",t,a),Promise.reject();n=r.extendFlat({},t)}Object.keys(n).length&&(e.changed=!0);var i=se(e,n),s=i.flags;s.calc&&(e.calcdata=void 0);var l=[u.previousPromises];s.layoutReplot?l.push(A.layoutReplot):Object.keys(n).length&&(ae(e,s,i)||u.supplyDefaults(e),s.legend&&l.push(A.doLegend),s.layoutstyle&&l.push(A.layoutStyles),s.axrange&&re(l,i.rangesAltered),s.ticks&&l.push(A.doTicksRelayout),s.modebar&&l.push(A.doModeBar),s.camera&&l.push(A.doCamera),s.colorbars&&l.push(A.doColorBars),l.push(D)),l.push(u.rehover,u.redrag),o.add(e,te,[e,i.undoit],te,[e,i.redoit]);var p=r.syncOrAsync(l,e);return p&&p.then||(p=Promise.resolve(e)),p.then(function(){return e.emit("plotly_relayout",i.eventData),e})}function ae(e,t,a){var r=e._fullLayout;if(!t.axrange)return!1;for(var n in t)if("axrange"!==n&&t[n])return!1;for(var i in a.rangesAltered){var o=d.id2name(i),s=e.layout[o],l=r[o];if(l.autorange=s.autorange,l.range=s.range.slice(),l.cleanRange(),l._matchGroup)for(var u in l._matchGroup)if(u!==i){var p=r[d.id2name(u)];p.autorange=l.autorange,p.range=l.range.slice(),p._input.range=l.range.slice()}}return!0}function re(e,t){var a=t?function(e){var a=[],r=!0;for(var n in t){var i=d.getFromId(e,n);if(a.push(n),i._matchGroup)for(var o in i._matchGroup)t[o]||a.push(o);i.automargin&&(r=!1)}return d.draw(e,a,{skipTitle:r})}:function(e){return d.draw(e,"redraw")};e.push(v,A.doAutoRangeAndConstraints,a,A.drawData,A.finalDraw)}var ne=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,ie=/^[xyz]axis[0-9]*\.autorange$/,oe=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function se(e,t){var a,i,o,u=e.layout,p=e._fullLayout,c=p._guiEditing,f=Z(p._preGUI,c),g=Object.keys(t),h=d.list(e),y=r.extendDeepAll({},t),v={};for(ee(t),g=Object.keys(t),i=0;i0&&"string"!=typeof R.parts[I];)I--;var M=R.parts[I],q=R.parts[I-1]+"."+M,G=R.parts.slice(0,I).join("."),S=n(e.layout,G).get(),z=n(p,G).get(),U=R.get();if(void 0!==E){k[F]=E,D[F]="reverse"===M?E:Y(U);var B=l.getLayoutValObject(p,R.parts);if(B&&B.impliedEdits&&null!==E)for(var $ in B.impliedEdits)C(r.relativeAttr(F,$),B.impliedEdits[$]);if(-1!==["width","height"].indexOf(F))if(E){C("autosize",null);var N="height"===F?"width":"height";C(N,p[N])}else p[F]=e._initialAutoSize[F];else if("autosize"===F)C("width",E?null:p.width),C("height",E?null:p.height);else if(q.match(ne))L(q),n(p,G+"._inputRange").set(null);else if(q.match(ie)){L(q),n(p,G+"._inputRange").set(null);var H=n(p,G).get();H._inputDomain&&(H._input.domain=H._inputDomain.slice())}else q.match(oe)&&n(p,G+"._inputDomain").set(null);if("type"===M){var Q=S,V="linear"===z.type&&"log"===E,W="log"===z.type&&"linear"===E;if(V||W){if(Q&&Q.range)if(z.autorange)V&&(Q.range=Q.range[1]>Q.range[0]?[1,2]:[2,1]);else{var J=Q.range[0],X=Q.range[1];V?(J<=0&&X<=0&&C(G+".autorange",!0),J<=0?J=X/1e6:X<=0&&(X=J/1e6),C(G+".range[0]",Math.log(J)/Math.LN10),C(G+".range[1]",Math.log(X)/Math.LN10)):(C(G+".range[0]",Math.pow(10,J)),C(G+".range[1]",Math.pow(10,X)))}else C(G+".autorange",!0);Array.isArray(p._subplots.polar)&&p._subplots.polar.length&&p[R.parts[0]]&&"radialaxis"===R.parts[1]&&delete p[R.parts[0]]._subplot.viewInitial["radialaxis.range"],s.getComponentMethod("annotations","convertCoords")(e,z,E,C),s.getComponentMethod("images","convertCoords")(e,z,E,C)}else C(G+".autorange",!0),C(G+".range",null);n(p,G+"._inputRange").set(null)}else if(M.match(b)){var K=n(p,F).get(),te=(E||{}).type;te&&"-"!==te||(te="linear"),s.getComponentMethod("annotations","convertCoords")(e,K,te,C),s.getComponentMethod("images","convertCoords")(e,K,te,C)}var ae=_.containerArrayMatch(F);if(ae){a=ae.array,i=ae.index;var re=ae.property,se=B||{editType:"calc"};""!==i&&""===re&&(_.isAddVal(E)?D[F]=null:_.isRemoveVal(E)?D[F]=(n(u,a).get()||[])[i]:r.warn("unrecognized full object value",t)),w.update(P,se),v[a]||(v[a]={});var ue=v[a][i];ue||(ue=v[a][i]={}),ue[re]=E,delete t[F]}else"reverse"===M?(S.range?S.range.reverse():(C(G+".autorange",!0),S.range=[1,0]),z.autorange?P.calc=!0:P.plot=!0):(p._has("scatter-like")&&p._has("regl")&&"dragmode"===F&&("lasso"===E||"select"===E)&&"lasso"!==U&&"select"!==U?P.plot=!0:p._has("gl2d")?P.plot=!0:B?w.update(P,B):P.calc=!0,R.set(E))}}for(a in v){_.applyContainerArrayChanges(e,f(u,a),v[a],P,f)||(P.plot=!0)}var pe=p._axisConstraintGroups||[];for(T in j)for(i=0;i1;)if(r.pop(),void 0!==(a=n(t,r.join(".")+".uirevision").get()))return a;return t.uirevision}function he(e,t){for(var a=0;a=i.length?i[0]:i[e]:i}function l(e){return Array.isArray(o)?e>=o.length?o[0]:o[e]:o}function p(e,t){var a=0;return function(){if(e&&++a===t)return e()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise(function(o,d){function c(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var t=n._currentFrame=n._frameQueue.shift();if(t){var a=t.name?t.name.toString():null;e._fullLayout._currentFrame=a,n._lastFrameAt=Date.now(),n._timeToNext=t.frameOpts.duration,u.transition(e,t.frame.data,t.frame.layout,x.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then(function(){t.onComplete&&t.onComplete()}),e.emit("plotly_animatingframe",{name:a,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}function f(){e.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var t=function(){n._animationRaf=window.requestAnimationFrame(t),Date.now()-n._lastFrameAt>n._timeToNext&&c()};t()}var g,h,y=0;function v(e){return Array.isArray(i)?y>=i.length?e.transitionOpts=i[y]:e.transitionOpts=i[0]:e.transitionOpts=i,y++,e}var m=[],_=null==t,A=Array.isArray(t);if(!_&&!A&&r.isPlainObject(t))m.push({type:"object",data:v(r.extendFlat({},t))});else if(_||-1!==["string","number"].indexOf(typeof t))for(g=0;g0&&OO)&&P.push(h);m=P}}m.length>0?function(t){if(0!==t.length){for(var r=0;r=0;n--)if(r.isPlainObject(t[n])){var h=t[n].name,y=(d[h]||g[h]||{}).name,v=t[n].name,m=d[y]||g[y];y&&v&&"number"==typeof v&&m&&Ot.index?-1:e.index=0;n--){if("number"==typeof(i=f[n].frame).name&&r.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!i.name)for(;d[i.name="frame "+e._transitionData._counter++];);if(d[i.name]){for(s=0;s=0;a--)n=t[a],s.push({type:"delete",index:n}),l.unshift({type:"insert",index:n,value:i[n]});var p=u.modifyFrames,d=u.modifyFrames,c=[e,l],f=[e,s];return o&&o.add(e,p,c,d,f),u.modifyFrames(e,s)}function De(e){var t=(e=r.getGraphDiv(e))._fullLayout||{},a=e._fullData||[];return u.cleanPlot([],{},a,t),u.purge(e),i.purge(e),t._container&&t._container.remove(),delete e._context,e}function Ce(t){var a=e.select(t),n=t._fullLayout;if(n._container=a.selectAll(".plot-container").data([0]),n._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),n._paperdiv=n._container.selectAll(".svg-container").data([0]),n._paperdiv.enter().append("div").classed("svg-container",!0).style("position","relative"),n._glcontainer=n._paperdiv.selectAll(".gl-container").data([{}]),n._glcontainer.enter().append("div").classed("gl-container",!0),n._paperdiv.selectAll(".main-svg").remove(),n._paperdiv.select(".modebar-container").remove(),n._paper=n._paperdiv.insert("svg",":first-child").classed("main-svg",!0),n._toppaper=n._paperdiv.append("svg").classed("main-svg",!0),n._modebardiv=n._paperdiv.append("div"),n._hoverpaper=n._paperdiv.append("svg").classed("main-svg",!0),!n._uid){var i={};e.selectAll("defs").each(function(){this.id&&(i[this.id.split("-")[1]]=1)}),n._uid=r.randstr(i)}n._paperdiv.selectAll(".main-svg").attr(h.svgAttrs),n._defs=n._paper.append("defs").attr("id","defs-"+n._uid),n._clips=n._defs.append("g").classed("clips",!0),n._topdefs=n._toppaper.append("defs").attr("id","topdefs-"+n._uid),n._topclips=n._topdefs.append("g").classed("clips",!0),n._bgLayer=n._paper.append("g").classed("bglayer",!0),n._draggers=n._paper.append("g").classed("draglayer",!0);var o=n._paper.append("g").classed("layer-below",!0);n._imageLowerLayer=o.append("g").classed("imagelayer",!0),n._shapeLowerLayer=o.append("g").classed("shapelayer",!0),n._cartesianlayer=n._paper.append("g").classed("cartesianlayer",!0),n._polarlayer=n._paper.append("g").classed("polarlayer",!0),n._ternarylayer=n._paper.append("g").classed("ternarylayer",!0),n._geolayer=n._paper.append("g").classed("geolayer",!0),n._funnelarealayer=n._paper.append("g").classed("funnelarealayer",!0),n._pielayer=n._paper.append("g").classed("pielayer",!0),n._treemaplayer=n._paper.append("g").classed("treemaplayer",!0),n._sunburstlayer=n._paper.append("g").classed("sunburstlayer",!0),n._indicatorlayer=n._toppaper.append("g").classed("indicatorlayer",!0),n._glimages=n._paper.append("g").classed("glimages",!0);var s=n._toppaper.append("g").classed("layer-above",!0);n._imageUpperLayer=s.append("g").classed("imagelayer",!0),n._shapeUpperLayer=s.append("g").classed("shapelayer",!0),n._infolayer=n._toppaper.append("g").classed("infolayer",!0),n._menulayer=n._toppaper.append("g").classed("menulayer",!0),n._zoomlayer=n._toppaper.append("g").classed("zoomlayer",!0),n._hoverlayer=n._hoverpaper.append("g").classed("hoverlayer",!0),n._modebardiv.classed("modebar-container",!0).style("position","absolute").style("top","0px").style("right","0px"),t.emit("plotly_framework")}exports.animate=Oe,exports.addFrames=Pe,exports.deleteFrames=ke,exports.addTraces=H,exports.deleteTraces=Q,exports.extendTraces=$,exports.moveTraces=V,exports.prependTraces=N,exports.newPlot=E,exports.plot=k,exports.purge=De,exports.react=_e,exports.redraw=R,exports.relayout=te,exports.restyle=W,exports.setPlotConfig=C,exports.update=ue,exports._guiRelayout=pe(te),exports._guiRestyle=pe(W),exports._guiUpdate=pe(ue),exports._storeDirectGUIEdit=X; -},{"d3":"uT61","fast-isnumeric":"T2RE","has-hover":"VmCq","../lib":"Ra1u","../lib/events":"DkOh","../lib/queue":"oqW1","../registry":"RoGf","./plot_schema":"qkUv","../plots/plots":"MuEg","../plots/polar/legacy":"R5AH","../plots/cartesian/axes":"VI4t","../components/drawing":"HEt8","../components/color":"fSwg","../plots/cartesian/graph_interact":"xiT2","../constants/xmlns_namespaces":"cFDs","../lib/svg_text_utils":"q7WC","../plots/cartesian/select":"BU1b","./plot_config":"Bh3D","./manage_arrays":"XoEq","./helpers":"lIuo","./subroutines":"zjF8","./edit_types":"VPPm","../plots/cartesian/constants":"OeVF"}],"GvIx":[function(require,module,exports) { -"use strict";var e=require("../registry");exports.getDelay=function(e){return e._has&&(e._has("gl3d")||e._has("gl2d")||e._has("mapbox"))?500:0},exports.getRedrawFunc=function(t){return function(){var r=t._fullLayout||{};!(r._has&&r._has("polar"))&&t.data&&t.data[0]&&t.data[0].r||e.getComponentMethod("colorbar","draw")(t)}},exports.encodeSVG=function(e){return"data:image/svg+xml,"+encodeURIComponent(e)};var t=window.URL||window.webkitURL;function r(e){for(var t=e.length,r=new ArrayBuffer(t),o=new Uint8Array(r),a=0;a")?"":l.html(e).text()});return l.remove(),r}function d(e){return e.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")}module.exports=function(c,p,h){var u,f=c._fullLayout,g=f._paper,y=f._toppaper,v=f.width,m=f.height;g.insert("rect",":first-child").call(l.setRect,0,0,v,m).call(r.fill,f.paper_bgcolor);var x=f._basePlotModules||[];for(u=0;upath, .legendlines>path, .cbfill").each(function(){var t=e.select(this),l=this.style.fill;l&&-1!==l.indexOf("url(")&&t.style("fill",l.replace(n,s));var r=this.style.stroke;r&&-1!==r.indexOf("url(")&&t.style("stroke",r.replace(n,s))}),"pdf"!==p&&"eps"!==p||g.selectAll("#MathJax_SVG_glyphs path").attr("stroke-width",0),g.node().setAttributeNS(i.xmlns,"xmlns",i.svg),g.node().setAttributeNS(i.xmlns,"xmlns:xlink",i.xlink),"svg"===p&&h&&(g.attr("width",h*v),g.attr("height",h*m),g.attr("viewBox","0 0 "+v+" "+m));var A=(new window.XMLSerializer).serializeToString(g.node());return A=(A=d(A=o(A))).replace(a,"'"),t.isIE()&&(A=(A=(A=A.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),A}; -},{"d3":"uT61","../lib":"Ra1u","../components/drawing":"HEt8","../components/color":"fSwg","../constants/xmlns_namespaces":"cFDs"}],"hgIL":[function(require,module,exports) { -"use strict";var e=require("../lib"),r=require("events").EventEmitter,t=require("./helpers");function a(a){var i=a.emitter||new r,o=new Promise(function(r,s){var n=window.Image,g=a.svg,c=a.format||"png";if(e.isIE()&&"svg"!==c){var m=new Error(t.MSG_IE_BAD_FORMAT);return s(m),a.promise?o:i.emit("error",m)}var v,p,u=a.canvas,w=a.scale||1,b=a.width||300,l=a.height||150,f=w*b,d=w*l,h=u.getContext("2d"),E=new n;"svg"===c||e.isIE9orBelow()||e.isSafari()?p=t.encodeSVG(g):(v=t.createBlob(g,"svg"),p=t.createObjectURL(v)),u.width=f,u.height=d,E.onload=function(){var e;switch(v=null,t.revokeObjectURL(p),"svg"!==c&&h.drawImage(E,0,0,f,d),c){case"jpeg":e=u.toDataURL("image/jpeg");break;case"png":e=u.toDataURL("image/png");break;case"webp":e=u.toDataURL("image/webp");break;case"svg":e=p;break;default:var o="Image format is not jpeg, png, svg or webp.";if(s(new Error(o)),!a.promise)return i.emit("error",o)}r(e),a.promise||i.emit("success",e)},E.onerror=function(e){if(v=null,t.revokeObjectURL(p),s(e),!a.promise)return i.emit("error",e)},E.src=p});return a.promise?o:i}module.exports=a; -},{"../lib":"Ra1u","events":"GgUy","./helpers":"GvIx"}],"QCaF":[function(require,module,exports) { -"use strict";var e=require("fast-isnumeric"),t=require("./plot_api"),i=require("../lib"),n=require("../snapshot/helpers"),a=require("../snapshot/tosvg"),r=require("../snapshot/svgtoimg"),o={format:{valType:"enumerated",values:["png","jpeg","webp","svg"],dflt:"png",description:"Sets the format of exported image."},width:{valType:"number",min:1,description:["Sets the exported image width.","Defaults to the value found in `layout.width`","If set to *null*, the exported image width will match the current graph width."].join(" ")},height:{valType:"number",min:1,description:["Sets the exported image height.","Defaults to the value found in `layout.height`","If set to *null*, the exported image height will match the current graph height."].join(" ")},scale:{valType:"number",min:0,dflt:1,description:["Sets a scaling for the generated image.","If set, all features of a graphs (e.g. text, line width)","are scaled, unlike simply setting","a bigger *width* and *height*."].join(" ")},setBackground:{valType:"any",dflt:!1,description:["Sets the image background mode.","By default, the image background is determined by `layout.paper_bgcolor`,","the *transparent* mode.","One might consider setting `setBackground` to *opaque*","when exporting a *jpeg* image as JPEGs do not support opacity."].join(" ")},imageDataOnly:{valType:"boolean",dflt:!1,description:["Determines whether or not the return value is prefixed by","the image format's corresponding 'data:image;' spec."].join(" ")}};function h(h,l){var u,d,s,g;function c(e){return!(e in l)||i.validate(l[e],o[e])}if(l=l||{},i.isPlainObject(h)?(u=h.data||[],d=h.layout||{},s=h.config||{},g={}):(h=i.getGraphDiv(h),u=i.extendDeep([],h.data),d=i.extendDeep({},h.layout),s=h._context,g=h._fullLayout||{}),!c("width")&&null!==l.width||!c("height")&&null!==l.height)throw new Error("Height and width should be pixel values.");if(!c("format"))throw new Error("Image format is not jpeg, png, svg or webp.");var p={};function m(e,t){return i.coerce(l,p,o,e,t)}var f=m("format"),w=m("width"),v=m("height"),y=m("scale"),b=m("setBackground"),x=m("imageDataOnly"),_=document.createElement("div");_.style.position="absolute",_.style.left="-5000px",document.body.appendChild(_);var j=i.extendFlat({},d);w?j.width=w:null===l.width&&e(g.width)&&(j.width=g.width),v?j.height=v:null===l.height&&e(g.height)&&(j.height=g.height);var D=i.extendFlat({},s,{_exportedPlot:!0,staticPlot:!0,setBackground:b}),P=n.getRedrawFunc(_);function k(){return new Promise(function(e){setTimeout(e,n.getDelay(_._fullLayout))})}function q(){return new Promise(function(e,o){var h=a(_,f,y),l=_._fullLayout.width,u=_._fullLayout.height;if(t.purge(_),document.body.removeChild(_),"svg"===f)return e(x?h:n.encodeSVG(h));var d=document.createElement("canvas");d.id=i.randstr(),r({format:f,width:l,height:u,scale:y,canvas:d,svg:h,promise:!0}).then(e).catch(o)})}return new Promise(function(e,i){t.plot(_,u,j,D).then(P).then(k).then(q).then(function(t){e(function(e){return x?e.replace(n.IMAGE_URL_PREFIX,""):e}(t))}).catch(function(e){i(e)})})}module.exports=h; -},{"fast-isnumeric":"T2RE","./plot_api":"lSwD","../lib":"Ra1u","../snapshot/helpers":"GvIx","../snapshot/tosvg":"VTQQ","../snapshot/svgtoimg":"hgIL"}],"Y24X":[function(require,module,exports) { -"use strict";var e=require("../lib"),t=require("../plots/plots"),r=require("./plot_schema"),a=require("./plot_config").dfltConfig,n=e.isPlainObject,u=Array.isArray,s=e.isArrayOrTypedArray;function i(t,r,a,o,l,c){c=c||[];for(var d=Object.keys(t),p=0;pg.length&&o.push(f("unused",l,m.concat(g.length)));var A,_,O,I,M,q=g.length,D=Array.isArray(T);if(D&&(q=Math.min(q,T.length)),2===j.dimensions)for(_=0;_g[_].length&&o.push(f("unused",l,m.concat(_,g[_].length)));var F=g[_].length;for(A=0;A<(D?Math.min(F,T[_].length):F);A++)O=D?T[_][A]:T,I=b[_][A],M=g[_][A],e.validate(I,O)?M!==I&&M!==+I&&o.push(f("dynamic",l,m.concat(_,A),I,M)):o.push(f("value",l,m.concat(_,A),I))}else o.push(f("array",l,m.concat(_),b[_]));else for(_=0;_1&&d.push(f("object","layout"))),t.supplyDefaults(p);for(var y=p._fullData,m=c.length,b=0;bx?f.push({code:"unused",traceType:g,templateCount:b,dataCount:x}):x>b&&f.push({code:"reused",traceType:g,templateCount:b,dataCount:x})}}else f.push({code:"data"});if(function e(a,r){for(var n in a)if("_"!==n.charAt(0)){var o=a[n],l=y(a,n,r);t(o)?(Array.isArray(a)&&!1===o._template&&o.templateitemname&&f.push({code:"missing",path:l,templateitemname:o.templateitemname}),e(o,l)):Array.isArray(o)&&d(o)&&e(o,l)}}({data:c,layout:m},""),f.length)return f.map(h)}; -},{"../lib":"Ra1u","./plot_schema":"qkUv","../plots/plots":"MuEg","../plots/attributes":"w5bL","./plot_template":"Df6H","./plot_config":"Bh3D"}],"RtIa":[function(require,module,exports) { -"use strict";var e=require("./plot_api");exports.plot=e.plot,exports.newPlot=e.newPlot,exports.restyle=e.restyle,exports.relayout=e.relayout,exports.redraw=e.redraw,exports.update=e.update,exports._guiRestyle=e._guiRestyle,exports._guiRelayout=e._guiRelayout,exports._guiUpdate=e._guiUpdate,exports._storeDirectGUIEdit=e._storeDirectGUIEdit,exports.react=e.react,exports.extendTraces=e.extendTraces,exports.prependTraces=e.prependTraces,exports.addTraces=e.addTraces,exports.deleteTraces=e.deleteTraces,exports.moveTraces=e.moveTraces,exports.purge=e.purge,exports.addFrames=e.addFrames,exports.deleteFrames=e.deleteFrames,exports.animate=e.animate,exports.setPlotConfig=e.setPlotConfig,exports.toImage=require("./to_image"),exports.validate=require("./validate"),exports.downloadImage=require("../snapshot/download");var t=require("./template_api");exports.makeTemplate=t.makeTemplate,exports.validateTemplate=t.validateTemplate; -},{"./plot_api":"lSwD","./to_image":"QCaF","./validate":"Y24X","../snapshot/download":"HgUJ","./template_api":"X3Sn"}],"fB7G":[function(require,module,exports) { -"use strict";var e=require("../../lib"),r=require("../../registry");module.exports=function(n,t,i,a){var o,u=a("x"),h=a("y");if(r.getComponentMethod("calendars","handleTraceDefaults")(n,t,["x","y"],i),u){var l=e.minRowLength(u);h?o=Math.min(l,e.minRowLength(h)):(o=l,a("y0"),a("dy"))}else{if(!h)return 0;o=e.minRowLength(h),a("x0"),a("dx")}return t._length=o,o}; -},{"../../lib":"Ra1u","../../registry":"RoGf"}],"I4Dz":[function(require,module,exports) { -"use strict";var t=["orientation","groupnorm","stackgaps"];module.exports=function(r,a,e,i){var o=e._scatterStackOpts,n=i("stackgroup");if(n){var s=a.xaxis+a.yaxis,l=o[s];l||(l=o[s]={});var c=l[n],f=!1;c?c.traces.push(a):(c=l[n]={traceIndices:[],traces:[a]},f=!0);for(var v={orientation:a.x&&!a.y?"h":"v"},u=0;u=0;o--){var r=t[o];if("scatter"===r.type&&r.xaxis===i.xaxis&&r.yaxis===i.yaxis){r.opacity=void 0;break}}}}}; -},{}],"QslR":[function(require,module,exports) { -"use strict";var e=require("../../components/colorscale/helpers").hasColorscale,r=require("../../components/colorscale/calc"),c=require("./subtypes");module.exports=function(o,a){c.hasLines(a)&&e(a,"line")&&r(o,a,{vals:a.line.color,containerStr:"line",cLetter:"c"}),c.hasMarkers(a)&&(e(a,"marker")&&r(o,a,{vals:a.marker.color,containerStr:"marker",cLetter:"c"}),e(a,"marker.line")&&r(o,a,{vals:a.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}; -},{"../../components/colorscale/helpers":"aSM5","../../components/colorscale/calc":"wVZj","./subtypes":"WwK3"}],"zmTn":[function(require,module,exports) { -"use strict";var r=require("../../lib");module.exports=function(e,t){for(var a=0;ax&&S[m].gap;)m--;for(_=S[m].s,y=S.length-1;y>m;y--)S[y].s=_;for(;xq[f]&&f0?i:t)/(z._m*T*(z._m>0?i:t)))),f*=1e3}if(s===r){if(L&&(s=z.c2p(u.y,!0)),s===r)return!1;s*=1e3}return[f,s]}function J(n,r,e,i){var t=e-n,a=i-r,u=.5-n,f=.5-r,s=t*t+a*a,l=t*u+a*f;if(l>0&&len||n[1]an)return[f(n[0],rn,en),f(n[1],tn,an)]}function sn(n,r){return n[0]===r[0]&&(n[0]===rn||n[0]===en)||(n[1]===r[1]&&(n[1]===tn||n[1]===an)||void 0)}function ln(n,r,e){return function(i,t){var u=fn(i),f=fn(t),s=[];if(u&&f&&sn(u,f))return s;u&&s.push(u),f&&s.push(f);var l=2*a.constrain((i[n]+t[n])/2,r,e)-((u||i)[n]+(f||t)[n]);l&&((u&&f?l>0==u[n]>f[n]?u:f:u||f)[n]+=l);return s}}function on(n){var r=n[0],e=n[1],i=r===E[F-1][0],t=e===E[F-1][1];if(!i||!t)if(F>1){var a=r===E[F-2][0],u=e===E[F-2][1];i&&(r===rn||r===en)&&a?u?F--:E[F-1]=n:t&&(e===tn||e===an)&&u?a?F--:E[F-1]=n:E[F++]=n}else E[F++]=n}function cn(n){E[F-1][0]!==n[0]&&E[F-1][1]!==n[1]&&on([W,X]),on(n),Y=null,W=X=0}function hn(n){if(w=n[0]/T,A=n[1]/B,R=n[0]en?en:0,V=n[1]an?an:0,R||V){if(F)if(Y){var r=$(Y,n);r.length>1&&(cn(r[0]),E[F++]=r[1])}else Z=$(E[F-1],n)[0],E[F++]=Z;else E[F++]=[R||n[0],V||n[1]];var e=E[F-1];R&&V&&(e[0]!==R||e[1]!==V)?(Y&&(W!==R&&X!==V?on(W&&X?(i=Y,a=(t=n)[0]-i[0],u=(t[1]-i[1])/a,(i[1]*t[0]-t[1]*i[0])/a>0?[u>0?rn:en,an]:[u>0?en:rn,tn]):[W||R,X||V]):W&&X&&on([W,X])),on([R,V])):W-R&&X-V&&on([R||W,V||X]),Y=n,W=R,X=V}else Y&&cn($(Y,n)[0]),E[F++]=n;var i,t,a,u}for("linear"===N||"spline"===N?$=function(n,r){for(var e=[],i=0,t=0;t<4;t++){var a=un[t],f=u(n[0],n[1],r[0],r[1],a[0],a[1],a[2],a[3]);f&&(!i||Math.abs(f.x-e[0][0])>1||Math.abs(f.y-e[0][1])>1)&&(f=[f.x,f.y],i&&Q(f,n)K(p,vn))break;c=p,(_=y[0]*x[0]+y[1]*x[1])>g?(g=_,h=p,m=!1):_=n.length||!p)break;hn(p),o=p}}else hn(h)}Y&&on([W||Y[0],X||Y[1]]),S.push(E.slice(0,F))}return S}; -},{"../../constants/numerical":"NTky","../../lib":"Ra1u","./constants":"MsWg"}],"iZbU":[function(require,module,exports) { -"use strict";var t={tonextx:1,tonexty:1,tonext:1};module.exports=function(e,r,l){var n,o,i,a,c,u={},f=!1,s=-1,x=0,_=-1;for(o=0;o=0?c=_:(c=_=x,x++),c0;function m(e){return x?e.transition():e}var _=p.xaxis,M=p.yaxis,k=h[0].trace,S=k.line,b=e.select(y),P=a(b,"g","errorbars"),A=a(b,"g","lines"),C=a(b,"g","points"),L=a(b,"g","text");if(t.getComponentMethod("errorbars","plot")(o,P,p,v),!0===k.visible){var F,q;m(b).style("opacity",k.opacity);var R=k.fill.charAt(k.fill.length-1);"x"!==R&&"y"!==R&&(R=""),h[0][p.isRangePlot?"nodeRangePlot3":"node3"]=b;var Z,w,j="",I=[],O=k._prevtrace;O&&(j=O._prevRevpath||"",q=O._nextFill,I=O._polygons);var U,E,G,T,z,B,D,H="",J="",K=[],N=n.noop;if(F=k._ownFill,i.hasLines(k)||"none"!==k.fill){for(q&&q.datum(h),-1!==["hv","vh","hvh","vhv"].indexOf(S.shape)?(U=r.steps(S.shape),E=r.steps(S.shape.split("").reverse().join(""))):U=E="spline"===S.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?r.smoothclosed(e.slice(1),S.smoothing):r.smoothopen(e,S.smoothing)}:function(e){return"M"+e.join("L")},G=function(e){return E(e.reverse())},K=s(h,{xaxis:_,yaxis:M,connectGaps:k.connectgaps,baseTolerance:Math.max(S.width||1,3)/4,shape:S.shape,simplify:S.simplify,fill:k.fill}),D=k._polygons=new Array(K.length),g=0;g1){var a=e.select(this);if(a.datum(h),t)m(a.style("opacity",0).attr("d",Z).call(r.lineGroupStyle)).style("opacity",1);else{var l=m(a);l.attr("d",Z),r.singleLineStyle(h,l)}}}}}var Q=A.selectAll(".js-line").data(K);m(Q.exit()).style("opacity",0).remove(),Q.each(N(!1)),Q.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(r.lineGroupStyle).each(N(!0)),r.setClipUrl(Q,p.layerClipId,o),K.length?(F?(F.datum(h),T&&B&&(R?("y"===R?T[1]=B[1]=M.c2p(0,!0):"x"===R&&(T[0]=B[0]=_.c2p(0,!0)),m(F).attr("d","M"+B+"L"+T+"L"+H.substr(1)).call(r.singleFillStyle)):m(F).attr("d",H+"Z").call(r.singleFillStyle))):q&&("tonext"===k.fill.substr(0,6)&&H&&j?("tonext"===k.fill?m(q).attr("d",H+"Z"+j+"Z").call(r.singleFillStyle):m(q).attr("d",H+"L"+j.substr(1)+"Z").call(r.singleFillStyle),k._polygons=k._polygons.concat(I)):(W(q),k._polygons=null)),k._prevRevpath=J,k._prevPolygons=D):(F?W(F):q&&W(q),k._polygons=k._prevRevpath=k._prevPolygons=null),C.datum(h),L.datum(h),function(t,n,a){var s,c=a[0].trace,u=i.hasMarkers(c),d=i.hasText(c),h=te(c),f=ne,y=ne;if(u||d){var v=l,g=c.stackgroup,k=g&&"infer zero"===o._fullLayout._scatterStackOpts[_._id+M._id][g].stackgaps;c.marker.maxdisplayed||c._needsCull?v=k?Y:X:g&&!k&&(v=$),u&&(f=v),d&&(y=v)}var S,b=(s=t.selectAll("path.point").data(f,h)).enter().append("path").classed("point",!0);x&&b.call(r.pointStyle,c,o).call(r.translatePoints,_,M).style("opacity",0).transition().style("opacity",1),s.order(),u&&(S=r.makePointStyleFns(c)),s.each(function(t){var n=e.select(this),a=m(n);r.translatePoint(t,a,_,M)?(r.singlePointStyle(t,a,c,S,o),p.layerClipId&&r.hideOutsideRangePoint(t,a,_,M,c.xcalendar,c.ycalendar),c.customdata&&n.classed("plotly-customdata",null!==t.data&&void 0!==t.data)):a.remove()}),x?s.exit().transition().style("opacity",0).remove():s.exit().remove(),(s=n.selectAll("g").data(y,h)).enter().append("g").classed("textpoint",!0).append("text"),s.order(),s.each(function(t){var n=e.select(this),a=m(n.select("text"));r.translatePoint(t,a,_,M)?p.layerClipId&&r.hideOutsideRangePoint(t,n,_,M,c.xcalendar,c.ycalendar):n.remove()}),s.selectAll("text").call(r.textPointStyle,c,o).each(function(t){var n=_.c2p(t.x),a=M.c2p(t.y);e.select(this).selectAll("tspan.line").each(function(){m(e.select(this)).attr({x:n,y:a})})}),s.exit().remove()}(C,L,h);var V=!1===k.cliponaxis?null:p.layerClipId;r.setClipUrl(C,V,o),r.setClipUrl(L,V,o)}function W(e){m(e).attr("d","M0,0Z")}function X(e){return e.filter(function(e){return!e.gap&&e.vis})}function Y(e){return e.filter(function(e){return e.vis})}function $(e){return e.filter(function(e){return!e.gap})}function ee(e){return e.id}function te(e){if(e.ids)return ee}function ne(){return!1}}function d(t,a,l,r,s){var o=l.xaxis,c=l.yaxis,u=e.extent(n.simpleMap(o.range,o.r2c)),p=e.extent(n.simpleMap(c.range,c.r2c)),d=r[0].trace;if(i.hasMarkers(d)){var h=d.marker.maxdisplayed;if(0!==h){var f=r.filter(function(e){return e.x>=u[0]&&e.x<=u[1]&&e.y>=p[0]&&e.y<=p[1]}),y=Math.ceil(f.length/h),v=0;s.forEach(function(e,t){var n=e[0].trace;i.hasMarkers(n)&&n.marker.maxdisplayed>0&&t0,f=o(t,n,a);((s=l.selectAll("g.trace").data(f,function(e){return e[0].trace.uid})).enter().append("g").attr("class",function(e){return"trace scatter trace"+e[0].trace.uid}).style("stroke-miterlimit",2),s.order(),u(t,s,n),h)?(i&&(c=i()),e.transition().duration(r.duration).ease(r.easing).each("end",function(){c&&c()}).each("interrupt",function(){c&&c()}).each(function(){l.selectAll("g.trace").each(function(e,a){p(t,a,n,e,f,this,r)})})):s.each(function(e,a){p(t,a,n,e,f,this,r)});d&&s.exit().remove(),l.selectAll("path:not([d])").remove()}; -},{"d3":"uT61","../../registry":"RoGf","../../lib":"Ra1u","../../components/drawing":"HEt8","./subtypes":"WwK3","./line_points":"ciPx","./link_traces":"iZbU","../../lib/polygon":"AFwN"}],"nR0T":[function(require,module,exports) { -"use strict";module.exports={container:"marker",min:"cmin",max:"cmax"}; -},{}],"cayK":[function(require,module,exports) { -"use strict";var e=require("../../plots/cartesian/axes");module.exports=function(t,r,a){var x={},c={_fullLayout:a},o=e.getFromTrace(c,r,"x"),u=e.getFromTrace(c,r,"y");return x.xLabel=e.tickText(o,t.x,!0).text,x.yLabel=e.tickText(u,t.y,!0).text,x}; -},{"../../plots/cartesian/axes":"VI4t"}],"G3WW":[function(require,module,exports) { -"use strict";var e=require("d3"),t=require("../../components/drawing"),l=require("../../registry");function c(c){var n=e.select(c).selectAll("g.trace.scatter");n.style("opacity",function(e){return e[0].trace.opacity}),n.selectAll("g.points").each(function(t){s(e.select(this),t.trace||t[0].trace,c)}),n.selectAll("g.text").each(function(t){r(e.select(this),t.trace||t[0].trace,c)}),n.selectAll("g.trace path.js-line").call(t.lineGroupStyle),n.selectAll("g.trace path.js-fill").call(t.fillGroupStyle),l.getComponentMethod("errorbars","style")(n)}function s(e,l,c){t.pointStyle(e.selectAll("path.point"),l,c)}function r(e,l,c){t.textPointStyle(e.selectAll("text"),l,c)}function n(e,l,c){var n=l[0].trace;n.selectedpoints?(t.selectedPointStyle(c.selectAll("path.point"),n),t.selectedTextStyle(c.selectAll("text"),n)):(s(c,n,e),r(c,n,e))}module.exports={style:c,stylePoints:s,styleText:r,styleOnSelect:n}; -},{"d3":"uT61","../../components/drawing":"HEt8","../../registry":"RoGf"}],"ANUd":[function(require,module,exports) { -"use strict";var o=require("../../components/color"),r=require("./subtypes");module.exports=function(e,i){var l,c;if("lines"===e.mode)return(l=e.line.color)&&o.opacity(l)?l:e.fillcolor;if("none"===e.mode)return e.fill?e.fillcolor:"";var t=i.mcc||(e.marker||{}).color,n=i.mlcc||((e.marker||{}).line||{}).color;return(c=t&&o.opacity(t)?t:n&&o.opacity(n)&&(i.mlw||((e.marker||{}).line||{}).width)?n:"")?o.opacity(c)<.3?o.addOpacity(c,.3):c:(l=(e.line||{}).color)&&o.opacity(l)&&r.hasLines(e)&&e.line.width?l:e.fillcolor}; -},{"../../components/color":"fSwg","./subtypes":"WwK3"}],"YLFG":[function(require,module,exports) { -"use strict";var e=require("../../lib"),t=require("../../components/fx"),r=require("../../registry"),a=require("./get_trace_color"),n=require("../../components/color"),o=e.fillText;module.exports=function(i,l,c,x){var m=i.cd,h=m[0].trace,s=i.xa,p=i.ya,f=s.c2p(l),u=p.c2p(c),y=[f,u],v=h.hoveron||"",d=-1!==h.mode.indexOf("markers")?3:.5;if(-1!==v.indexOf("points")){var M=function(e){var t=Math.max(d,e.mrc||0),r=s.c2p(e.x)-f,a=p.c2p(e.y)-u;return Math.max(Math.sqrt(r*r+a*a)-t,1-d/t)},g=t.getDistanceFunction(x,function(e){var t=Math.max(3,e.mrc||0),r=1-1/t,a=Math.abs(s.c2p(e.x)-f);return aP!=(j=H[C][1])>=P&&(N=H[C-1][0],S=H[C][0],j-T&&(I=N+(S-N)*(P-T)/(j-T),E=Math.min(E,I),G=Math.max(G,I)));E=Math.max(E,0),G=Math.min(G,s._length);var Q=n.defaultLine;return n.opacity(h.fillcolor)?Q=h.fillcolor:n.opacity((h.line||{}).color)&&(Q=h.line.color),e.extendFlat(i,{distance:i.maxHoverDistance,x0:E,x1:G,y0:P,y1:P,color:Q,hovertemplate:!1}),delete i.index,h.text&&!Array.isArray(h.text)?i.text=String(h.text):i.text=h.name,[i]}}}; -},{"../../lib":"Ra1u","../../components/fx":"uSUT","../../registry":"RoGf","./get_trace_color":"ANUd","../../components/color":"fSwg"}],"p9LC":[function(require,module,exports) { -"use strict";var e=require("./subtypes");module.exports=function(r,s){var t,c,i,n,u=r.cd,a=r.xaxis,l=r.yaxis,x=[],d=u[0].trace;if(!e.hasMarkers(d)&&!e.hasText(d))return[];if(!1===s)for(t=0;t0&&(n["_"+i+"axes"]||{})[t])return n;if((n[i+"axis"]||i)===t){if(a(n,i))return n;if((n[i]||[]).length||n[i+"0"])return n}}}function n(e){return{v:"x",h:"y"}[e.orientation||"v"]}function a(t,i){var r=n(t),a=e(t,"box-violin"),o=e(t._fullInput||{},"candlestick");return a&&!o&&i===r&&void 0===t[r]&&void 0===t[r+"0"]}module.exports=function(e,t,r,n){"-"===r("type",(n.splomStash||{}).type)&&(i(t,n.data),"-"===t.type?t.type="linear":e.type=t.type)}; -},{"../../registry":"RoGf","./axis_autotype":"bH9a"}],"YJUJ":[function(require,module,exports) { -"use strict";function a(a,r){var e,t,i,o=r.dataAttr||a._id.charAt(0),n={};if(r.axData)e=r.axData;else for(e=[],t=0;t0;c&&(o="array");var g,s=t("categoryorder",o);"array"===s&&(g=t("categoryarray")),c||"array"!==s||(s=e.categoryorder="trace"),"trace"===s?e._initialCategories=[]:"array"===s?e._initialCategories=g.slice():(g=a(e,i).sort(),"category ascending"===s?e._initialCategories=g:"category descending"===s&&(e._initialCategories=g.reverse()))}}; -},{}],"gd7r":[function(require,module,exports) { -"use strict";var e=require("tinycolor2").mix,r=require("../../components/color/attributes").lightFraction,o=require("../../lib");module.exports=function(i,l,t,n){var d=(n=n||{}).dfltColor;function c(e,r){return o.coerce2(i,l,n.attributes,e,r)}var h=c("linecolor",d),s=c("linewidth");t("showline",n.showLine||!!h||!!s)||(delete l.linecolor,delete l.linewidth);var w=c("gridcolor",e(d,n.bgColor,n.blend||r).toRgbString()),u=c("gridwidth");if(t("showgrid",n.showGrid||!!w||!!u)||(delete l.gridcolor,delete l.gridwidth),!n.noZeroLine){var g=c("zerolinecolor",d),a=c("zerolinewidth");t("zeroline",n.showGrid||!!g||!!a)||(delete l.zerolinecolor,delete l.zerolinewidth)}}; -},{"tinycolor2":"ZdXS","../../components/color/attributes":"Gju3","../../lib":"Ra1u"}],"wjxK":[function(require,module,exports) { -"use strict";var e=require("../../registry"),r=require("../../lib"),t=require("./layout_attributes"),i=require("./tick_value_defaults"),o=require("./tick_mark_defaults"),a=require("./tick_label_defaults"),l=require("./category_order_defaults"),s=require("./line_grid_defaults"),d=require("./set_convert");module.exports=function(n,u,c,f,g){var v=f.letter,_=f.font||{},m=f.splomStash||{},h=c("visible",!f.visibleDflt),y=u.type;"date"===y&&e.getComponentMethod("calendars","handleDefaults")(n,u,"calendar",f.calendar);d(u,g);var b=!u.isValidRange(n.range);b&&f.reverseDflt&&(b="reversed"),!c("autorange",b)||"linear"!==y&&"-"!==y||c("rangemode"),c("range"),u.cleanRange(),l(n,u,c,f),"category"===y||f.noHover||c("hoverformat");var q=c("color"),k=q!==t.color.dflt?q:_.color,p=m.label||g._dfltTitle[v];if(a(n,u,c,y,f,{pass:1}),!h)return u;c("title.text",p),r.coerceFont(c,"title.font",{family:_.family,size:Math.round(1.2*_.size),color:k}),i(n,u,c,y),a(n,u,c,y,f,{pass:2}),o(n,u,c,f),s(n,u,c,{dfltColor:q,bgColor:f.bgColor,showGrid:f.showGrid,attributes:t}),(u.showline||u.ticks)&&c("mirror"),f.automargin&&c("automargin");var w,C="multicategory"===u.type;f.noTickson||"category"!==u.type&&!C||!u.ticks&&!u.showgrid||(C&&(w="boundaries"),c("tickson",w));C&&(c("showdividers")&&(c("dividercolor"),c("dividerwidth")));return u}; -},{"../../registry":"RoGf","../../lib":"Ra1u","./layout_attributes":"BQE2","./tick_value_defaults":"GtyL","./tick_mark_defaults":"j4Bx","./tick_label_defaults":"IgFW","./category_order_defaults":"YJUJ","./line_grid_defaults":"gd7r","./set_convert":"jF4n"}],"Qwui":[function(require,module,exports) { -"use strict";var e=require("fast-isnumeric"),r=require("../../lib");module.exports=function(a,o,t,i){var n,l,d,s,c=i.counterAxes||[],u=i.overlayableAxes||[],m=i.letter,v=i.grid;v&&(l=v._domains[m][v._axisMap[o._id]],n=v._anchors[o._id],l&&(d=v[m+"side"].split(" ")[0],s=v.domain[m]["right"===d||"top"===d?1:0])),l=l||[0,1],n=n||(e(a.position)?"free":c[0]||"free"),d=d||("x"===m?"bottom":"left"),s=s||0,"free"===r.coerce(a,o,{anchor:{valType:"enumerated",values:["free"].concat(c),dflt:n}},"anchor")&&t("position",s),r.coerce(a,o,{side:{valType:"enumerated",values:"x"===m?["bottom","top"]:["left","right"],dflt:d}},"side");var f=!1;if(u.length&&(f=r.coerce(a,o,{overlaying:{valType:"enumerated",values:[!1].concat(u),dflt:!1}},"overlaying")),!f){var p=t("domain",l);p[0]>p[1]-1/4096&&(o.domain=l),r.noneOrAll(a.domain,o.domain,l)}return t("layer"),o}; -},{"fast-isnumeric":"T2RE","../../lib":"Ra1u"}],"rugk":[function(require,module,exports) { -"use strict";var e=require("../../lib"),r=require("../../components/color"),a=require("../../plot_api/plot_template"),t=require("../layout_attributes"),n=require("./layout_attributes"),i=require("./type_defaults"),s=require("./axis_defaults"),o=require("./constraints").handleConstraintDefaults,l=require("./position_defaults"),c=require("./axis_ids"),u=c.id2name,p=c.name2id,d=require("../../registry"),h=d.traceIs,f=d.getComponentMethod;function g(e,r,a){Array.isArray(e[r])?e[r].push(a):e[r]=[a]}module.exports=function(c,d,x){var y,_,v={},m={},b={},k={},q={},A={},w={},D={},I={},C={};for(y=0;yo.duration?(function(){for(var e={},l=0;l rect").call(r.setTranslate,0,0).call(r.setScale,1,1),e.plot.call(r.setTranslate,a._offset,l._offset).call(r.setScale,1,1);var t=e.plot.selectAll(".scatterlayer .trace");t.selectAll(".point").call(r.setPointGroupScale,1,1),t.selectAll(".textpoint").call(r.setTextPointsScale,1,1),t.call(r.hideOutsideRangePoints,e)}function d(e,a){var i=e.plotinfo,o=i.xaxis,s=i.yaxis,c=o._length,f=s._length,u=!!e.xr1,p=!!e.yr1,x=[];if(u){var m=l.simpleMap(e.xr0,o.r2l),g=l.simpleMap(e.xr1,o.r2l),d=m[1]-m[0],v=g[1]-g[0];x[0]=(m[0]*(1-a)+a*g[0]-m[0])/(m[1]-m[0])*c,x[2]=c*(1-a+a*v/d),o.range[0]=o.l2r(m[0]*(1-a)+a*g[0]),o.range[1]=o.l2r(m[1]*(1-a)+a*g[1])}else x[0]=0,x[2]=c;if(p){var y=l.simpleMap(e.yr0,s.r2l),_=l.simpleMap(e.yr1,s.r2l),w=y[1]-y[0],h=_[1]-_[0];x[1]=(y[1]*(1-a)+a*_[1]-y[1])/(y[0]-y[1])*f,x[3]=f*(1-a+a*h/w),s.range[0]=o.l2r(y[0]*(1-a)+a*_[0]),s.range[1]=s.l2r(y[1]*(1-a)+a*_[1])}else x[1]=0,x[3]=f;t.drawOne(n,o,{skipTitle:!0}),t.drawOne(n,s,{skipTitle:!0}),t.redrawComponents(n,[o._id,s._id]);var S=u?c/x[2]:1,T=p?f/x[3]:1,q=u?x[0]:0,A=p?x[1]:0,P=u?x[0]/x[2]*c:0,M=p?x[1]/x[3]*f:0,F=o._offset-P,k=s._offset-M;i.clipRect.call(r.setTranslate,q,A).call(r.setScale,1/S,1/T),i.plot.call(r.setTranslate,F,k).call(r.setScale,S,T),r.setPointGroupScale(i.zoomScalePts,1/S,1/T),r.setTextPointsScale(i.zoomScaleTxt,1/S,1/T)}t.redrawComponents(n)}; -},{"d3":"uT61","../../registry":"RoGf","../../lib":"Ra1u","../../components/drawing":"HEt8","./axes":"VI4t"}],"kzKi":[function(require,module,exports) { -"use strict";var e=require("d3"),a=require("../../registry"),l=require("../../lib"),s=require("../plots"),t=require("../../components/drawing"),r=require("../get_data").getModuleCalcData,i=require("./axis_ids"),o=require("./constants"),n=require("../../constants/xmlns_namespaces"),c=l.ensureSingle;function p(e,a,s){return l.ensureSingle(e,a,s,function(e){e.datum(s)})}function x(l,s,i,n,c){for(var p,x,u,y=o.traceLayerClasses,g=l._fullLayout,v=g._modules,f=[],h=[],d=0;d1);if(!1!==b||a.uirevision){var h,f,x,m=o.newContainer(d,"legend");if(w("uirevision",d.uirevision),!1!==b)w("bgcolor",d.paper_bgcolor),w("bordercolor"),w("borderwidth"),r.coerceFont(w,"font",d.font),"h"===w("orientation")?(h=0,e.getComponentMethod("rangeslider","isVisible")(l.xaxis)?(f=1.1,x="bottom"):(f=-.1,x="top")):(h=1.02,f=1,x="auto"),w("traceorder",g),n.isGrouped(d.legend)&&w("tracegroupgap"),w("itemsizing"),w("itemclick"),w("itemdoubleclick"),w("x",h),w("xanchor"),w("y",f),w("yanchor",x),w("valign"),r.noneOrAll(a,m,["x","y"])}function w(e,o){return r.coerce(a,m,i,e,o)}}; -},{"../../registry":"RoGf","../../lib":"Ra1u","../../plot_api/plot_template":"Df6H","./attributes":"cf4X","../../plots/layout_attributes":"SEhR","./helpers":"fqRt"}],"qdZe":[function(require,module,exports) { -"use strict";var e=require("../../lib"),l=require("../../registry"),i=!0;module.exports=function(t,n,a){var r=n._fullLayout;if(!n._dragged&&!n._editing){var o,s=r.legend.itemclick,g=r.legend.itemdoubleclick;if(1===a&&"toggle"===s&&"toggleothers"===g&&i&&n.data&&n._context.showTips?(e.notifier(e._(n,"Double-click on legend to isolate one trace"),"long"),i=!1):i=!1,1===a?o=s:2===a&&(o=g),o){var d,u,f,c,b,h=r.hiddenlabels?r.hiddenlabels.slice():[],v=t.data()[0][0],p=n._fullData,y=v.trace,_=y.legendgroup,k={},x=[],I=[],m=[];if(l.traceIs(y,"pie-like")){var O=v.label,L=h.indexOf(O);"toggle"===o?-1===L?h.push(O):h.splice(L,1):"toggleothers"===o&&(h=[],n.calcdata[0].forEach(function(e){O!==e.label&&h.push(e.label)}),n._fullLayout.hiddenlabels&&n._fullLayout.hiddenlabels.length===h.length&&-1===L&&(h=[])),l.call("_guiRelayout",n,"hiddenlabels",h)}else{var w,T=_&&_.length,j=[];if(T)for(d=0;d0))return 0;r=t.width}return x?a:Math.min(r,l)};function k(l,a,n){var i=l[0].trace,s=i.marker||{},c=s.line||{},o=n?i.visible&&i.type===n:t.traceIs(i,"bar"),d=e.select(a).select("g.legendpoints").selectAll("path.legend"+n).data(o?[l]:[]);d.enter().append("path").classed("legend"+n,!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),d.exit().remove(),d.each(function(t){var l=e.select(this),a=t[0],n=y(a.mlw,s.line,f,p);l.style("stroke-width",n+"px").call(r.fill,a.mc||s.color),n&&r.stroke(l,a.mlc||c.color)})}function M(a,r,n){var i=a[0],o=i.trace,d=n?o.visible&&o.type===n:t.traceIs(o,n),h=e.select(r).select("g.legendpoints").selectAll("path.legend"+n).data(d?[a]:[]);if(h.enter().append("path").classed("legend"+n,!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),h.exit().remove(),h.size()){var m=(o.marker||{}).line,g=y(c(m.width,i.pts),m,f,p),v=l.minExtend(o,{marker:{line:{width:g}}});v.marker.line.color=m.color;var u=l.minExtend(i,{trace:v});s(h,u,v)}}g.each(function(t){var a=e.select(this),r=l.ensureSingle(a,"g","layers");r.style("opacity",t[0].trace.opacity);var n=u.valign,i=t[0].lineHeight,s=t[0].height;if("middle"!==n&&i&&s){var c={top:1,bottom:-1}[n]*(.5*(i-s+3));r.attr("transform","translate(0,"+c+")")}else r.attr("transform",null);r.selectAll("g.legendfill").data([t]).enter().append("g").classed("legendfill",!0),r.selectAll("g.legendlines").data([t]).enter().append("g").classed("legendlines",!0);var o=r.selectAll("g.legendsymbols").data([t]);o.enter().append("g").classed("legendsymbols",!0),o.selectAll("g.legendpoints").data([t]).enter().append("g").classed("legendpoints",!0)}).each(function(t){var l=t[0].trace,a=[];l.visible&&"waterfall"===l.type&&(a=t[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var n=e.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(a);n.enter().append("path").classed("legendwaterfall",!0).attr("transform","translate(20,0)").style("stroke-miterlimit",1),n.exit().remove(),n.each(function(t){var a=e.select(this),n=l[t[0]].marker,i=y(void 0,n.line,f,p);a.attr("d",t[1]).style("stroke-width",i+"px").call(r.fill,n.color),i&&a.call(r.stroke,n.line.color)})}).each(function(e){k(e,this,"funnel")}).each(function(e){k(e,this)}).each(function(n){var i=n[0].trace,s=e.select(this).select("g.legendpoints").selectAll("path.legendbox").data(i.visible&&t.traceIs(i,"box-violin")?[n]:[]);s.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),s.exit().remove(),s.each(function(){var t=e.select(this);if("all"!==i.boxpoints&&"all"!==i.points||0!==r.opacity(i.fillcolor)||0!==r.opacity((i.line||{}).color)){var n=y(void 0,i.line,f,p);t.style("stroke-width",n+"px").call(r.fill,i.fillcolor),n&&r.stroke(t,i.line.color)}else{var c=l.minExtend(i,{marker:{size:x?o:l.constrain(i.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});s.call(a.pointStyle,c,v)}})}).each(function(e){M(e,this,"funnelarea")}).each(function(e){M(e,this,"pie")}).each(function(t){var r,s,c=t[0],o=c.trace,p=o.visible&&o.fill&&"none"!==o.fill,f=i.hasLines(o),g=o.contours,u=!1,x=!1,k=n(o),M=k.colorscale,w=k.reversescale;if(g){var H=g.coloring;"lines"===H?u=!0:f="none"===H||"heatmap"===H||g.showlines,"constraint"===g.type?p="="!==g._operation:"fill"!==H&&"heatmap"!==H||(x=!0)}var b=i.hasMarkers(o)||i.hasText(o),A=p||x,z=f||u,V=b||!A?"M5,0":z?"M5,-2":"M5,-3",Z=e.select(this),q=Z.select(".legendfill").selectAll("path").data(p||x?[t]:[]);if(q.enter().append("path").classed("js-fill",!0),q.exit().remove(),q.attr("d",V+"h30v6h-30z").call(p?a.fillGroupStyle:function(e){if(e.size()){var t="legendfill-"+o.uid;a.gradient(e,v,t,m(w),M,"fill")}}),f||u){var E=y(void 0,o.line,h,d);s=l.minExtend(o,{line:{width:E}}),r=[l.minExtend(c,{trace:s})]}var S=Z.select(".legendlines").selectAll("path").data(f||u?[r]:[]);S.enter().append("path").classed("js-line",!0),S.exit().remove(),S.attr("d",V+(u?"l30,0.0001":"h30")).call(f?a.lineGroupStyle:function(e){if(e.size()){var t="legendline-"+o.uid;a.lineGroupStyle(e),a.gradient(e,v,t,m(w),M,"stroke")}})}).each(function(t){var r,n,s=t[0],c=s.trace,h=i.hasMarkers(c),f=i.hasText(c),m=i.hasLines(c);function g(e,t,a,r){var n=l.nestedProperty(c,e).get(),i=l.isArrayOrTypedArray(n)&&t?t(n):n;if(x&&i&&void 0!==r&&(i=r),a){if(ia[1])return a[1]}return i}function u(e){return e[0]}if(h||f||m){var y={},k={};if(h){y.mc=g("marker.color",u),y.mx=g("marker.symbol",u),y.mo=g("marker.opacity",l.mean,[.2,1]),y.mlc=g("marker.line.color",u),y.mlw=g("marker.line.width",l.mean,[0,5],p),k.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var M=g("marker.size",l.mean,[2,16],o);y.ms=M,k.marker.size=M}m&&(k.line={width:g("line.width",u,[0,10],d)}),f&&(y.tx="Aa",y.tp=g("textposition",u),y.ts=10,y.tc=g("textfont.color",u),y.tf=g("textfont.family",u)),r=[l.minExtend(s,y)],(n=l.minExtend(c,k)).selectedpoints=null,n.texttemplate=null}var w=e.select(this).select("g.legendpoints"),H=w.selectAll("path.scatterpts").data(h?r:[]);H.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform","translate(20,0)"),H.exit().remove(),H.call(a.pointStyle,n,v),h&&(r[0].mrc=3);var b=w.selectAll("g.pointtext").data(f?r:[]);b.enter().append("g").classed("pointtext",!0).append("text").attr("transform","translate(20,0)"),b.exit().remove(),b.selectAll("text").call(a.textPointStyle,n,v)}).each(function(t){var l=t[0].trace,a=e.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(l.visible&&"candlestick"===l.type?[t,t]:[]);a.enter().append("path").classed("legendcandle",!0).attr("d",function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform","translate(20,0)").style("stroke-miterlimit",1),a.exit().remove(),a.each(function(t,a){var n=e.select(this),i=l[a?"increasing":"decreasing"],s=y(void 0,i.line,f,p);n.style("stroke-width",s+"px").call(r.fill,i.fillcolor),s&&r.stroke(n,i.line.color)})}).each(function(t){var l=t[0].trace,n=e.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(l.visible&&"ohlc"===l.type?[t,t]:[]);n.enter().append("path").classed("legendohlc",!0).attr("d",function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform","translate(20,0)").style("stroke-miterlimit",1),n.exit().remove(),n.each(function(t,n){var i=e.select(this),s=l[n?"increasing":"decreasing"],c=y(void 0,s.line,f,p);i.style("fill","none").call(a.dashLine,s.line.dash,c),c&&r.stroke(i,s.line.color)})})}; -},{"d3":"uT61","../../registry":"RoGf","../../lib":"Ra1u","../drawing":"HEt8","../color":"fSwg","../colorscale/helpers":"aSM5","../../traces/scatter/subtypes":"WwK3","../../traces/pie/style_one":"vuA2","../../traces/pie/helpers":"al8I"}],"oaGr":[function(require,module,exports) { -"use strict";var e=require("d3"),t=require("../../lib"),n=require("../../plots/plots"),i=require("../../registry"),a=require("../../lib/events"),r=require("../dragelement"),l=require("../drawing"),o=require("../color"),c=require("../../lib/svg_text_utils"),s=require("./handle_click"),h=require("./constants"),g=require("../../constants/alignment"),d=g.LINE_SPACING,u=g.FROM_TL,f=g.FROM_BR,_=require("./get_legend_data"),v=require("./style"),m=require("./helpers");function x(e,t,n,r,l){var o=n.data()[0][0].trace,c={event:l,node:n.node(),curveNumber:o.index,expandedIndex:o._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};if(o._group&&(c.group=o._group),i.traceIs(o,"pie-like")&&(c.label=n.datum()[0].label),!1!==a.triggerHandler(e,"plotly_legendclick",c))if(1===r)t._clickTimeout=setTimeout(function(){s(n,e,r)},e._context.doubleClickDelay);else if(2===r){t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==a.triggerHandler(e,"plotly_legenddoubleclick",c)&&s(n,e,r)}}function p(e,n){var a=e.data()[0][0],r=n._fullLayout,o=r.legend,s=a.trace,g=i.traceIs(s,"pie-like"),d=s.index,u=n._context.edits.legendText&&!g,f=o._maxNameLength,_=g?a.label:s.name;s._meta&&(_=t.templateString(_,s._meta));var v=t.ensureSingle(e,"text","legendtext");function m(t){c.convertToTspans(t,n,function(){T(e,n)})}v.attr("text-anchor","start").classed("user-select-none",!0).call(l.font,r.legend.font).text(u?w(_,f):_),c.positionText(v,h.textGap,0),u?v.call(c.makeEditable,{gd:n,text:_}).call(m).on("edit",function(e){this.text(w(e,f)).call(m);var r=a.trace._fullInput||{},l={};if(i.hasTransform(r,"groupby")){var o=i.getTransformIndices(r,"groupby"),c=o[o.length-1],s=t.keyedContainer(r,"transforms["+c+"].styles","target","value.name");s.set(a.trace._group,e),l=s.constructUpdate()}else l.name=e;return i.call("_guiRestyle",n,l,d)}):m(v)}function w(e,t){var n=Math.max(4,t);if(e&&e.trim().length>=n/2)return e;for(var i=n-(e=e||"").length;i>0;i--)e+=" ";return e}function y(n,i){var a,r=i._context.doubleClickDelay,l=1,c=t.ensureSingle(n,"rect","legendtoggle",function(e){e.style("cursor","pointer").attr("pointer-events","all").call(o.fill,"rgba(0,0,0,0)")});c.on("mousedown",function(){(a=(new Date).getTime())-i._legendMouseDownTimer&&(l=Math.max(l-1,1)),x(i,t,n,l,e.event)}})}function T(e,t){var n=e.data()[0][0];if(n.trace.showlegend){var i,a,r=e.select("g[class*=math-group]"),o=r.node(),s=t._fullLayout.legend.font.size*d;if(o){var g=l.bBox(o);i=g.height,a=g.width,l.setTranslate(r,0,i/4)}else{var u=e.select(".legendtext"),f=c.lineCount(u),_=u.node();i=s*f,a=_?l.bBox(_).width:0;var v=s*(.3+(1-f)/2);c.positionText(u,h.textGap,v)}n.lineHeight=s,n.height=Math.max(i,16)+3,n.width=a}else e.remove()}function M(t,n,i){var a=t._fullLayout,r=a.legend,o=a._size,c=m.isVertical(r),s=m.isGrouped(r),g=r.borderwidth,d=2*g,u=h.textGap,f=h.itemGap,_=2*(g+f),v=k(r),x=r.y<0||0===r.y&&"top"===v,p=r.y>1||1===r.y&&"bottom"===v;r._maxHeight=Math.max(x||p?a.height/2:o.h,30);var w=0;if(r._width=0,r._height=0,c)i.each(function(e){var t=e[0].height;l.setTranslate(this,g,f+g+r._height+t/2),r._height+=t,r._width=Math.max(r._width,e[0].width)}),w=u+r._width,r._width+=f+u+d,r._height+=_,s&&(n.each(function(e,t){l.setTranslate(this,0,t*r.tracegroupgap)}),r._height+=(r._lgroupsLength-1)*r.tracegroupgap);else{var y=H(r),T=r.x<0||0===r.x&&"right"===y,M=r.x>1||1===r.x&&"left"===y,b=p||x,B=a.width/2;r._maxWidth=Math.max(T?b&&"left"===y?o.l+o.w:B:M?b&&"right"===y?o.r+o.w:B:o.w,2*u);var q=0,D=0;i.each(function(e){var t=e[0].width+u;q=Math.max(q,t),D+=t}),w=null;var Y=0;if(s){var L=0,A=0,C=0;n.each(function(){var t=0,n=0;e.select(this).selectAll("g.traces").each(function(e){var i=e[0].height;l.setTranslate(this,0,f+g+i/2+n),n+=i,t=Math.max(t,u+e[0].width)}),L=Math.max(L,n);var i=t+f;i+g+A>r._maxWidth&&(Y=Math.max(Y,A),A=0,C+=L+r.tracegroupgap,L=n),l.setTranslate(this,A,C),A+=i}),r._width=Math.max(Y,A)+g,r._height=C+L+_}else{var I=i.size(),R=D+d+(I-1)*fr._maxWidth&&(Y=Math.max(Y,F),E=0,W+=S,r._height+=S,S=0),l.setTranslate(this,g+E,f+g+t/2+W),F=E+n+f,E+=i,S=Math.max(S,t)}),R?(r._width=E+d,r._height=S+_):(r._width=Math.max(Y,F)+d,r._height+=S+_)}}r._width=Math.ceil(r._width),r._height=Math.ceil(r._height),r._effHeight=Math.min(r._height,r._maxHeight);var G=t._context.edits,P=G.legendText||G.legendPosition;i.each(function(t){var n=e.select(this).select(".legendtoggle"),i=t[0].height,a=P?u:w||u+t[0].width;c||(a+=f/2),l.setRect(n,0,-i/2,a,i)})}function b(e){var t=e._fullLayout.legend,i=H(t),a=k(t);return n.autoMargin(e,"legend",{x:t.x,y:t.y,l:t._width*u[i],r:t._width*f[i],b:t._effHeight*f[a],t:t._effHeight*u[a]})}function H(e){return t.isRightAnchor(e)?"right":t.isCenterAnchor(e)?"center":"left"}function k(e){return t.isBottomAnchor(e)?"bottom":t.isMiddleAnchor(e)?"middle":"top"}module.exports=function(a){var c=a._fullLayout,s="legend"+c._uid;if(c._infolayer&&a.calcdata){a._legendMouseDownTime||(a._legendMouseDownTime=0);var g=c.legend,d=c.showlegend&&_(a.calcdata,g),f=c.hiddenlabels||[];if(!c.showlegend||!d.length)return c._infolayer.selectAll(".legend").remove(),c._topdefs.select("#"+s).remove(),n.autoMargin(a,"legend");var m=t.ensureSingle(c._infolayer,"g","legend",function(e){e.attr("pointer-events","all")}),w=t.ensureSingleById(c._topdefs,"clipPath",s,function(e){e.append("rect")}),T=t.ensureSingle(m,"rect","bg",function(e){e.attr("shape-rendering","crispEdges")});T.call(o.stroke,g.bordercolor).call(o.fill,g.bgcolor).style("stroke-width",g.borderwidth+"px");var B=t.ensureSingle(m,"g","scrollbox"),q=t.ensureSingle(m,"rect","scrollbar",function(e){e.attr(h.scrollBarEnterAttrs).call(o.fill,h.scrollBarColor)}),D=B.selectAll("g.groups").data(d);D.enter().append("g").attr("class","groups"),D.exit().remove();var Y=D.selectAll("g.traces").data(t.identity);Y.enter().append("g").attr("class","traces"),Y.exit().remove(),Y.style("opacity",function(e){var t=e[0].trace;return i.traceIs(t,"pie-like")?-1!==f.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1}).each(function(){e.select(this).call(p,a)}).call(v,a).each(function(){e.select(this).call(y,a)}),t.syncOrAsync([n.previousPromises,function(){return M(a,D,Y)},function(){if(!b(a)){var n,o,d,f,_=c._size,v=g.borderwidth,p=_.l+_.w*g.x-u[H(g)]*g._width,y=_.t+_.h*(1-g.y)-u[k(g)]*g._effHeight;if(c.margin.autoexpand){var M=p,D=y;p=t.constrain(p,0,c.width-g._width),y=t.constrain(y,0,c.height-g._effHeight),p!==M&&t.log("Constrain legend.x to make legend fit inside graph"),y!==D&&t.log("Constrain legend.y to make legend fit inside graph")}if(l.setTranslate(m,p,y),q.on(".drag",null),m.on("wheel",null),g._height<=g._maxHeight||a._context.staticPlot)T.attr({width:g._width-v,height:g._effHeight-v,x:v/2,y:v/2}),l.setTranslate(B,0,0),w.select("rect").attr({width:g._width-2*v,height:g._effHeight-2*v,x:v,y:v}),l.setClipUrl(B,s,a),l.setRect(q,0,0,0,0),delete g._scrollY;else{var Y,L,A,C=Math.max(h.scrollBarMinHeight,g._effHeight*g._effHeight/g._height),I=g._effHeight-C-2*h.scrollBarMargin,R=g._height-g._effHeight,S=I/R,E=Math.min(g._scrollY||0,R);T.attr({width:g._width-2*v+h.scrollBarWidth+h.scrollBarMargin,height:g._effHeight-v,x:v/2,y:v/2}),w.select("rect").attr({width:g._width-2*v+h.scrollBarWidth+h.scrollBarMargin,height:g._effHeight-2*v,x:v,y:v+E}),l.setClipUrl(B,s,a),G(E,C,S),m.on("wheel",function(){G(E=t.constrain(g._scrollY+e.event.deltaY/I*R,0,R),C,S),0!==E&&E!==R&&e.event.preventDefault()});var W=e.behavior.drag().on("dragstart",function(){var t=e.event.sourceEvent;Y="touchstart"===t.type?t.changedTouches[0].clientY:t.clientY,A=E}).on("drag",function(){var n=e.event.sourceEvent;2===n.buttons||n.ctrlKey||(L="touchmove"===n.type?n.changedTouches[0].clientY:n.clientY,G(E=function(e,n,i){var a=(i-n)/S+e;return t.constrain(a,0,R)}(A,Y,L),C,S))});q.call(W);var F=e.behavior.drag().on("dragstart",function(){var t=e.event.sourceEvent;"touchstart"===t.type&&(Y=t.changedTouches[0].clientY,A=E)}).on("drag",function(){var n=e.event.sourceEvent;"touchmove"===n.type&&(L=n.changedTouches[0].clientY,G(E=function(e,n,i){var a=(n-i)/S+e;return t.constrain(a,0,R)}(A,Y,L),C,S))});B.call(F)}if(a._context.edits.legendPosition)m.classed("cursor-move",!0),r.init({element:m.node(),gd:a,prepFn:function(){var e=l.getTranslate(m);d=e.x,f=e.y},moveFn:function(e,t){var i=d+e,a=f+t;l.setTranslate(m,i,a),n=r.align(i,0,_.l,_.l+_.w,g.xanchor),o=r.align(a,0,_.t+_.h,_.t,g.yanchor)},doneFn:function(){void 0!==n&&void 0!==o&&i.call("_guiRelayout",a,{"legend.x":n,"legend.y":o})},clickFn:function(e,t){var n=c._infolayer.selectAll("g.traces").filter(function(){var e=this.getBoundingClientRect();return t.clientX>=e.left&&t.clientX<=e.right&&t.clientY>=e.top&&t.clientY<=e.bottom});n.size()>0&&x(a,m,n,e,t)}})}function G(e,t,n){g._scrollY=a._fullLayout.legend._scrollY=e,l.setTranslate(B,0,-e),l.setRect(q,g._width,h.scrollBarMargin+e*n,h.scrollBarWidth,t),w.select("rect").attr("y",v+e)}}],a)}}; -},{"d3":"uT61","../../lib":"Ra1u","../../plots/plots":"MuEg","../../registry":"RoGf","../../lib/events":"DkOh","../dragelement":"TEC2","../drawing":"HEt8","../color":"fSwg","../../lib/svg_text_utils":"q7WC","./handle_click":"qdZe","./constants":"wDp9","../../constants/alignment":"kKbD","./get_legend_data":"gzkE","./style":"Izcn","./helpers":"fqRt"}],"F73C":[function(require,module,exports) { -"use strict";module.exports={moduleType:"component",name:"legend",layoutAttributes:require("./attributes"),supplyLayoutDefaults:require("./defaults"),draw:require("./draw"),style:require("./style")}; -},{"./attributes":"cf4X","./defaults":"RRPT","./draw":"oaGr","./style":"Izcn"}],"crrx":[function(require,module,exports) { -"use strict";module.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0,noRotate:!0},{path:"M2,2V-2H-2V2Z",backoff:0,noRotate:!0}]; -},{}],"FCOY":[function(require,module,exports) { -"use strict";var t=require("d3"),a=require("../color"),r=require("./arrow_paths");module.exports=function(e,o,n){var i,s,h,x,d=e.node(),f=r[n.arrowhead||0],y=r[n.startarrowhead||0],l=(n.arrowwidth||1)*(n.arrowsize||1),g=(n.arrowwidth||1)*(n.startarrowsize||1),p=o.indexOf("start")>=0,c=o.indexOf("end")>=0,u=f.backoff*l+n.standoff,v=y.backoff*g+n.startstandoff;if("line"===d.nodeName){i={x:+e.attr("x1"),y:+e.attr("y1")},s={x:+e.attr("x2"),y:+e.attr("y2")};var M=i.x-s.x,w=i.y-s.y;if(x=(h=Math.atan2(w,M))+Math.PI,u&&v&&u+v>Math.sqrt(M*M+w*w))return void O();if(u){if(u*u>M*M+w*w)return void O();var P=u*Math.cos(h),L=u*Math.sin(h);s.x+=P,s.y+=L,e.attr({x2:s.x,y2:s.y})}if(v){if(v*v>M*M+w*w)return void O();var m=v*Math.cos(h),A=v*Math.sin(h);i.x-=m,i.y-=A,e.attr({x1:i.x,y1:i.y})}}else if("path"===d.nodeName){var k=d.getTotalLength(),q="";if(k2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[e]}for(var V=!1,X=["x","y"],Y=0;Y1)&&(tt===$?((ct=et.r2fraction(n["a"+W]))<0||ct>1)&&(V=!0):V=!0),Z=et._offset+et.r2p(n[W]),K=.5}else"x"===W?(J=n[W],Z=_.l+_.w*J):(J=1-n[W],Z=_.t+_.h*J),K=n.showarrow?.5:J;if(n.showarrow){st.head=Z;var dt=n["a"+W];Q=rt*H(.5,n.xanchor)-nt*H(.5,n.yanchor),tt===$?(st.tail=et._offset+et.r2p(dt),G=Q):(st.tail=Z+dt,G=Q+dt),st.text=st.tail+Q;var pt=m["x"===W?"width":"height"];if("paper"===$&&(st.head=r.constrain(st.head,1,pt-1)),"pixel"===tt){var ft=-Math.max(st.tail-3,st.text),ut=Math.min(st.tail+3,st.text)-pt;ft>0?(st.tail+=ft,st.text+=ft):ut>0&&(st.tail-=ut,st.text-=ut)}st.tail+=it,st.head+=it}else G=Q=ot*H(K,lt),st.text=Z+Q;st.text+=it,Q+=it,G+=it,n["_"+W+"padplus"]=ot/2+G,n["_"+W+"padminus"]=ot/2-G,n["_"+W+"size"]=ot,n["_"+W+"shift"]=Q}if(V)S.remove();else{var xt=0,ht=0;if("left"!==n.align&&(xt=(b-g)*("center"===n.align?.5:1)),"top"!==n.valign&&(ht=(I-v)*("middle"===n.valign?.5:1)),p)i.select("svg").attr({x:P+xt-1,y:P+ht}).call(l.setClipUrl,O?T:null,a);else{var yt=P+ht-u.top,gt=P+xt-u.left;D.call(s.positionText,gt,yt).call(l.setClipUrl,O?T:null,a)}U.select("rect").call(l.setRect,P,P,b,I),B.call(l.setRect,L/2,L/2,j-L,E-L),S.call(l.setTranslate,Math.round(F.x.text-j/2),Math.round(F.y.text-E/2)),z.attr({transform:"rotate("+C+","+F.x.text+","+F.y.text+")"});var vt,mt=function(t,i){R.selectAll(".annotation-arrow-g").remove();var s=F.x.head,c=F.y.head,p=F.x.tail+t,u=F.y.tail+i,g=F.x.text+t,v=F.y.text+i,m=r.rotationXYMatrix(C,g,v),b=r.apply2DTransform(m),T=r.apply2DTransform2(m),A=+B.attr("width"),I=+B.attr("height"),L=g-.5*A,j=L+A,P=v-.5*I,O=P+I,U=[[L,P,L,O],[L,O,j,O],[j,O,j,P],[j,P,L,P]].map(T);if(!U.reduce(function(t,e){return t^!!r.segmentsIntersect(s,c,s+1e6,c+1e6,e[0],e[1],e[2],e[3])},!1)){U.forEach(function(t){var e=r.segmentsIntersect(p,u,s,c,t[0],t[1],t[2],t[3]);e&&(p=e.x,u=e.y)});var E=n.arrowwidth,H=n.arrowcolor,D=n.arrowside,N=R.append("g").style({opacity:o.opacity(H)}).classed("annotation-arrow-g",!0),V=N.append("path").attr("d","M"+p+","+u+"L"+s+","+c).style("stroke-width",E+"px").call(o.stroke,o.rgb(H));if(f(V,D,n),w.annotationPosition&&V.node().parentNode&&!x){var X=s,Y=c;if(n.standoff){var Z=Math.sqrt(Math.pow(s-p,2)+Math.pow(c-u,2));X+=n.standoff*(p-s)/Z,Y+=n.standoff*(u-c)/Z}var G,J,K=N.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(p-X)+","+(u-Y),transform:"translate("+X+","+Y+")"}).style("stroke-width",E+6+"px").call(o.stroke,"rgba(0,0,0,0)").call(o.fill,"rgba(0,0,0,0)");d.init({element:K.node(),gd:a,prepFn:function(){var t=l.getTranslate(S);G=t.x,J=t.y,h&&h.autorange&&M(h._name+".autorange",!0),y&&y.autorange&&M(y._name+".autorange",!0)},moveFn:function(t,e){var a=b(G,J),r=a[0]+t,o=a[1]+e;S.call(l.setTranslate,r,o),k("x",h?h.p2r(h.r2p(n.x)+t):n.x+t/_.w),k("y",y?y.p2r(y.r2p(n.y)+e):n.y-e/_.h),n.axref===n.xref&&k("ax",h.p2r(h.r2p(n.ax)+t)),n.ayref===n.yref&&k("ay",y.p2r(y.r2p(n.ay)+e)),N.attr("transform","translate("+t+","+e+")"),z.attr({transform:"rotate("+C+","+r+","+o+")"})},doneFn:function(){e.call("_guiRelayout",a,q());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}};if(n.showarrow&&mt(0,0),A)d.init({element:S.node(),gd:a,prepFn:function(){vt=z.attr("transform")},moveFn:function(t,e){var a="pointer";if(n.showarrow)n.axref===n.xref?k("ax",h.p2r(h.r2p(n.ax)+t)):k("ax",n.ax+t),n.ayref===n.yref?k("ay",y.p2r(y.r2p(n.ay)+e)):k("ay",n.ay+e),mt(t,e);else{if(x)return;var r,o;if(h)r=h.p2r(h.r2p(n.x)+t);else{var l=n._xsize/_.w,i=n.x+(n._xshift-n.xshift)/_.w-l/2;r=d.align(i+t/_.w,l,0,1,n.xanchor)}if(y)o=y.p2r(y.r2p(n.y)+e);else{var s=n._ysize/_.h,p=n.y-(n._yshift+n.yshift)/_.h-s/2;o=d.align(p-e/_.h,s,0,1,n.yanchor)}k("x",r),k("y",o),h&&y||(a=d.getCursor(h?.5:r,y?.5:o,n.xanchor,n.yanchor))}z.attr({transform:"translate("+t+","+e+")"+vt}),c(S,a)},clickFn:function(t,e){n.captureevents&&a.emit("plotly_clickannotation",N(e))},doneFn:function(){c(S),e.call("_guiRelayout",a,q());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}}module.exports={draw:u,drawOne:x,drawRaw:h}; -},{"d3":"uT61","../../registry":"RoGf","../../plots/plots":"MuEg","../../lib":"Ra1u","../../plots/cartesian/axes":"VI4t","../color":"fSwg","../drawing":"HEt8","../fx":"uSUT","../../lib/svg_text_utils":"q7WC","../../lib/setcursor":"GYRL","../dragelement":"TEC2","../../plot_api/plot_template":"Df6H","./draw_arrow_head":"FCOY"}],"wMYq":[function(require,module,exports) { -"use strict";var t=require("../../lib"),e=require("../../registry"),i=require("../../plot_api/plot_template").arrayEditor;function o(t,e){var i=l(t,e);return i.on.length>0||i.explicitOff.length>0}function n(o,n){var r,a,f=l(o,n),u=f.on,c=f.off.concat(f.explicitOff),s={},d=o._fullLayout.annotations;if(u.length||c.length){for(r=0;r), bold (), italics (),","hyperlinks (). Tags , , "," are also supported."].join(" ")},textangle:{valType:"angle",dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets the angle at which the `text` is drawn","with respect to the horizontal."].join(" ")},font:t({editType:"calc+arraydraw",colorEditType:"arraydraw",description:"Sets the annotation text font."}),width:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit width for the text box. null (default) lets the","text set the box width. Wider text will be clipped.","There is no automatic wrapping; use
to start a new line."].join(" ")},height:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit height for the text box. null (default) lets the","text set the box height. Taller text will be clipped."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"style",editType:"arraydraw",description:"Sets the opacity of the annotation (text + arrow)."},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",role:"style",editType:"arraydraw",description:["Sets the horizontal alignment of the `text` within the box.","Has an effect only if `text` spans more two or more lines","(i.e. `text` contains one or more
HTML tags) or if an","explicit width is set to override the text width."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"arraydraw",description:["Sets the vertical alignment of the `text` within the box.","Has an effect only if an explicit height is set to override","the text height."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:"Sets the background color of the annotation."},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:["Sets the color of the border enclosing the annotation `text`."].join(" ")},borderpad:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the padding (in px) between the `text`","and the enclosing border."].join(" ")},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the width (in px) of the border enclosing","the annotation `text`."].join(" ")},showarrow:{valType:"boolean",dflt:!0,role:"style",editType:"calc+arraydraw",description:["Determines whether or not the annotation is drawn with an arrow.","If *true*, `text` is placed near the arrow's tail.","If *false*, `text` lines up with the `x` and `y` provided."].join(" ")},arrowcolor:{valType:"color",role:"style",editType:"arraydraw",description:"Sets the color of the annotation arrow."},arrowhead:{valType:"integer",min:0,max:e.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the end annotation arrow head style."},startarrowhead:{valType:"integer",min:0,max:e.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the start annotation arrow head style."},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",role:"style",editType:"arraydraw",description:"Sets the annotation arrow head position."},arrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the end annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},startarrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the start annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},arrowwidth:{valType:"number",min:.1,role:"style",editType:"calc+arraydraw",description:"Sets the width (in px) of annotation arrow line."},standoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the end arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},startstandoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the start arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},ax:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the x component of the arrow tail about the arrow head.","If `axref` is `pixel`, a positive (negative) ","component corresponds to an arrow pointing","from right to left (left to right).","If `axref` is an axis, this is an absolute value on that axis,","like `x`, NOT a relative value."].join(" ")},ay:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the y component of the arrow tail about the arrow head.","If `ayref` is `pixel`, a positive (negative) ","component corresponds to an arrow pointing","from bottom to top (top to bottom).","If `ayref` is an axis, this is an absolute value on that axis,","like `y`, NOT a relative value."].join(" ")},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.x.toString()],role:"info",editType:"calc",description:["Indicates in what terms the tail of the annotation (ax,ay) ","is specified. If `pixel`, `ax` is a relative offset in pixels ","from `x`. If set to an x axis id (e.g. *x* or *x2*), `ax` is ","specified in the same terms as that axis. This is useful ","for trendline annotations which should continue to indicate ","the correct trend when zoomed."].join(" ")},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",o.idRegex.y.toString()],role:"info",editType:"calc",description:["Indicates in what terms the tail of the annotation (ax,ay) ","is specified. If `pixel`, `ay` is a relative offset in pixels ","from `y`. If set to a y axis id (e.g. *y* or *y2*), `ay` is ","specified in the same terms as that axis. This is useful ","for trendline annotations which should continue to indicate ","the correct trend when zoomed."].join(" ")},xref:{valType:"enumerated",values:["paper",o.idRegex.x.toString()],role:"info",editType:"calc",description:["Sets the annotation's x coordinate axis.","If set to an x axis id (e.g. *x* or *x2*), the `x` position","refers to an x coordinate","If set to *paper*, the `x` position refers to the distance from","the left side of the plotting area in normalized coordinates","where 0 (1) corresponds to the left (right) side."].join(" ")},x:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's x position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's horizontal position anchor","This anchor binds the `x` position to the *left*, *center*","or *right* of the annotation.","For example, if `x` is set to 1, `xref` to *paper* and","`xanchor` to *right* then the right-most portion of the","annotation lines up with the right-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *center* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},xshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow to the","right (positive) or left (negative) by this many pixels."].join(" ")},yref:{valType:"enumerated",values:["paper",o.idRegex.y.toString()],role:"info",editType:"calc",description:["Sets the annotation's y coordinate axis.","If set to an y axis id (e.g. *y* or *y2*), the `y` position","refers to an y coordinate","If set to *paper*, the `y` position refers to the distance from","the bottom of the plotting area in normalized coordinates","where 0 (1) corresponds to the bottom (top)."].join(" ")},y:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's y position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the annotation.","For example, if `y` is set to 1, `yref` to *paper* and","`yanchor` to *top* then the top-most portion of the","annotation lines up with the top-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *middle* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},yshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow up","(positive) or down (negative) by this many pixels."].join(" ")},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,role:"style",editType:"arraydraw",description:["Makes this annotation respond to clicks on the plot.","If you click a data point that exactly matches the `x` and `y`","values of this annotation, and it is hidden (visible: false),","it will appear. In *onoff* mode, you must click the same point","again to make it disappear, so if you click multiple points,","you can show multiple annotations. In *onout* mode, a click","anywhere else in the plot (on another data point or not) will","hide this annotation.","If you need to show/hide this annotation in response to different","`x` or `y` values, you can set `xclick` and/or `yclick`. This is","useful for example to label the side of a bar. To label markers","though, `standoff` is preferred over `xclick` and `yclick`."].join(" ")},xclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `x` value","is `xclick` rather than the annotation's `x` value."].join(" ")},yclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `y` value","is `yclick` rather than the annotation's `y` value."].join(" ")},hovertext:{valType:"string",role:"info",editType:"arraydraw",description:["Sets text to appear when hovering over this annotation.","If omitted or blank, no hover label will appear."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the background color of the hover label.","By default uses the annotation's `bgcolor` made opaque,","or white if it was transparent."].join(" ")},bordercolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the border color of the hover label.","By default uses either dark grey or white, for maximum","contrast with `hoverlabel.bgcolor`."].join(" ")},font:t({editType:"arraydraw",description:["Sets the hover label text font.","By default uses the global hover font and size,","with color from `hoverlabel.bordercolor`."].join(" ")}),editType:"arraydraw"},captureevents:{valType:"boolean",role:"info",editType:"arraydraw",description:["Determines whether the annotation text box captures mouse move","and click events, or allows those events to pass through to data","points in the plot that may be behind the annotation. By default","`captureevents` is *false* unless `hovertext` is provided.","If you use the event `plotly_clickannotation` without `hovertext`","you must explicitly enable `captureevents`."].join(" ")},editType:"calc",_deprecated:{ref:{valType:"string",role:"info",editType:"calc",description:["Obsolete. Set `xref` and `yref` separately instead."].join(" ")}}}); -},{"./arrow_paths":"crrx","../../plots/font_attributes":"c1FL","../../plots/cartesian/constants":"OeVF","../../plot_api/plot_template":"Df6H"}],"HR3h":[function(require,module,exports) { -"use strict";var r=require("../../lib"),o=require("../color");module.exports=function(e,t,a,l){l("opacity");var i=l("bgcolor"),n=l("bordercolor"),c=o.opacity(n);l("borderpad");var d=l("borderwidth"),f=l("showarrow");if(l("text",f?" ":a._dfltTitle.annotation),l("textangle"),r.coerceFont(l,"font",a.font),l("width"),l("align"),l("height")&&l("valign"),f){var s,b,h=l("arrowside");-1!==h.indexOf("end")&&(s=l("arrowhead"),b=l("arrowsize")),-1!==h.indexOf("start")&&(l("startarrowhead",s),l("startarrowsize",b)),l("arrowcolor",c?t.bordercolor:o.defaultLine),l("arrowwidth",2*(c&&d||1)),l("standoff"),l("startstandoff")}var v=l("hovertext"),w=a.hoverlabel||{};if(v){var g=l("hoverlabel.bgcolor",w.bgcolor||(o.opacity(i)?o.rgb(i):o.defaultLine)),u=l("hoverlabel.bordercolor",w.bordercolor||o.contrast(g));r.coerceFont(l,"hoverlabel.font",{family:w.font.family,size:w.font.size,color:w.font.color||u})}l("captureevents",!!v)}; -},{"../../lib":"Ra1u","../color":"fSwg"}],"sqtO":[function(require,module,exports) { -"use strict";var e=require("../../lib"),i=require("../../plots/cartesian/axes"),r=require("../../plots/array_container_defaults"),o=require("./common_defaults"),a=require("./attributes");function c(r,c,n){function t(i,o){return e.coerce(r,c,a,i,o)}var l=t("visible"),s=t("clicktoshow");if(l||s){o(r,c,n,t);for(var u=c.showarrow,f=["x","y"],x=[-10,-30],p={_fullLayout:n},v=0;v<2;v++){var d=f[v],y=i.coerceRef(r,c,p,d,"","paper");if("paper"!==y)i.getFromId(p,y)._annIndices.push(c._index);if(i.coercePosition(c,p,t,y,d,.5),u){var _="a"+d,h=i.coerceRef(r,c,p,_,"pixel");"pixel"!==h&&h!==y&&(h=c[_]="pixel");var m="pixel"===h?x[v]:.4;i.coercePosition(c,p,t,h,_,m)}t(d+"anchor"),t(d+"shift")}if(e.noneOrAll(r,c,["x","y"]),u&&e.noneOrAll(r,c,["ax","ay"]),s){var k=t("xclick"),q=t("yclick");c._xclick=void 0===k?c.x:i.cleanPosition(k,p,c.xref),c._yclick=void 0===q?c.y:i.cleanPosition(q,p,c.yref)}}}module.exports=function(e,i){r(e,i,{name:"annotations",handleItemDefaults:c})}; -},{"../../lib":"Ra1u","../../plots/cartesian/axes":"VI4t","../../plots/array_container_defaults":"uoPQ","./common_defaults":"HR3h","./attributes":"xTJt"}],"hP5n":[function(require,module,exports) { -"use strict";var r=require("../../registry"),e=require("../../lib");module.exports=function(s){return function(i,a){var t=i[s];if(Array.isArray(t))for(var u=r.subplotsRegistry.cartesian,n=u.idRegex,f=a._subplots,l=f.xaxis,o=f.yaxis,x=f.cartesian,c=a._has("cartesian")||a._has("gl2d"),h=0;h1){d=!0;break}}d?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+n+'"]').remove():(s._pdata=r(e.glplot.cameraParams,[o.xaxis.r2l(s.x)*i[0],o.yaxis.r2l(s.y)*i[1],o.zaxis.r2l(s.z)*i[2]]),a(e.graphDiv,s,n,e.id,s._xa,s._ya))}}; -},{"../annotations/draw":"p9rp","../../plots/gl3d/project":"pKkY"}],"NmEX":[function(require,module,exports) { -"use strict";var e=require("../../registry"),t=require("../../lib");function r(r,s){var u=e.subplotsRegistry.gl3d;if(u)for(var a=u.attrRegex,n=Object.keys(r),i=0;i10?e/2:10;return t.append("circle").attr({"data-line-point":"start-point",cx:C?N(c.xanchor)+c.x0:N(c.x0),cy:T?H(c.yanchor)-c.y0:H(c.y0),r:a}).style(r).classed("cursor-grab",!0),t.append("circle").attr({"data-line-point":"end-point",cx:C?N(c.xanchor)+c.x1:N(c.x1),cy:T?H(c.yanchor)-c.y1:H(c.y1),r:a}).style(r).classed("cursor-grab",!0),t}():u,V={element:K.node(),gd:a,prepFn:function(e){C&&(L=N(c.xanchor));T&&(b=H(c.yanchor));"path"===c.type?A=c.path:(v=C?c.x0:N(c.x0),m=T?c.y0:H(c.y0),g=C?c.x1:N(c.x1),_=T?c.y1:H(c.y1));v_?(w=m,R="y0",I=_,z="y1"):(w=_,R="y1",I=m,z="y0");G(e),W(h,c),function(e,t,a){var o=t.xref,i=t.yref,l=r.getFromId(a,o),p=r.getFromId(a,i),s="";"paper"===o||l.autorange||(s+=o);"paper"===i||p.autorange||(s+=i);n.setClipUrl(e,s?"clip"+a._fullLayout._uid+s:null,a)}(u,c,a),V.moveFn="move"===M?J:Q},doneFn:function(){l(u),$(h),d(u,a,c),e.call("_guiRelayout",a,U.getUpdateObj())},clickFn:function(){$(h)}};function G(e){if(X)M="path"===e.target.tagName?"move":"start-point"===e.target.attributes["data-line-point"].value?"resize-over-start-point":"resize-over-end-point";else{var t=V.element.getBoundingClientRect(),r=t.right-t.left,a=t.bottom-t.top,n=e.clientX-t.left,o=e.clientY-t.top,p=!E&&r>k&&a>O&&!e.shiftKey?i.getCursor(n/r,1-o/a):"move";l(u,p),M=p.split("-")[0]}}function J(e,t){if("path"===c.type){var r=function(e){return e},n=r,o=r;C?Z("xanchor",c.xanchor=j(L+e)):(n=function(t){return j(N(t)+e)},S&&"date"===S.type&&(n=s.encodeDate(n))),T?Z("yanchor",c.yanchor=B(b+t)):(o=function(e){return B(H(e)+t)},Y&&"date"===Y.type&&(o=s.encodeDate(o))),Z("path",c.path=x(A,n,o))}else C?Z("xanchor",c.xanchor=j(L+e)):(Z("x0",c.x0=j(v+e)),Z("x1",c.x1=j(g+e))),T?Z("yanchor",c.yanchor=B(b+t)):(Z("y0",c.y0=B(m+t)),Z("y1",c.y1=B(_+t)));u.attr("d",y(a,c)),W(h,c)}function Q(e,t){if(E){var r=function(e){return e},n=r,o=r;C?Z("xanchor",c.xanchor=j(L+e)):(n=function(t){return j(N(t)+e)},S&&"date"===S.type&&(n=s.encodeDate(n))),T?Z("yanchor",c.yanchor=B(b+t)):(o=function(e){return B(H(e)+t)},Y&&"date"===Y.type&&(o=s.encodeDate(o))),Z("path",c.path=x(A,n,o))}else if(X){if("resize-over-start-point"===M){var i=v+e,l=T?m-t:m+t;Z("x0",c.x0=C?i:j(i)),Z("y0",c.y0=T?l:B(l))}else if("resize-over-end-point"===M){var p=g+e,d=T?_-t:_+t;Z("x1",c.x1=C?p:j(p)),Z("y1",c.y1=T?d:B(d))}}else{var f=~M.indexOf("n")?w+t:w,U=~M.indexOf("s")?I+t:I,K=~M.indexOf("w")?P+e:P,V=~M.indexOf("e")?F+e:F;~M.indexOf("n")&&T&&(f=w-t),~M.indexOf("s")&&T&&(U=I-t),(!T&&U-f>O||T&&f-U>O)&&(Z(R,c[R]=T?f:B(f)),Z(z,c[z]=T?U:B(U))),V-K>k&&(Z(q,c[q]=C?K:j(K)),Z(D,c[D]=C?V:j(V)))}u.attr("d",y(a,c)),W(h,c)}function W(e,r){(C||T)&&function(){var a="path"!==r.type,n=e.selectAll(".visual-cue").data([0]);n.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var o=N(C?r.xanchor:t.midRange(a?[r.x0,r.x1]:s.extractPathCoords(r.path,p.paramIsX))),i=H(T?r.yanchor:t.midRange(a?[r.y0,r.y1]:s.extractPathCoords(r.path,p.paramIsY)));if(o=s.roundPositionForSharpStrokeRendering(o,1),i=s.roundPositionForSharpStrokeRendering(i,1),C&&T){var l="M"+(o-1-1)+","+(i-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";n.attr("d",l)}else if(C){var u="M"+(o-1-1)+","+(i-9-1)+"v18 h2 v-18 Z";n.attr("d",u)}else{var c="M"+(o-9-1)+","+(i-1-1)+"h18 v2 h-18 Z";n.attr("d",c)}}()}function $(e){e.selectAll(".visual-cue").remove()}i.init(V),K.node().onmousemove=G}function y(e,t){var a,n,o,i,l,p,u,c,d=t.type,f=r.getFromId(e,t.xref),y=r.getFromId(e,t.yref),x=e._fullLayout._size;if(f?(a=s.shapePositionToRange(f),n=function(e){return f._offset+f.r2p(a(e,!0))}):n=function(e){return x.l+x.w*e},y?(o=s.shapePositionToRange(y),i=function(e){return y._offset+y.r2p(o(e,!0))}):i=function(e){return x.t+x.h*(1-e)},"path"===d)return f&&"date"===f.type&&(n=s.decodeDate(n)),y&&"date"===y.type&&(i=s.decodeDate(i)),h(t,n,i);if("pixel"===t.xsizemode){var v=n(t.xanchor);l=v+t.x0,p=v+t.x1}else l=n(t.x0),p=n(t.x1);if("pixel"===t.ysizemode){var m=i(t.yanchor);u=m-t.y0,c=m-t.y1}else u=i(t.y0),c=i(t.y1);if("line"===d)return"M"+l+","+u+"L"+p+","+c;if("rect"===d)return"M"+l+","+u+"H"+p+"V"+c+"H"+l+"Z";var g=(l+p)/2,_=(u+c)/2,L=Math.abs(g-l),b=Math.abs(_-u),w="A"+L+","+b,I=g+L+","+_;return"M"+I+w+" 0 1,1 "+(g+","+(_-b))+w+" 0 0,1 "+I+"Z"}function h(e,r,a){var n=e.path,o=e.xsizemode,i=e.ysizemode,l=e.xanchor,s=e.yanchor;return n.replace(p.segmentRE,function(e){var n=0,u=e.charAt(0),c=p.paramIsX[u],d=p.paramIsY[u],f=p.numParams[u],y=e.substr(1).replace(p.paramRE,function(e){return c[n]?e="pixel"===o?r(l)+Number(e):r(e):d[n]&&(e="pixel"===i?a(s)-Number(e):a(e)),++n>f&&(e="X"),e});return n>f&&(y=y.replace(/[\s,]*X.*/,""),t.log("Ignoring extra params in segment "+e)),u+y})}function x(e,t,r){return e.replace(p.segmentRE,function(e){var a=0,n=e.charAt(0),o=p.paramIsX[n],i=p.paramIsY[n],l=p.numParams[n];return n+e.substr(1).replace(p.paramRE,function(e){return a>=l?e:(o[a]?e=t(e):i[a]&&(e=r(e)),a++,e)})})}module.exports={draw:u,drawOne:c}; -},{"../../registry":"RoGf","../../lib":"Ra1u","../../plots/cartesian/axes":"VI4t","../color":"fSwg","../drawing":"HEt8","../../plot_api/plot_template":"Df6H","../dragelement":"TEC2","../../lib/setcursor":"GYRL","./constants":"qPEQ","./helpers":"dJh8"}],"A9rJ":[function(require,module,exports) { -"use strict";var e=require("../annotations/attributes"),t=require("../../traces/scatter/attributes").line,a=require("../drawing/attributes").dash,i=require("../../lib/extend").extendFlat,o=require("../../plot_api/plot_template").templatedArray;module.exports=o("shape",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this shape is visible."].join(" ")},type:{valType:"enumerated",values:["circle","rect","path","line"],role:"info",editType:"calc+arraydraw",description:["Specifies the shape type to be drawn.","If *line*, a line is drawn from (`x0`,`y0`) to (`x1`,`y1`)","with respect to the axes' sizing mode.","If *circle*, a circle is drawn from","((`x0`+`x1`)/2, (`y0`+`y1`)/2))","with radius","(|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|)","with respect to the axes' sizing mode.","If *rect*, a rectangle is drawn linking","(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)","with respect to the axes' sizing mode.","If *path*, draw a custom SVG path using `path`.","with respect to the axes' sizing mode."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:"Specifies whether shapes are drawn below or above traces."},xref:i({},e.xref,{description:["Sets the shape's x coordinate axis.","If set to an x axis id (e.g. *x* or *x2*), the `x` position","refers to an x coordinate.","If set to *paper*, the `x` position refers to the distance from","the left side of the plotting area in normalized coordinates","where *0* (*1*) corresponds to the left (right) side.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, then you must convert","the date to unix time in milliseconds."].join(" ")}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the x axis.","If set to *scaled*, `x0`, `x1` and x coordinates within `path` refer to","data values on the x axis or a fraction of the plot area's width","(`xref` set to *paper*).","If set to *pixel*, `xanchor` specifies the x position in terms","of data or plot fraction but `x0`, `x1` and x coordinates within `path`","are pixels relative to `xanchor`. This way, the shape can have","a fixed width while maintaining a position relative to data or","plot fraction."].join(" ")},xanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `xsizemode` set to *pixel*.","Specifies the anchor point on the x axis to which `x0`, `x1`","and x coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `xsizemode` not set to *pixel*."].join(" ")},x0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting x position.","See `type` and `xsizemode` for more info."].join(" ")},x1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end x position.","See `type` and `xsizemode` for more info."].join(" ")},yref:i({},e.yref,{description:["Sets the annotation's y coordinate axis.","If set to an y axis id (e.g. *y* or *y2*), the `y` position","refers to an y coordinate","If set to *paper*, the `y` position refers to the distance from","the bottom of the plotting area in normalized coordinates","where *0* (*1*) corresponds to the bottom (top)."].join(" ")}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the y axis.","If set to *scaled*, `y0`, `y1` and y coordinates within `path` refer to","data values on the y axis or a fraction of the plot area's height","(`yref` set to *paper*).","If set to *pixel*, `yanchor` specifies the y position in terms","of data or plot fraction but `y0`, `y1` and y coordinates within `path`","are pixels relative to `yanchor`. This way, the shape can have","a fixed height while maintaining a position relative to data or","plot fraction."].join(" ")},yanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `ysizemode` set to *pixel*.","Specifies the anchor point on the y axis to which `y0`, `y1`","and y coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `ysizemode` not set to *pixel*."].join(" ")},y0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting y position.","See `type` and `ysizemode` for more info."].join(" ")},y1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end y position.","See `type` and `ysizemode` for more info."].join(" ")},path:{valType:"string",role:"info",editType:"calc+arraydraw",description:["For `type` *path* - a valid SVG path with the pixel values","replaced by data values in `xsizemode`/`ysizemode` being *scaled*","and taken unmodified as pixels relative to `xanchor` and `yanchor`","in case of *pixel* size mode.","There are a few restrictions / quirks","only absolute instructions, not relative. So the allowed segments","are: M, L, H, V, Q, C, T, S, and Z","arcs (A) are not allowed because radius rx and ry are relative.","In the future we could consider supporting relative commands,","but we would have to decide on how to handle date and log axes.","Note that even as is, Q and C Bezier paths that are smooth on","linear axes may not be smooth on log, and vice versa.",'no chained "polybezier" commands - specify the segment type for',"each one.","On category axes, values are numbers scaled to the serial numbers","of categories because using the categories themselves there would","be no way to describe fractional positions","On data axes: because space and T are both normal components of path","strings, we can't use either to separate date from time parts.","Therefore we'll use underscore for this purpose:","2015-02-21_13:45:56.789"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"arraydraw",description:"Sets the opacity of the shape."},line:{color:i({},t.color,{editType:"arraydraw"}),width:i({},t.width,{editType:"calc+arraydraw"}),dash:i({},a,{editType:"arraydraw"}),role:"info",editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"arraydraw",description:["Sets the color filling the shape's interior."].join(" ")},editType:"arraydraw"}); -},{"../annotations/attributes":"xTJt","../../traces/scatter/attributes":"q8Id","../drawing/attributes":"IWxK","../../lib/extend":"qfbf","../../plot_api/plot_template":"Df6H"}],"QMNV":[function(require,module,exports) { -"use strict";var e=require("../../lib"),i=require("../../plots/cartesian/axes"),r=require("../../plots/array_container_defaults"),o=require("./attributes"),t=require("./helpers");function a(r,a,n){function s(i,t){return e.coerce(r,a,o,i,t)}if(s("visible")){s("layer"),s("opacity"),s("fillcolor"),s("line.color"),s("line.width"),s("line.dash");for(var l=s("type",r.path?"path":"rect"),c=s("xsizemode"),p=s("ysizemode"),u=["x","y"],h=0;h<2;h++){var f,d,x,y=u[h],m=y+"anchor",v="x"===y?c:p,q={_fullLayout:n},P=i.coerceRef(r,a,q,y,"","paper");if("paper"!==P?((f=i.getFromId(q,P))._shapeIndices.push(a._index),x=t.rangeToShapePosition(f),d=t.shapePositionToRange(f)):d=x=e.identity,"path"!==l){var _=y+"0",b=y+"1",g=r[_],I=r[b];r[_]=d(r[_],!0),r[b]=d(r[b],!0),"pixel"===v?(s(_,0),s(b,10)):(i.coercePosition(a,q,s,P,_,.25),i.coercePosition(a,q,s,P,b,.75)),a[_]=x(a[_]),a[b]=x(a[b]),r[_]=g,r[b]=I}if("pixel"===v){var z=r[m];r[m]=d(r[m],!0),i.coercePosition(a,q,s,P,m,.25),a[m]=x(a[m]),r[m]=z}}"path"===l?s("path"):e.noneOrAll(r,a,["x0","x1","y0","y1"])}}module.exports=function(e,i){r(e,i,{name:"shapes",handleItemDefaults:a})}; -},{"../../lib":"Ra1u","../../plots/cartesian/axes":"VI4t","../../plots/array_container_defaults":"uoPQ","./attributes":"A9rJ","./helpers":"dJh8"}],"UoZ4":[function(require,module,exports) { -"use strict";var e=require("../../lib"),r=require("../../plots/cartesian/axes"),a=require("./constants"),t=require("./helpers");function i(e){return s(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function n(e){return s(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function s(r,i,n,s,p,o){var d=r/2,l=o;if("pixel"===i){var m=p?t.extractPathCoords(p,o?a.paramIsY:a.paramIsX):[n,s],u=e.aggNums(Math.max,null,m),x=e.aggNums(Math.min,null,m),h=x<0?Math.abs(x)+d:d,f=u>0?u+d:d;return{ppad:d,ppadplus:l?h:f,ppadminus:l?f:h}}return{ppad:d}}function p(e,r,i,n,s){var p="category"===e.type||"multicategory"===e.type?e.r2c:e.d2c;if(void 0!==r)return[p(r),p(i)];if(n){var o,d,l,m,u=1/0,x=-1/0,h=n.match(a.segmentRE);for("date"===e.type&&(p=t.decodeDate(p)),o=0;ox&&(x=m)));return x>=u?[u,x]:void 0}}module.exports=function(t){var s=t._fullLayout,o=e.filterVisible(s.shapes);if(o.length&&t._fullData.length)for(var d=0;d0)&&(i("active"),i("direction"),i("type"),i("showactive"),i("x"),i("y"),e.noneOrAll(o,n,["x","y"]),i("xanchor"),i("yanchor"),i("pad.t"),i("pad.r"),i("pad.b"),i("pad.l"),e.coerceFont(i,"font",a.font),i("bgcolor",a.paper_bgcolor),i("bordercolor"),i("borderwidth"))}function c(r,t){function o(o,n){return e.coerce(r,t,a,o,n)}o("visible","skip"===r.method||Array.isArray(r.args))&&(o("method"),o("args"),o("args2"),o("label"),o("execute"))}module.exports=function(e,t){r(e,t,{name:n,handleItemDefaults:i})}; -},{"../../lib":"Ra1u","../../plots/array_container_defaults":"uoPQ","./attributes":"OuKg","./constants":"jZ3U"}],"ETuP":[function(require,module,exports) { -"use strict";module.exports=r;var t=require("d3"),a=require("../color"),i=require("../drawing"),e=require("../../lib");function r(t,a,i){this.gd=t,this.container=a,this.id=i,this.position=null,this.translateX=null,this.translateY=null,this.hbar=null,this.vbar=null,this.bg=this.container.selectAll("rect.scrollbox-bg").data([0]),this.bg.exit().on(".drag",null).on("wheel",null).remove(),this.bg.enter().append("rect").classed("scrollbox-bg",!0).style("pointer-events","all").attr({opacity:0,x:0,y:0,width:0,height:0})}r.barWidth=2,r.barLength=20,r.barRadius=2,r.barPad=1,r.barColor="#808BA4",r.prototype.enable=function(e,s,h){var l=this.gd._fullLayout,n=l.width,o=l.height;this.position=e;var b,d,c,v,p=this.position.l,u=this.position.w,g=this.position.t,x=this.position.h,_=this.position.direction,M="down"===_,f="left"===_,w="up"===_,y=u,T=x;M||f||"right"===_||w||(this.position.direction="down",M=!0),M||w?(d=(b=p)+y,M?(c=g,T=(v=Math.min(c+T,o))-c):T=(v=g+T)-(c=Math.max(v-T,0))):(v=(c=g)+T,f?y=(d=p+y)-(b=Math.max(d-y,0)):(b=p,y=(d=Math.min(b+y,n))-b)),this._box={l:b,t:c,w:y,h:T};var m=u>y,Y=r.barLength+2*r.barPad,R=r.barWidth+2*r.barPad,X=p,B=g+x;B+R>o&&(B=o-R);var P=this.container.selectAll("rect.scrollbar-horizontal").data(m?[0]:[]);P.exit().on(".drag",null).remove(),P.enter().append("rect").classed("scrollbar-horizontal",!0).call(a.fill,r.barColor),m?(this.hbar=P.attr({rx:r.barRadius,ry:r.barRadius,x:X,y:B,width:Y,height:R}),this._hbarXMin=X+Y/2,this._hbarTranslateMax=y-Y):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var C=x>T,D=r.barWidth+2*r.barPad,A=r.barLength+2*r.barPad,W=p+u,q=g;W+D>n&&(W=n-D);var L=this.container.selectAll("rect.scrollbar-vertical").data(C?[0]:[]);L.exit().on(".drag",null).remove(),L.enter().append("rect").classed("scrollbar-vertical",!0).call(a.fill,r.barColor),C?(this.vbar=L.attr({rx:r.barRadius,ry:r.barRadius,x:W,y:q,width:D,height:A}),this._vbarYMin=q+A/2,this._vbarTranslateMax=T-A):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var E=this.id,U=b-.5,z=C?d+D+.5:d+.5,j=c-.5,k=m?v+R+.5:v+.5,F=l._topdefs.selectAll("#"+E).data(m||C?[0]:[]);if(F.exit().remove(),F.enter().append("clipPath").attr("id",E).append("rect"),m||C?(this._clipRect=F.select("rect").attr({x:Math.floor(U),y:Math.floor(j),width:Math.ceil(z)-Math.floor(U),height:Math.ceil(k)-Math.floor(j)}),this.container.call(i.setClipUrl,E,this.gd),this.bg.attr({x:p,y:g,width:u,height:x})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),m||C){var G=t.behavior.drag().on("dragstart",function(){t.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(G);var H=t.behavior.drag().on("dragstart",function(){t.event.sourceEvent.preventDefault(),t.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));m&&this.hbar.on(".drag",null).call(H),C&&this.vbar.on(".drag",null).call(H)}this.setTranslate(s,h)},r.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(i.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},r.prototype._onBoxDrag=function(){var a=this.translateX,i=this.translateY;this.hbar&&(a-=t.event.dx),this.vbar&&(i-=t.event.dy),this.setTranslate(a,i)},r.prototype._onBoxWheel=function(){var a=this.translateX,i=this.translateY;this.hbar&&(a+=t.event.deltaY),this.vbar&&(i+=t.event.deltaY),this.setTranslate(a,i)},r.prototype._onBarDrag=function(){var a=this.translateX,i=this.translateY;if(this.hbar){var r=a+this._hbarXMin,s=r+this._hbarTranslateMax;a=(e.constrain(t.event.x,r,s)-r)/(s-r)*(this.position.w-this._box.w)}if(this.vbar){var h=i+this._vbarYMin,l=h+this._vbarTranslateMax;i=(e.constrain(t.event.y,h,l)-h)/(l-h)*(this.position.h-this._box.h)}this.setTranslate(a,i)},r.prototype.setTranslate=function(t,a){var r=this.position.w-this._box.w,s=this.position.h-this._box.h;if(t=e.constrain(t||0,0,r),a=e.constrain(a||0,0,s),this.translateX=t,this.translateY=a,this.container.call(i.setTranslate,this._box.l-this.position.l-t,this._box.t-this.position.t-a),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+t-.5),y:Math.floor(this.position.t+a-.5)}),this.hbar){var h=t/r;this.hbar.call(i.setTranslate,t+h*this._hbarTranslateMax,a)}if(this.vbar){var l=a/s;this.vbar.call(i.setTranslate,t,a+l*this._vbarTranslateMax)}}; -},{"d3":"uT61","../color":"fSwg","../drawing":"HEt8","../../lib":"Ra1u"}],"zoUU":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("../../plots/plots"),a=require("../color"),n=require("../drawing"),i=require("../../lib"),o=require("../../lib/svg_text_utils"),r=require("../../plot_api/plot_template").arrayEditor,l=require("../../constants/alignment").LINE_SPACING,d=require("./constants"),s=require("./scrollbox");function c(t){return t._index}function h(t){return-1==+t.attr(d.menuIndexAttrName)}function u(t,e){return+t.attr(d.menuIndexAttrName)===e._index}function p(t,e,a,n,i,o,l,s){e.active=l,r(t.layout,d.name,e).applyUpdate("active",l),"buttons"===e.type?m(t,n,null,null,e):"dropdown"===e.type&&(i.attr(d.menuIndexAttrName,"-1"),g(t,n,i,o,e),s||m(t,n,i,o,e))}function g(t,e,a,o,r){var l=i.ensureSingle(e,"g",d.headerClassName,function(t){t.style("pointer-events","all")}),s=r._dims,c=r.active,h=r.buttons[c]||d.blankHeaderOpts,p={y:r.pad.t,yPad:0,x:r.pad.l,xPad:0,index:0},g={width:s.headerWidth,height:s.headerHeight};l.call(v,r,h,t).call(W,r,p,g),i.ensureSingle(e,"text",d.headerArrowClassName,function(t){t.classed("user-select-none",!0).attr("text-anchor","end").call(n.font,r.font).text(d.arrowSymbol[r.direction])}).attr({x:s.headerWidth-d.arrowOffsetX+r.pad.l,y:s.headerHeight/2+d.textOffsetY+r.pad.t}),l.on("click",function(){a.call(_,String(u(a,r)?-1:r._index)),m(t,e,a,o,r)}),l.on("mouseover",function(){l.call(C)}),l.on("mouseout",function(){l.call(N,r)}),n.setTranslate(e,s.lx,s.ly)}function m(a,n,o,r,l){o||(o=n).attr("pointer-events","all");var s=h(o)&&"buttons"!==l.type?[]:l.buttons,c="dropdown"===l.type?d.dropdownButtonClassName:d.buttonClassName,u=o.selectAll("g."+c).data(i.filterVisible(s)),g=u.enter().append("g").classed(c,!0),m=u.exit();"dropdown"===l.type?(g.attr("opacity","0").transition().attr("opacity","1"),m.transition().attr("opacity","0").remove()):m.remove();var y=0,w=0,H=l._dims,B=-1!==["up","down"].indexOf(l.direction);"dropdown"===l.type&&(B?w=H.headerHeight+d.gapButtonHeader:y=H.headerWidth+d.gapButtonHeader),"dropdown"===l.type&&"up"===l.direction&&(w=-d.gapButtonHeader+d.gapButton-H.openHeight),"dropdown"===l.type&&"left"===l.direction&&(y=-d.gapButtonHeader+d.gapButton-H.openWidth);var _={x:H.lx+y+l.pad.l,y:H.ly+w+l.pad.t,yPad:d.gapButton,xPad:d.gapButton,index:0},A={l:_.x+l.borderwidth,t:_.y+l.borderwidth};u.each(function(i,d){var s=t.select(this);s.call(v,l,i,a).call(W,l,_),s.on("click",function(){t.event.defaultPrevented||(i.execute&&(i.args2&&l.active===d?(p(a,l,i,n,o,r,-1),e.executeAPICommand(a,i.method,i.args2)):(p(a,l,i,n,o,r,d),e.executeAPICommand(a,i.method,i.args))),a.emit("plotly_buttonclicked",{menu:l,button:i,active:l.active}))}),s.on("mouseover",function(){s.call(C)}),s.on("mouseout",function(){s.call(N,l),u.call(b,l)})}),u.call(b,l),B?(A.w=Math.max(H.openWidth,H.headerWidth),A.h=_.y-A.t):(A.w=_.x-A.l,A.h=Math.max(H.openHeight,H.headerHeight)),A.direction=l.direction,r&&(u.size()?f(a,n,o,r,l,A):x(r))}function f(t,e,a,n,i,o){var r,l,s,c=i.direction,h="up"===c||"down"===c,u=i._dims,p=i.active;if(h)for(l=0,s=0;s0?[0]:[]);if(l.enter().append("g").classed(d.containerClassName,!0).style("cursor","pointer"),l.exit().each(function(){t.select(this).selectAll("g."+d.headerGroupClassName).each(r)}).remove(),0!==o.length){var h=l.selectAll("g."+d.headerGroupClassName).data(o,c);h.enter().append("g").classed(d.headerGroupClassName,!0);for(var f=i.ensureSingle(l,"g",d.dropdownButtonGroupClassName,function(t){t.style("pointer-events","all")}),x=0;x0&&(o=o.transition().duration(t.transition.duration).ease(t.transition.easing)),o.attr("transform","translate("+(i-.5*s.gripWidth)+","+t._dims.currentValueTotalHeight+")")}}function k(e,t){var a=e._dims;return a.inputAreaStart+s.stepInset+(a.inputAreaLength-2*s.stepInset)*Math.min(1,Math.max(0,t))}function T(e,t){var a=e._dims;return Math.min(1,Math.max(0,(t-s.stepInset-a.inputAreaStart)/(a.inputAreaLength-2*s.stepInset-2*a.inputAreaStart)))}function V(e,t,l){var i=l._dims,o=n.ensureSingle(e,"rect",s.railTouchRectClass,function(a){a.call(y,t,e,l).style("pointer-events","all")});o.attr({width:i.inputAreaLength,height:Math.max(i.inputAreaWidth,s.tickOffset+l.ticklen+i.labelHeight)}).call(a.fill,l.bgcolor).attr("opacity",0),r.setTranslate(o,0,i.currentValueTotalHeight)}function w(e,t){var l=t._dims,i=l.inputAreaLength-2*s.railInset,o=n.ensureSingle(e,"rect",s.railRectClass);o.attr({width:i,height:s.railWidth,rx:s.railRadius,ry:s.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,t.bordercolor).call(a.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),r.setTranslate(o,s.railInset,.5*(l.inputAreaWidth-s.railWidth)+l.currentValueTotalHeight)}module.exports=function(a){var r=a._fullLayout,n=g(r,a),l=r._infolayer.selectAll("g."+s.containerClassName).data(n.length>0?[0]:[]);function i(e){e._commandObserver&&(e._commandObserver.remove(),delete e._commandObserver),t.autoMargin(a,h(e))}if(l.enter().append("g").classed(s.containerClassName,!0).style("cursor","ew-resize"),l.exit().each(function(){e.select(this).selectAll("g."+s.groupClassName).each(i)}).remove(),0!==n.length){var o=l.selectAll("g."+s.groupClassName).data(n,p);o.enter().append("g").classed(s.groupClassName,!0),o.exit().each(i).remove();for(var c=0;c0)){var h=c(u,s,d);v("x",h[0]),v("y",h[1]),r.noneOrAll(l,u,["x","y"]),v("xanchor"),v("yanchor"),r.coerceFont(v,"font",s.font);var p=v("bgcolor");v("activecolor",e.contrast(p,a.lightAmount,a.darkAmount)),v("bordercolor"),v("borderwidth")}}; -},{"../../lib":"Ra1u","../color":"fSwg","../../plot_api/plot_template":"Df6H","../../plots/array_container_defaults":"uoPQ","./attributes":"mwRy","./constants":"NwyP"}],"yDbb":[function(require,module,exports) { -"use strict";var e=require("d3");function t(t,r){var a,n=t.range,c=new Date(t.r2l(n[1])),s=r.step,u=r.count;switch(r.stepmode){case"backward":a=t.l2r(+e.time[s].utc.offset(c,-u));break;case"todate":var i=e.time[s].utc.offset(c,-u);a=t.l2r(+e.time[s].utc.ceil(i))}return[a,n[1]]}module.exports=function(e,r){var a=e._name,n={};if("all"===r.step)n[a+".autorange"]=!0;else{var c=t(e,r);n[a+".range[0]"]=c[0],n[a+".range[1]"]=c[1]}return n}; -},{"d3":"uT61"}],"pl5d":[function(require,module,exports) { -"use strict";var e=require("d3"),t=require("../../registry"),r=require("../../plots/plots"),n=require("../color"),o=require("../drawing"),l=require("../../lib"),i=require("../../lib/svg_text_utils"),a=require("../../plots/cartesian/axis_ids"),s=require("../../constants/alignment"),c=s.LINE_SPACING,u=s.FROM_TL,d=s.FROM_BR,h=require("./constants"),f=require("./get_update_object");function g(e){for(var t=a.list(e,"x",!0),r=[],n=0;n1){if(!f&&!y&&!c)"independent"===_("pattern")&&(f=!0);x._hasSubplotGrid=f;var v,b,w="top to bottom"===_("roworder"),T=f?.2:.1,A=f?.3:.1;h&&o._splomGridDflt&&(v=o._splomGridDflt.xside,b=o._splomGridDflt.yside),x._domains={x:l("x",_,T,v,g),y:l("y",_,A,b,m,w)}}else delete o.grid}function _(t,o){return e.coerce(r,x,a,t,o)}}function l(e,t,o,r,i,a){var s=t(e+"gap",o),n=t("domain."+e);t(e+"side",r);for(var l=new Array(i),d=n[0],p=(n[1]-d)/(i-s),u=p*(1-s),f=0;f0;o.each(function(o){var p,d=o[0].trace,h=d.error_x||{},x=d.error_y||{};d.ids&&(p=function(e){return e.id});var u=t.hasMarkers(d)&&d.marker.maxdisplayed>0;x.visible||h.visible||(o=[]);var f=e.select(this).selectAll("g.errorbar").data(o,p);if(f.exit().remove(),o.length){h.visible||f.selectAll("path.xerror").remove(),x.visible||f.selectAll("path.yerror").remove(),f.style("opacity",1);var m=f.enter().append("g").classed("errorbar",!0);v&&m.style("opacity",0).transition().duration(c.duration).style("opacity",1),s.setClipUrl(f,n.layerClipId,a),f.each(function(s){var t=e.select(this),a=i(s,l,y);if(!u||s.vis){var o,n=t.select("path.yerror");if(x.visible&&r(a.x)&&r(a.yh)&&r(a.ys)){var p=x.width;o="M"+(a.x-p)+","+a.yh+"h"+2*p+"m-"+p+",0V"+a.ys,a.noYS||(o+="m-"+p+",0h"+2*p),!n.size()?n=t.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0):v&&(n=n.transition().duration(c.duration).ease(c.easing)),n.attr("d",o)}else n.remove();var d=t.select("path.xerror");if(h.visible&&r(a.y)&&r(a.xh)&&r(a.xs)){var f=(h.copy_ystyle?x:h).width;o="M"+a.xh+","+(a.y-f)+"v"+2*f+"m0,-"+f+"H"+a.xs,a.noXS||(o+="m0,-"+f+"v"+2*f),!d.size()?d=t.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0):v&&(d=d.transition().duration(c.duration).ease(c.easing)),d.attr("d",o)}else d.remove()}})}})}; -},{"d3":"uT61","fast-isnumeric":"T2RE","../drawing":"HEt8","../../traces/scatter/subtypes":"WwK3"}],"jQzB":[function(require,module,exports) { -"use strict";var e=require("d3"),r=require("../color");module.exports=function(t){t.each(function(t){var o=t[0].trace,l=o.error_y||{},s=o.error_x||{},c=e.select(this);c.selectAll("path.yerror").style("stroke-width",l.thickness+"px").call(r.stroke,l.color),s.copy_ystyle&&(s=l),c.selectAll("path.xerror").style("stroke-width",s.thickness+"px").call(r.stroke,s.color)})}; -},{"d3":"uT61","../color":"fSwg"}],"Mz9S":[function(require,module,exports) { -"use strict";var e=require("../../lib"),r=require("../../plot_api/edit_types").overrideAll,t=require("./attributes"),o={error_x:e.extendFlat({},t),error_y:e.extendFlat({},t)};delete o.error_x.copy_zstyle,delete o.error_y.copy_zstyle,delete o.error_y.copy_ystyle;var l={error_x:e.extendFlat({},t),error_y:e.extendFlat({},t),error_z:e.extendFlat({},t)};function y(e,r,t){(r.error_y||{}).visible&&(t.yerr=e.yh-e.y,r.error_y.symmetric||(t.yerrneg=e.y-e.ys)),(r.error_x||{}).visible&&(t.xerr=e.xh-e.x,r.error_x.symmetric||(t.xerrneg=e.x-e.xs))}delete l.error_x.copy_ystyle,delete l.error_y.copy_ystyle,delete l.error_z.copy_ystyle,delete l.error_z.copy_zstyle,module.exports={moduleType:"component",name:"errorbars",schema:{traces:{scatter:o,bar:o,histogram:o,scatter3d:r(l,"calc","nested"),scattergl:r(o,"calc","nested")}},supplyDefaults:require("./defaults"),calc:require("./calc"),makeComputeError:require("./compute_error"),plot:require("./plot"),style:require("./style"),hoverInfo:y}; -},{"../../lib":"Ra1u","../../plot_api/edit_types":"VPPm","./attributes":"iACr","./defaults":"w0Q0","./calc":"J4xu","./compute_error":"lPyP","./plot":"Bsao","./style":"jQzB"}],"weZ5":[function(require,module,exports) { -"use strict";module.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}; -},{}],"jnyo":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("tinycolor2"),r=require("../../plots/plots"),i=require("../../registry"),l=require("../../plots/cartesian/axes"),o=require("../dragelement"),a=require("../../lib"),n=require("../../lib/extend").extendFlat,c=require("../../lib/setcursor"),s=require("../drawing"),d=require("../color"),u=require("../titles"),h=require("../../lib/svg_text_utils"),f=require("../colorscale/helpers").flipScale,p=require("../../plots/cartesian/axis_defaults"),x=require("../../plots/cartesian/position_defaults"),m=require("../../plots/cartesian/layout_attributes"),_=require("../../constants/alignment"),b=_.LINE_SPACING,v=_.FROM_TL,k=_.FROM_BR,g=require("./constants").cn;function y(e){var i=e._fullLayout._infolayer.selectAll("g."+g.colorbar).data(w(e),function(t){return t._id});i.enter().append("g").attr("class",function(t){return t._id}).classed(g.colorbar,!0),i.each(function(r){var i=t.select(this);a.ensureSingle(i,"rect",g.cbbg),a.ensureSingle(i,"g",g.cbfills),a.ensureSingle(i,"g",g.cblines),a.ensureSingle(i,"g",g.cbaxis,function(t){t.classed(g.crisp,!0)}),a.ensureSingle(i,"g",g.cbtitleunshift,function(t){t.append("g").classed(g.cbtitle,!0)}),a.ensureSingle(i,"rect",g.cboutline);var l=M(i,r,e);l&&l.then&&(e._promises||[]).push(l),e._context.edits.colorbarPosition&&q(i,r,e)}),i.exit().each(function(t){r.autoMargin(e,t._id)}).remove(),i.order()}function w(t){var e,r,i,l,o=t._fullLayout,a=t.calcdata,c=[];function s(t){return n(t,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function d(){"function"==typeof l.calc?l.calc(t,i,e):(e._fillgradient=r.reversescale?f(r.colorscale):r.colorscale,e._zrange=[r[l.min],r[l.max]])}for(var u=0;u1){var V=Math.pow(10,Math.floor(Math.log(Q)/Math.LN10));J*=V*a.roundUp(Q/V,[2,5,10]),(Math.abs(A.start)/A.size+1e-6)%1<2e-6&&(D.tick0=0)}D.dtick=J}D.domain=[E+N,E+O-N],D.setScale(),i.attr("transform","translate("+Math.round(p.l)+","+Math.round(p.t)+")");var W,X=i.select("."+g.cbtitleunshift).attr("transform","translate(-"+Math.round(p.l)+",-"+Math.round(p.t)+")"),Y=i.select("."+g.cbaxis),Z=0;function $(t,e){var r={propContainer:D,propName:o._propPrefix+"title",traceIndex:o._traceIndex,_meta:o._meta,placeholder:f._dfltTitle.colorbar,containerGroup:i.select("."+g.cbtitle)},l="h"===t.charAt(0)?t.substr(1):"h"+t;i.selectAll("."+l+",."+l+"-math-group").remove(),u.draw(c,t,n(r,e||{}))}return a.syncOrAsync([r.previousPromises,function(){if(-1!==["top","bottom"].indexOf(y)){var t,e=p.l+(o.x+R)*p.w,r=D.title.font.size;t="top"===y?(1-(E+O-N))*p.h+p.t+3+.75*r:(1-(E+N))*p.h+p.t-3-.25*r,$(D._id+"title",{attributes:{x:e,y:t,"text-anchor":"start"}})}},function(){if(-1!==["top","bottom"].indexOf(y)){var r=i.select("."+g.cbtitle),n=r.select("text"),d=[-o.outlinewidth/2,o.outlinewidth/2],u=r.select(".h"+D._id+"title-math-group").node(),f=15.6;if(n.node()&&(f=parseInt(n.node().style.fontSize,10)*b),u?(Z=s.bBox(u).height)>f&&(d[1]-=(Z-f)/2):n.node()&&!n.classed(g.jsPlaceholder)&&(Z=s.bBox(n.node()).height),Z){if(Z+=5,"top"===y)D.domain[1]-=Z/p.h,d[1]*=-1;else{D.domain[0]+=Z/p.h;var x=h.lineCount(n);d[1]+=(1-x)*f}r.attr("transform","translate("+d+")"),D.setScale()}}i.selectAll("."+g.cbfills+",."+g.cblines).attr("transform","translate(0,"+Math.round(p.h*(1-D.domain[1]))+")"),Y.attr("transform","translate(0,"+Math.round(-p.t)+")");var _=i.select("."+g.cbfills).selectAll("rect."+g.cbfill).data(L);_.enter().append("rect").classed(g.cbfill,!0).style("stroke","none"),_.exit().remove();var v=w.map(D.c2p).map(Math.round).sort(function(t,e){return t-e});_.each(function(r,i){var l=[0===i?w[0]:(L[i]+L[i-1])/2,i===L.length-1?w[1]:(L[i]+L[i+1])/2].map(D.c2p).map(Math.round);l[1]=a.constrain(l[1]+(l[1]>l[0])?1:-1,v[0],v[1]);var n=t.select(this).attr({x:G,width:Math.max(T,2),y:t.min(l),height:Math.max(t.max(l)-t.min(l),2)});if(o._fillgradient)s.gradient(n,c,o._id,"vertical",o._fillgradient,"fill");else{var d=q(r).replace("e-","");n.attr("fill",e(d).toHexString())}});var k=i.select("."+g.cblines).selectAll("path."+g.cbline).data(m.color&&m.width?P:[]);k.enter().append("path").classed(g.cbline,!0),k.exit().remove(),k.each(function(e){t.select(this).attr("d","M"+G+","+(Math.round(D.c2p(e))+m.width/2%1)+"h"+T).call(s.lineGroupStyle,m.width,M(e),m.dash)}),Y.selectAll("g."+D._id+"tick,path").remove();var F=G+T+(o.outlinewidth||0)/2-("outside"===o.ticks?1:0),z=l.calcTicks(D),A=l.makeTransFn(D),S=l.getTickSigns(D)[2];return l.drawTicks(c,D,{vals:"inside"===D.ticks?l.clipEnds(D,z):z,layer:Y,path:l.makeTickPath(D,F,S),transFn:A}),l.drawLabels(c,D,{vals:z,layer:Y,transFn:A,labelFns:l.makeLabelFns(D,F)})},function(){if(-1===["top","bottom"].indexOf(y)){var e=D.title.font.size,r=D._offset+D._length/2,i=p.l+(D.position||0)*p.w+("right"===D.side?10+e*(D.showticklabels?1:.5):-10-e*(D.showticklabels?.5:0));$("h"+D._id+"title",{avoid:{selection:t.select(c).selectAll("g."+D._id+"tick"),side:y,offsetLeft:p.l,offsetTop:0,maxShift:f.width},attributes:{x:i,y:r,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}},r.previousPromises,function(){var t=T+o.outlinewidth/2+s.bBox(Y.node()).width;if((W=X.select("text")).node()&&!W.classed(g.jsPlaceholder)){var e,l=X.select(".h"+D._id+"title-math-group").node();e=l&&-1!==["top","bottom"].indexOf(y)?s.bBox(l).width:s.bBox(X.node()).right-G-p.l,t=Math.max(t,e)}var a=2*o.xpad+t+o.borderwidth+o.outlinewidth/2,n=H-U;i.select("."+g.cbbg).attr({x:G-o.xpad-(o.borderwidth+o.outlinewidth)/2,y:U-C,width:Math.max(a,2),height:Math.max(n+2*C,2)}).call(d.fill,o.bgcolor).call(d.stroke,o.bordercolor).style("stroke-width",o.borderwidth),i.selectAll("."+g.cboutline).attr({x:G,y:U+o.ypad+("top"===y?Z:0),width:Math.max(T,2),height:Math.max(n-2*o.ypad-Z,2)}).call(d.stroke,o.outlinecolor).style({fill:"none","stroke-width":o.outlinewidth});var u=({center:.5,right:1}[o.xanchor]||0)*a;i.attr("transform","translate("+(p.l-u)+","+p.t+")");var h={},f=v[o.yanchor],x=k[o.yanchor];"pixels"===o.lenmode?(h.y=o.y,h.t=n*f,h.b=n*x):(h.t=h.b=0,h.yt=o.y+o.len*f,h.yb=o.y-o.len*x);var m=v[o.xanchor],_=k[o.xanchor];if("pixels"===o.thicknessmode)h.x=o.x,h.l=a*m,h.r=a*_;else{var b=a-T;h.l=b*m,h.r=b*_,h.xl=o.x-o.thickness*m,h.xr=o.x+o.thickness*_}r.autoMargin(c,o._id,h)}],c)}function q(t,e,r){var l,a,n,s=r._fullLayout._size;o.init({element:t.node(),gd:r,prepFn:function(){l=t.attr("transform"),c(t)},moveFn:function(r,i){t.attr("transform",l+" translate("+r+","+i+")"),a=o.align(e._xLeftFrac+r/s.w,e._thickFrac,0,1,e.xanchor),n=o.align(e._yBottomFrac-i/s.h,e._lenFrac,0,1,e.yanchor);var d=o.getCursor(a,n,e.xanchor,e.yanchor);c(t,d)},doneFn:function(){if(c(t),void 0!==a&&void 0!==n){var l={};l[e._propPrefix+"x"]=a,l[e._propPrefix+"y"]=n,void 0!==e._traceIndex?i.call("_guiRestyle",r,l,e._traceIndex):i.call("_guiRelayout",r,l)}}})}function F(t,e,r){var i,l,o=e._levels,a=[],n=[],c=o.end+o.size/100,s=o.size,d=1.001*r[0]-.001*r[1],u=1.001*r[1]-.001*r[0];for(l=0;l<1e5&&(i=o.start+l*s,!(s>0?i>=c:i<=c));l++)i>d&&i0?i>=c:i<=c));l++)i>r[0]&&i-1}module.exports=function(e,n){var l;e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var r=e.data,h=e.layout,c=i([],r),d=i({},h,s(n.tileClass)),x=e._context||{};if(n.width&&(d.width=n.width),n.height&&(d.height=n.height),"thumbnail"===n.tileClass||"themes__thumb"===n.tileClass){d.annotations=[];var u=Object.keys(d);for(l=0;l","<","|","/","\\"],dflt:">",role:"style",editType:"plot",description:["Determines which shape is used for edges between `barpath` labels."].join(" ")},thickness:{valType:"number",min:12,role:"info",editType:"plot",description:["Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used","with 3 pixles extra padding on each side."].join(" ")},textfont:n({},r.textfont,{description:"Sets the font used inside `pathbar`."}),editType:"calc"},text:r.text,textinfo:a.textinfo,texttemplate:t({editType:"plot"},{keys:s.eventDataKeys.concat(["label","value"])}),hovertext:r.hovertext,hoverinfo:a.hoverinfo,hovertemplate:e({},{keys:s.eventDataKeys}),textfont:r.textfont,insidetextfont:r.insidetextfont,outsidetextfont:r.outsidetextfont,textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",role:"style",editType:"plot",description:["Sets the positions of the `text` elements."].join(" ")},domain:o({name:"treemap",trace:!0,editType:"calc"})}; -},{"../../plots/template_attributes":"L9iY","../../components/colorscale/attributes":"v5TS","../../plots/domain":"CQ5T","../pie/attributes":"BrEZ","../sunburst/attributes":"qbXO","./constants":"zwAL","../../lib/extend":"qfbf"}],"YmS3":[function(require,module,exports) { -"use strict";module.exports={treemapcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default treemap slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendtreemapcolors`."].join(" ")},extendtreemapcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the treemap slice colors (whether given by `treemapcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}; -},{}],"b8R7":[function(require,module,exports) { -"use strict";var e=require("../../components/color"),r=require("../../components/colorscale/helpers").hasColorscale,o=require("../../components/colorscale/defaults");module.exports=function(c,l,a,t,i){a("marker.color",t),r(c,"marker")&&o(c,l,i,a,{prefix:"marker.",cLetter:"c"}),a("marker.line.color",e.defaultLine),r(c,"marker.line")&&o(c,l,i,a,{prefix:"marker.line.",cLetter:"c"}),a("marker.line.width"),a("marker.opacity"),a("selected.marker.color"),a("unselected.marker.color")}; -},{"../../components/color":"fSwg","../../components/colorscale/helpers":"aSM5","../../components/colorscale/defaults":"kgut"}],"OPIb":[function(require,module,exports) { -"use strict";module.exports={TEXTPAD:3,eventDataKeys:["value","label"]}; -},{}],"oFKz":[function(require,module,exports) { -"use strict";var e=require("../scatter/attributes"),t=require("../../plots/template_attributes").hovertemplateAttrs,i=require("../../plots/template_attributes").texttemplateAttrs,o=require("../../components/colorscale/attributes"),a=require("../../plots/font_attributes"),n=require("./constants"),s=require("../../lib/extend").extendFlat,r=a({editType:"calc",arrayOk:!0,colorEditType:"style",description:""}),l=e.marker,d=l.line,p=s({},d.width,{dflt:0}),c=s({width:p,editType:"calc"},o("marker.line")),h=s({line:c,editType:"calc"},o("marker"),{opacity:{valType:"number",arrayOk:!0,dflt:1,min:0,max:1,role:"style",editType:"style",description:"Sets the opacity of the bars."}});module.exports={x:e.x,x0:e.x0,dx:e.dx,y:e.y,y0:e.y0,dy:e.dy,text:e.text,texttemplate:i({editType:"plot"},{keys:n.eventDataKeys}),hovertext:e.hovertext,hovertemplate:t({},{keys:n.eventDataKeys}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"none",arrayOk:!0,editType:"calc",description:["Specifies the location of the `text`.","*inside* positions `text` inside, next to the bar end","(rotated and scaled if needed).","*outside* positions `text` outside, next to the bar end","(scaled if needed), unless there is another bar stacked on","this one, then the text gets pushed inside.","*auto* tries to position `text` inside the bar, but if","the bar is too small and no bar is stacked on this one","the text is moved outside."].join(" ")},insidetextanchor:{valType:"enumerated",values:["end","middle","start"],dflt:"end",role:"info",editType:"plot",description:["Determines if texts are kept at center or start/end points in `textposition` *inside* mode."].join(" ")},textangle:{valType:"angle",dflt:"auto",role:"info",editType:"plot",description:["Sets the angle of the tick labels with respect to the bar.","For example, a `tickangle` of -90 draws the tick labels","vertically. With *auto* the texts may automatically be","rotated to fit with the maximum size in bars."].join(" ")},textfont:s({},r,{description:"Sets the font used for `text`."}),insidetextfont:s({},r,{description:"Sets the font used for `text` lying inside the bar."}),outsidetextfont:s({},r,{description:"Sets the font used for `text` lying outside the bar."}),constraintext:{valType:"enumerated",values:["inside","outside","both","none"],role:"info",dflt:"both",editType:"calc",description:["Constrain the size of text inside or outside a bar to be no","larger than the bar itself."].join(" ")},cliponaxis:s({},e.cliponaxis,{description:["Determines whether the text nodes","are clipped about the subplot axes.","To show the text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")}),orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc+clearAxisTypes",description:["Sets the orientation of the bars.","With *v* (*h*), the value of the each bar spans","along the vertical (horizontal)."].join(" ")},base:{valType:"any",dflt:null,arrayOk:!0,role:"info",editType:"calc",description:["Sets where the bar base is drawn (in position axis units).","In *stack* or *relative* barmode,","traces that set *base* will be excluded","and drawn in *overlay* mode instead."].join(" ")},offset:{valType:"number",dflt:null,arrayOk:!0,role:"info",editType:"calc",description:["Shifts the position where the bar is drawn","(in position axis units).","In *group* barmode,","traces that set *offset* will be excluded","and drawn in *overlay* mode instead."].join(" ")},width:{valType:"number",dflt:null,min:0,arrayOk:!0,role:"info",editType:"calc",description:["Sets the bar width (in position axis units)."].join(" ")},marker:h,offsetgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several traces linked to the same position axis","or matching axes to the same","offsetgroup where bars of the same position coordinate will line up."].join(" ")},alignmentgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several traces linked to the same position axis","or matching axes to the same","alignmentgroup. This controls whether bars compute their positional","range dependently or independently."].join(" ")},selected:{marker:{opacity:e.selected.marker.opacity,color:e.selected.marker.color,editType:"style"},textfont:e.selected.textfont,editType:"style"},unselected:{marker:{opacity:e.unselected.marker.opacity,color:e.unselected.marker.color,editType:"style"},textfont:e.unselected.textfont,editType:"style"},r:e.r,t:e.t,_deprecated:{bardir:{valType:"enumerated",role:"info",editType:"calc",values:["v","h"],description:"Renamed to `orientation`."}}}; -},{"../scatter/attributes":"q8Id","../../plots/template_attributes":"L9iY","../../components/colorscale/attributes":"v5TS","../../plots/font_attributes":"c1FL","./constants":"OPIb","../../lib/extend":"qfbf"}],"cOpR":[function(require,module,exports) { -"use strict";var e=require("../../lib"),t=require("../../components/color"),o=require("../../registry"),r=require("../scatter/xy_defaults"),n=require("./style_defaults"),s=require("../../plots/cartesian/axis_ids").getAxisGroup,a=require("./attributes"),i=e.coerceFont;function l(s,i,l,u){function c(t,o){return e.coerce(s,i,a,t,o)}if(r(s,i,u,c)){c("orientation",i.x&&!i.y?"h":"v"),c("base"),c("offset"),c("width"),c("text"),c("hovertext"),c("hovertemplate");var f=c("textposition");d(s,i,u,c,f,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),n(s,i,c,l,u);var x=(i.marker.line||{}).color,p=o.getComponentMethod("errorbars","supplyDefaults");p(s,i,x||t.defaultLine,{axis:"y"}),p(s,i,x||t.defaultLine,{axis:"x",inherit:"y"}),e.coerceSelectionMarkerOpacity(i,c)}else i.visible=!1}function u(e,t,o,r){var n=t.orientation,a=t[{v:"x",h:"y"}[n]+"axis"],i=s(o,a)+n,l=o._alignmentOpts||{},u=r("alignmentgroup"),c=l[i];c||(c=l[i]={});var d=c[u];d?d.traces.push(t):d=c[u]={traces:[t],alignmentIndex:Object.keys(c).length,offsetGroups:{}};var f=r("offsetgroup"),x=d.offsetGroups,p=x[f];f&&(p||(p=x[f]={offsetIndex:Object.keys(x).length}),t._offsetIndex=p.offsetIndex)}function c(t,o){var r;function n(t){return e.coerce(r._input,r,a,t)}if("group"===o.barmode)for(var s=0;s=0;)t+=r[u].value;else t=1;e.value=t}function t(){return this.eachAfter(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t; -},{}],"ootC":[function(require,module,exports) { -"use strict";function e(e){var r,t,o,s,i=this,h=[i];do{for(r=h.reverse(),h=[];i=r.pop();)if(e(i),t=i.children)for(o=0,s=t.length;o=0;--r)s.push(t[r]);return this}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; -},{}],"P6uJ":[function(require,module,exports) { -"use strict";function e(e){for(var r,t,o,p=this,s=[p],u=[];p=s.pop();)if(u.push(p),r=p.children)for(t=0,o=r.length;t=0;)r+=u[a].value;t.value=r})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; -},{}],"j5Cl":[function(require,module,exports) { -"use strict";function e(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; -},{}],"wdBo":[function(require,module,exports) { -"use strict";function r(r){for(var t=this,o=e(t,r),p=[t];t!==o;)t=t.parent,p.push(t);for(var n=p.length;r!==o;)p.splice(n,0,r),r=r.parent;return p}function e(r,e){if(r===e)return r;var t=r.ancestors(),o=e.ancestors(),p=null;for(r=t.pop(),e=o.pop();r===e;)p=r,r=t.pop(),e=o.pop();return p}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r; -},{}],"b4Rq":[function(require,module,exports) { -"use strict";function e(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; -},{}],"mj9L":[function(require,module,exports) { -"use strict";function e(){var e=[];return this.each(function(t){e.push(t)}),e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; -},{}],"dlF0":[function(require,module,exports) { -"use strict";function e(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; -},{}],"iDpf":[function(require,module,exports) { -"use strict";function e(){var e=this,t=[];return e.each(function(r){r!==e&&t.push({source:r.parent,target:r})}),t}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; -},{}],"awbY":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=c,exports.computeHeight=q,exports.Node=v;var e=h(require("./count.js")),t=h(require("./each.js")),r=h(require("./eachBefore.js")),a=h(require("./eachAfter.js")),u=h(require("./sum.js")),n=h(require("./sort.js")),s=h(require("./path.js")),o=h(require("./ancestors.js")),i=h(require("./descendants.js")),d=h(require("./leaves.js")),l=h(require("./links.js"));function h(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var r,a,u,n,s,o=new v(e),i=+e.value&&(o.value=e.value),d=[o];for(null==t&&(t=p);r=d.pop();)if(i&&(r.value=+r.data.value),(u=t(r.data))&&(s=u.length))for(r.children=new Array(s),n=s-1;n>=0;--n)d.push(a=r.children[n]=new v(u[n])),a.parent=r,a.depth=r.depth+1;return o.eachBefore(q)}function f(){return c(this).eachBefore(j)}function p(e){return e.children}function j(e){e.data=e.data.data}function q(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function v(e){this.data=e,this.depth=this.height=0,this.parent=null}v.prototype=c.prototype={constructor:v,count:e.default,each:t.default,eachAfter:a.default,eachBefore:r.default,sum:u.default,sort:n.default,path:s.default,ancestors:o.default,descendants:i.default,leaves:d.default,links:l.default,copy:f}; -},{"./count.js":"gwJQ","./each.js":"ootC","./eachBefore.js":"v8XQ","./eachAfter.js":"P6uJ","./sum.js":"gWUA","./sort.js":"j5Cl","./path.js":"wdBo","./ancestors.js":"b4Rq","./descendants.js":"mj9L","./leaves.js":"dlF0","./links.js":"iDpf"}],"g97z":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.shuffle=r,exports.slice=void 0;var e=Array.prototype.slice;function r(e){for(var r,t,o=e.length;o;)t=Math.random()*o--|0,r=e[o],e[o]=e[t],e[t]=r;return e}exports.slice=e; -},{}],"Ph5L":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=t;var r=require("../array.js");function t(t){for(var n,f,a=0,i=(t=(0,r.shuffle)(r.slice.call(t))).length,c=[];a0&&e*e>n*n+u*u}function f(r,t){for(var e=0;e(i*=i)?(n=(f+i-u)/(2*f),x=Math.sqrt(Math.max(0,i/f-n*n)),t.x=r.x-n*o-x*s,t.y=r.y-n*s+x*o):(n=(f+u-i)/(2*f),x=Math.sqrt(Math.max(0,u/f-n*n)),t.x=e.x+n*o-x*s,t.y=e.y+n*s+x*o)):(t.x=e.x+t.r,t.y=e.y)}function n(r,e){var t=r.r+e.r-1e-6,n=e.x-r.x,u=e.y-r.y;return t>0&&t*t>n*n+u*u}function u(r){var e=r._,t=r.next._,n=e.r+t.r,u=(e.x*t.r+t.x*e.r)/n,x=(e.y*t.r+t.y*e.r)/n;return u*u+x*x}function x(r){this._=r,this.next=null,this.previous=null}function i(e){if(!(f=e.length))return 0;var i,o,s,f,_,y,a,p,v,l,c;if((i=e[0]).x=0,i.y=0,!(f>1))return i.r;if(o=e[1],i.x=-o.r,o.x=i.r,o.y=0,!(f>2))return i.r+o.r;t(o,i,s=e[2]),i=new x(i),o=new x(o),s=new x(s),i.next=s.previous=o,o.next=i.previous=s,s.next=o.previous=i;r:for(a=3;a0)throw new Error("cycle");return f}return f.id=function(e){return arguments.length?(c=(0,r.required)(e),f):c},f.parentId=function(e){return arguments.length?(h=(0,r.required)(e),f):h},f} -},{"./accessors.js":"ConL","./hierarchy/index.js":"awbY"}],"spqv":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=l;var n=require("./hierarchy/index.js");function e(n,e){return n.parent===e.parent?1:2}function t(n){var e=n.children;return e?e[0]:n.t}function r(n){var e=n.children;return e?e[e.length-1]:n.t}function i(n,e,t){var r=t/(e.i-n.i);e.c-=r,e.s+=t,n.c+=r,e.z+=t,e.m+=t}function u(n){for(var e,t=0,r=0,i=n.children,u=i.length;--u>=0;)(e=i[u]).z+=t,e.m+=t,t+=e.s+(r+=e.c)}function c(n,e,t){return n.a.parent===e.parent?n.a:t}function a(n,e){this._=n,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function h(n){for(var e,t,r,i,u,c=new a(n,0),h=[c];e=h.pop();)if(r=e._.children)for(e.children=new Array(u=r.length),i=u-1;i>=0;--i)h.push(t=e.children[i]=new a(r[i],i)),t.parent=e;return(c.parent=new a(null,0)).children=[c],c}function l(){var n=e,a=1,l=1,o=null;function f(e){var t=h(e);if(t.eachAfter(p),t.parent.m=-t.z,t.eachBefore(s),o)e.eachBefore(d);else{var r=e,i=e,u=e;e.eachBefore(function(n){n.xi.x&&(i=n),n.depth>u.depth&&(u=n)});var c=r===i?1:n(r,i)/2,f=c-r.x,m=a/(i.x+c+f),z=l/(u.depth||1);e.eachBefore(function(n){n.x=(n.x+f)*m,n.y=n.depth*z})}return e}function p(e){var a=e.children,h=e.parent.children,l=e.i?h[e.i-1]:null;if(a){u(e);var o=(a[0].z+a[a.length-1].z)/2;l?(e.z=l.z+n(e._,l._),e.m=e.z-o):e.z=o}else l&&(e.z=l.z+n(e._,l._));e.parent.A=function(e,u,a){if(u){for(var h,l=e,o=e,f=u,p=l.parent.children[0],s=l.m,d=o.m,m=f.m,z=p.m;f=r(f),l=t(l),f&&l;)p=t(p),(o=r(o)).a=e,(h=f.z+m-l.z-s+n(f._,l._))>0&&(i(c(f,e,a),e,h),s+=h,d+=h),m+=f.m,s+=l.m,z+=p.m,d+=o.m;f&&!r(o)&&(o.t=f,o.m+=m-d),l&&!t(p)&&(p.t=l,p.m+=s-z,a=e)}return a}(e,l,e.parent.A||h[0])}function s(n){n._.x=n.z+n.parent.m,n.m+=n.parent.m}function d(n){n.x*=a,n.y=n.depth*l}return f.separation=function(e){return arguments.length?(n=e,f):n},f.size=function(n){return arguments.length?(o=!1,a=+n[0],l=+n[1],f):o?null:[a,l]},f.nodeSize=function(n){return arguments.length?(o=!0,a=+n[0],l=+n[1],f):o?[a,l]:null},f}a.prototype=Object.create(n.Node.prototype); -},{"./hierarchy/index.js":"awbY"}],"HMFn":[function(require,module,exports) { -"use strict";function e(e,t,l,r,u){for(var a,o=e.children,n=-1,s=o.length,v=e.value&&(u-l)/e.value;++np&&(p=s),q=c*c*M,(v=Math.max(p/q,q/h))>x){c-=s;break}x=v}_.push(n={value:c,dice:d1?r:1)},t}(u);exports.default=i; -},{"./dice.js":"lDeM","./slice.js":"HMFn"}],"zTYD":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=f;var n=i(require("./round.js")),t=i(require("./squarify.js")),e=require("../accessors.js"),r=o(require("../constant.js"));function u(){if("function"!=typeof WeakMap)return null;var n=new WeakMap;return u=function(){return n},n}function o(n){if(n&&n.__esModule)return n;if(null===n||"object"!=typeof n&&"function"!=typeof n)return{default:n};var t=u();if(t&&t.has(n))return t.get(n);var e={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var i=r?Object.getOwnPropertyDescriptor(n,o):null;i&&(i.get||i.set)?Object.defineProperty(e,o,i):e[o]=n[o]}return e.default=n,t&&t.set(n,e),e}function i(n){return n&&n.__esModule?n:{default:n}}function f(){var u=t.default,o=!1,i=1,f=1,d=[0],a=r.constantZero,c=r.constantZero,p=r.constantZero,l=r.constantZero,g=r.constantZero;function s(t){return t.x0=t.y0=0,t.x1=i,t.y1=f,t.eachBefore(y),d=[0],o&&t.eachBefore(n.default),t}function y(n){var t=d[n.depth],e=n.x0+t,r=n.y0+t,o=n.x1-t,i=n.y1-t;o=a-1){var l=u[r];return l.x0=v,l.y0=n,l.x1=o,void(l.y1=f)}var s=i[r],c=t/2+s,d=r+1,x=a-1;for(;d>>1;i[y]f-n){var _=(v*h+o*p)/t;e(r,d,p,v,n,_,f),e(d,a,h,_,n,o,f)}else{var b=(n*h+f*p)/t;e(r,d,p,v,n,o,b),e(d,a,h,v,b,o,f)}}(0,f,e.value,r,a,t,v)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=e; -},{}],"aii9":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=r;var e=u(require("./dice.js")),t=u(require("./slice.js"));function u(e){return e&&e.__esModule?e:{default:e}}function r(u,r,d,s,i){(1&u.depth?t.default:e.default)(u,r,d,s,i)} -},{"./dice.js":"lDeM","./slice.js":"HMFn"}],"F98V":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var e=t(require("./dice.js")),r=t(require("./slice.js")),u=require("./squarify.js");function t(e){return e&&e.__esModule?e:{default:e}}var a=function t(a){function i(t,i,l,f,o){if((s=t._squarify)&&s.ratio===a)for(var s,n,d,v,c,q=-1,_=s.length,p=t.value;++q<_;){for(d=(n=s[q]).children,v=n.value=0,c=d.length;v1?e:1)},i}(u.phi);exports.default=a; -},{"./dice.js":"lDeM","./slice.js":"HMFn","./squarify.js":"jOK3"}],"vZwX":[function(require,module,exports) { -"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"cluster",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(exports,"hierarchy",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(exports,"pack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(exports,"packSiblings",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(exports,"packEnclose",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(exports,"partition",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(exports,"stratify",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(exports,"tree",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(exports,"treemap",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(exports,"treemapBinary",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(exports,"treemapDice",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(exports,"treemapSlice",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(exports,"treemapSliceDice",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(exports,"treemapSquarify",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(exports,"treemapResquarify",{enumerable:!0,get:function(){return b.default}});var e=j(require("./cluster.js")),r=j(require("./hierarchy/index.js")),t=j(require("./pack/index.js")),n=j(require("./pack/siblings.js")),u=j(require("./pack/enclose.js")),i=j(require("./partition.js")),a=j(require("./stratify.js")),f=j(require("./tree.js")),o=j(require("./treemap/index.js")),p=j(require("./treemap/binary.js")),c=j(require("./treemap/dice.js")),s=j(require("./treemap/slice.js")),l=j(require("./treemap/sliceDice.js")),d=j(require("./treemap/squarify.js")),b=j(require("./treemap/resquarify.js"));function j(e){return e&&e.__esModule?e:{default:e}} -},{"./cluster.js":"npog","./hierarchy/index.js":"awbY","./pack/index.js":"iLjI","./pack/siblings.js":"tCEz","./pack/enclose.js":"Ph5L","./partition.js":"aOXa","./stratify.js":"l7QX","./tree.js":"spqv","./treemap/index.js":"zTYD","./treemap/binary.js":"B9FY","./treemap/dice.js":"lDeM","./treemap/slice.js":"HMFn","./treemap/sliceDice.js":"aii9","./treemap/squarify.js":"jOK3","./treemap/resquarify.js":"F98V"}],"y3Ls":[function(require,module,exports) { -"use strict";var r=require("fast-isnumeric"),e=require("../../lib").isArrayOrTypedArray,l=require("tinycolor2"),o=require("../../components/color"),t={};function n(l,o){var t,n,i=[],c=l._fullLayout,u=c.hiddenlabels||[],s=o.labels,f=o.marker.colors||[],d=o.values,v=e(d)&&d.length;if(o.dlabel)for(s=new Array(d.length),t=0;t=0};y?(c=Math.min(m.length,b.length),s=function(r){return k(m[r])&&M(r)},d=function(r){return String(m[r])}):(c=Math.min(g.length,b.length),s=function(r){return k(g[r])&&M(r)},d=function(r){return String(g[r])}),C&&(c=Math.min(c,_.length));for(var S=0;S1){for(var O=a.randstr(),R=0;R0)},exports.getMaxDepth=function(t){return t.maxdepth>=0?t.maxdepth:1/0},exports.isHeader=function(t,e){return!(exports.isLeaf(t)||t.depth===e._maxDepth-1)},exports.getParent=function(t,e){return exports.findEntryWithLevel(t,a(e))},exports.listPath=function(t,e){var r=t.parent;if(!r)return[];var n=e?[r.data[e]]:[r];return exports.listPath(r,e).concat(n)},exports.getPath=function(t){return exports.listPath(t,"label").join("/")+"/"},exports.formatValue=n.formatPieValue,exports.formatPercent=function(e,r){var o=t.formatPercent(e,0);return"0%"===o&&(o=n.formatPiePercent(e,r)),o}; -},{"../../lib":"Ra1u","../../components/color":"fSwg","../../lib/setcursor":"GYRL","../pie/helpers":"al8I"}],"y4SA":[function(require,module,exports) { -"use strict";var r=require("fast-isnumeric"),e=require("tinycolor2"),t=require("../../lib").isArrayOrTypedArray;exports.coerceString=function(r,e,t){if("string"==typeof e){if(e||!r.noBlank)return e}else if(("number"==typeof e||!0===e)&&!r.strict)return String(e);return void 0!==t?t:r.dflt},exports.coerceNumber=function(e,t,i){if(r(t)){t=+t;var n=e.min,o=e.max;if(!(void 0!==n&&to))return t}return void 0!==i?i:e.dflt},exports.coerceColor=function(r,t,i){return e(t).isValid()?t:void 0!==i?i:r.dflt},exports.coerceEnumerated=function(r,e,t){return r.coerceNumber&&(e=+e),-1!==r.values.indexOf(e)?e:void 0!==t?t:r.dflt},exports.getValue=function(r,e){var t;return Array.isArray(r)?e1||0===l.bargap&&0===l.bargroupgap&&!t[0].trace.marker.line.width)&&e.select(this).attr("shape-rendering","crispEdges")}),r.selectAll("g.points").each(function(r){f(e.select(this),r[0].trace,t)}),n.getComponentMethod("errorbars","style")(r)}function f(e,t,o){r.pointStyle(e.selectAll("path"),t,o),d(e,t,o)}function d(t,o,n){t.selectAll("text").each(function(t){var l=e.select(this),i=g(l,t,o,n);r.font(l,i)})}function y(e,t,r){var o=t[0].trace;o.selectedpoints?x(r,o,e):(f(r,o,e),n.getComponentMethod("errorbars","style")(r))}function x(e,t,o){r.selectedPointStyle(e.selectAll("path"),t),p(e.selectAll("text"),t,o)}function p(t,n,l){t.each(function(t){var i,c=e.select(this);if(t.selected){i=o.extendFlat({},g(c,t,n,l));var s=n.selected.textfont&&n.selected.textfont.color;s&&(i.color=s),r.font(c,i)}else r.selectedTextStyle(c,n)})}function g(e,t,r,o){var n=o._fullLayout.font,l=r.textfont;if(e.classed("bartext-inside")){var i=A(t,r);l=h(r,t.i,n,i)}else e.classed("bartext-outside")&&(l=v(r,t.i,n));return l}function m(e,t,r){return b(i,e.textfont,t,r)}function h(e,r,o,n){var l=m(e,r,o);return(void 0===e._input.textfont||void 0===e._input.textfont.color||Array.isArray(e.textfont.color)&&void 0===e.textfont.color[r])&&(l={color:t.contrast(n),family:l.family,size:l.size}),b(c,e.insidetextfont,r,l)}function v(e,t,r){var o=m(e,t,r);return b(s,e.outsidetextfont,t,o)}function b(e,t,r,o){t=t||{};var n=a.getValue(t.family,r),l=a.getValue(t.size,r),i=a.getValue(t.color,r);return{family:a.coerceString(e.family,n,o.family),size:a.coerceNumber(e.size,l,o.size),color:a.coerceColor(e.color,i,o.color)}}function A(e,t){return"waterfall"===t.type?t[e.dir].marker.color:e.mc||t.marker.color}module.exports={style:u,styleTextPoints:d,styleOnSelect:y,getInsideTextFont:h,getOutsideTextFont:v,getBarColor:A}; -},{"d3":"uT61","../../components/color":"fSwg","../../components/drawing":"HEt8","../../lib":"Ra1u","../../registry":"RoGf","./attributes":"oFKz","./helpers":"y4SA"}],"Yl2T":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("fast-isnumeric"),a=require("../../lib"),r=require("../../lib/svg_text_utils"),n=require("../../components/color"),i=require("../../components/drawing"),o=require("../../registry"),l=require("../../plots/cartesian/axes").tickText,s=require("./style"),u=require("./helpers"),c=require("./constants"),p=require("./attributes"),d=p.text,f=p.textposition,h=require("../../components/fx/helpers").appendArrayPointValue,v=c.TEXTPAD;function x(t){return t.id}function g(t){if(t.ids)return x}function m(t,e){return t0}function P(r,l,s,c,p,d){var f=l.xaxis,h=l.yaxis,v=r._fullLayout;p||(p={mode:v.barmode,norm:v.barmode,gap:v.bargap,groupgap:v.bargroupgap});var x=a.makeTraceGroups(c,s,"trace bars").each(function(o){var s=t.select(this),c=o[0].trace,v="waterfall"===c.type,x="funnel"===c.type,P="bar"===c.type||x,w=0;v&&c.connector.visible&&"between"===c.connector.mode&&(w=c.connector.line.width/2);var T="h"===c.orientation,q=a.ensureSingle(s,"g","points"),I=g(c),R=q.selectAll("g.point").data(a.identity,I);R.enter().append("g").classed("point",!0),R.exit().remove(),R.each(function(s,v){var x,g,q=t.select(this),I=b(s,f,h,T),R=I[0][0],_=I[0][1],k=I[1][0],S=I[1][1],B=!(R!==_&&k!==S&&e(R)&&e(_)&&e(k)&&e(S));if(B&&P&&u.getLineWidth(c,s)&&(T?_-R==0:S-k==0)&&(B=!1),s.isBlank=B,B&&T&&(_=R),B&&!T&&(S=k),w&&!B&&(T?(R-=m(R,_)*w,_+=m(R,_)*w):(k-=m(k,S)*w,S+=m(k,S)*w)),"waterfall"===c.type){if(!B){var O=c[s.dir].marker;x=O.line.width,g=O.color}}else x=u.getLineWidth(c,s),g=s.mc||c.marker.color;var C=t.round(x/2%1,2);function H(e){return 0===p.gap&&0===p.groupgap?t.round(Math.round(e)-C,2):e}if(!r._context.staticPlot){var V=n.opacity(g)<1||x>.01?H:function(t,e){return Math.abs(t-e)>=2?H(t):t>e?Math.ceil(t):Math.floor(t)};R=V(R,_),_=V(_,R),k=V(k,S),S=V(S,k)}var X=M(a.ensureSingle(q,"path"),p,d);if(X.style("vector-effect","non-scaling-stroke").attr("d","M"+R+","+k+"V"+S+"H"+_+"V"+k+"Z").call(i.setClipUrl,l.layerClipId,r),y(p)){var z=i.makePointStyleFns(c);i.singlePointStyle(s,X,c,z,r)}L(r,l,q,o,v,R,_,k,S,p,d),l.layerClipId&&i.hideOutsideRangePoint(s,q.select("text"),f,h,c.xcalendar,c.ycalendar)});var _=!1===c.cliponaxis;i.setClipUrl(s,_?null:l.layerClipId,r)});o.getComponentMethod("errorbars","plot")(r,x,l,p)}function L(t,e,n,o,l,u,c,p,d,f,h){var x,g=e.xaxis,m=e.yaxis,b=t._fullLayout;function y(e,n,o){return a.ensureSingle(e,"text").text(n).attr({class:"bartext bartext-"+x,"text-anchor":"middle","data-notex":1}).call(i.font,o).call(r.convertToTspans,t)}var P=o[0].trace,L="h"===P.orientation,w=I(b,o,l,g,m);x=R(P,l);var _="stack"===f.mode||"relative"===f.mode,k=o[l],S=!_||k._outmost;if(w&&"none"!==x&&(!k.isBlank&&u!==c&&p!==d||"auto"!==x&&"inside"!==x)){var B=b.font,O=s.getBarColor(o[l],P),C=s.getInsideTextFont(P,l,B,O),H=s.getOutsideTextFont(P,l,B),V=n.datum();L?"log"===g.type&&V.s0<=0&&(u=g.range[0]0&&A>0&&(Y<=U&&A<=W||Y<=W&&A<=U||(L?U>=Y*(W/A):W>=A*(U/Y)))?x="inside":(x="outside",X.remove(),X=null);else x="inside";if(!X){var j=(X=y(n,w,"outside"===x?H:C)).attr("transform");if(X.attr("transform",""),Y=(z=i.bBox(X.node())).width,A=z.height,X.attr("transform",j),Y<=0||A<=0)return void X.remove()}"outside"===x?(E="both"===P.constraintext||"outside"===P.constraintext,F=a.getTextTransform(q(u,c,p,d,z,{isHorizontal:L,constrained:E,angle:P.textangle}))):(E="both"===P.constraintext||"inside"===P.constraintext,F=a.getTextTransform(T(u,c,p,d,z,{isHorizontal:L,constrained:E,angle:P.textangle,anchor:P.insidetextanchor}))),M(X,f,h).attr("transform",F)}else n.select("text").remove()}function w(t){return"auto"===t?0:t}function T(t,e,a,r,n,i){var o=!!i.isHorizontal,l=!!i.constrained,s=i.angle||0,u=i.anchor||0,c=n.width,p=n.height,d=Math.abs(e-t),f=Math.abs(r-a),h=d>2*v&&f>2*v?v:0;d-=2*h,f-=2*h;var x=!1;if(!("auto"===s)||c<=d&&p<=f||!(c>d||p>f)||(c>f||p>d)&&c2*v?v:0:d>2*v?v:0;var h=1;s&&(h=l?Math.min(1,f/p):Math.min(1,d/c));var x=w(u);o+=.5*(h*(l?p:c)*Math.abs(Math.sin(Math.PI/180*x))+h*(l?c:p)*Math.abs(Math.cos(Math.PI/180*x)));var g=(t+e)/2,b=(a+r)/2;return l?g=e-o*m(e,t):b=r+o*m(a,r),{textX:(n.left+n.right)/2,textY:(n.top+n.bottom)/2,targetX:g,targetY:b,scale:h,rotate:x}}function I(t,e,a,r,n){var i,o=e[0].trace;return i=o.texttemplate?_(t,e,a,r,n):o.textinfo?k(e,a,r,n):u.getValue(o.text,a),u.coerceString(d,i)}function R(t,e){var a=u.getValue(t.textposition,e);return u.coerceEnumerated(f,a)}function _(t,e,r,n,i){var o=e[0].trace,s=a.castOption(o,r,"texttemplate");if(!s)return"";var u,c,p,d,f="waterfall"===o.type,v="funnel"===o.type;function x(t){return l(d,+t,!0).text}"h"===o.orientation?(u="y",c=i,p="x",d=n):(u="x",c=n,p="y",d=i);var g,m=e[r],b={};b.label=m.p,b.labelLabel=b[u+"Label"]=(g=m.p,l(c,g,!0).text);var M=a.castOption(o,m.i,"text");(0===M||M)&&(b.text=M),b.value=m.s,b.valueLabel=b[p+"Label"]=x(m.s);var y={};h(y,o,m.i),f&&(b.delta=+m.rawS||m.s,b.deltaLabel=x(b.delta),b.final=m.v,b.finalLabel=x(b.final),b.initial=b.final-b.delta,b.initialLabel=x(b.initial)),v&&(b.value=m.s,b.valueLabel=x(b.value),b.percentInitial=m.begR,b.percentInitialLabel=a.formatPercent(m.begR),b.percentPrevious=m.difR,b.percentPreviousLabel=a.formatPercent(m.difR),b.percentTotal=m.sumR,b.percenTotalLabel=a.formatPercent(m.sumR));var P=a.castOption(o,m.i,"customdata");return P&&(b.customdata=P),a.texttemplateString(s,b,t._d3locale,y,b,o._meta||{})}function k(t,e,r,n){var i=t[0].trace,o="h"===i.orientation,s="waterfall"===i.type,u="funnel"===i.type;function c(t){return l(o?r:n,+t,!0).text}var p,d,f=i.textinfo,h=t[e],v=f.split("+"),x=[],g=function(t){return-1!==v.indexOf(t)};if(g("label")&&x.push((d=t[e].p,l(o?n:r,d,!0).text)),g("text")&&(0===(p=a.castOption(i,h.i,"text"))||p)&&x.push(p),s){var m=+h.rawS||h.s,b=h.v,M=b-m;g("initial")&&x.push(c(M)),g("delta")&&x.push(c(m)),g("final")&&x.push(c(b))}if(u){g("value")&&x.push(c(h.s));var y=0;g("percent initial")&&y++,g("percent previous")&&y++,g("percent total")&&y++;var P=y>1;g("percent initial")&&(p=a.formatPercent(h.begR),P&&(p+=" of initial"),x.push(p)),g("percent previous")&&(p=a.formatPercent(h.difR),P&&(p+=" of previous"),x.push(p)),g("percent total")&&(p=a.formatPercent(h.sumR),P&&(p+=" of total"),x.push(p))}return x.join("
")}module.exports={plot:P,toMoveInsideBar:T,toMoveOutsideBar:q}; -},{"d3":"uT61","fast-isnumeric":"T2RE","../../lib":"Ra1u","../../lib/svg_text_utils":"q7WC","../../components/color":"fSwg","../../components/drawing":"HEt8","../../registry":"RoGf","../../plots/cartesian/axes":"VI4t","./style":"S1PG","./helpers":"y4SA","./constants":"OPIb","./attributes":"oFKz","../../components/fx/helpers":"sbcL"}],"gMPd":[function(require,module,exports) { -"use strict";var e=require("d3-hierarchy");function i(i,r){switch(i){case"squarify":return e.treemapSquarify.ratio(r);case"binary":return e.treemapBinary;case"dice":return e.treemapDice;case"slice":return e.treemapSlice;default:return e.treemapSliceDice}}function r(e,i,a){var t;a.swapXY&&(t=e.x0,e.x0=e.y0,e.y0=t,t=e.x1,e.x1=e.y1,e.y1=t),a.flipX&&(t=e.x0,e.x0=i[0]-e.x1,e.x1=i[0]-t),a.flipY&&(t=e.y0,e.y0=i[1]-e.y1,e.y1=i[1]-t);var p=e.children;if(p)for(var n=0;n0)for(var b=0;b"),name:H||k("name")?c.name:void 0,color:L("hoverlabel.bgcolor")||m.color,borderColor:L("hoverlabel.bordercolor"),fontFamily:L("hoverlabel.font.family"),fontSize:L("hoverlabel.font.size"),fontColor:L("hoverlabel.font.color"),nameLength:L("hoverlabel.namelength"),textAlign:L("hoverlabel.align"),hovertemplate:H,hovertemplateLabels:O,eventData:[s(t,c,h.eventDataKeys)]};y&&(S.x0=q-t.rInscribed*t.rpx1,S.x1=q+t.rInscribed*t.rpx1,S.idealAlign=t.pxmid[0]<0?"left":"right"),g&&(S.x=q,S.idealAlign=q<0?"left":"right"),a.loneHover(S,{container:o._hoverlayer.node(),outerContainer:o._paper.node(),gd:u}),d._hasHoverLabel=!0}if(g){var U=r.select("path.surface");h.styleOne(U,t,c,{hovered:!0})}d._hasHoverEvent=!0,u.emit("plotly_hover",{points:[s(t,c,h.eventDataKeys)],event:e.event})}}),r.on("mouseout",function(t){var n=u._fullLayout,o=u._fullData[d.index],i=e.select(this).datum();if(d._hasHoverEvent&&(t.originalEvent=e.event,u.emit("plotly_unhover",{points:[s(i,o,h.eventDataKeys)],event:e.event}),d._hasHoverEvent=!1),d._hasHoverLabel&&(a.loneUnhover(n._hoverlayer.node()),d._hasHoverLabel=!1),g){var l=r.select("path.surface");h.styleOne(l,i,o,{hovered:!1})}}),r.on("click",function(r){var n=u._fullLayout,l=u._fullData[d.index];if(!1===o.triggerHandler(u,"plotly_"+d.type+"click",{points:[s(r,l,h.eventDataKeys)],event:e.event})||y&&(i.isHierarchyRoot(r)||i.isLeaf(r)))n.hovermode&&(u._hoverdata=[s(r,l,h.eventDataKeys)],a.click(u,e.event));else if(!u._dragging&&!u._transitioning){t.call("_storeDirectGUIEdit",l,n._tracePreGUI[l.uid],{level:l.level});var v=i.getPtId(r),c=i.isEntry(r)?i.findEntryWithChild(f,v):i.findEntryWithLevel(f,v),p={data:[{level:i.getPtId(c)}],traces:[d.index]},g={frame:{redraw:!1,duration:h.transitionTime},transition:{duration:h.transitionTime,easing:h.transitionEasing},mode:"immediate",fromcurrent:!0};a.loneUnhover(n._hoverlayer.node()),t.call("animate",u,p,g)}})}; -},{"d3":"uT61","../../registry":"RoGf","../../components/fx/helpers":"sbcL","../../components/fx":"uSUT","../../lib":"Ra1u","../../lib/events":"DkOh","./helpers":"oBZg","../pie/helpers":"al8I"}],"SsVl":[function(require,module,exports) { -"use strict";var e=require("../../components/fx/helpers").appendArrayMultiPointValues;module.exports=function(t,r){var l={curveNumber:r.index,pointNumbers:t.pts,data:r._input,fullData:r,label:t.label,color:t.color,value:t.v,percent:t.percent,text:t.text,v:t.v};return 1===t.pts.length&&(l.pointNumber=l.i=t.pts[0]),e(l,r,t.pts),"funnelarea"===r.type&&(delete l.v,delete l.i),l}; -},{"../../components/fx/helpers":"sbcL"}],"QHrk":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("../../plots/plots"),a=require("../../components/fx"),i=require("../../components/color"),r=require("../../components/drawing"),l=require("../../lib"),n=require("../../lib/svg_text_utils"),o=require("./helpers"),s=require("./event_data"),c=require("../../lib").isValidTextValue;function x(a,i){var s=a._fullLayout,c=s._size;u(i,a),E(i,c);var x=l.makeTraceGroups(s._pielayer,i,"trace").each(function(i){var s=t.select(this),x=i[0],u=x.trace;w(i),s.attr("stroke-linejoin","round"),s.each(function(){var m=t.select(this).selectAll("g.slice").data(i);m.enter().append("g").classed("slice",!0),m.exit().remove();var M=[[[],[]],[[],[]]],_=!1;m.each(function(e){if(e.hidden)t.select(this).selectAll("path,g").remove();else{e.pointNumber=e.i,e.curveNumber=u.index,M[e.pxmid[1]<0?0:1][e.pxmid[0]<0?0:1].push(e);var s=x.cx,c=x.cy,p=t.select(this),m=p.selectAll("path.surface").data([e]);if(m.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),p.call(h,a,i),u.pull){var b=+o.castOption(u.pull,e.pts)||0;b>0&&(s+=b*e.pxmid[0],c+=b*e.pxmid[1])}e.cxFinal=s,e.cyFinal=c;var g=u.hole;if(e.v===x.vTotal){var O="M"+(s+e.px0[0])+","+(c+e.px0[1])+A(e.px0,e.pxmid,!0,1)+A(e.pxmid,e.px0,!0,1)+"Z";g?m.attr("d","M"+(s+g*e.px0[0])+","+(c+g*e.px0[1])+A(e.px0,e.pxmid,!1,g)+A(e.pxmid,e.px0,!1,g)+"Z"+O):m.attr("d",O)}else{var L=A(e.px0,e.px1,!0,1);if(g){var E=1-g;m.attr("d","M"+(s+g*e.px1[0])+","+(c+g*e.px1[1])+A(e.px1,e.px0,!1,g)+"l"+E*e.px0[0]+","+E*e.px0[1]+L+"Z")}else m.attr("d","M"+s+","+c+"l"+e.px0[0]+","+e.px0[1]+L+"Z")}q(a,e,x);var T=o.castOption(u.textposition,e.pts),w=p.selectAll("g.slicetext").data(e.text&&"none"!==T?[0]:[]);w.enter().append("g").classed("slicetext",!0),w.exit().remove(),w.each(function(){var i=l.ensureSingle(t.select(this),"text","",function(t){t.attr("data-notex",1)});i.text(e.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(r.font,"outside"===T?d(u,e,a._fullLayout.font):f(u,e,a._fullLayout.font)).call(n.convertToTspans,a);var o,p=r.bBox(i.node());"outside"===T?o=y(p,e):(o=v(p,e,x),"auto"===T&&o.scale<1&&(i.call(r.font,u.outsidetextfont),u.outsidetextfont.family===u.insidetextfont.family&&u.outsidetextfont.size===u.insidetextfont.size||(p=r.bBox(i.node())),o=y(p,e)));var h=s+e.pxmid[0]*o.rCenter+(o.x||0),m=c+e.pxmid[1]*o.rCenter+(o.y||0);o.outside&&(e.yLabelMin=m-p.height/2,e.yLabelMid=m,e.yLabelMax=m+p.height/2,e.labelExtraX=0,e.labelExtraY=0,_=!0),i.attr("transform","translate("+h+","+m+")"+(o.scale<1?"scale("+o.scale+")":"")+(o.rotate?"rotate("+o.rotate+")":"")+"translate("+-(p.left+p.right)/2+","+-(p.top+p.bottom)/2+")")})}function A(t,a,i,r){var l=r*(a[0]-t[0]),n=r*(a[1]-t[1]);return"a"+r*x.r+","+r*x.r+" 0 "+e.largeArc+(i?" 1 ":" 0 ")+l+","+n}});var O=t.select(this).selectAll("g.titletext").data(u.title.text?[0]:[]);if(O.enter().append("g").classed("titletext",!0),O.exit().remove(),O.each(function(){var e,i=l.ensureSingle(t.select(this),"text","",function(t){t.attr("data-notex",1)}),o=u.title.text;u._meta&&(o=l.templateString(o,u._meta)),i.text(o).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(r.font,u.title.font).call(n.convertToTspans,a),e="middle center"===u.title.position?b(x):g(x,c),i.attr("transform","translate("+e.x+","+e.y+")"+(e.scale<1?"scale("+e.scale+")":"")+"translate("+e.tx+","+e.ty+")")}),_&&L(M,u),p(m,u),_&&u.automargin){var E=r.bBox(s.node()),T=u.domain,w=c.w*(T.x[1]-T.x[0]),A=c.h*(T.y[1]-T.y[0]),z=(.5*w-x.r)/c.w,B=(.5*A-x.r)/c.h;e.autoMargin(a,"pie."+u.uid+".automargin",{xl:T.x[0]-z,xr:T.x[1]+z,yb:T.y[0]-B,yt:T.y[1]+B,l:Math.max(x.cx-x.r-E.left,0),r:Math.max(E.right-(x.cx+x.r),0),b:Math.max(E.bottom-(x.cy+x.r),0),t:Math.max(x.cy-x.r-E.top,0),pad:5})}})});setTimeout(function(){x.selectAll("tspan").each(function(){var e=t.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))})},0)}function p(e,a){e.each(function(e){var r=t.select(this);if(e.labelExtraX||e.labelExtraY){var n=r.select("g.slicetext text");n.attr("transform","translate("+e.labelExtraX+","+e.labelExtraY+")"+n.attr("transform"));var o=e.cxFinal+e.pxmid[0],s="M"+o+","+(e.cyFinal+e.pxmid[1]),c=(e.yLabelMax-e.yLabelMin)*(e.pxmid[0]<0?-1:1)/4;if(e.labelExtraX){var x=e.labelExtraX*e.pxmid[1]/e.pxmid[0],p=e.yLabelMid+e.labelExtraY-(e.cyFinal+e.pxmid[1]);Math.abs(x)>Math.abs(p)?s+="l"+p*e.pxmid[0]/e.pxmid[1]+","+p+"H"+(o+e.labelExtraX+c):s+="l"+e.labelExtraX+","+x+"v"+(p-x)+"h"+c}else s+="V"+(e.yLabelMid+e.labelExtraY)+"h"+c;l.ensureSingle(r,"path","textline").call(i.stroke,a.outsidetextfont.color).attr({"stroke-width":Math.min(2,a.outsidetextfont.size/8),d:s,fill:"none"})}else r.select("path.textline").remove()})}function h(e,i,r){var n=r[0],c=n.trace,x=n.cx,p=n.cy;"_hasHoverLabel"in c||(c._hasHoverLabel=!1),"_hasHoverEvent"in c||(c._hasHoverEvent=!1),e.on("mouseover",function(e){var r=i._fullLayout,h=i._fullData[c.index];if(!i._dragging&&!1!==r.hovermode){var d=h.hoverinfo;if(Array.isArray(d)&&(d=a.castHoverinfo({hoverinfo:[o.castOption(d,e.pts)],_module:c._module},r,0)),"all"===d&&(d="label+text+value+percent+name"),h.hovertemplate||"none"!==d&&"skip"!==d&&d){var f=e.rInscribed||0,u=x+e.pxmid[0]*(1-f),v=p+e.pxmid[1]*(1-f),m=r.separators,y=[];if(d&&-1!==d.indexOf("label")&&y.push(e.label),e.text=o.castOption(h.hovertext||h.text,e.pts),d&&-1!==d.indexOf("text")){var b=e.text;l.isValidTextValue(b)&&y.push(b)}e.value=e.v,e.valueLabel=o.formatPieValue(e.v,m),d&&-1!==d.indexOf("value")&&y.push(e.valueLabel),e.percent=e.v/n.vTotal,e.percentLabel=o.formatPiePercent(e.percent,m),d&&-1!==d.indexOf("percent")&&y.push(e.percentLabel);var g=h.hoverlabel,M=g.font;a.loneHover({trace:c,x0:u-f*n.r,x1:u+f*n.r,y:v,text:y.join("
"),name:h.hovertemplate||-1!==d.indexOf("name")?h.name:void 0,idealAlign:e.pxmid[0]<0?"left":"right",color:o.castOption(g.bgcolor,e.pts)||e.color,borderColor:o.castOption(g.bordercolor,e.pts),fontFamily:o.castOption(M.family,e.pts),fontSize:o.castOption(M.size,e.pts),fontColor:o.castOption(M.color,e.pts),nameLength:o.castOption(g.namelength,e.pts),textAlign:o.castOption(g.align,e.pts),hovertemplate:o.castOption(h.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[s(e,h)]},{container:r._hoverlayer.node(),outerContainer:r._paper.node(),gd:i}),c._hasHoverLabel=!0}c._hasHoverEvent=!0,i.emit("plotly_hover",{points:[s(e,h)],event:t.event})}}),e.on("mouseout",function(e){var r=i._fullLayout,l=i._fullData[c.index],n=t.select(this).datum();c._hasHoverEvent&&(e.originalEvent=t.event,i.emit("plotly_unhover",{points:[s(n,l)],event:t.event}),c._hasHoverEvent=!1),c._hasHoverLabel&&(a.loneUnhover(r._hoverlayer.node()),c._hasHoverLabel=!1)}),e.on("click",function(e){var r=i._fullLayout,l=i._fullData[c.index];i._dragging||!1===r.hovermode||(i._hoverdata=[s(e,l)],a.click(i,t.event))})}function d(t,e,a){return{color:o.castOption(t.outsidetextfont.color,e.pts)||o.castOption(t.textfont.color,e.pts)||a.color,family:o.castOption(t.outsidetextfont.family,e.pts)||o.castOption(t.textfont.family,e.pts)||a.family,size:o.castOption(t.outsidetextfont.size,e.pts)||o.castOption(t.textfont.size,e.pts)||a.size}}function f(t,e,a){var r=o.castOption(t.insidetextfont.color,e.pts);!r&&t._input.textfont&&(r=o.castOption(t._input.textfont.color,e.pts));var l=o.castOption(t.insidetextfont.family,e.pts)||o.castOption(t.textfont.family,e.pts)||a.family,n=o.castOption(t.insidetextfont.size,e.pts)||o.castOption(t.textfont.size,e.pts)||a.size;return{color:r||i.contrast(e.color),family:l,size:n}}function u(t,e){for(var a,i,o=0;o=1)return c;var x=r+1/(2*Math.tan(l)),p=s*Math.min(1/(Math.sqrt(x*x+.5)+x),n/(Math.sqrt(r*r+n/2)+r)),h={scale:2*p/t.height,rCenter:Math.cos(p/s)-p*r/s,rotate:(180/Math.PI*e.midangle+720)%180-90},d=1/r,f=d+1/(2*Math.tan(l)),u=s*Math.min(1/(Math.sqrt(f*f+.5)+f),n/(Math.sqrt(d*d+n/2)+d)),v={scale:2*u/t.width,rCenter:Math.cos(u/s)-u/r/s,rotate:(180/Math.PI*e.midangle+810)%180-90},m=v.scale>h.scale?v:h;return c.scale<1&&m.scale>c.scale?m:c}function m(t,e){return t.v!==e.vTotal||e.trace.hole?Math.min(1/(1+1/Math.sin(t.halfangle)),t.ring/2):1}function y(t,e){var a=e.pxmid[0],i=e.pxmid[1],r=t.width/2,l=t.height/2;return a<0&&(r*=-1),i<0&&(l*=-1),{scale:1,rCenter:1,rotate:0,x:r+Math.abs(l)*(r>0?1:-1)/2,y:l/(1+a*a/(i*i)),outside:!0}}function b(t){var e=Math.sqrt(t.titleBox.width*t.titleBox.width+t.titleBox.height*t.titleBox.height);return{x:t.cx,y:t.cy,scale:t.trace.hole*t.r*2/e,tx:0,ty:-t.titleBox.height/2+t.trace.title.font.size}}function g(t,e){var a,i,r,l=t.trace,n={x:t.cx,y:t.cy},o={tx:0,ty:0};o.ty+=l.title.font.size,r=O(l),-1!==l.title.position.indexOf("top")?(n.y-=(1+r)*t.r,o.ty-=t.titleBox.height):-1!==l.title.position.indexOf("bottom")&&(n.y+=(1+r)*t.r);var s=M(t.r,t.trace.aspectratio),c=e.w*(l.domain.x[1]-l.domain.x[0])/2;return-1!==l.title.position.indexOf("left")?(c+=s,n.x-=(1+r)*s,o.tx+=t.titleBox.width/2):-1!==l.title.position.indexOf("center")?c*=2:-1!==l.title.position.indexOf("right")&&(c+=s,n.x+=(1+r)*s,o.tx-=t.titleBox.width/2),a=c/t.titleBox.width,i=_(t,e)/t.titleBox.height,{x:n.x,y:n.y,scale:Math.min(a,i),tx:o.tx,ty:o.ty}}function M(t,e){return t/(void 0===e?1:e)}function _(t,e){var a=t.trace,i=e.h*(a.domain.y[1]-a.domain.y[0]);return Math.min(t.titleBox.height,i/2)}function O(t){var e,a=t.pull;if(!a)return 0;if(Array.isArray(a))for(a=0,e=0;ea&&(a=t.pull[e]);return a}function L(t,e){var a,i,r,l,n,s,c,x,p,h,d,f,u;function v(t,e){return t.pxmid[1]-e.pxmid[1]}function m(t,e){return e.pxmid[1]-t.pxmid[1]}function y(t,a){a||(a={});var r,x,p,d,f=a.labelExtraY+(i?a.yLabelMax:a.yLabelMin),u=i?t.yLabelMin:t.yLabelMax,v=i?t.yLabelMax:t.yLabelMin,m=t.cyFinal+n(t.px0[1],t.px1[1]),y=f-u;if(y*c>0&&(t.labelExtraY=y),Array.isArray(e.pull))for(x=0;x=(o.castOption(e.pull,p.pts)||0)||((t.pxmid[1]-p.pxmid[1])*c>0?(y=p.cyFinal+n(p.px0[1],p.px1[1])-u-t.labelExtraY)*c>0&&(t.labelExtraY+=y):(v+t.labelExtraY-m)*c>0&&(r=3*s*Math.abs(x-h.indexOf(t)),(d=p.cxFinal+l(p.px0[0],p.px1[0])+r-(t.cxFinal+t.pxmid[0])-t.labelExtraX)*s>0&&(t.labelExtraX+=d)))}for(i=0;i<2;i++)for(r=i?v:m,n=i?Math.max:Math.min,c=i?1:-1,a=0;a<2;a++){for(l=a?Math.max:Math.min,s=a?1:-1,(x=t[i][a]).sort(r),p=t[1-i][a],h=p.concat(x),f=[],d=0;d1?x=(c=a.r)/r.aspectratio:c=(x=a.r)*r.aspectratio,s=(c*=(1+r.baseratio)/2)*x}n=Math.min(n,s/a.vTotal)}for(i=0;ir.vTotal/2?1:0,a.halfangle=Math.PI*Math.min(a.v/r.vTotal,.5),a.ring=1-l.hole,a.rInscribed=m(a,r))}function q(t,e,a){var i=t._fullLayout,r=a.trace,n=r.texttemplate,s=r.textinfo;if(!n&&s&&"none"!==s){var x,p=s.split("+"),h=function(t){return-1!==p.indexOf(t)},d=h("label"),f=h("text"),u=h("value"),v=h("percent"),m=i.separators;if(x=d?[e.label]:[],f){var y=o.getFirstFilled(r.text,e.pts);c(y)&&x.push(y)}u&&x.push(o.formatPieValue(e.v,m)),v&&x.push(o.formatPiePercent(e.v/a.vTotal,m)),e.text=x.join("
")}if(n){var b=l.castOption(r,e.i,"texttemplate");if(b){var g=function(t){return{label:t.label,value:t.v,valueLabel:o.formatPieValue(t.v,i.separators),percent:t.v/a.vTotal,percentLabel:o.formatPiePercent(t.v/a.vTotal,i.separators),color:t.color,text:t.text,customdata:l.castOption(r,t.i,"customdata")}}(e),M=o.getFirstFilled(r.text,e.pts);(c(M)||""===M)&&(g.text=M),e.text=l.texttemplateString(b,g,t._fullLayout._d3locale,g,r._meta||{})}else e.text=""}}module.exports={plot:x,formatSliceLabel:q,transformInsideText:v,determineInsideTextFont:f,positionTitleOutside:g,prerenderTitles:u,layoutAreas:E,attachFxHandlers:h}; -},{"d3":"uT61","../../plots/plots":"MuEg","../../components/fx":"uSUT","../../components/color":"fSwg","../../components/drawing":"HEt8","../../lib":"Ra1u","../../lib/svg_text_utils":"q7WC","./helpers":"al8I","./event_data":"SsVl"}],"o1SM":[function(require,module,exports) { -"use strict";var e=require("d3"),t=require("../../components/color"),l=require("../../lib");function a(t){t._fullLayout._sunburstlayer.selectAll(".trace").each(function(t){var l=e.select(this),a=t[0].trace;l.style("opacity",a.opacity),l.selectAll("path.surface").each(function(t){e.select(this).call(c,t,a)})})}function c(e,a,c){var r=a.data.data,i=!a.children,o=r.i,s=l.castOption(c,o,"marker.line.color")||t.defaultLine,n=l.castOption(c,o,"marker.line.width")||0;e.style("stroke-width",n).call(t.fill,r.color).call(t.stroke,s).style("opacity",i?c.leaf.opacity:null)}module.exports={style:a,styleOne:c}; -},{"d3":"uT61","../../components/color":"fSwg","../../lib":"Ra1u"}],"QR8i":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("d3-hierarchy"),r=require("../../components/drawing"),n=require("../../lib"),a=require("../../lib/svg_text_utils"),i=require("../pie/plot").transformInsideText,o=require("./style").styleOne,l=require("./fx"),s=require("./constants"),c=require("./helpers");function u(e,u,f,h){var d=e._fullLayout,v=c.hasTransition(h),m=t.select(f).selectAll("g.slice"),g=u[0],y=g.trace,P=g.hierarchy,I=c.findEntryWithLevel(P,y.level),b=c.getMaxDepth(y),M=d._size,T=y.domain,C=M.w*(T.x[1]-T.x[0]),L=M.h*(T.y[1]-T.y[0]),O=.5*Math.min(C,L),V=g.cx=M.l+M.w*(T.x[1]+T.x[0])/2,_=g.cy=M.t+M.h*(1-T.y[0])-L/2;if(!I)return m.remove();var S=null,q={};v&&m.each(function(t){q[c.getPtId(t)]={rpx0:t.rpx0,rpx1:t.rpx1,x0:t.x0,x1:t.x1,transform:t.transform},!S&&c.isEntry(t)&&(S=t)});var w=x(I).descendants(),R=I.height+1,E=0,A=b;g.hasMultipleRoots&&c.isHierarchyRoot(I)&&(w=w.slice(1),R-=1,E=1,A+=1),w=w.filter(function(t){return t.y1<=A});var N=Math.min(R,b),D=function(t){return(t-E)/N*O},F=function(t,e){return[t*Math.cos(e),-t*Math.sin(e)]},K=function(t){return n.pathAnnulus(t.rpx0,t.rpx1,t.x0,t.x1,V,_)},X=function(t){return V+t.pxmid[0]*t.transform.rCenter+(t.transform.x||0)},Y=function(t){return _+t.pxmid[1]*t.transform.rCenter+(t.transform.y||0)};(m=m.data(w,c.getPtId)).enter().append("g").classed("slice",!0),v?m.exit().transition().each(function(){var e=t.select(this);e.select("path.surface").transition().attrTween("d",function(e){var r=function(e){var r,n=c.getPtId(e),a=q[n],i=q[c.getPtId(I)];if(i){var o=e.x1>i.x1?2*Math.PI:0;r=e.rpx1j?2*Math.PI:0;r={x0:o,x1:o}}else r={rpx0:O,rpx1:O},n.extendFlat(r,k(e));else r={rpx0:0,rpx1:0};else r={x0:0,x1:0};return t.interpolate(r,i)}(e);return function(t){return K(r(t))}}):h.attr("d",K),f.call(l,I,e,u,{eventDataKeys:s.eventDataKeys,transitionTime:s.CLICK_TRANSITION_TIME,transitionEasing:s.CLICK_TRANSITION_EASING}).call(c.setSliceCursor,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:e._transitioning}),h.call(o,x,y);var m=n.ensureSingle(f,"g","slicetext"),P=n.ensureSingle(m,"text","",function(t){t.attr("data-notex",1)});P.text(exports.formatSliceLabel(x,I,y,u,d)).classed("slicetext",!0).attr("text-anchor","middle").call(r.font,c.determineTextFont(y,x,d.font)).call(a.convertToTspans,e);var b=r.bBox(P.node());x.transform=i(b,x,g),x.translateX=X(x),x.translateY=Y(x);var M=function(t,e){return"translate("+t.translateX+","+t.translateY+")"+(t.transform.scale<1?"scale("+t.transform.scale+")":"")+(t.transform.rotate?"rotate("+t.transform.rotate+")":"")+"translate("+-(e.left+e.right)/2+","+-(e.top+e.bottom)/2+")"};v?P.transition().attrTween("transform",function(e){var r=function(e){var r,a=q[c.getPtId(e)],i=e.transform;if(a)r=a;else if(r={rpx1:e.rpx1,transform:{scale:0,rotate:i.rotate,rCenter:i.rCenter,x:i.x,y:i.y}},S)if(e.parent)if(j){var o=e.x1>j?2*Math.PI:0;r.x0=r.x1=o}else n.extendFlat(r,k(e));else r.x0=r.x1=0;else r.x0=r.x1=0;var l=t.interpolate(r.rpx1,e.rpx1),s=t.interpolate(r.x0,e.x0),u=t.interpolate(r.x1,e.x1),x=t.interpolate(r.transform.scale,i.scale),p=t.interpolate(r.transform.rotate,i.rotate),f=0===i.rCenter?3:0===r.transform.rCenter?1/3:1,h=t.interpolate(r.transform.rCenter,i.rCenter);return function(t){var e=l(t),r=s(t),n=u(t),a=function(t){return h(Math.pow(t,f))}(t),o={pxmid:F(e,(r+n)/2),transform:{rCenter:a,x:i.x,y:i.y}},c={rpx1:l(t),translateX:X(o),translateY:Y(o),transform:{scale:x(t),rotate:p(t),rCenter:a}};return c}}(e);return function(t){return M(r(t),b)}}):P.attr("transform",M(x,b))})}function x(t){return e.partition().size([2*Math.PI,t.height+1])(t)}function p(t){return 0===t.rpx0&&n.isFullCircle([t.x0,t.x1])?1:Math.max(0,Math.min(1/(1+1/Math.sin(t.halfangle)),t.ring/2))}exports.plot=function(e,r,n,a){var i,o,l=e._fullLayout._sunburstlayer,s=!n,x=c.hasTransition(n);((i=l.selectAll("g.trace.sunburst").data(r,function(t){return t[0].trace.uid})).enter().append("g").classed("trace",!0).classed("sunburst",!0).attr("stroke-linejoin","round"),i.order(),x)?(a&&(o=a()),t.transition().duration(n.duration).ease(n.easing).each("end",function(){o&&o()}).each("interrupt",function(){o&&o()}).each(function(){l.selectAll("g.trace").each(function(t){u(e,t,this,n)})})):i.each(function(t){u(e,t,this,n)});s&&i.exit().remove()},exports.formatSliceLabel=function(t,e,r,a,i){var o=r.texttemplate,l=r.textinfo;if(!(o||l&&"none"!==l))return"";var s=i.separators,u=a[0],x=t.data.data,p=u.hierarchy,f=c.isHierarchyRoot(t),h=c.getParent(p,t),d=c.getValue(t);if(!o){var v,m=l.split("+"),g=function(t){return-1!==m.indexOf(t)},y=[];if(g("label")&&x.label&&y.push(x.label),x.hasOwnProperty("v")&&g("value")&&y.push(c.formatValue(x.v,s)),!f){g("current path")&&y.push(c.getPath(t.data));var P=0;g("percent parent")&&P++,g("percent entry")&&P++,g("percent root")&&P++;var I=P>1;if(P){var b,M=function(t){v=c.formatPercent(b,s),I&&(v+=" of "+t),y.push(v)};g("percent parent")&&!f&&(b=d/c.getValue(h),M("parent")),g("percent entry")&&(b=d/c.getValue(e),M("entry")),g("percent root")&&(b=d/c.getValue(p),M("root"))}}return g("text")&&(v=n.castOption(r,x.i,"text"),n.isValidTextValue(v)&&y.push(v)),y.join("
")}var T=n.castOption(r,x.i,"texttemplate");if(!T)return"";var C={};x.label&&(C.label=x.label),x.hasOwnProperty("v")&&(C.value=x.v,C.valueLabel=c.formatValue(x.v,s)),C.currentPath=c.getPath(t.data),f||(C.percentParent=d/c.getValue(h),C.percentParentLabel=c.formatPercent(C.percentParent,s),C.parent=c.getPtLabel(h)),C.percentEntry=d/c.getValue(e),C.percentEntryLabel=c.formatPercent(C.percentEntry,s),C.entry=c.getPtLabel(e),C.percentRoot=d/c.getValue(p),C.percentRootLabel=c.formatPercent(C.percentRoot,s),C.root=c.getPtLabel(p),x.hasOwnProperty("color")&&(C.color=x.color);var L=n.castOption(r,x.i,"text");return(n.isValidTextValue(L)||""===L)&&(C.text=L),C.customdata=n.castOption(r,x.i,"customdata"),n.texttemplateString(T,C,i._d3locale,C,r._meta||{})}; -},{"d3":"uT61","d3-hierarchy":"vZwX","../../components/drawing":"HEt8","../../lib":"Ra1u","../../lib/svg_text_utils":"q7WC","../pie/plot":"QHrk","./style":"o1SM","./fx":"hh1J","./constants":"IgmH","./helpers":"oBZg"}],"Gck7":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("../../lib"),r=require("../../components/drawing"),i=require("../../lib/svg_text_utils"),n=require("./partition"),a=require("./style").styleOne,s=require("./constants"),o=require("../sunburst/helpers"),l=require("../sunburst/fx"),d=require("../sunburst/plot").formatSliceLabel,u=!1;module.exports=function(c,x,p,f,m){var h=m.width,y=m.height,g=m.viewX,v=m.viewY,T=m.pathSlice,_=m.toMoveInsideSlice,b=m.strTransform,I=m.hasTransition,k=m.handleSlicesExit,S=m.makeUpdateSliceInterpolator,q=m.makeUpdateTextInterpolator,O=m.prevEntry,L=c._fullLayout,w=x[0].trace,C=-1!==w.textposition.indexOf("left"),E=-1!==w.textposition.indexOf("right"),N=-1!==w.textposition.indexOf("bottom"),K=!N&&!w.marker.pad.t||N&&!w.marker.pad.b,M=n(p,[h,y],{packing:w.tiling.packing,squarifyratio:w.tiling.squarifyratio,flipX:w.tiling.flip.indexOf("x")>-1,flipY:w.tiling.flip.indexOf("y")>-1,pad:{inner:w.tiling.pad,top:w.marker.pad.t,left:w.marker.pad.l,right:w.marker.pad.r,bottom:w.marker.pad.b}}).descendants(),P=1/0,A=-1/0;M.forEach(function(t){var e=t.depth;e>=w._maxDepth?(t.x0=t.x1=(t.x0+t.x1)/2,t.y0=t.y1=(t.y0+t.y1)/2):(P=Math.min(P,e),A=Math.max(A,e))}),f=f.data(M,o.getPtId),w._maxVisibleLayers=isFinite(A)?A-P+1:0,f.enter().append("g").classed("slice",!0),k(f,u,{},[h,y],T),f.order();var B=null;if(I&&O){var D=o.getPtId(O);f.each(function(t){null===B&&o.getPtId(t)===D&&(B={x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1})})}var R=function(){return B||{x0:0,x1:h,y0:0,y1:y}},X=f;return I&&(X=X.transition().each("end",function(){var e=t.select(this);o.setSliceCursor(e,c,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})})),X.each(function(n){var f=o.isHeader(n,w);n._hoverX=g(n.x1-w.marker.pad.r),n._hoverY=v(N?n.y1-w.marker.pad.b/2:n.y0+w.marker.pad.t/2);var m=t.select(this),k=e.ensureSingle(m,"path","surface",function(t){t.style("pointer-events","all")});I?k.transition().attrTween("d",function(t){var e=S(t,u,R(),[h,y]);return function(t){return T(e(t))}}):k.attr("d",T),m.call(l,p,c,x,{styleOne:a,eventDataKeys:s.eventDataKeys,transitionTime:s.CLICK_TRANSITION_TIME,transitionEasing:s.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,c,{isTransitioning:c._transitioning}),k.call(a,n,w,{hovered:!1}),n.x0===n.x1||n.y0===n.y1?n._text="":n._text=f?K?"":o.getPtLabel(n)||"":d(n,p,w,x,L)||"";var O=e.ensureSingle(m,"g","slicetext"),M=e.ensureSingle(O,"text","",function(t){t.attr("data-notex",1)});M.text(n._text||" ").classed("slicetext",!0).attr("text-anchor",E?"end":C||f?"start":"middle").call(r.font,o.determineTextFont(w,n,L.font)).call(i.convertToTspans,c),n.textBB=r.bBox(M.node()),n.transform=_(n,{isHeader:f}),I?M.transition().attrTween("transform",function(t){var e=q(t,u,R(),[h,y]);return function(t){return b(e(t))}}):M.attr("transform",b(n))}),B}; -},{"d3":"uT61","../../lib":"Ra1u","../../components/drawing":"HEt8","../../lib/svg_text_utils":"q7WC","./partition":"gMPd","./style":"ADVM","./constants":"zwAL","../sunburst/helpers":"oBZg","../sunburst/fx":"hh1J","../sunburst/plot":"QR8i"}],"otcT":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("../../lib"),n=require("../../components/drawing"),r=require("../../lib/svg_text_utils"),i=require("./partition"),a=require("./style").styleOne,s=require("./constants"),o=require("../sunburst/helpers"),l=require("../sunburst/fx"),c=!0;module.exports=function(u,d,h,f,v){var x=v.barDifY,p=v.width,g=v.height,T=v.viewX,y=v.viewY,I=v.pathSlice,_=v.toMoveInsideSlice,b=v.strTransform,m=v.hasTransition,S=v.handleSlicesExit,O=v.makeUpdateSliceInterpolator,q=v.makeUpdateTextInterpolator,w={},C=u._fullLayout,K=d[0],L=K.trace,N=K.hierarchy,P=p/L._entryDepth,D=o.listPath(h.data,"id"),E=i(N.copy(),[p,g],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(E=E.filter(function(t){var e=D.indexOf(t.data.id);return-1!==e&&(t.x0=P*e,t.x1=P*(e+1),t.y0=x,t.y1=x+g,t.onPathbar=!0,!0)})).reverse(),(f=f.data(E,o.getPtId)).enter().append("g").classed("pathbar",!0),S(f,c,w,[p,g],I),f.order();var R=f;m&&(R=R.transition().each("end",function(){var e=t.select(this);o.setSliceCursor(e,u,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})})),R.each(function(i){i._hoverX=T(i.x1-g/2),i._hoverY=y(i.y1-g/2);var f=t.select(this),v=e.ensureSingle(f,"path","surface",function(t){t.style("pointer-events","all")});m?v.transition().attrTween("d",function(t){var e=O(t,c,w,[p,g]);return function(t){return I(e(t))}}):v.attr("d",I),f.call(l,h,u,d,{styleOne:a,eventDataKeys:s.eventDataKeys,transitionTime:s.CLICK_TRANSITION_TIME,transitionEasing:s.CLICK_TRANSITION_EASING}).call(o.setSliceCursor,u,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:u._transitioning}),v.call(a,i,L,{hovered:!1}),i._text=(o.getPtLabel(i)||"").split("
").join(" ")||"";var x=e.ensureSingle(f,"g","slicetext"),S=e.ensureSingle(x,"text","",function(t){t.attr("data-notex",1)});S.text(i._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(n.font,o.determineTextFont(L,i,C.font,L.pathdir)).call(r.convertToTspans,u),i.textBB=n.bBox(S.node()),i.transform=_(i,{onPathbar:!0}),o.isOutsideText(L,i)&&(i.transform.targetY-=o.getOutsideTextFontKey("size",L,i,C.font)-o.getInsideTextFontKey("size",L,i,C.font)),m?S.transition().attrTween("transform",function(t){var e=q(t,c,w,[p,g]);return function(t){return b(e(t))}}):S.attr("transform",b(i))})}; -},{"d3":"uT61","../../lib":"Ra1u","../../components/drawing":"HEt8","../../lib/svg_text_utils":"q7WC","./partition":"gMPd","./style":"ADVM","./constants":"zwAL","../sunburst/helpers":"oBZg","../sunburst/fx":"hh1J"}],"coXg":[function(require,module,exports) { -"use strict";var t=require("d3"),e=require("../sunburst/helpers").hasTransition,r=require("../sunburst/helpers"),a=require("../../lib"),n=require("../bar/constants").TEXTPAD,i=require("../bar/plot").toMoveInsideBar,o=require("./constants"),s=require("./draw_descendants"),x=require("./draw_ancestors");function c(t){return r.isHierarchyRoot(t)?"":r.getPtId(t)}function u(e,u,f,l){var h=e._fullLayout,y=u[0],d=y.trace,m=y.hierarchy,g=r.findEntryWithLevel(m,d.level),p=t.select(f),v=p.selectAll("g.pathbar"),X=p.selectAll("g.slice");if(!g)return v.remove(),void X.remove();var Y=r.isHierarchyRoot(g),b=r.hasTransition(l),T=r.getMaxDepth(d),_=h._size,w=d.domain,L=_.w*(w.x[1]-w.x[0]),M=_.h*(w.y[1]-w.y[0]),q=L,H=d.pathbar.thickness,k=d.marker.line.width+o.gapWithPathbar,I=d.pathbar.visible?d.pathbar.side.indexOf("bottom")>-1?M+k:-(H+k):0,S={x0:q,x1:q,y0:I,y1:I+H},B=function(t,e,r){var a=d.tiling.pad,n=function(t){return t-a<=e.x0},i=function(t){return t+a>=e.x1},o=function(t){return t-a<=e.y0},s=function(t){return t+a>=e.y1};return{x0:n(t.x0-a)?0:i(t.x0-a)?r[0]:t.x0,x1:n(t.x1+a)?0:i(t.x1+a)?r[0]:t.x1,y0:o(t.y0-a)?0:s(t.y0-a)?r[1]:t.y0,y1:o(t.y1+a)?0:s(t.y1+a)?r[1]:t.y1}},E=null,A={},D={},P=null,N=function(t,e){return e?A[c(t)]:D[c(t)]},R=function(t,e,r,a){if(e)return A[c(m)]||S;var n=D[d.level]||r;return function(t){return t.data.depth-g.data.depth=(a-=m.r-n)){var g=(r+a)/2;r=g-n,a=g+n}var p;u?o<(p=s-m.b)&&p"===Q?(x.x-=i,c.x-=i,u.x-=i,f.x-=i):"/"===Q?(u.x-=i,f.x-=i,o.x-=i/2,s.x-=i/2):"\\"===Q?(x.x-=i,c.x-=i,o.x-=i/2,s.x-=i/2):"<"===Q&&(o.x-=i,s.x-=i),K(x),K(f),K(o),K(c),K(u),K(s),"M"+G(x.x,x.y)+"L"+G(c.x,c.y)+"L"+G(s.x,s.y)+"L"+G(u.x,u.y)+"L"+G(f.x,f.y)+"L"+G(o.x,o.y)+"Z"},toMoveInsideSlice:V,makeUpdateSliceInterpolator:tt,makeUpdateTextInterpolator:et,handleSlicesExit:rt,hasTransition:b,strTransform:at})}module.exports=function(r,a,n,i){var o,s,x=r._fullLayout._treemaplayer,c=!n;((o=x.selectAll("g.trace.treemap").data(a,function(t){return t[0].trace.uid})).enter().append("g").classed("trace",!0).classed("treemap",!0),o.order(),e(n))?(i&&(s=i()),t.transition().duration(n.duration).ease(n.easing).each("end",function(){s&&s()}).each("interrupt",function(){s&&s()}).each(function(){x.selectAll("g.trace").each(function(t){u(r,t,this,n)})})):o.each(function(t){u(r,t,this,n)});c&&o.exit().remove()}; -},{"d3":"uT61","../sunburst/helpers":"oBZg","../../lib":"Ra1u","../bar/constants":"OPIb","../bar/plot":"Yl2T","./constants":"zwAL","./draw_descendants":"Gck7","./draw_ancestors":"otcT"}],"ymQw":[function(require,module,exports) { -"use strict";module.exports={moduleType:"trace",name:"treemap",basePlotModule:require("./base_plot"),categories:[],animatable:!0,attributes:require("./attributes"),layoutAttributes:require("./layout_attributes"),supplyDefaults:require("./defaults"),supplyLayoutDefaults:require("./layout_defaults"),calc:require("./calc").calc,crossTraceCalc:require("./calc").crossTraceCalc,plot:require("./plot"),style:require("./style").style,colorbar:require("../scatter/marker_colorbar"),meta:{description:["Visualize hierarchal data from leaves (and/or outer branches) towards root","with rectangles. The treemap sectors are determined by the entries in","*labels* or *ids* and in *parents*."].join(" ")}}; -},{"./base_plot":"yW7k","./attributes":"vJmt","./layout_attributes":"YmS3","./defaults":"KinH","./layout_defaults":"cFyh","./calc":"GIqd","./plot":"coXg","./style":"ADVM","../scatter/marker_colorbar":"nR0T"}],"fcJJ":[function(require,module,exports) { -"use strict";module.exports=require("../src/traces/treemap"); -},{"../src/traces/treemap":"ymQw"}],"gbhl":[function(require,module,exports) { -"use strict";var e=t(require("plotly.js/lib/core")),l=t(require("plotly.js/lib/treemap"));function t(e){return e&&e.__esModule?e:{default:e}}e.default.register([l.default]),window.Plotly=e.default; -},{"plotly.js/lib/core":"JxZQ","plotly.js/lib/treemap":"fcJJ"}]},{},["gbhl"], null) \ No newline at end of file +!function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};!function(){function t(e){return e&&e.__esModule?e.default:e}function r(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var n,a,i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{},o={},l={},s=i.parcelRequire427e;null==s&&((s=function(e){if(e in o)return o[e].exports;if(e in l){let t=l[e];delete l[e];let r={id:e,exports:{}};return o[e]=r,t.call(r.exports,r,r.exports),r.exports}var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}).register=function(e,t){l[e]=t},i.parcelRequire427e=s),s.register("ibSRw",(function(e,t){e.exports.version=s("4EeDN").version,s("4W9Is").polyfill(),s("4aHJL"),s("1Jk5J")();for(var r=s("4Hxcc"),n=e.exports.register=r.register,a=s("3L5lN"),i=Object.keys(a),o=0;on),(e=>n=e)),n="1.58.4"})),s.register("4W9Is",(function(e,t){var r,n,a=s("3JAaW");r=e.exports,n=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,n=void 0,o=void 0,l=function(e,t){p[r]=e,p[r+1]=t,2===(r+=2)&&(o?o(g):b())},s="undefined"!=typeof window?window:void 0,c=s||{},u=c.MutationObserver||c.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==a&&"[object process]"==={}.toString.call(a),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(g,1)}}var p=new Array(1e3);function g(){for(var e=0;e1)for(var r=1;r:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":"content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;","X [data-title]:after":"content:attr(data-title);background:#69738a;color:white;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:white;","X .select-outline-2":"stroke:black;stroke-dasharray:2px 2px;",Y:"font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;","Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in n){var i=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");r.addStyleRule(i,n[a])}})),s.register("1nIvY",(function(e,t){"use strict";var r=s("4Wia9"),n=s("6jof9").utcFormat,a=s("6qr5h"),i=s("10TEj"),o=i.FP_SAFE,l=i.BADNUM,c=e.exports={};c.nestedProperty=s("2Tkfd"),c.keyedContainer=s("6DYhf"),c.relativeAttr=s("7wVo2"),c.isPlainObject=s("2bwwe"),c.toLogRange=s("2UjBK"),c.relinkPrivateKeys=s("CXorH");var u=s("1nElS");c.isTypedArray=u.isTypedArray,c.isArrayOrTypedArray=u.isArrayOrTypedArray,c.isArray1D=u.isArray1D,c.ensureArray=u.ensureArray,c.concat=u.concat,c.maxRowLength=u.maxRowLength,c.minRowLength=u.minRowLength;var d=s("5DnzT");c.mod=d.mod,c.modHalf=d.modHalf;var f=s("2YEcf");c.valObjectMeta=f.valObjectMeta,c.coerce=f.coerce,c.coerce2=f.coerce2,c.coerceFont=f.coerceFont,c.coerceHoverinfo=f.coerceHoverinfo,c.coerceSelectionMarkerOpacity=f.coerceSelectionMarkerOpacity,c.validate=f.validate;var h=s("4Jreh");c.dateTime2ms=h.dateTime2ms,c.isDateTime=h.isDateTime,c.ms2DateTime=h.ms2DateTime,c.ms2DateTimeLocal=h.ms2DateTimeLocal,c.cleanDate=h.cleanDate,c.isJSDate=h.isJSDate,c.formatDate=h.formatDate,c.incrementMonth=h.incrementMonth,c.dateTick0=h.dateTick0,c.dfltRange=h.dfltRange,c.findExactDates=h.findExactDates,c.MIN_MS=h.MIN_MS,c.MAX_MS=h.MAX_MS;var p=s("5LcuG");c.findBin=p.findBin,c.sorterAsc=p.sorterAsc,c.sorterDes=p.sorterDes,c.distinctVals=p.distinctVals,c.roundUp=p.roundUp,c.sort=p.sort,c.findIndexOfMin=p.findIndexOfMin;var g=s("23CtA");c.aggNums=g.aggNums,c.len=g.len,c.mean=g.mean,c.median=g.median,c.midRange=g.midRange,c.variance=g.variance,c.stdev=g.stdev,c.interp=g.interp;var v=s("2paJ6");c.init2dArray=v.init2dArray,c.transposeRagged=v.transposeRagged,c.dot=v.dot,c.translationMatrix=v.translationMatrix,c.rotationMatrix=v.rotationMatrix,c.rotationXYMatrix=v.rotationXYMatrix,c.apply3DTransform=v.apply3DTransform,c.apply2DTransform=v.apply2DTransform,c.apply2DTransform2=v.apply2DTransform2,c.convertCssMatrix=v.convertCssMatrix,c.inverseTransformMatrix=v.inverseTransformMatrix;var m=s("3TZVB");c.deg2rad=m.rad2deg,c.rad2deg=m.rad2deg,c.angleDelta=m.angleDelta,c.angleDist=m.angleDist,c.isFullCircle=m.isFullCircle,c.isAngleInsideSector=m.isAngleInsideSector,c.isPtInsideSector=m.isPtInsideSector,c.pathArc=m.pathArc,c.pathSector=m.pathSector,c.pathAnnulus=m.pathAnnulus;var y=s("36x9Z");c.isLeftAnchor=y.isLeftAnchor,c.isCenterAnchor=y.isCenterAnchor,c.isRightAnchor=y.isRightAnchor,c.isTopAnchor=y.isTopAnchor,c.isMiddleAnchor=y.isMiddleAnchor,c.isBottomAnchor=y.isBottomAnchor;var x=s("6yIsr");c.segmentsIntersect=x.segmentsIntersect,c.segmentDistance=x.segmentDistance,c.getTextLocation=x.getTextLocation,c.clearLocationCache=x.clearLocationCache,c.getVisibleSegment=x.getVisibleSegment,c.findPointOnPath=x.findPointOnPath;var b=s("1ZM4z");c.extendFlat=b.extendFlat,c.extendDeep=b.extendDeep,c.extendDeepAll=b.extendDeepAll,c.extendDeepNoArrays=b.extendDeepNoArrays;var _=s("1NWKZ");c.log=_.log,c.warn=_.warn,c.error=_.error;var w=s("3ImU3");c.counterRegex=w.counter;var k=s("3RMbo");c.throttle=k.throttle,c.throttleDone=k.done,c.clearThrottle=k.clear;var T=s("44pv8");function M(e){var t={};for(var r in e)for(var n=e[r],a=0;ao?l:a(e)?Number(e):l:l},c.isIndex=function(e,t){return!(void 0!==t&&e>=t)&&a(e)&&e>=0&&e%1==0},c.noop=s("77Ix4"),c.identity=s("4Qyoa"),c.repeat=function(e,t){for(var r=new Array(t),n=0;nr?Math.max(r,Math.min(t,e)):Math.max(t,Math.min(r,e))},c.bBoxIntersect=function(e,t,r){return r=r||0,e.left<=t.right+r&&t.left<=e.right+r&&e.top<=t.bottom+r&&t.top<=e.bottom+r},c.simpleMap=function(e,t,r,n,a){for(var i=e.length,o=new Array(i),l=0;l=Math.pow(2,r)?a>10?(c.warn("randstr failed uniqueness"),s):e(t,r,n,(a||0)+1):s},c.OptionControl=function(e,t){e||(e={}),t||(t="opt");var r={optionList:[],_newoption:function(n){n[t]=e,r[n.name]=n,r.optionList.push(n)}};return r["_"+t]=e,r},c.smooth=function(e,t){if((t=Math.round(t)||0)<2)return e;var r,n,a,i,o=e.length,l=2*o,s=2*t-1,c=new Array(s),u=new Array(o);for(r=0;r=l&&(a-=l*Math.floor(a/l)),a<0?a=-1-a:a>=o&&(a=l-1-a),i+=e[a]*c[n];u[r]=i}return u},c.syncOrAsync=function(e,t,r){var n;function a(){return c.syncOrAsync(e,t,r)}for(;e.length;)if((n=e.splice(0,1)[0](t))&&n.then)return n.then(a).then(void 0,c.promiseError);return r&&r(t)},c.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},c.noneOrAll=function(e,t,r){if(e){var n,a=!1,i=!0;for(n=0;n0?t:0}))},c.fillArray=function(e,t,r,n){if(n=n||c.identity,c.isArrayOrTypedArray(e))for(var a=0;a1?a+o[1]:"";if(i&&(o.length>1||l.length>4||r))for(;n.test(l);)l=l.replace(n,"$1"+i+"$2");return l+s},c.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var O=/^\w*$/;c.templateString=function(e,t){var r={};return e.replace(c.TEMPLATE_STRING_REGEX,(function(e,n){var a;return O.test(n)?a=t[n]:(r[n]=r[n]||c.nestedProperty(t,n).get,a=r[n]()),c.isValidTextValue(a)?a:""}))};var D={max:10,count:0,name:"hovertemplate"};c.hovertemplateString=function(){return j.apply(D,arguments)};var z={max:10,count:0,name:"texttemplate"};c.texttemplateString=function(){return j.apply(z,arguments)};var P=/^[:|\|]/;function j(e,t,a){var i=this,o=arguments;t||(t={});var l={};return e.replace(c.TEMPLATE_STRING_REGEX,(function(e,s,u){var d,f,h,p;for(h=3;h=48&&o<=57,c=l>=48&&l<=57;if(s&&(n=10*n+o-48),c&&(a=10*a+l-48),!s||!c){if(n!==a)return n-a;if(o!==l)return o-l}}return a-n};var E=2e9;c.seedPseudoRandom=function(){E=2e9},c.pseudoRandom=function(){var e=E;return E=(69069*E+1)%4294967296,Math.abs(E-e)<429496729?c.pseudoRandom():E/4294967296},c.fillText=function(e,t,r){var n=Array.isArray(r)?function(e){r.push(e)}:function(e){r.text=e},a=c.extractOption(e,t,"htx","hovertext");if(c.isValidTextValue(a))return n(a);var i=c.extractOption(e,t,"tx","text");return c.isValidTextValue(i)?n(i):void 0},c.isValidTextValue=function(e){return e||0===e},c.formatPercent=function(e,t){t=t||0;for(var r=(Math.round(100*e*Math.pow(10,t))*Math.pow(.1,t)).toFixed(t)+"%",n=0;n1&&(u=1):u=0,c.strTranslate(a-u*(r+o),i-u*(n+l))+c.strScale(u)+(s?"rotate("+s+(t?"":" "+r+" "+n)+")":"")},c.ensureUniformFontSize=function(e,t){var r=c.extendFlat({},t);return r.size=Math.max(t.size,e._fullLayout.uniformtext.minsize||0),r},c.join2=function(e,t,r){var n=e.length;return n>1?e.slice(0,-1).join(t)+r+e[n-1]:e.join(t)}})),s.register("4Wia9",(function(e,t){!function(){var t={version:"3.5.17"},r=[].slice,n=function(e){return r.call(e)},a=this.document;function i(e){return e&&(e.ownerDocument||e.document||e).documentElement}function o(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(a)try{n(a.documentElement.childNodes)[0].nodeType}catch(e){n=function(e){for(var t=e.length,r=new Array(t);t--;)r[t]=e[t];return r}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var l=this.Element.prototype,s=l.setAttribute,c=l.setAttributeNS,u=this.CSSStyleDeclaration.prototype,d=u.setProperty;l.setAttribute=function(e,t){s.call(this,e,t+"")},l.setAttributeNS=function(e,t,r){c.call(this,e,t,r+"")},u.setProperty=function(e,t,r){d.call(this,e,t+"",r)}}function f(e,t){return et?1:e>=t?0:NaN}function h(e){return null===e?NaN:+e}function p(e){return!isNaN(e)}function g(e){return{left:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)<0?n=i+1:a=i}return n},right:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)>0?a=i:n=i+1}return n}}}t.ascending=f,t.descending=function(e,t){return te?1:t>=e?0:NaN},t.min=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++an&&(r=n)}else{for(;++a=n){r=n;break}for(;++an&&(r=n)}return r},t.max=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++ar&&(r=n)}else{for(;++a=n){r=n;break}for(;++ar&&(r=n)}return r},t.extent=function(e,t){var r,n,a,i=-1,o=e.length;if(1===arguments.length){for(;++i=n){r=a=n;break}for(;++in&&(r=n),a=n){r=a=n;break}for(;++in&&(r=n),a1)return o/(s-1)},t.deviation=function(){var e=t.variance.apply(this,arguments);return e?Math.sqrt(e):e};var v=g(f);function m(e){return e.length}t.bisectLeft=v.left,t.bisect=t.bisectRight=v.right,t.bisector=function(e){return g(1===e.length?function(t,r){return f(e(t),r)}:e)},t.shuffle=function(e,t,r){(i=arguments.length)<3&&(r=e.length,i<2&&(t=0));for(var n,a,i=r-t;i;)a=Math.random()*i--|0,n=e[i+t],e[i+t]=e[a+t],e[a+t]=n;return e},t.permute=function(e,t){for(var r=t.length,n=new Array(r);r--;)n[r]=e[t[r]];return n},t.pairs=function(e){for(var t=0,r=e.length-1,n=e[0],a=new Array(r<0?0:r);t=0;)for(t=(n=e[a]).length;--t>=0;)r[--o]=n[t];return r};var y=Math.abs;function x(e){for(var t=1;e*t%1;)t*=10;return t}function b(e,t){for(var r in t)Object.defineProperty(e.prototype,r,{value:t[r],enumerable:!1})}function _(){this._=Object.create(null)}function w(e){return"__proto__"==(e+="")||"\0"===e[0]?"\0"+e:e}function k(e){return"\0"===(e+="")[0]?e.slice(1):e}function T(e){return w(e)in this._}function M(e){return(e=w(e))in this._&&delete this._[e]}function A(){var e=[];for(var t in this._)e.push(k(t));return e}function S(){var e=0;for(var t in this._)++e;return e}function L(){for(var e in this._)return!1;return!0}function C(){this._=Object.create(null)}function I(e){return e}function O(e,t,r){return function(){var n=r.apply(t,arguments);return n===t?e:n}}function D(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var r=0,n=z.length;rt;)a.push(n/i);else for(;(n=e+r*++o)=a.length)return r?r.call(n,i):e?i.sort(e):i;for(var s,c,u,d,f=-1,h=i.length,p=a[l++],g=new _;++f=a.length)return e;var r=[],n=i[t++];return e.forEach((function(e,n){r.push({key:e,values:l(n,t)})})),n?r.sort((function(e,t){return n(e.key,t.key)})):r}return n.map=function(e,t){return o(t,e,0)},n.entries=function(e){return l(o(t.map,e,0),0)},n.key=function(e){return a.push(e),n},n.sortKeys=function(e){return i[a.length-1]=e,n},n.sortValues=function(t){return e=t,n},n.rollup=function(e){return r=e,n},n},t.set=function(e){var t=new C;if(e)for(var r=0,n=e.length;r=0&&(n=e.slice(r+1),e=e.slice(0,r)),e)return arguments.length<2?this[e].on(n):this[e].on(n,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(n,null);return this}},t.event=null,t.requote=function(e){return e.replace(H,"\\$&")};var H=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,B={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)e[r]=t[r]};function U(e){return B(e,G),e}var q=function(e,t){return t.querySelector(e)},V=function(e,t){return t.querySelectorAll(e)},Y=function(e,t){var r=e.matches||e[D(e,"matchesSelector")];return(Y=function(e,t){return r.call(e,t)})(e,t)};"function"==typeof Sizzle&&(q=function(e,t){return Sizzle(e,t)[0]||null},V=Sizzle,Y=Sizzle.matchesSelector),t.selection=function(){return t.select(a.documentElement)};var G=t.selection.prototype=[];function Z(e){return"function"==typeof e?e:function(){return q(e,this)}}function W(e){return"function"==typeof e?e:function(){return V(e,this)}}G.select=function(e){var t,r,n,a,i=[];e=Z(e);for(var o=-1,l=this.length;++o=0&&"xmlns"!==(r=e.slice(0,t))&&(e=e.slice(t+1)),Q.hasOwnProperty(r)?{space:Q[r],local:e}:e}},G.attr=function(e,r){if(arguments.length<2){if("string"==typeof e){var n=this.node();return(e=t.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(r in e)this.each(J(r,e[r]));return this}return this.each(J(e,r))},G.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var r=this.node(),n=(e=ee(e)).length,a=-1;if(t=r.classList){for(;++a=0;)(r=n[a])&&(i&&i!==r.nextSibling&&i.parentNode.insertBefore(r,i),i=r);return this},G.sort=function(e){e=ce.apply(this,arguments);for(var t=-1,r=this.length;++t=t&&(t=a+1);!(o=l[t])&&++t0&&(e=e.slice(0,o));var s=ge.get(e);function c(){var t=this[i];t&&(this.removeEventListener(e,t,t.$),delete this[i])}return s&&(e=s,l=me),o?r?function(){var t=l(r,n(arguments));c.call(this),this.addEventListener(e,this[i]=t,t.$=a),t._=r}:c:r?P:function(){var r,n=new RegExp("^__on([^.]+)"+t.requote(e)+"$");for(var a in this)if(r=a.match(n)){var i=this[a];this.removeEventListener(r[1],i,i.$),delete this[a]}}}t.selection.enter=de,t.selection.enter.prototype=fe,fe.append=G.append,fe.empty=G.empty,fe.node=G.node,fe.call=G.call,fe.size=G.size,fe.select=function(e){for(var t,r,n,a,i,o=[],l=-1,s=this.length;++l0?1:e<0?-1:0}function ze(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(t[1]-e[1])*(r[0]-e[0])}function Pe(e){return e>1?0:e<-1?Ae:Math.acos(e)}function je(e){return e>1?Ce:e<-1?-Ce:Math.asin(e)}function Ee(e){return((e=Math.exp(e))+1/e)/2}function Re(e){return(e=Math.sin(e/2))*e}var Ne=Math.SQRT2;t.interpolateZoom=function(e,t){var r,n,a=e[0],i=e[1],o=e[2],l=t[0],s=t[1],c=t[2],u=l-a,d=s-i,f=u*u+d*d;if(f0&&(e=e.transition().duration(g)),e.call(w.event)}function S(){c&&c.domain(s.range().map((function(e){return(e-f.x)/f.k})).map(s.invert)),d&&d.domain(u.range().map((function(e){return(e-f.y)/f.k})).map(u.invert))}function L(e){v++||e({type:"zoomstart"})}function C(e){S(),e({type:"zoom",scale:f.k,translate:[f.x,f.y]})}function I(e){--v||(e({type:"zoomend"}),r=null)}function O(){var e=this,r=_.of(e,arguments),n=0,a=t.select(o(e)).on(y,s).on(x,c),i=k(t.mouse(e)),l=be(e);function s(){n=1,M(t.mouse(e),i),C(r)}function c(){a.on(y,null).on(x,null),l(n),I(r)}Dl.call(e),L(r)}function D(){var e,r=this,n=_.of(r,arguments),a={},i=0,o=".zoom-"+t.event.changedTouches[0].identifier,s="touchmove"+o,c="touchend"+o,u=[],d=t.select(r),h=be(r);function p(){var n=t.touches(r);return e=f.k,n.forEach((function(e){e.identifier in a&&(a[e.identifier]=k(e))})),n}function g(){var e=t.event.target;t.select(e).on(s,v).on(c,y),u.push(e);for(var n=t.event.changedTouches,o=0,d=n.length;o1){m=h[0];var x=h[1],b=m[0]-x[0],_=m[1]-x[1];i=b*b+_*_}}function v(){var o,s,c,u,d=t.touches(r);Dl.call(r);for(var f=0,h=d.length;f360?t-=360:t<0&&(t+=360),t<60?n+(a-n)*t/60:t<180?a:t<240?n+(a-n)*(240-t)/60:n));var t}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,n=2*(r=r<0?0:r>1?1:r)-(a=r<=.5?r*(1+t):r+t-r*t),new it(i(e+120),i(e),i(e-120))}function Ge(e,r,n){return this instanceof Ge?(this.h=+e,this.c=+r,void(this.l=+n)):arguments.length<2?e instanceof Ge?new Ge(e.h,e.c,e.l):tt(e instanceof Xe?e.l:(e=ft((e=t.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Ge(e,r,n)}Ve.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new qe(this.h,this.s,this.l/e)},Ve.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new qe(this.h,this.s,e*this.l)},Ve.rgb=function(){return Ye(this.h,this.s,this.l)},t.hcl=Ge;var Ze=Ge.prototype=new Ue;function We(e,t,r){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Xe(r,Math.cos(e*=Ie)*t,Math.sin(e)*t)}function Xe(e,t,r){return this instanceof Xe?(this.l=+e,this.a=+t,void(this.b=+r)):arguments.length<2?e instanceof Xe?new Xe(e.l,e.a,e.b):e instanceof Ge?We(e.h,e.c,e.l):ft((e=it(e)).r,e.g,e.b):new Xe(e,t,r)}Ze.brighter=function(e){return new Ge(this.h,this.c,Math.min(100,this.l+Qe*(arguments.length?e:1)))},Ze.darker=function(e){return new Ge(this.h,this.c,Math.max(0,this.l-Qe*(arguments.length?e:1)))},Ze.rgb=function(){return We(this.h,this.c,this.l).rgb()},t.lab=Xe;var Qe=18,Je=.95047,Ke=1.08883,$e=Xe.prototype=new Ue;function et(e,t,r){var n=(e+16)/116,a=n+t/500,i=n-r/200;return new it(at(3.2404542*(a=rt(a)*Je)-1.5371385*(n=1*rt(n))-.4985314*(i=rt(i)*Ke)),at(-.969266*a+1.8760108*n+.041556*i),at(.0556434*a-.2040259*n+1.0572252*i))}function tt(e,t,r){return e>0?new Ge(Math.atan2(r,t)*Oe,Math.sqrt(t*t+r*r),e):new Ge(NaN,NaN,e)}function rt(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function nt(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function at(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function it(e,t,r){return this instanceof it?(this.r=~~e,this.g=~~t,void(this.b=~~r)):arguments.length<2?e instanceof it?new it(e.r,e.g,e.b):ut(""+e,it,Ye):new it(e,t,r)}function ot(e){return new it(e>>16,e>>8&255,255&e)}function lt(e){return ot(e)+""}$e.brighter=function(e){return new Xe(Math.min(100,this.l+Qe*(arguments.length?e:1)),this.a,this.b)},$e.darker=function(e){return new Xe(Math.max(0,this.l-Qe*(arguments.length?e:1)),this.a,this.b)},$e.rgb=function(){return et(this.l,this.a,this.b)},t.rgb=it;var st=it.prototype=new Ue;function ct(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function ut(e,t,r){var n,a,i,o=0,l=0,s=0;if(n=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(a=n[2].split(","),n[1]){case"hsl":return r(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return t(pt(a[0]),pt(a[1]),pt(a[2]))}return(i=gt.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&i)>>4,o|=o>>4,l=240&i,l|=l>>4,s=15&i,s|=s<<4):7===e.length&&(o=(16711680&i)>>16,l=(65280&i)>>8,s=255&i)),t(o,l,s))}function dt(e,t,r){var n,a,i=Math.min(e/=255,t/=255,r/=255),o=Math.max(e,t,r),l=o-i,s=(o+i)/2;return l?(a=s<.5?l/(o+i):l/(2-o-i),n=e==o?(t-r)/l+(t0&&s<1?0:n),new qe(n,a,s)}function ft(e,t,r){var n=nt((.4124564*(e=ht(e))+.3575761*(t=ht(t))+.1804375*(r=ht(r)))/Je),a=nt((.2126729*e+.7151522*t+.072175*r)/1);return Xe(116*a-16,500*(n-a),200*(a-nt((.0193339*e+.119192*t+.9503041*r)/Ke)))}function ht(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function pt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}st.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,r=this.g,n=this.b,a=30;return t||r||n?(t&&t=200&&t<300||304===t){try{e=a.call(l,u)}catch(e){return void s.error.call(l,e)}s.load.call(l,e)}else s.error.call(l,u)}return this.XDomainRequest&&!("withCredentials"in u)&&/^(http(s)?:)?\/\//.test(e)&&(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=f:u.onreadystatechange=function(){u.readyState>3&&f()},u.onprogress=function(e){var r=t.event;t.event=e;try{s.progress.call(l,u)}finally{t.event=r}},l.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?c[e]:(null==t?delete c[e]:c[e]=t+"",l)},l.mimeType=function(e){return arguments.length?(r=null==e?null:e+"",l):r},l.responseType=function(e){return arguments.length?(d=e,l):d},l.response=function(e){return a=e,l},["get","post"].forEach((function(e){l[e]=function(){return l.send.apply(l,[e].concat(n(arguments)))}})),l.send=function(t,n,a){if(2===arguments.length&&"function"==typeof n&&(a=n,n=null),u.open(t,e,!0),null==r||"accept"in c||(c.accept=r+",*/*"),u.setRequestHeader)for(var i in c)u.setRequestHeader(i,c[i]);return null!=r&&u.overrideMimeType&&u.overrideMimeType(r),null!=d&&(u.responseType=d),null!=a&&l.on("error",a).on("load",(function(e){a(null,e)})),s.beforesend.call(l,u),u.send(null==n?null:n),l},l.abort=function(){return u.abort(),l},t.rebind(l,s,"on"),null==i?l:l.get(1===(o=i).length?function(e,t){o(null==e?t:null)}:o)}gt.forEach((function(e,t){gt.set(e,ot(t))})),t.functor=vt,t.xhr=mt(I),t.dsv=function(e,t){var r=new RegExp('["'+e+"\n]"),n=e.charCodeAt(0);function a(e,r,n){arguments.length<3&&(n=r,r=null);var a=yt(e,t,null==r?i:o(r),n);return a.row=function(e){return arguments.length?a.response(null==(r=e)?i:o(e)):r},a}function i(e){return a.parse(e.responseText)}function o(e){return function(t){return a.parse(t.responseText,e)}}function l(t){return t.map(s).join(e)}function s(e){return r.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return a.parse=function(e,t){var r;return a.parseRows(e,(function(e,n){if(r)return r(e,n-1);var a=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");r=t?function(e,r){return t(a(e),r)}:a}))},a.parseRows=function(e,t){var r,a,i={},o={},l=[],s=e.length,c=0,u=0;function d(){if(c>=s)return o;if(a)return a=!1,i;var t=c;if(34===e.charCodeAt(t)){for(var r=t;r++24?(isFinite(t)&&(clearTimeout(wt),wt=setTimeout(Mt,t)),_t=0):(_t=1,kt(Mt))}function At(){for(var e=Date.now(),t=xt;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function St(){for(var e,t=xt,r=1/0;t;)t.c?(t.t8?function(e){return e/r}:function(e){return e*r},symbol:e}}));function It(e){var r=e.decimal,n=e.thousands,a=e.grouping,i=e.currency,o=a&&n?function(e,t){for(var r=e.length,i=[],o=0,l=a[0],s=0;r>0&&l>0&&(s+l+1>t&&(l=Math.max(1,t-s)),i.push(e.substring(r-=l,r+l)),!((s+=l+1)>t));)l=a[o=(o+1)%a.length];return i.reverse().join(n)}:I;return function(e){var n=Ot.exec(e),a=n[1]||" ",l=n[2]||">",s=n[3]||"-",c=n[4]||"",u=n[5],d=+n[6],f=n[7],h=n[8],p=n[9],g=1,v="",m="",y=!1,x=!0;switch(h&&(h=+h.substring(1)),(u||"0"===a&&"="===l)&&(u=a="0",l="="),p){case"n":f=!0,p="g";break;case"%":g=100,m="%",p="f";break;case"p":g=100,m="%",p="r";break;case"b":case"o":case"x":case"X":"#"===c&&(v="0"+p.toLowerCase());case"c":x=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===c&&(v=i[0],m=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=Dt.get(p)||zt;var b=u&&f;return function(e){var n=m;if(y&&e%1)return"";var i=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===s?"":s;if(g<0){var c=t.formatPrefix(e,h);e=c.scale(e),n=c.symbol+m}else e*=g;var _,w,k=(e=p(e,h)).lastIndexOf(".");if(k<0){var T=x?e.lastIndexOf("e"):-1;T<0?(_=e,w=""):(_=e.substring(0,T),w=e.substring(T))}else _=e.substring(0,k),w=r+e.substring(k+1);!u&&f&&(_=o(_,1/0));var M=v.length+_.length+w.length+(b?0:i.length),A=M"===l?A+i+e:"^"===l?A.substring(0,M>>=1)+i+e+A.substring(M):i+(b?e:A+e))+n}}}t.formatPrefix=function(e,r){var n=0;return(e=+e)&&(e<0&&(e*=-1),r&&(e=t.round(e,Lt(e,r))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Ct[8+n/3]};var Ot=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Dt=t.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,r){return(e=t.round(e,Lt(e,r))).toFixed(Math.max(0,Math.min(20,Lt(e*(1+1e-15),r))))}});function zt(e){return e+""}var Pt=t.time={},jt=Date;function Et(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Et.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Rt.setUTCDate.apply(this._,arguments)},setDay:function(){Rt.setUTCDay.apply(this._,arguments)},setFullYear:function(){Rt.setUTCFullYear.apply(this._,arguments)},setHours:function(){Rt.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Rt.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Rt.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Rt.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Rt.setUTCSeconds.apply(this._,arguments)},setTime:function(){Rt.setTime.apply(this._,arguments)}};var Rt=Date.prototype;function Nt(e,t,r){function n(t){var r=e(t),n=i(r,1);return t-r1)for(;o=c)return-1;if(37===(a=t.charCodeAt(l++))){if(o=t.charAt(l++),!(i=w[o in Bt?t.charAt(l++):o])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}u.utc=function(e){var t=u(e);function r(e){try{var r=new(jt=Et);return r._=e,t(r)}finally{jt=Date}}return r.parse=function(e){try{jt=Et;var r=t.parse(e);return r&&r._}finally{jt=Date}},r.toString=t.toString,r},u.multi=u.utc.multi=sr;var f=t.map(),h=Yt(o),p=Gt(o),g=Yt(l),v=Gt(l),m=Yt(s),y=Gt(s),x=Yt(c),b=Gt(c);i.forEach((function(e,t){f.set(e.toLowerCase(),t)}));var _={a:function(e){return l[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:u(r),d:function(e,t){return Vt(e.getDate(),t,2)},e:function(e,t){return Vt(e.getDate(),t,2)},H:function(e,t){return Vt(e.getHours(),t,2)},I:function(e,t){return Vt(e.getHours()%12||12,t,2)},j:function(e,t){return Vt(1+Pt.dayOfYear(e),t,3)},L:function(e,t){return Vt(e.getMilliseconds(),t,3)},m:function(e,t){return Vt(e.getMonth()+1,t,2)},M:function(e,t){return Vt(e.getMinutes(),t,2)},p:function(e){return i[+(e.getHours()>=12)]},S:function(e,t){return Vt(e.getSeconds(),t,2)},U:function(e,t){return Vt(Pt.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Vt(Pt.mondayOfYear(e),t,2)},x:u(n),X:u(a),y:function(e,t){return Vt(e.getFullYear()%100,t,2)},Y:function(e,t){return Vt(e.getFullYear()%1e4,t,4)},Z:or,"%":function(){return"%"}},w={a:function(e,t,r){g.lastIndex=0;var n=g.exec(t.slice(r));return n?(e.w=v.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){h.lastIndex=0;var n=h.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){x.lastIndex=0;var n=x.exec(t.slice(r));return n?(e.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){m.lastIndex=0;var n=m.exec(t.slice(r));return n?(e.m=y.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,t,r){return d(e,_.c.toString(),t,r)},d:er,e:er,H:rr,I:rr,j:tr,L:ir,m:$t,M:nr,p:function(e,t,r){var n=f.get(t.slice(r,r+=2).toLowerCase());return null==n?-1:(e.p=n,r)},S:ar,U:Wt,w:Zt,W:Xt,x:function(e,t,r){return d(e,_.x.toString(),t,r)},X:function(e,t,r){return d(e,_.X.toString(),t,r)},y:Jt,Y:Qt,Z:Kt,"%":lr};return u}Pt.year=Nt((function(e){return(e=Pt.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),Pt.years=Pt.year.range,Pt.years.utc=Pt.year.utc.range,Pt.day=Nt((function(e){var t=new jt(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),Pt.days=Pt.day.range,Pt.days.utc=Pt.day.utc.range,Pt.dayOfYear=function(e){var t=Pt.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var r=Pt[e]=Nt((function(e){return(e=Pt.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var r=Pt.year(e).getDay();return Math.floor((Pt.dayOfYear(e)+(r+t)%7)/7)-(r!==t)}));Pt[e+"s"]=r.range,Pt[e+"s"].utc=r.utc.range,Pt[e+"OfYear"]=function(e){var r=Pt.year(e).getDay();return Math.floor((Pt.dayOfYear(e)+(r+t)%7)/7)}})),Pt.week=Pt.sunday,Pt.weeks=Pt.sunday.range,Pt.weeks.utc=Pt.sunday.utc.range,Pt.weekOfYear=Pt.sundayOfYear;var Bt={"-":"",_:" ",0:"0"},Ut=/^\s*\d+/,qt=/^%/;function Vt(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+a[0].length):-1}function Kt(e,t,r){return/^[+-]\d{4}$/.test(t=t.slice(r,r+5))?(e.Z=-t,r+5):-1}function $t(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function er(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function tr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.j=+n[0],r+n[0].length):-1}function rr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function nr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function ar(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function ir(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function or(e){var t=e.getTimezoneOffset(),r=t>0?"-":"+",n=y(t)/60|0,a=y(t)%60;return r+Vt(n,"0",2)+Vt(a,"0",2)}function lr(e,t,r){qt.lastIndex=0;var n=qt.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function sr(e){for(var t=e.length,r=-1;++r=0?1:-1,l=o*i,s=Math.cos(t),c=Math.sin(t),u=a*c,d=n*s+u*Math.cos(l),f=u*o*Math.sin(l);Ir.add(Math.atan2(f,d)),r=e,n=s,a=c}Or.point=function(o,l){Or.point=i,r=(e=o)*Ie,n=Math.cos(l=(t=l)*Ie/2+Ae/4),a=Math.sin(l)},Or.lineEnd=function(){i(e,t)}}function zr(e){var t=e[0],r=e[1],n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}function Pr(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function jr(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Er(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Rr(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Nr(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Fr(e){return[Math.atan2(e[1],e[0]),je(e[2])]}function Hr(e,t){return y(e[0]-t[0])Te?a=90:c<-Te&&(r=-90),d[0]=e,d[1]=n}};function h(t,i){u.push(d=[e=t,n=t]),ia&&(a=i)}function p(t,o){var l=zr([t*Ie,o*Ie]);if(s){var c=jr(s,l),u=jr([c[1],-c[0],0],c);Nr(u),u=Fr(u);var d=t-i,f=d>0?1:-1,p=u[0]*Oe*f,g=y(d)>180;if(g^(f*ia&&(a=v);else if(g^(f*i<(p=(p+360)%360-180)&&pa&&(a=o);g?t_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t):n>=e?(tn&&(n=t)):t>i?_(e,t)>_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t)}else h(t,o);s=l,i=t}function g(){f.point=p}function v(){d[0]=e,d[1]=n,f.point=h,s=null}function m(e,t){if(s){var r=e-i;c+=y(r)>180?r+(r>0?360:-360):r}else o=e,l=t;Or.point(e,t),p(e,t)}function x(){Or.lineStart()}function b(){m(o,l),Or.lineEnd(),y(c)>Te&&(e=-(n=180)),d[0]=e,d[1]=n,s=null}function _(e,t){return(t-=e)<0?t+360:t}function w(e,t){return e[0]-t[0]}function k(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e_(g[0],g[1])&&(g[1]=h[1]),_(h[0],g[1])>_(g[0],g[1])&&(g[0]=h[0])):l.push(g=h);for(var s,c,h,p=-1/0,g=(o=0,l[c=l.length-1]);o<=c;g=h,++o)h=l[o],(s=_(g[1],h[0]))>p&&(p=s,e=h[0],n=g[1])}return u=d=null,e===1/0||r===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,r],[n,a]]}}(),t.geo.centroid=function(e){xr=br=_r=wr=kr=Tr=Mr=Ar=Sr=Lr=Cr=0,t.geo.stream(e,Br);var r=Sr,n=Lr,a=Cr,i=r*r+n*n+a*a;return i=0;--l)a.point((d=u[l])[0],d[1]);else n(h.x,h.p.x,-1,a);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);a.lineEnd()}}}function Qr(e){if(t=e.length){for(var t,r,n=0,a=e[0];++n=0?1:-1,k=w*_,T=k>Ae,M=p*x;if(Ir.add(Math.atan2(M*w*Math.sin(k),g*b+M*Math.cos(k))),i+=T?_+w*Se:_,T^f>=r^m>=r){var A=jr(zr(d),zr(e));Nr(A);var S=jr(a,A);Nr(S);var L=(T^_>=0?-1:1)*je(S[2]);(n>L||n===L&&(A[0]||A[1]))&&(o+=T^_>=0?1:-1)}if(!v++)break;f=m,p=x,g=b,d=e}}return(i<-Te||i0){for(x||(o.polygonStart(),x=!0),o.lineStart();++i1&&2&t&&r.push(r.pop().concat(r.shift())),l.push(r.filter($r))}return u}}function $r(e){return e.length>1}function en(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,r){e.push([t,r])},lineEnd:P,buffer:function(){var r=t;return t=[],e=null,r},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function tn(e,t){return((e=e.x)[0]<0?e[1]-Ce-Te:Ce-e[1])-((t=t.x)[0]<0?t[1]-Ce-Te:Ce-t[1])}var rn=Kr(Wr,(function(e){var t,r=NaN,n=NaN,a=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,o){var l,s,c,u,d,f,h,p=i>0?Ae:-Ae,g=y(i-r);y(g-Ae)0?Ce:-Ce),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(p,n),e.point(i,n),t=0):a!==p&&g>=Ae&&(y(r-a)Te?Math.atan((Math.sin(s)*(f=Math.cos(u))*Math.sin(c)-Math.sin(u)*(d=Math.cos(s))*Math.sin(l))/(d*f*h)):(s+u)/2,e.point(a,n),e.lineEnd(),e.lineStart(),e.point(p,n),t=0),e.point(r=i,n=o),a=p},lineEnd:function(){e.lineEnd(),r=n=NaN},clean:function(){return 2-t}}}),(function(e,t,r,n){var a;if(null==e)a=r*Ce,n.point(-Ae,a),n.point(0,a),n.point(Ae,a),n.point(Ae,0),n.point(Ae,-a),n.point(0,-a),n.point(-Ae,-a),n.point(-Ae,0),n.point(-Ae,a);else if(y(e[0]-t[0])>Te){var i=e[0]0,n=y(t)>Te;function a(e,r){return Math.cos(e)*Math.cos(r)>t}function i(e,r,n){var a=[1,0,0],i=jr(zr(e),zr(r)),o=Pr(i,i),l=i[0],s=o-l*l;if(!s)return!n&&e;var c=t*o/s,u=-t*l/s,d=jr(a,i),f=Rr(a,c);Er(f,Rr(i,u));var h=d,p=Pr(f,h),g=Pr(h,h),v=p*p-g*(Pr(f,f)-1);if(!(v<0)){var m=Math.sqrt(v),x=Rr(h,(-p-m)/g);if(Er(x,f),x=Fr(x),!n)return x;var b,_=e[0],w=r[0],k=e[1],T=r[1];w<_&&(b=_,_=w,w=b);var M=w-_,A=y(M-Ae)0^x[1]<(y(x[0]-_)Ae^(_<=x[0]&&x[0]<=w)){var S=Rr(h,(-p+m)/g);return Er(S,f),[x,Fr(S)]}}}function o(t,n){var a=r?e:Ae-e,i=0;return t<-a?i|=1:t>a&&(i|=2),n<-a?i|=4:n>a&&(i|=8),i}return Kr(a,(function(e){var t,l,s,c,u;return{lineStart:function(){c=s=!1,u=1},point:function(d,f){var h,p=[d,f],g=a(d,f),v=r?g?0:o(d,f):g?o(d+(d<0?Ae:-Ae),f):0;if(!t&&(c=s=g)&&e.lineStart(),g!==s&&(h=i(t,p),(Hr(t,h)||Hr(p,h))&&(p[0]+=Te,p[1]+=Te,g=a(p[0],p[1]))),g!==s)u=0,g?(e.lineStart(),h=i(p,t),e.point(h[0],h[1])):(h=i(t,p),e.point(h[0],h[1]),e.lineEnd()),t=h;else if(n&&t&&r^g){var m;v&l||!(m=i(p,t,!0))||(u=0,r?(e.lineStart(),e.point(m[0][0],m[0][1]),e.point(m[1][0],m[1][1]),e.lineEnd()):(e.point(m[1][0],m[1][1]),e.lineEnd(),e.lineStart(),e.point(m[0][0],m[0][1])))}!g||t&&Hr(t,p)||e.point(p[0],p[1]),t=p,s=g,l=v},lineEnd:function(){s&&e.lineEnd(),t=null},clean:function(){return u|(c&&s)<<1}}}),Bn(e,6*Ie),r?[0,-e]:[-Ae,e-Ae])}function an(e,t,r,n){return function(a){var i,o=a.a,l=a.b,s=o.x,c=o.y,u=0,d=1,f=l.x-s,h=l.y-c;if(i=e-s,f||!(i>0)){if(i/=f,f<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=r-s,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>u&&(u=i)}else if(f>0){if(i0)){if(i/=h,h<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=n-c,h||!(i<0)){if(i/=h,h<0){if(i>d)return;i>u&&(u=i)}else if(h>0){if(i0&&(a.a={x:s+u*f,y:c+u*h}),d<1&&(a.b={x:s+d*f,y:c+d*h}),a}}}}}}var on=1e9;function ln(e,r,n,a){function i(t,a){return y(t[0]-e)0?0:3:y(t[0]-n)0?2:1:y(t[1]-r)0?1:0:a>0?3:2}function o(e,t){return l(e.x,t.x)}function l(e,t){var r=i(e,1),n=i(t,1);return r!==n?r-n:0===r?t[1]-e[1]:1===r?e[0]-t[0]:2===r?e[1]-t[1]:t[0]-e[0]}return function(s){var c,u,d,f,h,p,g,v,m,y,x,b=s,_=en(),w=an(e,r,n,a),k={point:A,lineStart:function(){k.point=S,u&&u.push(d=[]),y=!0,m=!1,g=v=NaN},lineEnd:function(){c&&(S(f,h),p&&m&&_.rejoin(),c.push(_.buffer())),k.point=A,m&&s.lineEnd()},polygonStart:function(){s=_,c=[],u=[],x=!0},polygonEnd:function(){s=b,c=t.merge(c);var r=function(e){for(var t=0,r=u.length,n=e[1],a=0;an&&ze(c,i,e)>0&&++t:i[1]<=n&&ze(c,i,e)<0&&--t,c=i;return 0!==t}([e,a]),n=x&&r,i=c.length;(n||i)&&(s.polygonStart(),n&&(s.lineStart(),T(null,null,1,s),s.lineEnd()),i&&Xr(c,o,r,T,s),s.polygonEnd()),c=u=d=null}};function T(t,o,s,c){var u=0,d=0;if(null==t||(u=i(t,s))!==(d=i(o,s))||l(t,o)<0^s>0)do{c.point(0===u||3===u?e:n,u>1?a:r)}while((u=(u+s+4)%4)!==d);else c.point(o[0],o[1])}function M(t,i){return e<=t&&t<=n&&r<=i&&i<=a}function A(e,t){M(e,t)&&s.point(e,t)}function S(e,t){var r=M(e=Math.max(-1e9,Math.min(on,e)),t=Math.max(-1e9,Math.min(on,t)));if(u&&d.push([e,t]),y)f=e,h=t,p=r,y=!1,r&&(s.lineStart(),s.point(e,t));else if(r&&m)s.point(e,t);else{var n={a:{x:g,y:v},b:{x:e,y:t}};w(n)?(m||(s.lineStart(),s.point(n.a.x,n.a.y)),s.point(n.b.x,n.b.y),r||s.lineEnd(),x=!1):r&&(s.lineStart(),s.point(e,t),x=!1)}g=e,v=t,m=r}return k}}function sn(e){var t=0,r=Ae/3,n=zn(e),a=n(t,r);return a.parallels=function(e){return arguments.length?n(t=e[0]*Ae/180,r=e[1]*Ae/180):[t/Ae*180,r/Ae*180]},a}function cn(e,t){var r=Math.sin(e),n=(r+Math.sin(t))/2,a=1+r*(2*n-r),i=Math.sqrt(a)/n;function o(e,t){var r=Math.sqrt(a-2*n*Math.sin(t))/n;return[r*Math.sin(e*=n),i-r*Math.cos(e)]}return o.invert=function(e,t){var r=i-t;return[Math.atan2(e,r)/n,je((a-(e*e+r*r)*n*n)/(2*n))]},o}t.geo.clipExtent=function(){var e,t,r,n,a,i,o={stream:function(e){return a&&(a.valid=!1),(a=i(e)).valid=!0,a},extent:function(l){return arguments.length?(i=ln(e=+l[0][0],t=+l[0][1],r=+l[1][0],n=+l[1][1]),a&&(a.valid=!1,a=null),o):[[e,t],[r,n]]}};return o.extent([[0,0],[960,500]])},(t.geo.conicEqualArea=function(){return sn(cn)}).raw=cn,t.geo.albers=function(){return t.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},t.geo.albersUsa=function(){var e,r,n,a,i=t.geo.albers(),o=t.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=t.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(t,r){e=[t,r]}};function c(t){var i=t[0],o=t[1];return e=null,r(i,o),e||(n(i,o),e)||a(i,o),e}return c.invert=function(e){var t=i.scale(),r=i.translate(),n=(e[0]-r[0])/t,a=(e[1]-r[1])/t;return(a>=.12&&a<.234&&n>=-.425&&n<-.214?o:a>=.166&&a<.234&&n>=-.214&&n<-.115?l:i).invert(e)},c.stream=function(e){var t=i.stream(e),r=o.stream(e),n=l.stream(e);return{point:function(e,a){t.point(e,a),r.point(e,a),n.point(e,a)},sphere:function(){t.sphere(),r.sphere(),n.sphere()},lineStart:function(){t.lineStart(),r.lineStart(),n.lineStart()},lineEnd:function(){t.lineEnd(),r.lineEnd(),n.lineEnd()},polygonStart:function(){t.polygonStart(),r.polygonStart(),n.polygonStart()},polygonEnd:function(){t.polygonEnd(),r.polygonEnd(),n.polygonEnd()}}},c.precision=function(e){return arguments.length?(i.precision(e),o.precision(e),l.precision(e),c):i.precision()},c.scale=function(e){return arguments.length?(i.scale(e),o.scale(.35*e),l.scale(e),c.translate(i.translate())):i.scale()},c.translate=function(e){if(!arguments.length)return i.translate();var t=i.scale(),u=+e[0],d=+e[1];return r=i.translate(e).clipExtent([[u-.455*t,d-.238*t],[u+.455*t,d+.238*t]]).stream(s).point,n=o.translate([u-.307*t,d+.201*t]).clipExtent([[u-.425*t+Te,d+.12*t+Te],[u-.214*t-Te,d+.234*t-Te]]).stream(s).point,a=l.translate([u-.205*t,d+.212*t]).clipExtent([[u-.214*t+Te,d+.166*t+Te],[u-.115*t-Te,d+.234*t-Te]]).stream(s).point,c},c.scale(1070)};var un,dn,fn,hn,pn,gn,vn={point:P,lineStart:P,lineEnd:P,polygonStart:function(){dn=0,vn.lineStart=mn},polygonEnd:function(){vn.lineStart=vn.lineEnd=vn.point=P,un+=y(dn/2)}};function mn(){var e,t,r,n;function a(e,t){dn+=n*e-r*t,r=e,n=t}vn.point=function(i,o){vn.point=a,e=r=i,t=n=o},vn.lineEnd=function(){a(e,t)}}var yn={point:function(e,t){epn&&(pn=e),tgn&&(gn=t)},lineStart:P,lineEnd:P,polygonStart:P,polygonEnd:P};function xn(){var e=bn(4.5),t=[],r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=l},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(t){return e=bn(t),r},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function n(r,n){t.push("M",r,",",n,e)}function a(e,n){t.push("M",e,",",n),r.point=i}function i(e,r){t.push("L",e,",",r)}function o(){r.point=n}function l(){t.push("Z")}return r}function bn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var _n,wn={point:kn,lineStart:Tn,lineEnd:Mn,polygonStart:function(){wn.lineStart=An},polygonEnd:function(){wn.point=kn,wn.lineStart=Tn,wn.lineEnd=Mn}};function kn(e,t){_r+=e,wr+=t,++kr}function Tn(){var e,t;function r(r,n){var a=r-e,i=n-t,o=Math.sqrt(a*a+i*i);Tr+=o*(e+r)/2,Mr+=o*(t+n)/2,Ar+=o,kn(e=r,t=n)}wn.point=function(n,a){wn.point=r,kn(e=n,t=a)}}function Mn(){wn.point=kn}function An(){var e,t,r,n;function a(e,t){var a=e-r,i=t-n,o=Math.sqrt(a*a+i*i);Tr+=o*(r+e)/2,Mr+=o*(n+t)/2,Ar+=o,Sr+=(o=n*e-r*t)*(r+e),Lr+=o*(n+t),Cr+=3*o,kn(r=e,n=t)}wn.point=function(i,o){wn.point=a,kn(e=r=i,t=n=o)},wn.lineEnd=function(){a(e,t)}}function Sn(e){var t=4.5,r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=l},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(e){return t=e,r},result:P};function n(r,n){e.moveTo(r+t,n),e.arc(r,n,t,0,Se)}function a(t,n){e.moveTo(t,n),r.point=i}function i(t,r){e.lineTo(t,r)}function o(){r.point=n}function l(){e.closePath()}return r}function Ln(e){var t=.5,r=Math.cos(30*Ie),n=16;function a(e){return(n?o:i)(e)}function i(t){return On(t,(function(r,n){r=e(r,n),t.point(r[0],r[1])}))}function o(t){var r,a,i,o,s,c,u,d,f,h,p,g,v={point:m,lineStart:y,lineEnd:b,polygonStart:function(){t.polygonStart(),v.lineStart=_},polygonEnd:function(){t.polygonEnd(),v.lineStart=y}};function m(r,n){r=e(r,n),t.point(r[0],r[1])}function y(){d=NaN,v.point=x,t.lineStart()}function x(r,a){var i=zr([r,a]),o=e(r,a);l(d,f,u,h,p,g,d=o[0],f=o[1],u=r,h=i[0],p=i[1],g=i[2],n,t),t.point(d,f)}function b(){v.point=m,t.lineEnd()}function _(){y(),v.point=w,v.lineEnd=k}function w(e,t){x(r=e,t),a=d,i=f,o=h,s=p,c=g,v.point=x}function k(){l(d,f,u,h,p,g,a,i,r,o,s,c,n,t),v.lineEnd=b,b()}return v}function l(n,a,i,o,s,c,u,d,f,h,p,g,v,m){var x=u-n,b=d-a,_=x*x+b*b;if(_>4*t&&v--){var w=o+h,k=s+p,T=c+g,M=Math.sqrt(w*w+k*k+T*T),A=Math.asin(T/=M),S=y(y(T)-1)t||y((x*O+b*D)/_-.5)>.3||o*h+s*p+c*g0&&16,a):Math.sqrt(t)},a}function Cn(e){var t=Ln((function(t,r){return e([t*Oe,r*Oe])}));return function(e){return Pn(t(e))}}function In(e){this.stream=e}function On(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function Dn(e){return zn((function(){return e}))()}function zn(e){var r,n,a,i,o,l,s=Ln((function(e,t){return[(e=r(e,t))[0]*c+i,o-e[1]*c]})),c=150,u=480,d=250,f=0,h=0,p=0,g=0,v=0,m=rn,y=I,x=null,b=null;function _(e){return[(e=a(e[0]*Ie,e[1]*Ie))[0]*c+i,o-e[1]*c]}function w(e){return(e=a.invert((e[0]-i)/c,(o-e[1])/c))&&[e[0]*Oe,e[1]*Oe]}function k(){a=Zr(n=Rn(p,g,v),r);var e=r(f,h);return i=u-e[0]*c,o=d+e[1]*c,T()}function T(){return l&&(l.valid=!1,l=null),_}return _.stream=function(e){return l&&(l.valid=!1),(l=Pn(m(n,s(y(e))))).valid=!0,l},_.clipAngle=function(e){return arguments.length?(m=null==e?(x=e,rn):nn((x=+e)*Ie),T()):x},_.clipExtent=function(e){return arguments.length?(b=e,y=e?ln(e[0][0],e[0][1],e[1][0],e[1][1]):I,T()):b},_.scale=function(e){return arguments.length?(c=+e,k()):c},_.translate=function(e){return arguments.length?(u=+e[0],d=+e[1],k()):[u,d]},_.center=function(e){return arguments.length?(f=e[0]%360*Ie,h=e[1]%360*Ie,k()):[f*Oe,h*Oe]},_.rotate=function(e){return arguments.length?(p=e[0]%360*Ie,g=e[1]%360*Ie,v=e.length>2?e[2]%360*Ie:0,k()):[p*Oe,g*Oe,v*Oe]},t.rebind(_,s,"precision"),function(){return r=e.apply(this,arguments),_.invert=r.invert&&w,k()}}function Pn(e){return On(e,(function(t,r){e.point(t*Ie,r*Ie)}))}function jn(e,t){return[e,t]}function En(e,t){return[e>Ae?e-Se:e<-Ae?e+Se:e,t]}function Rn(e,t,r){return e?t||r?Zr(Fn(e),Hn(t,r)):Fn(e):t||r?Hn(t,r):En}function Nn(e){return function(t,r){return[(t+=e)>Ae?t-Se:t<-Ae?t+Se:t,r]}}function Fn(e){var t=Nn(e);return t.invert=Nn(-e),t}function Hn(e,t){var r=Math.cos(e),n=Math.sin(e),a=Math.cos(t),i=Math.sin(t);function o(e,t){var o=Math.cos(t),l=Math.cos(e)*o,s=Math.sin(e)*o,c=Math.sin(t),u=c*r+l*n;return[Math.atan2(s*a-u*i,l*r-c*n),je(u*a+s*i)]}return o.invert=function(e,t){var o=Math.cos(t),l=Math.cos(e)*o,s=Math.sin(e)*o,c=Math.sin(t),u=c*a-s*i;return[Math.atan2(s*a+c*i,l*r+u*n),je(u*r-l*n)]},o}function Bn(e,t){var r=Math.cos(e),n=Math.sin(e);return function(a,i,o,l){var s=o*t;null!=a?(a=Un(r,a),i=Un(r,i),(o>0?ai)&&(a+=o*Se)):(a=e+o*Se,i=e-.5*s);for(var c,u=a;o>0?u>i:u2?e[2]*Ie:0),t.invert=function(t){return(t=e.invert(t[0]*Ie,t[1]*Ie))[0]*=Oe,t[1]*=Oe,t},t},En.invert=jn,t.geo.circle=function(){var e,t,r=[0,0],n=6;function a(){var e="function"==typeof r?r.apply(this,arguments):r,n=Rn(-e[0]*Ie,-e[1]*Ie,0).invert,a=[];return t(null,null,1,{point:function(e,t){a.push(e=n(e,t)),e[0]*=Oe,e[1]*=Oe}}),{type:"Polygon",coordinates:[a]}}return a.origin=function(e){return arguments.length?(r=e,a):r},a.angle=function(r){return arguments.length?(t=Bn((e=+r)*Ie,n*Ie),a):e},a.precision=function(r){return arguments.length?(t=Bn(e*Ie,(n=+r)*Ie),a):n},a.angle(90)},t.geo.distance=function(e,t){var r,n=(t[0]-e[0])*Ie,a=e[1]*Ie,i=t[1]*Ie,o=Math.sin(n),l=Math.cos(n),s=Math.sin(a),c=Math.cos(a),u=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((r=d*o)*r+(r=c*u-s*d*l)*r),s*u+c*d*l)},t.geo.graticule=function(){var e,r,n,a,i,o,l,s,c,u,d,f,h=10,p=h,g=90,v=360,m=2.5;function x(){return{type:"MultiLineString",coordinates:b()}}function b(){return t.range(Math.ceil(a/g)*g,n,g).map(d).concat(t.range(Math.ceil(s/v)*v,l,v).map(f)).concat(t.range(Math.ceil(r/h)*h,e,h).filter((function(e){return y(e%g)>Te})).map(c)).concat(t.range(Math.ceil(o/p)*p,i,p).filter((function(e){return y(e%v)>Te})).map(u))}return x.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},x.outline=function(){return{type:"Polygon",coordinates:[d(a).concat(f(l).slice(1),d(n).reverse().slice(1),f(s).reverse().slice(1))]}},x.extent=function(e){return arguments.length?x.majorExtent(e).minorExtent(e):x.minorExtent()},x.majorExtent=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],s=+e[0][1],l=+e[1][1],a>n&&(e=a,a=n,n=e),s>l&&(e=s,s=l,l=e),x.precision(m)):[[a,s],[n,l]]},x.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],o=+t[0][1],i=+t[1][1],r>e&&(t=r,r=e,e=t),o>i&&(t=o,o=i,i=t),x.precision(m)):[[r,o],[e,i]]},x.step=function(e){return arguments.length?x.majorStep(e).minorStep(e):x.minorStep()},x.majorStep=function(e){return arguments.length?(g=+e[0],v=+e[1],x):[g,v]},x.minorStep=function(e){return arguments.length?(h=+e[0],p=+e[1],x):[h,p]},x.precision=function(t){return arguments.length?(m=+t,c=qn(o,i,90),u=Vn(r,e,m),d=qn(s,l,90),f=Vn(a,n,m),x):m},x.majorExtent([[-180,-90+Te],[180,90-Te]]).minorExtent([[-180,-80-Te],[180,80+Te]])},t.geo.greatArc=function(){var e,r,n=Yn,a=Gn;function i(){return{type:"LineString",coordinates:[e||n.apply(this,arguments),r||a.apply(this,arguments)]}}return i.distance=function(){return t.geo.distance(e||n.apply(this,arguments),r||a.apply(this,arguments))},i.source=function(t){return arguments.length?(n=t,e="function"==typeof t?null:t,i):n},i.target=function(e){return arguments.length?(a=e,r="function"==typeof e?null:e,i):a},i.precision=function(){return arguments.length?i:0},i},t.geo.interpolate=function(e,t){var r,n,a,i,o,l,s,c,u,d,f,h,p,g,v;return r=e[0]*Ie,n=e[1]*Ie,a=t[0]*Ie,i=t[1]*Ie,o=Math.cos(n),l=Math.sin(n),s=Math.cos(i),c=Math.sin(i),u=o*Math.cos(r),d=o*Math.sin(r),f=s*Math.cos(a),h=s*Math.sin(a),p=2*Math.asin(Math.sqrt(Re(i-n)+o*s*Re(a-r))),g=1/Math.sin(p),(v=p?function(e){var t=Math.sin(e*=p)*g,r=Math.sin(p-e)*g,n=r*u+t*f,a=r*d+t*h,i=r*l+t*c;return[Math.atan2(a,n)*Oe,Math.atan2(i,Math.sqrt(n*n+a*a))*Oe]}:function(){return[r*Oe,n*Oe]}).distance=p,v},t.geo.length=function(e){return _n=0,t.geo.stream(e,Zn),_n};var Zn={sphere:P,point:P,lineStart:function(){var e,t,r;function n(n,a){var i=Math.sin(a*=Ie),o=Math.cos(a),l=y((n*=Ie)-e),s=Math.cos(l);_n+=Math.atan2(Math.sqrt((l=o*Math.sin(l))*l+(l=r*i-t*o*s)*l),t*i+r*o*s),e=n,t=i,r=o}Zn.point=function(a,i){e=a*Ie,t=Math.sin(i*=Ie),r=Math.cos(i),Zn.point=n},Zn.lineEnd=function(){Zn.point=Zn.lineEnd=P}},lineEnd:P,polygonStart:P,polygonEnd:P};function Wn(e,t){function r(t,r){var n=Math.cos(t),a=Math.cos(r),i=e(n*a);return[i*a*Math.sin(t),i*Math.sin(r)]}return r.invert=function(e,r){var n=Math.sqrt(e*e+r*r),a=t(n),i=Math.sin(a),o=Math.cos(a);return[Math.atan2(e*i,n*o),Math.asin(n&&r*i/n)]},r}var Xn=Wn((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(t.geo.azimuthalEqualArea=function(){return Dn(Xn)}).raw=Xn;var Qn=Wn((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),I);function Jn(e,t){var r=Math.cos(e),n=function(e){return Math.tan(Ae/4+e/2)},a=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(n(t)/n(e)),i=r*Math.pow(n(e),a)/a;if(!a)return ea;function o(e,t){i>0?t<-Ce+Te&&(t=-Ce+Te):t>Ce-Te&&(t=Ce-Te);var r=i/Math.pow(n(t),a);return[r*Math.sin(a*e),i-r*Math.cos(a*e)]}return o.invert=function(e,t){var r=i-t,n=De(a)*Math.sqrt(e*e+r*r);return[Math.atan2(e,r)/a,2*Math.atan(Math.pow(i/n,1/a))-Ce]},o}function Kn(e,t){var r=Math.cos(e),n=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),a=r/n+e;if(y(n)1&&ze(e[r[n-2]],e[r[n-1]],e[a])<=0;)--n;r[n++]=a}return r.slice(0,n)}function sa(e,t){return e[0]-t[0]||e[1]-t[1]}(t.geo.stereographic=function(){return Dn(na)}).raw=na,aa.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ce]},(t.geo.transverseMercator=function(){var e=ta(aa),t=e.center,r=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?r([e[0],e[1],e.length>2?e[2]+90:90]):[(e=r())[0],e[1],e[2]-90]},r([0,0,90])}).raw=aa,t.geom={},t.geom.hull=function(e){var t=ia,r=oa;if(arguments.length)return n(e);function n(e){if(e.length<3)return[];var n,a=vt(t),i=vt(r),o=e.length,l=[],s=[];for(n=0;n=0;--n)h.push(e[l[c[n]][2]]);for(n=+d;nTe)l=l.L;else{if(!((a=i-Aa(l,o))>Te)){n>-Te?(t=l.P,r=l):a>-Te?(t=l,r=l.N):t=r=l;break}if(!l.R){t=l;break}l=l.R}var s=_a(e);if(ga.insert(t,s),t||r){if(t===r)return Oa(t),r=_a(t.site),ga.insert(s,r),s.edge=r.edge=Pa(t.site,s.site),Ia(t),void Ia(r);if(r){Oa(t),Oa(r);var c=t.site,u=c.x,d=c.y,f=e.x-u,h=e.y-d,p=r.site,g=p.x-u,v=p.y-d,m=2*(f*v-h*g),y=f*f+h*h,x=g*g+v*v,b={x:(v*y-h*x)/m+u,y:(f*x-g*y)/m+d};Ea(r.edge,c,p,b),s.edge=Pa(c,e,null,b),r.edge=Pa(e,p,null,b),Ia(t),Ia(r)}else s.edge=Pa(t.site,s.site)}}function Ma(e,t){var r=e.site,n=r.x,a=r.y,i=a-t;if(!i)return n;var o=e.P;if(!o)return-1/0;var l=(r=o.site).x,s=r.y,c=s-t;if(!c)return l;var u=l-n,d=1/i-1/c,f=u/c;return d?(-f+Math.sqrt(f*f-2*d*(u*u/(-2*c)-s+c/2+a-i/2)))/d+n:(n+l)/2}function Aa(e,t){var r=e.N;if(r)return Ma(r,t);var n=e.site;return n.y===t?n.x:1/0}function Sa(e){this.site=e,this.edges=[]}function La(e,t){return t.angle-e.angle}function Ca(){Fa(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ia(e){var t=e.P,r=e.N;if(t&&r){var n=t.site,a=e.site,i=r.site;if(n!==i){var o=a.x,l=a.y,s=n.x-o,c=n.y-l,u=i.x-o,d=2*(s*(v=i.y-l)-c*u);if(!(d>=-Me)){var f=s*s+c*c,h=u*u+v*v,p=(v*f-c*h)/d,g=(s*h-u*f)/d,v=g+l,m=xa.pop()||new Ca;m.arc=e,m.site=a,m.x=p+o,m.y=v+Math.sqrt(p*p+g*g),m.cy=v,e.circle=m;for(var y=null,x=ma._;x;)if(m.y=l)return;if(f>p){if(i){if(i.y>=c)return}else i={x:v,y:s};r={x:v,y:c}}else{if(i){if(i.y1)if(f>p){if(i){if(i.y>=c)return}else i={x:(s-a)/n,y:s};r={x:(c-a)/n,y:c}}else{if(i){if(i.y=l)return}else i={x:o,y:n*o+a};r={x:l,y:n*l+a}}else{if(i){if(i.xTe||y(a-r)>Te)&&(l.splice(o,0,new Ra(ja(i.site,u,y(n-d)Te?{x:d,y:y(t-d)Te?{x:y(r-p)Te?{x:f,y:y(t-f)Te?{x:y(r-h)=r&&c.x<=a&&c.y>=n&&c.y<=o?[[r,o],[a,o],[a,n],[r,n]]:[]).point=e[l]})),t}function l(e){return e.map((function(e,t){return{x:Math.round(n(e,t)/Te)*Te,y:Math.round(a(e,t)/Te)*Te,i:t}}))}return o.links=function(e){return qa(l(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},o.triangles=function(e){var t=[];return qa(l(e)).cells.forEach((function(r,n){for(var a,i,o,l,s=r.site,c=r.edges.sort(La),u=-1,d=c.length,f=c[d-1].edge,h=f.l===s?f.r:f.l;++ui||d>o||f=_)<<1|t>=b,k=w+4;wi&&(a=t.slice(i,a),l[o]?l[o]+=a:l[++o]=a),(r=r[0])===(n=n[0])?l[o]?l[o]+=n:l[++o]=n:(l[++o]=null,s.push({i:o,x:Ka(r,n)})),i=ti.lastIndex;return ig&&(g=s.x),s.y>v&&(v=s.y),c.push(s.x),u.push(s.y);else for(d=0;dg&&(g=b),_>v&&(v=_),c.push(b),u.push(_)}var w=g-h,k=v-p;function T(e,t,r,n,a,i,o,l){if(!isNaN(r)&&!isNaN(n))if(e.leaf){var s=e.x,c=e.y;if(null!=s)if(y(s-r)+y(c-n)<.01)M(e,t,r,n,a,i,o,l);else{var u=e.point;e.x=e.y=e.point=null,M(e,u,s,c,a,i,o,l),M(e,t,r,n,a,i,o,l)}else e.x=r,e.y=n,e.point=t}else M(e,t,r,n,a,i,o,l)}function M(e,t,r,n,a,i,o,l){var s=.5*(a+o),c=.5*(i+l),u=r>=s,d=n>=c,f=d<<1|u;e.leaf=!1,u?a=s:o=s,d?i=c:l=c,T(e=e.nodes[f]||(e.nodes[f]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,r,n,a,i,o,l)}w>k?v=p+w:g=h+k;var A={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){T(A,e,+m(e,++d),+x(e,d),h,p,g,v)},visit:function(e){Wa(e,A,h,p,g,v)},find:function(e){return Xa(A,e[0],e[1],h,p,g,v)}};if(d=-1,null==t){for(;++d=0&&!(n=t.interpolators[a](e,r)););return n}function ni(e,t){var r,n=[],a=[],i=e.length,o=t.length,l=Math.min(e.length,t.length);for(r=0;r=1?1:e(t)}}function si(e){return function(t){return 1-e(1-t)}}function ci(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function ui(e){return e*e}function di(e){return e*e*e}function fi(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}function hi(e){return 1-Math.cos(e*Ce)}function pi(e){return Math.pow(2,10*(e-1))}function gi(e){return 1-Math.sqrt(1-e*e)}function vi(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function mi(e,t){return t-=e,function(r){return Math.round(e+t*r)}}function yi(e){var t,r,n,a=[e.a,e.b],i=[e.c,e.d],o=bi(a),l=xi(a,i),s=bi(((t=i)[0]+=(n=-l)*(r=a)[0],t[1]+=n*r[1],t))||0;a[0]*i[1]=0?e.slice(0,t):e,a=t>=0?e.slice(t+1):"in";return n=ii.get(n)||ai,li((a=oi.get(a)||I)(n.apply(null,r.call(arguments,1))))},t.interpolateHcl=function(e,r){e=t.hcl(e),r=t.hcl(r);var n=e.h,a=e.c,i=e.l,o=r.h-n,l=r.c-a,s=r.l-i;return isNaN(l)&&(l=0,a=isNaN(a)?r.c:a),isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360),function(e){return We(n+o*e,a+l*e,i+s*e)+""}},t.interpolateHsl=function(e,r){e=t.hsl(e),r=t.hsl(r);var n=e.h,a=e.s,i=e.l,o=r.h-n,l=r.s-a,s=r.l-i;return isNaN(l)&&(l=0,a=isNaN(a)?r.s:a),isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360),function(e){return Ye(n+o*e,a+l*e,i+s*e)+""}},t.interpolateLab=function(e,r){e=t.lab(e),r=t.lab(r);var n=e.l,a=e.a,i=e.b,o=r.l-n,l=r.a-a,s=r.b-i;return function(e){return et(n+o*e,a+l*e,i+s*e)+""}},t.interpolateRound=mi,t.transform=function(e){var r=a.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(e){if(null!=e){r.setAttribute("transform",e);var t=r.transform.baseVal.consolidate()}return new yi(t?t.matrix:_i)})(e)},yi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var _i={a:1,b:0,c:0,d:1,e:0,f:0};function wi(e){return e.length?e.pop()+",":""}function ki(e,r){var n,a,i,o,l=[],s=[];return e=t.transform(e),r=t.transform(r),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push("translate(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else(t[0]||t[1])&&r.push("translate("+t+")")}(e.translate,r.translate,l,s),n=e.rotate,a=r.rotate,i=l,o=s,n!==a?(n-a>180?a+=360:a-n>180&&(n+=360),o.push({i:i.push(wi(i)+"rotate(",null,")")-2,x:Ka(n,a)})):a&&i.push(wi(i)+"rotate("+a+")"),function(e,t,r,n){e!==t?n.push({i:r.push(wi(r)+"skewX(",null,")")-2,x:Ka(e,t)}):t&&r.push(wi(r)+"skewX("+t+")")}(e.skew,r.skew,l,s),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push(wi(r)+"scale(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else 1===t[0]&&1===t[1]||r.push(wi(r)+"scale("+t+")")}(e.scale,r.scale,l,s),e=r=null,function(e){for(var t,r=-1,n=s.length;++r0?n=t:(e.c=null,e.t=NaN,e=null,s.end({type:"end",alpha:n=0})):t>0&&(s.start({type:"start",alpha:n=t}),e=Tt(l.tick)),l):n},l.start=function(){var e,t,r,n=m.length,s=y.length,u=c[0],p=c[1];for(e=0;e=0;)r.push(a[n])}function Ni(e,t){for(var r=[e],n=[];null!=(e=r.pop());)if(n.push(e),(i=e.children)&&(a=i.length))for(var a,i,o=-1;++o=0;)o.push(u=c[s]),u.parent=i,u.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(n,i,i.depth)||0),delete i.children;return Ni(a,(function(t){var n,a;e&&(n=t.children)&&n.sort(e),r&&(a=t.parent)&&(a.value+=t.value)})),l}return n.sort=function(t){return arguments.length?(e=t,n):e},n.children=function(e){return arguments.length?(t=e,n):t},n.value=function(e){return arguments.length?(r=e,n):r},n.revalue=function(e){return r&&(Ri(e,(function(e){e.children&&(e.value=0)})),Ni(e,(function(e){var t;e.children||(e.value=+r.call(n,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},n},t.layout.partition=function(){var e=t.layout.hierarchy(),r=[1,1];function n(e,t,r,a){var i=e.children;if(e.x=t,e.y=e.depth*a,e.dx=r,e.dy=a,i&&(o=i.length)){var o,l,s,c=-1;for(r=e.value?r/e.value:0;++cl&&(l=n),o.push(n)}for(r=0;ra&&(n=r,a=t);return n}function Ki(e){return e.reduce($i,0)}function $i(e,t){return e+t[1]}function eo(e,t){return to(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function to(e,t){for(var r=-1,n=+e[0],a=(e[1]-n)/t,i=[];++r<=t;)i[r]=a*r+n;return i}function ro(e){return[t.min(e),t.max(e)]}function no(e,t){return e.value-t.value}function ao(e,t){var r=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=r,r._pack_prev=t}function io(e,t){e._pack_next=t,t._pack_prev=e}function oo(e,t){var r=t.x-e.x,n=t.y-e.y,a=e.r+t.r;return.999*a*a>r*r+n*n}function lo(e){if((t=e.children)&&(s=t.length)){var t,r,n,a,i,o,l,s,c=1/0,u=-1/0,d=1/0,f=-1/0;if(t.forEach(so),(r=t[0]).x=-r.r,r.y=0,x(r),s>1&&((n=t[1]).x=n.r,n.y=0,x(n),s>2))for(fo(r,n,a=t[2]),x(a),ao(r,a),r._pack_prev=a,ao(a,n),n=r._pack_next,i=3;i0)for(o=-1;++o=d[0]&&s<=d[1]&&((l=c[t.bisect(f,s,1,p)-1]).y+=g,l.push(i[o]));return c}return i.value=function(e){return arguments.length?(r=e,i):r},i.range=function(e){return arguments.length?(n=vt(e),i):n},i.bins=function(e){return arguments.length?(a="number"==typeof e?function(t){return to(t,e)}:vt(e),i):a},i.frequency=function(t){return arguments.length?(e=!!t,i):e},i},t.layout.pack=function(){var e,r=t.layout.hierarchy().sort(no),n=0,a=[1,1];function i(t,i){var o=r.call(this,t,i),l=o[0],s=a[0],c=a[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(l.x=l.y=0,Ni(l,(function(e){e.r=+u(e.value)})),Ni(l,lo),n){var d=n*(e?1:Math.max(2*l.r/s,2*l.r/c))/2;Ni(l,(function(e){e.r+=d})),Ni(l,lo),Ni(l,(function(e){e.r-=d}))}return uo(l,s/2,c/2,e?1:1/Math.max(2*l.r/s,2*l.r/c)),o}return i.size=function(e){return arguments.length?(a=e,i):a},i.radius=function(t){return arguments.length?(e=null==t||"function"==typeof t?t:+t,i):e},i.padding=function(e){return arguments.length?(n=+e,i):n},Ei(i,r)},t.layout.tree=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=null;function i(t,i){var c=e.call(this,t,i),u=c[0],d=function(e){for(var t,r={A:null,children:[e]},n=[r];null!=(t=n.pop());)for(var a,i=t.children,o=0,l=i.length;oh.x&&(h=e),e.depth>p.depth&&(p=e)}));var g=r(f,h)/2-f.x,v=n[0]/(h.x+r(h,f)/2+g),m=n[1]/(p.depth||1);Ri(u,(function(e){e.x=(e.x+g)*v,e.y=e.depth*m}))}return c}function o(e){var t=e.children,n=e.parent.children,a=e.i?n[e.i-1]:null;if(t.length){!function(e){for(var t,r=0,n=0,a=e.children,i=a.length;--i>=0;)(t=a[i]).z+=r,t.m+=r,r+=t.s+(n+=t.c)}(e);var i=(t[0].z+t[t.length-1].z)/2;a?(e.z=a.z+r(e._,a._),e.m=e.z-i):e.z=i}else a&&(e.z=a.z+r(e._,a._));e.parent.A=function(e,t,n){if(t){for(var a,i=e,o=e,l=t,s=i.parent.children[0],c=i.m,u=o.m,d=l.m,f=s.m;l=go(l),i=po(i),l&&i;)s=po(s),(o=go(o)).a=e,(a=l.z+d-i.z-c+r(l._,i._))>0&&(vo(mo(l,e,n),e,a),c+=a,u+=a),d+=l.m,c+=i.m,f+=s.m,u+=o.m;l&&!go(o)&&(o.t=l,o.m+=d-u),i&&!po(s)&&(s.t=i,s.m+=c-f,n=e)}return n}(e,a,e.parent.A||n[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=n[0],e.y=e.depth*n[1]}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e)?s:null,i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null==(n=e)?null:s,i):a?n:null},Ei(i,e)},t.layout.cluster=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=!1;function i(i,o){var l,s=e.call(this,i,o),c=s[0],u=0;Ni(c,(function(e){var n,a=e.children;a&&a.length?(e.x=(n=a).reduce((function(e,t){return e+t.x}),0)/n.length,e.y=function(e){return 1+t.max(e,(function(e){return e.y}))}(a)):(e.x=l?u+=r(e,l):0,e.y=0,l=e)}));var d=yo(c),f=xo(c),h=d.x-r(d,f)/2,p=f.x+r(f,d)/2;return Ni(c,a?function(e){e.x=(e.x-c.x)*n[0],e.y=(c.y-e.y)*n[1]}:function(e){e.x=(e.x-h)/(p-h)*n[0],e.y=(1-(c.y?e.y/c.y:1))*n[1]}),s}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e),i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null!=(n=e),i):a?n:null},Ei(i,e)},t.layout.treemap=function(){var e,r=t.layout.hierarchy(),n=Math.round,a=[1,1],i=null,o=bo,l=!1,s="squarify",c=.5*(1+Math.sqrt(5));function u(e,t){for(var r,n,a=-1,i=e.length;++a0;)l.push(r=c[a-1]),l.area+=r.area,"squarify"!==s||(n=h(l,g))<=f?(c.pop(),f=n):(l.area-=l.pop().area,p(l,g,i,!1),g=Math.min(i.dx,i.dy),l.length=l.area=0,f=1/0);l.length&&(p(l,g,i,!0),l.length=l.area=0),t.forEach(d)}}function f(e){var t=e.children;if(t&&t.length){var r,n=o(e),a=t.slice(),i=[];for(u(a,n.dx*n.dy/e.value),i.area=0;r=a.pop();)i.push(r),i.area+=r.area,null!=r.z&&(p(i,r.z?n.dx:n.dy,n,!a.length),i.length=i.area=0);t.forEach(f)}}function h(e,t){for(var r,n=e.area,a=0,i=1/0,o=-1,l=e.length;++oa&&(a=r));return t*=t,(n*=n)?Math.max(t*a*c/n,n/(t*i*c)):1/0}function p(e,t,r,a){var i,o=-1,l=e.length,s=r.x,c=r.y,u=t?n(e.area/t):0;if(t==r.dx){for((a||u>r.dy)&&(u=r.dy);++or.dx)&&(u=r.dx);++o1);return e+t*r*Math.sqrt(-2*Math.log(a)/a)}},logNormal:function(){var e=t.random.normal.apply(t,arguments);return function(){return Math.exp(e())}},bates:function(e){var r=t.random.irwinHall(e);return function(){return r()/e}},irwinHall:function(e){return function(){for(var t=0,r=0;r2?Lo:To,s=n?Mi:Ti;return a=o(e,t,s,r),i=o(t,e,s,ri),l}function l(e){return a(e)}return l.invert=function(e){return i(e)},l.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},l.range=function(e){return arguments.length?(t=e,o()):t},l.rangeRound=function(e){return l.range(e).interpolate(mi)},l.clamp=function(e){return arguments.length?(n=e,o()):n},l.interpolate=function(e){return arguments.length?(r=e,o()):r},l.ticks=function(t){return zo(e,t)},l.tickFormat=function(t,r){return Po(e,t,r)},l.nice=function(t){return Oo(e,t),o()},l.copy=function(){return Co(e,t,r,n)},o()}function Io(e,r){return t.rebind(e,r,"range","rangeRound","interpolate","clamp")}function Oo(e,t){return Mo(e,Ao(Do(e,t)[2])),Mo(e,Ao(Do(e,t)[2])),e}function Do(e,t){null==t&&(t=10);var r=wo(e),n=r[1]-r[0],a=Math.pow(10,Math.floor(Math.log(n/t)/Math.LN10)),i=t/n*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),r[0]=Math.ceil(r[0]/a)*a,r[1]=Math.floor(r[1]/a)*a+.5*a,r[2]=a,r}function zo(e,r){return t.range.apply(t,Do(e,r))}function Po(e,r,n){var a,i,o,l=Do(e,r);if(n){var s=Ot.exec(n);if(s.shift(),"s"===s[8]){var c=t.formatPrefix(Math.max(y(l[0]),y(l[1])));return s[7]||(s[7]="."+Eo(c.scale(l[2]))),s[8]="f",n=t.format(s.join("")),function(e){return n(c.scale(e))+c.symbol}}s[7]||(s[7]="."+(a=s[8],o=Eo((i=l)[2]),a in jo?Math.abs(o-Eo(Math.max(y(i[0]),y(i[1]))))+ +("e"!==a):o-2*("%"===a))),n=s.join("")}else n=",."+Eo(l[2])+"f";return t.format(n)}t.scale.linear=function(){return Co([0,1],[0,1],ri,!1)};var jo={s:1,g:1,p:1,r:1,e:1};function Eo(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function Ro(e,r,n,a){function i(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(r)}function o(e){return n?Math.pow(r,e):-Math.pow(r,-e)}function l(t){return e(i(t))}return l.invert=function(t){return o(e.invert(t))},l.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((a=t.map(Number)).map(i)),l):a},l.base=function(t){return arguments.length?(r=+t,e.domain(a.map(i)),l):r},l.nice=function(){var t=Mo(a.map(i),n?Math:Fo);return e.domain(t),a=t.map(o),l},l.ticks=function(){var e=wo(a),t=[],l=e[0],s=e[1],c=Math.floor(i(l)),u=Math.ceil(i(s)),d=r%1?2:r;if(isFinite(u-c)){if(n){for(;c0;f--)t.push(o(c)*f);for(c=0;t[c]s;u--);t=t.slice(c,u)}return t},l.tickFormat=function(e,n){if(!arguments.length)return No;arguments.length<2?n=No:"function"!=typeof n&&(n=t.format(n));var a=Math.max(1,r*e/l.ticks().length);return function(e){var t=e/o(Math.round(i(e)));return t*r0?n[t-1]:e[0],td?0:1;if(c=Le)return s(c,h)+(l?s(l,1-h):"")+"Z";var p,g,v,m,y,x,b,_,w,k,T,M,A=0,S=0,L=[];if((m=(+o.apply(this,arguments)||0)/2)&&(v=n===Ko?Math.sqrt(l*l+c*c):+n.apply(this,arguments),h||(S*=-1),c&&(S=je(v/c*Math.sin(m))),l&&(A=je(v/l*Math.sin(m)))),c){y=c*Math.cos(u+S),x=c*Math.sin(u+S),b=c*Math.cos(d-S),_=c*Math.sin(d-S);var C=Math.abs(d-u-2*S)<=Ae?0:1;if(S&&al(y,x,b,_)===h^C){var I=(u+d)/2;y=c*Math.cos(I),x=c*Math.sin(I),b=_=null}}else y=x=0;if(l){w=l*Math.cos(d-A),k=l*Math.sin(d-A),T=l*Math.cos(u+A),M=l*Math.sin(u+A);var O=Math.abs(u-d+2*A)<=Ae?0:1;if(A&&al(w,k,T,M)===1-h^O){var D=(u+d)/2;w=l*Math.cos(D),k=l*Math.sin(D),T=M=null}}else w=k=0;if(f>Te&&(p=Math.min(Math.abs(c-l)/2,+r.apply(this,arguments)))>.001){g=l0?0:1}function il(e,t,r,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=(a?n:-n)/Math.sqrt(i*i+o*o),s=l*o,c=-l*i,u=e[0]+s,d=e[1]+c,f=t[0]+s,h=t[1]+c,p=(u+f)/2,g=(d+h)/2,v=f-u,m=h-d,y=v*v+m*m,x=r-n,b=u*h-f*d,_=(m<0?-1:1)*Math.sqrt(Math.max(0,x*x*y-b*b)),w=(b*m-v*_)/y,k=(-b*v-m*_)/y,T=(b*m+v*_)/y,M=(-b*v+m*_)/y,A=w-p,S=k-g,L=T-p,C=M-g;return A*A+S*S>L*L+C*C&&(w=T,k=M),[[w-s,k-c],[w*r/x,k*r/x]]}function ol(e){var t=ia,r=oa,n=Wr,a=sl,i=a.key,o=.7;function l(i){var l,s=[],c=[],u=-1,d=i.length,f=vt(t),h=vt(r);function p(){s.push("M",a(e(c),o))}for(;++u1&&a.push("H",n[0]),a.join("")},"step-before":ul,"step-after":dl,basis:pl,"basis-open":function(e){if(e.length<4)return sl(e);for(var t,r=[],n=-1,a=e.length,i=[0],o=[0];++n<3;)t=e[n],i.push(t[0]),o.push(t[1]);for(r.push(gl(yl,i)+","+gl(yl,o)),--n;++n9&&(a=3*t/Math.sqrt(a),o[l]=a*r,o[l+1]=a*n);for(l=-1;++l<=s;)a=(e[Math.min(s,l+1)][0]-e[Math.max(0,l-1)][0])/(6*(1+o[l]*o[l])),i.push([a||0,o[l]*a||0]);return i}(e))}});function sl(e){return e.length>1?e.join("L"):e+"Z"}function cl(e){return e.join("L")+"Z"}function ul(e){for(var t=0,r=e.length,n=e[0],a=[n[0],",",n[1]];++t1){l=t[1],i=e[s],s++,n+="C"+(a[0]+o[0])+","+(a[1]+o[1])+","+(i[0]-l[0])+","+(i[1]-l[1])+","+i[0]+","+i[1];for(var c=2;cAe)+",1 "+t}function s(e,t,r,n){return"Q 0,0 "+n}return i.radius=function(e){return arguments.length?(r=vt(e),i):r},i.source=function(t){return arguments.length?(e=vt(t),i):e},i.target=function(e){return arguments.length?(t=vt(e),i):t},i.startAngle=function(e){return arguments.length?(n=vt(e),i):n},i.endAngle=function(e){return arguments.length?(a=vt(e),i):a},i},t.svg.diagonal=function(){var e=Yn,t=Gn,r=Tl;function n(n,a){var i=e.call(this,n,a),o=t.call(this,n,a),l=(i.y+o.y)/2,s=[i,{x:i.x,y:l},{x:o.x,y:l},o];return"M"+(s=s.map(r))[0]+"C"+s[1]+" "+s[2]+" "+s[3]}return n.source=function(t){return arguments.length?(e=vt(t),n):e},n.target=function(e){return arguments.length?(t=vt(e),n):t},n.projection=function(e){return arguments.length?(r=e,n):r},n},t.svg.diagonal.radial=function(){var e=t.svg.diagonal(),r=Tl,n=e.projection;return e.projection=function(e){return arguments.length?n(Ml(r=e)):r},e},t.svg.symbol=function(){var e=Sl,t=Al;function r(r,n){return(Cl.get(e.call(this,r,n))||Ll)(t.call(this,r,n))}return r.type=function(t){return arguments.length?(e=vt(t),r):e},r.size=function(e){return arguments.length?(t=vt(e),r):t},r};var Cl=t.map({circle:Ll,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Ol)),r=t*Ol;return"M0,"+-t+"L"+r+",0 0,"+t+" "+-r+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Il),r=t*Il/2;return"M0,"+r+"L"+t+","+-r+" "+-t+","+-r+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Il),r=t*Il/2;return"M0,"+-r+"L"+t+","+r+" "+-t+","+r+"Z"}});t.svg.symbolTypes=Cl.keys();var Il=Math.sqrt(3),Ol=Math.tan(30*Ie);G.transition=function(e){for(var t,r,n=jl||++Nl,a=Bl(e),i=[],o=El||{time:Date.now(),ease:fi,delay:0,duration:250},l=-1,s=this.length;++l0;)c[--f].call(e,o);if(i>=1)return d.event&&d.event.end.call(e,e.__data__,t),--u.count?delete u[n]:delete e[r],1}d||(i=a.time,o=Tt((function(e){var t=d.delay;if(o.t=t+i,t<=e)return f(e-t);o.c=f}),0,i),d=u[n]={tween:new _,time:i,timer:o,delay:a.delay,duration:a.duration,ease:a.ease,index:t},a=null,++u.count)}Rl.call=G.call,Rl.empty=G.empty,Rl.node=G.node,Rl.size=G.size,t.transition=function(e,r){return e&&e.transition?jl?e.transition(r):e:t.selection().transition(e)},t.transition.prototype=Rl,Rl.select=function(e){var t,r,n,a=this.id,i=this.namespace,o=[];e=Z(e);for(var l=-1,s=this.length;++lrect,.s>rect").attr("width",l[1]-l[0])}function g(e){e.select(".extent").attr("y",s[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function v(){var d,v,m=this,y=t.select(t.event.target),x=n.of(m,arguments),b=t.select(m),_=y.datum(),w=!/^(n|s)$/.test(_)&&a,k=!/^(e|w)$/.test(_)&&i,T=y.classed("extent"),M=be(m),A=t.mouse(m),S=t.select(o(m)).on("keydown.brush",I).on("keyup.brush",O);if(t.event.changedTouches?S.on("touchmove.brush",D).on("touchend.brush",P):S.on("mousemove.brush",D).on("mouseup.brush",P),b.interrupt().selectAll("*").interrupt(),T)A[0]=l[0]-A[0],A[1]=s[0]-A[1];else if(_){var L=+/w$/.test(_),C=+/^n/.test(_);v=[l[1-L]-A[0],s[1-C]-A[1]],A[0]=l[L],A[1]=s[C]}else t.event.altKey&&(d=A.slice());function I(){32==t.event.keyCode&&(T||(d=null,A[0]-=l[1],A[1]-=s[1],T=2),R())}function O(){32==t.event.keyCode&&2==T&&(A[0]+=l[1],A[1]+=s[1],T=0,R())}function D(){var e=t.mouse(m),r=!1;v&&(e[0]+=v[0],e[1]+=v[1]),T||(t.event.altKey?(d||(d=[(l[0]+l[1])/2,(s[0]+s[1])/2]),A[0]=l[+(e[0]1?{floor:function(t){for(;l(t=e.floor(t));)t=es(t-1);return t},ceil:function(t){for(;l(t=e.ceil(t));)t=es(+t+1);return t}}:e))},a.ticks=function(e,t){var r=wo(a.domain()),n=null==e?i(r,10):"number"==typeof e?i(r,e):!e.range&&[{range:e},t];return n&&(e=n[0],t=n[1]),e.range(r[0],es(+r[1]+1),t<1?1:t)},a.tickFormat=function(){return n},a.copy=function(){return $l(e.copy(),r,n)},Io(a,e)}function es(e){return new Date(e)}Xl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Kl:Jl,Kl.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Kl.toString=Jl.toString,Pt.second=Nt((function(e){return new jt(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),Pt.seconds=Pt.second.range,Pt.seconds.utc=Pt.second.utc.range,Pt.minute=Nt((function(e){return new jt(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),Pt.minutes=Pt.minute.range,Pt.minutes.utc=Pt.minute.utc.range,Pt.hour=Nt((function(e){var t=e.getTimezoneOffset()/60;return new jt(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),Pt.hours=Pt.hour.range,Pt.hours.utc=Pt.hour.utc.range,Pt.month=Nt((function(e){return(e=Pt.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),Pt.months=Pt.month.range,Pt.months.utc=Pt.month.utc.range;var ts=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],rs=[[Pt.second,1],[Pt.second,5],[Pt.second,15],[Pt.second,30],[Pt.minute,1],[Pt.minute,5],[Pt.minute,15],[Pt.minute,30],[Pt.hour,1],[Pt.hour,3],[Pt.hour,6],[Pt.hour,12],[Pt.day,1],[Pt.day,2],[Pt.week,1],[Pt.month,1],[Pt.month,3],[Pt.year,1]],ns=Xl.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",Wr]]),as={range:function(e,r,n){return t.range(Math.ceil(e/n)*n,+r,n).map(es)},floor:I,ceil:I};rs.year=Pt.year,Pt.scale=function(){return $l(t.scale.linear(),rs,ns)};var is=rs.map((function(e){return[e[0].utc,e[1]]})),os=Ql.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",Wr]]);function ls(e){return JSON.parse(e.responseText)}function ss(e){var t=a.createRange();return t.selectNode(a.body),t.createContextualFragment(e.responseText)}is.year=Pt.year.utc,Pt.scale.utc=function(){return $l(t.scale.linear(),is,os)},t.text=mt((function(e){return e.responseText})),t.json=function(e,t){return yt(e,"application/json",ls,t)},t.html=function(e,t){return yt(e,"text/html",ss,t)},t.xml=mt((function(e){return e.responseXML})),"function"==typeof define&&define.amd?(this.d3=t,define(t)):e.exports?e.exports=t:this.d3=t}()})),s.register("6jof9",(function(e,t){var n,a,i,o;r(e.exports,"timeFormat",(()=>a)),r(e.exports,"utcFormat",(()=>i)),o={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"]},n=s("1Zeei").default(o),a=n.format,n.parse,i=n.utcFormat,n.utcParse})),s.register("1Zeei",(function(e,t){r(e.exports,"default",(()=>h));var n=s("7iI8g"),a=s("4RR5X"),i=s("3r5Rv"),o=s("1GweQ"),l=s("6xy94"),c=s("4kVgh");function u(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 d(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 f(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function h(e){var t=e.dateTime,r=e.date,i=e.time,s=e.periods,c=e.days,h=e.shortDays,g=e.months,v=e.shortMonths,m=b(s),y=_(s),x=b(c),$=_(c),xe=b(h),Oe=_(h),De=b(g),ze=_(g),Pe=b(v),je=_(v),Ee={a:function(e){return h[e.getDay()]},A:function(e){return c[e.getDay()]},b:function(e){return v[e.getMonth()]},B:function(e){return g[e.getMonth()]},c:null,d:U,e:U,f:Z,g:ae,G:oe,H:q,I:V,j:Y,L:G,m:W,M:X,p:function(e){return s[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ce,s:Ie,S:Q,u:J,U:K,V:ee,w:te,W:re,x:null,X:null,y:ne,Y:ie,Z:le,"%":Le},Re={a:function(e){return h[e.getUTCDay()]},A:function(e){return c[e.getUTCDay()]},b:function(e){return v[e.getUTCMonth()]},B:function(e){return g[e.getUTCMonth()]},c:null,d:se,e:se,f:he,g:Te,G:Ae,H:ce,I:ue,j:de,L:fe,m:pe,M:ge,p:function(e){return s[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ce,s:Ie,S:ve,u:me,U:ye,V:be,w:_e,W:we,x:null,X:null,y:ke,Y:Me,Z:Se,"%":Le},Ne={a:function(e,t,r){var n=xe.exec(t.slice(r));return n?(e.w=Oe[n[0].toLowerCase()],r+n[0].length):-1},A:function(e,t,r){var n=x.exec(t.slice(r));return n?(e.w=$[n[0].toLowerCase()],r+n[0].length):-1},b:function(e,t,r){var n=Pe.exec(t.slice(r));return n?(e.m=je[n[0].toLowerCase()],r+n[0].length):-1},B:function(e,t,r){var n=De.exec(t.slice(r));return n?(e.m=ze[n[0].toLowerCase()],r+n[0].length):-1},c:function(e,r,n){return Be(e,t,r,n)},d:D,e:D,f:N,g:L,G:S,H:P,I:P,j:z,L:R,m:O,M:j,p:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.p=y[n[0].toLowerCase()],r+n[0].length):-1},q:I,Q:H,s:B,S:E,u:k,U:T,V:M,w:w,W:A,x:function(e,t,n){return Be(e,r,t,n)},X:function(e,t,r){return Be(e,i,t,r)},y:L,Y:S,Z:C,"%":F};function Fe(e,t){return function(r){var n,a,i,o=[],l=-1,s=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++l53)return null;"w"in c||(c.w=1),"Z"in c?(s=(i=d(f(c.y,0,1))).getUTCDay(),i=s>4||0===s?a.utcMonday.ceil(i):a.utcMonday(i),i=o.default.offset(i,7*(c.V-1)),c.y=i.getUTCFullYear(),c.m=i.getUTCMonth(),c.d=i.getUTCDate()+(c.w+6)%7):(s=(i=u(f(c.y,0,1))).getDay(),i=s>4||0===s?n.monday.ceil(i):n.monday(i),i=l.default.offset(i,7*(c.V-1)),c.y=i.getFullYear(),c.m=i.getMonth(),c.d=i.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),s="Z"in c?d(f(c.y,0,1)).getUTCDay():u(f(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(s+5)%7:c.w+7*c.U-(s+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,d(c)):u(c)}}function Be(e,t,r,n){for(var a,i,o=0,l=t.length,s=r.length;o=s)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=Ne[a in p?t.charAt(o++):a])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}return Ee.x=Fe(r,Ee),Ee.X=Fe(i,Ee),Ee.c=Fe(t,Ee),Re.x=Fe(r,Re),Re.X=Fe(i,Re),Re.c=Fe(t,Re),{format:function(e){var t=Fe(e+="",Ee);return t.toString=function(){return e},t},parse:function(e){var t=He(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=Fe(e+="",Re);return t.toString=function(){return e},t},utcParse:function(e){var t=He(e+="",!0);return t.toString=function(){return e},t}}}var p={"-":"",_:" ",0:"0"},g=/^\s*\d+/,v=/^%/,m=/[\\^$*+?|[\]().{}]/g;function y(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+n[0].length):-1}function C(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function I(e,t,r){var n=g.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function O(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function D(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function z(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function P(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function j(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function E(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function R(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function N(e,t,r){var n=g.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function F(e,t,r){var n=v.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function H(e,t,r){var n=g.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function B(e,t,r){var n=g.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function U(e,t){return y(e.getDate(),t,2)}function q(e,t){return y(e.getHours(),t,2)}function V(e,t){return y(e.getHours()%12||12,t,2)}function Y(e,t){return y(1+l.default.count(c.default(e),e),t,3)}function G(e,t){return y(e.getMilliseconds(),t,3)}function Z(e,t){return G(e,t)+"000"}function W(e,t){return y(e.getMonth()+1,t,2)}function X(e,t){return y(e.getMinutes(),t,2)}function Q(e,t){return y(e.getSeconds(),t,2)}function J(e){var t=e.getDay();return 0===t?7:t}function K(e,t){return y(n.sunday.count(c.default(e)-1,e),t,2)}function $(e){var t=e.getDay();return t>=4||0===t?n.thursday(e):n.thursday.ceil(e)}function ee(e,t){return e=$(e),y(n.thursday.count(c.default(e),e)+(4===c.default(e).getDay()),t,2)}function te(e){return e.getDay()}function re(e,t){return y(n.monday.count(c.default(e)-1,e),t,2)}function ne(e,t){return y(e.getFullYear()%100,t,2)}function ae(e,t){return y((e=$(e)).getFullYear()%100,t,2)}function ie(e,t){return y(e.getFullYear()%1e4,t,4)}function oe(e,t){var r=e.getDay();return y((e=r>=4||0===r?n.thursday(e):n.thursday.ceil(e)).getFullYear()%1e4,t,4)}function le(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+y(t/60|0,"0",2)+y(t%60,"0",2)}function se(e,t){return y(e.getUTCDate(),t,2)}function ce(e,t){return y(e.getUTCHours(),t,2)}function ue(e,t){return y(e.getUTCHours()%12||12,t,2)}function de(e,t){return y(1+o.default.count(i.default(e),e),t,3)}function fe(e,t){return y(e.getUTCMilliseconds(),t,3)}function he(e,t){return fe(e,t)+"000"}function pe(e,t){return y(e.getUTCMonth()+1,t,2)}function ge(e,t){return y(e.getUTCMinutes(),t,2)}function ve(e,t){return y(e.getUTCSeconds(),t,2)}function me(e){var t=e.getUTCDay();return 0===t?7:t}function ye(e,t){return y(a.utcSunday.count(i.default(e)-1,e),t,2)}function xe(e){var t=e.getUTCDay();return t>=4||0===t?a.utcThursday(e):a.utcThursday.ceil(e)}function be(e,t){return e=xe(e),y(a.utcThursday.count(i.default(e),e)+(4===i.default(e).getUTCDay()),t,2)}function _e(e){return e.getUTCDay()}function we(e,t){return y(a.utcMonday.count(i.default(e)-1,e),t,2)}function ke(e,t){return y(e.getUTCFullYear()%100,t,2)}function Te(e,t){return y((e=xe(e)).getUTCFullYear()%100,t,2)}function Me(e,t){return y(e.getUTCFullYear()%1e4,t,4)}function Ae(e,t){var r=e.getUTCDay();return y((e=r>=4||0===r?a.utcThursday(e):a.utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function Se(){return"+0000"}function Le(){return"%"}function Ce(e){return+e}function Ie(e){return Math.floor(+e/1e3)}})),s.register("6xy94",(function(e,t){r(e.exports,"default",(()=>o));var n=s("4YTe1"),a=s("423HX"),i=n.default((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())*a.durationMinute)/a.durationDay}),(function(e){return e.getDate()-1})),o=i;i.range})),s.register("4YTe1",(function(e,t){r(e.exports,"default",(()=>i));var n=new Date,a=new Date;function i(e,t,r,o){function l(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return l.floor=function(t){return e(t=new Date(+t)),t},l.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},l.round=function(e){var t=l(e),r=l.ceil(e);return e-t0))return o;do{o.push(i=new Date(+r)),t(r,a),e(r)}while(i=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(l.count=function(t,i){return n.setTime(+t),a.setTime(+i),e(n),e(a),Math.floor(r(n,a))},l.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?l.filter(o?function(t){return o(t)%e==0}:function(t){return l.count(0,t)%e==0}):l:null}),l}})),s.register("423HX",(function(e,t){r(e.exports,"durationDay",(()=>a)),r(e.exports,"durationWeek",(()=>i)),r(e.exports,"durationMinute",(()=>n));var n=6e4,a=864e5,i=6048e5})),s.register("7iI8g",(function(e,t){r(e.exports,"monday",(()=>l)),r(e.exports,"thursday",(()=>d)),r(e.exports,"sunday",(()=>o));var n=s("4YTe1"),a=s("423HX");function i(e){return n.default((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())*a.durationMinute)/a.durationWeek}))}var o=i(0),l=i(1),c=i(2),u=i(3),d=i(4),f=i(5),h=i(6);o.range,l.range,c.range,u.range,d.range,f.range,h.range})),s.register("4kVgh",(function(e,t){r(e.exports,"default",(()=>i));var n=s("4YTe1"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var i=a;a.range})),s.register("1GweQ",(function(e,t){r(e.exports,"default",(()=>o));var n=s("4YTe1"),a=s("423HX"),i=n.default((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/a.durationDay}),(function(e){return e.getUTCDate()-1})),o=i;i.range})),s.register("4RR5X",(function(e,t){r(e.exports,"utcSunday",(()=>o)),r(e.exports,"utcThursday",(()=>d)),r(e.exports,"utcMonday",(()=>l));var n=s("4YTe1"),a=s("423HX");function i(e){return n.default((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)/a.durationWeek}))}var o=i(0),l=i(1),c=i(2),u=i(3),d=i(4),f=i(5),h=i(6);o.range,l.range,c.range,u.range,d.range,f.range,h.range})),s.register("3r5Rv",(function(e,t){r(e.exports,"default",(()=>i));var n=s("4YTe1"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var i=a;a.range})),s.register("6qr5h",(function(e,t){"use strict";var r=s("3d0NJ");e.exports=function(e){var t=typeof e;if("string"===t){var n=e;if(0==(e=+e)&&r(n))return!1}else if("number"!==t)return!1;return e-e<1}})),s.register("3d0NJ",(function(e,t){"use strict";e.exports=function(e){for(var t,r=e.length,n=0;n13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}})),s.register("10TEj",(function(e,t){"use strict";e.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"โˆ’"}})),s.register("2Tkfd",(function(e,t){"use strict";var r=s("6qr5h"),n=s("1nElS").isArrayOrTypedArray;function a(e,t){return function(){var r,i,o,l,s,c=e;for(l=0;li),(e=>i=e)),r(e.exports,"maxRowLength",(()=>c),(e=>c=e)),r(e.exports,"ensureArray",(()=>l),(e=>l=e)),r(e.exports,"minRowLength",(()=>o),(e=>o=e)),r(e.exports,"isTypedArray",(()=>s),(e=>s=e)),r(e.exports,"isArrayOrTypedArray",(()=>a),(e=>a=e)),r(e.exports,"isArray1D",(()=>n),(e=>n=e));var u=Array.isArray,d="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},f="undefined"==typeof DataView?function(){}:DataView;function h(e){return d.isView(e)&&!(e instanceof f)}function p(e){return u(e)||h(e)}function g(e,t,r){if(p(e)){if(p(e[0])){for(var n=r,a=0;a2)return c[t]=2|c[t],f.set(e,null);if(d){for(o=t;o0)return Math.log(e)/Math.LN10;var n=Math.log(Math.min(t[0],t[1]))/Math.LN10;return r(n)||(n=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),n}})),s.register("CXorH",(function(e,t){"use strict";var r=s("1nElS").isArrayOrTypedArray,n=s("2bwwe");e.exports=function e(t,a){for(var i in a){var o=a[i],l=t[i];if(l!==o)if("_"===i.charAt(0)||"function"==typeof o){if(i in t)continue;t[i]=o}else if(r(o)&&r(l)&&n(o[0])){if("customdata"===i||"ids"===i)continue;for(var s=Math.min(o.length,l.length),c=0;ct/2?e-Math.round(e/t)*t:e}}})),s.register("2YEcf",(function(e,t){var n,a,i,o,l,c,u;r(e.exports,"coerceSelectionMarkerOpacity",(()=>o),(e=>o=e)),r(e.exports,"coerceHoverinfo",(()=>n),(e=>n=e)),r(e.exports,"coerce",(()=>u),(e=>u=e)),r(e.exports,"validate",(()=>l),(e=>l=e)),r(e.exports,"coerce2",(()=>i),(e=>i=e)),r(e.exports,"coerceFont",(()=>c),(e=>c=e)),r(e.exports,"valObjectMeta",(()=>a),(e=>a=e));var d=s("6qr5h"),f=s("3Twc4"),h=s("5zAUi"),p=s("5Tt6Z"),g=s("5NzBR").DESELECTDIM,v=s("2Tkfd"),m=s("3ImU3").counter,y=s("5DnzT").modHalf,x=s("1nElS").isArrayOrTypedArray;function b(e,t){var r=a[t.valType];if(t.arrayOk&&x(e))return!0;if(r.validateFunction)return r.validateFunction(e,t);var n={},i=n,o={set:function(e){i=e}};return r.coerceFunction(e,o,n,t),i!==n}a={data_array:{description:["An {array} of data.","The value MUST be an {array}, or we ignore it.","Note that typed arrays (e.g. Float32Array) are supported."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){x(e)?t.set(e):void 0!==r&&t.set(r)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(e,t,r,n){n.coerceNumber&&(e=+e),-1===n.values.indexOf(e)?t.set(r):t.set(e)},validateFunction:function(e,t){t.coerceNumber&&(e=+e);for(var r=t.values,n=0;nn.max?t.set(r):t.set(+e)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(e,t,r,n){e%1||!d(e)||void 0!==n.min&&en.max?t.set(r):t.set(+e)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,t,r,n){if("string"!=typeof e){var a="number"==typeof e;!0!==n.strict&&a?t.set(String(e)):t.set(r)}else n.noBlank&&!e?t.set(r):t.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,r){f(e).isValid()?t.set(e):t.set(r)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){Array.isArray(e)&&e.length&&e.every((function(e){return f(e).isValid()}))?t.set(e):t.set(r)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(p.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){t.set(p.get(e,r))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){"auto"===e?t.set("auto"):d(e)?t.set(y(+e,360)):t.set(r)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(e,t,r,n){var a=n.regex||m(r);"string"==typeof e&&a.test(e)?t.set(e):t.set(r)},validateFunction:function(e,t){var r=t.dflt;return e===r||"string"==typeof e&&!!m(r).test(e)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,t,r,n){if("string"==typeof e)if(-1===(n.extras||[]).indexOf(e)){for(var a=e.split("+"),i=0;i1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=I(e,360),t=I(t,100),r=I(r,100),0===t)n=a=i=r;else{var l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;n=o(s,l,e+1/3),a=o(s,l,e),i=o(s,l,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,d,h),p=!0,g="hsl"),e.hasOwnProperty("a")&&(u=e.a)),u=C(u),{ok:p,format:e.format||g,r:o(255,l(c.r,0)),g:o(255,l(c.g,0)),b:o(255,l(c.b,0)),a:u}}(e);this._originalInput=e,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=i(100*this._a)/100,this._format=s.format||u.format,this._gradientType=s.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=u.ok,this._tc_id=a++}function u(e,t,r){e=I(e,255),t=I(t,255),r=I(r,255);var n,a,i=l(e,t,r),s=o(e,t,r),c=(i+s)/2;if(i==s)n=a=0;else{var u=i-s;switch(a=c>.5?u/(2-i-s):u/(i+s),i){case e:n=(t-r)/u+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(c(n));return i}function A(e,t){t=t||6;for(var r=c(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],l=1/t;t--;)o.push(c({h:n,s:a,v:i})),i=(i+l)%1;return o}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,n,a=this.toRgb();return e=a.r/255,r=a.g/255,n=a.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=C(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=d(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return t=this._r,r=this._g,n=this._b,a=this._a,o=e,l=[z(i(t).toString(16)),z(i(r).toString(16)),z(i(n).toString(16)),z(j(a))],o&&l[0].charAt(0)==l[0].charAt(1)&&l[1].charAt(0)==l[1].charAt(1)&&l[2].charAt(0)==l[2].charAt(1)&&l[3].charAt(0)==l[3].charAt(1)?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0)+l[3].charAt(0):l.join("");var t,r,n,a,o,l},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*I(this._r,255))+"%",g:i(100*I(this._g,255))+"%",b:i(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*I(this._r,255))+"%, "+i(100*I(this._g,255))+"%, "+i(100*I(this._b,255))+"%)":"rgba("+i(100*I(this._r,255))+"%, "+i(100*I(this._g,255))+"%, "+i(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(L[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=c(e);r="#"+h(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:P(e[n]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})},c.mix=function(e,t,r){r=0===r?0:r||50;var n=c(e).toRgb(),a=c(t).toRgb(),i=r/100;return c({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},c.readability=function(e,r){var n=c(e),a=c(r);return(t.max(n.getLuminance(),a.getLuminance())+.05)/(t.min(n.getLuminance(),a.getLuminance())+.05)},c.isReadable=function(e,t,r){var n,a,i,o,l,s=c.readability(e,t);switch(a=!1,(i=r,"AA"!==(o=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==o&&(o="AA"),"small"!==(l=(i.size||"small").toLowerCase())&&"large"!==l&&(l="small"),n={level:o,size:l}).level+n.size){case"AAsmall":case"AAAlarge":a=s>=4.5;break;case"AAlarge":a=s>=3;break;case"AAAsmall":a=s>=7}return a},c.mostReadable=function(e,t,r){var n,a,i,o,l=null,s=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var u=0;us&&(s=n,l=c(t[u]));return c.isReadable(e,l,{level:i,size:o})||!a?l:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var S=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(S);function C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,r){var n;"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var a=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=o(r,l(0,parseFloat(e))),a&&(e=parseInt(e*r,10)/100),t.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function O(e){return o(1,l(0,e))}function D(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function j(e){return t.round(255*parseFloat(e)).toString(16)}function E(e){return D(e)/255}var R,N,F,H=(N="[\\s|\\(]+("+(R="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",F="[\\s|\\(]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",{CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+N),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+N),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+N),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function B(e){return!!H.CSS_UNIT.exec(e)}e.exports?e.exports=c:"function"==typeof define&&define.amd?define((function(){return c})):window.tinycolor=c}(Math)})),s.register("5zAUi",(function(e,t){"use strict";var r=s("tikJy");e.exports={type:{valType:"enumerated",role:"info",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],role:"info",dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",role:"info",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",role:"info",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",role:"info",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",role:"info",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",role:"info",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",role:"info",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:r.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,role:"info",editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,role:"info",editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}})),s.register("tikJy",(function(e,t){"use strict";var r=s("10Nlb"),n=s("1U5js").hoverlabel,a=s("1ZM4z").extendFlat;e.exports={hoverlabel:{bgcolor:a({},n.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:a({},n.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:r({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:a({},n.align,{arrayOk:!0}),namelength:a({},n.namelength,{arrayOk:!0}),editType:"none"}}})),s.register("10Nlb",(function(e,t){"use strict";e.exports=function(e){var t=e.editType,r=e.colorEditType;void 0===r&&(r=t);var n={family:{valType:"string",role:"style",noBlank:!0,strict:!0,editType:t,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",role:"style",min:1,editType:t},color:{valType:"color",role:"style",editType:r},editType:t,description:""+(e.description||"")};return e.arrayOk&&(n.family.arrayOk=!0,n.size.arrayOk=!0,n.color.arrayOk=!0),n}})),s.register("1U5js",(function(e,t){"use strict";var r=s("1Qgov"),n=s("10Nlb")({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});n.family.dflt=r.HOVERFONT,n.size.dflt=r.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",role:"info",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",role:"info",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",role:"info",values:["x","y","closest",!1,"x unified","y unified"],editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled.","If `clickmode` includes the *select* flag,","`hovermode` defaults to *closest*.","If `clickmode` lacks the *select* flag,","it defaults to *x* or *y* (depending on the trace's","`orientation` value) for plots based on","cartesian coordinates. For anything else the default","value is *closest*."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",role:"style",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:n,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",role:"style",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,role:"style",editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",role:"info",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}})),s.register("1Qgov",(function(e,t){"use strict";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}})),s.register("1ZM4z",(function(e,t){var n,a,i,o;r(e.exports,"extendDeep",(()=>a),(e=>a=e)),r(e.exports,"extendDeepNoArrays",(()=>n),(e=>n=e)),r(e.exports,"extendDeepAll",(()=>o),(e=>o=e)),r(e.exports,"extendFlat",(()=>i),(e=>i=e));var l=s("2bwwe"),c=Array.isArray;function u(e,t,r,n){var a,i,o,s,d,f,h=e[0],p=e.length;if(2===p&&c(h)&&c(e[1])&&0===h.length){if(function(e,t){var r,n;for(r=0;rn),(e=>n=e)),n=function(e,t,r,n){var a=(t||"")+(r?"":"$"),i=!1===n?"":"^";return"xy"===e?new RegExp(i+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+a):new RegExp(i+e+"([2-9]|[1-9][0-9]+)?"+a)}})),s.register("4Jreh",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v;r(e.exports,"dfltRange",(()=>u),(e=>u=e)),r(e.exports,"dateTime2ms",(()=>n),(e=>n=e)),r(e.exports,"isJSDate",(()=>l),(e=>l=e)),r(e.exports,"MAX_MS",(()=>v),(e=>v=e)),r(e.exports,"ms2DateTime",(()=>d),(e=>d=e)),r(e.exports,"ms2DateTimeLocal",(()=>h),(e=>h=e)),r(e.exports,"MIN_MS",(()=>a),(e=>a=e)),r(e.exports,"findExactDates",(()=>g),(e=>g=e)),r(e.exports,"cleanDate",(()=>o),(e=>o=e)),r(e.exports,"formatDate",(()=>p),(e=>p=e)),r(e.exports,"isDateTime",(()=>i),(e=>i=e)),r(e.exports,"dateTick0",(()=>c),(e=>c=e)),r(e.exports,"incrementMonth",(()=>f),(e=>f=e));var m,y,x=s("6jof9").timeFormat,b=s("6qr5h"),_=s("1NWKZ"),w=s("5DnzT").mod,k=s("10TEj"),T=k.BADNUM,M=k.ONEDAY,A=k.ONEHOUR,S=k.ONEMIN,L=k.ONESEC,C=k.EPOCHJD,I=s("4Hxcc"),O=s("6jof9").utcFormat,D=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,z=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,P=(new Date).getFullYear()-70;function j(e){return e&&I.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function E(e,t){return String(e+Math.pow(10,t)).substr(1)}c=function(e,t){var r,a,i=(a=!!t,j(r=e)?a?I.getComponentMethod("calendars","CANONICAL_SUNDAY")[r]:I.getComponentMethod("calendars","CANONICAL_TICK")[r]:a?"2000-01-02":"2000-01-01");if(t<2)return i;var o=n(i,e);return d(o+=M*(t-1),0,e)},u=function(e){return j(e)?I.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},l=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime},m=a=(n=function(e,t){if(l(e)){var r=e.getTimezoneOffset()*S,n=(e.getUTCMinutes()-e.getMinutes())*S+(e.getUTCSeconds()-e.getSeconds())*L+(e.getUTCMilliseconds()-e.getMilliseconds());if(n){var a=3*S;r=r-a/2+w(n-r+a/2,a)}return(e=Number(e)-r)>=m&&e<=y?e:T}if("string"!=typeof e&&"number"!=typeof e)return T;e=String(e);var i=j(t),o=e.charAt(0);!i||"G"!==o&&"g"!==o||(e=e.substr(1),t="");var s=i&&"chinese"===t.substr(0,7),c=e.match(s?z:D);if(!c)return T;var u=c[1],d=c[3]||"1",f=Number(c[5]||1),h=Number(c[7]||0),p=Number(c[9]||0),g=Number(c[11]||0);if(i){if(2===u.length)return T;var v;u=Number(u);try{var x=I.getComponentMethod("calendars","getCal")(t);if(s){var b="i"===d.charAt(d.length-1);d=parseInt(d,10),v=x.newDate(u,x.toMonthIndex(u,d,b),f)}else v=x.newDate(u,Number(d),f)}catch(e){return T}return v?(v.toJD()-C)*M+h*A+p*S+g*L:T}u=2===u.length?(Number(u)+2e3-P)%100+P:Number(u),d-=1;var _=new Date(Date.UTC(2e3,d,f,h,p));return _.setUTCFullYear(u),_.getUTCMonth()!==d||_.getUTCDate()!==f?T:_.getTime()+g*L})("-9999"),y=v=n("9999-12-31 23:59:59.9999"),i=function(e,t){return n(e,t)!==T};var R=90*M,N=3*A,F=5*S;function H(e,t,r,n,a){if((t||r||n||a)&&(e+=" "+E(t,2)+":"+E(r,2),(n||a)&&(e+=":"+E(n,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+="."+E(a,i)}return e}d=function(e,t,r){if("number"!=typeof e||!(e>=m&&e<=y))return T;t||(t=0);var n,a,i,o,l,s,c=Math.floor(10*w(e+.05,1)),u=Math.round(e-c/10);if(j(r)){var d=Math.floor(u/M)+C,f=Math.floor(w(e,M));try{n=I.getComponentMethod("calendars","getCal")(r).fromJD(d).formatDate("yyyy-mm-dd")}catch(e){n=O("G%Y-%m-%d")(new Date(u))}if("-"===n.charAt(0))for(;n.length<11;)n="-0"+n.substr(1);else for(;n.length<10;)n="0"+n;a=t=m+M&&e<=y-M))return T;var t=Math.floor(10*w(e+.05,1)),r=new Date(Math.round(e-t/10));return H(x("%Y-%m-%d")(r),r.getHours(),r.getMinutes(),r.getSeconds(),10*r.getUTCMilliseconds()+t)},o=function(e,t,r){if(e===T)return t;if(l(e)||"number"==typeof e&&isFinite(e)){if(j(r))return _.error("JS Dates and milliseconds are incompatible with world calendars",e),t;if(!(e=h(+e))&&void 0!==t)return t}else if(!i(e,r))return _.error("unrecognized date",e),t;return e};var B=/%\d?f/g;function U(e,t,r,n){e=e.replace(B,(function(e){var r=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0"}));var a=new Date(Math.floor(t+.05));if(j(n))try{e=I.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return r(e)(a)}var q=[59,59.9,59.99,59.999,59.9999];p=function(e,t,r,n,a,i){if(a=j(a)&&a,!t)if("y"===r)t=i.year;else if("m"===r)t=i.month;else{if("d"!==r)return function(e,t){var r=w(e+.05,M),n=E(Math.floor(r/A),2)+":"+E(w(Math.floor(r/S),60),2);if("M"!==t){b(t)||(t=0);var a=(100+Math.min(w(e/L,60),q[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),n+=":"+a}return n}(e,r)+"\n"+U(i.dayMonthYear,e,n,a);t=i.dayMonth+"\n"+i.year}return U(t,e,n,a)};var V=3*M;f=function(e,t,r){r=j(r)&&r;var n=w(e,M);if(e=Math.round(e-n),r)try{var a=Math.round(e/M)+C,i=I.getComponentMethod("calendars","getCal")(r),o=i.fromJD(a);return t%12?i.add(o,t,"m"):i.add(o,t/12,"y"),(o.toJD()-C)*M+n}catch(t){_.error("invalid ms "+e+" in calendar "+r)}var l=new Date(e+V);return l.setUTCMonth(l.getUTCMonth()+t)+n-V},g=function(e,t){for(var r,n,a=0,i=0,o=0,l=0,s=j(t)&&I.getComponentMethod("calendars","getCal")(t),c=0;c1){var t=["LOG:"];for(e=0;e1){var a=[];for(e=0;e"),"long")}},a.warn=function(){var e;if(r.logging>0){var t=["WARN:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}},a.error=function(){var e;if(r.logging>0){var t=["ERROR:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}}})),s.register("24AkC",(function(e,t){"use strict";var r={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v2, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo and mapbox subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo and mapbox) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},n={};(function e(t,r){for(var n in t){var a=t[n];a.valType?r[n]=a.dflt:(r[n]||(r[n]={}),e(a,r[n]))}})(r,n),e.exports={configAttributes:r,dfltConfig:n}})),s.register("7gpnI",(function(e,t){"use strict";var r=s("4Wia9"),n=s("6qr5h"),a=[];e.exports=function(e,t){if(-1===a.indexOf(e)){a.push(e);var i=1e3;n(t)?i=t:"long"===t&&(i=3e3);var o=r.select("body").selectAll(".plotly-notifier").data([0]);o.enter().append("div").classed("plotly-notifier",!0),o.selectAll(".notifier-note").data(a).enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(e){var n=r.select(this);n.append("button").classed("notifier-close",!0).html("×").on("click",(function(){n.transition().call(l)}));for(var a=n.append("p"),o=e.split(//g),s=0;sg),(e=>g=e)),r(e.exports,"allCategories",(()=>h),(e=>h=e)),r(e.exports,"getModule",(()=>u),(e=>u=e)),r(e.exports,"traceLayoutAttributes",(()=>i),(e=>i=e)),r(e.exports,"localeRegistry",(()=>v),(e=>v=e)),r(e.exports,"collectableSubplotTypes",(()=>m),(e=>m=e)),r(e.exports,"hasTransform",(()=>y),(e=>y=e)),r(e.exports,"layoutArrayContainers",(()=>c),(e=>c=e)),r(e.exports,"traceIs",(()=>b),(e=>b=e)),r(e.exports,"register",(()=>p),(e=>p=e)),r(e.exports,"transformsRegistry",(()=>d),(e=>d=e)),r(e.exports,"getTransformIndices",(()=>a),(e=>a=e)),r(e.exports,"componentsRegistry",(()=>o),(e=>o=e)),r(e.exports,"subplotsRegistry",(()=>w),(e=>w=e)),r(e.exports,"getComponentMethod",(()=>_),(e=>_=e)),r(e.exports,"apiMethodRegistry",(()=>n),(e=>n=e)),r(e.exports,"modules",(()=>l),(e=>l=e)),r(e.exports,"call",(()=>f),(e=>f=e)),r(e.exports,"allTypes",(()=>x),(e=>x=e));var k=s("1NWKZ"),T=s("77Ix4"),M=s("5c3WY"),A=s("2bwwe"),S=s("44pv8").addStyleRule,L=s("1ZM4z"),C=s("5zAUi"),I=s("5axlk"),O=L.extendFlat,D=L.extendDeepAll;function z(e){var t=e.name,r=e.categories,n=e.meta;if(l[t])k.log("Type "+t+" already registered");else{w[e.basePlotModule.name]||function(e){var t=e.name;if(w[t])k.log("Plot type "+t+" already registered.");else for(var r in R(e),w[t]=e,o)H(r,e.name)}(e.basePlotModule);for(var a={},s=0;sl),(e=>l=e)),r(e.exports,"apply3DTransform",(()=>i),(e=>i=e)),r(e.exports,"transposeRagged",(()=>p),(e=>p=e)),r(e.exports,"dot",(()=>a),(e=>a=e)),r(e.exports,"translationMatrix",(()=>f),(e=>f=e)),r(e.exports,"rotationXYMatrix",(()=>c),(e=>c=e)),r(e.exports,"apply2DTransform",(()=>n),(e=>n=e)),r(e.exports,"init2dArray",(()=>d),(e=>d=e)),r(e.exports,"inverseTransformMatrix",(()=>h),(e=>h=e)),r(e.exports,"apply2DTransform2",(()=>u),(e=>u=e)),r(e.exports,"convertCssMatrix",(()=>o),(e=>o=e));var g=s("3hqxv");d=function(e,t){for(var r=new Array(e),n=0;ns),(e=>s=e)),r(e.exports,"lightFraction",(()=>l),(e=>l=e)),r(e.exports,"defaults",(()=>n),(e=>n=e)),r(e.exports,"borderLine",(()=>a),(e=>a=e)),r(e.exports,"background",(()=>o),(e=>o=e)),r(e.exports,"defaultLine",(()=>i),(e=>i=e)),n=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],i="#444",s="#eee",o="#fff",a="#BEC8D9",l=90.9090909090909})),s.register("2VcmX",(function(e,t){"use strict";var r=s("5wAu8").dash,n=s("1ZM4z").extendFlat;e.exports={newshape:{line:{color:{valType:"color",editType:"none",role:"info",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,role:"info",editType:"none",description:"Sets the line width (in px)."},dash:n({},r,{dflt:"solid",editType:"none"}),role:"info",editType:"none"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"none",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"none",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"none",description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"none",description:"Specifies whether new shapes are drawn below or above traces."},drawdirection:{valType:"enumerated",role:"info",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",editType:"none",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},editType:"none"},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",role:"style",editType:"none",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,role:"info",editType:"none",description:"Sets the opacity of the active shape."},editType:"none"}}})),s.register("5wAu8",(function(e,t){var n;r(e.exports,"dash",(()=>n),(e=>n=e)),n={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",role:"style",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")}})),s.register("5zrJR",(function(e,t){"use strict";e.exports=function(e){var t=e.editType;return{t:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}})),s.register("5LcuG",(function(e,t){var n,a,i,o,l,c,u;r(e.exports,"findBin",(()=>o),(e=>o=e)),r(e.exports,"sorterDes",(()=>i),(e=>i=e)),r(e.exports,"roundUp",(()=>l),(e=>l=e)),r(e.exports,"sort",(()=>n),(e=>n=e)),r(e.exports,"sorterAsc",(()=>a),(e=>a=e)),r(e.exports,"distinctVals",(()=>u),(e=>u=e)),r(e.exports,"findIndexOfMin",(()=>c),(e=>c=e));var d=s("6qr5h"),f=s("1NWKZ"),h=s("4Qyoa"),p=s("10TEj").BADNUM,g=1e-9;function v(e,t){return et}function x(e,t){return e>=t}o=function(e,t,r){if(d(t.start))return r?Math.ceil((e-t.start)/t.size-g)-1:Math.floor((e-t.start)/t.size+g);var n,a,i=0,o=t.length,l=0,s=o>1?(t[o-1]-t[0])/(o-1):1;for(a=s>=0?r?v:m:r?x:y,e+=s*g*(r?-1:1)*(s>=0?1:-1);i90&&f.log("Long binary search..."),i-1},a=function(e,t){return e-t},i=function(e,t){return t-e},u=function(e,t){var r,n=(t||{}).unitMinDiff,i=e.slice();for(i.sort(a),r=i.length-1;r>-1&&i[r]===p;r--);var o=1;n||(o=i[r]-i[0]||1);for(var l,s=o/(r||1)/1e4,c=[],u=0;u<=r;u++){var d=i[u],f=d-l;void 0===l?(c.push(d),l=d):f>s&&(o=Math.min(o,f),c.push(d),l=d)}return{vals:c,minDiff:o}},l=function(e,t,r){for(var n,a=0,i=t.length-1,o=0,l=r?0:1,s=r?1:0,c=r?Math.ceil:Math.floor;a0&&(n=1),r&&n)return e.sort(t)}return n?e:e.reverse()},c=function(e,t){t=t||h;for(var r,n=1/0,a=0;ac),(e=>c=e)),r(e.exports,"midRange",(()=>a),(e=>a=e)),r(e.exports,"aggNums",(()=>i),(e=>i=e)),r(e.exports,"len",(()=>n),(e=>n=e)),r(e.exports,"variance",(()=>d),(e=>d=e)),r(e.exports,"stdev",(()=>u),(e=>u=e)),r(e.exports,"interp",(()=>o),(e=>o=e)),r(e.exports,"median",(()=>l),(e=>l=e));var f=s("6qr5h"),h=s("1nElS").isArrayOrTypedArray;i=function(e,t,r,n){var a,o;if((!n||n>r.length)&&(n=r.length),f(t)||(t=!1),h(r[0])){for(o=new Array(n),a=0;ae.length-1)return e[e.length-1];var r=t%1;return r*e[Math.ceil(t)]+(1-r)*e[Math.floor(t)]}})),s.register("3TZVB",(function(e,t){"use strict";var r=s("5DnzT"),n=r.mod,a=r.modHalf,i=Math.PI,o=2*i;function l(e){return Math.abs(e[1]-e[0])>o-1e-14}function c(e,t){return a(t-e,o)}function u(e,t){if(l(t))return!0;var r,a;t[0](a=n(a,o))&&(a+=o);var i=n(e,o),s=i+o;return i>=r&&i<=a||s>=r&&s<=a}function d(e,t,r,n,a,s,c){a=a||0,s=s||0;var u,d,f,h,p,g=l([r,n]);function v(e,t){return[e*Math.cos(t)+a,s-e*Math.sin(t)]}g?(u=0,d=i,f=o):r=a&&e<=i)},pathArc:function(e,t,r,n,a){return d(null,e,t,r,n,a,0)},pathSector:function(e,t,r,n,a){return d(null,e,t,r,n,a,1)},pathAnnulus:function(e,t,r,n,a,i){return d(e,t,r,n,a,i,1)}}})),s.register("36x9Z",(function(e,t){var n,a,i,o,l,s;r(e.exports,"isTopAnchor",(()=>l),(e=>l=e)),r(e.exports,"isCenterAnchor",(()=>n),(e=>n=e)),r(e.exports,"isMiddleAnchor",(()=>a),(e=>a=e)),r(e.exports,"isBottomAnchor",(()=>s),(e=>s=e)),r(e.exports,"isLeftAnchor",(()=>i),(e=>i=e)),r(e.exports,"isRightAnchor",(()=>o),(e=>o=e)),i=function(e){return"left"===e.xanchor||"auto"===e.xanchor&&e.x<=1/3},n=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},o=function(e){return"right"===e.xanchor||"auto"===e.xanchor&&e.x>=2/3},l=function(e){return"top"===e.yanchor||"auto"===e.yanchor&&e.y>=2/3},a=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3},s=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3}})),s.register("6yIsr",(function(e,t){var n,a,i,o,l,c;r(e.exports,"getVisibleSegment",(()=>c),(e=>c=e)),r(e.exports,"findPointOnPath",(()=>n),(e=>n=e)),r(e.exports,"getTextLocation",(()=>a),(e=>a=e)),r(e.exports,"clearLocationCache",(()=>l),(e=>l=e)),r(e.exports,"segmentsIntersect",(()=>o),(e=>o=e)),r(e.exports,"segmentDistance",(()=>i),(e=>i=e));var u,d,f,h=s("5DnzT").mod;function p(e,t,r,n,a,i,o,l){var s=r-e,c=a-e,u=o-a,d=n-t,f=i-t,h=l-i,p=s*h-u*d;if(0===p)return null;var g=(c*h-u*f)/p,v=(c*d-s*f)/p;return v<0||v>1||g<0||g>1?null:{x:e+s*g,y:t+d*g}}function g(e,t,r,n,a){var i=n*e+a*t;if(i<0)return n*n+a*a;if(i>r){var o=n-e,l=a-t;return o*o+l*l}var s=n*t-a*e;return s*s/r}o=p,i=function(e,t,r,n,a,i,o,l){if(p(e,t,r,n,a,i,o,l))return 0;var s=r-e,c=n-t,u=o-a,d=l-i,f=s*s+c*c,h=u*u+d*d,v=Math.min(g(s,c,f,a-e,i-t),g(s,c,f,o-e,l-t),g(u,d,h,e-a,t-i),g(u,d,h,r-a,n-i));return Math.sqrt(v)},a=function(e,t,r,n){if(e===d&&n===f||(u={},d=e,f=n),u[r])return u[r];var a=e.getPointAtLength(h(r-n/2,t)),i=e.getPointAtLength(h(r+n/2,t)),o=Math.atan((i.y-a.y)/(i.x-a.x)),l=e.getPointAtLength(h(r,t)),s={x:(4*l.x+a.x+i.x)/6,y:(4*l.y+a.y+i.y)/6,theta:o};return u[r]=s,s},l=function(){d=null},c=function(e,t,r){var n,a,i=t.left,o=t.right,l=t.top,s=t.bottom,c=0,u=e.getTotalLength(),d=u;function f(t){var r=e.getPointAtLength(t);0===t?n=r:t===u&&(a=r);var c=r.xo?r.x-o:0,d=r.ys?r.y-s:0;return Math.sqrt(c*c+d*d)}for(var h=f(c);h;){if((c+=h+r)>d)return;h=f(c)}for(h=f(d);h;){if(c>(d-=h+r))return;h=f(d)}return{min:c,max:d,len:d-c,total:u,isClosed:0===c&&d===u&&Math.abs(n.x-a.x)<.1&&Math.abs(n.y-a.y)<.1}},n=function(e,t,r,n){for(var a,i,o,l=(n=n||{}).pathLength||e.getTotalLength(),s=n.tolerance||.001,c=n.iterationLimit||30,u=e.getPointAtLength(0)[r]>e.getPointAtLength(l)[r]?-1:1,d=0,f=0,h=l;d0?h=a:f=a,d++}return i}})),s.register("3RMbo",(function(e,t){var n,a,i;r(e.exports,"throttle",(()=>a),(e=>a=e)),r(e.exports,"done",(()=>i),(e=>i=e)),r(e.exports,"clear",(()=>n),(e=>n=e));var o={};function l(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}a=function(e,t,r){var n=o[e],a=Date.now();if(!n){for(var i in o)o[i].tsn.ts+t?s():n.timer=setTimeout((function(){s(),n.timer=null}),t)},i=function(e){var t=o[e];return t&&t.timer?new Promise((function(e){var r=t.onDone;t.onDone=function(){r&&r(),e(),t.onDone=null}})):Promise.resolve()},n=function(e){if(e)l(o[e]),delete o[e];else for(var t in o)n(t)}})),s.register("6Jehm",(function(e,t){"use strict";e.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener("resize",e._responsiveChartHandler),delete e._responsiveChartHandler)}})),s.register("72aYm",(function(e,t){"use strict";var r=s("6qr5h"),n=s("7hBrI");e.exports=function(e){var t,a;if("string"!=typeof(t=e&&e.hasOwnProperty("userAgent")?e.userAgent:("undefined"!=typeof navigator&&(a=navigator.userAgent),a&&a.headers&&"string"==typeof a.headers["user-agent"]&&(a=a.headers["user-agent"]),a)))return!0;var i=n({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!i)for(var o=t.split(" "),l=1;l-1;s--){var c=o[s];if("Version/"===c.substr(0,8)){var u=c.substr(8).split(".")[0];if(r(u)&&(u=+u),u>=13)return!0}}return i}})),s.register("7hBrI",(function(e,t){"use strict";e.exports=a,e.exports.isMobile=a,e.exports.default=a;var r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function a(e){e||(e={});var t=e.ua;if(t||"undefined"==typeof navigator||(t=navigator.userAgent),t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"!=typeof t)return!1;var a=e.tablet?n.test(t):r.test(t);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf("Macintosh")&&-1!==t.indexOf("Safari")&&(a=!0),a}})),s.register("4dVMu",(function(e,t){"use strict";var r=s("4Wia9");e.exports=function(e,t,n){var a=e.selectAll("g."+n.replace(/\s/g,".")).data(t,(function(e){return e[0].trace.uid}));a.exit().remove(),a.enter().append("g").attr("class",n),a.order();var i=e.classed("rangeplot")?"nodeRangePlot3":"node3";return a.each((function(e){e[0][i]=r.select(this)})),a}})),s.register("5Ifkm",(function(e,t){"use strict";var r=s("4Hxcc");e.exports=function(e,t){for(var n=e._context.locale,a=0;a<2;a++){for(var i=e._context.locales,o=0;o<2;o++){var l=(i[n]||{}).dictionary;if(l){var s=l[t];if(s)return s}i=r.localeRegistry}var c=n.split("-")[0];if(c===n)break;n=c}return t}})),s.register("7iNPF",(function(e,t){"use strict";e.exports=function(e){for(var t={},r=[],n=0,a=0;a1?(r*e+r*t)/r:e+t,a=String(n).length;if(a>16){var i=String(t).length;if(a>=String(e).length+i){var o=parseFloat(n).toPrecision(12);-1===o.indexOf("e+")&&(n=+o)}}return n}})),s.register("7HeyY",(function(e,t){"use strict";var r=s("6qr5h"),n=s("10TEj").BADNUM,a=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;e.exports=function(e){return"string"==typeof e&&(e=e.replace(a,"")),r(e)?Number(e):n}})),s.register("1Jk5J",(function(e,t){"use strict";e.exports=function(){"undefined"!=typeof MathJax&&"local"!==(window.PlotlyConfig||{}).MathJaxConfig&&(MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured())}})),s.register("3L5lN",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S,L,C;r(e.exports,"animate",(()=>u),(e=>u=e)),r(e.exports,"_guiRelayout",(()=>L),(e=>L=e)),r(e.exports,"redraw",(()=>M),(e=>M=e)),r(e.exports,"_storeDirectGUIEdit",(()=>a),(e=>a=e)),r(e.exports,"react",(()=>C),(e=>C=e)),r(e.exports,"addTraces",(()=>A),(e=>A=e)),r(e.exports,"_guiUpdate",(()=>o),(e=>o=e)),r(e.exports,"validateTemplate",(()=>x),(e=>x=e)),r(e.exports,"restyle",(()=>T),(e=>T=e)),r(e.exports,"moveTraces",(()=>l),(e=>l=e)),r(e.exports,"toImage",(()=>d),(e=>d=e)),r(e.exports,"update",(()=>h),(e=>h=e)),r(e.exports,"deleteTraces",(()=>k),(e=>k=e)),r(e.exports,"addFrames",(()=>_),(e=>_=e)),r(e.exports,"setPlotConfig",(()=>w),(e=>w=e)),r(e.exports,"_guiRestyle",(()=>S),(e=>S=e)),r(e.exports,"deleteFrames",(()=>c),(e=>c=e)),r(e.exports,"validate",(()=>v),(e=>v=e)),r(e.exports,"downloadImage",(()=>y),(e=>y=e)),r(e.exports,"newPlot",(()=>b),(e=>b=e)),r(e.exports,"makeTemplate",(()=>m),(e=>m=e)),r(e.exports,"plot",(()=>n),(e=>n=e)),r(e.exports,"purge",(()=>p),(e=>p=e)),r(e.exports,"prependTraces",(()=>f),(e=>f=e)),r(e.exports,"extendTraces",(()=>g),(e=>g=e)),r(e.exports,"relayout",(()=>i),(e=>i=e));var I=s("7GMb5");n=I.plot,b=I.newPlot,T=I.restyle,i=I.relayout,M=I.redraw,h=I.update,S=I._guiRestyle,L=I._guiRelayout,o=I._guiUpdate,a=I._storeDirectGUIEdit,C=I.react,g=I.extendTraces,f=I.prependTraces,A=I.addTraces,k=I.deleteTraces,l=I.moveTraces,p=I.purge,_=I.addFrames,c=I.deleteFrames,u=I.animate,w=I.setPlotConfig,d=s("28GEY"),v=s("1B45K"),y=s("4egvB");var O=s("2SHXB");m=O.makeTemplate,x=O.validateTemplate})),s.register("7GMb5",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;r(e.exports,"addTraces",(()=>i),(e=>i=e)),r(e.exports,"addFrames",(()=>m),(e=>m=e)),r(e.exports,"_guiRestyle",(()=>u),(e=>u=e)),r(e.exports,"_storeDirectGUIEdit",(()=>y),(e=>y=e)),r(e.exports,"deleteTraces",(()=>d),(e=>d=e)),r(e.exports,"_guiRelayout",(()=>c),(e=>c=e)),r(e.exports,"redraw",(()=>g),(e=>g=e)),r(e.exports,"_guiUpdate",(()=>x),(e=>x=e)),r(e.exports,"update",(()=>k),(e=>k=e)),r(e.exports,"animate",(()=>_),(e=>_=e)),r(e.exports,"setPlotConfig",(()=>p),(e=>p=e)),r(e.exports,"react",(()=>o),(e=>o=e)),r(e.exports,"newPlot",(()=>b),(e=>b=e)),r(e.exports,"deleteFrames",(()=>n),(e=>n=e)),r(e.exports,"restyle",(()=>l),(e=>l=e)),r(e.exports,"plot",(()=>a),(e=>a=e)),r(e.exports,"prependTraces",(()=>v),(e=>v=e)),r(e.exports,"relayout",(()=>T),(e=>T=e)),r(e.exports,"purge",(()=>w),(e=>w=e)),r(e.exports,"moveTraces",(()=>h),(e=>h=e)),r(e.exports,"extendTraces",(()=>f),(e=>f=e));var M=s("4Wia9"),A=s("6qr5h"),S=s("5aT4w"),L=s("1nIvY"),C=L.nestedProperty,I=s("5yBVq"),O=s("7mZiM"),D=s("4Hxcc"),z=s("4UWmi"),P=s("3BndS"),j=s("6G7Mf"),E=s("1nE8l"),R=s("7jar4"),N=s("3N5m7"),F=s("1Cu9q").initInteractions,H=s("ipXll"),B=s("49Q6h"),U=s("7KokU").clearSelect,q=s("24AkC").dfltConfig,V=s("6cUxK"),Y=s("70FGl"),G=s("4wnLB"),Z=s("1bSCj"),W=s("5Lafm").AX_NAME_PATTERN,X=0;function Q(e){var t=e._fullLayout;t._redrawFromAutoMarginCount?t._redrawFromAutoMarginCount--:e.emit("plotly_afterplot")}function J(e,t){try{e._fullLayout._paper.style("background",t)}catch(e){L.error(e)}}function K(e,t){J(e,N.combine(t,"white"))}function $(e,t){if(!e._context){e._context=L.extendDeep({},q);var r=M.select("base");e._context._baseUrl=r.size()&&r.attr("href")?window.location.href.split("#")[0]:""}var n,a,i,o=e._context;if(t){for(a=Object.keys(t),n=0;n=e.data.length||a<-e.data.length)throw new Error(r+" must be valid indices for gd.data.");if(t.indexOf(a,n+1)>-1||a>=0&&t.indexOf(-e.data.length+a)>-1||a<0&&t.indexOf(e.data.length+a)>-1)throw new Error("each index in "+r+" must be unique.")}}function re(e,t,r){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),te(e,t,"currentIndices"),void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&te(e,r,"newIndices"),void 0!==r&&t.length!==r.length)throw new Error("current and new indices must be of equal length.")}function ne(e,t,r,n,a){!function(e,t,r,n){var a=L.isPlainObject(n);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!L.isPlainObject(t))throw new Error("update must be a key:value object");if(void 0===r)throw new Error("indices must be an integer or array of integers");for(var i in te(e,r,"indices"),t){if(!Array.isArray(t[i])||t[i].length!==r.length)throw new Error("attribute "+i+" must be an array of length equal to indices array length");if(a&&(!(i in n)||!Array.isArray(n[i])||n[i].length!==t[i].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(e,t,r,n);for(var i=function(e,t,r,n){var a,i,o,l,s,c=L.isPlainObject(n),u=[];for(var d in Array.isArray(r)||(r=[r]),r=ee(r,e.data.length-1),t)for(var f=0;f-1?l(r,r.replace("titlefont","title.font")):r.indexOf("titleposition")>-1?l(r,r.replace("titleposition","title.position")):r.indexOf("titleside")>-1?l(r,r.replace("titleside","title.side")):r.indexOf("titleoffset")>-1&&l(r,r.replace("titleoffset","title.offset")):l(r,r.replace("title","title.text"));function l(t,r){e[r]=e[t],delete e[t]}}function de(e,t,r){if(e=L.getGraphDiv(e),Y.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);var n={};if("string"==typeof t)n[t]=r;else{if(!L.isPlainObject(t))return L.warn("Relayout fail.",t,r),Promise.reject();n=L.extendFlat({},t)}Object.keys(n).length&&(e.changed=!0);var a=me(e,n),i=a.flags;i.calc&&(e.calcdata=void 0);var o=[P.previousPromises];i.layoutReplot?o.push(G.layoutReplot):Object.keys(n).length&&(fe(e,i,a)||P.supplyDefaults(e),i.legend&&o.push(G.doLegend),i.layoutstyle&&o.push(G.layoutStyles),i.axrange&&he(o,a.rangesAltered),i.ticks&&o.push(G.doTicksRelayout),i.modebar&&o.push(G.doModeBar),i.camera&&o.push(G.doCamera),i.colorbars&&o.push(G.doColorBars),o.push(Q)),o.push(P.rehover,P.redrag),O.add(e,de,[e,a.undoit],de,[e,a.redoit]);var l=L.syncOrAsync(o,e);return l&&l.then||(l=Promise.resolve(e)),l.then((function(){return e.emit("plotly_relayout",a.eventData),e}))}function fe(e,t,r){var n=e._fullLayout;if(!t.axrange)return!1;for(var a in t)if("axrange"!==a&&t[a])return!1;for(var i in r.rangesAltered){var o=E.id2name(i),l=e.layout[o],s=n[o];if(s.autorange=l.autorange,l.range&&(s.range=l.range.slice()),s.cleanRange(),s._matchGroup)for(var c in s._matchGroup)if(c!==i){var u=n[E.id2name(c)];u.autorange=s.autorange,u.range=s.range.slice(),u._input.range=s.range.slice()}}return!0}function he(e,t){var r=t?function(e){var r=[],n=!0;for(var a in t){var i=E.getFromId(e,a);if(r.push(a),-1!==(i.ticklabelposition||"").indexOf("inside")&&i._anchorAxis&&r.push(i._anchorAxis._id),i._matchGroup)for(var o in i._matchGroup)t[o]||r.push(o);i.automargin&&(n=!1)}return E.draw(e,r,{skipTitle:n})}:function(e){return E.draw(e,"redraw")};e.push(U,G.doAutoRangeAndConstraints,r,G.drawData,G.finalDraw)}var pe=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,ge=/^[xyz]axis[0-9]*\.autorange$/,ve=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function me(e,t){var r,n,a,i=e.layout,o=e._fullLayout,l=o._guiEditing,s=le(o._preGUI,l),c=Object.keys(t),u=E.list(e),d=L.extendDeepAll({},t),f={};for(ue(t),c=Object.keys(t),n=0;n0&&"string"!=typeof T.parts[A];)A--;var S=T.parts[A],I=T.parts[A-1]+"."+S,O=T.parts.slice(0,A).join("."),P=C(e.layout,O).get(),j=C(o,O).get(),R=T.get();if(void 0!==M){m[k]=M,y[k]="reverse"===S?M:oe(R);var N=z.getLayoutValObject(o,T.parts);if(N&&N.impliedEdits&&null!==M)for(var F in N.impliedEdits)x(L.relativeAttr(k,F),N.impliedEdits[F]);if(-1!==["width","height"].indexOf(k))if(M){x("autosize",null);var H="height"===k?"width":"height";x(H,o[H])}else o[k]=e._initialAutoSize[k];else if("autosize"===k)x("width",M?null:o.width),x("height",M?null:o.height);else if(I.match(pe))w(I),C(o,O+"._inputRange").set(null);else if(I.match(ge)){w(I),C(o,O+"._inputRange").set(null);var B=C(o,O).get();B._inputDomain&&(B._input.domain=B._inputDomain.slice())}else I.match(ve)&&C(o,O+"._inputDomain").set(null);if("type"===S){b=P;var U="linear"===j.type&&"log"===M,q="log"===j.type&&"linear"===M;if(U||q){if(b&&b.range)if(j.autorange)U&&(b.range=b.range[1]>b.range[0]?[1,2]:[2,1]);else{var G=b.range[0],X=b.range[1];U?(G<=0&&X<=0&&x(O+".autorange",!0),G<=0?G=X/1e6:X<=0&&(X=G/1e6),x(O+".range[0]",Math.log(G)/Math.LN10),x(O+".range[1]",Math.log(X)/Math.LN10)):(x(O+".range[0]",Math.pow(10,G)),x(O+".range[1]",Math.pow(10,X)))}else x(O+".autorange",!0);Array.isArray(o._subplots.polar)&&o._subplots.polar.length&&o[T.parts[0]]&&"radialaxis"===T.parts[1]&&delete o[T.parts[0]]._subplot.viewInitial["radialaxis.range"],D.getComponentMethod("annotations","convertCoords")(e,j,M,x),D.getComponentMethod("images","convertCoords")(e,j,M,x)}else x(O+".autorange",!0),x(O+".range",null);C(o,O+"._inputRange").set(null)}else if(S.match(W)){var Q=C(o,k).get(),J=(M||{}).type;J&&"-"!==J||(J="linear"),D.getComponentMethod("annotations","convertCoords")(e,Q,J,x),D.getComponentMethod("images","convertCoords")(e,Q,J,x)}var K=V.containerArrayMatch(k);if(K){r=K.array,n=K.index;var $=K.property,ee=N||{editType:"calc"};""!==n&&""===$&&(V.isAddVal(M)?y[k]=null:V.isRemoveVal(M)?y[k]=(C(i,r).get()||[])[n]:L.warn("unrecognized full object value",t)),Z.update(v,ee),f[r]||(f[r]={});var te=f[r][n];te||(te=f[r][n]={}),te[$]=M,delete t[k]}else"reverse"===S?(P.range?P.range.reverse():(x(O+".autorange",!0),P.range=[1,0]),j.autorange?v.calc=!0:v.plot=!0):(o._has("scatter-like")&&o._has("regl")&&"dragmode"===k&&("lasso"===M||"select"===M)&&"lasso"!==R&&"select"!==R||o._has("gl2d")?v.plot=!0:N?Z.update(v,N):v.calc=!0,T.set(M))}}for(r in f)V.applyContainerArrayChanges(e,s(i,r),f[r],v,s)||(v.plot=!0);for(var re in _){var ne=(b=E.getFromId(e,re))&&b._constraintGroup;if(ne)for(var ae in v.calc=!0,ne)_[ae]||(E.getFromId(e,ae)._constraintShrinkable=!0)}return(ye(e)||t.height||t.width)&&(v.plot=!0),(v.plot||v.calc)&&(v.layoutReplot=!0),{flags:v,rangesAltered:_,undoit:y,redoit:m,eventData:d}}function ye(e){var t=e._fullLayout,r=t.width,n=t.height;return e.layout.autosize&&P.plotAutoSize(e,e.layout,t),t.width!==r||t.height!==n}function xe(e,t,r,n){if(e=L.getGraphDiv(e),Y.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);L.isPlainObject(t)||(t={}),L.isPlainObject(r)||(r={}),Object.keys(t).length&&(e.changed=!0),Object.keys(r).length&&(e.changed=!0);var i=Y.coerceTraceIndices(e,n),o=ce(e,L.extendFlat({},t),i),l=o.flags,s=me(e,L.extendFlat({},r)),c=s.flags;(l.calc||c.calc)&&(e.calcdata=void 0),l.clearAxisTypes&&Y.clearAxisTypes(e,i,r);var u=[];c.layoutReplot?u.push(G.layoutReplot):l.fullReplot?u.push(a):(u.push(P.previousPromises),fe(e,c,s)||P.supplyDefaults(e),l.style&&u.push(G.doTraceStyle),(l.colorbars||c.colorbars)&&u.push(G.doColorBars),c.legend&&u.push(G.doLegend),c.layoutstyle&&u.push(G.layoutStyles),c.axrange&&he(u,s.rangesAltered),c.ticks&&u.push(G.doTicksRelayout),c.modebar&&u.push(G.doModeBar),c.camera&&u.push(G.doCamera),u.push(Q)),u.push(P.rehover,P.redrag),O.add(e,xe,[e,o.undoit,s.undoit,o.traces],xe,[e,o.redoit,s.redoit,o.traces]);var d=L.syncOrAsync(u,e);return d&&d.then||(d=Promise.resolve(e)),d.then((function(){return e.emit("plotly_update",{data:o.eventData,layout:s.eventData}),e}))}function be(e){return function(t){t._fullLayout._guiEditing=!0;var r=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,r}}var _e=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],we=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function ke(e,t){for(var r=0;r1;)if(n.pop(),void 0!==(r=C(t,n.join(".")+".uirevision").get()))return r;return t.uirevision}function Me(e,t){for(var r=0;r=a.length?a[0]:a[e]:a}function l(e,t){var r=0;return function(){if(e&&++r===t)return e()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise((function(s,c){function u(){e.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var t=function(){n._animationRaf=window.requestAnimationFrame(t),Date.now()-n._lastFrameAt>n._timeToNext&&function(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var t=n._currentFrame=n._frameQueue.shift();if(t){var r=t.name?t.name.toString():null;e._fullLayout._currentFrame=r,n._lastFrameAt=Date.now(),n._timeToNext=t.frameOpts.duration,P.transition(e,t.frame.data,t.frame.layout,Y.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then((function(){t.onComplete&&t.onComplete()})),e.emit("plotly_animatingframe",{name:r,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}()};t()}var d,f,h=0;function p(e){return Array.isArray(a)?h>=a.length?e.transitionOpts=a[h]:e.transitionOpts=a[0]:e.transitionOpts=a,h++,e}var g=[],v=null==t,m=Array.isArray(t);if(v||m||!L.isPlainObject(t)){if(v||-1!==["string","number"].indexOf(typeof t))for(d=0;d0&&bb)&&_.push(f);g=_}}g.length>0?function(t){if(0!==t.length){for(var a=0;a=i.length?i[0]:i[g]:i),h=o(a);h.duration=Math.min(h.duration,f.duration);var p={frame:d,name:t[a].name,frameOpts:f,transitionOpts:h};a===t.length-1&&(p.onComplete=l(s,2),p.onInterrupt=c),n._frameQueue.push(p)}"immediate"===r.mode&&(n._lastFrameAt=-1/0),n._animationRaf||u()}var g}(g):(e.emit("plotly_animated"),s())}))},m=function(e,t,r){if(e=L.getGraphDiv(e),null==t)return Promise.resolve();if(!L.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var n,a,i,o,l=e._transitionData._frames,s=e._transitionData._frameHash;if(!Array.isArray(t))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+t);var c=l.length+2*t.length,u=[],d={};for(n=t.length-1;n>=0;n--)if(L.isPlainObject(t[n])){var f=t[n].name,h=(s[f]||d[f]||{}).name,p=t[n].name,g=s[h]||d[h];h&&p&&"number"==typeof p&&g&&X<5&&(X++,L.warn('addFrames: overwriting frame "'+(s[h]||d[h]).name+'" with a frame whose name of type "number" also equates to "'+h+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===X&&L.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),d[f]={name:f},u.push({frame:P.supplyFrameDefaults(t[n]),index:r&&void 0!==r[n]&&null!==r[n]?r[n]:c+n})}u.sort((function(e,t){return e.index>t.index?-1:e.index=0;n--){if("number"==typeof(a=u[n].frame).name&&L.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;s[a.name="frame "+e._transitionData._counter++];);if(s[a.name]){for(i=0;i=0;r--)n=t[r],i.push({type:"delete",index:n}),o.unshift({type:"insert",index:n,value:a[n]});var l=P.modifyFrames,s=P.modifyFrames,c=[e,o],u=[e,i];return O&&O.add(e,l,c,s,u),P.modifyFrames(e,i)},i=function e(t,r,n){t=L.getGraphDiv(t);var a,i,o=[],l=d,s=e,c=[t,o],u=[t,r];for(function(e,t,r){var n,a;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),n=0;n=0&&r=0&&r0&&o.length>a&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,l=u,console&&console.warn&&console.warn(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=d.bind(n);return a.listener=r,n.wrapFn=a,a}function h(e,t,r){var n=e._events;if(void 0===n)return[];var a=n[t];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(o=t[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)a(s,this,t);else{var c=s.length,u=g(s,c);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){o=r[i].listener,a=i;break}if(a<0)return this;0===a?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}})),s.register("7mZiM",(function(e,t){"use strict";var r=s("1nIvY"),n=s("24AkC").dfltConfig,a={add:function(e,t,r,a,i){var o,l;e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},l=e.undoQueue.index,e.autoplay?e.undoQueue.inSequence||(e.autoplay=!1):(!e.undoQueue.sequence||e.undoQueue.beginSequence?(o={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(l,e.undoQueue.queue.length-l,o),e.undoQueue.index+=1):o=e.undoQueue.queue[l-1],e.undoQueue.beginSequence=!1,o&&(o.undo.calls.unshift(t),o.undo.args.unshift(r),o.redo.calls.push(a),o.redo.args.push(i)),e.undoQueue.queue.length>n.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var t,r;if(e.framework&&e.framework.isPolar)e.framework.undo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;rh),(e=>h=e)),r(e.exports,"IS_LINKED_TO_ARRAY",(()=>n),(e=>n=e)),r(e.exports,"getLayoutValObject",(()=>o),(e=>o=e)),r(e.exports,"getTraceValObject",(()=>d),(e=>d=e)),r(e.exports,"isValObject",(()=>f),(e=>f=e)),r(e.exports,"IS_SUBPLOT_OBJ",(()=>a),(e=>a=e)),r(e.exports,"findArrayAttributes",(()=>i),(e=>i=e)),r(e.exports,"get",(()=>l),(e=>l=e)),r(e.exports,"DEPRECATED",(()=>c),(e=>c=e)),r(e.exports,"crawl",(()=>u),(e=>u=e));var p=s("4Hxcc"),g=s("1nIvY"),v=s("5zAUi"),m=s("5axlk"),y=s("6zb5J"),x=s("69Oag"),b=s("24AkC").configAttributes,_=s("3EgrR"),w=s("2QmIR"),k=s("1bSCj"),T=g.extendFlat,M=g.extendDeepAll,A=g.isPlainObject,S=g.isArrayOrTypedArray,L=g.nestedProperty,C=g.valObjectMeta,I="_isSubplotObj",O="_isLinkedToArray",D="_deprecated",z=[I,O,"_arrayAttrRegexps",D];function P(e,t,r){if(!e)return!1;if(e._isLinkedToArray)if(j(t[r]))r++;else if(r=i.length)return!1;if(2===e.dimensions){if(r++,t.length===r)return e;var o=t[r];if(!j(o))return!1;e=i[a][o]}else e=i[a]}else e=i}}return e}function j(e){return e===Math.round(e)&&e>=0}function E(){var e,t,r,n={};for(e in M(n,m),p.subplotsRegistry)if((t=p.subplotsRegistry[e]).layoutAttributes)if(Array.isArray(t.attr))for(var a=0;a=o.length)return!1;n=(r=(p.transformsRegistry[o[l].type]||{}).attributes)&&r[t[2]],i=3}else if("area"===e.type)n=_[a];else{var s=e._module;if(s||(s=(p.modules[e.type||v.type.dflt]||{})._module),!s)return!1;if(!(n=(r=s.attributes)&&r[a])){var c=s.basePlotModule;c&&c.attributes&&(n=c.attributes[a])}n||(n=v[a])}return P(n,t,i)},o=function(e,t){return P(function(e,t){var r,n,a,i,o=e._basePlotModules;if(o){var l;for(r=0;r* on the "+e+" axis.","Special values in the form of *M* could be used to declare","the number of months. In this case `n` must be a positive integer."].join(" ")}}function f(e){return{valType:"any",role:"info",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the base for period positioning in milliseconds or date string on the "+e+" axis.","When `"+e+"period` is round number of weeks,","the `"+e+"period0` by default would be on a Sunday i.e. 2000-01-02,","otherwise it would be at 2000-01-01."].join(" ")}}function h(e){return{valType:"enumerated",values:["start","middle","end"],dflt:"middle",role:"style",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the alignment of data points on the "+e+" axis."].join(" ")}}e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the x coordinates."},x0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `x`.","Builds a linear space of x coordinates.","Use with `dx`","where `x0` is the starting coordinate and `dx` the step."].join(" ")},dx:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the x coordinate step.","See `x0` for more info."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the y coordinates."},y0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `y`.","Builds a linear space of y coordinates.","Use with `dy`","where `y0` is the starting coordinate and `dy` the step."].join(" ")},dy:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the y coordinate step.","See `y0` for more info."].join(" ")},xperiod:d("x"),yperiod:d("y"),xperiod0:f("x0"),yperiod0:f("y0"),xperiodalignment:h("x"),yperiodalignment:h("y"),stackgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several scatter traces (on the same subplot) to the same","stackgroup in order to add their y values (or their x values if","`orientation` is *h*). If blank or omitted this trace will not be","stacked. Stacking also turns `fill` on by default, using *tonexty*","(*tonextx*) if `orientation` is *h* (*v*) and sets the default","`mode` to *lines* irrespective of point count.","You can only stack on a numeric (linear or log) axis.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`orientation` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`. Sets the","stacking direction. With *v* (*h*), the y (x) values of subsequent","traces are added. Also affects the default value of `fill`."].join(" ")},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`groupnorm` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Sets the normalization for the sum of this `stackgroup`.","With *fraction*, the value of each trace at each location is","divided by the sum of all trace values at that location.","*percent* is the same but multiplied by 100 to show percentages.","If there are multiple subplots, or multiple `stackgroup`s on one","subplot, each will be normalized within its own set."].join(" ")},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`stackgaps` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Determines how we handle locations at which other traces in this","group have data but this one does not.","With *infer zero* we insert a zero at these locations.","With *interpolate* we linearly interpolate between existing","values, and extrapolate a constant beyond the existing values."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},texttemplate:r({},{}),hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],role:"info",editType:"calc",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover.","If there are less than "+c.PTS_LINESONLY+" points","and the trace is not stacked","then the default is *lines+markers*. Otherwise, *lines*."].join(" ")},hoveron:{valType:"flaglist",flags:["points","fills"],role:"info",editType:"style",description:["Do the hover effects highlight individual points (markers or","line points) or do they highlight filled regions?","If the fill is *toself* or *tonext* and there are no markers","or text, then the default is *fills*, otherwise it is *points*."].join(" ")},hovertemplate:n({},{keys:c.eventDataKeys}),line:{color:{valType:"color",role:"style",editType:"style",anim:!0,description:"Sets the line color."},width:{valType:"number",min:0,dflt:2,role:"style",editType:"style",anim:!0,description:"Sets the line width (in px)."},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",role:"style",editType:"plot",description:["Determines the line shape.","With *spline* the lines are drawn using spline interpolation.","The other available values correspond to step-wise line shapes."].join(" ")},smoothing:{valType:"number",min:0,max:1.3,dflt:1,role:"style",editType:"plot",description:["Has an effect only if `shape` is set to *spline*","Sets the amount of smoothing.","*0* corresponds to no smoothing (equivalent to a *linear* shape)."].join(" ")},dash:u({},o,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Simplifies lines by removing nearly-collinear points. When transitioning","lines, it may be desirable to disable this so that the number of points","along the resulting SVG path is unaffected."].join(" ")},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the provided data arrays are connected."].join(" ")},cliponaxis:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines whether or not markers and text nodes","are clipped about the subplot axes.","To show markers and text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],role:"style",editType:"calc",description:["Sets the area to fill with a solid color.","Defaults to *none* unless this trace is stacked, then it gets","*tonexty* (*tonextx*) if `orientation` is *v* (*h*)","Use with `fillcolor` if not *none*.","*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.","*tonextx* and *tonexty* fill between the endpoints of this","trace and the endpoints of the trace before it, connecting those","endpoints with straight lines (to make a stacked area graph);","if there is no trace before it, they behave like *tozerox* and","*tozeroy*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},fillcolor:{valType:"color",role:"style",editType:"style",anim:!0,description:["Sets the fill color.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},marker:u({symbol:{valType:"enumerated",values:l.symbolList,dflt:"circle",arrayOk:!0,role:"style",editType:"style",description:["Sets the marker symbol type.","Adding 100 is equivalent to appending *-open* to a symbol name.","Adding 200 is equivalent to appending *-dot* to a symbol name.","Adding 300 is equivalent to appending *-open-dot*","or *dot-open* to a symbol name."].join(" ")},opacity:{valType:"number",min:0,max:1,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the marker opacity."},size:{valType:"number",min:0,dflt:6,arrayOk:!0,role:"style",editType:"calc",anim:!0,description:"Sets the marker size (in px)."},maxdisplayed:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:["Sets a maximum number of points to be drawn on the graph.","*0* corresponds to no limit."].join(" ")},sizeref:{valType:"number",dflt:1,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the scale factor used to determine the rendered size of","marker points. Use with `sizemin` and `sizemode`."].join(" ")},sizemin:{valType:"number",min:0,dflt:0,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the minimum size (in px) of the rendered marker points."].join(" ")},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",role:"info",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the rule for which the data in `size` is converted","to pixels."].join(" ")},line:u({width:{valType:"number",min:0,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the width (in px) of the lines bounding the marker points."},editType:"calc"},a("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",role:"style",editType:"calc",description:["Sets the type of gradient used to fill the markers"].join(" ")},color:{valType:"color",arrayOk:!0,role:"style",editType:"calc",description:["Sets the final color of the gradient fill:","the center color for radial, the right for horizontal,","or the bottom for vertical."].join(" ")},editType:"calc"},editType:"calc"},a("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of selected points."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of selected points."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of selected points."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of selected points."},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of unselected points, applied only when a selection exists."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of unselected points, applied only when a selection exists."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of unselected points, applied only when a selection exists."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of unselected points, applied only when a selection exists."},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,role:"style",editType:"calc",description:["Sets the positions of the `text` elements","with respects to the (x,y) coordinates."].join(" ")},textfont:i({editType:"calc",colorEditType:"style",arrayOk:!0,description:"Sets the text font."}),r:{valType:"data_array",editType:"calc",description:["r coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the radial coordinates","for legacy polar chart only."].join("")},t:{valType:"data_array",editType:"calc",description:["t coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the angular coordinates","for legacy polar chart only."].join("")}}})),s.register("61PQn",(function(e,t){var n,a;r(e.exports,"hovertemplateAttrs",(()=>a),(e=>a=e)),r(e.exports,"texttemplateAttrs",(()=>n),(e=>n=e));var i=['Variables are inserted using %{variable}, for example "y: %{y}".','Numbers are formatted using d3-format\'s syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".',s("01iJJ").FORMAT_LINK,"for details on the formatting syntax.",'Dates are formatted using d3-time-format\'s syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".',s("01iJJ").DATE_FORMAT_LINK,"for details on the date formatting syntax."].join(" ");function o(e){var t=e.description?" "+e.description:"",r=e.keys||[];if(r.length>0){for(var n=[],a=0;a` is displayed in the secondary box, for example "{fullData.name}".',"To hide the secondary box completely, use an empty tag ``."].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n},n=function(e,t){e=e||{};var r=o(t=t||{}),n={valType:"string",role:"info",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",i,"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n}})),s.register("01iJJ",(function(e,t){"use strict";e.exports={FORMAT_LINK:"https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format#locale_format"}})),s.register("3Lcu9",(function(e,t){"use strict";var r=s("37lMN"),n=s("3ImU3").counter,a=s("5Tt6Z").scales,i=Object.keys(a);function o(e){return"`"+e+"`"}e.exports=function(e,t){e=e||"";var l,s,c=(t=t||{}).cLetter||"c",u="onlyIfNumerical"in t?t.onlyIfNumerical:Boolean(e),d="noScale"in t?t.noScale:"marker.line"===e,f="showScaleDflt"in t?t.showScaleDflt:"z"===c,h="string"==typeof t.colorscaleDflt?a[t.colorscaleDflt]:null,p=t.editTypeOverride||"",g=e?e+".":"";"colorAttr"in t?(l=t.colorAttr,s=t.colorAttr):s="in "+o(g+(l="z"));var v=u?" Has an effect only if "+s+"is set to a numerical array.":"",m=c+"auto",y=c+"min",x=c+"max",b=c+"mid",_=o(g+m),w=o(g+y),k=o(g+x),T=w+" and "+k,M={};M[y]=M[x]=void 0;var A={};A[m]=!1;var S={};return"color"===l&&(S.color={valType:"color",arrayOk:!0,role:"style",editType:p||"style",description:["Sets the",e,"color."," It accepts either a specific color"," or an array of numbers that are mapped to the colorscale"," relative to the max and min values of the array or relative to"," "+T+" if set."].join("")},t.anim&&(S.color.anim=!0)),S[m]={valType:"boolean",role:"info",dflt:!0,editType:"calc",impliedEdits:M,description:["Determines whether or not the color domain is computed"," with respect to the input data (here "+s+") or the bounds set in"," ",T," ",v," Defaults to `false` when ",T," are set by the user."].join("")},S[y]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:A,description:["Sets the lower bound of the color domain.",v," Value should have the same units as ",s," and if set, ",k," must be set as well."].join("")},S[x]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:A,description:["Sets the upper bound of the color domain.",v," Value should have the same units as ",s," and if set, ",w," must be set as well."].join("")},S[b]={valType:"number",role:"info",dflt:null,editType:"calc",impliedEdits:M,description:["Sets the mid-point of the color domain by scaling ",w," and/or ",k," to be equidistant to this point.",v," Value should have the same units as ",s,". ","Has no effect when ",_," is `false`."].join("")},S.colorscale={valType:"colorscale",role:"style",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1},description:["Sets the colorscale.",v," The colorscale must be an array containing"," arrays mapping a normalized value to an"," rgb, rgba, hex, hsl, hsv, or named color string."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`."," To control the bounds of the colorscale in color space,"," use",T,"."," Alternatively, `colorscale` may be a palette name string"," of the following list: "+i+"."].join("")},S.autocolorscale={valType:"boolean",role:"style",dflt:!1!==t.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0},description:["Determines whether the colorscale is a default palette (`autocolorscale: true`)"," or the palette determined by ",o(g+"colorscale"),".",v," In case `colorscale` is unspecified or `autocolorscale` is true, the default "," palette will be chosen according to whether numbers in the `color` array are"," all positive, all negative or mixed."].join("")},S.reversescale={valType:"boolean",role:"style",dflt:!1,editType:"plot",description:["Reverses the color mapping if true.",v," If true, ",w," will correspond to the last color"," in the array and ",k," will correspond to the first color."].join("")},d||(S.showscale={valType:"boolean",role:"info",dflt:f,editType:"calc",description:["Determines whether or not a colorbar is displayed for this trace.",v].join("")},S.colorbar=r),t.noColorAxis||(S.coloraxis={valType:"subplotid",role:"info",regex:n("coloraxis"),dflt:null,editType:"calc",description:["Sets a reference to a shared color axis.","References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc.","Settings for these shared color axes are set in the layout, under","`layout.coloraxis`, `layout.coloraxis2`, etc.","Note that multiple color scales can be linked to the same color axis."].join(" ")}),S}})),s.register("37lMN",(function(e,t){"use strict";var r=s("1bJQq"),n=s("10Nlb"),a=s("1ZM4z").extendFlat,i=s("1bSCj").overrideAll;e.exports=i({thicknessmode:{valType:"enumerated",values:["fraction","pixels"],role:"style",dflt:"pixels",description:["Determines whether this color bar's thickness","(i.e. the measure in the constant color direction)","is set in units of plot *fraction* or in *pixels*.","Use `thickness` to set the value."].join(" ")},thickness:{valType:"number",role:"style",min:0,dflt:30,description:["Sets the thickness of the color bar","This measure excludes the size of the padding, ticks and labels."].join(" ")},lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this color bar's length","(i.e. the measure in the color variation direction)","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the color bar","This measure excludes the padding of both ends.","That is, the color bar length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",dflt:1.02,min:-2,max:3,role:"style",description:["Sets the x position of the color bar (in plot fraction)."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"style",description:["Sets this color bar's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the color bar."].join(" ")},xpad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the x direction."},y:{valType:"number",role:"style",dflt:.5,min:-2,max:3,description:["Sets the y position of the color bar (in plot fraction)."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],role:"style",dflt:"middle",description:["Sets this color bar's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the color bar."].join(" ")},ypad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the y direction."},outlinecolor:r.linecolor,outlinewidth:r.linewidth,bordercolor:r.linecolor,borderwidth:{valType:"number",role:"style",min:0,dflt:0,description:["Sets the width (in px) or the border enclosing this color bar."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:"rgba(0,0,0,0)",description:"Sets the color of padded area."},tickmode:r.tickmode,nticks:r.nticks,tick0:r.tick0,dtick:r.dtick,tickvals:r.tickvals,ticktext:r.ticktext,ticks:a({},r.ticks,{dflt:""}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside bottom","inside bottom"],dflt:"outside",role:"info",description:["Determines where tick labels are drawn."].join(" ")},ticklen:r.ticklen,tickwidth:r.tickwidth,tickcolor:r.tickcolor,showticklabels:r.showticklabels,tickfont:n({description:"Sets the color bar's tick label font"}),tickangle:r.tickangle,tickformat:r.tickformat,tickformatstops:r.tickformatstops,tickprefix:r.tickprefix,showtickprefix:r.showtickprefix,ticksuffix:r.ticksuffix,showticksuffix:r.showticksuffix,separatethousands:r.separatethousands,exponentformat:r.exponentformat,minexponent:r.minexponent,showexponent:r.showexponent,title:{text:{valType:"string",role:"info",description:["Sets the title of the color bar.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({description:["Sets this color bar's title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),side:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:["Determines the location of color bar's title","with respect to the color bar.","Note that the title's location used to be set","by the now deprecated `titleside` attribute."].join(" ")}},_deprecated:{title:{valType:"string",role:"info",description:["Deprecated in favor of color bar's `title.text`.","Note that value of color bar's `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:n({description:"Deprecated in favor of color bar's `title.font`."}),titleside:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:"Deprecated in favor of color bar's `title.side`."}}},"colorbars","from-root")})),s.register("1bJQq",(function(e,t){"use strict";var r=s("10Nlb"),n=s("4f6io"),a=s("5wAu8").dash,i=s("1ZM4z").extendFlat,o=s("1IyjK").templatedArray,l=s("01iJJ").FORMAT_LINK,c=s("01iJJ").DATE_FORMAT_LINK,u=s("10TEj").ONEDAY,d=s("5Lafm"),f=d.HOUR_PATTERN,h=d.WEEKDAY_PATTERN;e.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",role:"info",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:r({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",role:"info",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",role:"info",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","Defaults to layout.autotypenumbers."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"info",editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"info",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},scaleanchor:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range*, or by decreasing the *domain*.","Default is *domain* for axes containing image traces, *range* otherwise."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},rangebreaks:o("rangebreak",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether this axis rangebreak is enabled or disabled.","Please note that `rangebreaks` only work for *date* axis type."].join(" ")},bounds:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc",description:["Sets the lower and upper bounds of this axis rangebreak.","Can be used with `pattern`."].join(" ")},pattern:{valType:"enumerated",values:[h,f,""],role:"info",editType:"calc",description:["Determines a pattern on the time line that generates breaks.","If *"+h+"* - days of the week in English e.g. 'Sunday' or `sun`","(matching is case-insensitive and considers only the first three characters),","as well as Sunday-based integers between 0 and 6.","If *"+f+"* - hour (24-hour clock) as decimal numbers between 0 and 24.","for more info.","Examples:","- { pattern: '"+h+"', bounds: [6, 1] }"," or simply { bounds: ['sat', 'mon'] }"," breaks from Saturday to Monday (i.e. skips the weekends).","- { pattern: '"+f+"', bounds: [17, 8] }"," breaks from 5pm to 8am (i.e. skips non-work hours)."].join(" ")},values:{valType:"info_array",freeLength:!0,role:"info",editType:"calc",items:{valType:"any",editType:"calc"},description:["Sets the coordinate values corresponding to the rangebreaks.","An alternative to `bounds`.","Use `dvalue` to set the size of the values along the axis."].join(" ")},dvalue:{valType:"number",role:"info",editType:"calc",min:0,dflt:u,description:["Sets the size of each `values` item.","The default is one day in milliseconds."].join(" ")},editType:"calc"}),tickmode:{valType:"enumerated",values:["auto","linear","array"],role:"info",editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tick0:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],role:"style",editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],role:"info",dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",role:"info",editType:"ticks",description:["Determines where tick labels are drawn with respect to their","corresponding ticks and grid lines.","Only has an effect for axes of `type` *date*","When set to *period*, tick labels are drawn in the middle of the period","between ticks."].join(" ")},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",role:"info",editType:"calc",description:["Determines where tick labels are drawn with respect to the axis","Please note that","top or bottom has no effect on x axes or when `ticklabelmode` is set to *period*.","Similarly","left or right has no effect on y axes or when `ticklabelmode` is set to *period*.","Has no effect on *multicategory* axes or when `tickson` is set to *boundaries*.","When used on axes linked by `matches` or `scaleanchor`,","no extra padding for inside labels would be added by autorange,","so that the scales could match."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,role:"style",editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,role:"style",editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,role:"style",editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,role:"style",editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:i({},a,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],role:"style",dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"data",role:"style",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:r({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,role:"style",editType:"ticks",description:["Hide SI prefix for 10^n if |n| is below this number.","This only has an effect when `tickformat` is *SI* or *B*."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",l,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:o("tickformatstop",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",role:"info",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",l,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:n.lightLine,role:"style",editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",role:"info",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",role:"info",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",role:"info",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",role:"info",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:r({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}})),s.register("1IyjK",(function(e,t){var n,a,i,o,l,c;r(e.exports,"arrayEditor",(()=>c),(e=>c=e)),r(e.exports,"templatedArray",(()=>i),(e=>i=e)),r(e.exports,"traceTemplater",(()=>n),(e=>n=e)),r(e.exports,"arrayDefaultKey",(()=>a),(e=>a=e)),r(e.exports,"newContainer",(()=>l),(e=>l=e)),r(e.exports,"arrayTemplater",(()=>o),(e=>o=e));var u=s("1nIvY"),d=s("5zAUi"),f={name:{valType:"string",role:"style",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function h(e){return e&&"string"==typeof e}function p(e){var t=e.length-1;return"s"!==e.charAt(t)&&u.warn("bad argument to arrayDefaultKey: "+e),e.substr(0,e.length-1)+"defaults"}f.templateitemname={valType:"string",role:"info",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},i=function(e,t){return t._isLinkedToArray=e,t.name=f.name,t.templateitemname=f.templateitemname,t},n=function(e){var t,r,n={};for(t in e)r=e[t],Array.isArray(r)&&r.length&&(n[t]=0);return{newTrace:function(a){var i={type:t=u.coerce(a,{},d,"type"),_template:null};if(t in n){r=e[t];var o=n[t]%r.length;n[t]++,i._template=r[o]}return i}}},l=function(e,t,r){var n=e._template,a=n&&(n[t]||r&&n[r]);return u.isPlainObject(a)||(a=null),e[t]={_template:a}},o=function(e,t,r){var n=e._template,a=n&&n[p(t)],i=n&&n[t];Array.isArray(i)&&i.length||(i=[]);var o={};return{newItem:function(e){var t={name:e.name,_input:e},n=t.templateitemname=e.templateitemname;if(!h(n))return t._template=a,t;for(var l=0;l=n&&(r._input||{})._templateitemname;i&&(a=n);var o,l=t+"["+a+"]";function s(){o={},i&&(o[l]={},o[l].templateitemname=i)}function c(e,t){i?u.nestedProperty(o[l],e).set(t):o[l+"."+e]=t}function d(){var e=o;return s(),e}return s(),{modifyBase:function(e,t){o[e]=t},modifyItem:c,getUpdateObj:d,applyUpdate:function(t,r){t&&c(t,r);var n=d();for(var a in n)u.nestedProperty(e,a).set(n[a])}}}})),s.register("5Lafm",(function(e,t){"use strict";var r=s("3ImU3").counter;e.exports={idRegex:{x:r("x","( domain)?"),y:r("y","( domain)?")},attrRegex:r("[xy]axis"),xAxisMatch:r("xaxis"),yAxisMatch:r("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}})),s.register("1bSCj",(function(e,t){"use strict";var r=s("1nIvY"),n=r.extendFlat,a=r.isPlainObject,i={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},o={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},l=i.flags.slice().concat(["fullReplot"]),c=o.flags.slice().concat("layoutReplot");function u(e){for(var t={},r=0;r=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}y.symbolNumber=function(e){if(n(e))e=+e;else if("string"==typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),(e=y.symbolNames.indexOf(e))>=0&&(e+=t)}return e%100>=b||e>=400?0:Math.floor(Math.max(e,0))};var w={x1:1,x2:0,y1:0,y2:0},k={x1:0,x2:0,y1:1,y2:0},T=r.format("~.1f"),M={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:w},horizontalreversed:{node:"linearGradient",attrs:w,reversed:!0},vertical:{node:"linearGradient",attrs:k},verticalreversed:{node:"linearGradient",attrs:k,reversed:!0}};y.gradient=function(e,t,n,i,l,s){for(var u=l.length,d=M[i],f=new Array(u),h=0;h"+m(e);p._gradientUrlQueryParts[y]=1},y.initGradients=function(e){var t=e._fullLayout;c.ensureSingle(t._defs,"g","gradients").selectAll("linearGradient,radialGradient").remove(),t._gradientUrlQueryParts={}},y.pointStyle=function(e,t,n){if(e.size()){var a=y.makePointStyleFns(t);e.each((function(e){y.singlePointStyle(e,r.select(this),t,a,n)}))}},y.singlePointStyle=function(e,t,r,n,a){var i=r.marker,l=i.line;if(t.style("opacity",n.selectedOpacityFn?n.selectedOpacityFn(e):void 0===e.mo?i.opacity:e.mo),n.ms2mrc){var s;s="various"===e.ms||"various"===i.size?3:n.ms2mrc(e.ms),e.mrc=s,n.selectedSizeFn&&(s=e.mrc=n.selectedSizeFn(e));var u=y.symbolNumber(e.mx||i.symbol)||0;e.om=u%200>=100,t.attr("d",_(u,s))}var d,f,h,p=!1;if(e.so)h=l.outlierwidth,f=l.outliercolor,d=i.outliercolor;else{var g=(l||{}).width;h=(e.mlw+1||g+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,f="mlc"in e?e.mlcc=n.lineScale(e.mlc):c.isArrayOrTypedArray(l.color)?o.defaultLine:l.color,c.isArrayOrTypedArray(i.color)&&(d=o.defaultLine,p=!0),d="mc"in e?e.mcc=n.markerScale(e.mc):i.color||"rgba(0,0,0,0)",n.selectedColorFn&&(d=n.selectedColorFn(e))}if(e.om)t.call(o.stroke,d).style({"stroke-width":(h||1)+"px",fill:"none"});else{t.style("stroke-width",(e.isBlank?0:h)+"px");var v=i.gradient,m=e.mgt;if(m?p=!0:m=v&&v.type,Array.isArray(m)&&(m=m[0],M[m]||(m=0)),m&&"none"!==m){var x=e.mgc;x?p=!0:x=v.color;var b=r.uid;p&&(b+="-"+e.i),y.gradient(t,a,b,m,[[0,x],[1,d]],"fill")}else o.fill(t,d);h&&o.stroke(t,f)}},y.makePointStyleFns=function(e){var t={},r=e.marker;return t.markerScale=y.tryColorscale(r,""),t.lineScale=y.tryColorscale(r,"line"),i.traceIs(e,"symbols")&&(t.ms2mrc=g.isBubble(e)?v(e):function(){return(r.size||6)/2}),e.selectedpoints&&c.extendFlat(t,y.makeSelectedPointStyleFns(e)),t},y.makeSelectedPointStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.marker||{},o=r.marker||{},l=n.marker||{},s=a.opacity,u=o.opacity,d=l.opacity,f=void 0!==u,h=void 0!==d;(c.isArrayOrTypedArray(s)||f||h)&&(t.selectedOpacityFn=function(e){var t=void 0===e.mo?a.opacity:e.mo;return e.selected?f?u:t:h?d:p*t});var g=a.color,v=o.color,m=l.color;(v||m)&&(t.selectedColorFn=function(e){var t=e.mcc||g;return e.selected?v||t:m||t});var y=a.size,x=o.size,b=l.size,_=void 0!==x,w=void 0!==b;return i.traceIs(e,"symbols")&&(_||w)&&(t.selectedSizeFn=function(e){var t=e.mrc||y/2;return e.selected?_?x/2:t:w?b/2:t}),t},y.makeSelectedTextStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.textfont||{},i=r.textfont||{},l=n.textfont||{},s=a.color,c=i.color,u=l.color;return t.selectedTextColorFn=function(e){var t=e.tc||s;return e.selected?c||t:u||(c?t:o.addOpacity(t,p))},t},y.selectedPointStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedPointStyleFns(t),a=t.marker||{},i=[];n.selectedOpacityFn&&i.push((function(e,t){e.style("opacity",n.selectedOpacityFn(t))})),n.selectedColorFn&&i.push((function(e,t){o.fill(e,n.selectedColorFn(t))})),n.selectedSizeFn&&i.push((function(e,t){var r=t.mx||a.symbol||0,i=n.selectedSizeFn(t);e.attr("d",_(y.symbolNumber(r),i)),t.mrc2=i})),i.length&&e.each((function(e){for(var t=r.select(this),n=0;n0?r:0}function C(e,t,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=n[0]-t[0],s=n[1]-t[1],c=Math.pow(i*i+o*o,.25),u=Math.pow(l*l+s*s,.25),d=(u*u*i-c*c*l)*a,f=(u*u*o-c*c*s)*a,h=3*u*(c+u),p=3*c*(c+u);return[[r.round(t[0]+(h&&d/h),2),r.round(t[1]+(h&&f/h),2)],[r.round(t[0]-(p&&d/p),2),r.round(t[1]-(p&&f/p),2)]]}y.textPointStyle=function(e,t,n){if(e.size()){var a;if(t.selectedpoints){var i=y.makeSelectedTextStyleFns(t);a=i.selectedTextColorFn}var o=t.texttemplate,l=n._fullLayout;e.each((function(e){var i=r.select(this),s=o?c.extractOption(e,t,"txt","texttemplate"):c.extractOption(e,t,"tx","text");if(s||0===s){if(o){var u=t._module.formatLabels?t._module.formatLabels(e,t,l):{},f={};m(f,t,e.i);var h=t._meta||{};s=c.texttemplateString(s,u,l._d3locale,f,e,h)}var p=e.tp||t.textposition,g=L(e,t),v=a?a(e):e.tc||t.textfont.color;i.call(y.font,e.tf||t.textfont.family,g,v).text(s).call(d.convertToTspans,n).call(S,p,g,e.mrc)}else i.remove()}))}},y.selectedTextStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedTextStyleFns(t);e.each((function(e){var a=r.select(this),i=n.selectedTextColorFn(e),l=e.tp||t.textposition,s=L(e,t);o.fill(a,i),S(a,l,s,e.mrc2||e.mrc)}))}},y.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var r,n="M"+e[0],a=[];for(r=1;r=1e4&&(y.savedBBoxes={},D=0),n&&(y.savedBBoxes[n]=v),D++,c.extendFlat({},v)},y.setClipUrl=function(e,t,r){e.attr("clip-path",P(t,r))},y.getTranslate=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||0,y:+t[1]||0}},y.setTranslate=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||0,r=r||0,i=i.replace(/(\btranslate\(.*?\);?)/,"").trim(),i=(i+=u(t,r)).trim(),e[a]("transform",i),i},y.getScale=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||1,y:+t[1]||1}},y.setScale=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||1,r=r||1,i=i.replace(/(\bscale\(.*?\);?)/,"").trim(),i=(i+="scale("+t+","+r+")").trim(),e[a]("transform",i),i};var j=/\s*sc.*/;y.setPointGroupScale=function(e,t,r){if(t=t||1,r=r||1,e){var n=1===t&&1===r?"":"scale("+t+","+r+")";e.each((function(){var e=(this.getAttribute("transform")||"").replace(j,"");e=(e+=n).trim(),this.setAttribute("transform",e)}))}};var E=/translate\([^)]*\)\s*$/;y.setTextPointsScale=function(e,t,n){e&&e.each((function(){var e,a=r.select(this),i=a.select("text");if(i.node()){var o=parseFloat(i.attr("x")||0),l=parseFloat(i.attr("y")||0),s=(a.attr("transform")||"").match(E);e=1===t&&1===n?[]:[u(o,l),"scale("+t+","+n+")",u(-o,-l)],s&&e.push(s),a.attr("transform",e.join(""))}}))}})),s.register("3N5m7",(function(e,t){"use strict";var r=s("3Twc4"),n=s("6qr5h"),a=e.exports={},i=s("4f6io");a.defaults=i.defaults;var o=a.defaultLine=i.defaultLine;a.lightLine=i.lightLine;var l=a.background=i.background;function c(e){if(n(e)||"string"!=typeof e)return e;var t=e.trim();if("rgb"!==t.substr(0,3))return e;var r=t.match(/^rgba?\s*\(([^()]*)\)$/);if(!r)return e;var a=r[1].trim().split(/\s*[\s,]\s*/),i="a"===t.charAt(3)&&4===a.length;if(!i&&3!==a.length)return e;for(var o=0;o=0))return e;if(3===o)a[o]>1&&(a[o]=1);else if(a[o]>=1)return e}var l=Math.round(255*a[0])+", "+Math.round(255*a[1])+", "+Math.round(255*a[2]);return i?"rgba("+l+", "+a[3]+")":"rgb("+l+")"}a.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},a.rgb=function(e){return a.tinyRGB(r(e))},a.opacity=function(e){return e?r(e).getAlpha():0},a.addOpacity=function(e,t){var n=r(e).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+t+")"},a.combine=function(e,t){var n=r(e).toRgb();if(1===n.a)return r(e).toRgbString();var a=r(t||l).toRgb(),i=1===a.a?a:{r:255*(1-a.a)+a.r*a.a,g:255*(1-a.a)+a.g*a.a,b:255*(1-a.a)+a.b*a.a},o={r:i.r*(1-n.a)+n.r*n.a,g:i.g*(1-n.a)+n.g*n.a,b:i.b*(1-n.a)+n.b*n.a};return r(o).toRgbString()},a.contrast=function(e,t,n){var i=r(e);return 1!==i.getAlpha()&&(i=r(a.combine(e,l))),(i.isDark()?t?i.lighten(t):l:n?i.darken(n):o).toString()},a.stroke=function(e,t){var n=r(t);e.style({stroke:a.tinyRGB(n),"stroke-opacity":n.getAlpha()})},a.fill=function(e,t){var n=r(t);e.style({fill:a.tinyRGB(n),"fill-opacity":n.getAlpha()})},a.clean=function(e){if(e&&"object"==typeof e){var t,r,n,i,o=Object.keys(e);for(t=0;t=0;n--,a++){var i=e[n];r[a]=[1-i[0],i[1]]}return r}function p(e,t){t=t||{};for(var i=e.domain,l=e.range,s=l.length,c=new Array(s),u=0;ua),(e=>a=e)),r(e.exports,"tick0",(()=>n),(e=>n=e));var i=s("6qr5h"),o=s("1nIvY"),l=s("10TEj"),c=l.ONEDAY,u=l.ONEWEEK;a=function(e,t){var r="log"===t,n="date"===t,a="category"===t,o=n?c:1;if(!e)return o;if(i(e))return(e=Number(e))<=0?o:a?Math.max(1,Math.round(e)):n?Math.max(.1,e):e;if("string"!=typeof e||!n&&!r)return o;var l=e.charAt(0),s=e.substr(1);return(s=i(s)?Number(s):0)<=0||!(n&&"M"===l&&s===Math.round(s)||r&&"L"===l||r&&"D"===l&&(1===s||2===s))?o:e},n=function(e,t,r,n){return"date"===t?o.cleanDate(e,o.dateTick0(r,n%u==0?1:0)):"D1"!==n&&"D2"!==n?i(e)?Number(e):0:void 0}})),s.register("1NvHy",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1bJQq");e.exports=function(e,t,a,i){var o=r.coerce2(e,t,n,"ticklen"),l=r.coerce2(e,t,n,"tickwidth"),s=r.coerce2(e,t,n,"tickcolor",t.color);a("ticks",i.outerTicks||o||l||s?"outside":"")||(delete t.ticklen,delete t.tickwidth,delete t.tickcolor)}})),s.register("1YSll",(function(e,t){"use strict";var r=s("1nIvY"),n=s("3N5m7").contrast,a=s("1bJQq"),i=s("6pAgU");function o(e){var t=["showexponent","showtickprefix","showticksuffix"].filter((function(t){return void 0!==e[t]}));if(t.every((function(r){return e[r]===e[t[0]]}))||1===t.length)return e[t[0]]}function l(e,t){function n(n,i){return r.coerce(e,t,a.tickformatstops,n,i)}n("enabled")&&(n("dtickrange"),n("value"))}e.exports=function(e,t,s,c,u,d){var f,h,p;d&&1!==d.pass||(f=s,h=u,p=o(e),f("tickprefix")&&f("showtickprefix",p),f("ticksuffix",h.tickSuffixDflt)&&f("showticksuffix",p)),d&&2!==d.pass||function(e,t,s,c,u){var d=o(e);if(s("tickprefix")&&s("showtickprefix",d),s("ticksuffix",u.tickSuffixDflt)&&s("showticksuffix",d),s("showticklabels")){var f=u.font||{},h=t.color,p=-1!==(t.ticklabelposition||"").indexOf("inside")?n(u.bgColor):h&&h!==a.color.dflt?h:f.color;if(r.coerceFont(s,"tickfont",{family:f.family,size:f.size,color:p}),s("tickangle"),"category"!==c){var g=s("tickformat");i(e,t,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:l}),t.tickformatstops.length||delete t.tickformatstops,g||"date"===c||(s("showexponent",d),s("exponentformat"),s("minexponent"),s("separatethousands"))}}}(e,t,s,c,u)}})),s.register("6pAgU",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1IyjK");e.exports=function(e,t,a){var i,o,l=a.name,s=a.inclusionAttr||"visible",c=t[l],u=r.isArrayOrTypedArray(e[l])?e[l]:[],d=t[l]=[],f=n.arrayTemplater(t,l,s);for(i=0;ig-h?h=g-(p-g):p-g=0?l.colorscale.sequential:l.colorscale.sequentialminus,d._sync("colorscale",o))}})),s.register("49Q6h",(function(e,t){var n,a,i,o,l,c;r(e.exports,"BR_TAG_ALL",(()=>l),(e=>l=e)),r(e.exports,"makeEditable",(()=>n),(e=>n=e)),r(e.exports,"lineCount",(()=>a),(e=>a=e)),r(e.exports,"positionText",(()=>c),(e=>c=e)),r(e.exports,"plainText",(()=>o),(e=>o=e)),r(e.exports,"convertToTspans",(()=>i),(e=>i=e));var u=s("4Wia9"),d=s("1nIvY"),f=d.strTranslate,h=s("ipXll"),p=s("5n2uh").LINE_SPACING;function g(e,t){return e.node().getBoundingClientRect()[t]}var v=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;i=function(e,t,r){var n=e.text(),a=!e.attr("data-notex")&&"undefined"!=typeof MathJax&&n.match(v),i=u.select(e.node().parentNode);if(!i.empty()){var o=e.attr("class")?e.attr("class").split(" ")[0]:"text";return o+="-math",i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove(),e.style("display",null).attr({"data-unformatted":n,"data-math":"N"}),a?(t&&t._promises||[]).push(new Promise((function(t){e.style("display","none");var s,c,h,p,v,x,b,_=parseInt(e.node().style.fontSize,10),w={fontSize:_};s=a[2],c=w,h=function(a,s,c){i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove();var u=a&&a.select("svg");if(!u||!u.node())return l(),void t();var d=i.append("g").classed(o+"-group",!0).attr({"pointer-events":"none","data-unformatted":n,"data-math":"Y"});d.node().appendChild(u.node()),s&&s.node()&&u.node().insertBefore(s.node().cloneNode(!0),u.node().firstChild),u.attr({class:o,height:c.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var h=e.node().style.fill||"black",p=u.select("g");p.attr({fill:h,stroke:h});var v=g(p,"width"),m=g(p,"height"),y=+e.attr("x")-v*{start:0,middle:.5,end:1}[e.attr("text-anchor")||"start"],x=-(_||g(e,"height"))/4;"y"===o[0]?(d.attr({transform:"rotate("+[-90,+e.attr("x"),+e.attr("y")]+")"+f(-v/2,x-m/2)}),u.attr({x:+e.attr("x"),y:+e.attr("y")})):"l"===o[0]?u.attr({x:e.attr("x"),y:x-m/2}):"a"===o[0]&&0!==o.indexOf("atitle")?u.attr({x:0,y:x}):u.attr({x:y,y:+e.attr("y")+x-m/2}),r&&r.call(e,d),t(d)},MathJax.Hub.Queue((function(){return v=d.extendDeepAll({},MathJax.Hub.config),x=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})}),(function(){if("SVG"!==(p=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")}),(function(){var e="math-output-"+d.randstr({},64);return b=u.select("body").append("div").attr({id:e}).style({visibility:"hidden",position:"absolute"}).style({"font-size":c.fontSize+"px"}).text(s.replace(m,"\\lt ").replace(y,"\\gt ")),MathJax.Hub.Typeset(b.node())}),(function(){var e=u.select("body").select("#MathJax_SVG_glyphs");if(b.select(".MathJax_SVG").empty()||!b.select("svg").node())d.log("There was an error in the tex syntax.",s),h();else{var t=b.select("svg").node().getBoundingClientRect();h(b.select(".MathJax_SVG"),e,t)}if(b.remove(),"SVG"!==p)return MathJax.Hub.setRenderer(p)}),(function(){return void 0!==x&&(MathJax.Hub.processSectionDelay=x),MathJax.Hub.Config(v)}))}))):l(),e}function l(){i.empty()||(o=e.attr("class")+"-math",i.select("svg."+o).remove()),e.text("").style("white-space","pre"),function(e,t){t=t.replace(T," ");var r,n=!1,a=[],i=-1;function o(){i++;var t=document.createElementNS(h.svg,"tspan");u.select(t).attr({class:"line",dy:i*p+"em"}),e.appendChild(t),r=t;var n=a;if(a=[{node:t}],n.length>1)for(var o=1;o doesnt match end tag <"+e+">. Pretending it did match.",t),r=a[a.length-1].node}else d.log("Ignoring unexpected end tag .",t)}S.test(t)?o():(r=e,a=[{node:e}]);for(var f=t.split(M),g=0;g|>|>)/g,x={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},b={sub:"0.3em",sup:"-0.6em"},_={sub:"-0.21em",sup:"0.42em"},w="โ€‹",k=["http:","https:","mailto:","",void 0,":"],T=/(\r\n?|\n)/g,M=/(<[^<>]*>)/,A=/<(\/?)([^ >]*)(\s+(.*))?>/i,S=//i;l=//gi;var L=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,C=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,I=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,O=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function D(e,t){if(!e)return null;var r=e.match(t),n=r&&(r[3]||r[4]);return n&&E(n)}var z=/(^|;)\s*color:/;o=function(e,t){for(var r=void 0!==(t=t||{}).len&&-1!==t.len?t.len:1/0,n=void 0!==t.allowedTags?t.allowedTags:["br"],a=e.split(M),i=[],o="",l=0,s=0;s3?i.push(c.substr(0,h-3)+"..."):i.push(c.substr(0,h));break}o=""}}return i.join("")};var P={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร—",plusmn:"ยฑ",deg:"ยฐ"},j=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function E(e){return e.replace(j,(function(e,t){return("#"===t.charAt(0)?function(e){if(!(e>1114111)){var t=String.fromCodePoint;if(t)return t(e);var r=String.fromCharCode;return e<=65535?r(e):r(55232+(e>>10),e%1024+56320)}}("x"===t.charAt(1)?parseInt(t.substr(2),16):parseInt(t.substr(1),10)):P[t])||e}))}function R(e,t,r){var n,a,i,o=r.horizontalAlign,l=r.verticalAlign||"top",s=e.node().getBoundingClientRect(),c=t.node().getBoundingClientRect();return a="bottom"===l?function(){return s.bottom-n.height}:"middle"===l?function(){return s.top+(s.height-n.height)/2}:function(){return s.top},i="right"===o?function(){return s.right-n.width}:"center"===o?function(){return s.left+(s.width-n.width)/2}:function(){return s.left},function(){n=this.node().getBoundingClientRect();var e=i()-c.left,t=a()-c.top,o=r.gd||{};if(r.gd){o._fullLayout._calcInverseTransform(o);var l=d.apply3DTransform(o._fullLayout._invTransform)(e,t);e=l[0],t=l[1]}return this.style({top:t+"px",left:e+"px","z-index":1e3}),this}}a=function(e){return e.selectAll("tspan.line").size()||1},c=function(e,t,r){return e.each((function(){var e=u.select(this);function n(t,r){return void 0===r?null===(r=e.attr(t))&&(e.attr(t,0),r=0):e.attr(t,r),r}var a=n("x",t),i=n("y",r);"text"===this.nodeName&&e.selectAll("tspan.line").attr({x:a,y:i})}))},n=function(e,t){var r=t.gd,n=t.delegate,a=u.dispatch("edit","input","cancel"),i=n||e;if(e.style({"pointer-events":n?"none":"all"}),1!==e.size())throw new Error("boo");function o(){(function(){var n=u.select(r).select(".svg-container"),i=n.append("div"),o=e.node().style,s=parseFloat(o.fontSize||12),c=t.text;void 0===c&&(c=e.attr("data-unformatted")),i.classed("plugin-editable editable",!0).style({position:"absolute","font-family":o.fontFamily||"Arial","font-size":s,color:t.fill||o.fill||"black",opacity:1,"background-color":t.background||"transparent",outline:"#ffffff33 1px solid",margin:[-s/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(c).call(R(e,n,t)).on("blur",(function(){r._editing=!1,e.text(this.textContent).style({opacity:1});var t,n=u.select(this).attr("class");(t=n?"."+n.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(t).style({opacity:0});var i=this.textContent;u.select(this).transition().duration(0).remove(),u.select(document).on("mouseup",null),a.edit.call(e,i)})).on("focus",(function(){var e=this;r._editing=!0,u.select(document).on("mouseup",(function(){if(u.event.target===e)return!1;document.activeElement===i.node()&&i.node().blur()}))})).on("keyup",(function(){27===u.event.which?(r._editing=!1,e.style({opacity:1}),u.select(this).style({opacity:0}).on("blur",(function(){return!1})).transition().remove(),a.cancel.call(e,this.textContent)):(a.input.call(e,this.textContent),u.select(this).call(R(e,n,t)))})).on("keydown",(function(){13===u.event.which&&this.blur()})).call(l)})(),e.style({opacity:0});var n,o=i.attr("class");(n=o?"."+o.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(n).style({opacity:0})}function l(e){var t=e.node(),r=document.createRange();r.selectNodeContents(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(r),t.focus()}return t.immediate?o():i.on("click",o),u.rebind(e,a,"on")}})),s.register("ipXll",(function(e,t){var n,a,i,o;r(e.exports,"xmlns",(()=>i),(e=>i=e)),r(e.exports,"svgAttrs",(()=>o),(e=>o=e)),r(e.exports,"svg",(()=>a),(e=>a=e)),r(e.exports,"xlink",(()=>n),(e=>n=e)),i="http://www.w3.org/2000/xmlns/",o={xmlns:a="http://www.w3.org/2000/svg","xmlns:xlink":n="http://www.w3.org/1999/xlink"}})),s.register("5n2uh",(function(e,t){"use strict";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}})),s.register("5EGfs",(function(e,t){"use strict";var r=s("1nIvY");e.exports={hasLines:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("lines")},hasMarkers:function(e){return e.visible&&(e.mode&&-1!==e.mode.indexOf("markers")||"splom"===e.type)},hasText:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("text")},isBubble:function(e){return r.isPlainObject(e.marker)&&r.isArrayOrTypedArray(e.marker.size)}}})),s.register("2hpTa",(function(e,t){"use strict";var r=s("6qr5h");e.exports=function(e){var t=e.marker,n=t.sizeref||1,a=t.sizemin||0,i="area"===t.sizemode?function(e){return Math.sqrt(e/n)}:function(e){return e/n};return function(e){var t=i(e/2);return r(t)&&t>0?Math.max(t,a):0}}})),s.register("2MtC7",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v;r(e.exports,"appendArrayPointValue",(()=>h),(e=>h=e)),r(e.exports,"isUnifiedHover",(()=>g),(e=>g=e)),r(e.exports,"getClosest",(()=>o),(e=>o=e)),r(e.exports,"p2c",(()=>a),(e=>a=e)),r(e.exports,"quadrature",(()=>l),(e=>l=e)),r(e.exports,"isTraceInSubplots",(()=>u),(e=>u=e)),r(e.exports,"inbox",(()=>p),(e=>p=e)),r(e.exports,"getSubplot",(()=>v),(e=>v=e)),r(e.exports,"flat",(()=>i),(e=>i=e)),r(e.exports,"isXYhover",(()=>c),(e=>c=e)),r(e.exports,"getDistanceFunction",(()=>n),(e=>n=e)),r(e.exports,"appendArrayMultiPointValues",(()=>d),(e=>d=e)),r(e.exports,"makeEventData",(()=>f),(e=>f=e));var m=s("1nIvY");v=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo},u=function(e,t){if("splom"===e.type){for(var r=e.xaxes||[],n=e.yaxes||[],a=0;a=0&&r.index=t.width-20?(i["text-anchor"]="start",i.x=5):(i["text-anchor"]="end",i.x=t._paper.attr("width")-7),n.attr(i);var o=n.select(".js-link-to-tool"),l=n.select(".js-link-spacer"),s=n.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&function(e,t){t.text("");var r=t.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(e._context.linkText+" "+String.fromCharCode(187));if(e._context.sendData)r.on("click",(function(){x.sendDataToCloud(e)}));else{var n=window.location.pathname.split("/"),a=window.location.search;r.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+n[2].split(".")[0]+"/"+n[1]+a})}}(e,o),l.text(o.text()&&s.text()?" - ":"")}},x.sendDataToCloud=function(e){var t=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(t){e.emit("plotly_beforeexport");var n=r.select(e).append("div").attr("id","hiddenform").style("display","none"),a=n.append("form").attr({action:t+"/external",method:"post",target:"_blank"});return a.append("input").attr({type:"text",name:"data"}).node().value=x.graphJson(e,!1,"keepdata"),a.node().submit(),n.remove(),e.emit("plotly_afterexport"),!1}};var w=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],k=["year","month","dayMonth","dayMonthYear"];function T(e,t){var r=e._context.locale;r||(r="en-US");var n=!1,a={};function o(e){for(var r=!0,i=0;i1&&E.length>1){for(i.getComponentMethod("grid","sizeDefaults")(f,d),u=0;u15&&E.length>15&&0===d.shapes.length&&0===d.images.length,d._hasCartesian=d._has("cartesian"),d._hasGeo=d._has("geo"),d._hasGL3D=d._has("gl3d"),d._hasGL2D=d._has("gl2d"),d._hasTernary=d._has("ternary"),d._hasPie=d._has("pie"),x.linkSubplots(g,d,p,s),x.cleanPlot(g,d,p,s);var B=!(!s._has||!s._has("gl2d")),U=!(!d._has||!d._has("gl2d")),q=!(!s._has||!s._has("cartesian"))||B,V=!(!d._has||!d._has("cartesian"))||U;q&&!V?s._bgLayer.remove():V&&!q&&(d._shouldCreateBgLayer=!0),s._zoomlayer&&!e._dragging&&h({_fullLayout:s}),function(e,t){var r,n=[];t.meta&&(r=t._meta={meta:t.meta,layout:{meta:t.meta}});for(var a=0;a0){var d=1-2*l;n=Math.round(d*n),i=Math.round(d*i)}}var f=x.layoutAttributes.width.min,h=x.layoutAttributes.height.min;n1,g=!t.height&&Math.abs(r.height-i)>1;(g||p)&&(p&&(r.width=n),g&&(r.height=i)),e._initialAutoSize||(e._initialAutoSize={width:n,height:i}),x.sanitizeMargins(r)},x.supplyLayoutModuleDefaults=function(e,t,r,n){var a,o,l,s=i.componentsRegistry,u=t._basePlotModules,d=i.subplotsRegistry.cartesian;for(a in s)(l=s[a]).includeBasePlot&&l.includeBasePlot(e,t);for(var f in u.length||u.push(d),t._has("cartesian")&&(i.getComponentMethod("grid","contentDefaults")(e,t),d.finalizeSubplots(e,t)),t._subplots)t._subplots[f].sort(c.subplotSort);for(o=0;o1&&(r.l/=g,r.r/=g)}if(d){var v=(r.t+r.b)/d;v>1&&(r.t/=v,r.b/=v)}var m=void 0!==r.xl?r.xl:r.x,y=void 0!==r.xr?r.xr:r.x,b=void 0!==r.yt?r.yt:r.y,_=void 0!==r.yb?r.yb:r.y;f[t]={l:{val:m,size:r.l+p},r:{val:y,size:r.r+p},b:{val:_,size:r.b+p},t:{val:b,size:r.t+p}},h[t]=1}else delete f[t],delete h[t];if(!n._replotting)return x.doAutoMargin(e)}},x.doAutoMargin=function(e){var t=e._fullLayout,r=t.width,n=t.height;t._size||(t._size={}),C(t);var o=t._size,l=t.margin,s=c.extendFlat({},o),u=l.l,d=l.r,h=l.t,p=l.b,g=t._pushmargin,v=t._pushmarginIds;if(!1!==t.margin.autoexpand){for(var m in g)v[m]||delete g[m];for(var y in g.base={l:{val:0,size:u},r:{val:1,size:d},t:{val:1,size:h},b:{val:0,size:p}},g){var b=g[y].l||{},_=g[y].b||{},w=b.val,k=b.size,T=_.val,M=_.size;for(var A in g){if(a(k)&&g[A].r){var S=g[A].r.val,L=g[A].r.size;if(S>w){var I=(k*S+(L-r)*w)/(S-w),O=(L*(1-w)+(k-r)*(1-S))/(S-w);I+O>u+d&&(u=I,d=O)}}if(a(M)&&g[A].t){var D=g[A].t.val,z=g[A].t.size;if(D>T){var P=(M*D+(z-n)*T)/(D-T),j=(z*(1-T)+(M-n)*(1-D))/(D-T);P+j>p+h&&(p=P,h=j)}}}}}var E=c.constrain(r-l.l-l.r,2,64),R=c.constrain(n-l.t-l.b,2,64),N=Math.max(0,r-E),F=Math.max(0,n-R);if(N){var H=(u+d)/N;H>1&&(u/=H,d/=H)}if(F){var B=(p+h)/F;B>1&&(p/=B,h/=B)}if(o.l=Math.round(u),o.r=Math.round(d),o.t=Math.round(h),o.b=Math.round(p),o.p=Math.round(l.pad),o.w=Math.round(r)-o.l-o.r,o.h=Math.round(n)-o.t-o.b,!t._replotting&&x.didMarginChange(s,o)){"_redrawFromAutoMarginCount"in t?t._redrawFromAutoMarginCount++:t._redrawFromAutoMarginCount=1;var U=3*(1+Object.keys(v).length);if(t._redrawFromAutoMarginCount0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push((function(){n=!0})),r.redraw&&e._transitionData._interruptCallbacks.push((function(){return i.call("redraw",e)})),e._transitionData._interruptCallbacks.push((function(){e.emit("plotly_transitioninterrupted",[])}));var o=0,l=0;function s(){return o++,function(){var t;l++,n||l!==o||(t=a,e._transitionData&&(function(e){if(e)for(;e.length;)e.shift()}(e._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(r.redraw)return i.call("redraw",e)})).then((function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])})).then(t)))}}r.runFn(s),setTimeout(s())}))}],o=c.syncOrAsync(a,e);return o&&o.then||(o=Promise.resolve()),o.then((function(){return e}))}x.didMarginChange=function(e,t){for(var r=0;r1)return!0}return!1},x.graphJson=function(e,t,r,n,a,i){(a&&t&&!e._fullData||a&&!t&&!e._fullLayout)&&x.supplyDefaults(e);var o=a?e._fullData:e.data,l=a?e._fullLayout:e.layout,s=(e._transitionData||{})._frames;function u(e,t){if("function"==typeof e)return t?"_function_":null;if(c.isPlainObject(e)){var n,a={};return Object.keys(e).sort().forEach((function(i){if(-1===["_","["].indexOf(i.charAt(0)))if("function"!=typeof e[i]){if("keepdata"===r){if("src"===i.substr(i.length-3))return}else if("keepstream"===r){if("string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0&&!c.isPlainObject(e.stream))return}else if("keepall"!==r&&"string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0)return;a[i]=u(e[i],t)}else t&&(a[i]="_function")})),a}return Array.isArray(e)?e.map((function(e){return u(e,t)})):c.isTypedArray(e)?c.simpleMap(e,c.identity):c.isJSDate(e)?c.ms2DateTimeLocal(+e):e}var d={data:(o||[]).map((function(e){var r=u(e);return t&&delete r.fit,r}))};if(!t&&(d.layout=u(l),a)){var f=l._size;d.layout.computed={margin:{b:f.b,l:f.l,r:f.r,t:f.t}}}return e.framework&&e.framework.isPolar&&(d=e.framework.getConfig()),s&&(d.frames=u(s)),i&&(d.config=u(e._context,!0)),"object"===n?d:JSON.stringify(d)},x.modifyFrames=function(e,t){var r,n,a,i=e._transitionData._frames,o=e._transitionData._frameHash;for(r=0;r=0;l--)if(o[l].enabled){r._indexToPoints=o[l]._indexToPoints;break}n&&n.calc&&(i=n.calc(e,r))}Array.isArray(i)&&i[0]||(i=[{x:d,y:d}]),i[0].t||(i[0].t={}),i[0].trace=r,p[t]=i}}for(z(s,u,h),a=0;ac),(e=>c=e)),r(e.exports,"cleanId",(()=>a),(e=>a=e)),r(e.exports,"list",(()=>u),(e=>u=e)),r(e.exports,"ref2id",(()=>l),(e=>l=e)),r(e.exports,"id2name",(()=>n),(e=>n=e)),r(e.exports,"idSort",(()=>d),(e=>d=e)),r(e.exports,"getFromTrace",(()=>h),(e=>h=e)),r(e.exports,"getFromId",(()=>o),(e=>o=e)),r(e.exports,"name2id",(()=>i),(e=>i=e)),r(e.exports,"listIds",(()=>f),(e=>f=e));var p=s("4Hxcc"),g=s("5Lafm");function v(e,t){if(t&&t.length)for(var r=0;rn?1:-1:+(e.substr(1)||1)-+(t.substr(1)||1)},l=function(e){return!!/^[xyz]/.test(e)&&e.split(" ")[0]},c=function(e,t){return v(t,e._axisMatchGroups)||v(t,e._axisConstraintGroups)}})),s.register("6VTTP",(function(e,t){"use strict";e.exports={clearOutlineControllers:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".outline-controllers").remove()},clearSelect:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".select-outline").remove(),e._fullLayout._drawing=!1}}})),s.register("CkVc5",(function(e,t){var n;r(e.exports,"getModuleCalcData",(()=>n),(e=>n=e));var a=s("4Hxcc");s("5Lafm").SUBPLOT_PATTERN;n=function(e,t){var r,n=[],i=[];if(!(r="string"==typeof t?a.getModule(t).plot:"function"==typeof t?t:t.plot))return[n,e];for(var o=0;oo),(e=>o=e)),r(e.exports,"hasSimpleAPICommandBindings",(()=>i),(e=>i=e)),r(e.exports,"computeAPICommandBindings",(()=>n),(e=>n=e)),r(e.exports,"manageCommandObserver",(()=>a),(e=>a=e));var l=s("4Hxcc"),c=s("1nIvY");function u(e,t,r){var n,a,i,o=!1;if("data"===t.type)n=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;n=e._fullLayout}return a=c.nestedProperty(n,t.prop).get(),(i=r[t.type]=r[t.type]||{}).hasOwnProperty(t.prop)&&i[t.prop]!==a&&(o=!0),i[t.prop]=a,{changed:o,value:a}}function d(e,t){var r=[],n=t[0],a={};if("string"==typeof n)a[n]=t[1];else{if(!c.isPlainObject(n))return r;a=n}return h(a,(function(e,t,n){r.push({type:"layout",prop:e,value:n})}),"",0),r}function f(e,t){var r,n,a,i,o=[];if(n=t[0],a=t[1],r=t[2],i={},"string"==typeof n)i[n]=a;else{if(!c.isPlainObject(n))return o;i=n,void 0===r&&(r=a)}return void 0===r&&(r=null),h(i,(function(t,n,a){var i,l;if(Array.isArray(a)){l=a.slice();var s=Math.min(l.length,e.data.length);r&&(s=Math.min(s,r.length)),i=[];for(var c=0;c0?".":"")+a;c.isPlainObject(i)?h(i,t,o,n+1):t(o,a,i)}}))}a=function(e,t,r,n){var a={},o=!0;t&&t._commandObserver&&(a=t._commandObserver),a.cache||(a.cache={}),a.lookupTable={};var l=i(e,r,a.lookupTable);if(t&&t._commandObserver){if(l)return a;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,a}if(l){u(e,l,a.cache),a.check=function(){if(o){var t=u(e,l,a.cache);return t.changed&&n&&void 0!==a.lookupTable[t.value]&&(a.disable(),Promise.resolve(n({value:t.value,type:l.type,prop:l.prop,traces:l.traces,index:a.lookupTable[t.value]})).then(a.enable,a.enable)),t.changed}};for(var s=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d=0?f.angularAxis.domain:r.extent(k),L=Math.abs(k[1]-k[0]);M&&!T&&(L=0);var C=S.slice();A&&T&&(C[1]+=L);var I=f.angularAxis.ticksCount||4;I>8&&(I=I/(I/8)+I%8),f.angularAxis.ticksStep&&(I=(C[1]-C[0])/I);var O=f.angularAxis.ticksStep||(C[1]-C[0])/(I*(f.minorTicks+1));w&&(O=Math.max(Math.round(O),1)),C[2]||(C[2]=O);var D=r.range.apply(this,C);if(D=D.map((function(e,t){return parseFloat(e.toPrecision(12))})),l=r.scale.linear().domain(C.slice(0,2)).range("clockwise"===f.direction?[0,360]:[360,0]),u.layout.angularAxis.domain=l.domain(),u.layout.angularAxis.endPadding=A?L:0,void 0===(e=r.select(this).select("svg.chart-root"))||e.empty()){var z=(new DOMParser).parseFromString("' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '","application/xml"),P=this.appendChild(this.ownerDocument.importNode(z.documentElement,!0));e=r.select(P)}e.select(".guides-group").style({"pointer-events":"none"}),e.select(".angular.axis-group").style({"pointer-events":"none"}),e.select(".radial.axis-group").style({"pointer-events":"none"});var j,E=e.select(".chart-group"),R={fill:"none",stroke:f.tickColor},N={"font-size":f.font.size,"font-family":f.font.family,fill:f.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map((function(e,t){return" "+e+" 0 "+f.font.outlineColor})).join(",")};if(f.showLegend){j=e.select(".legend-group").attr({transform:"translate("+[x,f.margin.top]+")"}).style({display:"block"});var F=h.map((function(e,t){var r=i.util.cloneJson(e);return r.symbol="DotPlot"===e.geometry?e.dotType||"circle":"LinePlot"!=e.geometry?"square":"line",r.visibleInLegend=void 0===e.visibleInLegend||e.visibleInLegend,r.color="LinePlot"===e.geometry?e.strokeColor:e.color,r}));i.Legend().config({data:h.map((function(e,t){return e.name||"Element"+t})),legendConfig:n({},i.Legend.defaultConfig().legendConfig,{container:j,elements:F,reverseOrder:f.legend.reverseOrder})})();var H=j.node().getBBox();x=Math.min(f.width-H.width-f.margin.left-f.margin.right,f.height-f.margin.top-f.margin.bottom)/2,x=Math.max(10,x),_=[f.margin.left+x,f.margin.top+x],o.range([0,x]),u.layout.radialAxis.domain=o.domain(),j.attr("transform","translate("+[_[0]+x,_[1]-x]+")")}else j=e.select(".legend-group").style({display:"none"});e.attr({width:f.width,height:f.height}).style({opacity:f.opacity}),E.attr("transform","translate("+_+")").style({cursor:"crosshair"});var B=[(f.width-(f.margin.left+f.margin.right+2*x+(H?H.width:0)))/2,(f.height-(f.margin.top+f.margin.bottom+2*x))/2];if(B[0]=Math.max(0,B[0]),B[1]=Math.max(0,B[1]),e.select(".outer-group").attr("transform","translate("+B+")"),f.title&&f.title.text){var U=e.select("g.title-group text").style(N).text(f.title.text),q=U.node().getBBox();U.attr({x:_[0]-q.width/2,y:_[1]-x-20})}var V=e.select(".radial.axis-group");if(f.radialAxis.gridLinesVisible){var Y=V.selectAll("circle.grid-circle").data(o.ticks(5));Y.enter().append("circle").attr({class:"grid-circle"}).style(R),Y.attr("r",o),Y.exit().remove()}V.select("circle.outside-circle").attr({r:x}).style(R);var G=e.select("circle.background-circle").attr({r:x}).style({fill:f.backgroundColor,stroke:f.stroke});function Z(e,t){return l(e)%360+f.orientation}if(f.radialAxis.visible){var W=r.svg.axis().scale(o).ticks(5).tickSize(5);V.call(W).attr({transform:"rotate("+f.radialAxis.orientation+")"}),V.selectAll(".domain").style(R),V.selectAll("g>text").text((function(e,t){return this.textContent+f.radialAxis.ticksSuffix})).style(N).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(e,t){return"horizontal"===f.radialAxis.tickOrientation?"rotate("+-f.radialAxis.orientation+") translate("+[0,N["font-size"]]+")":"translate("+[0,N["font-size"]]+")"}}),V.selectAll("g>line").style({stroke:"black"})}var X=e.select(".angular.axis-group").selectAll("g.angular-tick").data(D),Q=X.enter().append("g").classed("angular-tick",!0);X.attr({transform:function(e,t){return"rotate("+Z(e)+")"}}).style({display:f.angularAxis.visible?"block":"none"}),X.exit().remove(),Q.append("line").classed("grid-line",!0).classed("major",(function(e,t){return t%(f.minorTicks+1)==0})).classed("minor",(function(e,t){return!(t%(f.minorTicks+1)==0)})).style(R),Q.selectAll(".minor").style({stroke:f.minorTickColor}),X.select("line.grid-line").attr({x1:f.tickLength?x-f.tickLength:0,x2:x}).style({display:f.angularAxis.gridLinesVisible?"block":"none"}),Q.append("text").classed("axis-text",!0).style(N);var J=X.select("text.axis-text").attr({x:x+f.labelOffset,dy:a+"em",transform:function(e,t){var r=Z(e),n=x+f.labelOffset,a=f.angularAxis.tickOrientation;return"horizontal"==a?"rotate("+-r+" "+n+" 0)":"radial"==a?r<270&&r>90?"rotate(180 "+n+" 0)":null:"rotate("+(r<=180&&r>0?-90:90)+" "+n+" 0)"}}).style({"text-anchor":"middle",display:f.angularAxis.labelsVisible?"block":"none"}).text((function(e,t){return t%(f.minorTicks+1)!=0?"":w?w[e]+f.angularAxis.ticksSuffix:e+f.angularAxis.ticksSuffix})).style(N);f.angularAxis.rewriteTicks&&J.text((function(e,t){return t%(f.minorTicks+1)!=0?"":f.angularAxis.rewriteTicks(this.textContent,t)}));var K=r.max(E.selectAll(".angular-tick text")[0].map((function(e,t){return e.getCTM().e+e.getBBox().width})));j.attr({transform:"translate("+[x+K,f.margin.top]+")"});var $=e.select("g.geometry-group").selectAll("g").size()>0,ee=e.select("g.geometry-group").selectAll("g.geometry").data(h);if(ee.enter().append("g").attr({class:function(e,t){return"geometry geometry"+t}}),ee.exit().remove(),h[0]||$){var te=[];h.forEach((function(e,t){var r={};r.radialScale=o,r.angularScale=l,r.container=ee.filter((function(e,r){return r==t})),r.geometry=e.geometry,r.orientation=f.orientation,r.direction=f.direction,r.index=t,te.push({data:e,geometryConfig:r})}));var re=r.nest().key((function(e,t){return void 0!==e.data.groupId||"unstacked"})).entries(te),ne=[];re.forEach((function(e,t){"unstacked"===e.key?ne=ne.concat(e.values.map((function(e,t){return[e]}))):ne.push(e.values)})),ne.forEach((function(e,t){var r;r=Array.isArray(e)?e[0].geometryConfig.geometry:e.geometryConfig.geometry;var a=e.map((function(e,t){return n(i[r].defaultConfig(),e)}));i[r]().config(a)()}))}var ae,ie,oe=e.select(".guides-group"),le=e.select(".tooltips-group"),se=i.tooltipPanel().config({container:le,fontSize:8})(),ce=i.tooltipPanel().config({container:le,fontSize:8})(),ue=i.tooltipPanel().config({container:le,hasTick:!0})();if(!T){var de=oe.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});E.on("mousemove.angular-guide",(function(e,t){var r=i.util.getMousePos(G).angle;de.attr({x2:-x,transform:"rotate("+r+")"}).style({opacity:.5});var n=(r+180+360-f.orientation)%360;ae=l.invert(n);var a=i.util.convertToCartesian(x+12,r+180);se.text(i.util.round(ae)).move([a[0]+_[0],a[1]+_[1]])})).on("mouseout.angular-guide",(function(e,t){oe.select("line").style({opacity:0})}))}var fe=oe.select("circle").style({stroke:"grey",fill:"none"});E.on("mousemove.radial-guide",(function(e,t){var r=i.util.getMousePos(G).radius;fe.attr({r:r}).style({opacity:.5}),ie=o.invert(i.util.getMousePos(G).radius);var n=i.util.convertToCartesian(r,f.radialAxis.orientation);ce.text(i.util.round(ie)).move([n[0]+_[0],n[1]+_[1]])})).on("mouseout.radial-guide",(function(e,t){fe.style({opacity:0}),ue.hide(),se.hide(),ce.hide()})),e.selectAll(".geometry-group .mark").on("mouseover.tooltip",(function(t,n){var a=r.select(this),o=this.style.fill,l="black",s=this.style.opacity||1;if(a.attr({"data-opacity":s}),o&&"none"!==o){a.attr({"data-fill":o}),l=r.hsl(o).darker().toString(),a.style({fill:l,opacity:1});var c={t:i.util.round(t[0]),r:i.util.round(t[1])};T&&(c.t=w[t[0]]);var u="t: "+c.t+", r: "+c.r,d=this.getBoundingClientRect(),f=e.node().getBoundingClientRect(),h=[d.left+d.width/2-B[0]-f.left,d.top+d.height/2-B[1]-f.top];ue.config({color:l}).text(u),ue.move(h)}else o=this.style.stroke||"black",a.attr({"data-stroke":o}),l=r.hsl(o).darker().toString(),a.style({stroke:l,opacity:1})})).on("mousemove.tooltip",(function(e,t){if(0!=r.event.which)return!1;r.select(this).attr("data-fill")&&ue.show()})).on("mouseout.tooltip",(function(e,t){ue.hide();var n=r.select(this),a=n.attr("data-fill");a?n.style({fill:a,opacity:n.attr("data-opacity")}):n.style({stroke:n.attr("data-stroke"),opacity:n.attr("data-opacity")})}))}))}(c),this},config:function(e){if(!arguments.length)return s;var t=i.util.cloneJson(e);return t.data.forEach((function(e,t){s.data[t]||(s.data[t]={}),n(s.data[t],i.Axis.defaultConfig().data[0]),n(s.data[t],e)})),n(s.layout,i.Axis.defaultConfig().layout),n(s.layout,t.layout),this},getLiveConfig:function(){return u},getinputConfig:function(){return c},radialScale:function(e){return o},angularScale:function(e){return l},svg:function(){return e}};return r.rebind(f,d,"on"),f},i.Axis.defaultConfig=function(e,t){return{data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:r.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}}},i.util={},i.DATAEXTENT="dataExtent",i.AREA="AreaChart",i.LINE="LinePlot",i.DOT="DotPlot",i.BAR="BarChart",i.util._override=function(e,t){for(var r in e)r in t&&(t[r]=e[r])},i.util._extend=function(e,t){for(var r in e)t[r]=e[r]},i.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},i.util.dataFromEquation2=function(e,t){var n=t||6;return r.range(0,360+n,n).map((function(t,r){var n=t*Math.PI/180;return[t,e(n)]}))},i.util.dataFromEquation=function(e,t,n){var a=t||6,i=[],o=[];r.range(0,360+a,a).forEach((function(t,r){var n=t*Math.PI/180,a=e(n);i.push(t),o.push(a)}));var l={t:i,r:o};return n&&(l.name=n),l},i.util.ensureArray=function(e,t){if(void 0===e)return null;var n=[].concat(e);return r.range(t).map((function(e,t){return n[t]||n[0]}))},i.util.fillArrays=function(e,t,r){return t.forEach((function(t,n){e[t]=i.util.ensureArray(e[t],r)})),e},i.util.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},i.util.validateKeys=function(e,t){"string"==typeof t&&(t=t.split("."));var r=t.shift();return e[r]&&(!t.length||objHasKeys(e[r],t))},i.util.sumArrays=function(e,t){return r.zip(e,t).map((function(e,t){return r.sum(e)}))},i.util.arrayLast=function(e){return e[e.length-1]},i.util.arrayEqual=function(e,t){for(var r=Math.max(e.length,t.length,1);r-- >=0&&e[r]===t[r];);return-2===r},i.util.flattenArray=function(e){for(var t=[];!i.util.arrayEqual(t,e);)t=e,e=[].concat.apply([],e);return e},i.util.deduplicate=function(e){return e.filter((function(e,t,r){return r.indexOf(e)==t}))},i.util.convertToCartesian=function(e,t){var r=t*Math.PI/180;return[e*Math.cos(r),e*Math.sin(r)]},i.util.round=function(e,t){var r=t||2,n=Math.pow(10,r);return Math.round(e*n)/n},i.util.getMousePos=function(e){var t=r.mouse(e.node()),n=t[0],a=t[1],i={};return i.x=n,i.y=a,i.pos=t,i.angle=180*(Math.atan2(a,n)+Math.PI)/Math.PI,i.radius=Math.sqrt(n*n+a*a),i},i.util.duplicatesCount=function(e){for(var t,r={},n={},a=0,i=e.length;a0)){var s=r.select(this.parentNode).selectAll("path.line").data([0]);s.enter().insert("path"),s.attr({class:"line",d:u(l),transform:function(e,r){return"rotate("+(t.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(e,t){return p.fill(n,a,i)},"fill-opacity":0,stroke:function(e,t){return p.stroke(n,a,i)},"stroke-width":function(e,t){return p["stroke-width"](n,a,i)},"stroke-dasharray":function(e,t){return p["stroke-dasharray"](n,a,i)},opacity:function(e,t){return p.opacity(n,a,i)},display:function(e,t){return p.display(n,a,i)}})}};var d=t.angularScale.range(),f=Math.abs(d[1]-d[0])/o[0].length*Math.PI/180,h=r.svg.arc().startAngle((function(e){return-f/2})).endAngle((function(e){return f/2})).innerRadius((function(e){return t.radialScale(s+(e[2]||0))})).outerRadius((function(e){return t.radialScale(s+(e[2]||0))+t.radialScale(e[1])}));c.arc=function(e,n,a){r.select(this).attr({class:"mark arc",d:h,transform:function(e,r){return"rotate("+(t.orientation+l(e[0])+90)+")"}})};var p={fill:function(t,r,n){return e[n].data.color},stroke:function(t,r,n){return e[n].data.strokeColor},"stroke-width":function(t,r,n){return e[n].data.strokeSize+"px"},"stroke-dasharray":function(t,r,n){return a[e[n].data.strokeDash]},opacity:function(t,r,n){return e[n].data.opacity},display:function(t,r,n){return void 0===e[n].data.visible||e[n].data.visible?"block":"none"}},g=r.select(this).selectAll("g.layer").data(o);g.enter().append("g").attr({class:"layer"});var v=g.selectAll("path.mark").data((function(e,t){return e}));v.enter().append("path").attr({class:"mark"}),v.style(p).each(c[t.geometryType]),v.exit().remove(),g.exit().remove()}))}return o.config=function(t){return arguments.length?(t.forEach((function(t,r){e[r]||(e[r]={}),n(e[r],i.PolyChart.defaultConfig()),n(e[r],t)})),this):e},o.getColorScale=function(){},r.rebind(o,t,"on"),o},i.PolyChart.defaultConfig=function(){return{data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:r.scale.category20()}}},i.BarChart=function(){return i.PolyChart()},i.BarChart.defaultConfig=function(){return{geometryConfig:{geometryType:"bar"}}},i.AreaChart=function(){return i.PolyChart()},i.AreaChart.defaultConfig=function(){return{geometryConfig:{geometryType:"arc"}}},i.DotPlot=function(){return i.PolyChart()},i.DotPlot.defaultConfig=function(){return{geometryConfig:{geometryType:"dot",dotType:"circle"}}},i.LinePlot=function(){return i.PolyChart()},i.LinePlot.defaultConfig=function(){return{geometryConfig:{geometryType:"line"}}},i.Legend=function(){var e=i.Legend.defaultConfig(),t=r.dispatch("hover");function a(){var t=e.legendConfig,i=e.data.map((function(e,r){return[].concat(e).map((function(e,a){var i=n({},t.elements[r]);return i.name=e,i.color=[].concat(t.elements[r].color)[a],i}))})),o=r.merge(i);o=o.filter((function(e,r){return t.elements[r]&&(t.elements[r].visibleInLegend||void 0===t.elements[r].visibleInLegend)})),t.reverseOrder&&(o=o.reverse());var l=t.container;("string"==typeof l||l.nodeName)&&(l=r.select(l));var s=o.map((function(e,t){return e.color})),c=t.fontSize,u=null==t.isContinuous?"number"==typeof o[0]:t.isContinuous,d=u?t.height:c*o.length,f=l.classed("legend-group",!0).selectAll("svg").data([0]),h=f.enter().append("svg").attr({width:300,height:d+c,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});h.append("g").classed("legend-axis",!0),h.append("g").classed("legend-marks",!0);var p=r.range(o.length),g=r.scale[u?"linear":"ordinal"]().domain(p).range(s),v=r.scale[u?"linear":"ordinal"]().domain(p)[u?"range":"rangePoints"]([0,d]);if(u){var m=f.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(s);m.enter().append("stop"),m.attr({offset:function(e,t){return t/(s.length-1)*100+"%"}}).style({"stop-color":function(e,t){return e}}),f.append("rect").classed("legend-mark",!0).attr({height:t.height,width:t.colorBandWidth,fill:"url(#grad1)"})}else{var y=f.select(".legend-marks").selectAll("path.legend-mark").data(o);y.enter().append("path").classed("legend-mark",!0),y.attr({transform:function(e,t){return"translate("+[c/2,v(t)+c/2]+")"},d:function(e,t){var n,a,i,o=e.symbol;return i=3*(a=c),"line"===(n=o)?"M"+[[-a/2,-a/12],[a/2,-a/12],[a/2,a/12],[-a/2,a/12]]+"Z":-1!=r.svg.symbolTypes.indexOf(n)?r.svg.symbol().type(n).size(i)():r.svg.symbol().type("square").size(i)()},fill:function(e,t){return g(t)}}),y.exit().remove()}var x=r.svg.axis().scale(v).orient("right"),b=f.select("g.legend-axis").attr({transform:"translate("+[u?t.colorBandWidth:c,c/2]+")"}).call(x);return b.selectAll(".domain").style({fill:"none",stroke:"none"}),b.selectAll("line").style({fill:"none",stroke:u?t.textColor:"none"}),b.selectAll("text").style({fill:t.textColor,"font-size":t.fontSize}).text((function(e,t){return o[t].name})),a}return a.config=function(t){return arguments.length?(n(e,t),this):e},r.rebind(a,t,"on"),a},i.Legend.defaultConfig=function(e,t){return{data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}}},i.tooltipPanel=function(){var e,t,a,o={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},l="tooltip-"+i.tooltipPanel.uid++,s=10,c=function(){var r=(e=o.container.selectAll("g."+l).data([0])).enter().append("g").classed(l,!0).style({"pointer-events":"none",display:"none"});return a=r.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),t=r.append("text").attr({dx:o.padding+s,dy:.3*+o.fontSize}),c};return c.text=function(n){var i=r.hsl(o.color).l,l=i>=.5?"#aaa":"white",u=i>=.5?"black":"white",d=n||"";t.style({fill:u,"font-size":o.fontSize+"px"}).text(d);var f=o.padding,h=t.node().getBBox(),p={fill:o.color,stroke:l,"stroke-width":"2px"},g=h.width+2*f+s,v=h.height+2*f;return a.attr({d:"M"+[[s,-v/2],[s,-v/4],[o.hasTick?0:s,0],[s,v/4],[s,v/2],[g,v/2],[g,-v/2]].join("L")+"Z"}).style(p),e.attr({transform:"translate("+[s,-v/2+2*f]+")"}),e.style({display:"block"}),c},c.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),c},c.hide=function(){if(e)return e.style({display:"none"}),c},c.show=function(){if(e)return e.style({display:"block"}),c},c.config=function(e){return n(o,e),c},c},i.tooltipPanel.uid=1,i.adapter={},i.adapter.plotly=function(){return{convert:function(e,t){var a={};if(e.data&&(a.data=e.data.map((function(e,r){var a=n({},e);return[[a,["marker","color"],["color"]],[a,["marker","opacity"],["opacity"]],[a,["marker","line","color"],["strokeColor"]],[a,["marker","line","dash"],["strokeDash"]],[a,["marker","line","width"],["strokeSize"]],[a,["marker","symbol"],["dotType"]],[a,["marker","size"],["dotSize"]],[a,["marker","barWidth"],["barWidth"]],[a,["line","interpolation"],["lineInterpolation"]],[a,["showlegend"],["visibleInLegend"]]].forEach((function(e,r){i.util.translator.apply(null,e.concat(t))})),t||delete a.marker,t&&delete a.groupId,t?("LinePlot"===a.geometry?(a.type="scatter",!0===a.dotVisible?(delete a.dotVisible,a.mode="lines+markers"):a.mode="lines"):"DotPlot"===a.geometry?(a.type="scatter",a.mode="markers"):"AreaChart"===a.geometry?a.type="area":"BarChart"===a.geometry&&(a.type="bar"),delete a.geometry):("scatter"===a.type?"lines"===a.mode?a.geometry="LinePlot":"markers"===a.mode?a.geometry="DotPlot":"lines+markers"===a.mode&&(a.geometry="LinePlot",a.dotVisible=!0):"area"===a.type?a.geometry="AreaChart":"bar"===a.type&&(a.geometry="BarChart"),delete a.mode,delete a.type),a})),!t&&e.layout&&"stack"===e.layout.barmode)){var o=i.util.duplicates(a.data.map((function(e,t){return e.geometry})));a.data.forEach((function(e,t){var r=o.indexOf(e.geometry);-1!=r&&(a.data[t].groupId=r)}))}if(e.layout){var l=n({},e.layout);if([[l,["plot_bgcolor"],["backgroundColor"]],[l,["showlegend"],["showLegend"]],[l,["radialaxis"],["radialAxis"]],[l,["angularaxis"],["angularAxis"]],[l.angularaxis,["showline"],["gridLinesVisible"]],[l.angularaxis,["showticklabels"],["labelsVisible"]],[l.angularaxis,["nticks"],["ticksCount"]],[l.angularaxis,["tickorientation"],["tickOrientation"]],[l.angularaxis,["ticksuffix"],["ticksSuffix"]],[l.angularaxis,["range"],["domain"]],[l.angularaxis,["endpadding"],["endPadding"]],[l.radialaxis,["showline"],["gridLinesVisible"]],[l.radialaxis,["tickorientation"],["tickOrientation"]],[l.radialaxis,["ticksuffix"],["ticksSuffix"]],[l.radialaxis,["range"],["domain"]],[l.angularAxis,["showline"],["gridLinesVisible"]],[l.angularAxis,["showticklabels"],["labelsVisible"]],[l.angularAxis,["nticks"],["ticksCount"]],[l.angularAxis,["tickorientation"],["tickOrientation"]],[l.angularAxis,["ticksuffix"],["ticksSuffix"]],[l.angularAxis,["range"],["domain"]],[l.angularAxis,["endpadding"],["endPadding"]],[l.radialAxis,["showline"],["gridLinesVisible"]],[l.radialAxis,["tickorientation"],["tickOrientation"]],[l.radialAxis,["ticksuffix"],["ticksSuffix"]],[l.radialAxis,["range"],["domain"]],[l.font,["outlinecolor"],["outlineColor"]],[l.legend,["traceorder"],["reverseOrder"]],[l,["labeloffset"],["labelOffset"]],[l,["defaultcolorrange"],["defaultColorRange"]]].forEach((function(e,r){i.util.translator.apply(null,e.concat(t))})),t?(void 0!==l.tickLength&&(l.angularaxis.ticklen=l.tickLength,delete l.tickLength),l.tickColor&&(l.angularaxis.tickcolor=l.tickColor,delete l.tickColor)):(l.angularAxis&&void 0!==l.angularAxis.ticklen&&(l.tickLength=l.angularAxis.ticklen),l.angularAxis&&void 0!==l.angularAxis.tickcolor&&(l.tickColor=l.angularAxis.tickcolor)),l.legend&&"boolean"!=typeof l.legend.reverseOrder&&(l.legend.reverseOrder="normal"!=l.legend.reverseOrder),l.legend&&"boolean"==typeof l.legend.traceorder&&(l.legend.traceorder=l.legend.traceorder?"reversed":"normal",delete l.legend.reverseOrder),l.margin&&void 0!==l.margin.t){var s=["t","r","b","l","pad"],c=["top","right","bottom","left","pad"],u={};r.entries(l.margin).forEach((function(e,t){u[c[s.indexOf(e.key)]]=e.value})),l.margin=u}t&&(delete l.needsEndSpacing,delete l.minorTickColor,delete l.minorTicks,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksStep,delete l.angularaxis.rewriteTicks,delete l.angularaxis.nticks,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksStep,delete l.radialaxis.rewriteTicks,delete l.radialaxis.nticks),a.layout=l}return a}}}})),s.register("7gS77",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY"),a=s("3N5m7"),i=s("45RDT"),o=s("3CVjn"),l=n.extendDeepAll,c=e.exports={};c.framework=function(e){var t,n,a,s,u,d=new o;function f(n,o){return o&&(u=o),r.select(r.select(u).node().parentNode).selectAll(".svg-container>*:not(.chart-root)").remove(),t=t?l(t,n):n,a||(a=i.Axis()),s=i.adapter.plotly().convert(t),a.config(s).render(u),e.data=t.data,e.layout=t.layout,c.fillLayout(e),t}return f.isPolar=!0,f.svg=function(){return a.svg()},f.getConfig=function(){return t},f.getLiveConfig=function(){return i.adapter.plotly().convert(a.getLiveConfig(),!0)},f.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},f.setUndoPoint=function(){var e,r,a=this,o=i.util.cloneJson(t);e=o,r=n,d.add({undo:function(){r&&a(r)},redo:function(){a(e)}}),n=i.util.cloneJson(o)},f.undo=function(){d.undo()},f.redo=function(){d.redo()},f},c.fillLayout=function(e){var t=r.select(e).selectAll(".plot-container"),n=t.selectAll(".svg-container"),i=e.framework&&e.framework.svg&&e.framework.svg(),o={width:800,height:600,paper_bgcolor:a.background,_container:t,_paperdiv:n,_paper:i};e._fullLayout=l(o,e.layout)}})),s.register("3CVjn",(function(e,t){"use strict";e.exports=function(){var e,t=[],r=-1,n=!1;function a(e,t){return e?(n=!0,e[t](),n=!1,this):this}return{add:function(e){return n||(t.splice(r+1,t.length-r),t.push(e),r=t.length-1),this},setCallback:function(t){e=t},undo:function(){var n=t[r];return n?(a(n,"undo"),r-=1,e&&e(n.undo),this):this},redo:function(){var n=t[r+1];return n?(a(n,"redo"),r+=1,e&&e(n.redo),this):this},clear:function(){t=[],r=-1},hasUndo:function(){return-1!==r},hasRedo:function(){return r2e-6||((r-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},N.saveRangeInitial=function(e,t){for(var r=N.list(e,"",!0),n=!1,a=0;a.3*f||u(a)||u(i))){var h=r.dtick/2;e+=e+h.8){var l=Number(r.substr(1));i.exactYears>.8&&l%12==0?e=N.tickIncrement(e,"M6","reverse")+1.5*A:i.exactMonths>.8?e=N.tickIncrement(e,"M1","reverse")+15.5*A:e-=S;var s=N.tickIncrement(e,r);if(s<=n)return s}return e}(y,e,m,c,i)),v=y;v<=u;)v=N.tickIncrement(v,m,!1,i);return{start:t.c2r(y,0,i),end:t.c2r(v,0,i),size:m,_dataSpan:u-c}},N.prepTicks=function(e,t){var r=o.simpleMap(e.range,e.r2l,void 0,void 0,t);if(e._dtickInit=e.dtick,e._tick0Init=e.tick0,"auto"===e.tickmode||!e.dtick){var a,i=e.nticks;i||("category"===e.type||"multicategory"===e.type?(a=e.tickfont?1.2*(e.tickfont.size||12):15,i=e._length/a):(a="y"===e._id.charAt(0)?40:80,i=o.constrain(e._length/a,4,9)+1),"radialaxis"===e._name&&(i*=2)),"array"===e.tickmode&&(i*=100),e._roughDTick=Math.abs(r[1]-r[0])/i,N.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}"period"===e.ticklabelmode&&function(e){var t;function r(){return!(n(e.dtick)||"M"!==e.dtick.charAt(0))}var a=r(),i=N.getTickFormat(e);if(i){var o=e._dtickInit!==e.dtick;/%[fLQsSMX]/.test(i)||(/%[HI]/.test(i)?(t=L,o&&!a&&e.dticki&&d=l:h<=l;h=N.tickIncrement(h,e.dtick,s,e.calendar)){if(e.rangebreaks&&!s){if(h=u)break}if(C.length>g||h===I)break;I=h;var O=!1;d&&h!==(0|h)&&(O=!0),C.push({minor:O,value:h})}if(f&&function(e,t,r){for(var n=0;n0?(i=n-1,o=n):(i=n,o=n);var l,s=e[i].value,c=e[o].value,u=Math.abs(c-s),d=r||u,f=0;d>=y?f=u>=y&&u<=v?u:m:r===b&&d>=_?f=u>=_&&u<=x?u:b:d>=T?f=u>=T&&u<=w?u:k:r===M&&d>=M?f=M:d>=A?f=A:r===S&&d>=S?f=S:r===L&&d>=L&&(f=L),f>=u&&(f=u,l=!0);var h=a+f;if(t.rangebreaks&&f>0){for(var p=0,g=0;g<84;g++){var C=(g+.5)/84;t.maskBreaks(a*(1-C)+C*h)!==D&&p++}(f*=p/84)||(e[n].drop=!0),l&&u>M&&(f=u)}(f>0||0===n)&&(e[n].periodX=a+f/2)}}(C,e,e._definedDelta),e.rangebreaks){var z="y"===e._id.charAt(0),P=1;"auto"===e.tickmode&&(P=e.tickfont?e.tickfont.size:12);var j=NaN;for(p=C.length-1;p>-1;p--)if(C[p].drop)C.splice(p,1);else{C[p].value=we(C[p].value,e);var E=e.c2p(C[p].value);(z?j>E-P:ju||Fu&&(R.periodX=u),F10||"01-01"!==a.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12==0?"y":"m";else if(t>=A&&i<=10||t>=15*A)e._tickround="d";else if(t>=C&&i<=16||t>=L)e._tickround="M";else if(t>=I&&i<=19||t>=C)e._tickround="S";else{var o=e.l2r(r+t).replace(/^-/,"").length;e._tickround=Math.max(i,o)-20,e._tickround<0&&(e._tickround=4)}}else if(n(t)||"L"===t.charAt(0)){var l=e.range.map(e.r2d||Number);n(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var s=Math.max(Math.abs(l[0]),Math.abs(l[1])),c=Math.floor(Math.log(s)/Math.LN10+.01),u=void 0===e.minexponent?3:e.minexponent;Math.abs(c)>u&&(oe(e.exponentformat)&&!le(c)?e._tickexponent=3*Math.round((c-1)/3):e._tickexponent=c)}else e._tickround=null}function ae(e,t,r){var n=e.tickfont||{};return{x:t,dx:0,dy:0,text:r||"",fontSize:n.size,font:n.family,fontColor:n.color}}N.autoTicks=function(e,t){var r;function a(e){return Math.pow(e,Math.floor(Math.log(t)/Math.LN10))}if("date"===e.type){e.tick0=o.dateTick0(e.calendar,0);var i=2*t;if(i>m)t/=m,r=a(10),e.dtick="M"+12*re(t,r,X);else if(i>k)t/=k,e.dtick="M"+re(t,1,Q);else if(i>A){e.dtick=re(t,A,e._hasDayOfWeekBreaks?[1,2,7,14]:K);var l=N.getTickFormat(e),s="period"===e.ticklabelmode;s&&(e._rawTick0=e.tick0),/%[uVW]/.test(l)?e.tick0=o.dateTick0(e.calendar,2):e.tick0=o.dateTick0(e.calendar,1),s&&(e._dowTick0=e.tick0)}else i>L?e.dtick=re(t,L,Q):i>C?e.dtick=re(t,C,J):i>I?e.dtick=re(t,I,J):(r=a(10),e.dtick=re(t,r,X))}else if("log"===e.type){e.tick0=0;var c=o.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(c[1]-c[0])<1){var u=1.5*Math.abs((c[1]-c[0])/t);t=Math.abs(Math.pow(10,c[1])-Math.pow(10,c[0]))/u,r=a(10),e.dtick="L"+re(t,r,X)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type||"multicategory"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):_e(e)?(e.tick0=0,r=1,e.dtick=re(t,r,te)):(e.tick0=0,r=a(10),e.dtick=re(t,r,X));if(0===e.dtick&&(e.dtick=1),!n(e.dtick)&&"string"!=typeof e.dtick){var d=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(d)}},N.tickIncrement=function(e,t,a,i){var l=a?-1:1;if(n(t))return o.increment(e,l*t);var s=t.charAt(0),c=l*Number(t.substr(1));if("M"===s)return o.incrementMonth(e,c,i);if("L"===s)return Math.log(Math.pow(10,e)+c)/Math.LN10;if("D"===s){var u="D2"===t?ee:$,d=e+.01*l,f=o.roundUp(o.mod(d,1),u,a);return Math.floor(d)+Math.log(r.round(Math.pow(10,f),1))/Math.LN10}throw"unrecognized dtick "+String(t)},N.tickFirst=function(e,t){var a=e.r2l||Number,i=o.simpleMap(e.range,a,void 0,void 0,t),l=i[1] ")}else e._prevDateHead=s,c+="
"+s;t.text=c}(e,l,r,c):"log"===u?function(e,t,r,a,i){var l=e.dtick,s=t.x,c=e.tickformat,u="string"==typeof l&&l.charAt(0);if("never"===i&&(i=""),a&&"L"!==u&&(l="L3",u="L"),c||"L"===u)t.text=se(Math.pow(10,s),e,i,a);else if(n(l)||"D"===u&&o.mod(s+.01,1)<.1){var d=Math.round(s),f=Math.abs(d),h=e.exponentformat;"power"===h||oe(h)&&le(d)?(t.text=0===d?1:1===d?"10":"10"+(d>1?"":O)+f+"",t.fontSize*=1.25):("e"===h||"E"===h)&&f>2?t.text="1"+h+(d>0?"+":O)+f:(t.text=se(Math.pow(10,s),e,"","fakehover"),"D1"===l&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6))}else{if("D"!==u)throw"unrecognized dtick "+String(l);t.text=String(Math.round(Math.pow(10,o.mod(s,1)))),t.fontSize*=.75}if("D1"===e.dtick){var p=String(t.text).charAt(0);"0"!==p&&"1"!==p||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(s<0?.5:.25)))}}(e,l,0,c,m):"category"===u?(g=l,void 0===(v=e._categories[Math.round(g.x)])&&(v=""),g.text=String(v)):"multicategory"===u?function(e,t,r){var n=Math.round(t.x),a=e._categories[n]||[],i=void 0===a[1]?"":String(a[1]),o=void 0===a[0]?"":String(a[0]);r?t.text=o+" - "+i:(t.text=i,t.text2=o)}(e,l,r):_e(e)?function(e,t,r,n,a){if("radians"!==e.thetaunit||r)t.text=se(t.x,e,a,n);else{var i=t.x/180;if(0===i)t.text="0";else{var l=function(e){function t(e,t){return Math.abs(e-t)<=1e-6}var r=function(e){for(var r=1;!t(Math.round(e*r)/r,e);)r*=10;return r}(e),n=e*r,a=Math.abs(function e(r,n){return t(n,0)?r:e(n,r%n)}(n,r));return[Math.round(n/a),Math.round(r/a)]}(i);if(l[1]>=100)t.text=se(o.deg2rad(t.x),e,a,n);else{var s=t.x<0;1===l[1]?1===l[0]?t.text="ฯ€":t.text=l[0]+"ฯ€":t.text=["",l[0],"","โ„","",l[1],"","ฯ€"].join(""),s&&(t.text=O+t.text)}}}}(e,l,r,c,m):function(e,t,r,n,a){"never"===a?a="":"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(a="hide"),t.text=se(t.x,e,a,n)}(e,l,0,c,m),a||(e.tickprefix&&!p(e.showtickprefix)&&(l.text=e.tickprefix+l.text),e.ticksuffix&&!p(e.showticksuffix)&&(l.text+=e.ticksuffix)),"boundaries"===e.tickson||e.showdividers){var y=function(t){var r=e.l2p(t);return r>=0&&r<=e._length?t:null};l.xbnd=[y(l.x-.5),y(l.x+e.dtick-.5)]}return l},N.hoverLabelText=function(e,t,r){if(r!==D&&r!==t)return N.hoverLabelText(e,t)+" - "+N.hoverLabelText(e,r);var n="log"===e.type&&t<=0,a=N.tickText(e,e.c2l(n?-t:t),"hover").text;return n?0===t?"0":O+a:a};var ie=["f","p","n","ฮผ","m","","k","M","G","T"];function oe(e){return"SI"===e||"B"===e}function le(e){return e>14||e<-15}function se(e,t,r,a){var i=e<0,l=t._tickround,s=r||t.exponentformat||"B",c=t._tickexponent,u=N.getTickFormat(t),d=t.separatethousands;if(a){var f={exponentformat:s,minexponent:t.minexponent,dtick:"none"===t.showexponent?t.dtick:n(e)&&Math.abs(e)||1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};ne(f),l=(Number(f._tickround)||0)+4,c=f._tickexponent,t.hoverformat&&(u=t.hoverformat)}if(u)return t._numFormat(u)(e).replace(/-/g,O);var h,p=Math.pow(10,-l)/2;if("none"===s&&(c=0),(e=Math.abs(e))"+h+"
":"B"===s&&9===c?e+="B":oe(s)&&(e+=ie[c/3+5])),i?O+e:e}function ce(e,t){for(var r=[],n={},a=0;a1&&r=a.min&&e0)switch(e.type){case"date":case"linear":for(t=0;t=o(a)))){r=n;break}break;case"log":for(t=0;t=0,p=v(c,u[1])<=0,(d||h)&&(f||p))){r=n;break}}return r?r.value:e.tickformat},N.getSubplots=function(e,t){var r=e._fullLayout._subplots,n=r.cartesian.concat(r.gl2d||[]),a=t?N.findSubplotsWithAxis(n,t):n;return a.sort((function(e,t){var r=e.substr(1).split("y"),n=t.substr(1).split("y");return r[0]===n[0]?+r[1]-+n[1]:+r[0]-+n[0]})),a},N.findSubplotsWithAxis=function(e,t){for(var r=new RegExp("x"===t._id.charAt(0)?"^"+t._id+"y":t._id+"$"),n=[],a=0;a0?r.bottom-d:0,f)))),t.automargin){n={x:0,y:0,r:0,l:0,t:0,b:0};var h=[0,1];if("x"===p){if("b"===s?n[s]=t._depth:(n[s]=t._depth=Math.max(r.width>0?d-r.top:0,f),h.reverse()),r.width>0){var v=r.right-(t._offset+t._length);v>0&&(n.xr=1,n.r=v);var m=t._offset-r.left;m>0&&(n.xl=0,n.l=m)}}else if("l"===s?n[s]=t._depth=Math.max(r.height>0?d-r.left:0,f):(n[s]=t._depth=Math.max(r.height>0?r.right-d:0,f),h.reverse()),r.height>0){var y=r.bottom-(t._offset+t._length);y>0&&(n.yb=0,n.b=y);var x=t._offset-r.top;x>0&&(n.yt=1,n.t=x)}n[g]="free"===t.anchor?t.position:t._anchorAxis.domain[h[0]],t.title.text!==c._dfltTitle[p]&&(n[s]+=fe(t)+(t.title.standoff||0)),t.mirror&&"free"!==t.anchor&&((o={x:0,y:0,r:0,l:0,t:0,b:0})[u]=t.linewidth,t.mirror&&!0!==t.mirror&&(o[u]+=f),!0===t.mirror||"ticks"===t.mirror?o[g]=t._anchorAxis.domain[h[1]]:"all"!==t.mirror&&"allticks"!==t.mirror||(o[g]=[t._counterDomainMin,t._counterDomainMax][h[1]]))}J&&(l=i.getComponentMethod("rangeslider","autoMarginOpts")(e,t)),a.autoMargin(e,ge(t),n),a.autoMargin(e,ve(t),o),a.autoMargin(e,me(t),l)})),r.skipTitle||J&&"bottom"===t.side||X.push((function(){return function(e,t){var r,n=e._fullLayout,a=t._id,i=a.charAt(0),o=t.title.font.size;if(t.title.hasOwnProperty("standoff"))r=t._depth+t.title.standoff+fe(t);else{var l=-1!==(t.ticklabelposition||"").indexOf("inside");if("multicategory"===t.type)r=t._depth;else{var s=1.5*o;l&&(s=.5*o,"outside"===t.ticks&&(s+=t.ticklen)),r=10+s+(t.linewidth?t.linewidth-1:0)}l||(r+="x"===i?"top"===t.side?o*(t.showticklabels?1:0):o*(t.showticklabels?1.5:.5):"right"===t.side?o*(t.showticklabels?1:.5):o*(t.showticklabels?.5:0))}var c,d,h,p,g=N.getPxPosition(e,t);if("x"===i?(d=t._offset+t._length/2,h="top"===t.side?g-r:g+r):(h=t._offset+t._length/2,d="right"===t.side?g+r:g-r,c={rotate:"-90",offset:0}),"multicategory"!==t.type){var v=t._selections[t._id+"tick"];if(p={selection:v,side:t.side},v&&v.node()&&v.node().parentNode){var m=f.getTranslate(v.node().parentNode);p.offsetLeft=m.x,p.offsetTop=m.y}t.title.hasOwnProperty("standoff")&&(p.pad=0)}return u.draw(e,a+"title",{propContainer:t,propName:t._name+".title.text",placeholder:n._dfltTitle[i],avoid:p,transform:c,attributes:{x:d,y:h,"text-anchor":"middle"}})}(e,t)})),o.syncOrAsync(X)}}function K(e){var r,n,a,i,o,l,s=h+(e||"tick");return w[s]||(w[s]=(n=s,(r=t)._selections[n].size()?(a=1/0,i=-1/0,o=1/0,l=-1/0,r._selections[n].each((function(){var e=pe(this),t=f.bBox(e.node().parentNode);a=Math.min(a,t.top),i=Math.max(i,t.bottom),o=Math.min(o,t.left),l=Math.max(l,t.right)}))):(a=0,i=0,o=0,l=0),{top:a,bottom:i,left:o,right:l,height:i-a,width:l-o})),w[s]}},N.getTickSigns=function(e){var t=e._id.charAt(0),r={x:"top",y:"right"}[t],n=e.side===r?1:-1,a=[-1,1,n,-n];return"inside"!==e.ticks==("x"===t)&&(a=a.map((function(e){return-e}))),e.side&&a.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),a},N.makeTransTickFn=function(e){return"x"===e._id.charAt(0)?function(t){return l(e._offset+e.l2p(t.x),0)}:function(t){return l(0,e._offset+e.l2p(t.x))}},N.makeTransTickLabelFn=function(e){var t=function(e){var t=e.ticklabelposition||"",r=function(e){return-1!==t.indexOf(e)},n=r("top"),a=r("left"),i=r("right"),o=r("bottom"),l=r("inside"),s=o||a||n||i;if(!s&&!l)return[0,0];var c=e.side,u=s?(e.tickwidth||0)/2:0,d=3,f=e.tickfont?e.tickfont.size:12;return(o||n)&&(u+=f*j,d+=(e.linewidth||0)/2),(a||i)&&(u+=(e.linewidth||0)/2,d+=3),l&&"top"===c&&(d-=f*(1-j)),(a||n)&&(u=-u),"bottom"!==c&&"right"!==c||(d=-d),[s?u:0,l?d:0]}(e),r=t[0],n=t[1];return"x"===e._id.charAt(0)?function(t){return l(r+e._offset+e.l2p(ue(t)),n)}:function(t){return l(n,r+e._offset+e.l2p(ue(t)))}},N.makeTickPath=function(e,t,r,n){n=void 0!==n?n:e.ticklen;var a=e._id.charAt(0),i=(e.linewidth||1)/2;return"x"===a?"M0,"+(t+i*r)+"v"+n*r:"M"+(t+i*r)+",0h"+n*r},N.makeLabelFns=function(e,t,r){var a=e.ticklabelposition||"",i=function(e){return-1!==a.indexOf(e)},l=i("top"),s=i("left"),c=i("right"),u=i("bottom")||s||l||c,d=i("inside"),f="inside"===a&&"inside"===e.ticks||!d&&"outside"===e.ticks&&"boundaries"!==e.tickson,h=0,p=0,g=f?e.ticklen:0;if(d?g*=-1:u&&(g=0),f&&(h+=g,r)){var v=o.deg2rad(r);h=g*Math.cos(v)+1,p=g*Math.sin(v)}e.showticklabels&&(f||e.showline)&&(h+=.2*e.tickfont.size);var m,y,x,b,_,w={labelStandoff:h+=(e.linewidth||1)/2*(d?-1:1),labelShift:p},k=0,T=e.side,M=e._id.charAt(0),A=e.tickangle;if("x"===M)b=(_=!d&&"bottom"===T||d&&"top"===T)?1:-1,d&&(b*=-1),m=p*b,y=t+h*b,x=_?1:-.2,90===Math.abs(A)&&(d?x+=P:x=-90===A&&"bottom"===T?j:90===A&&"top"===T?P:.5,k=P/2*(A/90)),w.xFn=function(e){return e.dx+m+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*x},w.anchorFn=function(e,t){if(u){if(s)return"end";if(c)return"start"}return n(t)&&0!==t&&180!==t?t*b<0!==d?"end":"start":"middle"},w.heightFn=function(t,r,n){return r<-60||r>60?-.5*n:"top"===e.side!==d?-n:0};else if("y"===M){if(b=(_=!d&&"left"===T||d&&"right"===T)?1:-1,d&&(b*=-1),m=h,y=p*b,x=0,d||90!==Math.abs(A)||(x=-90===A&&"left"===T||90===A&&"right"===T?j:.5),d){var S=n(A)?+A:0;if(0!==S){var L=o.deg2rad(S);k=Math.abs(Math.sin(L))*j*b,x=0}}w.xFn=function(e){return e.dx+t-(m+e.fontSize*x)*b+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*P},w.anchorFn=function(e,t){return n(t)&&90===Math.abs(t)?"middle":_?"end":"start"},w.heightFn=function(t,r,n){return"right"===e.side&&(r*=-1),r<-30?-n:r<30?-.5*n:0}}return w},N.drawTicks=function(e,t,r){r=r||{};var n=t._id+"tick",a=r.vals;"period"===t.ticklabelmode&&(a=a.slice()).shift();var i=r.layer.selectAll("path."+n).data(t.ticks?a:[],de);i.exit().remove(),i.enter().append("path").classed(n,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(d.stroke,t.tickcolor).style("stroke-width",f.crispRound(e,t.tickwidth,1)+"px").attr("d",r.path),i.attr("transform",r.transFn)},N.drawGrid=function(e,t,r){r=r||{};var n=t._id+"grid",a=r.vals,i=r.counterAxis;if(!1===t.showgrid)a=[];else if(i&&N.shouldShowZeroLine(e,t,i))for(var o="array"===t.tickmode,l=0;ll||a.leftl||a.top+(t.tickangle?0:e.fontSize/4)1)for(n=1;n0||f<0){var m={left:[-p,0],right:[p,0],top:[0,-p],bottom:[0,p]}[b.side];t.attr("transform",l(m[0],m[1]))}}}return j.call(E),z&&(L?j.on(".opacity",null):(M=0,A=!0,j.text(y).on("mouseover.opacity",(function(){r.select(this).transition().duration(f.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){r.select(this).transition().duration(f.HIDE_PLACEHOLDER).style("opacity",0)}))),j.call(d.makeEditable,{gd:e}).on("edit",(function(t){void 0!==x?i.call("_guiRestyle",e,m,t,x):i.call("_guiRelayout",e,m,t)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(E)})).on("input",(function(e){this.text(e||" ").call(d.positionText,_.x,_.y)}))),j.classed("js-placeholder",A),k}}})),s.register("7cQhP",(function(e,t){"use strict";var r=s("4Wia9"),n=s("6jof9").utcFormat,a=s("6qr5h"),i=s("1nIvY"),o=i.cleanNumber,l=i.ms2DateTime,c=i.dateTime2ms,u=i.ensureNumber,d=i.isArrayOrTypedArray,f=s("10TEj"),h=f.FP_SAFE,p=f.BADNUM,g=f.LOG_CLIP,v=f.ONEWEEK,m=f.ONEDAY,y=f.ONEHOUR,x=f.ONEMIN,b=f.ONESEC,_=s("22HUI"),w=s("5Lafm"),k=w.HOUR_PATTERN,T=w.WEEKDAY_PATTERN;function M(e){return Math.pow(10,e)}function A(e){return null!=e}e.exports=function(e,t){t=t||{};var s=e._id||"x",f=s.charAt(0);function S(t,r){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&r&&e.range&&2===e.range.length){var n=e.range[0],a=e.range[1];return.5*(n+a-2*g*Math.abs(n-a))}return p}function L(t,r,n,o){if((o||{}).msUTC&&a(t))return+t;var l=c(t,n||e.calendar);if(l===p){if(!a(t))return p;t=+t;var s=Math.floor(10*i.mod(t+.05,1)),u=Math.round(t-s/10);l=c(new Date(u))+s/10}return l}function C(t,r,n){return l(t,r,n||e.calendar)}function I(t){return e._categories[Math.round(t)]}function O(t){if(A(t)){if(void 0===e._categoriesMap&&(e._categoriesMap={}),void 0!==e._categoriesMap[t])return e._categoriesMap[t];e._categories.push("number"==typeof t?String(t):t);var r=e._categories.length-1;return e._categoriesMap[t]=r,r}return p}function D(t){if(e._categoriesMap)return e._categoriesMap[t]}function z(e){var t=D(e);return void 0!==t?t:a(e)?+e:void 0}function P(e){return a(e)?+e:D(e)}function j(e,t,n){return r.round(n+t*e,2)}function E(e,t,r){return(e-r)/t}var R=function(t){return a(t)?j(t,e._m,e._b):p},N=function(t){return E(t,e._m,e._b)};if(e.rangebreaks){var F="y"===f;R=function(t){if(!a(t))return p;var r=e._rangebreaks.length;if(!r)return j(t,e._m,e._b);var n=F;e.range[0]>e.range[1]&&(n=!n);for(var i=n?-1:1,o=i*t,l=0,s=0;su)){l=o<(c+u)/2?s:s+1;break}l=s+1}var d=e._B[l]||0;return isFinite(d)?j(t,e._m2,d):0},N=function(t){var r=e._rangebreaks.length;if(!r)return E(t,e._m,e._b);for(var n=0,a=0;ae._rangebreaks[a].pmax&&(n=a+1);return E(t,e._m2,e._B[n])}}e.c2l="log"===e.type?S:u,e.l2c="log"===e.type?M:u,e.l2p=R,e.p2l=N,e.c2p="log"===e.type?function(e,t){return R(S(e,t))}:R,e.p2c="log"===e.type?function(e){return M(N(e))}:N,-1!==["linear","-"].indexOf(e.type)?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=o,e.c2d=e.c2r=e.l2d=e.l2r=u,e.d2p=e.r2p=function(t){return e.l2p(o(t))},e.p2d=e.p2r=N,e.cleanPos=u):"log"===e.type?(e.d2r=e.d2l=function(e,t){return S(o(e),t)},e.r2d=e.r2c=function(e){return M(o(e))},e.d2c=e.r2l=o,e.c2d=e.l2r=u,e.c2r=S,e.l2d=M,e.d2p=function(t,r){return e.l2p(e.d2r(t,r))},e.p2d=function(e){return M(N(e))},e.r2p=function(t){return e.l2p(o(t))},e.p2r=N,e.cleanPos=u):"date"===e.type?(e.d2r=e.r2d=i.identity,e.d2c=e.r2c=e.d2l=e.r2l=L,e.c2d=e.c2r=e.l2d=e.l2r=C,e.d2p=e.r2p=function(t,r,n){return e.l2p(L(t,0,n))},e.p2d=e.p2r=function(e,t,r){return C(N(e),t,r)},e.cleanPos=function(t){return i.cleanDate(t,p,e.calendar)}):"category"===e.type?(e.d2c=e.d2l=O,e.r2d=e.c2d=e.l2d=I,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=P(t);return void 0!==r?r:e.fraction2r(.5)},e.l2r=e.c2r=u,e.r2l=P,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return I(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return"string"==typeof e&&""!==e?e:u(e)}):"multicategory"===e.type&&(e.r2d=e.c2d=e.l2d=I,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=z(t);return void 0!==r?r:e.fraction2r(.5)},e.r2c_just_indices=D,e.l2r=e.c2r=u,e.r2l=z,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return I(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return Array.isArray(e)||"string"==typeof e&&""!==e?e:u(e)},e.setupMultiCategory=function(r){var n,a,o=e._traceIndices,l=e._matchGroup;if(l&&0===e._categories.length)for(var c in l)if(c!==s){var u=t[_.id2name(c)];o=o.concat(u._traceIndices)}var h=[[0,{}],[0,{}]],p=[];for(n=0;nh&&(l[n]=h),l[0]===l[1]){var c=Math.max(1,Math.abs(1e-6*l[0]));l[0]-=c,l[1]+=c}}else i.nestedProperty(e,t).set(o)},e.setScale=function(r){var n=t._size;if(e.overlaying){var a=_.getFromId({_fullLayout:t},e.overlaying);e.domain=a.domain}var i=r&&e._r?"_r":"range",o=e.calendar;e.cleanRange(i);var l,s,c=e.r2l(e[i][0],o),u=e.r2l(e[i][1],o),d="y"===f;if(d?(e._offset=n.t+(1-e.domain[1])*n.h,e._length=n.h*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u):(e._offset=n.l+e.domain[0]*n.w,e._length=n.w*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c),e._rangebreaks=[],e._lBreaks=0,e._m2=0,e._B=[],e.rangebreaks&&(e._rangebreaks=e.locateBreaks(Math.min(c,u),Math.max(c,u)),e._rangebreaks.length)){for(l=0;lu&&(h=!h),h&&e._rangebreaks.reverse();var p=h?-1:1;for(e._m2=p*e._length/(Math.abs(u-c)-e._lBreaks),e._B.push(-e._m2*(d?u:c)),l=0;la&&(a+=7,la&&(a+=24,l=n&&l=n&&t=l.min&&(el.max&&(l.max=n),a=!1)}a&&c.push({min:e,max:n})}};for(n=0;n2*l}(f,t))return"date";var m="strict"!==n.autotypenumbers;return function(e,t){for(var r=e.length,n=d(r),i=0,o=0,s={},u=0;u2*i}(f,m)?"category":function(e,t){for(var r=e.length,n=0;n0&&((k=L-l(x)-s(b))>C?T/k>I&&(_=x,w=b,I=T/k):T/L>I&&(_={val:x.val,nopad:1},w={val:b.val,nopad:1},I=T/L));if(g===v){var O=g-1,D=g+1;if(A)if(0===g)i=[0,1];else{var z=(g>0?p:u).reduce((function(e,t){return Math.max(e,s(t))}),0),P=g/(1-Math.min(.5,z/L));i=g>0?[0,P]:[P,0]}else i=S?[Math.max(0,O),Math.max(1,D)]:[O,D]}else A?(_.val>=0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:0,nopad:1})):S&&(_.val-I*l(_)<0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:1,nopad:1})),I=(w.val-_.val-d(t,x.val,b.val))/(L-l(_)-s(w)),i=[_.val-I*l(_),w.val+I*s(w)];return m&&i.reverse(),n.simpleMap(i,t.l2r||Number)}function d(e,t,r){var n=0;if(e.rangebreaks)for(var a=e.locateBreaks(t,r),i=0;i=r&&(c.extrapad||!o)){l=!1;break}a(t,c.val)&&c.pad<=r&&(o||!c.extrapad)&&(e.splice(s,1),s--)}if(l){var u=i&&0===t;e.push({val:t,pad:u?0:r,extrapad:!u&&o})}}function m(e){return r(e)&&Math.abs(e)=t}e.exports={getAutoRange:u,makePadFn:f,doAutoRange:function(e,t,r){if(t.setScale(),t.autorange){t.range=r?r.slice():u(e,t),t._r=t.range.slice(),t._rl=n.simpleMap(t._r,t.r2l);var a=t._input,o={};o[t._attr+".range"]=t.range,o[t._attr+".autorange"]=t.autorange,i.call("_storeDirectGUIEdit",e.layout,e._fullLayout._preGUI,o),a.range=t.range.slice(),a.autorange=t.autorange}var l=t._anchorAxis;if(l&&l.rangeslider){var s=l.rangeslider[t._name];s&&"auto"===s.rangemode&&(s.range=u(e,t)),l._input.rangeslider[t._name]=n.extendFlat({},s)}},findExtremes:function(e,t,n){n||(n={}),e._m||e.setScale();var i,o,l,s,c,u,d,f,h,v=[],y=[],x=t.length,b=n.padded||!1,_=n.tozero&&("linear"===e.type||"-"===e.type),w="log"===e.type,k=!1,T=n.vpadLinearized||!1;function M(e){if(Array.isArray(e))return k=!0,function(t){return Math.max(Number(e[t]||0),0)};var t=Math.max(Number(e||0),0);return function(){return t}}var A=M((e._m>0?n.ppadplus:n.ppadminus)||n.ppad||0),S=M((e._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),L=M(n.vpadplus||n.vpad),C=M(n.vpadminus||n.vpad);if(!k){if(f=1/0,h=-1/0,w)for(i=0;i0&&(f=o),o>h&&o-a&&(f=o),o>h&&o=D;i--)O(i);return{min:v,max:y,opts:n}},concatExtremes:h}})),s.register("1Cu9q",(function(e,t){var n,a;r(e.exports,"updateFx",(()=>a),(e=>a=e)),r(e.exports,"initInteractions",(()=>n),(e=>n=e));var i=s("4Wia9"),o=s("FNU2H"),l=s("NlhQs"),c=s("3kB5v"),u=s("JiqFZ").makeDragBox,d=s("5Lafm").DRAGGERSIZE;n=function(e){var t=e._fullLayout;if(e._context.staticPlot)i.select(e).selectAll(".drag").remove();else if(t._has("cartesian")||t._has("splom")){Object.keys(t._plots||{}).sort((function(e,r){if((t._plots[e].mainplot&&!0)===(t._plots[r].mainplot&&!0)){var n=e.split("y"),a=r.split("y");return n[0]===a[0]?Number(n[1]||1)-Number(a[1]||1):Number(n[0]||1)-Number(a[0]||1)}return t._plots[e].mainplot?1:-1})).forEach((function(r){var n=t._plots[r],a=n.xaxis,i=n.yaxis;if(!n.mainplot){var s=u(e,n,a._offset,i._offset,a._length,i._length,"ns","ew");s.onmousemove=function(t){e._fullLayout._rehover=function(){e._fullLayout._hoversubplot===r&&e._fullLayout._plots[r]&&o.hover(e,t,r)},o.hover(e,t,r),e._fullLayout._lasthover=s,e._fullLayout._hoversubplot=r},s.onmouseout=function(t){e._dragging||(e._fullLayout._hoversubplot=null,l.unhover(e,t))},e._context.showAxisDragHandles&&(u(e,n,a._offset-d,i._offset-d,d,d,"n","w"),u(e,n,a._offset+a._length,i._offset-d,d,d,"n","e"),u(e,n,a._offset-d,i._offset+i._length,d,d,"s","w"),u(e,n,a._offset+a._length,i._offset+i._length,d,d,"s","e"))}if(e._context.showAxisDragHandles){if(r===a._mainSubplot){var c=a._mainLinePosition;"top"===a.side&&(c-=d),u(e,n,a._offset+.1*a._length,c,.8*a._length,d,"","ew"),u(e,n,a._offset,c,.1*a._length,d,"","w"),u(e,n,a._offset+.9*a._length,c,.1*a._length,d,"","e")}if(r===i._mainSubplot){var f=i._mainLinePosition;"right"!==i.side&&(f-=d),u(e,n,f,i._offset+.1*i._length,d,.8*i._length,"ns",""),u(e,n,f,i._offset+.9*i._length,d,.1*i._length,"s",""),u(e,n,f,i._offset,d,.1*i._length,"n","")}}}));var r=t._hoverlayer.node();r.onmousemove=function(r){r.target=e._fullLayout._lasthover,o.hover(e,r,t._hoversubplot)},r.onclick=function(t){t.target=e._fullLayout._lasthover,o.click(e,t)},r.onmousedown=function(t){e._fullLayout._lasthover.onmousedown(t)},a(e)}},a=function(e){var t=e._fullLayout,r="pan"===t.dragmode?"move":"crosshair";c(t._draggers,r)}})),s.register("FNU2H",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY"),a=s("NlhQs"),i=s("2MtC7"),o=s("1U5js"),l=s("28DIj");e.exports={moduleType:"component",name:"fx",constants:s("1Qgov"),schema:{layout:o},attributes:s("tikJy"),layoutAttributes:o,supplyLayoutGlobalDefaults:s("3yYrT"),supplyDefaults:s("Vckba"),supplyLayoutDefaults:s("RJwVS"),calc:s("1CcKf"),getDistanceFunction:i.getDistanceFunction,getClosest:i.getClosest,inbox:i.inbox,quadrature:i.quadrature,appendArrayPointValue:i.appendArrayPointValue,castHoverOption:function(e,t,r){return n.castOption(e,t,"hoverlabel."+r)},castHoverinfo:function(e,t,r){return n.castOption(e,r,"hoverinfo",(function(r){return n.coerceHoverinfo({hoverinfo:r},{_module:e._module},t)}))},hover:l.hover,unhover:a.unhover,loneHover:l.loneHover,loneUnhover:function(e){var t=n.isD3Selection(e)?e:r.select(e);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()},click:s("7myOX")}})),s.register("NlhQs",(function(e,t){"use strict";var r=s("4PI1I"),n=s("5aT4w"),a=s("3waiA"),i=s("1nIvY").removeElement,o=s("5Lafm"),l=e.exports={};l.align=s("59oIZ"),l.getCursor=s("3cTuS");var c=s("4HygO");function u(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function d(e){return r(e.changedTouches?e.changedTouches[0]:e,document.body)}l.unhover=c.wrapped,l.unhoverRaw=c.raw,l.init=function(e){var t,r,s,c,f,h,p,g,v=e.gd,m=1,y=v._context.doubleClickDelay,x=e.element;v._mouseDownTime||(v._mouseDownTime=0),x.style.pointerEvents="all",x.onmousedown=_,a?(x._ontouchstart&&x.removeEventListener("touchstart",x._ontouchstart),x._ontouchstart=_,x.addEventListener("touchstart",_,{passive:!1})):x.ontouchstart=_;var b=e.clampFn||function(e,t,r){return Math.abs(e)y&&(m=Math.max(m-1,1)),v._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(m,h),!g){var r;try{r=new MouseEvent("click",t)}catch(e){var a=d(t);(r=document.createEvent("MouseEvents")).initMouseEvent("click",t.bubbles,t.cancelable,t.view,t.detail,t.screenX,t.screenY,a[0],a[1],t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget)}p.dispatchEvent(r)}v._dragging=!1,v._dragged=!1}else v._dragged=!1}},l.coverSlip=u})),s.register("4PI1I",(function(e,t){var r={left:0,top:0};e.exports=function(e,t,n){t=t||e.currentTarget||e.srcElement,Array.isArray(n)||(n=[0,0]);var a,i=e.clientX||0,o=e.clientY||0,l=(a=t)===window||a===document||a===document.body?r:a.getBoundingClientRect();return n[0]=i-l.left,n[1]=o-l.top,n}})),s.register("3waiA",(function(e,t){"use strict";var r=s("6nPAE");e.exports=r&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return e}()})),s.register("59oIZ",(function(e,t){"use strict";e.exports=function(e,t,r,n,a){var i=(e-r)/(n-r),o=i+t/(n-r),l=(i+o)/2;return"left"===a||"bottom"===a?i:"center"===a||"middle"===a?l:"right"===a||"top"===a?o:i<2/3-l?i:o>4/3-l?o:l}})),s.register("3cTuS",(function(e,t){"use strict";var r=s("1nIvY"),n=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];e.exports=function(e,t,a,i){return e="left"===a?0:"center"===a?1:"right"===a?2:r.constrain(Math.floor(3*e),0,2),t="bottom"===i?0:"middle"===i?1:"top"===i?2:r.constrain(Math.floor(3*t),0,2),n[t][e]}})),s.register("4HygO",(function(e,t){"use strict";var r=s("5yBVq"),n=s("3RMbo"),a=s("44pv8").getGraphDiv,i=s("1Qgov"),o=e.exports={};o.wrapped=function(e,t,r){(e=a(e))._fullLayout&&n.clear(e._fullLayout._uid+i.HOVERID),o.raw(e,t,r)},o.raw=function(e,t){var n=e._fullLayout,a=e._hoverdata;t||(t={}),t.target&&!1===r.triggerHandler(e,"plotly_beforehover",t)||(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),e._hoverdata=void 0,t.target&&a&&e.emit("plotly_unhover",{event:t,points:a}))}})),s.register("28DIj",(function(e,t){var n,a;r(e.exports,"hover",(()=>a),(e=>a=e)),r(e.exports,"loneHover",(()=>n),(e=>n=e));var i=s("4Wia9"),o=s("6qr5h"),l=s("3Twc4"),c=s("1nIvY"),u=c.strTranslate,d=c.strRotate,f=s("5yBVq"),h=s("49Q6h"),p=s("7tQKZ"),g=s("7jar4"),v=s("3N5m7"),m=s("NlhQs"),y=s("1nE8l"),x=s("4Hxcc"),b=s("2MtC7"),_=s("1Qgov"),w=s("3YXj5"),k=s("Zg88i"),T=_.YANGLE,M=Math.PI*T/180,A=1/Math.sin(M),S=Math.cos(M),L=Math.sin(M),C=_.HOVERARROWSIZE,I=_.HOVERTEXTPAD;function O(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa,e.ya||""].join(",")}a=function(e,t,r,n){e=c.getGraphDiv(e),c.throttle(e._fullLayout._uid+_.HOVERID,_.HOVERMINTIME,(function(){!function(e,t,r,n){r||(r="xy");var a=Array.isArray(r)?r:[r],l=e._fullLayout,s=l._plots||[],u=s[r],d=l._has("cartesian");if(u){var h=u.overlays.map((function(e){return e.id}));a=a.concat(h)}for(var g=a.length,y=new Array(g),_=new Array(g),w=!1,k=0;ky[0]._length||ee<0||ee>_[0]._length)return m.unhoverRaw(e,t)}else $="xpx"in t?t.xpx:y[0]._length/2,ee="ypx"in t?t.ypx:_[0]._length/2;if(t.pointerX=$+y[0]._offset,t.pointerY=ee+_[0]._offset,L="xval"in t?b.flat(a,t.xval):b.p2c(y,$),C="yval"in t?b.flat(a,t.yval):b.p2c(_,ee),!o(L[0])||!o(C[0]))return c.warn("Fx.hover failed",t,e),m.unhoverRaw(e,t)}var ne=1/0;function ae(e,r){for(D=0;DG&&(X.splice(0,G),ne=X[0].distance),d&&0!==W&&0===X.length){Y.distance=W,Y.index=!1;var f=F._module.hoverPoints(Y,q,V,"closest",l._hoverlayer);if(f&&(f=f.filter((function(e){return e.spikeDistance<=W}))),f&&f.length){var h,p=f.filter((function(e){return e.xa.showspikes&&"hovered data"!==e.xa.spikesnap}));if(p.length){var g=p[0];o(g.x0)&&o(g.y0)&&(h=oe(g),(!J.vLinePoint||J.vLinePoint.spikeDistance>h.spikeDistance)&&(J.vLinePoint=h))}var m=f.filter((function(e){return e.ya.showspikes&&"hovered data"!==e.ya.spikesnap}));if(m.length){var x=m[0];o(x.x0)&&o(x.y0)&&(h=oe(x),(!J.hLinePoint||J.hLinePoint.spikeDistance>h.spikeDistance)&&(J.hLinePoint=h))}}}}}function ie(e,t){for(var r,n=null,a=1/0,i=0;i1||X.length>1)||"closest"===S&&K&&X.length>1,Ae=v.combine(l.plot_bgcolor||v.background,l.paper_bgcolor),Se={hovermode:S,rotateLabels:Me,bgColor:Ae,container:l._hoverlayer,outerContainer:l._paperdiv,commonLabelOpts:l.hoverlabel,hoverdistance:l.hoverdistance},Le=z(X,Se,e);if(b.isUnifiedHover(S)||(function(e,t,r){var n,a,i,o,l,s,c,u=0,d=1,f=e.size(),h=new Array(f),p=0;function g(e){var t=e[0],r=e[e.length-1];if(a=t.pmin-t.pos-t.dp+t.size,i=r.pos+r.dp+r.size-t.pmax,a>.01){for(l=e.length-1;l>=0;l--)e[l].dp+=a;n=!1}if(!(i<.01)){if(a<-.01){for(l=e.length-1;l>=0;l--)e[l].dp-=i;n=!1}if(n){var c=0;for(o=0;ot.pmax&&c++;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos>t.pmax-1&&(s.del=!0,c--);for(o=0;o=0;l--)e[l].dp-=i;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos+s.dp+s.size>t.pmax&&(s.del=!0,c--)}}}for(e.each((function(e){var n=e[t],a="x"===n._id.charAt(0),i=n.range;0===p&&i&&i[0]>i[1]!==a&&(d=-1),h[p++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(a?A:1)/2,pmin:0,pmax:a?r.width:r.height}]})),h.sort((function(e,t){return e[0].posref-t[0].posref||d*(t[0].traceIndex-e[0].traceIndex)}));!n&&u<=f;){for(u++,n=!0,o=0;o.01&&y.pmin===x.pmin&&y.pmax===x.pmax){for(l=m.length-1;l>=0;l--)m[l].dp+=a;for(v.push.apply(v,m),h.splice(o+1,1),c=0,l=v.length-1;l>=0;l--)c+=v[l].dp;for(i=c/v.length,l=v.length-1;l>=0;l--)v[l].dp-=i;n=!1}else o++}h.forEach(g)}for(o=h.length-1;o>=0;o--){var b=h[o];for(l=b.length-1;l>=0;l--){var _=b[l],w=_.datum;w.offset=_.dp,w.del=_.del}}}(Le,Me?"xa":"ya",l),j(Le,Me,l._invScaleX,l._invScaleY)),t.target&&t.target.tagName){var Ce=x.getComponentMethod("annotations","hasClickToShow")(e,_e);p(i.select(t.target),Ce?"pointer":"")}t.target&&!n&&function(e,t,r){if(!r||r.length!==e._hoverdata.length)return!0;for(var n=r.length-1;n>=0;n--){var a=r[n],i=e._hoverdata[n];if(a.curveNumber!==i.curveNumber||String(a.pointNumber)!==String(i.pointNumber)||String(a.pointNumbers)!==String(i.pointNumbers))return!0}return!1}(e,0,be)&&(be&&e.emit("plotly_unhover",{event:t,points:be}),e.emit("plotly_hover",{event:t,points:e._hoverdata,xaxes:y,yaxes:_,xvals:L,yvals:C}))}(e,t,r,n)}))},n=function(e,t){var r=!0;Array.isArray(e)||(r=!1,e=[e]);var n=e.map((function(e){return{color:e.color||v.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,eventData:e.eventData||!1,hovertemplateLabels:e.hovertemplateLabels||!1}})),a=i.select(t.container),o=t.outerContainer?i.select(t.outerContainer):a,l={hovermode:"closest",rotateLabels:!1,bgColor:t.bgColor||v.background,container:a,outerContainer:o},s=z(n,l,t.gd),c=0,u=0;s.sort((function(e,t){return e.y0-t.y0})).each((function(e,r){var n=e.y0-e.by/2;e.offset=n-5([\s\S]*)<\/extra>/;function z(e,t,r){var n=r._fullLayout,a=t.hovermode,o=t.rotateLabels,l=t.bgColor,s=t.container,f=t.outerContainer,p=t.commonLabelOpts||{},m=t.fontFamily||_.HOVERFONT,y=t.fontSize||_.HOVERFONTSIZE,x=e[0],M=x.xa,A=x.ya,S="y"===a.charAt(0)?"yLabel":"xLabel",L=x[S],D=(String(L)||"").split(" ")[0],z=f.node().getBoundingClientRect(),j=z.top,E=z.width,R=z.height,N=void 0!==L&&x.distance<=t.hoverdistance&&("x"===a||"y"===a);if(N){var F,H,B=!0;for(F=0;Fn.width-S?(_=n.width-S,o.attr("d","M"+(S-C)+",0L"+S+","+T+C+"v"+T+(2*I+k.height)+"H-"+S+"V"+T+C+"H"+(S-2*C)+"Z")):o.attr("d","M0,0L"+C+","+T+C+"H"+(I+k.width/2)+"v"+T+(2*I+k.height)+"H-"+(I+k.width/2)+"V"+T+C+"H-"+C+"Z")}else{var O,D,z;"right"===A.side?(O="start",D=1,z="",_=M._offset+M._length):(O="end",D=-1,z="-",_=M._offset),w=A._offset+(x.y0+x.y1)/2,l.attr("text-anchor",O),o.attr("d","M0,0L"+z+C+","+C+"V"+(I+k.height/2)+"h"+z+(2*I+k.width)+"V-"+(I+k.height/2)+"H"+z+C+"V-"+C+"Z");var P,E=k.height/2,R=j-k.top-E,N="clip"+n._uid+"commonlabel"+A._id;if(_=0?te-=ae:te+=2*I;var ie=ne.height+2*I,oe=ee+ie>=R;return ie<=R&&(ee<=j?ee=A._offset+2*I:oe&&(ee=R-ie)),re.attr("transform",u(te,ee)),re}var le=s.selectAll("g.hovertext").data(e,(function(e){return O(e)}));return le.enter().append("g").classed("hovertext",!0).each((function(){var e=i.select(this);e.append("rect").call(v.fill,v.addOpacity(l,.8)),e.append("text").classed("name",!0),e.append("path").style("stroke-width","1px"),e.append("text").classed("nums",!0).call(g.font,m,y)})),le.exit().remove(),le.each((function(e){var t=i.select(this).attr("transform",""),s=e.color;Array.isArray(s)&&(s=s[e.eventData[0].pointNumber]);var c=e.bgcolor||s,f=v.combine(v.opacity(c)?c:v.defaultLine,l),p=v.combine(v.opacity(s)?s:v.defaultLine,l),x=e.borderColor||v.contrast(f),b=P(e,N,a,n,L,t),_=b[0],w=b[1],k=t.select("text.nums").call(g.font,e.fontFamily||m,e.fontSize||y,e.fontColor||x).text(_).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r),M=t.select("text.name"),A=0,S=0;if(w&&w!==_){M.call(g.font,e.fontFamily||m,e.fontSize||y,p).text(w).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r);var O=M.node().getBoundingClientRect();A=O.width+2*I,S=O.height+2*I}else M.remove(),t.select("rect").remove();t.select("path").style({fill:f,stroke:x});var D,z,F=k.node().getBoundingClientRect(),H=e.xa._offset+(e.x0+e.x1)/2,B=e.ya._offset+(e.y0+e.y1)/2,U=Math.abs(e.x1-e.x0),q=Math.abs(e.y1-e.y0),V=F.width+C+I+A;if(e.ty0=j-F.top,e.bx=F.width+2*I,e.by=Math.max(F.height+2*I,S),e.anchor="start",e.txwidth=F.width,e.tx2width=A,e.offset=0,o)e.pos=H,D=B+q/2+V<=R,z=B-q/2-V>=0,"top"!==e.idealAlign&&D||!z?D?(B+=q/2,e.anchor="start"):e.anchor="middle":(B-=q/2,e.anchor="end");else if(e.pos=B,D=H+U/2+V<=E,z=H-U/2-V>=0,"left"!==e.idealAlign&&D||!z)if(D)H+=U/2,e.anchor="start";else{e.anchor="middle";var Y=V/2,G=H+Y-E,Z=H-Y;G>0&&(H-=G),Z<0&&(H+=-Z)}else H-=U/2,e.anchor="end";k.attr("text-anchor",e.anchor),A&&M.attr("text-anchor",e.anchor),t.attr("transform",u(H,B)+(o?d(T):""))})),le}function P(e,t,r,n,a,i){var o="",l="";void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&(e.trace._meta&&(e.name=c.templateString(e.name,e.trace._meta)),o=F(e.name,e.nameLength)),void 0!==e.zLabel?(void 0!==e.xLabel&&(l+="x: "+e.xLabel+"
"),void 0!==e.yLabel&&(l+="y: "+e.yLabel+"
"),"choropleth"!==e.trace.type&&"choroplethmapbox"!==e.trace.type&&(l+=(l?"z: ":"")+e.zLabel)):t&&e[r.charAt(0)+"Label"]===a?l=e[("x"===r.charAt(0)?"y":"x")+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&"scattercarpet"!==e.trace.type&&(l=e.yLabel):l=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",!e.text&&0!==e.text||Array.isArray(e.text)||(l+=(l?"
":"")+e.text),void 0!==e.extraText&&(l+=(l?"
":"")+e.extraText),i&&""===l&&!e.hovertemplate&&(""===o&&i.remove(),l=o);var s=n._d3locale,u=e.hovertemplate||!1,d=e.hovertemplateLabels||e,f=e.eventData[0]||{};return u&&(l=(l=c.hovertemplateString(u,d,s,f,e.trace._meta)).replace(D,(function(t,r){return o=F(r,e.nameLength),""}))),[l,o]}function j(e,t,r,n){var a=function(e){return e*r},o=function(e){return e*n};e.each((function(e){var r=i.select(this);if(e.del)return r.remove();var n=r.select("text.nums"),l=e.anchor,s="end"===l?-1:1,c={start:1,end:-1,middle:0}[l],u=c*(C+I),d=u+c*(e.txwidth+I),f=0,p=e.offset,v="middle"===l;v&&(u-=e.tx2width/2,d+=e.txwidth/2+I),t&&(p*=-L,f=e.offset*S),r.select("path").attr("d",v?"M-"+a(e.bx/2+e.tx2width/2)+","+o(p-e.by/2)+"h"+a(e.bx)+"v"+o(e.by)+"h-"+a(e.bx)+"Z":"M0,0L"+a(s*C+f)+","+o(C+p)+"v"+o(e.by/2-C)+"h"+a(s*e.bx)+"v-"+o(e.by)+"H"+a(s*C+f)+"V"+o(p-C)+"Z");var m=f+u,y=p+e.ty0-e.by/2+I,x=e.textAlign||"auto";"auto"!==x&&("left"===x&&"start"!==l?(n.attr("text-anchor","start"),m=v?-e.bx/2-e.tx2width/2+I:-e.bx-I):"right"===x&&"end"!==l&&(n.attr("text-anchor","end"),m=v?e.bx/2-e.tx2width/2-I:e.bx+I)),n.call(h.positionText,a(m),o(y)),e.tx2width&&(r.select("text.name").call(h.positionText,a(d+c*I+f),o(p+e.ty0-e.by/2+I)),r.select("rect").call(g.setRect,a(d+(c-1)*e.tx2width/2+f),o(p-e.by/2-1),a(e.tx2width),o(e.by+2)))}))}function E(e,t){var r=e.index,n=e.trace||{},a=e.cd[0],i=e.cd[r]||{};function l(e){return e||o(e)&&0===e}var s=Array.isArray(r)?function(e,t){var i=c.castOption(a,r,e);return l(i)?i:c.extractOption({},n,"",t)}:function(e,t){return c.extractOption(i,n,e,t)};function u(t,r,n){var a=s(r,n);l(a)&&(e[t]=a)}if(u("hoverinfo","hi","hoverinfo"),u("bgcolor","hbg","hoverlabel.bgcolor"),u("borderColor","hbc","hoverlabel.bordercolor"),u("fontFamily","htf","hoverlabel.font.family"),u("fontSize","hts","hoverlabel.font.size"),u("fontColor","htc","hoverlabel.font.color"),u("nameLength","hnl","hoverlabel.namelength"),u("textAlign","hta","hoverlabel.align"),e.posref="y"===t||"closest"===t&&"h"===n.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=c.constrain(e.x0,0,e.xa._length),e.x1=c.constrain(e.x1,0,e.xa._length),e.y0=c.constrain(e.y0,0,e.ya._length),e.y1=c.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel="xLabel"in e?e.xLabel:y.hoverLabelText(e.xa,e.xLabelVal),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel="yLabel"in e?e.yLabel:y.hoverLabelText(e.ya,e.yLabelVal),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!(isNaN(e.xerr)||"log"===e.xa.type&&e.xerr<=0)){var d=y.tickText(e.xa,e.xa.c2l(e.xerr),"hover").text;void 0!==e.xerrneg?e.xLabel+=" +"+d+" / -"+y.tickText(e.xa,e.xa.c2l(e.xerrneg),"hover").text:e.xLabel+=" ยฑ "+d,"x"===t&&(e.distance+=1)}if(!(isNaN(e.yerr)||"log"===e.ya.type&&e.yerr<=0)){var f=y.tickText(e.ya,e.ya.c2l(e.yerr),"hover").text;void 0!==e.yerrneg?e.yLabel+=" +"+f+" / -"+y.tickText(e.ya,e.ya.c2l(e.yerrneg),"hover").text:e.yLabel+=" ยฑ "+f,"y"===t&&(e.distance+=1)}var h=e.hoverinfo||e.trace.hoverinfo;return h&&"all"!==h&&(-1===(h=Array.isArray(h)?h:h.split("+")).indexOf("x")&&(e.xLabel=void 0),-1===h.indexOf("y")&&(e.yLabel=void 0),-1===h.indexOf("z")&&(e.zLabel=void 0),-1===h.indexOf("text")&&(e.text=void 0),-1===h.indexOf("name")&&(e.name=void 0)),e}function R(e,t,r){var n,a,i=r.container,o=r.fullLayout,s=o._size,c=r.event,u=!!t.hLinePoint,d=!!t.vLinePoint;if(i.selectAll(".spikeline").remove(),d||u){var f=v.combine(o.plot_bgcolor,o.paper_bgcolor);if(u){var h,p,m=t.hLinePoint;n=m&&m.xa,"cursor"===(a=m&&m.ya).spikesnap?(h=c.pointerX,p=c.pointerY):(h=n._offset+m.x,p=a._offset+m.y);var x,b,_=l.readability(m.color,f)<1.5?v.contrast(f):m.color,w=a.spikemode,k=a.spikethickness,T=a.spikecolor||_,M=y.getPxPosition(e,a);if(-1!==w.indexOf("toaxis")||-1!==w.indexOf("across")){if(-1!==w.indexOf("toaxis")&&(x=M,b=h),-1!==w.indexOf("across")){var A=a._counterDomainMin,S=a._counterDomainMax;"free"===a.anchor&&(A=Math.min(A,a.position),S=Math.max(S,a.position)),x=s.l+A*s.w,b=s.l+S*s.w}i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k,stroke:T,"stroke-dasharray":g.dashStyle(a.spikedash,k)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==w.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:M+("right"!==a.side?k:-k),cy:p,r:k,fill:T}).classed("spikeline",!0)}if(d){var L,C,I=t.vLinePoint;n=I&&I.xa,a=I&&I.ya,"cursor"===n.spikesnap?(L=c.pointerX,C=c.pointerY):(L=n._offset+I.x,C=a._offset+I.y);var O,D,z=l.readability(I.color,f)<1.5?v.contrast(f):I.color,P=n.spikemode,j=n.spikethickness,E=n.spikecolor||z,R=y.getPxPosition(e,n);if(-1!==P.indexOf("toaxis")||-1!==P.indexOf("across")){if(-1!==P.indexOf("toaxis")&&(O=R,D=C),-1!==P.indexOf("across")){var N=n._counterDomainMin,F=n._counterDomainMax;"free"===n.anchor&&(N=Math.min(N,n.position),F=Math.max(F,n.position)),O=s.t+(1-F)*s.h,D=s.t+(1-N)*s.h}i.insert("line",":first-child").attr({x1:L,x2:L,y1:O,y2:D,"stroke-width":j,stroke:E,"stroke-dasharray":g.dashStyle(n.spikedash,j)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:L,x2:L,y1:O,y2:D,"stroke-width":j+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==P.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:L,cy:R-("top"!==n.side?j:-j),r:j,fill:E}).classed("spikeline",!0)}}}function N(e,t){return!t||t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint}function F(e,t){return h.plainText(e||"",{len:t,allowedTags:["br","sub","sup","b","i","em"]})}})),s.register("7tQKZ",(function(e,t){"use strict";var r=s("3kB5v"),n="data-savedcursor";e.exports=function(e,t){var a=e.attr(n);if(t){if(!a){for(var i=(e.attr("class")||"").split(" "),o=0;o1);if(!1!==g||c.uirevision){var v=a.newContainer(t,"legend");if(_("uirevision",t.uirevision),!1!==g){_("bgcolor",t.paper_bgcolor),_("bordercolor"),_("borderwidth"),n.coerceFont(_,"font",t.font);var m,y,x,b=_("orientation");"h"===b?(m=0,r.getComponentMethod("rangeslider","isVisible")(e.xaxis)?(y=1.1,x="bottom"):(y=-.1,x="top")):(m=1.02,y=1,x="auto"),_("traceorder",f),l.isGrouped(t.legend)&&_("tracegroupgap"),_("itemsizing"),_("itemwidth"),_("itemclick"),_("itemdoubleclick"),_("x",m),_("xanchor"),_("y",y),_("yanchor",x),_("valign"),n.noneOrAll(c,v,["x","y"]),_("title.text")&&(_("title.side","h"===b?"left":"top"),n.coerceFont(_,"title.font",t.font))}}function _(e,t){return n.coerce(c,v,i,e,t)}}})),s.register("1rDLs",(function(e,t){"use strict";var r=s("10Nlb"),n=s("4f6io");e.exports={bgcolor:{valType:"color",role:"style",editType:"legend",description:["Sets the legend background color.","Defaults to `layout.paper_bgcolor`."].join(" ")},bordercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"legend",description:"Sets the color of the border enclosing the legend."},borderwidth:{valType:"number",min:0,dflt:0,role:"style",editType:"legend",description:"Sets the width (in px) of the border enclosing the legend."},font:r({editType:"legend",description:"Sets the font used to text the legend items."}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",role:"info",editType:"legend",description:"Sets the orientation of the legend."},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],role:"style",editType:"legend",description:["Determines the order at which the legend items are displayed.","If *normal*, the items are displayed top-to-bottom in the same","order as the input data.","If *reversed*, the items are displayed in the opposite order","as *normal*.","If *grouped*, the items are displayed in groups","(when a trace `legendgroup` is provided).","if *grouped+reversed*, the items are displayed in the opposite order","as *grouped*."].join(" ")},tracegroupgap:{valType:"number",min:0,dflt:10,role:"style",editType:"legend",description:["Sets the amount of vertical space (in px) between legend groups."].join(" ")},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",role:"style",editType:"legend",description:["Determines if the legend items symbols scale with their corresponding *trace* attributes","or remain *constant* independent of the symbol size on the graph."].join(" ")},itemwidth:{valType:"number",min:30,dflt:30,role:"style",editType:"legend",description:"Sets the width (in px) of the legend item symbols (the part other than the title.text)."},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",role:"info",editType:"legend",description:["Determines the behavior on legend item click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item click interactions."].join(" ")},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",role:"info",editType:"legend",description:["Determines the behavior on legend item double-click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item double-click interactions."].join(" ")},x:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the x position (in normalized coordinates) of the legend.","Defaults to *1.02* for vertical legends and","defaults to *0* for horizontal legends."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",editType:"legend",description:["Sets the legend's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the legend.","Value *auto* anchors legends to the right for `x` values greater than or equal to 2/3,","anchors legends to the left for `x` values less than or equal to 1/3 and","anchors legends with respect to their center otherwise."].join(" ")},y:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the y position (in normalized coordinates) of the legend.","Defaults to *1* for vertical legends,","defaults to *-0.1* for horizontal legends on graphs w/o range sliders and","defaults to *1.1* for horizontal legends on graph with one or multiple range sliders."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],role:"info",editType:"legend",description:["Sets the legend's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the legend.","Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,","anchors legends to at their top for `y` values greater than or equal to 2/3 and","anchors legends with respect to their middle otherwise."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of legend-driven changes in trace and pie label","visibility. Defaults to `layout.uirevision`."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"legend",description:["Sets the vertical alignment of the symbols with respect to their associated text."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"legend",description:["Sets the title of the legend."].join(" ")},font:r({editType:"legend",description:["Sets this legend's title font."].join(" ")}),side:{valType:"enumerated",values:["top","left","top left"],role:"style",editType:"legend",description:["Determines the location of legend's title","with respect to the legend items.","Defaulted to *top* with `orientation` is *h*.","Defaulted to *left* with `orientation` is *v*.","The *top left* options could be used to expand","legend area in both x and y sides."].join(" ")},editType:"legend"},editType:"legend"}})),s.register("64g8Y",(function(e,t){var n,a,i;r(e.exports,"isGrouped",(()=>a),(e=>a=e)),r(e.exports,"isVertical",(()=>n),(e=>n=e)),r(e.exports,"isReversed",(()=>i),(e=>i=e)),a=function(e){return-1!==(e.traceorder||"").indexOf("grouped")},n=function(e){return"h"!==e.orientation},i=function(e){return-1!==(e.traceorder||"").indexOf("reversed")}})),s.register("Zg88i",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY"),a=s("3BndS"),i=s("4Hxcc"),o=s("5yBVq"),l=s("NlhQs"),c=s("7jar4"),u=s("3N5m7"),d=s("49Q6h"),f=s("gz6YF"),h=s("2eUTF"),p=s("5n2uh"),g=p.LINE_SPACING,v=p.FROM_TL,m=p.FROM_BR,y=s("3ov00"),x=s("1RGiq"),b=s("64g8Y");function _(e,t,r,n,a){var l=r.data()[0][0].trace,s={event:a,node:r.node(),curveNumber:l.index,expandedIndex:l._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};l._group&&(s.group=l._group),i.traceIs(l,"pie-like")&&(s.label=r.datum()[0].label),!1!==o.triggerHandler(e,"plotly_legendclick",s)&&(1===n?t._clickTimeout=setTimeout((function(){f(r,e,n)}),e._context.doubleClickDelay):2===n&&(t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==o.triggerHandler(e,"plotly_legenddoubleclick",s)&&f(r,e,n)))}function w(e,t,r){var a,o=e.data()[0][0],l=o.trace,s=i.traceIs(l,"pie-like"),u=l.index,f=r._main&&t._context.edits.legendText&&!s,p=r._maxNameLength;r.entries?a=o.text:(a=s?o.label:l.name,l._meta&&(a=n.templateString(a,l._meta)));var g=n.ensureSingle(e,"text","legendtext");g.attr("text-anchor","start").call(c.font,r.font).text(f?k(a,p):a);var v=r.itemwidth+2*h.itemGap;d.positionText(g,v,0),f?g.call(d.makeEditable,{gd:t,text:a}).call(M,e,t,r).on("edit",(function(a){this.text(k(a,p)).call(M,e,t,r);var l=o.trace._fullInput||{},s={};if(i.hasTransform(l,"groupby")){var c=i.getTransformIndices(l,"groupby"),d=c[c.length-1],f=n.keyedContainer(l,"transforms["+d+"].styles","target","value.name");f.set(o.trace._group,a),s=f.constructUpdate()}else s.name=a;return i.call("_guiRestyle",t,s,u)})):M(g,e,t,r)}function k(e,t){var r=Math.max(4,t);if(e&&e.trim().length>=r/2)return e;for(var n=r-(e=e||"").length;n>0;n--)e+=" ";return e}function T(e,t){var a,i=t._context.doubleClickDelay,o=1,l=n.ensureSingle(e,"rect","legendtoggle",(function(e){t._context.staticPlot||e.style("cursor","pointer").attr("pointer-events","all"),e.call(u.fill,"rgba(0,0,0,0)")}));t._context.staticPlot||(l.on("mousedown",(function(){(a=(new Date).getTime())-t._legendMouseDownTimei&&(o=Math.max(o-1,1)),_(t,n,e,o,r.event)}})))}function M(e,t,r,n){n._main||e.attr("data-notex",!0),d.convertToTspans(e,r,(function(){!function(e,t,r){var n=e.data()[0][0];if(r._main&&n&&!n.trace.showlegend)e.remove();else{var a=e.select("g[class*=math-group]"),i=a.node();r||(r=t._fullLayout.legend);var o,l,s=r.borderwidth,u=(n?r:r.title).font.size*g;if(i){var f=c.bBox(i);o=f.height,l=f.width,n?c.setTranslate(a,0,.25*o):c.setTranslate(a,s,.75*o+s)}else{var p=e.select(n?".legendtext":".legendtitletext"),v=d.lineCount(p),m=p.node();o=u*v,l=m?c.bBox(m).width:0;var y=u*((v-1)/2-.3);if(n){var x=r.itemwidth+2*h.itemGap;d.positionText(p,x,-y)}else d.positionText(p,h.titlePad+s,u+s)}n?(n.lineHeight=u,n.height=Math.max(o,16)+3,n.width=l):(r._titleWidth=l,r._titleHeight=o)}}(t,r,n)}))}function A(e){return n.isRightAnchor(e)?"right":n.isCenterAnchor(e)?"center":"left"}function S(e){return n.isBottomAnchor(e)?"bottom":n.isMiddleAnchor(e)?"middle":"top"}e.exports=function(e,t){var o,s=e._fullLayout,d="legend"+s._uid;if(t?(o=t.layer,d+="-hover"):((t=s.legend||{})._main=!0,o=s._infolayer),o){var f;if(e._legendMouseDownTime||(e._legendMouseDownTime=0),t._main){if(!e.calcdata)return;f=s.showlegend&&y(e.calcdata,t)}else{if(!t.entries)return;f=y(t.entries,t)}var p=s.hiddenlabels||[];if(t._main&&(!s.showlegend||!f.length))return o.selectAll(".legend").remove(),s._topdefs.select("#"+d).remove(),a.autoMargin(e,"legend");var g=n.ensureSingle(o,"g","legend",(function(e){t._main&&e.attr("pointer-events","all")})),k=n.ensureSingleById(s._topdefs,"clipPath",d,(function(e){e.append("rect")})),L=n.ensureSingle(g,"rect","bg",(function(e){e.attr("shape-rendering","crispEdges")}));L.call(u.stroke,t.bordercolor).call(u.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var C=n.ensureSingle(g,"g","scrollbox"),I=t.title;if(t._titleWidth=0,t._titleHeight=0,I.text){var O=n.ensureSingle(C,"text","legendtitletext");O.attr("text-anchor","start").call(c.font,I.font).text(I.text),M(O,C,e,t)}else C.selectAll(".legendtitletext").remove();var D=n.ensureSingle(g,"rect","scrollbar",(function(e){e.attr(h.scrollBarEnterAttrs).call(u.fill,h.scrollBarColor)})),z=C.selectAll("g.groups").data(f);z.enter().append("g").attr("class","groups"),z.exit().remove();var P=z.selectAll("g.traces").data(n.identity);P.enter().append("g").attr("class","traces"),P.exit().remove(),P.style("opacity",(function(e){var t=e[0].trace;return i.traceIs(t,"pie-like")?-1!==p.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1})).each((function(){r.select(this).call(w,e,t)})).call(x,e,t).each((function(){t._main&&r.select(this).call(T,e)})),n.syncOrAsync([a.previousPromises,function(){return function(e,t,n,a){var i=e._fullLayout;a||(a=i.legend);var o=i._size,l=b.isVertical(a),s=b.isGrouped(a),u=a.borderwidth,d=2*u,f=h.itemGap,p=a.itemwidth+2*f,g=2*(u+f),v=S(a),m=a.y<0||0===a.y&&"top"===v,y=a.y>1||1===a.y&&"bottom"===v;a._maxHeight=Math.max(m||y?i.height/2:o.h,30);var x=0;a._width=0,a._height=0;var _,w,k,T,M=(w=0,k=0,(T=(_=a).title.side)&&(-1!==T.indexOf("left")&&(w=_._titleWidth),-1!==T.indexOf("top")&&(k=_._titleHeight)),[w,k]);if(l)n.each((function(e){var t=e[0].height;c.setTranslate(this,u+M[0],u+M[1]+a._height+t/2+f),a._height+=t,a._width=Math.max(a._width,e[0].width)})),x=p+a._width,a._width+=f+p+d,a._height+=g,s&&(t.each((function(e,t){c.setTranslate(this,0,t*a.tracegroupgap)})),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var L=A(a),C=a.x<0||0===a.x&&"right"===L,I=a.x>1||1===a.x&&"left"===L,O=y||m,D=i.width/2;a._maxWidth=Math.max(C?O&&"left"===L?o.l+o.w:D:I?O&&"right"===L?o.r+o.w:D:o.w,2*p);var z=0,P=0;n.each((function(e){var t=e[0].width+p;z=Math.max(z,t),P+=t})),x=null;var j=0;if(s){var E=0,R=0,N=0;t.each((function(){var e=0,t=0;r.select(this).selectAll("g.traces").each((function(r){var n=r[0].height;c.setTranslate(this,M[0],M[1]+u+f+n/2+t),t+=n,e=Math.max(e,p+r[0].width)})),E=Math.max(E,t);var n=e+f;n+u+R>a._maxWidth&&(j=Math.max(j,R),R=0,N+=E+a.tracegroupgap,E=t),c.setTranslate(this,R,N),R+=n})),a._width=Math.max(j,R)+u,a._height=N+E+g}else{var F=n.size(),H=P+d+(F-1)*f=a._maxWidth&&(j=Math.max(j,V),U=0,q+=B,a._height+=B,B=0),c.setTranslate(this,M[0]+u+U,M[1]+u+q+t/2+f),V=U+r+f,U+=n,B=Math.max(B,t)})),H?(a._width=U+d,a._height=B+g):(a._width=Math.max(j,V)+d,a._height+=B+g)}}a._width=Math.ceil(Math.max(a._width+M[0],a._titleWidth+2*(u+h.titlePad))),a._height=Math.ceil(Math.max(a._height+M[1],a._titleHeight+2*(u+h.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var Y=e._context.edits,G=Y.legendText||Y.legendPosition;n.each((function(e){var t=r.select(this).select(".legendtoggle"),n=e[0].height,a=G?p:x||p+e[0].width;l||(a+=f/2),c.setRect(t,0,-n/2,a,n)}))}(e,z,P,t)},function(){if(!t._main||(V=(q=e)._fullLayout.legend,Y=A(V),G=S(V),!a.autoMargin(q,"legend",{x:V.x,y:V.y,l:V._width*v[Y],r:V._width*m[Y],b:V._effHeight*m[G],t:V._effHeight*v[G]}))){var u,f,p,y,x=s._size,b=t.borderwidth,w=x.l+x.w*t.x-v[A(t)]*t._width,T=x.t+x.h*(1-t.y)-v[S(t)]*t._effHeight;if(t._main&&s.margin.autoexpand){var M=w,I=T;w=n.constrain(w,0,s.width-t._width),T=n.constrain(T,0,s.height-t._effHeight),w!==M&&n.log("Constrain legend.x to make legend fit inside graph"),T!==I&&n.log("Constrain legend.y to make legend fit inside graph")}if(t._main&&c.setTranslate(g,w,T),D.on(".drag",null),g.on("wheel",null),!t._main||t._height<=t._maxHeight||e._context.staticPlot){var O=t._effHeight;t._main||(O=t._height),L.attr({width:t._width-b,height:O-b,x:b/2,y:b/2}),c.setTranslate(C,0,0),k.select("rect").attr({width:t._width-2*b,height:O-2*b,x:b,y:b}),c.setClipUrl(C,d,e),c.setRect(D,0,0,0,0),delete t._scrollY}else{var z,P,j,E=Math.max(h.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),R=t._effHeight-E-2*h.scrollBarMargin,N=t._height-t._effHeight,F=R/N,H=Math.min(t._scrollY||0,N);L.attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-b,x:b/2,y:b/2}),k.select("rect").attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-2*b,x:b,y:b+H}),c.setClipUrl(C,d,e),Z(H,E,F),g.on("wheel",(function(){Z(H=n.constrain(t._scrollY+r.event.deltaY/R*N,0,N),E,F),0!==H&&H!==N&&r.event.preventDefault()}));var B=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;z="touchstart"===e.type?e.changedTouches[0].clientY:e.clientY,j=H})).on("drag",(function(){var e,t=r.event.sourceEvent;2===t.buttons||t.ctrlKey||(e=((P="touchmove"===t.type?t.changedTouches[0].clientY:t.clientY)-z)/F+j,Z(H=n.constrain(e,0,N),E,F))}));D.call(B);var U=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;"touchstart"===e.type&&(z=e.changedTouches[0].clientY,j=H)})).on("drag",(function(){var e,t=r.event.sourceEvent;"touchmove"===t.type&&(P=t.changedTouches[0].clientY,e=(z-P)/F+j,Z(H=n.constrain(e,0,N),E,F))}));C.call(U)}e._context.edits.legendPosition&&(g.classed("cursor-move",!0),l.init({element:g.node(),gd:e,prepFn:function(){var e=c.getTranslate(g);p=e.x,y=e.y},moveFn:function(e,r){var n=p+e,a=y+r;c.setTranslate(g,n,a),u=l.align(n,0,x.l,x.l+x.w,t.xanchor),f=l.align(a,0,x.t+x.h,x.t,t.yanchor)},doneFn:function(){void 0!==u&&void 0!==f&&i.call("_guiRelayout",e,{"legend.x":u,"legend.y":f})},clickFn:function(t,r){var n=o.selectAll("g.traces").filter((function(){var e=this.getBoundingClientRect();return r.clientX>=e.left&&r.clientX<=e.right&&r.clientY>=e.top&&r.clientY<=e.bottom}));n.size()>0&&_(e,g,n,t,r)}}))}var q,V,Y,G;function Z(r,n,a){t._scrollY=e._fullLayout.legend._scrollY=r,c.setTranslate(C,0,-r),c.setRect(D,t._width,h.scrollBarMargin+r*a,h.scrollBarWidth,n),k.select("rect").attr("y",b+r)}}],e)}}})),s.register("gz6YF",(function(e,t){"use strict";var r=s("1nIvY"),n=s("4Hxcc"),a=!0;e.exports=function(e,t,i){var o=t._fullLayout;if(!t._dragged&&!t._editing){var l,s=o.legend.itemclick,c=o.legend.itemdoubleclick;if(1===i&&"toggle"===s&&"toggleothers"===c&&a&&t.data&&t._context.showTips?(r.notifier(r._(t,"Double-click on legend to isolate one trace"),"long"),a=!1):a=!1,1===i?l=s:2===i&&(l=c),l){var u,d,f,h,p,g=o.hiddenlabels?o.hiddenlabels.slice():[],v=e.data()[0][0],m=t._fullData,y=v.trace,x=y.legendgroup,b={},_=[],w=[],k=[];if(n.traceIs(y,"pie-like")){var T=v.label,M=g.indexOf(T);"toggle"===l?-1===M?g.push(T):g.splice(M,1):"toggleothers"===l&&(g=[],t.calcdata[0].forEach((function(e){T!==e.label&&g.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===g.length&&-1===M&&(g=[])),n.call("_guiRelayout",t,"hiddenlabels",g)}else{var A,S=x&&x.length,L=[];if(S)for(u=0;u0))return 0;a=t.width}return v?n:Math.min(a,r)};function _(e,t,a){var i=e[0].trace,o=i.marker||{},s=o.line||{},c=a?i.visible&&i.type===a:n.traceIs(i,"bar"),u=r.select(t).select("g.legendpoints").selectAll("path.legend"+a).data(c?[e]:[]);u.enter().append("path").classed("legend"+a,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),u.exit().remove(),u.each((function(e){var t=r.select(this),n=e[0],a=b(n.mlw,o.line,5,2);t.style("stroke-width",a+"px").call(l.fill,n.mc||o.color),a&&l.stroke(t,n.mlc||s.color)}))}function w(e,t,i){var o=e[0],l=o.trace,s=i?l.visible&&l.type===i:n.traceIs(l,i),c=r.select(t).select("g.legendpoints").selectAll("path.legend"+i).data(s?[e]:[]);if(c.enter().append("path").classed("legend"+i,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),c.exit().remove(),c.size()){var u=(l.marker||{}).line,h=b(f(u.width,o.pts),u,5,2),p=a.minExtend(l,{marker:{line:{width:h}}});p.marker.line.color=u.color;var g=a.minExtend(o,{trace:p});d(c,g,p)}}e.each((function(e){var t=r.select(this),n=a.ensureSingle(t,"g","layers");n.style("opacity",e[0].trace.opacity);var o=s.valign,l=e[0].lineHeight,c=e[0].height;if("middle"!==o&&l&&c){var u={top:1,bottom:-1}[o]*(.5*(l-c+3));n.attr("transform",i(0,u))}else n.attr("transform",null);n.selectAll("g.legendfill").data([e]).enter().append("g").classed("legendfill",!0),n.selectAll("g.legendlines").data([e]).enter().append("g").classed("legendlines",!0);var d=n.selectAll("g.legendsymbols").data([e]);d.enter().append("g").classed("legendsymbols",!0),d.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)})).each((function(e){var n,i=e[0].trace,s=[];if(i.visible)switch(i.type){case"histogram2d":case"heatmap":s=[["M-15,-2V4H15V-2Z"]],n=!0;break;case"choropleth":case"choroplethmapbox":s=[["M-6,-6V6H6V-6Z"]],n=!0;break;case"densitymapbox":s=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],n="radial";break;case"cone":s=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],n=!1;break;case"streamtube":s=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],n=!1;break;case"surface":s=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],n=!0;break;case"mesh3d":s=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!1;break;case"volume":s=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!0;break;case"isosurface":s=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],n=!1}var u=r.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(s);u.enter().append("path").classed("legend3dandfriends",!0).attr("transform",x).style("stroke-miterlimit",1),u.exit().remove(),u.each((function(e,s){var u,d=r.select(this),f=c(i),h=f.colorscale,g=f.reversescale;if(h){if(!n){var v=h.length;u=0===s?h[g?v-1:0][1]:1===s?h[g?0:v-1][1]:h[Math.floor((v-1)/2)][1]}}else{var m=i.vertexcolor||i.facecolor||i.color;u=a.isArrayOrTypedArray(m)?m[s]||m[0]:m}d.attr("d",e[0]),u?d.call(l.fill,u):d.call((function(e){if(e.size()){var r="legendfill-"+i.uid;o.gradient(e,t,r,p(g,"radial"===n),h,"fill")}}))}))})).each((function(e){var t=e[0].trace,n="waterfall"===t.type;if(e[0]._distinct&&n){var a=e[0].trace[e[0].dir].marker;return e[0].mc=a.color,e[0].mlw=a.line.width,e[0].mlc=a.line.color,_(e,this,"waterfall")}var i=[];t.visible&&n&&(i=e[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var o=r.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(i);o.enter().append("path").classed("legendwaterfall",!0).attr("transform",x).style("stroke-miterlimit",1),o.exit().remove(),o.each((function(e){var n=r.select(this),a=t[e[0]].marker,i=b(void 0,a.line,5,2);n.attr("d",e[1]).style("stroke-width",i+"px").call(l.fill,a.color),i&&n.call(l.stroke,a.line.color)}))})).each((function(e){_(e,this,"funnel")})).each((function(e){_(e,this)})).each((function(e){var i=e[0].trace,s=r.select(this).select("g.legendpoints").selectAll("path.legendbox").data(i.visible&&n.traceIs(i,"box-violin")?[e]:[]);s.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),s.exit().remove(),s.each((function(){var e=r.select(this);if("all"!==i.boxpoints&&"all"!==i.points||0!==l.opacity(i.fillcolor)||0!==l.opacity((i.line||{}).color)){var n=b(void 0,i.line,5,2);e.style("stroke-width",n+"px").call(l.fill,i.fillcolor),n&&l.stroke(e,i.line.color)}else{var c=a.minExtend(i,{marker:{size:v?12:a.constrain(i.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});s.call(o.pointStyle,c,t)}}))})).each((function(e){w(e,this,"funnelarea")})).each((function(e){w(e,this,"pie")})).each((function(e){var n,i,l=e[0],s=l.trace,d=s.visible&&s.fill&&"none"!==s.fill,f=u.hasLines(s),h=s.contours,g=!1,v=!1,y=c(s),x=y.colorscale,_=y.reversescale;if(h){var w=h.coloring;"lines"===w?g=!0:f="none"===w||"heatmap"===w||h.showlines,"constraint"===h.type?d="="!==h._operation:"fill"!==w&&"heatmap"!==w||(v=!0)}var k=u.hasMarkers(s)||u.hasText(s)||!(d||v)?"M5,0":f||g?"M5,-2":"M5,-3",T=r.select(this),M=T.select(".legendfill").selectAll("path").data(d||v?[e]:[]);if(M.enter().append("path").classed("js-fill",!0),M.exit().remove(),M.attr("d",k+"h"+m+"v6h-"+m+"z").call(d?o.fillGroupStyle:function(e){if(e.size()){var r="legendfill-"+s.uid;o.gradient(e,t,r,p(_),x,"fill")}}),f||g){var A=b(void 0,s.line,10,5);i=a.minExtend(s,{line:{width:A}}),n=[a.minExtend(l,{trace:i})]}var S=T.select(".legendlines").selectAll("path").data(f||g?[n]:[]);S.enter().append("path").classed("js-line",!0),S.exit().remove(),S.attr("d",k+(g?"l"+m+",0.0001":"h"+m)).call(f?o.lineGroupStyle:function(e){if(e.size()){var r="legendline-"+s.uid;o.lineGroupStyle(e),o.gradient(e,t,r,p(_),x,"stroke")}})})).each((function(e){var n,i,l=e[0],s=l.trace,c=u.hasMarkers(s),d=u.hasText(s),f=u.hasLines(s);function h(e,t,r,n){var i=a.nestedProperty(s,e).get(),o=a.isArrayOrTypedArray(i)&&t?t(i):i;if(v&&o&&void 0!==n&&(o=n),r){if(or[1])return r[1]}return o}function p(e){return l._distinct&&l.index&&e[l.index]?e[l.index]:e[0]}if(c||d||f){var g={},m={};if(c){g.mc=h("marker.color",p),g.mx=h("marker.symbol",p),g.mo=h("marker.opacity",a.mean,[.2,1]),g.mlc=h("marker.line.color",p),g.mlw=h("marker.line.width",a.mean,[0,5],2),m.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var y=h("marker.size",a.mean,[2,16],12);g.ms=y,m.marker.size=y}f&&(m.line={width:h("line.width",p,[0,10],5)}),d&&(g.tx="Aa",g.tp=h("textposition",p),g.ts=10,g.tc=h("textfont.color",p),g.tf=h("textfont.family",p)),n=[a.minExtend(l,g)],(i=a.minExtend(s,m)).selectedpoints=null,i.texttemplate=null}var b=r.select(this).select("g.legendpoints"),_=b.selectAll("path.scatterpts").data(c?n:[]);_.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",x),_.exit().remove(),_.call(o.pointStyle,i,t),c&&(n[0].mrc=3);var w=b.selectAll("g.pointtext").data(d?n:[]);w.enter().append("g").classed("pointtext",!0).append("text").attr("transform",x),w.exit().remove(),w.selectAll("text").call(o.textPointStyle,i,t)})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(t.visible&&"candlestick"===t.type?[e,e]:[]);n.enter().append("path").classed("legendcandle",!0).attr("d",(function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",x).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],o=b(void 0,i.line,5,2);a.style("stroke-width",o+"px").call(l.fill,i.fillcolor),o&&l.stroke(a,i.line.color)}))})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(t.visible&&"ohlc"===t.type?[e,e]:[]);n.enter().append("path").classed("legendohlc",!0).attr("d",(function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",x).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],s=b(void 0,i.line,5,2);a.style("fill","none").call(o.dashLine,i.line.dash,s),s&&l.stroke(a,i.line.color)}))}))}})),s.register("7832T",(function(e,t){"use strict";var r=s("3N5m7"),n=s("4Izpx").castOption;e.exports=function(e,t,a){var i=a.marker.line,o=n(i.color,t.pts)||r.defaultLine,l=n(i.width,t.pts)||0;e.style("stroke-width",l).call(r.fill,t.color).call(r.stroke,o)}})),s.register("4Izpx",(function(e,t){var n,a,i,o,l;r(e.exports,"castOption",(()=>o),(e=>o=e)),r(e.exports,"formatPieValue",(()=>a),(e=>a=e)),r(e.exports,"formatPiePercent",(()=>l),(e=>l=e)),r(e.exports,"getFirstFilled",(()=>i),(e=>i=e)),r(e.exports,"getRotationAngle",(()=>n),(e=>n=e));var c=s("1nIvY");function u(e){return-1!==e.indexOf("e")?e.replace(/[.]?0+e/,"e"):-1!==e.indexOf(".")?e.replace(/[.]?0+$/,""):e}l=function(e,t){var r=u((100*e).toPrecision(3));return c.numSeparate(r,t)+"%"},a=function(e,t){var r=u(e.toPrecision(10));return c.numSeparate(r,t)},i=function(e,t){if(Array.isArray(e))for(var r=0;r-1?o="closest":(t._isHoriz=function(e,t){for(var r=t._scatterStackOpts||{},n=0;n=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function N(e,t,r,n,a){return e.append("path").attr("class","zoombox").style({fill:t>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(r,n)).attr("d",a+"Z")}function F(e,t,r){return e.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(t,r)).attr("d","M0,0Z")}function H(e,t,r,n,a,i){e.attr("d",n+"M"+r.l+","+r.t+"v"+r.h+"h"+r.w+"v-"+r.h+"h-"+r.w+"Z"),B(e,t,a,i)}function B(e,t,r,n){r||(e.transition().style("fill",n>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}function U(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function q(e){O&&e.data&&e._context.showTips&&(o.notifier(o._(e,"Double-click to zoom back out"),"long"),O=!1)}function V(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,I)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}function Y(e,t,r,n,a){for(var i,l,s,c,u=!1,d={},f={},h=(a||{}).xaHash,p=(a||{}).yaHash,g=0;g=0)o._fullLayout._deactivateShape(o);else{var l=o._fullLayout.clickmode;if(U(o),2!==n||ve||function(){if(!e._transitioningWithDuration){var t=e._context.doubleClick,r=[];ne&&(r=r.concat(X)),ae&&(r=r.concat(Q)),re.xaxes&&(r=r.concat(re.xaxes)),re.yaxes&&(r=r.concat(re.yaxes));var n,a,o,l={};if("reset+autosize"===t)for(t="autosize",a=0;a-1&&A(a,o,X,Q,t.id,ze),l.indexOf("event")>-1&&f.click(o,a,t.id);else if(1===n&&ve){var s=p?D:O,u="s"===p||"w"===v?0:1,d=s._name+".range["+u+"]",h=function(e,t){var n,a=e.range[t],i=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,r.format("."+n+"g")(Math.pow(10,a))):(n=Math.floor(Math.log(Math.abs(a))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(s,u),g="left",m="middle";if(s.fixedrange)return;p?(m="n"===p?"top":"bottom","right"===s.side&&(g="right")):"e"===v&&(g="right"),o._context.showAxisRangeEntryBoxes&&r.select(we).call(c.makeEditable,{gd:o,immediate:!0,background:o._fullLayout.paper_bgcolor,text:String(h),fill:s.tickfont?s.tickfont.color:"#444",horizontalAlign:g,verticalAlign:m}).on("edit",(function(e){var t=s.d2r(e);void 0!==t&&i.call("_guiRelayout",o,d,t)}))}}}function Ee(t,r){if(e._transitioningWithDuration)return!1;var n=Math.max(0,Math.min($,fe*t+ke)),a=Math.max(0,Math.min(ee,he*r+Te)),i=Math.abs(n-ke),o=Math.abs(a-Te);function l(){Ce="",Me.r=Me.l,Me.t=Me.b,Oe.attr("d","M0,0Z")}if(Me.l=Math.min(ke,n),Me.r=Math.max(ke,n),Me.t=Math.min(Te,a),Me.b=Math.max(Te,a),te.isSubplotConstrained)i>I||o>I?(Ce="xy",i/$>o/ee?(o=i*ee/$,Te>a?Me.t=Te-o:Me.b=Te+o):(i=o*$/ee,ke>n?Me.l=ke-i:Me.r=ke+i),Oe.attr("d",V(Me))):l();else if(re.isSubplotConstrained)if(i>I||o>I){Ce="xy";var s=Math.min(Me.l/$,(ee-Me.b)/ee),c=Math.max(Me.r/$,(ee-Me.t)/ee);Me.l=s*$,Me.r=c*$,Me.b=(1-s)*ee,Me.t=(1-c)*ee,Oe.attr("d",V(Me))}else l();else!ae||o0){var u;if(re.isSubplotConstrained||!ne&&1===ae.length){for(u=0;ua),(e=>a=e)),r(e.exports,"rectMode",(()=>l),(e=>l=e)),r(e.exports,"openMode",(()=>i),(e=>i=e)),r(e.exports,"freeMode",(()=>s),(e=>s=e)),r(e.exports,"selectMode",(()=>o),(e=>o=e)),r(e.exports,"selectingOrDrawing",(()=>n),(e=>n=e)),o=function(e){return"lasso"===e||"select"===e},a=function(e){return"drawclosedpath"===e||"drawopenpath"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},i=function(e){return"drawline"===e||"drawopenpath"===e},l=function(e){return"select"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},s=function(e){return"lasso"===e||"drawclosedpath"===e||"drawopenpath"===e},n=function(e){return s(e)||l(e)}})),s.register("34rTi",(function(e,t){"use strict";e.exports=function(e){var t=e._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each((function(e){e.regl&&e.regl.clear({color:!0,depth:!0})}))}})),s.register("4wnLB",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v,m;r(e.exports,"drawMarginPushers",(()=>n),(e=>n=e)),r(e.exports,"doCamera",(()=>m),(e=>m=e)),r(e.exports,"doColorBars",(()=>a),(e=>a=e)),r(e.exports,"layoutStyles",(()=>o),(e=>o=e)),r(e.exports,"redrawReglTraces",(()=>f),(e=>f=e)),r(e.exports,"doTicksRelayout",(()=>u),(e=>u=e)),r(e.exports,"layoutReplot",(()=>i),(e=>i=e)),r(e.exports,"doModeBar",(()=>l),(e=>l=e)),r(e.exports,"doLegend",(()=>d),(e=>d=e)),r(e.exports,"doTraceStyle",(()=>v),(e=>v=e)),r(e.exports,"doAutoRangeAndConstraints",(()=>p),(e=>p=e)),r(e.exports,"finalDraw",(()=>h),(e=>h=e)),r(e.exports,"drawData",(()=>c),(e=>c=e)),r(e.exports,"drawMainTitle",(()=>g),(e=>g=e));var y=s("4Wia9"),x=s("4Hxcc"),b=s("3BndS"),_=s("1nIvY"),w=s("34rTi"),k=s("3N5m7"),T=s("7jar4"),M=s("4m0W1"),A=s("1N5Ij"),S=s("1nE8l"),L=s("5n2uh"),C=s("6SFfg"),I=C.enforce,O=C.clean,D=s("7vf7z").doAutoRange,z="start";function P(e,t,r){for(var n=0;n=e[1]||a[1]<=e[0])&&i[0]t[0])return!0}return!1}function j(e){var t,r,n,a,i,o,l=e._fullLayout,s=l._size,c=s.p,u=S.list(e,"",!0);if(l._paperdiv.style({width:e._context.responsive&&l.autosize&&!e._context._hasZeroWidth&&!e.layout.width?"100%":l.width+"px",height:e._context.responsive&&l.autosize&&!e._context._hasZeroHeight&&!e.layout.height?"100%":l.height+"px"}).selectAll(".main-svg").call(T.setSize,l.width,l.height),e._context.setBackground(e,l.paper_bgcolor),g(e),A.manage(e),!l._has("cartesian"))return b.previousPromises(e);function d(e,t,r){var n=e._lw/2;return"x"===e._id.charAt(0)?t?"top"===r?t._offset-c-n:t._offset+t._length+c+n:s.t+s.h*(1-(e.position||0))+n%1:t?"right"===r?t._offset+t._length+c+n:t._offset-c-n:s.l+s.w*(e.position||0)+n%1}for(t=0;tn),(e=>n=e)),n=s("6hgLL")})),s.register("6hgLL",(function(e,t){"use strict";var r=s("22HUI"),n=s("5EGfs"),a=s("4Hxcc"),i=s("2MtC7").isUnifiedHover,o=s("7alov"),l=s("5Nr3A");e.exports=function(e){var t=e._fullLayout,s=e._context,u=t._modeBar;if(s.displayModeBar||s.watermark){if(!Array.isArray(s.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(s.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var d,f=s.modeBarButtons;d=Array.isArray(f)&&f.length?function(e){for(var t=0;t1?(L=["toggleHover"],C=["resetViews"]):p?(S=["zoomInGeo","zoomOutGeo"],L=["hoverClosestGeo"],C=["resetGeo"]):h?(L=["hoverClosest3d"],C=["resetCameraDefault3d","resetCameraLastSave3d"]):x?(S=["zoomInMapbox","zoomOutMapbox"],L=["toggleHover"],C=["resetViewMapbox"]):m?L=["hoverClosestGl2d"]:g?L=["hoverClosestPie"]:_?(L=["hoverClosestCartesian","hoverCompareCartesian"],C=["resetViewSankey"]):L=["toggleHover"],f&&(L=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(e){for(var t=0;tplotly-logomark"}}})),s.register("5Nr3A",(function(e,t){"use strict";var r=s("4Hxcc"),n=s("3BndS"),a=s("22HUI"),i=s("7KALf"),o=s("2zBj0").eraseActiveShape,l=s("1nIvY"),c=l._,u=e.exports={};function d(e,t){var n,i,o=t.currentTarget,l=o.getAttribute("data-attr"),s=o.getAttribute("data-val")||!0,c=e._fullLayout,u={},d=a.list(e,null,!0),f=c._cartesianSpikesEnabled;if("zoom"===l){var h,p="in"===s?.5:2,g=(1+p)/2,v=(1-p)/2;for(i=0;iy?(T=d,L="y0",M=y,C="y1"):(T=y,L="y1",M=d,C="y0"),X(r),K(l,i),function(e,t,r){var n=t.xref,i=t.yref,o=a.getFromId(r,n),l=a.getFromId(r,i),s="";"paper"===n||o.autorange||(s+=n),"paper"===i||l.autorange||(s+=i),u.setClipUrl(e,s?"clip"+r._fullLayout._uid+s:null,r)}(t,i,e),W.moveFn="move"===z?Q:J,W.altKey=r.altKey)},doneFn:function(){m(e)||(h(t),$(l),b(t,e,i),r.call("_guiRelayout",e,s.getUpdateObj()))},clickFn:function(){m(e)||$(l)}};function X(r){if(m(e))z=null;else if(E)z="path"===r.target.tagName?"move":"start-point"===r.target.attributes["data-line-point"].value?"resize-over-start-point":"resize-over-end-point";else{var n=W.element.getBoundingClientRect(),a=n.right-n.left,i=n.bottom-n.top,o=r.clientX-n.left,l=r.clientY-n.top,s=!R&&a>10&&i>10&&!r.shiftKey?f.getCursor(o/a,1-l/i):"move";h(t,s),z=s.split("-")[0]}}function Q(r,n){if("path"===i.type){var a=function(e){return e},o=a,s=a;P?N("xanchor",i.xanchor=Y(x+r)):(o=function(e){return Y(q(e)+r)},F&&"date"===F.type&&(o=g.encodeDate(o))),j?N("yanchor",i.yanchor=G(k+n)):(s=function(e){return G(V(e)+n)},B&&"date"===B.type&&(s=g.encodeDate(s))),N("path",i.path=w(D,o,s))}else P?N("xanchor",i.xanchor=Y(x+r)):(N("x0",i.x0=Y(c+r)),N("x1",i.x1=Y(v+r))),j?N("yanchor",i.yanchor=G(k+n)):(N("y0",i.y0=G(d+n)),N("y1",i.y1=G(y+n)));t.attr("d",_(e,i)),K(l,i)}function J(r,n){if(R){var a=function(e){return e},o=a,s=a;P?N("xanchor",i.xanchor=Y(x+r)):(o=function(e){return Y(q(e)+r)},F&&"date"===F.type&&(o=g.encodeDate(o))),j?N("yanchor",i.yanchor=G(k+n)):(s=function(e){return G(V(e)+n)},B&&"date"===B.type&&(s=g.encodeDate(s))),N("path",i.path=w(D,o,s))}else if(E){if("resize-over-start-point"===z){var u=c+r,f=j?d-n:d+n;N("x0",i.x0=P?u:Y(u)),N("y0",i.y0=j?f:G(f))}else if("resize-over-end-point"===z){var h=v+r,p=j?y-n:y+n;N("x1",i.x1=P?h:Y(h)),N("y1",i.y1=j?p:G(p))}}else{var m=function(e){return-1!==z.indexOf(e)},b=m("n"),H=m("s"),U=m("w"),Z=m("e"),W=b?T+n:T,X=H?M+n:M,Q=U?A+r:A,J=Z?S+r:S;j&&(b&&(W=T-n),H&&(X=M-n)),(!j&&X-W>10||j&&W-X>10)&&(N(L,i[L]=j?W:G(W)),N(C,i[C]=j?X:G(X))),J-Q>10&&(N(I,i[I]=P?Q:Y(Q)),N(O,i[O]=P?J:Y(J)))}t.attr("d",_(e,i)),K(l,i)}function K(e,t){(P||j)&&function(){var r="path"!==t.type,a=e.selectAll(".visual-cue").data([0]);a.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var i=q(P?t.xanchor:n.midRange(r?[t.x0,t.x1]:g.extractPathCoords(t.path,p.paramIsX))),o=V(j?t.yanchor:n.midRange(r?[t.y0,t.y1]:g.extractPathCoords(t.path,p.paramIsY)));if(i=g.roundPositionForSharpStrokeRendering(i,1),o=g.roundPositionForSharpStrokeRendering(o,1),P&&j){var l="M"+(i-1-1)+","+(o-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";a.attr("d",l)}else if(P){var s="M"+(i-1-1)+","+(o-9-1)+"v18 h2 v-18 Z";a.attr("d",s)}else{var c="M"+(i-9-1)+","+(o-1-1)+"h18 v2 h-18 Z";a.attr("d",c)}}()}function $(e){e.selectAll(".visual-cue").remove()}f.init(W),Z.node().onmousemove=X}(e,P,s,t,l,z):!0===s.editable&&P.style("pointer-events",O||c.opacity(S)*A<=.5?"stroke":"all");P.node().addEventListener("click",(function(){return function(e,t){if(y(e)){var r=+t.node().getAttribute("data-index");if(r>=0){if(r===e._fullLayout._activeShapeIndex)return void k(e);e._fullLayout._activeShapeIndex=r,e._fullLayout._deactivateShape=k,v(e)}}}(e,P)}))}s._input&&!1!==s.visible&&("below"!==s.layer?T(e._fullLayout._shapeUpperLayer):"paper"===s.xref||"paper"===s.yref?T(e._fullLayout._shapeLowerLayer):x._hadPlotinfo?T((x.mainplotinfo||x).shapelayer):T(e._fullLayout._shapeLowerLayer))}function b(e,t,r){var n=(r.xref+r.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(e,n?"clip"+t._fullLayout._uid+n:null,t)}function _(e,t){var r,i,o,l,s,c,u,d,f,h,v,m,y,x,b,_,w=t.type,k=a.getRefType(t.xref),T=a.getRefType(t.yref),M=a.getFromId(e,t.xref),A=a.getFromId(e,t.yref),S=e._fullLayout._size;if(M?"domain"===k?i=function(e){return M._offset+M._length*e}:(r=g.shapePositionToRange(M),i=function(e){return M._offset+M.r2p(r(e,!0))}):i=function(e){return S.l+S.w*e},A?"domain"===T?l=function(e){return A._offset+A._length*(1-e)}:(o=g.shapePositionToRange(A),l=function(e){return A._offset+A.r2p(o(e,!0))}):l=function(e){return S.t+S.h*(1-e)},"path"===w)return M&&"date"===M.type&&(i=g.decodeDate(i)),A&&"date"===A.type&&(l=g.decodeDate(l)),h=i,v=l,m=(f=t).path,y=f.xsizemode,x=f.ysizemode,b=f.xanchor,_=f.yanchor,m.replace(p.segmentRE,(function(e){var t=0,r=e.charAt(0),a=p.paramIsX[r],i=p.paramIsY[r],o=p.numParams[r],l=e.substr(1).replace(p.paramRE,(function(e){return a[t]?e="pixel"===y?h(b)+Number(e):h(e):i[t]&&(e="pixel"===x?v(_)-Number(e):v(e)),++t>o&&(e="X"),e}));return t>o&&(l=l.replace(/[\s,]*X.*/,""),n.log("Ignoring extra params in segment "+e)),r+l}));if("pixel"===t.xsizemode){var L=i(t.xanchor);s=L+t.x0,c=L+t.x1}else s=i(t.x0),c=i(t.x1);if("pixel"===t.ysizemode){var C=l(t.yanchor);u=C-t.y0,d=C-t.y1}else u=l(t.y0),d=l(t.y1);if("line"===w)return"M"+s+","+u+"L"+c+","+d;if("rect"===w)return"M"+s+","+u+"H"+c+"V"+d+"H"+s+"Z";var I=(s+c)/2,O=(u+d)/2,D=Math.abs(I-s),z=Math.abs(O-u),P="A"+D+","+z,j=I+D+","+O;return"M"+j+P+" 0 1,1 "+I+","+(O-z)+P+" 0 0,1 "+j+"Z"}function w(e,t,r){return e.replace(p.segmentRE,(function(e){var n=0,a=e.charAt(0),i=p.paramIsX[a],o=p.paramIsY[a],l=p.numParams[a];return a+e.substr(1).replace(p.paramRE,(function(e){return n>=l||(i[n]?e=t(e):o[n]&&(e=r(e)),n++),e}))}))}function k(e){y(e)&&e._fullLayout._activeShapeIndex>=0&&(l(e),delete e._fullLayout._activeShapeIndex,v(e))}e.exports={draw:v,drawOne:x,eraseActiveShape:function(e){if(y(e)){l(e);var t=e._fullLayout._activeShapeIndex,n=(e.layout||{}).shapes||[];if(tc),(e=>c=e)),r(e.exports,"pointsShapeEllipse",(()=>n),(e=>n=e)),r(e.exports,"readPaths",(()=>i),(e=>i=e)),r(e.exports,"writePaths",(()=>o),(e=>o=e)),r(e.exports,"pointsShapeRectangle",(()=>a),(e=>a=e)),r(e.exports,"handleEllipse",(()=>l),(e=>l=e));var u=s("2zUNe"),d=s("7uwNx"),f=d.CIRCLE_SIDES,h=d.SQRT2,p=s("6JNER"),g=p.p2r,v=p.r2p,m=[0,3,4,5,6,1,2],y=[0,3,4,1,2];function x(e,t){return Math.abs(e-t)<=1e-6}function b(e,t){var r=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+n*n)}o=function(e){var t=e.length;if(!t)return"M0,0Z";for(var r="",n=0;n0&&s2&&(t.push([n].concat(i.splice(0,2))),l="l",n="m"==n?"l":"L");;){if(i.length==r[l])return i.unshift(n),t.push(i);if(i.length1&&(2!==e.length||"Z"!==e[1][0])&&(0===k&&(e[0][0]="M"),t[w]=e,y(),x())}}()}}function D(e,r){(function(e,r){if(t.length)for(var n=0;n=0&&d(m),i.attr("d",g(t)),M&&!f&&(T=function(e,t){for(var r=0;rc),(e=>c=e)),r(e.exports,"rangeToShapePosition",(()=>o),(e=>o=e)),r(e.exports,"encodeDate",(()=>u),(e=>u=e)),r(e.exports,"decodeDate",(()=>n),(e=>n=e)),r(e.exports,"roundPositionForSharpStrokeRendering",(()=>f),(e=>f=e)),r(e.exports,"extractPathCoords",(()=>a),(e=>a=e)),r(e.exports,"makeOptionsAndPlotinfo",(()=>d),(e=>d=e)),r(e.exports,"shapePositionToRange",(()=>l),(e=>l=e)),r(e.exports,"getPixelToData",(()=>i),(e=>i=e));var h=s("fN6X1"),p=s("1nIvY");o=function(e){return"log"===e.type?e.r2d:function(e){return e}},l=function(e){return"log"===e.type?e.d2r:function(e){return e}},n=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},u=function(e){return function(t){return e(t).replace(" ","_")}},a=function(e,t){var r=[];return e.match(h.segmentRE).forEach((function(e){var n=t[e.charAt(0)].drawn;if(void 0!==n){var a=e.substr(1).match(h.paramRE);!a||a.lengtha),(e=>a=e)),r(e.exports,"getAxisGroup",(()=>i),(e=>i=e)),r(e.exports,"handleDefaults",(()=>n),(e=>n=e)),r(e.exports,"clean",(()=>o),(e=>o=e));var l=s("1nIvY"),c=s("7vf7z"),u=s("22HUI").id2name,d=s("1bJQq"),f=s("2OLXb"),h=s("7cQhP"),p=s("10TEj").ALMOST_EQUAL,g=s("5n2uh").FROM_BL;function v(e,t,r){var n=r.axIds,a=r.layoutOut,i=r.hasImage,o=a._axisConstraintGroups,s=a._axisMatchGroups,c=t._id,f=c.charAt(0),h=((a._splomAxes||{})[f]||{})[c]||{},p=t._id,g="x"===p.charAt(0);function v(r,n){return l.coerce(e,t,d,r,n)}t._matchGroup=null,t._constraintGroup=null,v("constrain",i?"domain":"range"),l.coerce(e,t,{constraintoward:{valType:"enumerated",values:g?["left","center","right"]:["bottom","middle","top"],dflt:g?"center":"middle"}},"constraintoward");var b,_,w=t.type,k=[];for(b=0;bn?a.substr(n):i.substr(r))+o:a+i+e*t:o}function _(e,t){for(var r=t._size,n=r.h/r.w,a={},i=Object.keys(e),o=0;op*m)||k)for(r=0;rz&&RO&&(O=R);s/=(O-I)/(2*D),I=i.l2r(I),O=i.l2r(O),i.range=i._input.range=S-1,_=[];if((y=x)&&Array.isArray(y)&&!0!==y[0].hoverOnBox){R(e,t,i);var w=function(e,t){var r,n,a=e[0],i=-1,o=[];for(n=0;n0?function(e,t){var r,n,a,i=[];for(a=0;a0&&i.push(r);if(1===i.length&&i[0]===t.searchInfo&&(n=t.searchInfo.cd[0].trace).selectedpoints.length===t.pointNumbers.length){for(a=0;a1)return!1;if((n+=t.selectedpoints.length)>1)return!1}return 1===n}(l)&&(f=H(w))){for(o&&o.remove(),m=0;m=0&&a._fullLayout._deactivateShape(a),f(t)){var i=a._fullLayout._zoomlayer.selectAll(".select-outline-"+r.id);if(i&&a._fullLayout._drawing){var o=m(i,e);o&&n.call("_guiRelayout",a,{shapes:o}),a._fullLayout._drawing=!1}}r.selection={},r.selection.selectionDefs=e.selectionDefs=[],r.selection.mergedPolygons=e.mergedPolygons=[]}function F(e,t,r,n){var a,i,o,l=[],s=t.map((function(e){return e._id})),c=r.map((function(e){return e._id}));for(o=0;o0?n[0]:r;return!!t.selectedpoints&&t.selectedpoints.indexOf(a)>-1}function B(e,t,r){var a,i,o,l;for(a=0;a=0)C._fullLayout._deactivateShape(C);else if(!_){var r=P.clickmode;b.done(ge).then((function(){if(b.clear(ge),2===e){for(de.remove(),$=0;$-1&&z(t,C,l.xaxes,l.yaxes,l.subplot,l,de),"event"===r&&C.emit("plotly_selected",void 0);o.click(C,t)})).catch(y.error)}},l.doneFn=function(){pe.remove(),b.done(ge).then((function(){b.clear(ge),l.gd.emit("plotly_selected",te),K&&l.selectionDefs&&(K.subtract=ue,l.selectionDefs.push(K),l.mergedPolygons.length=0,[].push.apply(l.mergedPolygons,J)),l.doneFnCompleted&&l.doneFnCompleted(ve)})).catch(y.error),_&&N(l)}},clearSelect:L,clearSelectionsCache:N,selectOnClick:z}})),s.register("6yBJp",(function(e,t){var r,n=s("1u60H"),a=s("ZBoaZ"),i=s("2Sjtx"),o=s("4kIhQ"),l=s("4bxXj"),c=s("5A95j"),u=!1,d=a();function f(e,t,n){var a=r.segments(e),i=r.segments(t),o=n(r.combine(a,i));return r.polygon(o)}r={buildLog:function(e){return!0===e?u=n():!1===e&&(u=!1),!1!==u&&u.list},epsilon:function(e){return d.epsilon(e)},segments:function(e){var t=i(!0,d,u);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){return{combined:i(!1,d,u).calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:l.union(e.combined,u),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:l.intersect(e.combined,u),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:l.difference(e.combined,u),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:l.differenceRev(e.combined,u),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:l.xor(e.combined,u),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:o(e.segments,d,u),inverted:e.inverted}},polygonFromGeoJSON:function(e){return c.toPolygon(r,e)},polygonToGeoJSON:function(e){return c.fromPolygon(r,d,e)},union:function(e,t){return f(e,t,r.selectUnion)},intersect:function(e,t){return f(e,t,r.selectIntersect)},difference:function(e,t){return f(e,t,r.selectDifference)},differenceRev:function(e,t){return f(e,t,r.selectDifferenceRev)},xor:function(e,t){return f(e,t,r.selectXor)}},"object"==typeof window&&(window.PolyBool=r),e.exports=r})),s.register("1u60H",(function(e,t){e.exports=function(){var e,t=0,r=!1;function n(t,r){return e.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return n("check",{seg1:e,seg2:t})},segmentChop:function(e,t){return n("div_seg",{seg:e,pt:t}),n("chop",{seg:e,pt:t})},statusRemove:function(e){return n("pop_seg",{seg:e})},segmentUpdate:function(e){return n("seg_update",{seg:e})},segmentNew:function(e,t){return n("new_seg",{seg:e,primary:t})},segmentRemove:function(e){return n("rem_seg",{seg:e})},tempStatus:function(e,t,r){return n("temp_status",{seg:e,above:t,below:r})},rewind:function(e){return n("rewind",{seg:e})},status:function(e,t,r){return n("status",{seg:e,above:t,below:r})},vert:function(t){return t===r?e:(r=t,n("vert",{x:t}))},log:function(e){return"string"!=typeof e&&(e=JSON.stringify(e,!1," ")),n("log",{txt:e})},reset:function(){return n("reset")},selected:function(e){return n("selected",{segs:e})},chainStart:function(e){return n("chain_start",{seg:e})},chainRemoveHead:function(e,t){return n("chain_rem_head",{index:e,pt:t})},chainRemoveTail:function(e,t){return n("chain_rem_tail",{index:e,pt:t})},chainNew:function(e,t){return n("chain_new",{pt1:e,pt2:t})},chainMatch:function(e){return n("chain_match",{index:e})},chainClose:function(e){return n("chain_close",{index:e})},chainAddHead:function(e,t){return n("chain_add_head",{index:e,pt:t})},chainAddTail:function(e,t){return n("chain_add_tail",{index:e,pt:t})},chainConnect:function(e,t){return n("chain_con",{index1:e,index2:t})},chainReverse:function(e){return n("chain_rev",{index:e})},chainJoin:function(e,t){return n("chain_join",{index1:e,index2:t})},done:function(){return n("done")}}}})),s.register("ZBoaZ",(function(e,t){e.exports=function(e){"number"!=typeof e&&(e=1e-10);var t={epsilon:function(t){return"number"==typeof t&&(e=t),e},pointAboveOrOnLine:function(t,r,n){var a=r[0],i=r[1],o=n[0],l=n[1],s=t[0];return(o-a)*(t[1]-i)-(l-i)*(s-a)>=-e},pointBetween:function(t,r,n){var a=t[1]-r[1],i=n[0]-r[0],o=t[0]-r[0],l=n[1]-r[1],s=o*i+a*l;return!(s-e)},pointsSameX:function(t,r){return Math.abs(t[0]-r[0])e!=o-a>e&&(i-c)*(a-u)/(o-u)+c-n>e&&(l=!l),i=c,o=u}return l}};return t}})),s.register("2Sjtx",(function(e,t){var r=s("6XBww");e.exports=function(e,t,n){function a(e,t,r){return{id:n?n.segmentId():-1,start:e,end:t,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var i=r.create();function o(e,r){i.insertBefore(e,(function(n){return function(e,r,n,a,i,o){var l=t.pointsCompare(r,i);return 0!==l?l:t.pointsSame(n,o)?0:e!==a?e?1:-1:t.pointAboveOrOnLine(n,a?i:o,a?o:i)?1:-1}(e.isStart,e.pt,r,n.isStart,n.pt,n.other.pt)<0}))}function l(e,t){var n,a,i,l=(n=e,a=t,o(i=r.node({isStart:!0,pt:n.start,seg:n,primary:a,other:null,status:null}),n.end),i);return function(e,t,n){var a=r.node({isStart:!1,pt:t.end,seg:t,primary:n,other:e,status:null});e.other=a,o(a,e.pt)}(l,e,t),l}function s(e,t){var r,i,s=a(t,e.seg.end,e.seg);return r=e,i=t,n&&n.segmentChop(r.seg,i),r.other.remove(),r.seg.end=i,r.other.pt=i,o(r.other,r.pt),l(s,e.primary)}function c(a,o){var l=r.create();function c(e){return l.findTransition((function(r){var n,a,i,o,l,s;return n=e,a=r.ev,i=n.seg.start,o=n.seg.end,l=a.seg.start,s=a.seg.end,(t.pointsCollinear(i,l,s)?t.pointsCollinear(o,l,s)||t.pointAboveOrOnLine(o,l,s)?1:-1:t.pointAboveOrOnLine(i,l,s)?1:-1)>0}))}function u(e,r){var a=e.seg,i=r.seg,o=a.start,l=a.end,c=i.start,u=i.end;n&&n.checkIntersection(a,i);var d=t.linesIntersect(o,l,c,u);if(!1===d){if(!t.pointsCollinear(o,l,c))return!1;if(t.pointsSame(o,u)||t.pointsSame(l,c))return!1;var f=t.pointsSame(o,c),h=t.pointsSame(l,u);if(f&&h)return r;var p=!f&&t.pointBetween(o,c,u),g=!h&&t.pointBetween(l,c,u);if(f)return g?s(r,l):s(e,u),r;p&&(h||(g?s(r,l):s(e,u)),s(r,o))}else 0===d.alongA&&(-1===d.alongB?s(e,c):0===d.alongB?s(e,d.pt):1===d.alongB&&s(e,u)),0===d.alongB&&(-1===d.alongA?s(r,o):0===d.alongA?s(r,d.pt):1===d.alongA&&s(r,l));return!1}for(var d=[];!i.isEmpty();){var f=i.getHead();if(n&&n.vert(f.pt[0]),f.isStart){n&&n.segmentNew(f.seg,f.primary);var h=c(f),p=h.before?h.before.ev:null,g=h.after?h.after.ev:null;function v(){if(p){var e=u(f,p);if(e)return e}return!!g&&u(f,g)}n&&n.tempStatus(f.seg,!!p&&p.seg,!!g&&g.seg);var m,y=v();if(y)e?(m=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below)&&(y.seg.myFill.above=!y.seg.myFill.above):y.seg.otherFill=f.seg.myFill,n&&n.segmentUpdate(y.seg),f.other.remove(),f.remove();if(i.getHead()!==f){n&&n.rewind(f.seg);continue}if(e)m=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below,f.seg.myFill.below=g?g.seg.myFill.above:a,f.seg.myFill.above=m?!f.seg.myFill.below:f.seg.myFill.below;else if(null===f.seg.otherFill){var x;x=g?f.primary===g.primary?g.seg.otherFill.above:g.seg.myFill.above:f.primary?o:a,f.seg.otherFill={above:x,below:x}}n&&n.status(f.seg,!!p&&p.seg,!!g&&g.seg),f.other.status=h.insert(r.node({ev:f}))}else{var b=f.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(l.exists(b.prev)&&l.exists(b.next)&&u(b.prev.ev,b.next.ev),n&&n.statusRemove(b.ev.seg),b.remove(),!f.primary){var _=f.seg.myFill;f.seg.myFill=f.seg.otherFill,f.seg.otherFill=_}d.push(f.seg)}i.getHead().remove()}return n&&n.done(),d}return e?{addRegion:function(e){for(var r,a,i,o=e[e.length-1],s=0;si||c===n||cl||t&&s(e))}:function(e,t){var s=e[0],c=e[1];if(s===n||si||c===n||cl)return!1;var u,d,f,h,p,g=r.length,v=r[0][0],m=r[0][1],y=0;for(u=1;uMath.max(d,v)||c>Math.max(f,m)))if(cu||Math.abs(r(o,f))>a)return!0;return!1},a.filter=function(e,t){var r=[e[0]],n=0,i=0;function o(o){e.push(o);var l=r.length,s=n;r.splice(i+1);for(var c=s+1;c1&&o(e.pop()),{addPt:o,raw:e,filtered:r}}})),s.register("6cUxK",(function(e,t){var n,a,i,o;r(e.exports,"isAddVal",(()=>n),(e=>n=e)),r(e.exports,"isRemoveVal",(()=>o),(e=>o=e)),r(e.exports,"containerArrayMatch",(()=>a),(e=>a=e)),r(e.exports,"applyContainerArrayChanges",(()=>i),(e=>i=e));var l=s("2bwwe"),c=s("77Ix4"),u=s("1NWKZ"),d=s("5LcuG").sorterAsc,f=s("4Hxcc");a=s("cnH6u");var h=n=function(e){return"add"===e||l(e)},p=o=function(e){return null===e||"remove"===e};i=function(e,t,r,n,a){var i=t.astr,o=f.getComponentMethod(i,"supplyLayoutDefaults"),l=f.getComponentMethod(i,"draw"),s=f.getComponentMethod(i,"drawOne"),g=n.replot||n.recalc||o===c||l===c,v=e.layout,m=e._fullLayout;if(r[""]){Object.keys(r).length>1&&u.warn("Full array edits are incompatible with other edits",i);var y=r[""][""];if(p(y))t.set(null);else{if(!Array.isArray(y))return u.warn("Unrecognized full array edit value",i,y),!0;t.set(y)}return!g&&(o(v,m),l(e),!0)}var x,b,_,w,k,T,M,A,S=Object.keys(r).map(Number).sort(d),L=t.get(),C=L||[],I=a(m,i).get(),O=[],D=-1,z=C.length;for(x=0;xC.length-(M?0:1))u.warn("index out of range",i,_);else if(void 0!==T)k.length>1&&u.warn("Insertion & removal are incompatible with edits to the same index.",i,_),p(T)?O.push(_):M?("add"===T&&(T={}),C.splice(_,0,T),I&&I.splice(_,0,{})):u.warn("Unrecognized full object edit value",i,_,T),-1===D&&(D=_);else for(b=0;b=0;x--)C.splice(O[x],1),I&&I.splice(O[x],1);if(C.length?L||t.set(C):t.set(null),g)return!1;if(o(v,m),s!==c){var P;if(-1===D)P=S;else{for(z=Math.max(C.length,z),P=[],x=0;x=D);x++)P.push(_);for(x=D;xa),(e=>a=e)),r(e.exports,"manageArrayContainers",(()=>o),(e=>o=e)),r(e.exports,"clearAxisTypes",(()=>d),(e=>d=e)),r(e.exports,"cleanLayout",(()=>c),(e=>c=e)),r(e.exports,"hasParent",(()=>i),(e=>i=e)),r(e.exports,"coerceTraceIndices",(()=>l),(e=>l=e)),r(e.exports,"cleanData",(()=>u),(e=>u=e)),r(e.exports,"swapXYData",(()=>n),(e=>n=e));var f=s("6qr5h"),h=s("5tz2B"),p=s("4Hxcc"),g=s("1nIvY"),v=s("3BndS"),m=s("22HUI"),y=s("3N5m7"),x=m.cleanId,b=m.getFromTrace,_=p.traceIs;function w(e,t){var r=e[t],n=t.charAt(0);r&&"paper"!==r&&(e[t]=x(r,n,!0))}function k(e){function t(t,r){var n=e[t],a=e.title&&e.title[r];n&&!a&&(e.title||(e.title={}),e.title[r]=e[t],delete e[t])}e&&("string"!=typeof e.title&&"number"!=typeof e.title||(e.title={text:e.title}),t("titlefont","font"),t("titleposition","position"),t("titleside","side"),t("titleoffset","offset"))}function T(e){if(!g.isPlainObject(e))return!1;var t=e.name;return delete e.name,delete e.showlegend,("string"==typeof t||"number"==typeof t)&&String(t)}function M(e,t,r,n){if(r&&!n)return e;if(n&&!r)return t;if(!e.trim())return t;if(!t.trim())return e;var a,i=Math.min(e.length,t.length);for(a=0;a0&&g.log("Clearing previous rejected promises from queue."),e._promises=[]},c=function(e){var t,r;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var n=(v.subplotsRegistry.cartesian||{}).attrRegex,a=(v.subplotsRegistry.polar||{}).attrRegex,i=(v.subplotsRegistry.ternary||{}).attrRegex,o=(v.subplotsRegistry.gl3d||{}).attrRegex,l=Object.keys(e);for(t=0;t3?(z.x=1.02,z.xanchor="left"):z.x<-2&&(z.x=-.02,z.xanchor="right"),z.y>3?(z.y=1.02,z.yanchor="bottom"):z.y<-2&&(z.y=-.02,z.yanchor="top")),k(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),y.clean(e),e.template&&e.template.layout&&c(e.template.layout),e},u=function(e){for(var t=0;t0)return e.substr(0,t)}i=function(e,t){for(var r=C(t);r;){if(r in e)return!0;r=C(r)}return!1};var I=["x","y","z"];d=function(e,t,r){for(var n=0;nh),(e=>h=e)),r(e.exports,"revokeObjectURL",(()=>a),(e=>a=e)),r(e.exports,"getRedrawFunc",(()=>n),(e=>n=e)),r(e.exports,"createBlob",(()=>i),(e=>i=e)),r(e.exports,"octetStream",(()=>d),(e=>d=e)),r(e.exports,"encodeJSON",(()=>f),(e=>f=e)),r(e.exports,"IMAGE_URL_PREFIX",(()=>l),(e=>l=e)),r(e.exports,"encodeSVG",(()=>u),(e=>u=e)),r(e.exports,"MSG_IE_BAD_FORMAT",(()=>o),(e=>o=e)),r(e.exports,"getDelay",(()=>c),(e=>c=e));var p=s("4Hxcc");c=function(e){return e._has&&(e._has("gl3d")||e._has("gl2d")||e._has("mapbox"))?500:0},n=function(e){return function(){var t=e._fullLayout||{};(!t._has||!t._has("polar"))&&e.data&&e.data[0]&&e.data[0].r||p.getComponentMethod("colorbar","draw")(e)}},u=function(e){return"data:image/svg+xml,"+encodeURIComponent(e)},f=function(e){return"data:application/json,"+encodeURIComponent(e)};var g=window.URL||window.webkitURL;h=function(e){return g.createObjectURL(e)},a=function(e){return g.revokeObjectURL(e)},i=function(e,t){if("svg"===t)return new window.Blob([e],{type:"image/svg+xml;charset=utf-8"});if("full-json"===t)return new window.Blob([e],{type:"application/json;charset=utf-8"});var r=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),a=0;a")?"":M.html(e).text()})),M.remove(),S=(S=(S=A).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(u,"'"),n.isIE()&&(S=(S=(S=S.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),S}})),s.register("5B7kc",(function(e,t){"use strict";var r=s("1nIvY"),n=s("4jc2y").EventEmitter,a=s("3N1mF");e.exports=function(e){var t=e.emitter||new n,i=new Promise((function(n,o){var l=window.Image,s=e.svg,c=e.format||"png";if(r.isIE()&&"svg"!==c){var u=new Error(a.MSG_IE_BAD_FORMAT);return o(u),e.promise?i:t.emit("error",u)}var d,f,h=e.canvas,p=e.scale||1,g=e.width||300,v=e.height||150,m=p*g,y=p*v,x=h.getContext("2d"),b=new l;"svg"===c||r.isIE9orBelow()||r.isSafari()?f=a.encodeSVG(s):(d=a.createBlob(s,"svg"),f=a.createObjectURL(d)),h.width=m,h.height=y,b.onload=function(){var r;switch(d=null,a.revokeObjectURL(f),"svg"!==c&&x.drawImage(b,0,0,m,y),c){case"jpeg":r=h.toDataURL("image/jpeg");break;case"png":r=h.toDataURL("image/png");break;case"webp":r=h.toDataURL("image/webp");break;case"svg":r=f;break;default:var i="Image format is not jpeg, png, svg or webp.";if(o(new Error(i)),!e.promise)return t.emit("error",i)}n(r),e.promise||t.emit("success",r)},b.onerror=function(r){if(d=null,a.revokeObjectURL(f),o(r),!e.promise)return t.emit("error",r)},b.src=f}));return e.promise?i:t}})),s.register("1B45K",(function(e,t){"use strict";var r=s("1nIvY"),n=s("3BndS"),a=s("4UWmi"),i=s("24AkC").dfltConfig,o=r.isPlainObject,l=Array.isArray,c=r.isArrayOrTypedArray;function u(e,t,n,a,i,s){s=s||[];for(var d=Object.keys(e),f=0;fx.length&&a.push(p("unused",i,m.concat(x.length)));var M,A,S,L,C,I=x.length,O=Array.isArray(T);if(O&&(I=Math.min(I,T.length)),2===b.dimensions)for(A=0;Ax[A].length&&a.push(p("unused",i,m.concat(A,x[A].length)));var D=x[A].length;for(M=0;M<(O?Math.min(D,T[A].length):D);M++)S=O?T[A][M]:T,L=y[A][M],C=x[A][M],r.validate(L,S)?C!==L&&C!==+L&&a.push(p("dynamic",i,m.concat(A,M),L,C)):a.push(p("value",i,m.concat(A,M),L))}else a.push(p("array",i,m.concat(A),y[A]));else for(A=0;A1&&h.push(p("object","layout"))),n.supplyDefaults(g);for(var v=g._fullData,m=s.length,y=0;ya),(e=>a=e)),r(e.exports,"makeTemplate",(()=>n),(e=>n=e));var i=s("1nIvY"),o=i.isPlainObject,l=s("4UWmi"),c=s("3BndS"),u=s("5zAUi"),d=s("1IyjK"),f=s("24AkC").dfltConfig;function h(e,t){e=i.extendDeep({},e);var r,n,a=Object.keys(e).sort();function l(t,r,a){if(o(r)&&o(t))h(t,r);else if(Array.isArray(r)&&Array.isArray(t)){var i=d.arrayTemplater({_template:e},a);for(n=0;nk?s.push({code:"unused",traceType:g,templateCount:w,dataCount:k}):k>w&&s.push({code:"reused",traceType:g,templateCount:w,dataCount:k})}}else s.push({code:"data"});if(function e(t,r){for(var n in t)if("_"!==n.charAt(0)){var a=t[n],i=y(t,n,r);o(a)?(Array.isArray(t)&&!1===a._template&&a.templateitemname&&s.push({code:"missing",path:i,templateitemname:a.templateitemname}),e(a,i)):Array.isArray(a)&&x(a)&&e(a,i)}}({data:d,layout:u},""),s.length)return s.map(b)}})),s.register("2IDEe",(function(e,t){"use strict";var r=s("5EGfs");e.exports={hasLines:r.hasLines,hasMarkers:r.hasMarkers,hasText:r.hasText,isBubble:r.isBubble,attributes:s("2oxdA"),supplyDefaults:s("27xl1"),crossTraceDefaults:s("5V1gf"),calc:s("ERg3I").calc,crossTraceCalc:s("NNNef"),arraysToCalcdata:s("5SII0"),plot:s("5d1Gr"),colorbar:s("6mMRq"),formatLabels:s("1inVk"),style:s("1AGAa").style,styleOnSelect:s("1AGAa").styleOnSelect,hoverPoints:s("6W6HN"),selectPoints:s("4f7ZS"),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:s("44dhM"),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{description:["The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts.","The data visualized as scatter point or lines is set in `x` and `y`.","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}})),s.register("27xl1",(function(e,t){"use strict";var r=s("1nIvY"),n=s("4Hxcc"),a=s("2oxdA"),i=s("4We8O"),o=s("5EGfs"),l=s("3ziEk"),c=s("42Vbv"),u=s("5c4u8"),d=s("6MkR1"),f=s("6pFg0"),h=s("3HWE8"),p=s("6JOEF"),g=s("74Fe5");e.exports=function(e,t,s,v){function m(n,i){return r.coerce(e,t,a,n,i)}var y=l(e,t,v,m);if(y||(t.visible=!1),t.visible){c(e,t,v,m);var x=u(e,t,v,m),b=!x&&y=0;a--){var i=e[a];if("scatter"===i.type&&i.xaxis===r.xaxis&&i.yaxis===r.yaxis){i.opacity=void 0;break}}}}}})),s.register("ERg3I",(function(e,t){"use strict";var r=s("6qr5h"),n=s("1nIvY"),a=s("1nE8l"),i=s("1Lgaj"),o=s("10TEj").BADNUM,l=s("5EGfs"),c=s("1DEwk"),u=s("5SII0"),d=s("6LyZ0");function f(e,t,r,n,i,o,s){var c=t._length,u=e._fullLayout,d=r._id,f=n._id,h=u._firstScatter[g(t)]===t.uid,p=(v(t,u,r,n)||{}).orientation,m=t.fill;r._minDtick=0,n._minDtick=0;var y={padded:!0},x={padded:!0};s&&(y.ppad=x.ppad=s);var b=c<2||i[0]!==i[c-1]||o[0]!==o[c-1];b&&("tozerox"===m||"tonextx"===m&&(h||"h"===p))?y.tozero=!0:(t.error_y||{}).visible||"tonexty"!==m&&"tozeroy"!==m&&(l.hasMarkers(t)||l.hasText(t))||(y.padded=!1,y.ppad=0),b&&("tozeroy"===m||"tonexty"===m&&(h||"v"===p))?x.tozero=!0:"tonextx"!==m&&"tozerox"!==m||(x.padded=!1),d&&(t._extremes[d]=a.findExtremes(r,i,y)),f&&(t._extremes[f]=a.findExtremes(n,o,x))}function h(e,t){if(l.hasMarkers(e)){var r,i=e.marker,o=1.6*(e.marker.sizeref||1);if(r="area"===e.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/o),3)}:function(e){return Math.max((e||0)/o,3)},n.isArrayOrTypedArray(i.size)){var s={type:"linear"};a.setConvert(s);for(var c=s.makeCalcdata(e.marker,"size"),u=new Array(t),d=0;ds&&L[m].gap;)m--;for(x=L[m].s,g=L.length-1;g>m;g--)L[g].s=x;for(;s0&&Math.round(d)===d))return l;c=d}for(var f=t.calendar,h="start"===s,p="end"===s,g=e[n+"period0"],v=a(g,f)||0,m=[],y=l.length,x=0;xk;)w=i(w,-c,f);for(;w<=k;)w=i(w,c,f);_=i(w,-c,f)}else{for(w=v+(b=Math.round((k-v)/u))*u;w>k;)w-=u;for(;w<=k;)w+=u;_=w-u}m[x]=h?_:p?w:(_+w)/2}return m}})),s.register("1DEwk",(function(e,t){"use strict";var r=s("hpg1L").hasColorscale,n=s("3RzCY"),a=s("5EGfs");e.exports=function(e,t){a.hasLines(t)&&r(t,"line")&&n(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),a.hasMarkers(t)&&(r(t,"marker")&&n(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),r(t,"marker.line")&&n(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}})),s.register("5SII0",(function(e,t){"use strict";var r=s("1nIvY");e.exports=function(e,t){for(var n=0;nA[u]&&u=u[0]&&e.x<=u[1]&&e.y>=d[0]&&e.y<=d[1]})),g=Math.ceil(p.length/h),v=0;o.forEach((function(e,r){var n=e[0].trace;c.hasMarkers(n)&&n.marker.maxdisplayed>0&&r0;function y(e){return m?e.transition():e}var x=s.xaxis,b=s.yaxis,_=d[0].trace,w=_.line,k=r.select(p),T=i(k,"g","errorbars"),M=i(k,"g","lines"),A=i(k,"g","points"),S=i(k,"g","text");if(n.getComponentMethod("errorbars","plot")(e,T,s,g),!0===_.visible){var L,C;y(k).style("opacity",_.opacity);var I=_.fill.charAt(_.fill.length-1);"x"!==I&&"y"!==I&&(I=""),d[0][s.isRangePlot?"nodeRangePlot3":"node3"]=k;var O,D,z="",P=[],j=_._prevtrace;j&&(z=j._prevRevpath||"",C=j._nextFill,P=j._polygons);var E,R,N,F,H,B,U,q="",V="",Y=[],G=a.noop;if(L=_._ownFill,c.hasLines(_)||"none"!==_.fill){for(C&&C.datum(d),-1!==["hv","vh","hvh","vhv"].indexOf(w.shape)?(E=l.steps(w.shape),R=l.steps(w.shape.split("").reverse().join(""))):E=R="spline"===w.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?l.smoothclosed(e.slice(1),w.smoothing):l.smoothopen(e,w.smoothing)}:function(e){return"M"+e.join("L")},N=function(e){return R(e.reverse())},Y=u(d,{xaxis:x,yaxis:b,connectGaps:_.connectgaps,baseTolerance:Math.max(w.width||1,3)/4,shape:w.shape,simplify:w.simplify,fill:_.fill}),U=_._polygons=new Array(Y.length),v=0;v1){var n=r.select(this);if(n.datum(d),e)y(n.style("opacity",0).attr("d",O).call(l.lineGroupStyle)).style("opacity",1);else{var a=y(n);a.attr("d",O),l.singleLineStyle(d,a)}}}}}var Z=M.selectAll(".js-line").data(Y);y(Z.exit()).style("opacity",0).remove(),Z.each(G(!1)),Z.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(l.lineGroupStyle).each(G(!0)),l.setClipUrl(Z,s.layerClipId,e),Y.length?(L?(L.datum(d),F&&B&&(I?("y"===I?F[1]=B[1]=b.c2p(0,!0):"x"===I&&(F[0]=B[0]=x.c2p(0,!0)),y(L).attr("d","M"+B+"L"+F+"L"+q.substr(1)).call(l.singleFillStyle)):y(L).attr("d",q+"Z").call(l.singleFillStyle))):C&&("tonext"===_.fill.substr(0,6)&&q&&z?("tonext"===_.fill?y(C).attr("d",q+"Z"+z+"Z").call(l.singleFillStyle):y(C).attr("d",q+"L"+z.substr(1)+"Z").call(l.singleFillStyle),_._polygons=_._polygons.concat(P)):(X(C),_._polygons=null)),_._prevRevpath=V,_._prevPolygons=U):(L?X(L):C&&X(C),_._polygons=_._prevRevpath=_._prevPolygons=null),A.datum(d),S.datum(d),function(t,n,a){var i,u=a[0].trace,d=c.hasMarkers(u),f=c.hasText(u),h=function(e){if(e.ids)return $}(u),p=ee,g=ee;if(d||f){var v=o,_=u.stackgroup,w=_&&"infer zero"===e._fullLayout._scatterStackOpts[x._id+b._id][_].stackgaps;u.marker.maxdisplayed||u._needsCull?v=w?J:Q:_&&!w&&(v=K),d&&(p=v),f&&(g=v)}var k,T=(i=t.selectAll("path.point").data(p,h)).enter().append("path").classed("point",!0);m&&T.call(l.pointStyle,u,e).call(l.translatePoints,x,b).style("opacity",0).transition().style("opacity",1),i.order(),d&&(k=l.makePointStyleFns(u)),i.each((function(t){var n=r.select(this),a=y(n);l.translatePoint(t,a,x,b)?(l.singlePointStyle(t,a,u,k,e),s.layerClipId&&l.hideOutsideRangePoint(t,a,x,b,u.xcalendar,u.ycalendar),u.customdata&&n.classed("plotly-customdata",null!==t.data&&void 0!==t.data)):a.remove()})),m?i.exit().transition().style("opacity",0).remove():i.exit().remove(),(i=n.selectAll("g").data(g,h)).enter().append("g").classed("textpoint",!0).append("text"),i.order(),i.each((function(e){var t=r.select(this),n=y(t.select("text"));l.translatePoint(e,n,x,b)?s.layerClipId&&l.hideOutsideRangePoint(e,t,x,b,u.xcalendar,u.ycalendar):t.remove()})),i.selectAll("text").call(l.textPointStyle,u,e).each((function(e){var t=x.c2p(e.x),n=b.c2p(e.y);r.select(this).selectAll("tspan.line").each((function(){y(r.select(this)).attr({x:t,y:n})}))})),i.exit().remove()}(A,S,d);var W=!1===_.cliponaxis?null:s.layerClipId;l.setClipUrl(A,W,e),l.setClipUrl(S,W,e)}function X(e){y(e).attr("d","M0,0Z")}function Q(e){return e.filter((function(e){return!e.gap&&e.vis}))}function J(e){return e.filter((function(e){return e.vis}))}function K(e){return e.filter((function(e){return!e.gap}))}function $(e){return e.id}function ee(){return!1}}e.exports=function(e,t,n,a,s,c){var u,f,p,g,v=!s,m=!!s&&s.duration>0,y=d(e,t,n);(u=a.selectAll("g.trace").data(y,(function(e){return e[0].trace.uid}))).enter().append("g").attr("class",(function(e){return"trace scatter trace"+e[0].trace.uid})).style("stroke-miterlimit",2),u.order(),p=e,g=t,u.each((function(e){var t=i(r.select(this),"g","fills");l.setClipUrl(t,g.layerClipId,p);var n=e[0].trace,a=[];n._ownfill&&a.push("_ownFill"),n._nexttrace&&a.push("_nextFill");var s=t.selectAll("g").data(a,o);s.enter().append("g"),s.exit().each((function(e){n[e]=null})).remove(),s.order().each((function(e){n[e]=i(r.select(this),"path","js-fill")}))})),m?(c&&(f=c()),r.transition().duration(s.duration).ease(s.easing).each("end",(function(){f&&f()})).each("interrupt",(function(){f&&f()})).each((function(){a.selectAll("g.trace").each((function(r,n){h(e,n,t,r,y,this,s)}))}))):u.each((function(r,n){h(e,n,t,r,y,this,s)})),v&&u.exit().remove(),a.selectAll("path:not([d])").remove()}})),s.register("3s7Io",(function(e,t){"use strict";var r=s("10TEj"),n=r.BADNUM,a=r.LOG_CLIP,i=a+.5,o=a-.5,l=s("1nIvY"),c=l.segmentsIntersect,u=l.constrain,d=s("4We8O");e.exports=function(e,t){var r,a,s,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S=t.xaxis,L=t.yaxis,C="log"===S.type,I="log"===L.type,O=S._length,D=L._length,z=t.connectGaps,P=t.baseTolerance,j=t.shape,E="linear"===j,R=t.fill&&"none"!==t.fill,N=[],F=d.minTolerance,H=e.length,B=new Array(H),U=0;function q(r){var a=e[r];if(!a)return!1;var l=t.linearized?S.l2p(a.x):S.c2p(a.x),s=t.linearized?L.l2p(a.y):L.c2p(a.y);if(l===n){if(C&&(l=S.c2p(a.x,!0)),l===n)return!1;I&&s===n&&(l*=Math.abs(S._m*D*(S._m>0?i:o)/(L._m*O*(L._m>0?i:o)))),l*=1e3}if(s===n){if(I&&(s=L.c2p(a.y,!0)),s===n)return!1;s*=1e3}return[l,s]}function V(e,t,r,n){var a=r-e,i=n-t,o=.5-e,l=.5-t,s=a*a+i*i,c=a*o+i*l;if(c>0&&cre||e[1]ae)return[u(e[0],te,re),u(e[1],ne,ae)]}function le(e,t){return e[0]===t[0]&&(e[0]===te||e[0]===re)||e[1]===t[1]&&(e[1]===ne||e[1]===ae)||void 0}function se(e,t,r){return function(n,a){var i=oe(n),o=oe(a),s=[];if(i&&o&&le(i,o))return s;i&&s.push(i),o&&s.push(o);var c=2*l.constrain((n[e]+a[e])/2,t,r)-((i||n)[e]+(o||a)[e]);return c&&((i&&o?c>0==i[e]>o[e]?i:o:i||o)[e]+=c),s}}function ce(e){var t=e[0],r=e[1],n=t===B[U-1][0],a=r===B[U-1][1];if(!n||!a)if(U>1){var i=t===B[U-2][0],o=r===B[U-2][1];n&&(t===te||t===re)&&i?o?U--:B[U-1]=e:a&&(r===ne||r===ae)&&o?i?U--:B[U-1]=e:B[U++]=e}else B[U++]=e}function ue(e){B[U-1][0]!==e[0]&&B[U-1][1]!==e[1]&&ce([X,Q]),ce(e),J=null,X=Q=0}function de(e){if(M=e[0]/O,A=e[1]/D,Z=e[0]re?re:0,W=e[1]ae?ae:0,Z||W){if(U)if(J){var t=$(J,e);t.length>1&&(ue(t[0]),B[U++]=t[1])}else K=$(B[U-1],e)[0],B[U++]=K;else B[U++]=[Z||e[0],W||e[1]];var r=B[U-1];Z&&W&&(r[0]!==Z||r[1]!==W)?(J&&(X!==Z&&Q!==W?ce(X&&Q?(n=J,i=(a=e)[0]-n[0],o=(a[1]-n[1])/i,(n[1]*a[0]-a[1]*n[0])/i>0?[o>0?te:re,ae]:[o>0?re:te,ne]):[X||Z,Q||W]):X&&Q&&ce([X,Q])),ce([Z,W])):X-Z&&Q-W&&ce([Z||X,W||Q]),J=e,X=Z,Q=W}else J&&ue($(J,e)[0]),B[U++]=e;var n,a,i,o}for("linear"===j||"spline"===j?$=function(e,t){for(var r=[],n=0,a=0;a<4;a++){var i=ie[a],o=c(e[0],e[1],t[0],t[1],i[0],i[1],i[2],i[3]);o&&(!n||Math.abs(o.x-r[0][0])>1||Math.abs(o.y-r[0][1])>1)&&(o=[o.x,o.y],n&&G(o,e)Y(p,fe))break;s=p,(_=m[0]*v[0]+m[1]*v[1])>x?(x=_,f=p,g=!1):_=e.length||!p)break;de(p),a=p}}else de(f)}J&&ce([X||J[0],Q||J[1]]),N.push(B.slice(0,U))}return N}})),s.register("S2Ypv",(function(e,t){"use strict";var r={tonextx:1,tonexty:1,tonext:1};e.exports=function(e,t,n){var a,i,o,l,s,c={},u=!1,d=-1,f=0,h=-1;for(i=0;i=0?s=h:(s=h=f,f++),sY!=(R=D[I][1])>=Y&&(P=D[I-1][0],j=D[I][0],R-E&&(z=P+(j-P)*(Y-E)/(R-E),B=Math.min(B,z),U=Math.max(U,z)));B=Math.max(B,0),U=Math.min(U,f._length);var G=o.defaultLine;return o.opacity(d.fillcolor)?G=d.fillcolor:o.opacity((d.line||{}).color)&&(G=d.line.color),r.extendFlat(e,{distance:e.maxHoverDistance,x0:B,x1:U,y0:Y,y1:Y,color:G,hovertemplate:!1}),delete e.index,d.text&&!Array.isArray(d.text)?e.text=String(d.text):e.text=d.name,[e]}}}})),s.register("6iH0j",(function(e,t){"use strict";var r=s("3N5m7"),n=s("5EGfs");e.exports=function(e,t){var a,i;if("lines"===e.mode)return(a=e.line.color)&&r.opacity(a)?a:e.fillcolor;if("none"===e.mode)return e.fill?e.fillcolor:"";var o=t.mcc||(e.marker||{}).color,l=t.mlcc||((e.marker||{}).line||{}).color;return(i=o&&r.opacity(o)?o:l&&r.opacity(l)&&(t.mlw||((e.marker||{}).line||{}).width)?l:"")?r.opacity(i)<.3?r.addOpacity(i,.3):i:(a=(e.line||{}).color)&&r.opacity(a)&&n.hasLines(e)&&e.line.width?a:e.fillcolor}})),s.register("4f7ZS",(function(e,t){"use strict";var r=s("5EGfs");e.exports=function(e,t){var n,a,i,o,l=e.cd,s=e.xaxis,c=e.yaxis,u=[],d=l[0].trace;if(!r.hasMarkers(d)&&!r.hasText(d))return[];if(!1===t)for(n=0;np),(e=>p=e)),r(e.exports,"finalizeSubplots",(()=>h),(e=>h=e)),r(e.exports,"supplyLayoutDefaults",(()=>f),(e=>f=e)),r(e.exports,"rangePlot",(()=>m),(e=>m=e)),r(e.exports,"clean",(()=>c),(e=>c=e)),r(e.exports,"plot",(()=>u),(e=>u=e)),r(e.exports,"toSVG",(()=>y),(e=>y=e)),r(e.exports,"layoutAttributes",(()=>o),(e=>o=e)),r(e.exports,"attrRegex",(()=>i),(e=>i=e)),r(e.exports,"drawFramework",(()=>l),(e=>l=e)),r(e.exports,"idRegex",(()=>a),(e=>a=e)),r(e.exports,"updateFx",(()=>x),(e=>x=e)),r(e.exports,"attr",(()=>n),(e=>n=e)),r(e.exports,"transitionAxes",(()=>v),(e=>v=e)),r(e.exports,"idRoot",(()=>d),(e=>d=e)),r(e.exports,"attributes",(()=>g),(e=>g=e));var b=s("4Wia9"),_=s("4Hxcc"),w=s("1nIvY"),k=s("3BndS"),T=s("7jar4"),M=s("CkVc5").getModuleCalcData,A=s("22HUI"),S=s("5Lafm"),L=s("ipXll"),C=w.ensureSingle;function I(e,t,r){return w.ensureSingle(e,t,r,(function(e){e.datum(r)}))}function O(e,t,r,n,a){for(var i,o,l,s=S.traceLayerClasses,c=e._fullLayout,u=c._modules,d=[],f=[],h=0;h0&&(a["_"+r+"axes"]||{})[t])return a;if((a[r+"axis"]||r)===t){if(i(a,r))return a;if((a[r]||[]).length||a[r+"0"])return a}}}(t,l,s);if(c)if("histogram"!==c.type||s!=={v:"y",h:"x"}[c.orientation||"v"]){var u=s+"calendar",d=c[u],f={noMultiCategory:!r(c,"cartesian")||r(c,"noMultiCategory")};if("box"===c.type&&c._hasPreCompStats&&s==={h:"x",v:"y"}[c.orientation||"v"]&&(f.noMultiCategory=!0),f.autotypenumbers=e.autotypenumbers,i(c,s)){var h=a(c),p=[];for(o=0;o=2){var s,c,u="";if(2===l.length)for(s=0;s<2;s++)if(c=y(l[s])){u=p;break}var d=i("pattern",u);if(d===p)for(s=0;s<2;s++)(c=y(l[s]))&&(t.bounds[s]=l[s]=c-1);if(d)for(s=0;s<2;s++)switch(c=l[s],d){case p:if(!r(c))return void(t.enabled=!1);if((c=+c)!==Math.floor(c)||c<0||c>=7)return void(t.enabled=!1);t.bounds[s]=l[s]=c;break;case g:if(!r(c))return void(t.enabled=!1);if((c=+c)<0||c>24)return void(t.enabled=!1);t.bounds[s]=l[s]=c}if(!1===n.autorange){var f=n.range;if(f[0]f[1])return void(t.enabled=!1)}else if(l[0]>f[0]&&l[1]0;o&&(a="array");var l,s=r("categoryorder",a);"array"===s&&(l=r("categoryarray")),o||"array"!==s||(s=t.categoryorder="trace"),"trace"===s?t._initialCategories=[]:"array"===s?t._initialCategories=l.slice():(l=function(e,t){var r,n,a,i=t.dataAttr||e._id.charAt(0),o={};if(t.axData)r=t.axData;else for(r=[],n=0;ng[1]-1/4096&&(t.domain=l),n.noneOrAll(e.domain,t.domain,l)}return a("layer"),t}})),s.register("51dhs",(function(e,t){"use strict";var r=s("4Wia9"),n=s("4Hxcc"),a=s("1nIvY"),i=s("7jar4"),o=s("1nE8l");e.exports=function(e,t,l,s){var c=e._fullLayout;if(0!==t.length){var u,d,f,h;s&&(u=s());var p=r.ease(l.easing);return e._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(h),h=null,function(){for(var r={},a=0;al.duration?(function(){for(var r={},a=0;a rect").call(i.setTranslate,0,0).call(i.setScale,1,1),e.plot.call(i.setTranslate,t._offset,r._offset).call(i.setScale,1,1);var n=e.plot.selectAll(".scatterlayer .trace");n.selectAll(".point").call(i.setPointGroupScale,1,1),n.selectAll(".textpoint").call(i.setTextPointsScale,1,1),n.call(i.hideOutsideRangePoints,e)}function v(t,r){var n=t.plotinfo,l=n.xaxis,s=n.yaxis,c=l._length,u=s._length,d=!!t.xr1,f=!!t.yr1,h=[];if(d){var p=a.simpleMap(t.xr0,l.r2l),g=a.simpleMap(t.xr1,l.r2l),v=p[1]-p[0],m=g[1]-g[0];h[0]=(p[0]*(1-r)+r*g[0]-p[0])/(p[1]-p[0])*c,h[2]=c*(1-r+r*m/v),l.range[0]=l.l2r(p[0]*(1-r)+r*g[0]),l.range[1]=l.l2r(p[1]*(1-r)+r*g[1])}else h[0]=0,h[2]=c;if(f){var y=a.simpleMap(t.yr0,s.r2l),x=a.simpleMap(t.yr1,s.r2l),b=y[1]-y[0],_=x[1]-x[0];h[1]=(y[1]*(1-r)+r*x[1]-y[1])/(y[0]-y[1])*u,h[3]=u*(1-r+r*_/b),s.range[0]=l.l2r(y[0]*(1-r)+r*x[0]),s.range[1]=s.l2r(y[1]*(1-r)+r*x[1])}else h[1]=0,h[3]=u;o.drawOne(e,l,{skipTitle:!0}),o.drawOne(e,s,{skipTitle:!0}),o.redrawComponents(e,[l._id,s._id]);var w=d?c/h[2]:1,k=f?u/h[3]:1,T=d?h[0]:0,M=f?h[1]:0,A=d?h[0]/h[2]*c:0,S=f?h[1]/h[3]*u:0,L=l._offset-A,C=s._offset-S;n.clipRect.call(i.setTranslate,T,M).call(i.setScale,1/w,1/k),n.plot.call(i.setTranslate,L,C).call(i.setScale,w,k),i.setPointGroupScale(n.zoomScalePts,1/w,1/k),i.setTextPointsScale(n.zoomScaleTxt,1/w,1/k)}o.redrawComponents(e)}})),s.register("5ORhk",(function(e,t){"use strict";e.exports={moduleType:"component",name:"legend",layoutAttributes:s("1rDLs"),supplyLayoutDefaults:s("3YXj5"),draw:s("Zg88i"),style:s("1RGiq")}})),s.register("6sYXG",(function(e,t){"use strict";var r=s("16smZ"),n=s("grj1e");e.exports={moduleType:"component",name:"annotations",layoutAttributes:s("561nh"),supplyLayoutDefaults:s("4TIVN"),includeBasePlot:s("1084d")("annotations"),calcAutorange:s("1RAko"),draw:r.draw,drawOne:r.drawOne,drawRaw:r.drawRaw,hasClickToShow:n.hasClickToShow,onClick:n.onClick,convertCoords:s("5qB2n")}})),s.register("16smZ",(function(e,t){"use strict";var r=s("4Wia9"),n=s("4Hxcc"),a=s("3BndS"),i=s("1nIvY"),o=i.strTranslate,l=s("1nE8l"),c=s("3N5m7"),u=s("7jar4"),d=s("FNU2H"),f=s("49Q6h"),h=s("3kB5v"),p=s("NlhQs"),g=s("1IyjK").arrayEditor,v=s("1riSa");function m(e,t){var r=e._fullLayout.annotations[t]||{},n=l.getFromId(e,r.xref),a=l.getFromId(e,r.yref);n&&n.setScale(),a&&a.setScale(),x(e,r,t,!1,n,a)}function y(e,t,r,n,a){var i=a[r],o=a[r+"ref"],s=-1!==r.indexOf("y"),c="domain"===l.getRefType(o),u=s?n.h:n.w;return e?c?i+(s?-t:t)/e._length:e.p2r(e.r2p(i)+t):i+(s?-t:t)/u}function x(e,t,a,s,m,x){var b,_,w=e._fullLayout,k=e._fullLayout._size,T=e._context.edits;s?(b="annotation-"+s,_=s+".annotations"):(b="annotation",_="annotations");var M=g(e.layout,_,t),A=M.modifyBase,S=M.modifyItem,L=M.getUpdateObj;w._infolayer.selectAll("."+b+'[data-index="'+a+'"]').remove();var C="clip"+w._uid+"_ann"+a;if(t._input&&!1!==t.visible){var I={x:{},y:{}},O=+t.textangle||0,D=w._infolayer.append("g").classed(b,!0).attr("data-index",String(a)).style("opacity",t.opacity),z=D.append("g").classed("annotation-text-g",!0),P=T[t.showarrow?"annotationTail":"annotationPosition"],j=t.captureevents||T.annotationText||P,E=z.append("g").style("pointer-events",j?"all":null).call(h,"pointer").on("click",(function(){e._dragging=!1,e.emit("plotly_clickannotation",G(r.event))}));t.hovertext&&E.on("mouseover",(function(){var r=t.hoverlabel,n=r.font,a=this.getBoundingClientRect(),i=e.getBoundingClientRect();d.loneHover({x0:a.left-i.left,x1:a.right-i.left,y:(a.top+a.bottom)/2-i.top,text:t.hovertext,color:r.bgcolor,borderColor:r.bordercolor,fontFamily:n.family,fontSize:n.size,fontColor:n.color},{container:w._hoverlayer.node(),outerContainer:w._paper.node(),gd:e})})).on("mouseout",(function(){d.loneUnhover(w._hoverlayer.node())}));var R=t.borderwidth,N=t.borderpad,F=R+N,H=E.append("rect").attr("class","bg").style("stroke-width",R+"px").call(c.stroke,t.bordercolor).call(c.fill,t.bgcolor),B=t.width||t.height,U=w._topclips.selectAll("#"+C).data(B?[0]:[]);U.enter().append("clipPath").classed("annclip",!0).attr("id",C).append("rect"),U.exit().remove();var q=t.font,V=w._meta?i.templateString(t.text,w._meta):t.text,Y=E.append("text").classed("annotation-text",!0).text(V);T.annotationText?Y.call(f.makeEditable,{delegate:E,gd:e}).call(Z).on("edit",(function(r){t.text=r,this.call(Z),S("text",r),m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0),n.call("_guiRelayout",e,L())})):Y.call(Z)}else r.selectAll("#"+C).remove();function G(e){var r={index:a,annotation:t._input,fullAnnotation:t,event:e};return s&&(r.subplotId=s),r}function Z(r){return r.call(u.font,q).attr({"text-anchor":{left:"start",right:"end"}[t.align]||"middle"}),f.convertToTspans(r,e,W),r}function W(){var r=Y.selectAll("a");1===r.size()&&r.text()===Y.text()&&E.insert("a",":first-child").attr({"xlink:xlink:href":r.attr("xlink:href"),"xlink:xlink:show":r.attr("xlink:show")}).style({cursor:"pointer"}).node().appendChild(H.node());var a=E.select(".annotation-text-math-group"),d=!a.empty(),g=u.bBox((d?a:Y).node()),b=g.width,_=g.height,M=t.width||b,j=t.height||_,N=Math.round(M+2*F),q=Math.round(j+2*F);function V(e,t){return"auto"===t&&(t=e<1/3?"left":e>2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}for(var Z=!1,W=["x","y"],X=0;X1)&&(ne===re?((he=ae.r2fraction(t["a"+te]))<0||he>1)&&(Z=!0):Z=!0),Q=ae._offset+ae.r2p(t[te]),$=.5}else{var pe="domain"===fe;"x"===te?(K=t[te],Q=pe?ae._offset+ae._length*K:Q=k.l+k.w*K):(K=1-t[te],Q=pe?ae._offset+ae._length*K:Q=k.t+k.h*K),$=t.showarrow?.5:K}if(t.showarrow){de.head=Q;var ge=t["a"+te];if(ee=oe*V(.5,t.xanchor)-le*V(.5,t.yanchor),ne===re){var ve=l.getRefType(ne);"domain"===ve?("y"===te&&(ge=1-ge),de.tail=ae._offset+ae._length*ge):"paper"===ve?"y"===te?(ge=1-ge,de.tail=k.t+k.h*ge):de.tail=k.l+k.w*ge:de.tail=ae._offset+ae.r2p(ge),J=ee}else de.tail=Q+ge,J=ee+ge;de.text=de.tail+ee;var me=w["x"===te?"width":"height"];if("paper"===re&&(de.head=i.constrain(de.head,1,me-1)),"pixel"===ne){var ye=-Math.max(de.tail-3,de.text),xe=Math.min(de.tail+3,de.text)-me;ye>0?(de.tail+=ye,de.text+=ye):xe>0&&(de.tail-=xe,de.text-=xe)}de.tail+=ue,de.head+=ue}else J=ee=se*V($,ce),de.text=Q+ee;de.text+=ue,ee+=ue,J+=ue,t["_"+te+"padplus"]=se/2+J,t["_"+te+"padminus"]=se/2-J,t["_"+te+"size"]=se,t["_"+te+"shift"]=ee}if(Z)E.remove();else{var be=0,_e=0;if("left"!==t.align&&(be=(M-b)*("center"===t.align?.5:1)),"top"!==t.valign&&(_e=(j-_)*("middle"===t.valign?.5:1)),d)a.select("svg").attr({x:F+be-1,y:F+_e}).call(u.setClipUrl,B?C:null,e);else{var we=F+_e-g.top,ke=F+be-g.left;Y.call(f.positionText,ke,we).call(u.setClipUrl,B?C:null,e)}U.select("rect").call(u.setRect,F,F,M,j),H.call(u.setRect,R/2,R/2,N-R,q-R),E.call(u.setTranslate,Math.round(I.x.text-N/2),Math.round(I.y.text-q/2)),z.attr({transform:"rotate("+O+","+I.x.text+","+I.y.text+")"});var Te,Me=function(r,a){D.selectAll(".annotation-arrow-g").remove();var l=I.x.head,d=I.y.head,f=I.x.tail+r,h=I.y.tail+a,g=I.x.text+r,b=I.y.text+a,_=i.rotationXYMatrix(O,g,b),w=i.apply2DTransform(_),M=i.apply2DTransform2(_),C=+H.attr("width"),P=+H.attr("height"),j=g-.5*C,R=j+C,N=b-.5*P,F=N+P,B=[[j,N,j,F],[j,F,R,F],[R,F,R,N],[R,N,j,N]].map(M);if(!B.reduce((function(e,t){return e^!!i.segmentsIntersect(l,d,l+1e6,d+1e6,t[0],t[1],t[2],t[3])}),!1)){B.forEach((function(e){var t=i.segmentsIntersect(f,h,l,d,e[0],e[1],e[2],e[3]);t&&(f=t.x,h=t.y)}));var U=t.arrowwidth,q=t.arrowcolor,V=t.arrowside,Y=D.append("g").style({opacity:c.opacity(q)}).classed("annotation-arrow-g",!0),G=Y.append("path").attr("d","M"+f+","+h+"L"+l+","+d).style("stroke-width",U+"px").call(c.stroke,c.rgb(q));if(v(G,V,t),T.annotationPosition&&G.node().parentNode&&!s){var Z=l,W=d;if(t.standoff){var X=Math.sqrt(Math.pow(l-f,2)+Math.pow(d-h,2));Z+=t.standoff*(f-l)/X,W+=t.standoff*(h-d)/X}var Q,J,K=Y.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(f-Z)+","+(h-W),transform:o(Z,W)}).style("stroke-width",U+6+"px").call(c.stroke,"rgba(0,0,0,0)").call(c.fill,"rgba(0,0,0,0)");p.init({element:K.node(),gd:e,prepFn:function(){var e=u.getTranslate(E);Q=e.x,J=e.y,m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0)},moveFn:function(e,r){var n=w(Q,J),a=n[0]+e,i=n[1]+r;E.call(u.setTranslate,a,i),S("x",y(m,e,"x",k,t)),S("y",y(x,r,"y",k,t)),t.axref===t.xref&&S("ax",y(m,e,"ax",k,t)),t.ayref===t.yref&&S("ay",y(x,r,"ay",k,t)),Y.attr("transform",o(e,r)),z.attr({transform:"rotate("+O+","+a+","+i+")"})},doneFn:function(){n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}};t.showarrow&&Me(0,0),P&&p.init({element:E.node(),gd:e,prepFn:function(){Te=z.attr("transform")},moveFn:function(e,r){var n="pointer";if(t.showarrow)t.axref===t.xref?S("ax",y(m,e,"ax",k,t)):S("ax",t.ax+e),t.ayref===t.yref?S("ay",y(x,r,"ay",k.w,t)):S("ay",t.ay+r),Me(e,r);else{if(s)return;var a,i;if(m)a=y(m,e,"x",k,t);else{var l=t._xsize/k.w,c=t.x+(t._xshift-t.xshift)/k.w-l/2;a=p.align(c+e/k.w,l,0,1,t.xanchor)}if(x)i=y(x,r,"y",k,t);else{var u=t._ysize/k.h,d=t.y-(t._yshift+t.yshift)/k.h-u/2;i=p.align(d-r/k.h,u,0,1,t.yanchor)}S("x",a),S("y",i),m&&x||(n=p.getCursor(m?.5:a,x?.5:i,t.xanchor,t.yanchor))}z.attr({transform:o(e,r)+Te}),h(E,n)},clickFn:function(r,n){t.captureevents&&e.emit("plotly_clickannotation",G(n))},doneFn:function(){h(E),n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}}e.exports={draw:function(e){var t=e._fullLayout;t._infolayer.selectAll(".annotation").remove();for(var r=0;r=0,x=t.indexOf("end")>=0,b=p.backoff*v+i.standoff,_=g.backoff*m+i.startstandoff;if("line"===h.nodeName){s={x:+e.attr("x1"),y:+e.attr("y1")},u={x:+e.attr("x2"),y:+e.attr("y2")};var w=s.x-u.x,k=s.y-u.y;if(f=(d=Math.atan2(k,w))+Math.PI,b&&_&&b+_>Math.sqrt(w*w+k*k))return void P();if(b){if(b*b>w*w+k*k)return void P();var T=b*Math.cos(d),M=b*Math.sin(d);u.x+=T,u.y+=M,e.attr({x2:u.x,y2:u.y})}if(_){if(_*_>w*w+k*k)return void P();var A=_*Math.cos(d),S=_*Math.sin(d);s.x-=A,s.y-=S,e.attr({x1:s.x,y1:s.y})}}else if("path"===h.nodeName){var L=h.getTotalLength(),C="";if(L0||r.explicitOff.length>0},onClick:function(e,t){var o,l,s=i(e,t),c=s.on,u=s.off.concat(s.explicitOff),d={},f=e._fullLayout.annotations;if(c.length||u.length){for(o=0;o), bold (), italics (),","hyperlinks (). Tags , , "," are also supported."].join(" ")},textangle:{valType:"angle",dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets the angle at which the `text` is drawn","with respect to the horizontal."].join(" ")},font:n({editType:"calc+arraydraw",colorEditType:"arraydraw",description:"Sets the annotation text font."}),width:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit width for the text box. null (default) lets the","text set the box width. Wider text will be clipped.","There is no automatic wrapping; use
to start a new line."].join(" ")},height:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit height for the text box. null (default) lets the","text set the box height. Taller text will be clipped."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"style",editType:"arraydraw",description:"Sets the opacity of the annotation (text + arrow)."},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",role:"style",editType:"arraydraw",description:["Sets the horizontal alignment of the `text` within the box.","Has an effect only if `text` spans two or more lines","(i.e. `text` contains one or more
HTML tags) or if an","explicit width is set to override the text width."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"arraydraw",description:["Sets the vertical alignment of the `text` within the box.","Has an effect only if an explicit height is set to override","the text height."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:"Sets the background color of the annotation."},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:["Sets the color of the border enclosing the annotation `text`."].join(" ")},borderpad:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the padding (in px) between the `text`","and the enclosing border."].join(" ")},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the width (in px) of the border enclosing","the annotation `text`."].join(" ")},showarrow:{valType:"boolean",dflt:!0,role:"style",editType:"calc+arraydraw",description:["Determines whether or not the annotation is drawn with an arrow.","If *true*, `text` is placed near the arrow's tail.","If *false*, `text` lines up with the `x` and `y` provided."].join(" ")},arrowcolor:{valType:"color",role:"style",editType:"arraydraw",description:"Sets the color of the annotation arrow."},arrowhead:{valType:"integer",min:0,max:r.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the end annotation arrow head style."},startarrowhead:{valType:"integer",min:0,max:r.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the start annotation arrow head style."},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",role:"style",editType:"arraydraw",description:"Sets the annotation arrow head position."},arrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the end annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},startarrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the start annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},arrowwidth:{valType:"number",min:.1,role:"style",editType:"calc+arraydraw",description:"Sets the width (in px) of annotation arrow line."},standoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the end arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},startstandoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the start arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},ax:{valType:"any",role:"info",editType:"calc+arraydraw",description:[c("x","left","right")].join(" ")},ay:{valType:"any",role:"info",editType:"calc+arraydraw",description:[c("y","top","bottom")].join(" ")},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",o.axisRefDescription("ax","left","right"),l("x")].join(" ")},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",o.axisRefDescription("ay","bottom","top"),l("y")].join(" ")},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],role:"info",editType:"calc",description:["Sets the annotation's x coordinate axis.",o.axisRefDescription("x","left","right")].join(" ")},x:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's x position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's horizontal position anchor","This anchor binds the `x` position to the *left*, *center*","or *right* of the annotation.","For example, if `x` is set to 1, `xref` to *paper* and","`xanchor` to *right* then the right-most portion of the","annotation lines up with the right-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *center* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},xshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow to the","right (positive) or left (negative) by this many pixels."].join(" ")},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],role:"info",editType:"calc",description:["Sets the annotation's y coordinate axis.",o.axisRefDescription("y","bottom","top")].join(" ")},y:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's y position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the annotation.","For example, if `y` is set to 1, `yref` to *paper* and","`yanchor` to *top* then the top-most portion of the","annotation lines up with the top-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *middle* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},yshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow up","(positive) or down (negative) by this many pixels."].join(" ")},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,role:"style",editType:"arraydraw",description:["Makes this annotation respond to clicks on the plot.","If you click a data point that exactly matches the `x` and `y`","values of this annotation, and it is hidden (visible: false),","it will appear. In *onoff* mode, you must click the same point","again to make it disappear, so if you click multiple points,","you can show multiple annotations. In *onout* mode, a click","anywhere else in the plot (on another data point or not) will","hide this annotation.","If you need to show/hide this annotation in response to different","`x` or `y` values, you can set `xclick` and/or `yclick`. This is","useful for example to label the side of a bar. To label markers","though, `standoff` is preferred over `xclick` and `yclick`."].join(" ")},xclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `x` value","is `xclick` rather than the annotation's `x` value."].join(" ")},yclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `y` value","is `yclick` rather than the annotation's `y` value."].join(" ")},hovertext:{valType:"string",role:"info",editType:"arraydraw",description:["Sets text to appear when hovering over this annotation.","If omitted or blank, no hover label will appear."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the background color of the hover label.","By default uses the annotation's `bgcolor` made opaque,","or white if it was transparent."].join(" ")},bordercolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the border color of the hover label.","By default uses either dark grey or white, for maximum","contrast with `hoverlabel.bgcolor`."].join(" ")},font:n({editType:"arraydraw",description:["Sets the hover label text font.","By default uses the global hover font and size,","with color from `hoverlabel.bordercolor`."].join(" ")}),editType:"arraydraw"},captureevents:{valType:"boolean",role:"info",editType:"arraydraw",description:["Determines whether the annotation text box captures mouse move","and click events, or allows those events to pass through to data","points in the plot that may be behind the annotation. By default","`captureevents` is *false* unless `hovertext` is provided.","If you use the event `plotly_clickannotation` without `hovertext`","you must explicitly enable `captureevents`."].join(" ")},editType:"calc",_deprecated:{ref:{valType:"string",role:"info",editType:"calc",description:["Obsolete. Set `xref` and `yref` separately instead."].join(" ")}}})})),s.register("6WOiC",(function(e,t){"use strict";e.exports={axisRefDescription:function(e,t,r){return["If set to a",e,"axis id (e.g. *"+e+"* or","*"+e+"2*), the `"+e+"` position refers to a",e,"coordinate. If set to *paper*, the `"+e+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+r+"). If set to a",e,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+e+"2 domain* refers to the domain of the second",e," axis and a",e,"position of 0.5 refers to the","point between the",t,"and the",r,"of the domain of the","second",e,"axis."].join(" ")}}})),s.register("4TIVN",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1nE8l"),a=s("6pAgU"),i=s("3oYmn"),o=s("561nh");function l(e,t,a){function l(n,a){return r.coerce(e,t,o,n,a)}var s=l("visible"),c=l("clicktoshow");if(s||c){i(e,t,a,l);for(var u=t.showarrow,d=["x","y"],f=[-10,-30],h={_fullLayout:a},p=0;p<2;p++){var g=d[p],v=n.coerceRef(e,t,h,g,"","paper");if("paper"!==v&&n.getFromId(h,v)._annIndices.push(t._index),n.coercePosition(t,h,l,v,g,.5),u){var m="a"+g,y=n.coerceRef(e,t,h,m,"pixel",["pixel","paper"]);"pixel"!==y&&y!==v&&(y=t[m]="pixel");var x="pixel"===y?f[p]:.4;n.coercePosition(t,h,l,y,m,x)}l(g+"anchor"),l(g+"shift")}if(r.noneOrAll(e,t,["x","y"]),u&&r.noneOrAll(e,t,["ax","ay"]),c){var b=l("xclick"),_=l("yclick");t._xclick=void 0===b?t.x:n.cleanPosition(b,h,t.xref),t._yclick=void 0===_?t.y:n.cleanPosition(_,h,t.yref)}}}e.exports=function(e,t){a(e,t,{name:"annotations",handleItemDefaults:l})}})),s.register("3oYmn",(function(e,t){"use strict";var r=s("1nIvY"),n=s("3N5m7");e.exports=function(e,t,a,i){i("opacity");var o=i("bgcolor"),l=i("bordercolor"),s=n.opacity(l);i("borderpad");var c=i("borderwidth"),u=i("showarrow");if(i("text",u?" ":a._dfltTitle.annotation),i("textangle"),r.coerceFont(i,"font",a.font),i("width"),i("align"),i("height")&&i("valign"),u){var d,f,h=i("arrowside");-1!==h.indexOf("end")&&(d=i("arrowhead"),f=i("arrowsize")),-1!==h.indexOf("start")&&(i("startarrowhead",d),i("startarrowsize",f)),i("arrowcolor",s?t.bordercolor:n.defaultLine),i("arrowwidth",2*(s&&c||1)),i("standoff"),i("startstandoff")}var p=i("hovertext"),g=a.hoverlabel||{};if(p){var v=i("hoverlabel.bgcolor",g.bgcolor||(n.opacity(o)?n.rgb(o):n.defaultLine)),m=i("hoverlabel.bordercolor",g.bordercolor||n.contrast(v));r.coerceFont(i,"hoverlabel.font",{family:g.font.family,size:g.font.size,color:g.font.color||m})}i("captureevents",!!p)}})),s.register("1084d",(function(e,t){"use strict";var r=s("4Hxcc"),n=s("1nIvY"),a=s("22HUI");e.exports=function(e){return function(t,i){var o=t[e];if(Array.isArray(o))for(var l=r.subplotsRegistry.cartesian,s=l.idRegex,c=i._subplots,u=c.xaxis,d=c.yaxis,f=c.cartesian,h=i._has("cartesian")||i._has("gl2d"),p=0;p1){c=!0;break}}c?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+l+'"]').remove():(s._pdata=n(e.glplot.cameraParams,[t.xaxis.r2l(s.x)*i[0],t.yaxis.r2l(s.y)*i[1],t.zaxis.r2l(s.z)*i[2]]),r(e.graphDiv,s,l,e.id,s._xa,s._ya))}}})),s.register("2uHIJ",(function(e,t){"use strict";function r(e,t){var r,n,a=[0,0,0,0];for(r=0;r<4;++r)for(n=0;n<4;++n)a[n]+=e[4*r+n]*t[r];return a}e.exports=function(e,t){return r(e.projection,r(e.view,r(e.model,[t[0],t[1],t[2],1])))}})),s.register("3PzhP",(function(e,t){"use strict";var r=s("2zBj0");e.exports={moduleType:"component",name:"shapes",layoutAttributes:s("6RBR1"),supplyLayoutDefaults:s("6NGbH"),supplyDrawNewShapeDefaults:s("7Bm2t"),includeBasePlot:s("1084d")("shapes"),calcAutorange:s("7fcSN"),draw:r.draw,drawOne:r.drawOne}})),s.register("6RBR1",(function(e,t){"use strict";var r=s("561nh"),n=s("2oxdA").line,a=s("5wAu8").dash,i=s("1ZM4z").extendFlat,o=s("1IyjK").templatedArray,l=s("6WOiC");e.exports=o("shape",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this shape is visible."].join(" ")},type:{valType:"enumerated",values:["circle","rect","path","line"],role:"info",editType:"calc+arraydraw",description:["Specifies the shape type to be drawn.","If *line*, a line is drawn from (`x0`,`y0`) to (`x1`,`y1`)","with respect to the axes' sizing mode.","If *circle*, a circle is drawn from","((`x0`+`x1`)/2, (`y0`+`y1`)/2))","with radius","(|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|)","with respect to the axes' sizing mode.","If *rect*, a rectangle is drawn linking","(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)","with respect to the axes' sizing mode.","If *path*, draw a custom SVG path using `path`.","with respect to the axes' sizing mode."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:"Specifies whether shapes are drawn below or above traces."},xref:i({},r.xref,{description:["Sets the shape's x coordinate axis.",l.axisRefDescription("x","left","right"),"If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, then you must convert","the date to unix time in milliseconds."].join(" ")}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the x axis.","If set to *scaled*, `x0`, `x1` and x coordinates within `path` refer to","data values on the x axis or a fraction of the plot area's width","(`xref` set to *paper*).","If set to *pixel*, `xanchor` specifies the x position in terms","of data or plot fraction but `x0`, `x1` and x coordinates within `path`","are pixels relative to `xanchor`. This way, the shape can have","a fixed width while maintaining a position relative to data or","plot fraction."].join(" ")},xanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `xsizemode` set to *pixel*.","Specifies the anchor point on the x axis to which `x0`, `x1`","and x coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `xsizemode` not set to *pixel*."].join(" ")},x0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting x position.","See `type` and `xsizemode` for more info."].join(" ")},x1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end x position.","See `type` and `xsizemode` for more info."].join(" ")},yref:i({},r.yref,{description:["Sets the annotation's y coordinate axis.",l.axisRefDescription("y","bottom","top")].join(" ")}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the y axis.","If set to *scaled*, `y0`, `y1` and y coordinates within `path` refer to","data values on the y axis or a fraction of the plot area's height","(`yref` set to *paper*).","If set to *pixel*, `yanchor` specifies the y position in terms","of data or plot fraction but `y0`, `y1` and y coordinates within `path`","are pixels relative to `yanchor`. This way, the shape can have","a fixed height while maintaining a position relative to data or","plot fraction."].join(" ")},yanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `ysizemode` set to *pixel*.","Specifies the anchor point on the y axis to which `y0`, `y1`","and y coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `ysizemode` not set to *pixel*."].join(" ")},y0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting y position.","See `type` and `ysizemode` for more info."].join(" ")},y1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end y position.","See `type` and `ysizemode` for more info."].join(" ")},path:{valType:"string",role:"info",editType:"calc+arraydraw",description:["For `type` *path* - a valid SVG path with the pixel values","replaced by data values in `xsizemode`/`ysizemode` being *scaled*","and taken unmodified as pixels relative to `xanchor` and `yanchor`","in case of *pixel* size mode.","There are a few restrictions / quirks","only absolute instructions, not relative. So the allowed segments","are: M, L, H, V, Q, C, T, S, and Z","arcs (A) are not allowed because radius rx and ry are relative.","In the future we could consider supporting relative commands,","but we would have to decide on how to handle date and log axes.","Note that even as is, Q and C Bezier paths that are smooth on","linear axes may not be smooth on log, and vice versa.",'no chained "polybezier" commands - specify the segment type for',"each one.","On category axes, values are numbers scaled to the serial numbers","of categories because using the categories themselves there would","be no way to describe fractional positions","On data axes: because space and T are both normal components of path","strings, we can't use either to separate date from time parts.","Therefore we'll use underscore for this purpose:","2015-02-21_13:45:56.789"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"arraydraw",description:"Sets the opacity of the shape."},line:{color:i({},n.color,{editType:"arraydraw"}),width:i({},n.width,{editType:"calc+arraydraw"}),dash:i({},a,{editType:"arraydraw"}),role:"info",editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"arraydraw",description:["Sets the color filling the shape's interior. Only applies to closed shapes."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"arraydraw",description:["Determines which regions of complex paths constitute the interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},editable:{valType:"boolean",role:"info",dflt:!1,editType:"calc+arraydraw",description:["Determines whether the shape could be activated for edit or not.","Has no effect when the older editable shapes mode is enabled via","`config.editable` or `config.edits.shapePosition`."].join(" ")},editType:"arraydraw"})})),s.register("6NGbH",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1nE8l"),a=s("6pAgU"),i=s("6RBR1"),o=s("6VQ7W");function l(e,t,a){function l(n,a){return r.coerce(e,t,i,n,a)}if(l("visible")){var s=l("path"),c=l("type",s?"path":"rect");"path"!==t.type&&delete t.path,l("editable"),l("layer"),l("opacity"),l("fillcolor"),l("fillrule"),l("line.width")&&(l("line.color"),l("line.dash"));for(var u=l("xsizemode"),d=l("ysizemode"),f=["x","y"],h=0;h<2;h++){var p,g,v,m=f[h],y=m+"anchor",x="x"===m?u:d,b={_fullLayout:a},_=n.coerceRef(e,t,b,m,void 0,"paper");if("range"===n.getRefType(_)?((p=n.getFromId(b,_))._shapeIndices.push(t._index),v=o.rangeToShapePosition(p),g=o.shapePositionToRange(p)):g=v=r.identity,"path"!==c){var w=m+"0",k=m+"1",T=e[w],M=e[k];e[w]=g(e[w],!0),e[k]=g(e[k],!0),"pixel"===x?(l(w,0),l(k,10)):(n.coercePosition(t,b,l,_,w,.25),n.coercePosition(t,b,l,_,k,.75)),t[w]=v(t[w]),t[k]=v(t[k]),e[w]=T,e[k]=M}if("pixel"===x){var A=e[y];e[y]=g(e[y],!0),n.coercePosition(t,b,l,_,y,.25),t[y]=v(t[y]),e[y]=A}}"path"===c?l("path"):r.noneOrAll(e,t,["x0","x1","y0","y1"])}}e.exports=function(e,t){a(e,t,{name:"shapes",handleItemDefaults:l})}})),s.register("7Bm2t",(function(e,t){"use strict";var r=s("3N5m7");e.exports=function(e,t,n){if(n("newshape.drawdirection"),n("newshape.layer"),n("newshape.fillcolor"),n("newshape.fillrule"),n("newshape.opacity"),n("newshape.line.width")){var a=(e||{}).plot_bgcolor||"#FFF";n("newshape.line.color",r.contrast(a)),n("newshape.line.dash")}n("activeshape.fillcolor"),n("activeshape.opacity")}})),s.register("7fcSN",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1nE8l"),a=s("fN6X1"),i=s("6VQ7W");function o(e){return c(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function l(e){return c(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function c(e,t,n,o,l,s){var c=e/2,u=s;if("pixel"===t){var d=l?i.extractPathCoords(l,s?a.paramIsY:a.paramIsX):[n,o],f=r.aggNums(Math.max,null,d),h=r.aggNums(Math.min,null,d),p=h<0?Math.abs(h)+c:c,g=f>0?f+c:c;return{ppad:c,ppadplus:u?p:g,ppadminus:u?g:p}}return{ppad:c}}function u(e,t,r,n,o){var l="category"===e.type||"multicategory"===e.type?e.r2c:e.d2c;if(void 0!==t)return[l(t),l(r)];if(n){var s,c,u,d,f=1/0,h=-1/0,p=n.match(a.segmentRE);for("date"===e.type&&(l=i.decodeDate(l)),s=0;sh&&(h=d)));return h>=f?[f,h]:void 0}}e.exports=function(e){var t=e._fullLayout,i=r.filterVisible(t.shapes);if(i.length&&e._fullData.length)for(var s=0;s0)&&(o("active"),o("direction"),o("type"),o("showactive"),o("x"),o("y"),r.noneOrAll(e,t,["x","y"]),o("xanchor"),o("yanchor"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),r.coerceFont(o,"font",i.font),o("bgcolor",i.paper_bgcolor),o("bordercolor"),o("borderwidth"))}function c(e,t){function n(n,a){return r.coerce(e,t,o,n,a)}n("visible","skip"===e.method||Array.isArray(e.args))&&(n("method"),n("args"),n("args2"),n("label"),n("execute"))}e.exports=function(e,t){n(e,t,{name:i,handleItemDefaults:l})}})),s.register("4QIlc",(function(e,t){"use strict";var r=s("4Wia9"),n=s("3BndS"),a=s("3N5m7"),i=s("7jar4"),o=s("1nIvY"),l=s("49Q6h"),c=s("1IyjK").arrayEditor,u=s("5n2uh").LINE_SPACING,d=s("2FbQ1"),f=s("2KBfh");function h(e){return e._index}function p(e,t){return+e.attr(d.menuIndexAttrName)===t._index}function g(e,t,r,n,a,i,o,l){t.active=o,c(e.layout,d.name,t).applyUpdate("active",o),"buttons"===t.type?m(e,n,null,null,t):"dropdown"===t.type&&(a.attr(d.menuIndexAttrName,"-1"),v(e,n,a,i,t),l||m(e,n,a,i,t))}function v(e,t,r,n,a){var l=o.ensureSingle(t,"g",d.headerClassName,(function(e){e.style("pointer-events","all")})),s=a._dims,c=a.active,u=a.buttons[c]||d.blankHeaderOpts,f={y:a.pad.t,yPad:0,x:a.pad.l,xPad:0,index:0},h={width:s.headerWidth,height:s.headerHeight};l.call(y,a,u,e).call(A,a,f,h),o.ensureSingle(t,"text",d.headerArrowClassName,(function(e){e.attr("text-anchor","end").call(i.font,a.font).text(d.arrowSymbol[a.direction])})).attr({x:s.headerWidth-d.arrowOffsetX+a.pad.l,y:s.headerHeight/2+d.textOffsetY+a.pad.t}),l.on("click",(function(){r.call(S,String(p(r,a)?-1:a._index)),m(e,t,r,n,a)})),l.on("mouseover",(function(){l.call(w)})),l.on("mouseout",(function(){l.call(k,a)})),i.setTranslate(t,s.lx,s.ly)}function m(e,t,a,i,l){a||(a=t).attr("pointer-events","all");var s=-1==+a.attr(d.menuIndexAttrName)&&"buttons"!==l.type?[]:l.buttons,c="dropdown"===l.type?d.dropdownButtonClassName:d.buttonClassName,u=a.selectAll("g."+c).data(o.filterVisible(s)),f=u.enter().append("g").classed(c,!0),h=u.exit();"dropdown"===l.type?(f.attr("opacity","0").transition().attr("opacity","1"),h.transition().attr("opacity","0").remove()):h.remove();var p=0,v=0,m=l._dims,x=-1!==["up","down"].indexOf(l.direction);"dropdown"===l.type&&(x?v=m.headerHeight+d.gapButtonHeader:p=m.headerWidth+d.gapButtonHeader),"dropdown"===l.type&&"up"===l.direction&&(v=-d.gapButtonHeader+d.gapButton-m.openHeight),"dropdown"===l.type&&"left"===l.direction&&(p=-d.gapButtonHeader+d.gapButton-m.openWidth);var b={x:m.lx+p+l.pad.l,y:m.ly+v+l.pad.t,yPad:d.gapButton,xPad:d.gapButton,index:0},T={l:b.x+l.borderwidth,t:b.y+l.borderwidth};u.each((function(o,s){var c=r.select(this);c.call(y,l,o,e).call(A,l,b),c.on("click",(function(){r.event.defaultPrevented||(o.execute&&(o.args2&&l.active===s?(g(e,l,0,t,a,i,-1),n.executeAPICommand(e,o.method,o.args2)):(g(e,l,0,t,a,i,s),n.executeAPICommand(e,o.method,o.args))),e.emit("plotly_buttonclicked",{menu:l,button:o,active:l.active}))})),c.on("mouseover",(function(){c.call(w)})),c.on("mouseout",(function(){c.call(k,l),u.call(_,l)}))})),u.call(_,l),x?(T.w=Math.max(m.openWidth,m.headerWidth),T.h=b.y-T.t):(T.w=b.x-T.l,T.h=Math.max(m.openHeight,m.headerHeight)),T.direction=l.direction,i&&(u.size()?function(e,t,r,n,a,i){var o,l,s,c=a.direction,u="up"===c||"down"===c,f=a._dims,h=a.active;if(u)for(l=0,s=0;s0?[0]:[]);if(l.enter().append("g").classed(d.containerClassName,!0).style("cursor","pointer"),l.exit().each((function(){r.select(this).selectAll("g."+d.headerGroupClassName).each(i)})).remove(),0!==a.length){var s=l.selectAll("g."+d.headerGroupClassName).data(a,h);s.enter().append("g").classed(d.headerGroupClassName,!0);for(var c=o.ensureSingle(l,"g",d.dropdownButtonGroupClassName,(function(e){e.style("pointer-events","all")})),u=0;uw,M=o.barLength+2*o.barPad,A=o.barWidth+2*o.barPad,S=p,L=v+m;L+A>c&&(L=c-A);var C=this.container.selectAll("rect.scrollbar-horizontal").data(T?[0]:[]);C.exit().on(".drag",null).remove(),C.enter().append("rect").classed("scrollbar-horizontal",!0).call(n.fill,o.barColor),T?(this.hbar=C.attr({rx:o.barRadius,ry:o.barRadius,x:S,y:L,width:M,height:A}),this._hbarXMin=S+M/2,this._hbarTranslateMax=w-M):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var I=m>k,O=o.barWidth+2*o.barPad,D=o.barLength+2*o.barPad,z=p+g,P=v;z+O>s&&(z=s-O);var j=this.container.selectAll("rect.scrollbar-vertical").data(I?[0]:[]);j.exit().on(".drag",null).remove(),j.enter().append("rect").classed("scrollbar-vertical",!0).call(n.fill,o.barColor),I?(this.vbar=j.attr({rx:o.barRadius,ry:o.barRadius,x:z,y:P,width:O,height:D}),this._vbarYMin=P+D/2,this._vbarTranslateMax=k-D):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var E=this.id,R=u-.5,N=I?d+O+.5:d+.5,F=f-.5,H=T?h+A+.5:h+.5,B=l._topdefs.selectAll("#"+E).data(T||I?[0]:[]);if(B.exit().remove(),B.enter().append("clipPath").attr("id",E).append("rect"),T||I?(this._clipRect=B.select("rect").attr({x:Math.floor(R),y:Math.floor(F),width:Math.ceil(N)-Math.floor(R),height:Math.ceil(H)-Math.floor(F)}),this.container.call(a.setClipUrl,E,this.gd),this.bg.attr({x:p,y:v,width:g,height:m})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),T||I){var U=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(U);var q=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault(),r.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));T&&this.hbar.on(".drag",null).call(q),I&&this.vbar.on(".drag",null).call(q)}this.setTranslate(t,i)},o.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},o.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=r.event.dx),this.vbar&&(t-=r.event.dy),this.setTranslate(e,t)},o.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=r.event.deltaY),this.vbar&&(t+=r.event.deltaY),this.setTranslate(e,t)},o.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var n=e+this._hbarXMin,a=n+this._hbarTranslateMax;e=(i.constrain(r.event.x,n,a)-n)/(a-n)*(this.position.w-this._box.w)}if(this.vbar){var o=t+this._vbarYMin,l=o+this._vbarTranslateMax;t=(i.constrain(r.event.y,o,l)-o)/(l-o)*(this.position.h-this._box.h)}this.setTranslate(e,t)},o.prototype.setTranslate=function(e,t){var r=this.position.w-this._box.w,n=this.position.h-this._box.h;if(e=i.constrain(e||0,0,r),t=i.constrain(t||0,0,n),this.translateX=e,this.translateY=t,this.container.call(a.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var o=e/r;this.hbar.call(a.setTranslate,e+o*this._hbarTranslateMax,t)}if(this.vbar){var l=t/n;this.vbar.call(a.setTranslate,e,t+l*this._vbarTranslateMax)}}})),s.register("6LgZ4",(function(e,t){"use strict";var r=s("6jqeg");e.exports={moduleType:"component",name:r.name,layoutAttributes:s("5OgGA"),supplyLayoutDefaults:s("6cUFq"),draw:s("hPtd4")}})),s.register("6jqeg",(function(e,t){"use strict";e.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}})),s.register("5OgGA",(function(e,t){"use strict";var r=s("10Nlb"),n=s("5zrJR"),a=s("1ZM4z").extendDeepAll,i=s("1bSCj").overrideAll,o=s("69Oag"),l=s("1IyjK").templatedArray,c=s("6jqeg"),u=l("step",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not this step is included in the slider."].join(" ")},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",role:"info",description:["Sets the Plotly method to be called when the slider value is changed.","If the `skip` method is used, the API slider will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","slider events manually via JavaScript."].join(" ")},args:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on slide."].join(" ")},label:{valType:"string",role:"info",description:"Sets the text label to appear on the slider"},value:{valType:"string",role:"info",description:["Sets the value of the slider step, used to refer to the step programatically.","Defaults to the slider label if not provided."].join(" ")},execute:{valType:"boolean",role:"info",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_sliderchange` method and executing the API command manually without losing","the benefit of the slider automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=i(l("slider",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not the slider is visible."].join(" ")},active:{valType:"number",role:"info",min:0,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this slider length","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the slider","This measure excludes the padding of both ends.","That is, the slider's length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the x position (in normalized coordinates) of the slider."},pad:a(n({editType:"arraydraw"}),{description:"Set the padding of the slider component along each side."},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",description:["Sets the slider's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the y position (in normalized coordinates) of the slider."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",role:"info",description:["Sets the slider's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},transition:{duration:{valType:"number",role:"info",min:0,dflt:150,description:"Sets the duration of the slider transition"},easing:{valType:"enumerated",values:o.transition.easing.values,role:"info",dflt:"cubic-in-out",description:"Sets the easing function of the slider transition"}},currentvalue:{visible:{valType:"boolean",role:"info",dflt:!0,description:["Shows the currently-selected value above the slider."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"info",description:["The alignment of the value readout relative to the length of the slider."].join(" ")},offset:{valType:"number",dflt:10,role:"info",description:["The amount of space, in pixels, between the current value label","and the slider."].join(" ")},prefix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the prefix of the label."},suffix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the suffix of the label."},font:r({description:"Sets the font of the current value label text."})},font:r({description:"Sets the font of the slider step labels."}),activebgcolor:{valType:"color",role:"style",dflt:c.gripBgActiveColor,description:["Sets the background color of the slider grip","while dragging."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:c.railBgColor,description:"Sets the background color of the slider."},bordercolor:{valType:"color",dflt:c.railBorderColor,role:"style",description:"Sets the color of the border enclosing the slider."},borderwidth:{valType:"number",min:0,dflt:c.railBorderWidth,role:"style",description:"Sets the width (in px) of the border enclosing the slider."},ticklen:{valType:"number",min:0,dflt:c.tickLength,role:"style",description:"Sets the length in pixels of step tick marks"},tickcolor:{valType:"color",dflt:c.tickColor,role:"style",description:"Sets the color of the border enclosing the slider."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",description:"Sets the tick width (in px)."},minorticklen:{valType:"number",min:0,dflt:c.minorTickLength,role:"style",description:"Sets the length in pixels of minor step tick marks"}}),"arraydraw","from-root")})),s.register("6cUFq",(function(e,t){"use strict";var r=s("1nIvY"),n=s("6pAgU"),a=s("5OgGA"),i=s("6jqeg").name,o=a.steps;function l(e,t,i){function o(n,i){return r.coerce(e,t,a,n,i)}for(var l=n(e,t,{name:"steps",handleItemDefaults:c}),s=0,u=0;u0&&(s=s.transition().duration(t.transition.duration).ease(t.transition.easing)),s.attr("transform",l(o-.5*d.gripWidth,t._dims.currentValueTotalHeight))}}function L(e,t){var r=e._dims;return r.inputAreaStart+d.stepInset+(r.inputAreaLength-2*d.stepInset)*Math.min(1,Math.max(0,t))}function C(e,t){var r=e._dims;return Math.min(1,Math.max(0,(t-d.stepInset-r.inputAreaStart)/(r.inputAreaLength-2*d.stepInset-2*r.inputAreaStart)))}function I(e,t,r){var n=r._dims,l=o.ensureSingle(e,"rect",d.railTouchRectClass,(function(n){n.call(M,t,e,r).style("pointer-events","all")}));l.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,d.tickOffset+r.ticklen+n.labelHeight)}).call(a.fill,r.bgcolor).attr("opacity",0),i.setTranslate(l,0,n.currentValueTotalHeight)}function O(e,t){var r=t._dims,n=r.inputAreaLength-2*d.railInset,l=o.ensureSingle(e,"rect",d.railRectClass);l.attr({width:n,height:d.railWidth,rx:d.railRadius,ry:d.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,t.bordercolor).call(a.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),i.setTranslate(l,d.railInset,.5*(r.inputAreaWidth-d.railWidth)+r.currentValueTotalHeight)}e.exports=function(e){var t=e._fullLayout,a=function(e,t){for(var r=e[d.name],n=[],a=0;a0?[0]:[]);function l(t){t._commandObserver&&(t._commandObserver.remove(),delete t._commandObserver),n.autoMargin(e,v(t))}if(o.enter().append("g").classed(d.containerClassName,!0).style("cursor","ew-resize"),o.exit().each((function(){r.select(this).selectAll("g."+d.groupClassName).each(l)})).remove(),0!==a.length){var s=o.selectAll("g."+d.groupClassName).data(a,m);s.enter().append("g").classed(d.groupClassName,!0),s.exit().each(l).remove();for(var c=0;cn),(e=>n=e)),r(e.exports,"makeData",(()=>i),(e=>i=e)),r(e.exports,"autoMarginOpts",(()=>a),(e=>a=e));var o=s("22HUI"),l=s("49Q6h"),c=s("38b57"),u=s("5n2uh").LINE_SPACING,d=c.name;function f(e){var t=e&&e[d];return t&&t.visible}n=f,i=function(e){var t=o.list({_fullLayout:e},"x",!0),r=e.margin,n=[];if(!e._has("gl2d"))for(var a=0;a=n.max)t=R[r+1];else if(e=n.pmax)t=R[r+1];else if(e0)){var g=function(e,t,r){for(var n=r.filter((function(r){return t[r].anchor===e._id})),a=0,i=0;i1){f||h||p||"independent"===T("pattern")&&(f=!0),v._hasSubplotGrid=f;var x,b,_="top to bottom"===T("roworder"),w=f?.2:.1,k=f?.3:.1;g&&t._splomGridDflt&&(x=t._splomGridDflt.xside,b=t._splomGridDflt.yside),v._domains={x:u("x",T,w,x,y),y:u("y",T,k,b,m,_)}}else delete t.grid}function T(e,t){return r.coerce(n,v,l,e,t)}},contentDefaults:function(e,t){var r=t.grid;if(r&&r._domains){var n,a,i,o,l,s,u,f=e.grid||{},h=t._subplots,p=r._hasSubplotGrid,g=r.rows,v=r.columns,m="independent"===r.pattern,y=r._axisMap={};if(p){var x=f.subplots||[];s=r.subplots=new Array(g);var b=1;for(n=0;nn),(e=>n=e)),r(e.exports,"attributes",(()=>a),(e=>a=e));var i=s("1ZM4z").extendFlat;a=function(e,t){t=t||{};var r={valType:"info_array",role:"info",editType:(e=e||{}).editType,items:[{valType:"number",min:0,max:1,editType:e.editType},{valType:"number",min:0,max:1,editType:e.editType}],dflt:[0,1]},n=e.name?e.name+" ":"",a=e.trace?"trace ":"subplot ",o=t.description?" "+t.description:"",l={x:i({},r,{description:["Sets the horizontal domain of this ",n,a,"(in plot fraction).",o].join("")}),y:i({},r,{description:["Sets the vertical domain of this ",n,a,"(in plot fraction).",o].join("")}),editType:e.editType};return e.noGridCell||(l.row={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this row in the grid for this ",n,a,".",o].join("")},l.column={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this column in the grid for this ",n,a,".",o].join("")}),l},n=function(e,t,r,n){var a=n&&n.x||[0,1],i=n&&n.y||[0,1],o=t.grid;if(o){var l=r("domain.column");void 0!==l&&(l0;t.each((function(t){var d,f=t[0].trace,h=f.error_x||{},p=f.error_y||{};f.ids&&(d=function(e){return e.id});var g=i.hasMarkers(f)&&f.marker.maxdisplayed>0;p.visible||h.visible||(t=[]);var v=r.select(this).selectAll("g.errorbar").data(t,d);if(v.exit().remove(),t.length){h.visible||v.selectAll("path.xerror").remove(),p.visible||v.selectAll("path.yerror").remove(),v.style("opacity",1);var m=v.enter().append("g").classed("errorbar",!0);u&&m.style("opacity",0).transition().duration(l.duration).style("opacity",1),a.setClipUrl(v,o.layerClipId,e),v.each((function(e){var t,a,i,o,d=r.select(this),f=(t=e,i=c,o={x:(a=s).c2p(t.x),y:i.c2p(t.y)},void 0!==t.yh&&(o.yh=i.c2p(t.yh),o.ys=i.c2p(t.ys),n(o.ys)||(o.noYS=!0,o.ys=i.c2p(t.ys,!0))),void 0!==t.xh&&(o.xh=a.c2p(t.xh),o.xs=a.c2p(t.xs),n(o.xs)||(o.noXS=!0,o.xs=a.c2p(t.xs,!0))),o);if(!g||e.vis){var v,m=d.select("path.yerror");if(p.visible&&n(f.x)&&n(f.yh)&&n(f.ys)){var y=p.width;v="M"+(f.x-y)+","+f.yh+"h"+2*y+"m-"+y+",0V"+f.ys,f.noYS||(v+="m-"+y+",0h"+2*y),m.size()?u&&(m=m.transition().duration(l.duration).ease(l.easing)):m=d.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0),m.attr("d",v)}else m.remove();var x=d.select("path.xerror");if(h.visible&&n(f.y)&&n(f.xh)&&n(f.xs)){var b=(h.copy_ystyle?p:h).width;v="M"+f.xh+","+(f.y-b)+"v"+2*b+"m0,-"+b+"H"+f.xs,f.noXS||(v+="m0,-"+b+"v"+2*b),x.size()?u&&(x=x.transition().duration(l.duration).ease(l.easing)):x=d.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0),x.attr("d",v)}else x.remove()}}))}}))}})),s.register("4trVw",(function(e,t){"use strict";var r=s("4Wia9"),n=s("3N5m7");e.exports=function(e){e.each((function(e){var t=e[0].trace,a=t.error_y||{},i=t.error_x||{},o=r.select(this);o.selectAll("path.yerror").style("stroke-width",a.thickness+"px").call(n.stroke,a.color),i.copy_ystyle&&(i=a),o.selectAll("path.xerror").style("stroke-width",i.thickness+"px").call(n.stroke,i.color)}))}})),s.register("5vWG9",(function(e,t){"use strict";e.exports={moduleType:"component",name:"colorbar",attributes:s("37lMN"),supplyDefaults:s("71mSL"),draw:s("HgR8O").draw,hasColorbar:s("2ef6h")}})),s.register("HgR8O",(function(e,t){"use strict";var r=s("4Wia9"),n=s("3Twc4"),a=s("3BndS"),i=s("4Hxcc"),o=s("1nE8l"),l=s("NlhQs"),c=s("1nIvY"),u=c.strTranslate,d=s("1ZM4z").extendFlat,f=s("3kB5v"),h=s("7jar4"),p=s("3N5m7"),g=s("4m0W1"),v=s("49Q6h"),m=s("hpg1L").flipScale,y=s("5HbOA"),x=s("4rJX8"),b=s("1bJQq"),_=s("5n2uh"),w=_.LINE_SPACING,k=_.FROM_TL,T=_.FROM_BR,M=s("5Kf37").cn;e.exports={draw:function(e){var t=e._fullLayout._infolayer.selectAll("g."+M.colorbar).data(function(e){var t,r,n,a,i=e._fullLayout,o=e.calcdata,l=[];function s(e){return d(e,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function c(){"function"==typeof a.calc?a.calc(e,n,t):(t._fillgradient=r.reversescale?m(r.colorscale):r.colorscale,t._zrange=[r[a.min],r[a.max]])}for(var u=0;u0?n>=s:n<=s));a++)n>u&&n0?n>=s:n<=s));a++)n>r[0]&&n1){var Q=Math.pow(10,Math.floor(Math.log(X)/Math.LN10));Z*=Q*c.roundUp(X/Q,[2,5,10]),(Math.abs(I.start)/I.size+1e-6)%1<2e-6&&(G.tick0=0)}G.dtick=Z}G.domain=[q+H,q+R-H],G.setScale(),e.attr("transform",u(Math.round(s.l),Math.round(s.t)));var J,K=e.select("."+M.cbtitleunshift).attr("transform",u(-Math.round(s.l),-Math.round(s.t))),$=e.select("."+M.cbaxis),ee=0;function te(r,n){var a={propContainer:G,propName:t._propPrefix+"title",traceIndex:t._traceIndex,_meta:t._meta,placeholder:l._dfltTitle.colorbar,containerGroup:e.select("."+M.cbtitle)},o="h"===r.charAt(0)?r.substr(1):"h"+r;e.selectAll("."+o+",."+o+"-math-group").remove(),g.draw(i,r,d(a,n||{}))}return c.syncOrAsync([a.previousPromises,function(){if(-1!==["top","bottom"].indexOf(A)){var e,r=s.l+(t.x+N)*s.w,n=G.title.font.size;e="top"===A?(1-(q+R-H))*s.h+s.t+3+.75*n:(1-(q+H))*s.h+s.t-3-.25*n,te(G._id+"title",{attributes:{x:r,y:e,"text-anchor":"start"}})}},function(){if(-1!==["top","bottom"].indexOf(A)){var a=e.select("."+M.cbtitle),l=a.select("text"),d=[-t.outlinewidth/2,t.outlinewidth/2],f=a.select(".h"+G._id+"title-math-group").node(),p=15.6;if(l.node()&&(p=parseInt(l.node().style.fontSize,10)*w),f?(ee=h.bBox(f).height)>p&&(d[1]-=(ee-p)/2):l.node()&&!l.classed(M.jsPlaceholder)&&(ee=h.bBox(l.node()).height),ee){if(ee+=5,"top"===A)G.domain[1]-=ee/s.h,d[1]*=-1;else{G.domain[0]+=ee/s.h;var g=v.lineCount(l);d[1]+=(1-g)*p}a.attr("transform",u(d[0],d[1])),G.setScale()}}e.selectAll("."+M.cbfills+",."+M.cblines).attr("transform",u(0,Math.round(s.h*(1-G.domain[1])))),$.attr("transform",u(0,Math.round(-s.t)));var y=e.select("."+M.cbfills).selectAll("rect."+M.cbfill).attr("style","").data(D);y.enter().append("rect").classed(M.cbfill,!0).style("stroke","none"),y.exit().remove();var x=S.map(G.c2p).map(Math.round).sort((function(e,t){return e-t}));y.each((function(e,a){var o=[0===a?S[0]:(D[a]+D[a-1])/2,a===D.length-1?S[1]:(D[a]+D[a+1])/2].map(G.c2p).map(Math.round);o[1]=c.constrain(o[1]+(o[1]>o[0])?1:-1,x[0],x[1]);var l=r.select(this).attr({x:B,width:Math.max(P,2),y:r.min(o),height:Math.max(r.max(o)-r.min(o),2)});if(t._fillgradient)h.gradient(l,i,t._id,"vertical",t._fillgradient,"fill");else{var s=C(e).replace("e-","");l.attr("fill",n(s).toHexString())}}));var b=e.select("."+M.cblines).selectAll("path."+M.cbline).data(m.color&&m.width?z:[]);b.enter().append("path").classed(M.cbline,!0),b.exit().remove(),b.each((function(e){r.select(this).attr("d","M"+B+","+(Math.round(G.c2p(e))+m.width/2%1)+"h"+P).call(h.lineGroupStyle,m.width,L(e),m.dash)})),$.selectAll("g."+G._id+"tick,path").remove();var _=B+P+(t.outlinewidth||0)/2-("outside"===t.ticks?1:0),k=o.calcTicks(G),T=o.getTickSigns(G)[2];return o.drawTicks(i,G,{vals:"inside"===G.ticks?o.clipEnds(G,k):k,layer:$,path:o.makeTickPath(G,_,T),transFn:o.makeTransTickFn(G)}),o.drawLabels(i,G,{vals:k,layer:$,transFn:o.makeTransTickLabelFn(G),labelFns:o.makeLabelFns(G,_)})},function(){if(-1===["top","bottom"].indexOf(A)){var e=G.title.font.size,t=G._offset+G._length/2,n=s.l+(G.position||0)*s.w+("right"===G.side?10+e*(G.showticklabels?1:.5):-10-e*(G.showticklabels?.5:0));te("h"+G._id+"title",{avoid:{selection:r.select(i).selectAll("g."+G._id+"tick"),side:A,offsetLeft:s.l,offsetTop:0,maxShift:l.width},attributes:{x:n,y:t,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}},a.previousPromises,function(){var r=P+t.outlinewidth/2;if(-1===G.ticklabelposition.indexOf("inside")&&(r+=h.bBox($.node()).width),(J=K.select("text")).node()&&!J.classed(M.jsPlaceholder)){var n,o=K.select(".h"+G._id+"title-math-group").node();n=o&&-1!==["top","bottom"].indexOf(A)?h.bBox(o).width:h.bBox(K.node()).right-B-s.l,r=Math.max(r,n)}var l=2*t.xpad+r+t.borderwidth+t.outlinewidth/2,c=V-Y;e.select("."+M.cbbg).attr({x:B-t.xpad-(t.borderwidth+t.outlinewidth)/2,y:Y-F,width:Math.max(l,2),height:Math.max(c+2*F,2)}).call(p.fill,t.bgcolor).call(p.stroke,t.bordercolor).style("stroke-width",t.borderwidth),e.selectAll("."+M.cboutline).attr({x:B,y:Y+t.ypad+("top"===A?ee:0),width:Math.max(P,2),height:Math.max(c-2*t.ypad-ee,2)}).call(p.stroke,t.outlinecolor).style({fill:"none","stroke-width":t.outlinewidth});var d=({center:.5,right:1}[t.xanchor]||0)*l;e.attr("transform",u(s.l-d,s.t));var f={},g=k[t.yanchor],v=T[t.yanchor];"pixels"===t.lenmode?(f.y=t.y,f.t=c*g,f.b=c*v):(f.t=f.b=0,f.yt=t.y+t.len*g,f.yb=t.y-t.len*v);var m=k[t.xanchor],y=T[t.xanchor];if("pixels"===t.thicknessmode)f.x=t.x,f.l=l*m,f.r=l*y;else{var x=l-P;f.l=x*m,f.r=x*y,f.xl=t.x-t.thickness*m,f.xr=t.x+t.thickness*y}a.autoMargin(i,t._id,f)}],i)}(s,t,e);O&&O.then&&(e._promises||[]).push(O),e._context.edits.colorbarPosition&&(m=s,_=t,I=(A=e)._fullLayout._size,l.init({element:m.node(),gd:A,prepFn:function(){S=m.attr("transform"),f(m)},moveFn:function(e,t){m.attr("transform",S+u(e,t)),L=l.align(_._xLeftFrac+e/I.w,_._thickFrac,0,1,_.xanchor),C=l.align(_._yBottomFrac-t/I.h,_._lenFrac,0,1,_.yanchor);var r=l.getCursor(L,C,_.xanchor,_.yanchor);f(m,r)},doneFn:function(){if(f(m),void 0!==L&&void 0!==C){var e={};e[_._propPrefix+"x"]=L,e[_._propPrefix+"y"]=C,void 0!==_._traceIndex?i.call("_guiRestyle",A,e,_._traceIndex):i.call("_guiRelayout",A,e)}}}))})),t.exit().each((function(t){a.autoMargin(e,t._id)})).remove(),t.order()}}})),s.register("5Kf37",(function(e,t){"use strict";e.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}})),s.register("55OOg",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{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"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}})),s.register("4Fx1P",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}})),s.register("7w5U2",(function(e,t){"use strict";var r=s("3N1mF"),n={getDelay:r.getDelay,getRedrawFunc:r.getRedrawFunc,clone:s("7MLlS"),toSVG:s("7sX8s"),svgToImg:s("5B7kc"),toImage:s("5z8U2"),downloadImage:s("4egvB")};e.exports=n})),s.register("7MLlS",(function(e,t){"use strict";var r=s("4Hxcc"),n=s("1nIvY"),a=n.extendFlat,i=n.extendDeep;function o(e){var t;switch(e){case"themes__thumb":t={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":t={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:t={}}return t}e.exports=function(e,t){var n;e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var l,s=e.data,c=e.layout,u=i([],s),d=i({},c,o(t.tileClass)),f=e._context||{};if(t.width&&(d.width=t.width),t.height&&(d.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){d.annotations=[];var h=Object.keys(d);for(n=0;n-1&&(d[h[n]].title={text:""});for(n=0;na),(e=>a=e)),r(e.exports,"name",(()=>n),(e=>n=e)),r(e.exports,"clean",(()=>i),(e=>i=e));var o=s("3BndS");n="treemap",a=function(e,t,r,a){o.plotBasePlot(n,e,t,r,a)},i=function(e,t,r,a){o.cleanBasePlot(n,e,t,r,a)}})),s.register("21rGq",(function(e,t){"use strict";var r=s("61PQn").hovertemplateAttrs,n=s("61PQn").texttemplateAttrs,a=s("3Lcu9"),i=s("6wryo").attributes,o=s("5yBH0"),l=s("1m4Rp"),c=s("4EUdN"),u=s("1ZM4z").extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",role:"info",editType:"plot",description:["Determines d3 treemap solver.","For more info please refer to https://github.com/d3/d3-hierarchy#treemap-tiling"].join(" ")},squarifyratio:{valType:"number",role:"info",min:1,dflt:1,editType:"plot",description:["When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio","this option specifies the desired aspect ratio of the generated rectangles.","The ratio must be specified as a number greater than or equal to one.","Note that the orientation of the generated rectangles (tall or wide)","is not implied by the ratio; for example, a ratio of two will attempt","to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2.","When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034,","Plotly applies 1 to increase squares in treemap layouts."].join(" ")},flip:{valType:"flaglist",role:"info",flags:["x","y"],dflt:"",editType:"plot",description:["Determines if the positions obtained from solver are flipped on each axis."].join(" ")},pad:{valType:"number",role:"style",min:0,dflt:3,editType:"plot",description:["Sets the inner padding (in px)."].join(" ")},editType:"calc"},marker:u({pad:{t:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the top (in px)."].join(" ")},l:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the left (in px)."].join(" ")},r:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the right (in px)."].join(" ")},b:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the bottom (in px)."].join(" ")},editType:"calc"},colors:l.marker.colors,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style",role:"style",description:["Determines if the sector colors are faded towards","the background from the leaves up to the headers.","This option is unavailable when a `colorscale` is present,","defaults to false when `marker.colors` is set,","but otherwise defaults to true.","When set to *reversed*, the fading direction is inverted,","that is the top elements within hierarchy are drawn with fully saturated colors","while the leaves are faded towards the background color."].join(" ")},line:l.marker.line,editType:"calc"},a("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if the path bar is drawn","i.e. outside the trace `domain` and","with one pixel gap."].join(" ")},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",role:"info",editType:"plot",description:["Determines on which side of the the treemap the","`pathbar` should be presented."].join(" ")},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",role:"style",editType:"plot",description:["Determines which shape is used for edges between `barpath` labels."].join(" ")},thickness:{valType:"number",min:12,role:"info",editType:"plot",description:["Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used","with 3 pixles extra padding on each side."].join(" ")},textfont:u({},o.textfont,{description:"Sets the font used inside `pathbar`."}),editType:"calc"},text:o.text,textinfo:l.textinfo,texttemplate:n({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:o.hovertext,hoverinfo:l.hoverinfo,hovertemplate:r({},{keys:c.eventDataKeys}),textfont:o.textfont,insidetextfont:o.insidetextfont,outsidetextfont:u({},o.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented on top left corner of a treemap graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",role:"style",editType:"plot",description:["Sets the positions of the `text` elements."].join(" ")},sort:o.sort,root:l.root,domain:i({name:"treemap",trace:!0,editType:"calc"})}})),s.register("5yBH0",(function(e,t){"use strict";var r=s("5zAUi"),n=s("6wryo").attributes,a=s("10Nlb"),i=s("4f6io"),o=s("61PQn").hovertemplateAttrs,l=s("61PQn").texttemplateAttrs,c=s("1ZM4z").extendFlat,u=a({editType:"plot",arrayOk:!0,colorEditType:"plot",description:"Sets the font used for `textinfo`."});e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the sector labels.","If `labels` entries are duplicated, we sum associated `values`","or simply count occurrences if `values` is not provided.","For other array attributes (including color) we use the first","non-empty entry among all occurrences of the label."].join(" ")},label0:{valType:"number",role:"info",dflt:0,editType:"calc",description:["Alternate to `labels`.","Builds a numeric set of labels.","Use with `dlabel`","where `label0` is the starting label and `dlabel` the step."].join(" ")},dlabel:{valType:"number",role:"info",dflt:1,editType:"calc",description:"Sets the label step. See `label0` for more info."},values:{valType:"data_array",editType:"calc",description:["Sets the values of the sectors.","If omitted, we count occurrences of each label."].join(" ")},marker:{colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:{valType:"color",role:"style",dflt:i.defaultLine,arrayOk:!0,editType:"style",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",role:"style",min:0,dflt:0,arrayOk:!0,editType:"style",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot",description:["Sets text elements associated with each sector.","If trace `textinfo` contains a *text* flag, these elements will be seen","on the chart.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each sector.","If a single string, the same string appears for","all data points.","If an array of string, the items are mapped in order of","this trace's sectors.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},scalegroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["If there are multiple pie charts that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")},textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","percent"],extras:["none"],editType:"calc",description:["Determines which trace information appear on the graph."].join(" ")},hoverinfo:c({},r.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:o({},{keys:["label","color","value","percent","text"]}),texttemplate:l({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot",description:["Specifies the location of the `textinfo`."].join(" ")},textfont:c({},u,{description:"Sets the font used for `textinfo`."}),insidetextorientation:{valType:"enumerated",role:"info",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot",description:["Controls the orientation of the text inside chart sectors.","When set to *auto*, text may be oriented in any direction in order","to be as big as possible in the middle of a sector.","The *horizontal* option orients text to be parallel with the bottom","of the chart, and may make text smaller in order to achieve that goal.","The *radial* option orients text along the radius of the sector.","The *tangential* option orients text perpendicular to the radius of the sector."].join(" ")},insidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying inside the sector."}),outsidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying outside the sector."}),automargin:{valType:"boolean",dflt:!1,role:"info",editType:"plot",description:["Determines whether outside text labels can push the margins."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets the title of the chart.","If it is empty, no title is displayed.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:c({},u,{description:["Sets the font used for `title`.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"plot",description:["Specifies the location of the `title`.","Note that the title's position used to be set","by the now deprecated `titleposition` attribute."].join(" ")},editType:"plot"},domain:n({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",role:"style",min:0,max:1,dflt:0,editType:"calc",description:["Sets the fraction of the radius to cut out of the pie.","Use this to make a donut chart."].join(" ")},sort:{valType:"boolean",role:"style",dflt:!0,editType:"calc",description:["Determines whether or not the sectors are reordered","from largest to smallest."].join(" ")},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"style",dflt:"counterclockwise",editType:"calc",description:["Specifies the direction at which succeeding sectors follow","one another."].join(" ")},rotation:{valType:"number",role:"style",min:-360,max:360,dflt:0,editType:"calc",description:["Instead of the first slice starting at 12 o'clock,","rotate to some other angle."].join(" ")},pull:{valType:"number",role:"style",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc",description:["Sets the fraction of larger radius to pull the sectors","out from the center. This can be a constant","to pull all slices apart from each other equally","or an array to highlight one or more slices."].join(" ")},_deprecated:{title:{valType:"string",dflt:"",role:"info",editType:"calc",description:["Deprecated in favor of `title.text`.","Note that value of `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:c({},u,{description:"Deprecated in favor of `title.font`."}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"calc",description:"Deprecated in favor of `title.position`."}}}})),s.register("1m4Rp",(function(e,t){"use strict";var r=s("5zAUi"),n=s("61PQn").hovertemplateAttrs,a=s("61PQn").texttemplateAttrs,i=s("3Lcu9"),o=s("6wryo").attributes,l=s("5yBH0"),c=s("7BRjT"),u=s("1ZM4z").extendFlat;e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the labels of each of the sectors."].join(" ")},parents:{valType:"data_array",editType:"calc",description:["Sets the parent sectors for each of the sectors.","Empty string items '' are understood to reference","the root node in the hierarchy.",'If `ids` is filled, `parents` items are understood to be "ids" themselves.',"When `ids` is not set, plotly attempts to find matching items in `labels`,","but beware they must be unique."].join(" ")},values:{valType:"data_array",editType:"calc",description:["Sets the values associated with each of the sectors.","Use with `branchvalues` to determine how the values are summed."].join(" ")},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc",role:"info",description:["Determines how the items in `values` are summed.","When set to *total*, items in `values` are taken to be value of all its descendants.","When set to *remainder*, items in `values` corresponding to the root and the branches sectors","are taken to be the extra part not part of the sum of the values at their leaves."].join(" ")},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc",role:"info",description:["Determines default for `values` when it is not provided,","by inferring a 1 for each of the *leaves* and/or *branches*, otherwise 0."].join(" ")},level:{valType:"any",editType:"plot",anim:!0,role:"info",description:["Sets the level from which this trace hierarchy is rendered.","Set `level` to `''` to start from the root node in the hierarchy.",'Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching',"item in `labels`."].join(" ")},maxdepth:{valType:"integer",editType:"plot",role:"info",dflt:-1,description:["Sets the number of rendered sectors from any given `level`.","Set `maxdepth` to *-1* to render all the levels in the hierarchy."].join(" ")},marker:u({colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector of this trace.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:u({},l.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:u({},l.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},i("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",role:"style",min:0,max:1,description:["Sets the opacity of the leaves. With colorscale","it is defaulted to 1; otherwise it is defaulted to 0.7"].join(" ")},editType:"plot"},text:l.text,textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot",description:["Determines which trace information appear on the graph."].join(" ")},texttemplate:a({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:l.hovertext,hoverinfo:u({},r.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:n({},{keys:c.eventDataKeys}),textfont:l.textfont,insidetextorientation:l.insidetextorientation,insidetextfont:l.insidetextfont,outsidetextfont:u({},l.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented at the center of a sunburst graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),rotation:{valType:"angle",role:"style",dflt:0,editType:"plot",description:["Rotates the whole diagram counterclockwise by some angle.","By default the first slice starts at 3 o'clock."].join(" ")},sort:l.sort,root:{color:{valType:"color",editType:"calc",role:"style",dflt:"rgba(0,0,0,0)",description:["sets the color of the root node for a sunburst or a treemap trace.","this has no effect when a colorscale is used to set the markers."].join(" ")},editType:"calc"},domain:o({name:"sunburst",trace:!0,editType:"calc"})}})),s.register("7BRjT",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}})),s.register("4EUdN",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}})),s.register("3QjAp",(function(e,t){"use strict";e.exports={treemapcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default treemap slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendtreemapcolors`."].join(" ")},extendtreemapcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the treemap slice colors (whether given by `treemapcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}})),s.register("1PKRy",(function(e,t){"use strict";var r=s("1nIvY"),n=s("21rGq"),a=s("3N5m7"),i=s("6wryo").defaults,o=s("5A6xq").handleText,l=s("1Pgm8").TEXTPAD,c=s("3foDh"),u=c.hasColorscale,d=c.handleDefaults;e.exports=function(e,t,s,c){function f(a,i){return r.coerce(e,t,n,a,i)}var h=f("labels"),p=f("parents");if(h&&h.length&&p&&p.length){var g=f("values");g&&g.length?f("branchvalues"):f("count"),f("level"),f("maxdepth"),"squarify"===f("tiling.packing")&&f("tiling.squarifyratio"),f("tiling.flip"),f("tiling.pad");var v=f("text");f("texttemplate"),t.texttemplate||f("textinfo",Array.isArray(v)?"text+label":"label"),f("hovertext"),f("hovertemplate");var m=f("pathbar.visible");o(e,t,c,f,"auto",{hasPathbar:m,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),f("textposition");var y=-1!==t.textposition.indexOf("bottom");f("marker.line.width")&&f("marker.line.color",c.paper_bgcolor);var x=f("marker.colors"),b=t._hasColorscale=u(e,"marker","colors")||(e.marker||{}).coloraxis;b?d(e,t,c,f,{prefix:"marker.",cLetter:"c"}):f("marker.depthfade",!(x||[]).length);var _=2*t.textfont.size;f("marker.pad.t",y?_/4:_),f("marker.pad.l",_/4),f("marker.pad.r",_/4),f("marker.pad.b",y?_:_/4),b&&d(e,t,c,f,{prefix:"marker.",cLetter:"c"}),t._hovered={marker:{line:{width:2,color:a.contrast(c.paper_bgcolor)}}},m&&(f("pathbar.thickness",t.pathbar.textfont.size+2*l),f("pathbar.side"),f("pathbar.edgeshape")),f("sort"),f("root.color"),i(t,c,f),t._length=null}else t.visible=!1}})),s.register("5A6xq",(function(e,t){"use strict";var r=s("1nIvY"),n=s("3N5m7"),a=s("4Hxcc"),i=s("3ziEk"),o=s("42Vbv"),l=s("6H9Fh"),c=s("6SFfg").getAxisGroup,u=s("18s15"),d=r.coerceFont;function f(e,t,r,n){var a=t.orientation,i=t[{v:"x",h:"y"}[a]+"axis"],o=c(r,i)+a,l=r._alignmentOpts||{},s=n("alignmentgroup"),u=l[o];u||(u=l[o]={});var d=u[s];d?d.traces.push(t):d=u[s]={traces:[t],alignmentIndex:Object.keys(u).length,offsetGroups:{}};var f=n("offsetgroup"),h=d.offsetGroups,p=h[f];f&&(p||(p=h[f]={offsetIndex:Object.keys(h).length}),t._offsetIndex=p.offsetIndex)}function h(e,t,n,a,i,o){var l=!(!1===(o=o||{}).moduleHasSelected),s=!(!1===o.moduleHasUnselected),c=!(!1===o.moduleHasConstrain),u=!(!1===o.moduleHasCliponaxis),f=!(!1===o.moduleHasTextangle),h=!(!1===o.moduleHasInsideanchor),p=!!o.hasPathbar,g=Array.isArray(i)||"auto"===i,v=g||"inside"===i,m=g||"outside"===i;if(v||m){var y=d(a,"textfont",n.font),x=r.extendFlat({},y),b=!(e.textfont&&e.textfont.color);if(b&&delete x.color,d(a,"insidetextfont",x),p){var _=r.extendFlat({},y);b&&delete _.color,d(a,"pathbar.textfont",_)}m&&d(a,"outsidetextfont",y),l&&a("selected.textfont.color"),s&&a("unselected.textfont.color"),c&&a("constraintext"),u&&a("cliponaxis"),f&&a("textangle"),a("texttemplate")}v&&h&&a("insidetextanchor")}e.exports={supplyDefaults:function(e,t,s,c){function d(n,a){return r.coerce(e,t,u,n,a)}if(i(e,t,c,d)){o(e,t,c,d),d("orientation",t.x&&!t.y?"h":"v"),d("base"),d("offset"),d("width"),d("text"),d("hovertext"),d("hovertemplate");var f=d("textposition");h(e,0,c,d,f,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),l(e,t,d,s,c);var p=(t.marker.line||{}).color,g=a.getComponentMethod("errorbars","supplyDefaults");g(e,t,p||n.defaultLine,{axis:"y"}),g(e,t,p||n.defaultLine,{axis:"x",inherit:"y"}),r.coerceSelectionMarkerOpacity(t,d)}else t.visible=!1},crossTraceDefaults:function(e,t){var n;function a(e){return r.coerce(n._input,n,u,e)}if("group"===t.barmode)for(var i=0;ia),(e=>a=e)),r(e.exports,"calc",(()=>n),(e=>n=e));var i=s("3qimv");n=function(e,t){return i.calc(e,t)},a=function(e){return i._runCrossTraceCalc("treemap",e)}})),s.register("3qimv",(function(e,t){var n,a;r(e.exports,"calc",(()=>a),(e=>a=e)),r(e.exports,"_runCrossTraceCalc",(()=>n),(e=>n=e));var i=s("5Zjzn"),o=s("7KONc"),l=s("6qr5h"),c=s("1nIvY"),u=s("3foDh").makeColorScaleFuncFromTrace,d=s("3Luav").makePullColorFn,f=s("3Luav").generateExtendedColors,h=s("3foDh").calc,p=s("10TEj").ALMOST_EQUAL,g={},v={};function m(e,t,r){var n=0,a=e.children;if(a){for(var i=a.length,o=0;o=0};x?(r=Math.min(y.length,_.length),n=function(e){return S(y[e])&&L(e)},a=function(e){return String(y[e])}):(r=Math.min(b.length,_.length),n=function(e){return S(b[e])&&L(e)},a=function(e){return String(b[e])}),k&&(r=Math.min(r,w.length));for(var C=0;C1){for(var z=c.randstr(),P=0;Pg)),r(e.exports,"computeHeight",(()=>y)),r(e.exports,"Node",(()=>x));var n=s("1NL5X"),a=s("1yJ7q"),i=s("4u4dX"),o=s("szBXt"),l=s("3AcEY"),c=s("565Wq"),u=s("5zfO7"),d=s("4XTFz"),f=s("2qC1m"),h=s("5vvX3"),p=s("25PBC");function g(e,t){var r,n,a,i,o,l=new x(e),s=+e.value&&(l.value=e.value),c=[l];for(null==t&&(t=v);r=c.pop();)if(s&&(r.value=+r.data.value),(a=t(r.data))&&(o=a.length))for(r.children=new Array(o),i=o-1;i>=0;--i)c.push(n=r.children[i]=new x(a[i])),n.parent=r,n.depth=r.depth+1;return l.eachBefore(y)}function v(e){return e.children}function m(e){e.data=e.data.data}function y(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function x(e){this.data=e,this.depth=this.height=0,this.parent=null}x.prototype=g.prototype={constructor:x,count:n.default,each:a.default,eachAfter:o.default,eachBefore:i.default,sum:l.default,sort:c.default,path:u.default,ancestors:d.default,descendants:f.default,leaves:h.default,links:p.default,copy:function(){return g(this).eachBefore(m)}}})),s.register("1NL5X",(function(e,t){function n(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function a(){return this.eachAfter(n)}r(e.exports,"default",(()=>a))})),s.register("1yJ7q",(function(e,t){function n(e){var t,r,n,a,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),r=i.children)for(n=0,a=r.length;nn))})),s.register("4u4dX",(function(e,t){function n(e){for(var t,r,n=this,a=[n];n=a.pop();)if(e(n),t=n.children)for(r=t.length-1;r>=0;--r)a.push(t[r]);return this}r(e.exports,"default",(()=>n))})),s.register("szBXt",(function(e,t){function n(e){for(var t,r,n,a=this,i=[a],o=[];a=i.pop();)if(o.push(a),t=a.children)for(r=0,n=t.length;rn))})),s.register("3AcEY",(function(e,t){function n(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,a=n&&n.length;--a>=0;)r+=n[a].value;t.value=r}))}r(e.exports,"default",(()=>n))})),s.register("565Wq",(function(e,t){function n(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))}r(e.exports,"default",(()=>n))})),s.register("5zfO7",(function(e,t){function n(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),a=null;for(e=r.pop(),t=n.pop();e===t;)a=e,e=r.pop(),t=n.pop();return a}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var a=n.length;e!==r;)n.splice(a,0,e),e=e.parent;return n}r(e.exports,"default",(()=>n))})),s.register("4XTFz",(function(e,t){function n(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}r(e.exports,"default",(()=>n))})),s.register("2qC1m",(function(e,t){function n(){var e=[];return this.each((function(t){e.push(t)})),e}r(e.exports,"default",(()=>n))})),s.register("5vvX3",(function(e,t){function n(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e}r(e.exports,"default",(()=>n))})),s.register("25PBC",(function(e,t){function n(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t}r(e.exports,"default",(()=>n))})),s.register("1s0mG",(function(e,t){r(e.exports,"default",(()=>i));var n=s("4pLTG"),a=s("4DtOe");function i(){var e=1,t=1,r=0,i=!1;function o(o){var l,s,c=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/c,o.eachBefore((l=t,s=c,function(e){e.children&&a.default(e,e.x0,l*(e.depth+1)/s,e.x1,l*(e.depth+2)/s);var t=e.x0,n=e.y0,i=e.x1-r,o=e.y1-r;in))})),s.register("4DtOe",(function(e,t){function n(e,t,r,n,a){for(var i,o=e.children,l=-1,s=o.length,c=e.value&&(n-t)/e.value;++ln))})),s.register("7KONc",(function(e,t){r(e.exports,"default",(()=>u));var n=s("7vCdx"),a=s("5Zjzn"),i={depth:-1},o={};function l(e){return e.id}function c(e){return e.parentId}function u(){var e=l,t=c;function r(r){var n,l,s,c,u,d,f=r.length,h=new Array(f),p={};for(l=0;l0)throw new Error("cycle");return s}return r.id=function(t){return arguments.length?(e=n.required(t),r):e},r.parentId=function(e){return arguments.length?(t=n.required(e),r):t},r}})),s.register("7vCdx",(function(e,t){function n(e){if("function"!=typeof e)throw new Error;return e}r(e.exports,"required",(()=>n))})),s.register("7GUcL",(function(e,t){r(e.exports,"default",(()=>l));var n=s("4pLTG"),a=s("4zes5"),i=s("7vCdx"),o=s("Z4KRE");function l(){var e=a.default,t=!1,r=1,l=1,s=[0],c=o.constantZero,u=o.constantZero,d=o.constantZero,f=o.constantZero,h=o.constantZero;function p(e){return e.x0=e.y0=0,e.x1=r,e.y1=l,e.eachBefore(g),s=[0],t&&e.eachBefore(n.default),e}function g(t){var r=s[t.depth],n=t.x0+r,a=t.y0+r,i=t.x1-r,o=t.y1-r;ii));var n=s("4DtOe"),a=s("2xsRI"),i=function e(t){function r(e,r,i,o,l){!function(e,t,r,i,o,l){for(var s,c,u,d,f,h,p,g,v,m,y,x=[],b=t.children,_=0,w=0,k=b.length,T=t.value;_p&&(p=c),y=f*f*m,(g=Math.max(p/y,y/h))>v){f-=c;break}v=g}x.push(s={value:f,dice:u1?t:1)},r}((1+Math.sqrt(5))/2)})),s.register("2xsRI",(function(e,t){function n(e,t,r,n,a){for(var i,o=e.children,l=-1,s=o.length,c=e.value&&(a-r)/e.value;++ln))})),s.register("Z4KRE",(function(e,t){function n(){return 0}function a(e){return function(){return e}}r(e.exports,"default",(()=>a)),r(e.exports,"constantZero",(()=>n))})),s.register("1ff94",(function(e,t){function n(e,t,r,n,a){var i,o,l=e.children,s=l.length,c=new Array(s+1);for(c[0]=o=i=0;i=r-1){var u=l[t];return u.x0=a,u.y0=i,u.x1=o,void(u.y1=s)}for(var d=c[t],f=n/2+d,h=t+1,p=r-1;h>>1;c[g]s-i){var y=(a*m+o*v)/n;e(t,h,v,a,i,y,s),e(h,r,m,y,i,o,s)}else{var x=(i*m+s*v)/n;e(t,h,v,a,i,o,x),e(h,r,m,a,x,o,s)}}(0,s,e.value,t,r,n,a)}r(e.exports,"default",(()=>n))})),s.register("7wauO",(function(e,t){r(e.exports,"default",(()=>i));var n=s("4DtOe"),a=s("2xsRI");function i(e,t,r,i,o){(1&e.depth?a.default:n.default)(e,t,r,i,o)}})),s.register("3Luav",(function(e,t){"use strict";var r=s("6qr5h"),n=s("3Twc4"),a=s("3N5m7"),i={};function o(e){return function(t,r){return!!t&&!!(t=n(t)).isValid()&&(t=a.addOpacity(t,t.getAlpha()),e[r]||(e[r]=t),t)}}function l(e,t){var r,a=JSON.stringify(e),i=t[a];if(!i){for(i=e.slice(),r=0;r-1?L+O:-(I+O):0,z={x0:C,x1:C,y0:D,y1:D+I},P=function(e,t,r){var n=v.tiling.pad,a=function(e){return e-n<=t.x0},i=function(e){return e+n>=t.x1},o=function(e){return e-n<=t.y0},l=function(e){return e+n>=t.y1};return{x0:a(e.x0-n)?0:i(e.x0-n)?r[0]:e.x0,x1:a(e.x1+n)?0:i(e.x1+n)?r[0]:e.x1,y0:o(e.y0-n)?0:l(e.y0-n)?r[1]:e.y0,y1:o(e.y1+n)?0:l(e.y1+n)?r[1]:e.y1}},j=null,E={},R={},N=null,F=function(e,t){return t?E[g(e)]:R[g(e)]};d.hasMultipleRoots&&w&&T++,v._maxDepth=T,v._backgroundColor=u.paper_bgcolor,v._entryDepth=y.data.depth,v._atRootLevel=w;var H=-S/2+M.l+M.w*(A.x[1]+A.x[0])/2,B=-L/2+M.t+M.h*(1-(A.y[1]+A.y[0])/2),U=function(e){return H+e},q=function(e){return B+e},V=q(0),Y=U(0),G=function(e){return Y+e},Z=function(e){return V+e};function W(e,t){return e+","+t}var X=G(0),Q=function(e){e.x=Math.max(X,e.x)},J=v.pathbar.edgeshape,K=function(e,t){var r=e.x0,n=e.x1,a=e.y0,l=e.y1,s=e.textBB,d=function(e){return-1!==v.textposition.indexOf(e)},f=d("bottom"),h=d("top")||t.isHeader&&!f?"start":f?"end":"middle",p=d("right"),g=d("left")||t.onPathbar?-1:p?1:0,m=v.marker.pad;if(t.isHeader){if((r+=m.l-i)>=(n-=m.r-i)){var y=(r+n)/2;r=y,n=y}var x;f?a<(x=l-m.b)&&x"===J?(s.x-=i,c.x-=i,u.x-=i,d.x-=i):"/"===J?(u.x-=i,d.x-=i,o.x-=i/2,l.x-=i/2):"\\"===J?(s.x-=i,c.x-=i,o.x-=i/2,l.x-=i/2):"<"===J&&(o.x-=i,l.x-=i),Q(s),Q(d),Q(o),Q(c),Q(u),Q(l),"M"+W(s.x,s.y)+"L"+W(c.x,c.y)+"L"+W(l.x,l.y)+"L"+W(u.x,u.y)+"L"+W(d.x,d.y)+"L"+W(o.x,o.y)+"Z"},toMoveInsideSlice:K,makeUpdateSliceInterpolator:ee,makeUpdateTextInterpolator:te,handleSlicesExit:re,hasTransition:k,strTransform:ne}):b.remove()}e.exports=function(e,t,a,i){var o,l,s=e._fullLayout,c=s._treemaplayer,f=!a;u("treemap",s),(o=c.selectAll("g.trace.treemap").data(t,(function(e){return e[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("treemap",!0),o.order(),!s.uniformtext.mode&&n.hasTransition(a)?(i&&(l=i()),r.transition().duration(a.duration).ease(a.easing).each("end",(function(){l&&l()})).each("interrupt",(function(){l&&l()})).each((function(){c.selectAll("g.trace").each((function(t){v(e,t,this,a)}))}))):(o.each((function(t){v(e,t,this,a)})),s.uniformtext.mode&&d(e,s._treemaplayer.selectAll(".trace"),"treemap")),f&&o.exit().remove()}})),s.register("6qi5c",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;r(e.exports,"setSliceCursor",(()=>o),(e=>o=e)),r(e.exports,"hasTransition",(()=>p),(e=>p=e)),r(e.exports,"isHierarchyRoot",(()=>m),(e=>m=e)),r(e.exports,"findEntryWithChild",(()=>v),(e=>v=e)),r(e.exports,"findEntryWithLevel",(()=>u),(e=>u=e)),r(e.exports,"isEntry",(()=>n),(e=>n=e)),r(e.exports,"isLeaf",(()=>k),(e=>k=e)),r(e.exports,"getInsideTextFontKey",(()=>y),(e=>y=e)),r(e.exports,"getOutsideTextFontKey",(()=>c),(e=>c=e)),r(e.exports,"isOutsideText",(()=>w),(e=>w=e)),r(e.exports,"getParent",(()=>x),(e=>x=e)),r(e.exports,"determineTextFont",(()=>f),(e=>f=e)),r(e.exports,"listPath",(()=>T),(e=>T=e)),r(e.exports,"formatValue",(()=>g),(e=>g=e)),r(e.exports,"formatPercent",(()=>_),(e=>_=e)),r(e.exports,"getPtId",(()=>i),(e=>i=e)),r(e.exports,"getValue",(()=>h),(e=>h=e)),r(e.exports,"getMaxDepth",(()=>d),(e=>d=e)),r(e.exports,"getPtLabel",(()=>l),(e=>l=e)),r(e.exports,"getPath",(()=>b),(e=>b=e)),r(e.exports,"isHeader",(()=>a),(e=>a=e));var M=s("1nIvY"),A=s("3N5m7"),S=s("3kB5v"),L=s("4Izpx");function C(e){return e.data.data.pid}u=function(e,t){var r;return t&&e.eachAfter((function(e){if(i(e)===t)return r=e.copy()})),r||e},v=function(e,t){var r;return e.eachAfter((function(e){for(var n=e.children||[],a=0;a0)},d=function(e){return e.maxdepth>=0?e.maxdepth:1/0},a=function(e,t){return!(k(e)||e.depth===t._maxDepth-1)},x=function(e,t){return u(e,C(t))},T=function(e,t){var r=e.parent;if(!r)return[];var n=t?[r.data[t]]:[r];return T(r,t).concat(n)},b=function(e){return T(e,"label").join("/")+"/"},g=L.formatPieValue,_=function(e,t){var r=M.formatPercent(e,0);return"0%"===r&&(r=L.formatPiePercent(e,t)),r}})),s.register("6smWF",(function(e,t){"use strict";var r=s("4Wia9"),n=s("6qr5h"),a=s("1nIvY"),i=s("49Q6h"),o=s("3N5m7"),l=s("7jar4"),c=s("4Hxcc"),u=s("1nE8l").tickText,d=s("4U9iW"),f=d.recordMinTextSize,h=d.clearMinTextSize,p=s("4dC6V"),g=s("6u7m7"),v=s("1Pgm8"),m=s("18s15"),y=m.text,x=m.textposition,b=s("2MtC7").appendArrayPointValue,_=v.TEXTPAD;function w(e){return e.id}function k(e,t){return e0}function A(e){return"auto"===e?0:e}function S(e,t){var r=Math.PI/180*t,n=Math.abs(Math.sin(r)),a=Math.abs(Math.cos(r));return{x:e.width*a+e.height*n,y:e.width*n+e.height*a}}function L(e,t,r,n,a,i){var o=!!i.isHorizontal,l=!!i.constrained,s=i.angle||0,c=i.anchor||"end",u="end"===c,d="start"===c,f=((i.leftToRight||0)+1)/2,h=1-f,p=a.width,g=a.height,v=Math.abs(t-e),m=Math.abs(n-r),y=v>2*_&&m>2*_?_:0;v-=2*y,m-=2*y;var x=A(s);"auto"!==s||p<=v&&g<=m||!(p>v||g>m)||(p>m||g>v)&&p.01?K:function(e,t,r){return r&&e===t?e:Math.abs(e-t)>=2?K(e):e>t?Math.ceil(e):Math.floor(e)};G=$(G,Z,j),Z=$(Z,G,j),W=$(W,X,!j),X=$(X,W,!j)}var ee=T(a.ensureSingle(V,"path"),O,v,m);if(ee.style("vector-effect","non-scaling-stroke").attr("d",isNaN((Z-G)*(X-W))||Q&&e._context.staticPlot?"M0,0Z":"M"+G+","+W+"V"+X+"H"+Z+"V"+W+"Z").call(l.setClipUrl,t.layerClipId,e),!O.uniformtext.mode&&E){var te=l.makePointStyleFns(d);l.singlePointStyle(c,ee,d,te,e)}(function(e,t,r,n,o,s,c,d,h,v,m){var w,M=t.xaxis,C=t.yaxis,I=e._fullLayout;function O(t,r,n){return a.ensureSingle(t,"text").text(r).attr({class:"bartext bartext-"+w,"text-anchor":"middle","data-notex":1}).call(l.font,n).call(i.convertToTspans,e)}var D,z,P,j=n[0].trace,E="h"===j.orientation,R=function(e,t,r,n,i){var o,l=t[0].trace;return o=l.texttemplate?function(e,t,r,n,i){var o=t[0].trace,l=a.castOption(o,r,"texttemplate");if(!l)return"";var s,c,d,f,h="waterfall"===o.type,p="funnel"===o.type;function g(e){return u(f,+e,!0).text}"h"===o.orientation?(s="y",c=i,d="x",f=n):(s="x",c=n,d="y",f=i);var v,m=t[r],y={};y.label=m.p,y.labelLabel=y[s+"Label"]=(v=m.p,u(c,v,!0).text);var x=a.castOption(o,m.i,"text");(0===x||x)&&(y.text=x),y.value=m.s,y.valueLabel=y[d+"Label"]=g(m.s);var _={};b(_,o,m.i),h&&(y.delta=+m.rawS||m.s,y.deltaLabel=g(y.delta),y.final=m.v,y.finalLabel=g(y.final),y.initial=y.final-y.delta,y.initialLabel=g(y.initial)),p&&(y.value=m.s,y.valueLabel=g(y.value),y.percentInitial=m.begR,y.percentInitialLabel=a.formatPercent(m.begR),y.percentPrevious=m.difR,y.percentPreviousLabel=a.formatPercent(m.difR),y.percentTotal=m.sumR,y.percenTotalLabel=a.formatPercent(m.sumR));var w=a.castOption(o,m.i,"customdata");return w&&(y.customdata=w),a.texttemplateString(l,y,e._d3locale,_,y,o._meta||{})}(e,t,r,n,i):l.textinfo?function(e,t,r,n){var i=e[0].trace,o="h"===i.orientation,l="waterfall"===i.type,s="funnel"===i.type;function c(e){return u(o?r:n,+e,!0).text}var d,f,h=i.textinfo,p=e[t],g=h.split("+"),v=[],m=function(e){return-1!==g.indexOf(e)};if(m("label")&&v.push((f=e[t].p,u(o?n:r,f,!0).text)),m("text")&&(0===(d=a.castOption(i,p.i,"text"))||d)&&v.push(d),l){var y=+p.rawS||p.s,x=p.v,b=x-y;m("initial")&&v.push(c(b)),m("delta")&&v.push(c(y)),m("final")&&v.push(c(x))}if(s){m("value")&&v.push(c(p.s));var _=0;m("percent initial")&&_++,m("percent previous")&&_++,m("percent total")&&_++;var w=_>1;m("percent initial")&&(d=a.formatPercent(p.begR),w&&(d+=" of initial"),v.push(d)),m("percent previous")&&(d=a.formatPercent(p.difR),w&&(d+=" of previous"),v.push(d)),m("percent total")&&(d=a.formatPercent(p.sumR),w&&(d+=" of total"),v.push(d))}return v.join("
")}(t,r,n,i):g.getValue(l.text,r),g.coerceString(y,o)}(I,n,o,M,C);D=j,z=o,P=g.getValue(D.textposition,z),w=g.coerceEnumerated(x,P);var N="stack"===v.mode||"relative"===v.mode,F=n[o],H=!N||F._outmost;if(R&&"none"!==w&&(!F.isBlank&&s!==c&&d!==h||"auto"!==w&&"inside"!==w)){var B=I.font,U=p.getBarColor(n[o],j),q=p.getInsideTextFont(j,o,B,U),V=p.getOutsideTextFont(j,o,B),Y=r.datum();E?"log"===M.type&&Y.s0<=0&&(s=M.range[0]0&&X>0&&(W<=J&&X<=K||W<=K&&X<=J||(E?J>=W*(K/X):K>=X*(J/W)))?w="inside":(w="outside",G.remove(),G=null)):w="inside"),!G){var $=(G=O(r,R,Q=a.ensureUniformFontSize(e,"outside"===w?V:q))).attr("transform");if(G.attr("transform",""),W=(Z=l.bBox(G.node())).width,X=Z.height,G.attr("transform",$),W<=0||X<=0)return void G.remove()}var ee,te=j.textangle;(ee="outside"===w?function(e,t,r,n,a,i){var o,l=!!i.isHorizontal,s=!!i.constrained,c=i.angle||0,u=a.width,d=a.height,f=Math.abs(t-e),h=Math.abs(n-r);o=l?h>2*_?_:0:f>2*_?_:0;var p=1;s&&(p=l?Math.min(1,h/d):Math.min(1,f/u));var g=A(c),v=S(a,g),m=(l?v.x:v.y)/2,y=(a.left+a.right)/2,x=(a.top+a.bottom)/2,b=(e+t)/2,w=(r+n)/2,T=0,M=0,L=l?k(t,e):k(r,n);return l?(b=t-L*o,T=L*m):(w=n+L*o,M=-L*m),{textX:y,textY:x,targetX:b,targetY:w,anchorX:T,anchorY:M,scale:p,rotate:g}}(s,c,d,h,Z,{isHorizontal:E,constrained:"both"===j.constraintext||"outside"===j.constraintext,angle:te}):L(s,c,d,h,Z,{isHorizontal:E,constrained:"both"===j.constraintext||"inside"===j.constraintext,angle:te,anchor:j.insidetextanchor})).fontSize=Q.size,f(j.type,ee,I),F.transform=ee,T(G,I,v,m).attr("transform",a.getTextTransform(ee))}else r.select("text").remove()})(e,t,V,s,h,G,Z,W,X,v,m),t.layerClipId&&l.hideOutsideRangePoint(c,V.select("text"),C,I,d.xcalendar,d.ycalendar)}));var H=!1===d.cliponaxis;l.setClipUrl(c,H?null:t.layerClipId,e)}));c.getComponentMethod("errorbars","plot")(e,D,t,v)},toMoveInsideBar:L}})),s.register("4U9iW",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY");function a(e){return"_"+e+"Text_minsize"}e.exports={recordMinTextSize:function(e,t,r){if(r.uniformtext.mode){var n=a(e),i=r.uniformtext.minsize,o=t.scale*t.fontSize;t.hide=o1||0===a.bargap&&0===a.bargroupgap&&!e[0].trace.marker.line.width)&&r.select(this).attr("shape-rendering","crispEdges")})),t.selectAll("g.points").each((function(t){p(r.select(this),t[0].trace,e)})),o.getComponentMethod("errorbars","style")(t)},styleTextPoints:g,styleOnSelect:function(e,t,n){var l,s,c,u,d,f,h=t[0].trace;h.selectedpoints?(l=n,s=h,c=e,a.selectedPointStyle(l.selectAll("path"),s),u=l.selectAll("text"),d=s,f=c,u.each((function(e){var t,n=r.select(this);if(e.selected){t=i.ensureUniformFontSize(f,v(n,e,d,f));var o=d.selected.textfont&&d.selected.textfont.color;o&&(t.color=o),a.font(n,t)}else a.selectedTextStyle(n,d)}))):(p(n,h,e),o.getComponentMethod("errorbars","style")(n))},getInsideTextFont:y,getOutsideTextFont:x,getBarColor:_,resizeText:l}})),s.register("6u7m7",(function(e,t){var n,a,i,o,l,c;r(e.exports,"getLineWidth",(()=>a),(e=>a=e)),r(e.exports,"coerceNumber",(()=>o),(e=>o=e)),r(e.exports,"coerceColor",(()=>l),(e=>l=e)),r(e.exports,"coerceString",(()=>n),(e=>n=e)),r(e.exports,"coerceEnumerated",(()=>c),(e=>c=e)),r(e.exports,"getValue",(()=>i),(e=>i=e));var u=s("6qr5h"),d=s("3Twc4"),f=s("1nIvY").isArrayOrTypedArray;n=function(e,t,r){if("string"==typeof t){if(t||!e.noBlank)return t}else if(("number"==typeof t||!0===t)&&!e.strict)return String(t);return void 0!==r?r:e.dflt},o=function(e,t,r){if(u(t)){t=+t;var n=e.min,a=e.max;if(!(void 0!==n&&ta))return t}return void 0!==r?r:e.dflt},l=function(e,t,r){return d(t).isValid()?t:void 0!==r?r:e.dflt},c=function(e,t,r){return e.coerceNumber&&(t=+t),-1!==e.values.indexOf(t)?t:void 0!==r?r:e.dflt},i=function(e,t){var r;return Array.isArray(e)?t-1,flipY:C.tiling.flip.indexOf("y")>-1,pad:{inner:C.tiling.pad,top:C.marker.pad.t,left:C.marker.pad.l,right:C.marker.pad.r,bottom:C.marker.pad.b}}).descendants(),j=1/0,E=-1/0;P.forEach((function(e){var t=e.depth;t>=C._maxDepth?(e.x0=e.x1=(e.x0+e.x1)/2,e.y0=e.y1=(e.y0+e.y1)/2):(j=Math.min(j,t),E=Math.max(E,t))})),p=p.data(P,u.getPtId),C._maxVisibleLayers=isFinite(E)?E-j+1:0,p.enter().append("g").classed("slice",!0),T(p,h,{},[v,m],b),p.order();var R=null;if(k&&S){var N=u.getPtId(S);p.each((function(e){null===R&&u.getPtId(e)===N&&(R={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})}))}var F=function(){return R||{x0:0,x1:v,y0:0,y1:m}},H=p;return k&&(H=H.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),H.each((function(o){var p=u.isHeader(o,C);o._hoverX=y(o.x1-C.marker.pad.r),o._hoverY=x(D?o.y1-C.marker.pad.b/2:o.y0+C.marker.pad.t/2);var g=r.select(this),T=n.ensureSingle(g,"path","surface",(function(e){e.style("pointer-events","all")}));k?T.transition().attrTween("d",(function(e){var t=M(e,h,F(),[v,m]);return function(e){return b(t(e))}})):T.attr("d",b),g.call(d,s,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{isTransitioning:e._transitioning}),T.call(l,o,C,{hovered:!1}),o.x0===o.x1||o.y0===o.y1?o._text="":o._text=p?z?"":u.getPtLabel(o)||"":f(o,s,C,t,L)||"";var S=n.ensureSingle(g,"g","slicetext"),P=n.ensureSingle(S,"text","",(function(e){e.attr("data-notex",1)})),j=n.ensureUniformFontSize(e,u.determineTextFont(C,o,L.font));P.text(o._text||" ").classed("slicetext",!0).attr("text-anchor",O?"end":I||p?"start":"middle").call(a.font,j).call(i.convertToTspans,e),o.textBB=a.bBox(P.node()),o.transform=_(o,{fontSize:j.size,isHeader:p}),o.transform.fontSize=j.size,k?P.transition().attrTween("transform",(function(e){var t=A(e,h,F(),[v,m]);return function(e){return w(t(e))}})):P.attr("transform",w(o))})),R}})),s.register("7mvKb",(function(e,t){"use strict";var r=s("7GUcL"),n=s("7wauO"),a=s("4DtOe"),i=s("1ff94"),o=s("4zes5"),l=s("2xsRI");function c(e,t,r){var n;r.swapXY&&(n=e.x0,e.x0=e.y0,e.y0=n,n=e.x1,e.x1=e.y1,e.y1=n),r.flipX&&(n=e.x0,e.x0=t[0]-e.x1,e.x1=t[0]-n),r.flipY&&(n=e.y0,e.y0=t[1]-e.y1,e.y1=t[1]-n);var a=e.children;if(a)for(var i=0;i0)for(var x=0;x"),name:T||z("name")?s.name:void 0,color:k("hoverlabel.bgcolor")||y.color,borderColor:k("hoverlabel.bordercolor"),fontFamily:k("hoverlabel.font.family"),fontSize:k("hoverlabel.font.size"),fontColor:k("hoverlabel.font.color"),nameLength:k("hoverlabel.namelength"),textAlign:k("hoverlabel.align"),hovertemplate:T,hovertemplateLabels:I,eventData:[d(n,s,f.eventDataKeys)]};v&&(E.x0=S-n.rInscribed*n.rpx1,E.x1=S+n.rInscribed*n.rpx1,E.idealAlign=n.pxmid[0]<0?"left":"right"),m&&(E.x=S,E.idealAlign=S<0?"left":"right"),i.loneHover(E,{container:l._hoverlayer.node(),outerContainer:l._paper.node(),gd:a}),p._hasHoverLabel=!0}if(m){var R=e.select("path.surface");f.styleOne(R,n,s,{hovered:!0})}p._hasHoverEvent=!0,a.emit("plotly_hover",{points:[d(n,s,f.eventDataKeys)],event:r.event})}})),e.on("mouseout",(function(t){var n=a._fullLayout,o=a._fullData[p.index],l=r.select(this).datum();if(p._hasHoverEvent&&(t.originalEvent=r.event,a.emit("plotly_unhover",{points:[d(l,o,f.eventDataKeys)],event:r.event}),p._hasHoverEvent=!1),p._hasHoverLabel&&(i.loneUnhover(n._hoverlayer.node()),p._hasHoverLabel=!1),m){var s=e.select("path.surface");f.styleOne(s,l,o,{hovered:!1})}})),e.on("click",(function(e){var t=a._fullLayout,o=a._fullData[p.index],s=v&&(c.isHierarchyRoot(e)||c.isLeaf(e)),u=c.getPtId(e),h=c.isEntry(e)?c.findEntryWithChild(g,u):c.findEntryWithLevel(g,u),m=c.getPtId(h),y={points:[d(e,o,f.eventDataKeys)],event:r.event};s||(y.nextLevel=m);var x=l.triggerHandler(a,"plotly_"+p.type+"click",y);if(!1!==x&&t.hovermode&&(a._hoverdata=[d(e,o,f.eventDataKeys)],i.click(a,r.event)),!s&&!1!==x&&!a._dragging&&!a._transitioning){n.call("_storeDirectGUIEdit",o,t._tracePreGUI[o.uid],{level:o.level});var b={data:[{level:m}],traces:[p.index]},_={frame:{redraw:!1,duration:f.transitionTime},transition:{duration:f.transitionTime,easing:f.transitionEasing},mode:"immediate",fromcurrent:!0};i.loneUnhover(t._hoverlayer.node()),n.call("animate",a,b,_)}}))}})),s.register("27qVD",(function(e,t){var n;r(e.exports,"formatSliceLabel",(()=>n),(e=>n=e));s("4Wia9"),s("1s0mG"),s("7jar4");var a=s("1nIvY"),i=(s("49Q6h"),s("4U9iW")),o=(i.recordMinTextSize,i.clearMinTextSize,s("2y90T")),l=(s("4Izpx").getRotationAngle,o.computeTransform,o.transformInsideText,s("3EV3A").styleOne,s("4dC6V").resizeText,s("1rpMS"),s("7BRjT"),s("6qi5c"));n=function(e,t,r,n,i){var o=r.texttemplate,s=r.textinfo;if(!(o||s&&"none"!==s))return"";var c=i.separators,u=n[0],d=e.data.data,f=u.hierarchy,h=l.isHierarchyRoot(e),p=l.getParent(f,e),g=l.getValue(e);if(!o){var v,m=s.split("+"),y=function(e){return-1!==m.indexOf(e)},x=[];if(y("label")&&d.label&&x.push(d.label),d.hasOwnProperty("v")&&y("value")&&x.push(l.formatValue(d.v,c)),!h){y("current path")&&x.push(l.getPath(e.data));var b=0;y("percent parent")&&b++,y("percent entry")&&b++,y("percent root")&&b++;var _=b>1;if(b){var w,k=function(e){v=l.formatPercent(w,c),_&&(v+=" of "+e),x.push(v)};y("percent parent")&&!h&&(w=g/l.getValue(p),k("parent")),y("percent entry")&&(w=g/l.getValue(t),k("entry")),y("percent root")&&(w=g/l.getValue(f),k("root"))}}return y("text")&&(v=a.castOption(r,d.i,"text"),a.isValidTextValue(v)&&x.push(v)),x.join("
")}var T=a.castOption(r,d.i,"texttemplate");if(!T)return"";var M={};d.label&&(M.label=d.label),d.hasOwnProperty("v")&&(M.value=d.v,M.valueLabel=l.formatValue(d.v,c)),M.currentPath=l.getPath(e.data),h||(M.percentParent=g/l.getValue(p),M.percentParentLabel=l.formatPercent(M.percentParent,c),M.parent=l.getPtLabel(p)),M.percentEntry=g/l.getValue(t),M.percentEntryLabel=l.formatPercent(M.percentEntry,c),M.entry=l.getPtLabel(t),M.percentRoot=g/l.getValue(f),M.percentRootLabel=l.formatPercent(M.percentRoot,c),M.root=l.getPtLabel(f),d.hasOwnProperty("color")&&(M.color=d.color);var A=a.castOption(r,d.i,"text");return(a.isValidTextValue(A)||""===A)&&(M.text=A),M.customdata=a.castOption(r,d.i,"customdata"),a.texttemplateString(T,M,i._d3locale,M,r._meta||{})}})),s.register("2y90T",(function(e,t){"use strict";var r,n=s("4Wia9"),a=s("3BndS"),i=s("FNU2H"),o=s("3N5m7"),l=s("7jar4"),c=(r=s("1nIvY")).strScale,u=r.strTranslate,d=s("49Q6h"),f=s("4U9iW"),h=f.recordMinTextSize,p=f.clearMinTextSize,g=s("1Pgm8").TEXTPAD,v=s("4Izpx"),m=s("39oaf"),y=(r=s("1nIvY")).isValidTextValue;function x(e,t,a){var o=a[0],l=o.trace,s=o.cx,c=o.cy;"_hasHoverLabel"in l||(l._hasHoverLabel=!1),"_hasHoverEvent"in l||(l._hasHoverEvent=!1),e.on("mouseover",(function(e){var a=t._fullLayout,u=t._fullData[l.index];if(!t._dragging&&!1!==a.hovermode){var d=u.hoverinfo;if(Array.isArray(d)&&(d=i.castHoverinfo({hoverinfo:[v.castOption(d,e.pts)],_module:l._module},a,0)),"all"===d&&(d="label+text+value+percent+name"),u.hovertemplate||"none"!==d&&"skip"!==d&&d){var f=e.rInscribed||0,h=s+e.pxmid[0]*(1-f),p=c+e.pxmid[1]*(1-f),g=a.separators,y=[];if(d&&-1!==d.indexOf("label")&&y.push(e.label),e.text=v.castOption(u.hovertext||u.text,e.pts),d&&-1!==d.indexOf("text")){var x=e.text;r.isValidTextValue(x)&&y.push(x)}e.value=e.v,e.valueLabel=v.formatPieValue(e.v,g),d&&-1!==d.indexOf("value")&&y.push(e.valueLabel),e.percent=e.v/o.vTotal,e.percentLabel=v.formatPiePercent(e.percent,g),d&&-1!==d.indexOf("percent")&&y.push(e.percentLabel);var b=u.hoverlabel,_=b.font;i.loneHover({trace:l,x0:h-f*o.r,x1:h+f*o.r,y:p,text:y.join("
"),name:u.hovertemplate||-1!==d.indexOf("name")?u.name:void 0,idealAlign:e.pxmid[0]<0?"left":"right",color:v.castOption(b.bgcolor,e.pts)||e.color,borderColor:v.castOption(b.bordercolor,e.pts),fontFamily:v.castOption(_.family,e.pts),fontSize:v.castOption(_.size,e.pts),fontColor:v.castOption(_.color,e.pts),nameLength:v.castOption(b.namelength,e.pts),textAlign:v.castOption(b.align,e.pts),hovertemplate:v.castOption(u.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[m(e,u)]},{container:a._hoverlayer.node(),outerContainer:a._paper.node(),gd:t}),l._hasHoverLabel=!0}l._hasHoverEvent=!0,t.emit("plotly_hover",{points:[m(e,u)],event:n.event})}})),e.on("mouseout",(function(e){var r=t._fullLayout,a=t._fullData[l.index],o=n.select(this).datum();l._hasHoverEvent&&(e.originalEvent=n.event,t.emit("plotly_unhover",{points:[m(o,a)],event:n.event}),l._hasHoverEvent=!1),l._hasHoverLabel&&(i.loneUnhover(r._hoverlayer.node()),l._hasHoverLabel=!1)})),e.on("click",(function(e){var r=t._fullLayout,a=t._fullData[l.index];t._dragging||!1===r.hovermode||(t._hoverdata=[m(e,a)],i.click(t,n.event))}))}function b(e,t,r){var n=v.castOption(e.insidetextfont.color,t.pts);!n&&e._input.textfont&&(n=v.castOption(e._input.textfont.color,t.pts));var a=v.castOption(e.insidetextfont.family,t.pts)||v.castOption(e.textfont.family,t.pts)||r.family,i=v.castOption(e.insidetextfont.size,t.pts)||v.castOption(e.textfont.size,t.pts)||r.size;return{color:n||o.contrast(t.color),family:a,size:i}}function _(e,t){for(var n,a,i=0;id&&d>h||f=-4;v-=2)m(Math.PI*v,"tan");for(v=4;v>=-4;v-=2)m(Math.PI*(v+1),"tan")}if(d||h){for(v=4;v>=-4;v-=2)m(Math.PI*(v+1.5),"rad");for(v=4;v>=-4;v-=2)m(Math.PI*(v+.5),"rad")}}if(l||p||d){var y=Math.sqrt(e.width*e.width+e.height*e.height);if((i={scale:a*n*2/y,rCenter:1-a,rotate:0}).textPosAngle=(t.startangle+t.stopangle)/2,i.scale>=1)return i;g.push(i)}(p||h)&&((i=k(e,n,o,s,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i)),(p||f)&&((i=T(e,n,o,s,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i));for(var x=0,b=0,_=0;_=1)break}return g[x]}function k(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.width/e.height,o=S(i,n,t,r);return{scale:2*o/e.height,rCenter:M(i,o/t),rotate:A(a)}}function T(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.height/e.width,o=S(i,n,t,r);return{scale:2*o/e.width,rCenter:M(i,o/t),rotate:A(a+Math.PI/2)}}function M(e,t){return Math.cos(t)-e*t}function A(e){return(180/Math.PI*e+720)%180-90}function S(e,t,r,n){var a=e+1/(2*Math.tan(t));return r*Math.min(1/(Math.sqrt(a*a+.5)+a),n/(Math.sqrt(e*e+n/2)+e))}function L(e,t){return e.v!==t.vTotal||t.trace.hole?Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2):1}function C(e,t){var r=t.pxmid[0],n=t.pxmid[1],a=e.width/2,i=e.height/2;return r<0&&(a*=-1),n<0&&(i*=-1),{scale:1,rCenter:1,rotate:0,x:a+Math.abs(i)*(a>0?1:-1)/2,y:i/(1+r*r/(n*n)),outside:!0}}function I(e,t){var r,n,a,i=e.trace,o={x:e.cx,y:e.cy},l={tx:0,ty:0};l.ty+=i.title.font.size,a=D(i),-1!==i.title.position.indexOf("top")?(o.y-=(1+a)*e.r,l.ty-=e.titleBox.height):-1!==i.title.position.indexOf("bottom")&&(o.y+=(1+a)*e.r);var s,c=e.r/(void 0===(s=e.trace.aspectratio)?1:s),u=t.w*(i.domain.x[1]-i.domain.x[0])/2;return-1!==i.title.position.indexOf("left")?(u+=c,o.x-=(1+a)*c,l.tx+=e.titleBox.width/2):-1!==i.title.position.indexOf("center")?u*=2:-1!==i.title.position.indexOf("right")&&(u+=c,o.x+=(1+a)*c,l.tx-=e.titleBox.width/2),r=u/e.titleBox.width,n=O(e,t)/e.titleBox.height,{x:o.x,y:o.y,scale:Math.min(r,n),tx:l.tx,ty:l.ty}}function O(e,t){var r=e.trace,n=t.h*(r.domain.y[1]-r.domain.y[0]);return Math.min(e.titleBox.height,n/2)}function D(e){var t,r=e.pull;if(!r)return 0;if(Array.isArray(r))for(r=0,t=0;tr&&(r=e.pull[t]);return r}function z(e,t){for(var r=[],n=0;n1?u=(c=r.r)/a.aspectratio:c=(u=r.r)*a.aspectratio,s=(c*=(1+a.baseratio)/2)*u}o=Math.min(o,s/r.vTotal)}for(n=0;n")}if(l){var b=r.castOption(o,t.i,"texttemplate");if(b){var _={label:(a=t).label,value:a.v,valueLabel:v.formatPieValue(a.v,i.separators),percent:a.v/n.vTotal,percentLabel:v.formatPiePercent(a.v/n.vTotal,i.separators),color:a.color,text:a.text,customdata:r.castOption(o,a.i,"customdata")},w=v.getFirstFilled(o.text,t.pts);(y(w)||""===w)&&(_.text=w),t.text=r.texttemplateString(b,_,e._fullLayout._d3locale,_,o._meta||{})}else t.text=""}}function E(e,t){var r=e.rotate*Math.PI/180,n=Math.cos(r),a=Math.sin(r),i=(t.left+t.right)/2,o=(t.top+t.bottom)/2;e.textX=i*n-o*a,e.textY=i*a+o*n,e.noCenter=!0}e.exports={plot:function(e,t){var i=e._fullLayout,s=i._size;p("pie",i),_(t,e),z(t,s);var f=r.makeTraceGroups(i._pielayer,t,"trace").each((function(t){var f=n.select(this),p=t[0],g=p.trace;(function(e){var t,r,n,a=e[0],i=a.r,o=a.trace,l=v.getRotationAngle(o.rotation),s=2*Math.PI/a.vTotal,c="px0",u="px1";if("counterclockwise"===o.direction){for(t=0;ta.vTotal/2?1:0,r.halfangle=Math.PI*Math.min(r.v/a.vTotal,.5),r.ring=1-o.hole,r.rInscribed=L(r,a))})(t),f.attr("stroke-linejoin","round"),f.each((function(){var m=n.select(this).selectAll("g.slice").data(t);m.enter().append("g").classed("slice",!0),m.exit().remove();var y=[[[],[]],[[],[]]],_=!1;m.each((function(a,o){if(a.hidden)n.select(this).selectAll("path,g").remove();else{a.pointNumber=a.i,a.curveNumber=g.index,y[a.pxmid[1]<0?0:1][a.pxmid[0]<0?0:1].push(a);var s=p.cx,c=p.cy,u=n.select(this),f=u.selectAll("path.surface").data([a]);if(f.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),u.call(x,e,t),g.pull){var m=+v.castOption(g.pull,a.pts)||0;m>0&&(s+=m*a.pxmid[0],c+=m*a.pxmid[1])}a.cxFinal=s,a.cyFinal=c;var k=g.hole;if(a.v===p.vTotal){var T="M"+(s+a.px0[0])+","+(c+a.px0[1])+I(a.px0,a.pxmid,!0,1)+I(a.pxmid,a.px0,!0,1)+"Z";k?f.attr("d","M"+(s+k*a.px0[0])+","+(c+k*a.px0[1])+I(a.px0,a.pxmid,!1,k)+I(a.pxmid,a.px0,!1,k)+"Z"+T):f.attr("d",T)}else{var M=I(a.px0,a.px1,!0,1);if(k){var A=1-k;f.attr("d","M"+(s+k*a.px1[0])+","+(c+k*a.px1[1])+I(a.px1,a.px0,!1,k)+"l"+A*a.px0[0]+","+A*a.px0[1]+M+"Z")}else f.attr("d","M"+s+","+c+"l"+a.px0[0]+","+a.px0[1]+M+"Z")}j(e,a,p);var S=v.castOption(g.textposition,a.pts),L=u.selectAll("g.slicetext").data(a.text&&"none"!==S?[0]:[]);L.enter().append("g").classed("slicetext",!0),L.exit().remove(),L.each((function(){var u,f,m,y=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),x=r.ensureUniformFontSize(e,"outside"===S?(u=g,f=a,m=i.font,{color:v.castOption(u.outsidetextfont.color,f.pts)||v.castOption(u.textfont.color,f.pts)||m.color,family:v.castOption(u.outsidetextfont.family,f.pts)||v.castOption(u.textfont.family,f.pts)||m.family,size:v.castOption(u.outsidetextfont.size,f.pts)||v.castOption(u.textfont.size,f.pts)||m.size}):b(g,a,i.font));y.text(a.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(l.font,x).call(d.convertToTspans,e);var k,T=l.bBox(y.node());if("outside"===S)k=C(T,a);else if(k=w(T,a,p),"auto"===S&&k.scale<1){var M=r.ensureUniformFontSize(e,g.outsidetextfont);y.call(l.font,M),k=C(T=l.bBox(y.node()),a)}var A=k.textPosAngle,L=void 0===A?a.pxmid:P(p.r,A);if(k.targetX=s+L[0]*k.rCenter+(k.x||0),k.targetY=c+L[1]*k.rCenter+(k.y||0),E(k,T),k.outside){var I=k.targetY;a.yLabelMin=I-T.height/2,a.yLabelMid=I,a.yLabelMax=I+T.height/2,a.labelExtraX=0,a.labelExtraY=0,_=!0}k.fontSize=x.size,h(g.type,k,i),t[o].transform=k,y.attr("transform",r.getTextTransform(k))}))}function I(e,t,r,n){var i=n*(t[0]-e[0]),o=n*(t[1]-e[1]);return"a"+n*p.r+","+n*p.r+" 0 "+a.largeArc+(r?" 1 ":" 0 ")+i+","+o}}));var k,T=n.select(this).selectAll("g.titletext").data(g.title.text?[0]:[]);if(T.enter().append("g").classed("titletext",!0),T.exit().remove(),T.each((function(){var t,a,i,o=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),f=g.title.text;g._meta&&(f=r.templateString(f,g._meta)),o.text(f).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(l.font,g.title.font).call(d.convertToTspans,e),t="middle center"===g.title.position?(a=p,i=Math.sqrt(a.titleBox.width*a.titleBox.width+a.titleBox.height*a.titleBox.height),{x:a.cx,y:a.cy,scale:a.trace.hole*a.r*2/i,tx:0,ty:-a.titleBox.height/2+a.trace.title.font.size}):I(p,s),o.attr("transform",u(t.x,t.y)+c(Math.min(1,t.scale))+u(t.tx,t.ty))})),_&&function(e,t){var r,n,a,i,o,l,s,c,u,d,f,h,p;function g(e,t){return e.pxmid[1]-t.pxmid[1]}function m(e,t){return t.pxmid[1]-e.pxmid[1]}function y(e,r){r||(r={});var a,c,u,f,h=r.labelExtraY+(n?r.yLabelMax:r.yLabelMin),p=n?e.yLabelMin:e.yLabelMax,g=n?e.yLabelMax:e.yLabelMin,m=e.cyFinal+o(e.px0[1],e.px1[1]),y=h-p;if(y*s>0&&(e.labelExtraY=y),Array.isArray(t.pull))for(c=0;c=(v.castOption(t.pull,u.pts)||0)||((e.pxmid[1]-u.pxmid[1])*s>0?(y=u.cyFinal+o(u.px0[1],u.px1[1])-p-e.labelExtraY)*s>0&&(e.labelExtraY+=y):(g+e.labelExtraY-m)*s>0&&(a=3*l*Math.abs(c-d.indexOf(e)),(f=u.cxFinal+i(u.px0[0],u.px1[0])+a-(e.cxFinal+e.pxmid[0])-e.labelExtraX)*l>0&&(e.labelExtraX+=f)))}for(n=0;n<2;n++)for(a=n?g:m,o=n?Math.max:Math.min,s=n?1:-1,r=0;r<2;r++){for(i=r?Math.max:Math.min,l=r?1:-1,(c=e[n][r]).sort(a),u=e[1-n][r],d=u.concat(c),h=[],f=0;fMath.abs(u)?l+="l"+u*e.pxmid[0]/e.pxmid[1]+","+u+"H"+(i+e.labelExtraX+s):l+="l"+e.labelExtraX+","+c+"v"+(u-c)+"h"+s}else l+="V"+(e.yLabelMid+e.labelExtraY)+"h"+s;r.ensureSingle(t,"path","textline").call(o.stroke,k.outsidetextfont.color).attr({"stroke-width":Math.min(2,k.outsidetextfont.size/8),d:l,fill:"none"})}else t.select("path.textline").remove()})),_&&g.automargin){var M=l.bBox(f.node()),A=g.domain,S=s.w*(A.x[1]-A.x[0]),L=s.h*(A.y[1]-A.y[0]),O=(.5*S-p.r)/s.w,D=(.5*L-p.r)/s.h;a.autoMargin(e,"pie."+g.uid+".automargin",{xl:A.x[0]-O,xr:A.x[1]+O,yb:A.y[0]-D,yt:A.y[1]+D,l:Math.max(p.cx-p.r-M.left,0),r:Math.max(M.right-(p.cx+p.r),0),b:Math.max(M.bottom-(p.cy+p.r),0),t:Math.max(p.cy-p.r-M.top,0),pad:5})}}))}));setTimeout((function(){f.selectAll("tspan").each((function(){var e=n.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))}))}),0)},formatSliceLabel:j,transformInsideText:w,determineInsideTextFont:b,positionTitleOutside:I,prerenderTitles:_,layoutAreas:z,attachFxHandlers:x,computeTransform:E}})),s.register("39oaf",(function(e,t){"use strict";var r=s("2MtC7").appendArrayMultiPointValues;e.exports=function(e,t){var n={curveNumber:t.index,pointNumbers:e.pts,data:t._input,fullData:t,label:e.label,color:e.color,value:e.v,percent:e.percent,text:e.text,v:e.v};return 1===e.pts.length&&(n.pointNumber=n.i=e.pts[0]),r(n,t,e.pts),"funnelarea"===t.type&&(delete n.v,delete n.i),n}})),s.register("3EV3A",(function(e,t){"use strict";var r=s("4Wia9"),n=s("3N5m7"),a=s("1nIvY"),i=s("4U9iW").resizeText;function o(e,t,r){var i=t.data.data,o=!t.children,l=i.i,s=a.castOption(r,l,"marker.line.color")||n.defaultLine,c=a.castOption(r,l,"marker.line.width")||0;e.style("stroke-width",c).call(n.fill,i.color).call(n.stroke,s).style("opacity",o?r.leaf.opacity:null)}e.exports={style:function(e){var t=e._fullLayout._sunburstlayer.selectAll(".trace");i(e,t,"sunburst"),t.each((function(e){var t=r.select(this),n=e[0].trace;t.style("opacity",n.opacity),t.selectAll("path.surface").each((function(e){r.select(this).call(o,e,n)}))}))},styleOne:o}})),s.register("4OYqK",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY"),a=s("7jar4"),i=s("49Q6h"),o=s("7mvKb"),l=s("iexgK").styleOne,c=s("4EUdN"),u=s("6qi5c"),d=s("1rpMS"),f=!0;e.exports=function(e,t,s,h,p){var g=p.barDifY,v=p.width,m=p.height,y=p.viewX,x=p.viewY,b=p.pathSlice,_=p.toMoveInsideSlice,w=p.strTransform,k=p.hasTransition,T=p.handleSlicesExit,M=p.makeUpdateSliceInterpolator,A=p.makeUpdateTextInterpolator,S={},L=e._fullLayout,C=t[0],I=C.trace,O=C.hierarchy,D=v/I._entryDepth,z=u.listPath(s.data,"id"),P=o(O.copy(),[v,m],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(P=P.filter((function(e){var t=z.indexOf(e.data.id);return-1!==t&&(e.x0=D*t,e.x1=D*(t+1),e.y0=g,e.y1=g+m,e.onPathbar=!0,!0)}))).reverse(),(h=h.data(P,u.getPtId)).enter().append("g").classed("pathbar",!0),T(h,f,S,[v,m],b),h.order();var j=h;k&&(j=j.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),j.each((function(o){o._hoverX=y(o.x1-Math.min(v,m)/2),o._hoverY=x(o.y1-m/2);var h=r.select(this),p=n.ensureSingle(h,"path","surface",(function(e){e.style("pointer-events","all")}));k?p.transition().attrTween("d",(function(e){var t=M(e,f,S,[v,m]);return function(e){return b(t(e))}})):p.attr("d",b),h.call(d,s,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:e._transitioning}),p.call(l,o,I,{hovered:!1}),o._text=(u.getPtLabel(o)||"").split("
").join(" ")||"";var g=n.ensureSingle(h,"g","slicetext"),T=n.ensureSingle(g,"text","",(function(e){e.attr("data-notex",1)})),C=n.ensureUniformFontSize(e,u.determineTextFont(I,o,L.font,{onPathbar:!0}));T.text(o._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(a.font,C).call(i.convertToTspans,e),o.textBB=a.bBox(T.node()),o.transform=_(o,{fontSize:C.size,onPathbar:!0}),o.transform.fontSize=C.size,k?T.transition().attrTween("transform",(function(e){var t=A(e,f,S,[v,m]);return function(e){return w(t(e))}})):T.attr("transform",w(o))}))}})),a=s("6DnoW"),t(n).register([t(a)]),window.Plotly=t(n)}()}(); \ No newline at end of file diff --git a/hugo/package-lock.json b/hugo/package-lock.json index 22ba4a0..73b7db3 100644 --- a/hugo/package-lock.json +++ b/hugo/package-lock.json @@ -13,46 +13,65 @@ } }, "@babel/code-frame": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", - "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", + "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", "requires": { - "@babel/highlight": "^7.0.0" + "@babel/highlight": "^7.12.13" } }, + "@babel/compat-data": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.0.tgz", + "integrity": "sha512-vu9V3uMM/1o5Hl5OekMUowo3FqXLJSw+s+66nt0fSWVWTtmosdzn45JHOB3cPtZoe6CTBDzvSw0RdOY85Q37+Q==" + }, "@babel/core": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.7.5.tgz", - "integrity": "sha512-M42+ScN4+1S9iB6f+TL7QBpoQETxbclx+KNoKJABghnKYE+fMzSGqst0BZJc8CpI625bwPwYgUyRvxZ+0mZzpw==", - "requires": { - "@babel/code-frame": "^7.5.5", - "@babel/generator": "^7.7.4", - "@babel/helpers": "^7.7.4", - "@babel/parser": "^7.7.5", - "@babel/template": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4", + "version": "7.14.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.3.tgz", + "integrity": "sha512-jB5AmTKOCSJIZ72sd78ECEhuPiDMKlQdDI/4QRI6lzYATx5SSogS1oQA2AoPecRCknm30gHi2l+QVvNUu3wZAg==", + "requires": { + "@babel/code-frame": "^7.12.13", + "@babel/generator": "^7.14.3", + "@babel/helper-compilation-targets": "^7.13.16", + "@babel/helper-module-transforms": "^7.14.2", + "@babel/helpers": "^7.14.0", + "@babel/parser": "^7.14.3", + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.14.2", + "@babel/types": "^7.14.2", "convert-source-map": "^1.7.0", "debug": "^4.1.0", - "json5": "^2.1.0", - "lodash": "^4.17.13", - "resolve": "^1.3.2", - "semver": "^5.4.1", + "gensync": "^1.0.0-beta.2", + "json5": "^2.1.2", + "semver": "^6.3.0", "source-map": "^0.5.0" }, "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "requires": { + "ms": "2.1.2" + } + }, "json5": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.1.tgz", - "integrity": "sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", "requires": { - "minimist": ">=1.2.3" + "minimist": "^1.2.5" } }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" }, "source-map": { "version": "0.5.7", @@ -62,21 +81,15 @@ } }, "@babel/generator": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.7.4.tgz", - "integrity": "sha512-m5qo2WgdOJeyYngKImbkyQrnUN1mPceaG5BV+G0E3gWsa4l/jCSryWJdM2x8OuGAOyh+3d5pVYfZWCiNFtynxg==", + "version": "7.14.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.3.tgz", + "integrity": "sha512-bn0S6flG/j0xtQdz3hsjJ624h3W0r3llttBMfyHX3YrZ/KtLYr15bjA0FXkgW7FpvrDuTuElXeVjiKlYRpnOFA==", "requires": { - "@babel/types": "^7.7.4", + "@babel/types": "^7.14.2", "jsesc": "^2.5.1", - "lodash": "^4.17.13", "source-map": "^0.5.0" }, "dependencies": { - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" - }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -84,876 +97,1217 @@ } } }, - "@babel/helper-annotate-as-pure": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.7.4.tgz", - "integrity": "sha512-2BQmQgECKzYKFPpiycoF9tlb5HA4lrVyAmLLVK177EcQAqjVLciUb2/R+n1boQ9y5ENV3uz2ZqiNw7QMBBw1Og==", - "requires": { - "@babel/types": "^7.7.4" - } - }, - "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.7.4.tgz", - "integrity": "sha512-Biq/d/WtvfftWZ9Uf39hbPBYDUo986m5Bb4zhkeYDGUllF43D+nUe5M6Vuo6/8JDK/0YX/uBdeoQpyaNhNugZQ==", - "requires": { - "@babel/helper-explode-assignable-expression": "^7.7.4", - "@babel/types": "^7.7.4" - } - }, - "@babel/helper-builder-react-jsx": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.7.4.tgz", - "integrity": "sha512-kvbfHJNN9dg4rkEM4xn1s8d1/h6TYNvajy9L1wx4qLn9HFg0IkTsQi4rfBe92nxrPUFcMsHoMV+8rU7MJb3fCA==", - "requires": { - "@babel/types": "^7.7.4", - "esutils": "^2.0.0" - } - }, - "@babel/helper-call-delegate": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.7.4.tgz", - "integrity": "sha512-8JH9/B7J7tCYJ2PpWVpw9JhPuEVHztagNVuQAFBVFYluRMlpG7F1CgKEgGeL6KFqcsIa92ZYVj6DSc0XwmN1ZA==", - "requires": { - "@babel/helper-hoist-variables": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4" - } - }, - "@babel/helper-create-regexp-features-plugin": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.7.4.tgz", - "integrity": "sha512-Mt+jBKaxL0zfOIWrfQpnfYCN7/rS6GKx6CCCfuoqVVd+17R8zNDlzVYmIi9qyb2wOk002NsmSTDymkIygDUH7A==", - "requires": { - "@babel/helper-regex": "^7.4.4", - "regexpu-core": "^4.6.0" - } - }, - "@babel/helper-define-map": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.7.4.tgz", - "integrity": "sha512-v5LorqOa0nVQUvAUTUF3KPastvUt/HzByXNamKQ6RdJRTV7j8rLL+WB5C/MzzWAwOomxDhYFb1wLLxHqox86lg==", - "requires": { - "@babel/helper-function-name": "^7.7.4", - "@babel/types": "^7.7.4", - "lodash": "^4.17.13" - } - }, - "@babel/helper-explode-assignable-expression": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.7.4.tgz", - "integrity": "sha512-2/SicuFrNSXsZNBxe5UGdLr+HZg+raWBLE9vC98bdYOKX/U6PY0mdGlYUJdtTDPSU0Lw0PNbKKDpwYHJLn2jLg==", + "@babel/helper-compilation-targets": { + "version": "7.13.16", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz", + "integrity": "sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA==", "requires": { - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4" + "@babel/compat-data": "^7.13.15", + "@babel/helper-validator-option": "^7.12.17", + "browserslist": "^4.14.5", + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + } } }, "@babel/helper-function-name": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz", - "integrity": "sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ==", + "version": "7.14.2", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.2.tgz", + "integrity": "sha512-NYZlkZRydxw+YT56IlhIcS8PAhb+FEUiOzuhFTfqDyPmzAhRge6ua0dQYT/Uh0t/EDHq05/i+e5M2d4XvjgarQ==", "requires": { - "@babel/helper-get-function-arity": "^7.7.4", - "@babel/template": "^7.7.4", - "@babel/types": "^7.7.4" + "@babel/helper-get-function-arity": "^7.12.13", + "@babel/template": "^7.12.13", + "@babel/types": "^7.14.2" } }, "@babel/helper-get-function-arity": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz", - "integrity": "sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA==", - "requires": { - "@babel/types": "^7.7.4" - } - }, - "@babel/helper-hoist-variables": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.7.4.tgz", - "integrity": "sha512-wQC4xyvc1Jo/FnLirL6CEgPgPCa8M74tOdjWpRhQYapz5JC7u3NYU1zCVoVAGCE3EaIP9T1A3iW0WLJ+reZlpQ==", + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", + "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", "requires": { - "@babel/types": "^7.7.4" + "@babel/types": "^7.12.13" } }, "@babel/helper-member-expression-to-functions": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.7.4.tgz", - "integrity": "sha512-9KcA1X2E3OjXl/ykfMMInBK+uVdfIVakVe7W7Lg3wfXUNyS3Q1HWLFRwZIjhqiCGbslummPDnmb7vIekS0C1vw==", + "version": "7.13.12", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz", + "integrity": "sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==", "requires": { - "@babel/types": "^7.7.4" + "@babel/types": "^7.13.12" } }, "@babel/helper-module-imports": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.7.4.tgz", - "integrity": "sha512-dGcrX6K9l8258WFjyDLJwuVKxR4XZfU0/vTUgOQYWEnRD8mgr+p4d6fCUMq/ys0h4CCt/S5JhbvtyErjWouAUQ==", + "version": "7.13.12", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz", + "integrity": "sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==", "requires": { - "@babel/types": "^7.7.4" + "@babel/types": "^7.13.12" } }, "@babel/helper-module-transforms": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.7.5.tgz", - "integrity": "sha512-A7pSxyJf1gN5qXVcidwLWydjftUN878VkalhXX5iQDuGyiGK3sOrrKKHF4/A4fwHtnsotv/NipwAeLzY4KQPvw==", + "version": "7.14.2", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.2.tgz", + "integrity": "sha512-OznJUda/soKXv0XhpvzGWDnml4Qnwp16GN+D/kZIdLsWoHj05kyu8Rm5kXmMef+rVJZ0+4pSGLkeixdqNUATDA==", "requires": { - "@babel/helper-module-imports": "^7.7.4", - "@babel/helper-simple-access": "^7.7.4", - "@babel/helper-split-export-declaration": "^7.7.4", - "@babel/template": "^7.7.4", - "@babel/types": "^7.7.4", - "lodash": "^4.17.13" + "@babel/helper-module-imports": "^7.13.12", + "@babel/helper-replace-supers": "^7.13.12", + "@babel/helper-simple-access": "^7.13.12", + "@babel/helper-split-export-declaration": "^7.12.13", + "@babel/helper-validator-identifier": "^7.14.0", + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.14.2", + "@babel/types": "^7.14.2" } }, "@babel/helper-optimise-call-expression": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.7.4.tgz", - "integrity": "sha512-VB7gWZ2fDkSuqW6b1AKXkJWO5NyNI3bFL/kK79/30moK57blr6NbH8xcl2XcKCwOmJosftWunZqfO84IGq3ZZg==", + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", + "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", "requires": { - "@babel/types": "^7.7.4" + "@babel/types": "^7.12.13" } }, "@babel/helper-plugin-utils": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz", - "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==" - }, - "@babel/helper-regex": { - "version": "7.5.5", - "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.5.5.tgz", - "integrity": "sha512-CkCYQLkfkiugbRDO8eZn6lRuR8kzZoGXCg3149iTk5se7g6qykSpy3+hELSwquhu+TgHn8nkLiBwHvNX8Hofcw==", - "requires": { - "lodash": "^4.17.13" - } - }, - "@babel/helper-remap-async-to-generator": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.7.4.tgz", - "integrity": "sha512-Sk4xmtVdM9sA/jCI80f+KS+Md+ZHIpjuqmYPk1M7F/upHou5e4ReYmExAiu6PVe65BhJPZA2CY9x9k4BqE5klw==", - "requires": { - "@babel/helper-annotate-as-pure": "^7.7.4", - "@babel/helper-wrap-function": "^7.7.4", - "@babel/template": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4" - } + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz", + "integrity": "sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ==" }, "@babel/helper-replace-supers": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.7.4.tgz", - "integrity": "sha512-pP0tfgg9hsZWo5ZboYGuBn/bbYT/hdLPVSS4NMmiRJdwWhP0IznPwN9AE1JwyGsjSPLC364I0Qh5p+EPkGPNpg==", + "version": "7.14.3", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.14.3.tgz", + "integrity": "sha512-Rlh8qEWZSTfdz+tgNV/N4gz1a0TMNwCUcENhMjHTHKp3LseYH5Jha0NSlyTQWMnjbYcwFt+bqAMqSLHVXkQ6UA==", "requires": { - "@babel/helper-member-expression-to-functions": "^7.7.4", - "@babel/helper-optimise-call-expression": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4" + "@babel/helper-member-expression-to-functions": "^7.13.12", + "@babel/helper-optimise-call-expression": "^7.12.13", + "@babel/traverse": "^7.14.2", + "@babel/types": "^7.14.2" } }, "@babel/helper-simple-access": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.7.4.tgz", - "integrity": "sha512-zK7THeEXfan7UlWsG2A6CI/L9jVnI5+xxKZOdej39Y0YtDYKx9raHk5F2EtK9K8DHRTihYwg20ADt9S36GR78A==", + "version": "7.13.12", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz", + "integrity": "sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==", "requires": { - "@babel/template": "^7.7.4", - "@babel/types": "^7.7.4" + "@babel/types": "^7.13.12" } }, "@babel/helper-split-export-declaration": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz", - "integrity": "sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug==", + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", + "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", "requires": { - "@babel/types": "^7.7.4" + "@babel/types": "^7.12.13" } }, - "@babel/helper-wrap-function": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.7.4.tgz", - "integrity": "sha512-VsfzZt6wmsocOaVU0OokwrIytHND55yvyT4BPB9AIIgwr8+x7617hetdJTsuGwygN5RC6mxA9EJztTjuwm2ofg==", - "requires": { - "@babel/helper-function-name": "^7.7.4", - "@babel/template": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4" - } + "@babel/helper-validator-identifier": { + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", + "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" + }, + "@babel/helper-validator-option": { + "version": "7.12.17", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz", + "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==" }, "@babel/helpers": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.7.4.tgz", - "integrity": "sha512-ak5NGZGJ6LV85Q1Zc9gn2n+ayXOizryhjSUBTdu5ih1tlVCJeuQENzc4ItyCVhINVXvIT/ZQ4mheGIsfBkpskg==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.0.tgz", + "integrity": "sha512-+ufuXprtQ1D1iZTO/K9+EBRn+qPWMJjZSw/S0KlFrxCw4tkrzv9grgpDHkY9MeQTjTY8i2sp7Jep8DfU6tN9Mg==", "requires": { - "@babel/template": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4" + "@babel/template": "^7.12.13", + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0" } }, "@babel/highlight": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", - "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", + "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", "requires": { + "@babel/helper-validator-identifier": "^7.14.0", "chalk": "^2.0.0", - "esutils": "^2.0.2", "js-tokens": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "@babel/parser": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.7.5.tgz", - "integrity": "sha512-KNlOe9+/nk4i29g0VXgl8PEXIRms5xKLJeuZ6UptN0fHv+jDiriG+y94X6qAgWTR0h3KaoM1wK5G5h7MHFRSig==" - }, - "@babel/plugin-proposal-async-generator-functions": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.7.4.tgz", - "integrity": "sha512-1ypyZvGRXriY/QP668+s8sFr2mqinhkRDMPSQLNghCQE+GAkFtp+wkHVvg2+Hdki8gwP+NFzJBJ/N1BfzCCDEw==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-remap-async-to-generator": "^7.7.4", - "@babel/plugin-syntax-async-generators": "^7.7.4" - } + "version": "7.14.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.3.tgz", + "integrity": "sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ==" }, - "@babel/plugin-proposal-dynamic-import": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.7.4.tgz", - "integrity": "sha512-StH+nGAdO6qDB1l8sZ5UBV8AC3F2VW2I8Vfld73TMKyptMU9DY5YsJAS8U81+vEtxcH3Y/La0wG0btDrhpnhjQ==", + "@babel/plugin-syntax-flow": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.12.13.tgz", + "integrity": "sha512-J/RYxnlSLXZLVR7wTRsozxKT8qbsx1mNKJzXEEjQ0Kjx1ZACcyHgbanNWNCFtc36IzuWhYWPpvJFFoexoOWFmA==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-dynamic-import": "^7.7.4" + "@babel/helper-plugin-utils": "^7.12.13" } }, - "@babel/plugin-proposal-json-strings": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.7.4.tgz", - "integrity": "sha512-wQvt3akcBTfLU/wYoqm/ws7YOAQKu8EVJEvHip/mzkNtjaclQoCCIqKXFP5/eyfnfbQCDV3OLRIK3mIVyXuZlw==", + "@babel/plugin-transform-flow-strip-types": { + "version": "7.13.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.13.0.tgz", + "integrity": "sha512-EXAGFMJgSX8gxWD7PZtW/P6M+z74jpx3wm/+9pn+c2dOawPpBkUX7BrfyPvo6ZpXbgRIEuwgwDb/MGlKvu2pOg==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-json-strings": "^7.7.4" + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/plugin-syntax-flow": "^7.12.13" } }, - "@babel/plugin-proposal-object-rest-spread": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.7.4.tgz", - "integrity": "sha512-rnpnZR3/iWKmiQyJ3LKJpSwLDcX/nSXhdLk4Aq/tXOApIvyu7qoabrige0ylsAJffaUC51WiBu209Q0U+86OWQ==", + "@babel/template": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", + "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-object-rest-spread": "^7.7.4" + "@babel/code-frame": "^7.12.13", + "@babel/parser": "^7.12.13", + "@babel/types": "^7.12.13" } }, - "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.7.4.tgz", - "integrity": "sha512-DyM7U2bnsQerCQ+sejcTNZh8KQEUuC3ufzdnVnSiUv/qoGJp2Z3hanKL18KDhsBT5Wj6a7CMT5mdyCNJsEaA9w==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-optional-catch-binding": "^7.7.4" + "@babel/traverse": { + "version": "7.14.2", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.2.tgz", + "integrity": "sha512-TsdRgvBFHMyHOOzcP9S6QU0QQtjxlRpEYOy3mcCO5RgmC305ki42aSAmfZEMSSYBla2oZ9BMqYlncBaKmD/7iA==", + "requires": { + "@babel/code-frame": "^7.12.13", + "@babel/generator": "^7.14.2", + "@babel/helper-function-name": "^7.14.2", + "@babel/helper-split-export-declaration": "^7.12.13", + "@babel/parser": "^7.14.2", + "@babel/types": "^7.14.2", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "requires": { + "ms": "2.1.2" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + } } }, - "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.7.4.tgz", - "integrity": "sha512-cHgqHgYvffluZk85dJ02vloErm3Y6xtH+2noOBOJ2kXOJH3aVCDnj5eR/lVNlTnYu4hndAPJD3rTFjW3qee0PA==", + "@babel/types": { + "version": "7.14.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.2.tgz", + "integrity": "sha512-SdjAG/3DikRHpUOjxZgnkbR11xUlyDMUFJdvnIgZEE16mqmY0BINMmc4//JMJglEmn6i7sq6p+mGrFWyZ98EEw==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/helper-validator-identifier": "^7.14.0", + "to-fast-properties": "^2.0.0" } }, - "@babel/plugin-syntax-async-generators": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.7.4.tgz", - "integrity": "sha512-Li4+EjSpBgxcsmeEF8IFcfV/+yJGxHXDirDkEoyFjumuwbmfCVHUt0HuowD/iGM7OhIRyXJH9YXxqiH6N815+g==", + "@choojs/findup": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@choojs/findup/-/findup-0.2.1.tgz", + "integrity": "sha512-YstAqNb0MCN8PjdLCDfRsBcGVRN41f3vgLvaI0IrIcBp4AqILRSS0DeWNGkicC+f/zRIPJLc+9RURVSepwvfBw==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "commander": "^2.15.1" } }, - "@babel/plugin-syntax-dynamic-import": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.7.4.tgz", - "integrity": "sha512-jHQW0vbRGvwQNgyVxwDh4yuXu4bH1f5/EICJLAhl1SblLs2CDhrsmCk+v5XLdE9wxtAFRyxx+P//Iw+a5L/tTg==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } + "@iarna/toml": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.5.tgz", + "integrity": "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==" }, - "@babel/plugin-syntax-flow": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.7.4.tgz", - "integrity": "sha512-2AMAWl5PsmM5KPkB22cvOkUyWk6MjUaqhHNU5nSPUl/ns3j5qLfw2SuYP5RbVZ0tfLvePr4zUScbICtDP2CUNw==", + "@mapbox/geojson-rewind": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.5.1.tgz", + "integrity": "sha512-eL7fMmfTBKjrb+VFHXCGv9Ot0zc3C0U+CwXo1IrP+EPwDczLoXv34Tgq3y+2mPSFNVUXgU42ILWJTC7145KPTA==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "get-stream": "^6.0.1", + "minimist": "^1.2.5" } }, - "@babel/plugin-syntax-json-strings": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.7.4.tgz", - "integrity": "sha512-QpGupahTQW1mHRXddMG5srgpHWqRLwJnJZKXTigB9RPFCCGbDGCgBeM/iC82ICXp414WeYx/tD54w7M2qRqTMg==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } + "@mapbox/geojson-types": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz", + "integrity": "sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw==" }, - "@babel/plugin-syntax-jsx": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.7.4.tgz", - "integrity": "sha512-wuy6fiMe9y7HeZBWXYCGt2RGxZOj0BImZ9EyXJVnVGBKO/Br592rbR3rtIQn0eQhAk9vqaKP5n8tVqEFBQMfLg==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } + "@mapbox/jsonlint-lines-primitives": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz", + "integrity": "sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=" }, - "@babel/plugin-syntax-object-rest-spread": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.7.4.tgz", - "integrity": "sha512-mObR+r+KZq0XhRVS2BrBKBpr5jqrqzlPvS9C9vuOf5ilSwzloAl7RPWLrgKdWS6IreaVrjHxTjtyqFiOisaCwg==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } + "@mapbox/mapbox-gl-supported": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz", + "integrity": "sha512-/PT1P6DNf7vjEEiPkVIRJkvibbqWtqnyGaBz3nfRdcxclNSnSdaLU5tfAgcD7I8Yt5i+L19s406YLl1koLnLbg==" }, - "@babel/plugin-syntax-optional-catch-binding": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.7.4.tgz", - "integrity": "sha512-4ZSuzWgFxqHRE31Glu+fEr/MirNZOMYmD/0BhBWyLyOOQz/gTAl7QmWm2hX1QxEIXsr2vkdlwxIzTyiYRC4xcQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } + "@mapbox/point-geometry": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", + "integrity": "sha1-ioP5M1x4YO/6Lu7KJUMyqgru2PI=" }, - "@babel/plugin-syntax-top-level-await": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.7.4.tgz", - "integrity": "sha512-wdsOw0MvkL1UIgiQ/IFr3ETcfv1xb8RMM0H9wbiDyLaJFyiDg5oZvDLCXosIXmFeIlweML5iOBXAkqddkYNizg==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } + "@mapbox/tiny-sdf": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-1.2.5.tgz", + "integrity": "sha512-cD8A/zJlm6fdJOk6DqPUV8mcpyJkRz2x2R+/fYcWDYG3oWbG7/L7Yl/WqQ1VZCjnL9OTIMAn6c+BC5Eru4sQEw==" }, - "@babel/plugin-transform-arrow-functions": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.7.4.tgz", - "integrity": "sha512-zUXy3e8jBNPiffmqkHRNDdZM2r8DWhCB7HhcoyZjiK1TxYEluLHAvQuYnTT+ARqRpabWqy/NHkO6e3MsYB5YfA==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } + "@mapbox/unitbezier": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz", + "integrity": "sha1-FWUb1VOme4WB+zmIEMmK2Go0Uk4=" }, - "@babel/plugin-transform-async-to-generator": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.7.4.tgz", - "integrity": "sha512-zpUTZphp5nHokuy8yLlyafxCJ0rSlFoSHypTUWgpdwoDXWQcseaect7cJ8Ppk6nunOM6+5rPMkod4OYKPR5MUg==", + "@mapbox/vector-tile": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz", + "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==", "requires": { - "@babel/helper-module-imports": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-remap-async-to-generator": "^7.7.4" + "@mapbox/point-geometry": "~0.1.0" } }, - "@babel/plugin-transform-block-scoped-functions": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.7.4.tgz", - "integrity": "sha512-kqtQzwtKcpPclHYjLK//3lH8OFsCDuDJBaFhVwf8kqdnF6MN4l618UDlcA7TfRs3FayrHj+svYnSX8MC9zmUyQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } + "@mapbox/whoots-js": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz", + "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==" }, - "@babel/plugin-transform-block-scoping": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.7.4.tgz", - "integrity": "sha512-2VBe9u0G+fDt9B5OV5DQH4KBf5DoiNkwFKOz0TCvBWvdAN2rOykCTkrL+jTLxfCAm76l9Qo5OqL7HBOx2dWggg==", + "@nodelib/fs.scandir": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", + "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "lodash": "^4.17.13" + "@nodelib/fs.stat": "2.0.4", + "run-parallel": "^1.1.9" } }, - "@babel/plugin-transform-classes": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.7.4.tgz", - "integrity": "sha512-sK1mjWat7K+buWRuImEzjNf68qrKcrddtpQo3swi9j7dUcG6y6R6+Di039QN2bD1dykeswlagupEmpOatFHHUg==", - "requires": { - "@babel/helper-annotate-as-pure": "^7.7.4", - "@babel/helper-define-map": "^7.7.4", - "@babel/helper-function-name": "^7.7.4", - "@babel/helper-optimise-call-expression": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-replace-supers": "^7.7.4", - "@babel/helper-split-export-declaration": "^7.7.4", - "globals": "^11.1.0" - } + "@nodelib/fs.stat": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", + "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==" }, - "@babel/plugin-transform-computed-properties": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.7.4.tgz", - "integrity": "sha512-bSNsOsZnlpLLyQew35rl4Fma3yKWqK3ImWMSC/Nc+6nGjC9s5NFWAer1YQ899/6s9HxO2zQC1WoFNfkOqRkqRQ==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@nodelib/fs.walk": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", + "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", + "requires": { + "@nodelib/fs.scandir": "2.1.4", + "fastq": "^1.6.0" + } + }, + "@parcel/babel-ast-utils": { + "version": "2.0.0-nightly.2310", + "resolved": "https://registry.npmjs.org/@parcel/babel-ast-utils/-/babel-ast-utils-2.0.0-nightly.2310.tgz", + "integrity": "sha512-9WuF3zS9p/PAU71yVO8YLfr2++wod4P5/Mx7usWFUT17ZYaiv7K6lXw6LCcARDBwRGc7jQQN0F0+luL1tn1bAA==", + "requires": { + "@babel/parser": "^7.0.0", + "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "astring": "^1.6.2" + } + }, + "@parcel/bundler-default": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/bundler-default/-/bundler-default-2.0.0-nightly.688.tgz", + "integrity": "sha512-sbcok3gz+0clC4dSKM40cuXwCqHIICwB6Mlen/6dxUFItF0kT0CX3czU+sOQXbYeWGsOC8gEx5gyuUH8NupPCA==", + "requires": { + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1" + } + }, + "@parcel/cache": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.0.0-nightly.688.tgz", + "integrity": "sha512-XUbabahriftl9AJcS726Fl2nC7/2Hdh3onLtxKP/WtMDebvuCWTINSGnzneJs9m2CaquHb3ymjzCM1t7L6/uFw==", + "requires": { + "@parcel/logger": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0" + } + }, + "@parcel/codeframe": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.0.0-nightly.688.tgz", + "integrity": "sha512-I+gfC7YTiF56xuSWeE9NMlyaV3x8ewAhCUXQrr9k0vPJ0lnAOC50QvA6ZeeN7MM2zxJWtU4qHcwmqfo23RtI+Q==", + "requires": { + "chalk": "^4.1.0", + "emphasize": "^4.2.0", + "slice-ansi": "^4.0.0", + "string-width": "^4.2.0" + } + }, + "@parcel/config-default": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/config-default/-/config-default-2.0.0-nightly.688.tgz", + "integrity": "sha512-EH5absz//z45BcecHiz73R14y6JFTLq4oENkHucZsE2JDb6BFLfL6XeRZxr61YQNkthSgdEM+BbzBcl7uaBJBg==", + "requires": { + "@parcel/bundler-default": "2.0.0-nightly.688+14a039f0", + "@parcel/namer-default": "2.0.0-nightly.688+14a039f0", + "@parcel/optimizer-cssnano": "2.0.0-nightly.688+14a039f0", + "@parcel/optimizer-htmlnano": "2.0.0-nightly.688+14a039f0", + "@parcel/optimizer-terser": "2.0.0-nightly.688+14a039f0", + "@parcel/packager-css": "2.0.0-nightly.688+14a039f0", + "@parcel/packager-html": "2.0.0-nightly.688+14a039f0", + "@parcel/packager-js": "2.0.0-nightly.688+14a039f0", + "@parcel/packager-raw": "2.0.0-nightly.688+14a039f0", + "@parcel/reporter-dev-server": "2.0.0-nightly.688+14a039f0", + "@parcel/resolver-default": "2.0.0-nightly.688+14a039f0", + "@parcel/runtime-browser-hmr": "2.0.0-nightly.688+14a039f0", + "@parcel/runtime-js": "2.0.0-nightly.688+14a039f0", + "@parcel/runtime-react-refresh": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-babel": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-css": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-html": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-js": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-json": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-postcss": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-posthtml": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-raw": "2.0.0-nightly.688+14a039f0", + "@parcel/transformer-react-refresh-wrap": "2.0.0-nightly.688+14a039f0" + } + }, + "@parcel/core": { + "version": "2.0.0-nightly.686", + "resolved": "https://registry.npmjs.org/@parcel/core/-/core-2.0.0-nightly.686.tgz", + "integrity": "sha512-EQjE3Hh1EgdV2/4Qg8TehQpBsed011KStNBajgEcF04+bccm/jmX3ge/ht9hk5rH0uYcux5mEbhOMaafFN8FDA==", + "requires": { + "@parcel/cache": "2.0.0-nightly.688+14a039f0", + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/events": "2.0.0-nightly.688+14a039f0", + "@parcel/fs": "2.0.0-nightly.688+14a039f0", + "@parcel/logger": "2.0.0-nightly.688+14a039f0", + "@parcel/package-manager": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/types": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/workers": "2.0.0-nightly.688+14a039f0", + "abortcontroller-polyfill": "^1.1.9", + "base-x": "^3.0.8", + "browserslist": "^4.6.6", + "clone": "^2.1.1", + "dotenv": "^7.0.0", + "dotenv-expand": "^5.1.0", + "json-source-map": "^0.6.1", + "json5": "^1.0.1", + "micromatch": "^4.0.2", + "nullthrows": "^1.1.1", + "querystring": "^0.2.0", + "semver": "^5.4.1" } }, - "@babel/plugin-transform-destructuring": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.7.4.tgz", - "integrity": "sha512-4jFMXI1Cu2aXbcXXl8Lr6YubCn6Oc7k9lLsu8v61TZh+1jny2BWmdtvY9zSUlLdGUvcy9DMAWyZEOqjsbeg/wA==", + "@parcel/diagnostic": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.0.0-nightly.688.tgz", + "integrity": "sha512-dZrMZvmhqcPa83rRLw/jCX9jdqzvYGBym1HtU8E8Rvfh6fq/yMifT6+T0xgDqmc+jkMNUahgYvtd8mFl25SVNQ==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "json-source-map": "^0.6.1", + "nullthrows": "^1.1.1" } }, - "@babel/plugin-transform-dotall-regex": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.7.4.tgz", - "integrity": "sha512-mk0cH1zyMa/XHeb6LOTXTbG7uIJ8Rrjlzu91pUx/KS3JpcgaTDwMS8kM+ar8SLOvlL2Lofi4CGBAjCo3a2x+lw==", - "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0" - } + "@parcel/events": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.0.0-nightly.688.tgz", + "integrity": "sha512-9kaQx/xSY5OZcXZS1kccmg1aERs8j8/axQNT0gac0jiAqYNnDpuGfUsdD2VEaslbczw6kFtqPnuTkwbEskHnjg==" }, - "@babel/plugin-transform-duplicate-keys": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.7.4.tgz", - "integrity": "sha512-g1y4/G6xGWMD85Tlft5XedGaZBCIVN+/P0bs6eabmcPP9egFleMAo65OOjlhcz1njpwagyY3t0nsQC9oTFegJA==", - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/fs": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.0.0-nightly.688.tgz", + "integrity": "sha512-9kdYcp5KVA0nwdEAdBSE1tt8//PLrdjqP0VpuoBtCYZ8vo5Zm1u2/pGjgfiG0o2o0O0wWmywmMkD1beR7o/jQA==", + "requires": { + "@parcel/fs-search": "2.0.0-nightly.2310+14a039f0", + "@parcel/fs-write-stream-atomic": "2.0.0-nightly.2310+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/watcher": "2.0.0-alpha.10", + "@parcel/workers": "2.0.0-nightly.688+14a039f0", + "graceful-fs": "^4.2.4", + "mkdirp": "^0.5.1", + "ncp": "^2.0.0", + "nullthrows": "^1.1.1", + "rimraf": "^3.0.2" } }, - "@babel/plugin-transform-exponentiation-operator": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.7.4.tgz", - "integrity": "sha512-MCqiLfCKm6KEA1dglf6Uqq1ElDIZwFuzz1WH5mTf8k2uQSxEJMbOIEh7IZv7uichr7PMfi5YVSrr1vz+ipp7AQ==", + "@parcel/fs-search": { + "version": "2.0.0-nightly.2310", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.0.0-nightly.2310.tgz", + "integrity": "sha512-v/ckPrcnxOJp6XMwEnad+F6zigo+kvoWr2X+nbtv8gpk2r6cbsYC7fW7v5YSkFRgwQAyWJ3l2LqT7r5Shxt25g==", "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0" + "detect-libc": "^1.0.3" } }, - "@babel/plugin-transform-flow-strip-types": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.7.4.tgz", - "integrity": "sha512-w9dRNlHY5ElNimyMYy0oQowvQpwt/PRHI0QS98ZJCTZU2bvSnKXo5zEiD5u76FBPigTm8TkqzmnUTg16T7qbkA==", + "@parcel/fs-write-stream-atomic": { + "version": "2.0.0-nightly.2310", + "resolved": "https://registry.npmjs.org/@parcel/fs-write-stream-atomic/-/fs-write-stream-atomic-2.0.0-nightly.2310.tgz", + "integrity": "sha512-p15KW6eIjnuIm1gs28+Qe7Ir2khU/k4wBP+pjvayLFKCaBQoYtgrjKndh5C5ZDk1yqxQ1x9fbXPqlJ1CjWixPw==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-flow": "^7.7.4" + "graceful-fs": "^4.1.2", + "iferr": "^1.0.2", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" } }, - "@babel/plugin-transform-for-of": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.7.4.tgz", - "integrity": "sha512-zZ1fD1B8keYtEcKF+M1TROfeHTKnijcVQm0yO/Yu1f7qoDoxEIc/+GX6Go430Bg84eM/xwPFp0+h4EbZg7epAA==", + "@parcel/logger": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.0.0-nightly.688.tgz", + "integrity": "sha512-OocZpBi3YPW/rQZfeS2ZnykyFA1xUj+BwK016+2yJ9BRWHrARrkjyX4jNTdE2+MmdEAHEtRncTM1429Urq893g==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/events": "2.0.0-nightly.688+14a039f0" } }, - "@babel/plugin-transform-function-name": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.7.4.tgz", - "integrity": "sha512-E/x09TvjHNhsULs2IusN+aJNRV5zKwxu1cpirZyRPw+FyyIKEHPXTsadj48bVpc1R5Qq1B5ZkzumuFLytnbT6g==", + "@parcel/markdown-ansi": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.0.0-nightly.688.tgz", + "integrity": "sha512-V1wgSNXQWuNAMWWUn7oOGoJHM/n0JctMBUZjxtRR/qrF6pUbngrxz7Umg89H9XXGdT3npdBNe/X5Li/caGgn4A==", "requires": { - "@babel/helper-function-name": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0" + "chalk": "^4.1.0" } }, - "@babel/plugin-transform-literals": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.7.4.tgz", - "integrity": "sha512-X2MSV7LfJFm4aZfxd0yLVFrEXAgPqYoDG53Br/tCKiKYfX0MjVjQeWPIhPHHsCqzwQANq+FLN786fF5rgLS+gw==", + "@parcel/namer-default": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.0.0-nightly.688.tgz", + "integrity": "sha512-JXngn/Ooj8IgLMcz4Gv5alqU0oGK+wirMHwF6AgS7XYI+DfP6R+fC+USzbal0EYTY7CSMbWjYq+MxBrxwuz3uQ==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1" } }, - "@babel/plugin-transform-member-expression-literals": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.7.4.tgz", - "integrity": "sha512-9VMwMO7i69LHTesL0RdGy93JU6a+qOPuvB4F4d0kR0zyVjJRVJRaoaGjhtki6SzQUu8yen/vxPKN6CWnCUw6bA==", + "@parcel/node-libs-browser": { + "version": "2.0.0-nightly.2310", + "resolved": "https://registry.npmjs.org/@parcel/node-libs-browser/-/node-libs-browser-2.0.0-nightly.2310.tgz", + "integrity": "sha512-R/KYdFgoZ5pzoC7TW1QgJhCN89Bzilbhmz1/XeVthIimzKz9p572eP57NgK3VUSdc3dwka80DmSSYCl6qs+HYQ==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "assert": "^2.0.0", + "browserify-zlib": "^0.2.0", + "buffer": "^5.5.0", + "console-browserify": "^1.2.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.12.0", + "domain-browser": "^3.5.0", + "events": "^3.1.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "^1.0.0", + "process": "^0.11.10", + "punycode": "^1.4.1", + "querystring-es3": "^0.2.1", + "readable-stream": "^3.6.0", + "stream-http": "^3.1.0", + "string_decoder": "^1.3.0", + "timers-browserify": "^2.0.11", + "tty-browserify": "^0.0.1", + "url": "^0.11.0", + "util": "^0.12.3", + "vm-browserify": "^1.1.2" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } } }, - "@babel/plugin-transform-modules-amd": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.7.5.tgz", - "integrity": "sha512-CT57FG4A2ZUNU1v+HdvDSDrjNWBrtCmSH6YbbgN3Lrf0Di/q/lWRxZrE72p3+HCCz9UjfZOEBdphgC0nzOS6DQ==", + "@parcel/node-resolver-core": { + "version": "2.0.0-nightly.2310", + "resolved": "https://registry.npmjs.org/@parcel/node-resolver-core/-/node-resolver-core-2.0.0-nightly.2310.tgz", + "integrity": "sha512-pe2ZLqsgXzwdlr+W4Z4XGAPCfU2V4uPMLrgn522DDQGwAAgt84k2w0LgXW/X7cSSObMMP02Ggv/UlQgqL5xwlg==", "requires": { - "@babel/helper-module-transforms": "^7.7.5", - "@babel/helper-plugin-utils": "^7.0.0", - "babel-plugin-dynamic-import-node": "^2.3.0" + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/node-libs-browser": "2.0.0-nightly.2310+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "micromatch": "^3.0.4", + "nullthrows": "^1.1.1", + "querystring": "^0.2.0" + }, + "dependencies": { + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } } }, - "@babel/plugin-transform-modules-commonjs": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.7.5.tgz", - "integrity": "sha512-9Cq4zTFExwFhQI6MT1aFxgqhIsMWQWDVwOgLzl7PTWJHsNaqFvklAU+Oz6AQLAS0dJKTwZSOCo20INwktxpi3Q==", + "@parcel/optimizer-cssnano": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/optimizer-cssnano/-/optimizer-cssnano-2.0.0-nightly.688.tgz", + "integrity": "sha512-/gVPvbPZR20xyHc/IzCT4GjtN3vOjstcGNSNsITCVg2VSgt7RCBj3KkhP804rJObt72+471mnOm/bxVDjveZAg==", "requires": { - "@babel/helper-module-transforms": "^7.7.5", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-simple-access": "^7.7.4", - "babel-plugin-dynamic-import-node": "^2.3.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "cssnano": "^4.1.10", + "postcss": "^8.0.5" } }, - "@babel/plugin-transform-modules-systemjs": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.7.4.tgz", - "integrity": "sha512-y2c96hmcsUi6LrMqvmNDPBBiGCiQu0aYqpHatVVu6kD4mFEXKjyNxd/drc18XXAf9dv7UXjrZwBVmTTGaGP8iw==", + "@parcel/optimizer-htmlnano": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/optimizer-htmlnano/-/optimizer-htmlnano-2.0.0-nightly.688.tgz", + "integrity": "sha512-Lb1ADnyNloBHLvypBe01S8q7I7kl09LyG14qg4Ipcsojk/PS0DFrjf2iLQZijcOuRWyuXV2RosVb58DigD2yQQ==", "requires": { - "@babel/helper-hoist-variables": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0", - "babel-plugin-dynamic-import-node": "^2.3.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "htmlnano": "^0.2.2", + "nullthrows": "^1.1.1", + "posthtml": "^0.15.1" } }, - "@babel/plugin-transform-modules-umd": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.7.4.tgz", - "integrity": "sha512-u2B8TIi0qZI4j8q4C51ktfO7E3cQ0qnaXFI1/OXITordD40tt17g/sXqgNNCcMTcBFKrUPcGDx+TBJuZxLx7tw==", + "@parcel/optimizer-terser": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/optimizer-terser/-/optimizer-terser-2.0.0-nightly.688.tgz", + "integrity": "sha512-8u+xn9JQQbu61kldEQ8ZIqTzeUwX2x0INcGqaIFPfvcul4JEJYVdCYzfY14PKLqIG8IebA/ZLPb8LvwB8M4TPQ==", "requires": { - "@babel/helper-module-transforms": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1", + "terser": "^5.2.0" } }, - "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.7.4.tgz", - "integrity": "sha512-jBUkiqLKvUWpv9GLSuHUFYdmHg0ujC1JEYoZUfeOOfNydZXp1sXObgyPatpcwjWgsdBGsagWW0cdJpX/DO2jMw==", + "@parcel/package-manager": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.0.0-nightly.688.tgz", + "integrity": "sha512-vH37Op0BHdTX/zYSEz7slfnr1+w/83uAp4Qx8Klz/kOBVzmNJf5FH3tdvGxopBSSSkNTV0Rb/Tbvm/tlrN4LBw==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.7.4" + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/fs": "2.0.0-nightly.688+14a039f0", + "@parcel/logger": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/workers": "2.0.0-nightly.688+14a039f0", + "command-exists": "^1.2.6", + "cross-spawn": "^6.0.4", + "nullthrows": "^1.1.1", + "semver": "^5.4.1", + "split2": "^3.1.1" } }, - "@babel/plugin-transform-new-target": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.7.4.tgz", - "integrity": "sha512-CnPRiNtOG1vRodnsyGX37bHQleHE14B9dnnlgSeEs3ek3fHN1A1SScglTCg1sfbe7sRQ2BUcpgpTpWSfMKz3gg==", + "@parcel/packager-css": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/packager-css/-/packager-css-2.0.0-nightly.688.tgz", + "integrity": "sha512-f5p7aC/E5G3kBMnEIXfQeXNX1JUcJYaI8IEWbgBaBg59LdmxkTbwuNYhVsJD+hMgek2KtFr03PEFdbMO7e/Tsw==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1", + "postcss": "^8.2.1" } }, - "@babel/plugin-transform-object-super": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.7.4.tgz", - "integrity": "sha512-ho+dAEhC2aRnff2JCA0SAK7V2R62zJd/7dmtoe7MHcso4C2mS+vZjn1Pb1pCVZvJs1mgsvv5+7sT+m3Bysb6eg==", + "@parcel/packager-html": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/packager-html/-/packager-html-2.0.0-nightly.688.tgz", + "integrity": "sha512-Yv1pcEhmd7W2pCp4XP0oUdvXBAOk/pSVEs/bU+D7HE6uEEJMdscn318iGQAGNoBLIcBcdzdaGurKBA2qBa/Cwg==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-replace-supers": "^7.7.4" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/types": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1", + "posthtml": "^0.15.1" } }, - "@babel/plugin-transform-parameters": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.7.4.tgz", - "integrity": "sha512-VJwhVePWPa0DqE9vcfptaJSzNDKrWU/4FbYCjZERtmqEs05g3UMXnYMZoXja7JAJ7Y7sPZipwm/pGApZt7wHlw==", + "@parcel/packager-js": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/packager-js/-/packager-js-2.0.0-nightly.688.tgz", + "integrity": "sha512-BNMkDksMZpM/DIA8Jepk9qHFg2xemZueM4EhkqQkyfYKx/H3iTb+Xd4YxTi/8JWdrLYDM8Ykd6ERHXqh57st9Q==", "requires": { - "@babel/helper-call-delegate": "^7.7.4", - "@babel/helper-get-function-arity": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "globals": "^13.2.0", + "nullthrows": "^1.1.1" } }, - "@babel/plugin-transform-property-literals": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.7.4.tgz", - "integrity": "sha512-MatJhlC4iHsIskWYyawl53KuHrt+kALSADLQQ/HkhTjX954fkxIEh4q5slL4oRAnsm/eDoZ4q0CIZpcqBuxhJQ==", + "@parcel/packager-raw": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/packager-raw/-/packager-raw-2.0.0-nightly.688.tgz", + "integrity": "sha512-4QDyN4TribGAoVA/PfWZr0uXvqI2O8AB1ekfgQ44fgQ19xouKHmiN3VPLMNLKeP1V3leKGPDbo72UhJ2ThEUCA==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0" } }, - "@babel/plugin-transform-react-jsx": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.7.4.tgz", - "integrity": "sha512-LixU4BS95ZTEAZdPaIuyg/k8FiiqN9laQ0dMHB4MlpydHY53uQdWCUrwjLr5o6ilS6fAgZey4Q14XBjl5tL6xw==", + "@parcel/plugin": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.0.0-nightly.688.tgz", + "integrity": "sha512-EVIyL+c2rpxP2k3VyG19rttyYchgNSeFyNJw9W2g53N7wi40oYb+IW6UQpBLS9GsuhIBQpp2FwrTzXxqOtUd5Q==", "requires": { - "@babel/helper-builder-react-jsx": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-jsx": "^7.7.4" + "@parcel/types": "2.0.0-nightly.688+14a039f0" } }, - "@babel/plugin-transform-regenerator": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.7.5.tgz", - "integrity": "sha512-/8I8tPvX2FkuEyWbjRCt4qTAgZK0DVy8QRguhA524UH48RfGJy94On2ri+dCuwOpcerPRl9O4ebQkRcVzIaGBw==", + "@parcel/reporter-cli": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/reporter-cli/-/reporter-cli-2.0.0-nightly.688.tgz", + "integrity": "sha512-MqGRYmAhSiXvOe74FPW6094uVE1Mwy1/SeIGZXChoIeSokbxcsiOuZgfLB5kvyejDpqekqwdVc7ec92LSwxutA==", "requires": { - "regenerator-transform": "^0.14.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/types": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "chalk": "^4.1.0", + "filesize": "^6.1.0", + "nullthrows": "^1.1.1", + "ora": "^5.2.0", + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "term-size": "^2.2.1" } }, - "@babel/plugin-transform-reserved-words": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.7.4.tgz", - "integrity": "sha512-OrPiUB5s5XvkCO1lS7D8ZtHcswIC57j62acAnJZKqGGnHP+TIc/ljQSrgdX/QyOTdEK5COAhuc820Hi1q2UgLQ==", + "@parcel/reporter-dev-server": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/reporter-dev-server/-/reporter-dev-server-2.0.0-nightly.688.tgz", + "integrity": "sha512-rCpzm2p44Segcc0iK+bf71qgnIfyccbmZsOxBhX1mVKeVurgLmWPXn1Oi1eS7ddstaLpFJ/OuIBK3aJk81Jw9Q==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "connect": "^3.7.0", + "ejs": "^2.6.1", + "http-proxy-middleware": "^1.0.0", + "nullthrows": "^1.1.1", + "serve-handler": "^6.0.0", + "ws": "^7.0.0" + }, + "dependencies": { + "ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==" + } } }, - "@babel/plugin-transform-shorthand-properties": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.7.4.tgz", - "integrity": "sha512-q+suddWRfIcnyG5YiDP58sT65AJDZSUhXQDZE3r04AuqD6d/XLaQPPXSBzP2zGerkgBivqtQm9XKGLuHqBID6Q==", + "@parcel/resolver-default": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/resolver-default/-/resolver-default-2.0.0-nightly.688.tgz", + "integrity": "sha512-XfrPmY/tbrTPV2j+0MES8agscwJFcZv+OwNrzsCQeNICERgCayXzIU/Jp/byKJs7u1NcW08XFVWcZDQv1I/f0g==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/node-resolver-core": "2.0.0-nightly.2310+14a039f0", + "@parcel/plugin": "2.0.0-nightly.688+14a039f0" } }, - "@babel/plugin-transform-spread": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.7.4.tgz", - "integrity": "sha512-8OSs0FLe5/80cndziPlg4R0K6HcWSM0zyNhHhLsmw/Nc5MaA49cAsnoJ/t/YZf8qkG7fD+UjTRaApVDB526d7Q==", + "@parcel/runtime-browser-hmr": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/runtime-browser-hmr/-/runtime-browser-hmr-2.0.0-nightly.688.tgz", + "integrity": "sha512-+uZRLXO0QAiCiZdca9JQLLC+sO2bjz9exs0SYma2+F1GaTss/wcKhRm4AV4mj4YbgFmSa0S/xdm28qGC/WfvjA==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0" } }, - "@babel/plugin-transform-sticky-regex": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.7.4.tgz", - "integrity": "sha512-Ls2NASyL6qtVe1H1hXts9yuEeONV2TJZmplLONkMPUG158CtmnrzW5Q5teibM5UVOFjG0D3IC5mzXR6pPpUY7A==", + "@parcel/runtime-js": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/runtime-js/-/runtime-js-2.0.0-nightly.688.tgz", + "integrity": "sha512-G/p/CERre4Cs9aREOCxLRm3bSQQ/QBWUKKPHiHY4aW+BeXvACBsvcE4YzTsHSn3ZFp01ukbFT/3eILMQW8OgoQ==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-regex": "^7.0.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1" } }, - "@babel/plugin-transform-template-literals": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.7.4.tgz", - "integrity": "sha512-sA+KxLwF3QwGj5abMHkHgshp9+rRz+oY9uoRil4CyLtgEuE/88dpkeWgNk5qKVsJE9iSfly3nvHapdRiIS2wnQ==", + "@parcel/runtime-react-refresh": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/runtime-react-refresh/-/runtime-react-refresh-2.0.0-nightly.688.tgz", + "integrity": "sha512-OoBQhnxzVqlJ48kDFOf3wejmefsfmpNm40WQdIqOIy4Ds4pvAIKRau0lv/Z+FGp0aM0yDWY+QuSlQ0A8SlmAZQ==", "requires": { - "@babel/helper-annotate-as-pure": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "react-refresh": "^0.9.0" } }, - "@babel/plugin-transform-typeof-symbol": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.7.4.tgz", - "integrity": "sha512-KQPUQ/7mqe2m0B8VecdyaW5XcQYaePyl9R7IsKd+irzj6jvbhoGnRE+M0aNkyAzI07VfUQ9266L5xMARitV3wg==", + "@parcel/source-map": { + "version": "2.0.0-rc.1.0", + "resolved": "https://registry.npmjs.org/@parcel/source-map/-/source-map-2.0.0-rc.1.0.tgz", + "integrity": "sha512-X+1Eef2eVLqGbUSBjP6n2tNnqQv0HyLu6j324hPSqqA8JeHk3X1M5V6FzUe9W2RbCF1Y49VvlXRfC6BqMrZyEw==", "requires": { - "@babel/helper-plugin-utils": "^7.0.0" + "detect-libc": "^1.0.3", + "globby": "^11.0.3" } }, - "@babel/plugin-transform-unicode-regex": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.7.4.tgz", - "integrity": "sha512-N77UUIV+WCvE+5yHw+oks3m18/umd7y392Zv7mYTpFqHtkpcc+QUz+gLJNTWVlWROIWeLqY0f3OjZxV5TcXnRw==", + "@parcel/transformer-babel": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-babel/-/transformer-babel-2.0.0-nightly.688.tgz", + "integrity": "sha512-nCOtsrwmkpKeewVP/Lc2jKgS9qy5SxwJIOFurzP+yoPCEHySziBZZr1pYNMq9F+xvrArWsXoagRFi2uNiEyk/Q==", "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0" + "@babel/core": "^7.12.0", + "@babel/generator": "^7.9.0", + "@babel/helper-compilation-targets": "^7.8.4", + "@babel/plugin-transform-flow-strip-types": "^7.0.0", + "@babel/traverse": "^7.0.0", + "@parcel/babel-ast-utils": "2.0.0-nightly.2310+14a039f0", + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "browserslist": "^4.6.6", + "core-js": "^3.2.1", + "nullthrows": "^1.1.1", + "semver": "^5.7.0" } }, - "@babel/preset-env": { - "version": "7.7.6", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.7.6.tgz", - "integrity": "sha512-k5hO17iF/Q7tR9Jv8PdNBZWYW6RofxhnxKjBMc0nG4JTaWvOTiPoO/RLFwAKcA4FpmuBFm6jkoqaRJLGi0zdaQ==", + "@parcel/transformer-css": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-css/-/transformer-css-2.0.0-nightly.688.tgz", + "integrity": "sha512-UuYkH5UOtvrO136fwsMZf7z6bvAR95mPee2hAADEOLQPt+4NfeeeDqE/Qf99JktX2smh16g3AbVm21+ZsNjcAg==", "requires": { - "@babel/helper-module-imports": "^7.7.4", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-async-generator-functions": "^7.7.4", - "@babel/plugin-proposal-dynamic-import": "^7.7.4", - "@babel/plugin-proposal-json-strings": "^7.7.4", - "@babel/plugin-proposal-object-rest-spread": "^7.7.4", - "@babel/plugin-proposal-optional-catch-binding": "^7.7.4", - "@babel/plugin-proposal-unicode-property-regex": "^7.7.4", - "@babel/plugin-syntax-async-generators": "^7.7.4", - "@babel/plugin-syntax-dynamic-import": "^7.7.4", - "@babel/plugin-syntax-json-strings": "^7.7.4", - "@babel/plugin-syntax-object-rest-spread": "^7.7.4", - "@babel/plugin-syntax-optional-catch-binding": "^7.7.4", - "@babel/plugin-syntax-top-level-await": "^7.7.4", - "@babel/plugin-transform-arrow-functions": "^7.7.4", - "@babel/plugin-transform-async-to-generator": "^7.7.4", - "@babel/plugin-transform-block-scoped-functions": "^7.7.4", - "@babel/plugin-transform-block-scoping": "^7.7.4", - "@babel/plugin-transform-classes": "^7.7.4", - "@babel/plugin-transform-computed-properties": "^7.7.4", - "@babel/plugin-transform-destructuring": "^7.7.4", - "@babel/plugin-transform-dotall-regex": "^7.7.4", - "@babel/plugin-transform-duplicate-keys": "^7.7.4", - "@babel/plugin-transform-exponentiation-operator": "^7.7.4", - "@babel/plugin-transform-for-of": "^7.7.4", - "@babel/plugin-transform-function-name": "^7.7.4", - "@babel/plugin-transform-literals": "^7.7.4", - "@babel/plugin-transform-member-expression-literals": "^7.7.4", - "@babel/plugin-transform-modules-amd": "^7.7.5", - "@babel/plugin-transform-modules-commonjs": "^7.7.5", - "@babel/plugin-transform-modules-systemjs": "^7.7.4", - "@babel/plugin-transform-modules-umd": "^7.7.4", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.7.4", - "@babel/plugin-transform-new-target": "^7.7.4", - "@babel/plugin-transform-object-super": "^7.7.4", - "@babel/plugin-transform-parameters": "^7.7.4", - "@babel/plugin-transform-property-literals": "^7.7.4", - "@babel/plugin-transform-regenerator": "^7.7.5", - "@babel/plugin-transform-reserved-words": "^7.7.4", - "@babel/plugin-transform-shorthand-properties": "^7.7.4", - "@babel/plugin-transform-spread": "^7.7.4", - "@babel/plugin-transform-sticky-regex": "^7.7.4", - "@babel/plugin-transform-template-literals": "^7.7.4", - "@babel/plugin-transform-typeof-symbol": "^7.7.4", - "@babel/plugin-transform-unicode-regex": "^7.7.4", - "@babel/types": "^7.7.4", - "browserslist": "^4.6.0", - "core-js-compat": "^3.4.7", - "invariant": "^2.2.2", - "js-levenshtein": "^1.1.3", - "semver": "^5.5.0" - } - }, - "@babel/runtime": { - "version": "7.7.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.7.6.tgz", - "integrity": "sha512-BWAJxpNVa0QlE5gZdWjSxXtemZyZ9RmrmVozxt3NUXeZhVIJ5ANyqmMc0JDrivBZyxUuQvFxlvH4OWWOogGfUw==", - "requires": { - "regenerator-runtime": "^0.13.2" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1", + "postcss": "^8.2.1", + "postcss-value-parser": "^4.1.0", + "semver": "^5.4.1" } }, - "@babel/template": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz", - "integrity": "sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw==", + "@parcel/transformer-html": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-html/-/transformer-html-2.0.0-nightly.688.tgz", + "integrity": "sha512-sNDcq2FS6JPK21TzIuK1dyOFR7RW3XLBnqHnuutteWrCoNIS6i5U0iOJCLhPyRcpNaXNH03EuQT3ppmthHleyw==", "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.7.4", - "@babel/types": "^7.7.4" - } - }, - "@babel/traverse": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz", - "integrity": "sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw==", - "requires": { - "@babel/code-frame": "^7.5.5", - "@babel/generator": "^7.7.4", - "@babel/helper-function-name": "^7.7.4", - "@babel/helper-split-export-declaration": "^7.7.4", - "@babel/parser": "^7.7.4", - "@babel/types": "^7.7.4", - "debug": "^4.1.0", - "globals": "^11.1.0", - "lodash": "^4.17.13" - } - }, - "@babel/types": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz", - "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==", - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.13", - "to-fast-properties": "^2.0.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1", + "posthtml": "^0.15.1", + "posthtml-parser": "^0.6.0", + "posthtml-render": "^1.4.0", + "semver": "^5.4.1" + }, + "dependencies": { + "dom-serializer": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", + "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "dependencies": { + "domhandler": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" + }, + "domhandler": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", + "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", + "requires": { + "domelementtype": "^2.0.1" + } + }, + "domutils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", + "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", + "requires": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "dependencies": { + "domhandler": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "htmlparser2": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-5.0.1.tgz", + "integrity": "sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ==", + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^3.3.0", + "domutils": "^2.4.2", + "entities": "^2.0.0" + } + }, + "posthtml-parser": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.6.0.tgz", + "integrity": "sha512-5ffwKQNgtVHdhZniWxu+1ryvaZv5l25HPLUV6W5xy5nYVWMXtvjtwRnbSpfbKFvbyl7XI+d4AqkjmonkREqnXA==", + "requires": { + "htmlparser2": "^5.0.1" + } + } } }, - "@choojs/findup": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@choojs/findup/-/findup-0.2.1.tgz", - "integrity": "sha512-YstAqNb0MCN8PjdLCDfRsBcGVRN41f3vgLvaI0IrIcBp4AqILRSS0DeWNGkicC+f/zRIPJLc+9RURVSepwvfBw==", + "@parcel/transformer-js": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-js/-/transformer-js-2.0.0-nightly.688.tgz", + "integrity": "sha512-kMGjd1+OLXZRoZ5p789j6zBfMfa8PGMuJJIp/Tgcp6BNhHVKzx0YmNPf5mwOEK1HwgImtoiHnHAz2/wn1Kd1Cw==", "requires": { - "commander": "^2.15.1" + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@swc/helpers": "^0.2.11", + "browserslist": "^4.6.6", + "detect-libc": "^1.0.3", + "micromatch": "^4.0.2", + "nullthrows": "^1.1.1", + "regenerator-runtime": "^0.13.7", + "semver": "^5.4.1" } }, - "@iarna/toml": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@iarna/toml/-/toml-2.2.3.tgz", - "integrity": "sha512-FmuxfCuolpLl0AnQ2NHSzoUKWEJDFl63qXjzdoWBVyFCXzMGm1spBzk7LeHNoVCiWCF7mRVms9e6jEV9+MoPbg==" - }, - "@mapbox/geojson-area": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-area/-/geojson-area-0.2.2.tgz", - "integrity": "sha1-GNeBSqNr8j+7zDefjiaiKSfevxA=", + "@parcel/transformer-json": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-json/-/transformer-json-2.0.0-nightly.688.tgz", + "integrity": "sha512-L/8+E33OmTkj4XKa5wR6J5mn/jYqBk0/PobB+/LXZ9IR3aBgeKOLgi409cd6YRNSVXeEIIAU0RhVGg9NdZ2BVw==", "requires": { - "wgs84": "0.0.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "json5": "^2.1.0" + }, + "dependencies": { + "json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "requires": { + "minimist": "^1.2.5" + } + } } }, - "@mapbox/geojson-rewind": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-rewind/-/geojson-rewind-0.4.0.tgz", - "integrity": "sha512-b+1uPWBERW4Pet/969BNu61ZPDyH2ilIxBjJDFzxyS9TyszF9UrTQyYIl/G38clux3rtpAGGFSGTCSF/qR6UjA==", + "@parcel/transformer-postcss": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-postcss/-/transformer-postcss-2.0.0-nightly.688.tgz", + "integrity": "sha512-FIThKDr4jQjJ0EjH1+LvkQLuHIyCNLoIe8UfAAvHys1pRGpo4juVsD6UMoAEEQG74xqXT296u+2tTFmQtDcuaA==", "requires": { - "@mapbox/geojson-area": "0.2.2", - "concat-stream": "~1.6.0", - "minimist": ">=1.2.3", - "sharkdown": "^0.1.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "clone": "^2.1.1", + "css-modules-loader-core": "^1.1.0", + "nullthrows": "^1.1.1", + "postcss-modules": "^3.2.2", + "postcss-value-parser": "^4.1.0", + "semver": "^5.4.1" + } + }, + "@parcel/transformer-posthtml": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-posthtml/-/transformer-posthtml-2.0.0-nightly.688.tgz", + "integrity": "sha512-BoowtVC1PkI8OwVDaTjewKU1XnJ/KsNlwrnflWRt+JTSeBo9/1FxtRA5KxkiBrFBoXWgiin6D2SG/UaBZacAww==", + "requires": { + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "nullthrows": "^1.1.1", + "posthtml": "^0.15.1", + "posthtml-parser": "^0.6.0", + "posthtml-render": "^1.4.0", + "semver": "^5.4.1" }, "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + "dom-serializer": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", + "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" + }, + "dependencies": { + "domhandler": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" + }, + "domhandler": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", + "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", + "requires": { + "domelementtype": "^2.0.1" + } + }, + "domutils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", + "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", + "requires": { + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" + }, + "dependencies": { + "domhandler": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", + "requires": { + "domelementtype": "^2.2.0" + } + } + } + }, + "htmlparser2": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-5.0.1.tgz", + "integrity": "sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ==", + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^3.3.0", + "domutils": "^2.4.2", + "entities": "^2.0.0" + } + }, + "posthtml-parser": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.6.0.tgz", + "integrity": "sha512-5ffwKQNgtVHdhZniWxu+1ryvaZv5l25HPLUV6W5xy5nYVWMXtvjtwRnbSpfbKFvbyl7XI+d4AqkjmonkREqnXA==", + "requires": { + "htmlparser2": "^5.0.1" + } } } }, - "@mapbox/geojson-types": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@mapbox/geojson-types/-/geojson-types-1.0.2.tgz", - "integrity": "sha512-e9EBqHHv3EORHrSfbR9DqecPNn+AmuAoQxV6aL8Xu30bJMJR1o8PZLZzpk1Wq7/NfCbuhmakHTPYRhoqLsXRnw==" - }, - "@mapbox/jsonlint-lines-primitives": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz", - "integrity": "sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=" - }, - "@mapbox/mapbox-gl-supported": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.4.1.tgz", - "integrity": "sha512-yyKza9S6z3ELKuf6w5n6VNUB0Osu6Z93RXPfMHLIlNWohu3KqxewLOq4lMXseYJ92GwkRAxd207Pr/Z98cwmvw==" - }, - "@mapbox/point-geometry": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz", - "integrity": "sha1-ioP5M1x4YO/6Lu7KJUMyqgru2PI=" - }, - "@mapbox/tiny-sdf": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@mapbox/tiny-sdf/-/tiny-sdf-1.1.1.tgz", - "integrity": "sha512-Ihn1nZcGIswJ5XGbgFAvVumOgWpvIjBX9jiRlIl46uQG9vJOF51ViBYHF95rEZupuyQbEmhLaDPLQlU7fUTsBg==" - }, - "@mapbox/unitbezier": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/@mapbox/unitbezier/-/unitbezier-0.0.0.tgz", - "integrity": "sha1-FWUb1VOme4WB+zmIEMmK2Go0Uk4=" - }, - "@mapbox/vector-tile": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@mapbox/vector-tile/-/vector-tile-1.3.1.tgz", - "integrity": "sha512-MCEddb8u44/xfQ3oD+Srl/tNcQoqTw3goGk2oLsrFxOTc3dUp+kAnby3PvAeeBYSMSjSPD1nd1AJA6W49WnoUw==", + "@parcel/transformer-raw": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-raw/-/transformer-raw-2.0.0-nightly.688.tgz", + "integrity": "sha512-hpBYUDUmUes6YI4MQVxxq6qXdrq0oZBM9fMLRkHB6J6WsaCf/qCYrqY1XU37JEhwkQastjFHbTVDvKGwRDKm5g==", "requires": { - "@mapbox/point-geometry": "~0.1.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0" } }, - "@mapbox/whoots-js": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz", - "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==" - }, - "@mrmlnc/readdir-enhanced": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", - "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", + "@parcel/transformer-react-refresh-wrap": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/transformer-react-refresh-wrap/-/transformer-react-refresh-wrap-2.0.0-nightly.688.tgz", + "integrity": "sha512-W49VjUtcIaT30SHJMOt1tJKb6Xh1+Z5Ah18D4xnjU+sszav4r7dnMl3BS0Ai7ijwkB+8sM8+P7wwOn428loisQ==", "requires": { - "call-me-maybe": "^1.0.1", - "glob-to-regexp": "^0.3.0" + "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "react-refresh": "^0.9.0" } }, - "@nodelib/fs.stat": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", - "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==" - }, - "@parcel/fs": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-1.11.0.tgz", - "integrity": "sha512-86RyEqULbbVoeo8OLcv+LQ1Vq2PKBAvWTU9fCgALxuCTbbs5Ppcvll4Vr+Ko1AnmMzja/k++SzNAwJfeQXVlpA==", - "requires": { - "@parcel/utils": "^1.11.0", - "mkdirp": "^0.5.1", - "rimraf": "^2.6.2" - } + "@parcel/types": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.0.0-nightly.688.tgz", + "integrity": "sha512-243BwQXP3CUr9ejImjjdg6OQCYxx1BrYwOi6AiDHRl4gHYmF8csWuf9lUg75Zg3WW3V18FQM1BJQz4ELBTc+OA==" }, - "@parcel/logger": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-1.11.1.tgz", - "integrity": "sha512-9NF3M6UVeP2udOBDILuoEHd8VrF4vQqoWHEafymO1pfSoOMfxrSJZw1MfyAAIUN/IFp9qjcpDCUbDZB+ioVevA==", + "@parcel/utils": { + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.0.0-nightly.688.tgz", + "integrity": "sha512-TyuYZZtYP7ggkKICcqKKp82Hit5NrGFQ0iiSRJg7mwLCOezu1PCsXb6usWVapfcPQyFz8xHYqRQXYDRsGsFEQQ==", "requires": { - "@parcel/workers": "^1.11.0", - "chalk": "^2.1.0", - "grapheme-breaker": "^0.3.2", - "ora": "^2.1.0", - "strip-ansi": "^4.0.0" + "@iarna/toml": "^2.2.0", + "@parcel/codeframe": "2.0.0-nightly.688+14a039f0", + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/logger": "2.0.0-nightly.688+14a039f0", + "@parcel/markdown-ansi": "2.0.0-nightly.688+14a039f0", + "@parcel/source-map": "2.0.0-rc.1.0", + "ansi-html": "^0.0.7", + "chalk": "^4.1.0", + "clone": "^2.1.1", + "fast-glob": "3.1.1", + "fastest-levenshtein": "^1.0.8", + "is-glob": "^4.0.0", + "is-url": "^1.2.2", + "json5": "^1.0.1", + "lru-cache": "^6.0.0", + "micromatch": "^4.0.2", + "node-forge": "^0.10.0", + "nullthrows": "^1.1.1", + "open": "^7.0.3" } }, - "@parcel/utils": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-1.11.0.tgz", - "integrity": "sha512-cA3p4jTlaMeOtAKR/6AadanOPvKeg8VwgnHhOyfi0yClD0TZS/hi9xu12w4EzA/8NtHu0g6o4RDfcNjqN8l1AQ==" - }, "@parcel/watcher": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-1.12.1.tgz", - "integrity": "sha512-od+uCtCxC/KoNQAIE1vWx1YTyKYY+7CTrxBJPRh3cDWw/C0tCtlBMVlrbplscGoEpt6B27KhJDCv82PBxOERNA==", + "version": "2.0.0-alpha.10", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.0-alpha.10.tgz", + "integrity": "sha512-8uA7Tmx/1XvmUdGzksg0+oN7uj24pXFFnKJqZr3L3mgYjdrL7CMs3PRIHv1k3LUz/hNRsb/p3qxztSkWz1IGZA==", "requires": { - "@parcel/utils": "^1.11.0", - "chokidar": "^2.1.5" + "node-addon-api": "^3.0.2", + "node-gyp-build": "^4.2.3" } }, "@parcel/workers": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-1.11.0.tgz", - "integrity": "sha512-USSjRAAQYsZFlv43FUPdD+jEGML5/8oLF0rUzPQTtK4q9kvaXr49F5ZplyLz5lox78cLZ0TxN2bIDQ1xhOkulQ==", + "version": "2.0.0-nightly.688", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.0.0-nightly.688.tgz", + "integrity": "sha512-WdpSAV5rfsEwx3vIlUF7Q5VgjZ9NnV7fQwfhmUNJemjFeYI7BId9I4dLJ+I1gyIgUNrHKsbQaUQ8yKJaQ8mAKg==", "requires": { - "@parcel/utils": "^1.11.0", - "physical-cpu-count": "^2.0.0" + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/logger": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "chrome-trace-event": "^1.0.2", + "nullthrows": "^1.1.1" } }, "@plotly/d3-sankey": { @@ -977,41 +1331,85 @@ "elementary-circuits-directed-graph": "^1.0.4" } }, + "@plotly/point-cluster": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/@plotly/point-cluster/-/point-cluster-3.1.9.tgz", + "integrity": "sha512-MwaI6g9scKf68Orpr1pHZ597pYx9uP8UEFXLPbsCmuw3a84obwz6pnMXGc90VhgDNeNiLEdlmuK7CPo+5PIxXw==", + "requires": { + "array-bounds": "^1.0.1", + "binary-search-bounds": "^2.0.4", + "clamp": "^1.0.1", + "defined": "^1.0.0", + "dtype": "^2.0.0", + "flatten-vertex-data": "^1.0.2", + "is-obj": "^1.0.1", + "math-log2": "^1.0.1", + "parse-rect": "^1.2.0", + "pick-by-alias": "^1.2.0" + } + }, + "@swc/helpers": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.2.12.tgz", + "integrity": "sha512-hsPGC/U/0xe/WghMeSgyFsq9nNPfA5oY1Il2AaeAJcu/vTm4Bv8o9ev4eAgxcA61i5WWp72amN20XVyxWwM5aQ==" + }, "@turf/area": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@turf/area/-/area-6.0.1.tgz", - "integrity": "sha512-Zv+3N1ep9P5JvR0YOYagLANyapGWQBh8atdeR3bKpWcigVXFsEKNUw03U/5xnh+cKzm7yozHD6MFJkqQv55y0g==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@turf/area/-/area-6.3.0.tgz", + "integrity": "sha512-Y1cYyAQ2fk94npdgOeMF4msc2uabHY1m7A7ntixf1I8rkyDd6/iHh1IMy1QsM+VZXAEwDwsXhu+ZFYd3Jkeg4A==", + "requires": { + "@turf/helpers": "^6.3.0", + "@turf/meta": "^6.3.0" + } + }, + "@turf/bbox": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-6.3.0.tgz", + "integrity": "sha512-N4ue5Xopu1qieSHP2MA/CJGWHPKaTrVXQJjzHRNcY1vtsO126xbSaJhWUrFc5x5vVkXp0dcucGryO0r5m4o/KA==", "requires": { - "@turf/helpers": "6.x", - "@turf/meta": "6.x" + "@turf/helpers": "^6.3.0", + "@turf/meta": "^6.3.0" } }, "@turf/centroid": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@turf/centroid/-/centroid-6.0.2.tgz", - "integrity": "sha512-auyDauOtC4eddH7GC3CHFTDu2PKhpSeKCRhwhHhXtJqn2dWCJQNIoCeJRmfXRIbzCWhWvgvQafvvhq8HNvmvWw==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@turf/centroid/-/centroid-6.3.0.tgz", + "integrity": "sha512-7KTyqhUEqXDoyR/nf/jAXiW8ZVszEnrp5XZkgYyrf2GWdSovSO0iCN1J3bE2jkJv7IWyeDmGYL61GGzuTSZS2Q==", "requires": { - "@turf/helpers": "6.x", - "@turf/meta": "6.x" + "@turf/helpers": "^6.3.0", + "@turf/meta": "^6.3.0" } }, "@turf/helpers": { - "version": "6.1.4", - "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-6.1.4.tgz", - "integrity": "sha512-vJvrdOZy1ngC7r3MDA7zIGSoIgyrkWcGnNIEaqn/APmw+bVLF2gAW7HIsdTxd12s5wQMqEpqIQrmrbRRZ0xC7g==" + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-6.3.0.tgz", + "integrity": "sha512-kr6KuD4Z0GZ30tblTEvi90rvvVNlKieXuMC8CTzE/rVQb0/f/Cb29zCXxTD7giQTEQY/P2nRW23wEqqyNHulCg==" }, "@turf/meta": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-6.0.2.tgz", - "integrity": "sha512-VA7HJkx7qF1l3+GNGkDVn2oXy4+QoLP6LktXAaZKjuT1JI0YESat7quUkbCMy4zP9lAUuvS4YMslLyTtr919FA==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-6.3.0.tgz", + "integrity": "sha512-qBJjaAJS9H3ap0HlGXyF/Bzfl0qkA9suafX/jnDsZvWMfVLt+s+o6twKrXOGk5t7nnNON2NFRC8+czxpu104EQ==", + "requires": { + "@turf/helpers": "^6.3.0" + } + }, + "@types/http-proxy": { + "version": "1.17.6", + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.6.tgz", + "integrity": "sha512-+qsjqR75S/ib0ig0R9WN+CDoZeOBU6F2XLewgC4KVgdXiNHiKKHFEMRHOrs5PbYE97D5vataw5wPj4KLYfUkuQ==", "requires": { - "@turf/helpers": "6.x" + "@types/node": "*" } }, + "@types/node": { + "version": "15.6.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.1.tgz", + "integrity": "sha512-7EIraBEyRHEe7CH+Fm1XvgqU6uwZN8Q7jppJGcqjROMT29qhAuuOxYB1uEY5UMYQKEmA5D+5tBnhdaPXSsLONA==" + }, "@types/q": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.2.tgz", - "integrity": "sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw==" + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz", + "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==" }, "a-big-triangle": { "version": "1.0.3", @@ -1024,9 +1422,14 @@ } }, "abab": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.3.tgz", - "integrity": "sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg==" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", + "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==" + }, + "abortcontroller-polyfill": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz", + "integrity": "sha512-zetDJxd89y3X99Kvo4qFx8GKlt6GsvN3UcRZHwU6iFA/0KiOmhkTVhe8oRoTBiTVPZu09x3vCra47+w8Yz1+2Q==" }, "abs-svg-path": { "version": "0.1.1", @@ -1034,14 +1437,9 @@ "integrity": "sha1-32Acjo0roQ1KdtYl4japo5wnI78=" }, "acorn": { - "version": "5.7.4", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", - "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==" - }, - "acorn-dynamic-import": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", - "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==" + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", + "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==" }, "acorn-globals": { "version": "4.3.4", @@ -1050,20 +1448,8 @@ "requires": { "acorn": "^6.0.1", "acorn-walk": "^6.0.1" - }, - "dependencies": { - "acorn": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", - "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==" - } } }, - "acorn-jsx": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz", - "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==" - }, "acorn-walk": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz", @@ -1086,33 +1472,16 @@ } }, "ajv": { - "version": "6.10.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz", - "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==", + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "requires": { - "fast-deep-equal": "^2.0.1", + "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" } }, - "align-text": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", - "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", - "requires": { - "kind-of": ">=6.0.3", - "longest": "^1.0.1", - "repeat-string": "^1.5.2" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } - } - }, "almost-equal": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/almost-equal/-/almost-equal-1.1.0.tgz", @@ -1141,55 +1510,22 @@ "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=" }, - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", - "optional": true + "ansi-html": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", + "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=" }, "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==" }, "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "ansi-to-html": { - "version": "0.6.13", - "resolved": "https://registry.npmjs.org/ansi-to-html/-/ansi-to-html-0.6.13.tgz", - "integrity": "sha512-Ys2/umuaTlQvP9DLkaa7UzRKF2FLrfod/hNHXS9QhXCrw7seObG6ksOGmNz3UoK+adwM8L9vQfG7mvaxfJ3Jvw==", - "requires": { - "entities": "^1.1.2" - } - }, - "ansicolors": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/ansicolors/-/ansicolors-0.2.1.tgz", - "integrity": "sha1-vgiVmQl7dKXJxKhKDNvNtivYeu8=" - }, - "anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - }, - "dependencies": { - "normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "requires": { - "remove-trailing-separator": "^1.0.1" - } - } + "color-convert": "^2.0.1" } }, "argparse": { @@ -1232,6 +1568,11 @@ "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz", "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=" }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=" + }, "array-normalize": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/array-normalize/-/array-normalize-1.1.4.tgz", @@ -1250,6 +1591,11 @@ "resolved": "https://registry.npmjs.org/array-rearrange/-/array-rearrange-2.2.2.tgz", "integrity": "sha512-UfobP5N12Qm4Qu4fwLDIi2v6+wZsSf6snYSxAMeKhrh37YGnNWZPRmVEKc/2wfms53TLQnzfpG8wCx2Y/6NG1w==" }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" + }, "array-unique": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", @@ -1264,37 +1610,25 @@ } }, "asn1.js": { - "version": "4.10.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", - "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", "requires": { "bn.js": "^4.0.0", "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" } }, "assert": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-2.0.0.tgz", + "integrity": "sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A==", "requires": { - "object-assign": "^4.1.1", - "util": "0.10.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" - }, - "util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "requires": { - "inherits": "2.0.1" - } - } + "es6-object-assign": "^1.1.0", + "is-nan": "^1.2.1", + "object-is": "^1.0.1", + "util": "^0.12.0" } }, "assert-plus": { @@ -1307,10 +1641,15 @@ "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=" }, - "async-each": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", - "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==" + "astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==" + }, + "astring": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.7.4.tgz", + "integrity": "sha512-WiVqDJV0AayUUH65FfUrbnBO4KD10854cyU49lK30+2n/lEkJDRqBKj/2fYGhZSD3uIt1H1VfW/pQtO07kR2Xg==" }, "async-limiter": { "version": "1.0.1", @@ -1332,72 +1671,25 @@ "resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-1.0.0.tgz", "integrity": "sha1-uI3KYAaSK5YglPdVaCa6sxxKKWs=" }, + "available-typed-arrays": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.4.tgz", + "integrity": "sha512-SA5mXJWrId1TaQjfxUYghbqQ/hYioKmLJvPJyDuYRtXXenFNMjj4hSSt1Cf1xsuXSXrtxrVC5Ot4eU6cOtBDdA==" + }, "aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" }, "aws4": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz", - "integrity": "sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A==" - }, - "babel-plugin-dynamic-import-node": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz", - "integrity": "sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ==", - "requires": { - "object.assign": "^4.1.0" - } - }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - }, - "dependencies": { - "regenerator-runtime": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" - } - } - }, - "babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", - "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" - }, - "dependencies": { - "to-fast-properties": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=" - } - } - }, - "babylon-walk": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/babylon-walk/-/babylon-walk-1.0.2.tgz", - "integrity": "sha1-OxWl3btIKni0zpwByLoYFwLZ1s4=", - "requires": { - "babel-runtime": "^6.11.6", - "babel-types": "^6.15.0", - "lodash.clone": "^4.5.0" - } + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" }, "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" }, "barycentric": { "version": "1.0.1", @@ -1434,14 +1726,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.0" } }, "is-data-descriptor": { @@ -1449,14 +1734,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.0" } }, "is-descriptor": { @@ -1466,27 +1744,23 @@ "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.2" } - }, - "kind-of": { - "version": ">=6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, + "base-x": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", + "integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, "base64-js": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", - "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" }, "bcrypt-pbkdf": { "version": "1.0.2", @@ -1506,23 +1780,15 @@ "double-bits": "^1.1.1" } }, - "binary-extensions": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", - "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==" + "big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==" }, "binary-search-bounds": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-2.0.4.tgz", - "integrity": "sha512-2hg5kgdKql5ClF2ErBcSx0U5bnl5hgS4v7wMnLFodyR47yMtj2w+UAZB+0CiqyHct2q543i7Bi4/aMIegorCCg==" - }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "requires": { - "file-uri-to-path": "1.0.0" - } + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-2.0.5.tgz", + "integrity": "sha512-H0ea4Fd3lS1+sTEB2TgcLoK21lLhwEJzlQv3IN47pJS976Gx4zoWe0ak3q+uYh60ppQxg9F16Ri4tS1sfD4+jA==" }, "bit-twiddle": { "version": "1.0.2", @@ -1538,9 +1804,9 @@ } }, "bl": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/bl/-/bl-1.2.3.tgz", - "integrity": "sha512-pvcNpa0UU69UT341rO6AYy4FVAIkUHuZXRIWbq+zHnsVcRzDDjIAhGuuYoi0d//cwIwtt4pkpKycWEfjdV+vww==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", + "integrity": "sha512-6Pesp1w0DEX1N550i/uGV/TqucVL4AM/pgThFSN/Qq9si1/DF9aIHs1BxD8V/QU0HoeHO6cQRTAuYnLPKq1e4g==", "requires": { "readable-stream": "^2.3.5", "safe-buffer": "^5.1.1" @@ -1600,12 +1866,9 @@ "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" }, "boundary-cells": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/boundary-cells/-/boundary-cells-2.0.1.tgz", - "integrity": "sha1-6QWo0UGc9Hyza+Pb9SXbXiTeAEI=", - "requires": { - "tape": "^4.0.0" - } + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/boundary-cells/-/boundary-cells-2.0.2.tgz", + "integrity": "sha512-/S48oUFYEgZMNvdqC87iYRbLBAPHYijPRNrNpm/sS8u7ijIViKm/hrV3YD4sx/W68AsG5zLMyBEditVHApHU5w==" }, "box-intersect": { "version": "1.0.2", @@ -1626,153 +1889,11 @@ } }, "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "brfs": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/brfs/-/brfs-1.6.1.tgz", - "integrity": "sha512-OfZpABRQQf+Xsmju8XE9bDjs+uU4vLREGolP7bDgcpsI17QREyZ4Bl+2KLxxx1kCgA0fAIhKQBaBYh+PEcCqYQ==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", "requires": { - "quote-stream": "^1.0.1", - "resolve": "^1.1.5", - "static-module": "^2.2.0", - "through2": "^2.0.0" - }, - "dependencies": { - "duplexer2": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", - "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", - "requires": { - "readable-stream": "^2.0.2" - } - }, - "escodegen": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.9.1.tgz", - "integrity": "sha512-6hTjO1NAWkHnDk3OqQ4YrCuwwmGHL9S3nPlzBOUG/R44rda3wLNrfvQ5fkSGjyhHFKM7ALPKcKGrwvCLe0lC7Q==", - "requires": { - "esprima": "^3.1.3", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" - } - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "magic-string": { - "version": "0.22.5", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", - "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", - "requires": { - "vlq": "^0.2.2" - } - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "object-inspect": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.4.1.tgz", - "integrity": "sha512-wqdhLpfCUbEsoEwl3FXwGyv8ief1k/1aUdIPCqVnupM6e8l63BEJdiF/0swtn04/8p05tG/T0FrpTlfwvljOdw==" - }, - "quote-stream": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/quote-stream/-/quote-stream-1.0.2.tgz", - "integrity": "sha1-hJY/jJwmuULhU/7rU6rnRlK34LI=", - "requires": { - "buffer-equal": "0.0.1", - "minimist": ">=1.2.3", - "through2": "^2.0.0" - } - }, - "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "static-module": { - "version": "2.2.5", - "resolved": "https://registry.npmjs.org/static-module/-/static-module-2.2.5.tgz", - "integrity": "sha512-D8vv82E/Kpmz3TXHKG8PPsCPg+RAX6cbCOyvjM6x04qZtQ47EtJFVwRsdov3n5d6/6ynrOY9XB4JkaZwB2xoRQ==", - "requires": { - "concat-stream": "~1.6.0", - "convert-source-map": "^1.5.1", - "duplexer2": "~0.1.4", - "escodegen": "~1.9.0", - "falafel": "^2.1.0", - "has": "^1.0.1", - "magic-string": "^0.22.4", - "merge-source-map": "1.0.4", - "object-inspect": "~1.4.0", - "quote-stream": "~1.0.2", - "readable-stream": "~2.3.3", - "shallow-copy": "~0.0.1", - "static-eval": "^2.0.0", - "through2": "~2.0.3" - } - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "requires": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - } + "fill-range": "^7.0.1" } }, "brorand": { @@ -1781,9 +1902,9 @@ "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" }, "browser-process-hrtime": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", - "integrity": "sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", + "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" }, "browserify-aes": { "version": "1.2.0", @@ -1820,26 +1941,60 @@ } }, "browserify-rsa": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz", - "integrity": "sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", "requires": { - "bn.js": "^4.1.0", + "bn.js": "^5.0.0", "randombytes": "^2.0.1" + }, + "dependencies": { + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + } } }, "browserify-sign": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz", - "integrity": "sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=", - "requires": { - "bn.js": "^4.1.1", - "browserify-rsa": "^4.0.0", - "create-hash": "^1.1.0", - "create-hmac": "^1.1.2", - "elliptic": "^6.0.0", - "inherits": "^2.0.1", - "parse-asn1": "^5.0.0" + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } } }, "browserify-zlib": { @@ -1848,13 +2003,6 @@ "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "requires": { "pako": "~1.0.5" - }, - "dependencies": { - "pako": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.10.tgz", - "integrity": "sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==" - } } }, "browserslist": { @@ -1867,82 +2015,17 @@ "electron-to-chromium": "^1.3.723", "escalade": "^3.1.1", "node-releases": "^1.1.71" - }, - "dependencies": { - "caniuse-lite": { - "version": "1.0.30001228", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz", - "integrity": "sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==" - }, - "electron-to-chromium": { - "version": "1.3.738", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.738.tgz", - "integrity": "sha512-vCMf4gDOpEylPSLPLSwAEsz+R3ShP02Y3cAKMZvTqule3XcPp7tgc/0ESI7IS6ZeyBlGClE50N53fIOkcIVnpw==" - }, - "node-releases": { - "version": "1.1.72", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz", - "integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==" - } - } - }, - "buble": { - "version": "0.19.8", - "resolved": "https://registry.npmjs.org/buble/-/buble-0.19.8.tgz", - "integrity": "sha512-IoGZzrUTY5fKXVkgGHw3QeXFMUNBFv+9l8a4QJKG1JhG3nCMHTdEX1DCOg8568E2Q9qvAQIiSokv6Jsgx8p2cA==", - "requires": { - "acorn": "^6.1.1", - "acorn-dynamic-import": "^4.0.0", - "acorn-jsx": "^5.0.1", - "chalk": "^2.4.2", - "magic-string": "^0.25.3", - "minimist": ">=1.2.3", - "os-homedir": "^2.0.0", - "regexpu-core": "^4.5.4" - }, - "dependencies": { - "acorn": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", - "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==" - }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - } - } - }, - "bubleify": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/bubleify/-/bubleify-1.2.1.tgz", - "integrity": "sha512-vp3NHmaQVoKaKWvi15FTMinPNjfp+47+/kFJ9ifezdMF/CBLArCxDVUh+FQE3qRxCRj1qyjJqilTBHHqlM8MaQ==", - "requires": { - "buble": "^0.19.3" } }, "buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", "requires": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - }, - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - } + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" } }, - "buffer-equal": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-0.0.1.tgz", - "integrity": "sha1-kbx0sR6kBbyRa8aqkI+q+ltKrEs=" - }, "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", @@ -1958,6 +2041,11 @@ "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=" }, + "bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=" + }, "cache-base": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", @@ -1974,10 +2062,14 @@ "unset-value": "^1.0.0" } }, - "call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=" + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } }, "caller-callsite": { "version": "2.0.0", @@ -2000,11 +2092,6 @@ "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=" }, - "camelcase": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", - "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=" - }, "caniuse-api": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", @@ -2017,9 +2104,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001016", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001016.tgz", - "integrity": "sha512-yYQ2QfotceRiH4U+h1Us86WJXtVHDmy3nEKIdYPsZCYnOV5/tMgGbmoIlrMzmh2VXlproqYtVaKeGDBkMZifFA==" + "version": "1.0.30001228", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz", + "integrity": "sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==" }, "canvas-fit": { "version": "1.5.0", @@ -2029,15 +2116,6 @@ "element-size": "^1.1.1" } }, - "cardinal": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/cardinal/-/cardinal-0.4.4.tgz", - "integrity": "sha1-ylu2iltRG5D+k7ms6km97lwyv+I=", - "requires": { - "ansicolors": "~0.2.1", - "redeyed": "~0.4.0" - } - }, "caseless": { "version": "0.12.0", "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", @@ -2058,43 +2136,19 @@ "resolved": "https://registry.npmjs.org/cell-orientation/-/cell-orientation-1.0.1.tgz", "integrity": "sha1-tQStlqZq0obZ7dmFoiU9A7gNKFA=" }, - "center-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", - "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", - "requires": { - "align-text": "^0.1.3", - "lazy-cache": "^1.0.3" - } - }, "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", + "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" } }, - "chokidar": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", - "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", - "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "fsevents": "^1.2.7", - "glob-parent": "^3.1.0", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.1" - } + "chrome-trace-event": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz", + "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==" }, "cipher-base": { "version": "1.0.4", @@ -2163,27 +2217,17 @@ } }, "cli-cursor": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", "requires": { - "restore-cursor": "^2.0.0" + "restore-cursor": "^3.1.0" } }, "cli-spinners": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-1.3.1.tgz", - "integrity": "sha512-1QL4544moEsDVH9T/l6Cemov/37iv1RtoKf7NJ04A60+4MREXNfx/QvavbH6QoGdsD4N4Mwy49cmaINR/o2mdg==" - }, - "cliui": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", - "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", - "requires": { - "center-align": "^0.1.1", - "right-align": "^0.1.1", - "wordwrap": "0.0.2" - } + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.0.tgz", + "integrity": "sha512-t+4/y50K/+4xcCRosKkA7W4gTr1MySvLV0q+PxmG7FJ5g+66ChKurYjxBCjHggHH3HA5Hh9cy+lcUGWDqVH+4Q==" }, "clone": { "version": "2.1.2", @@ -2198,6 +2242,52 @@ "@types/q": "^1.5.1", "chalk": "^2.4.1", "q": "^1.1.2" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "collection-visit": { @@ -2210,12 +2300,27 @@ } }, "color": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/color/-/color-3.1.2.tgz", - "integrity": "sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/color/-/color-3.1.3.tgz", + "integrity": "sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==", "requires": { "color-convert": "^1.9.1", - "color-string": "^1.5.2" + "color-string": "^1.5.4" + }, + "dependencies": { + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + } } }, "color-alpha": { @@ -2227,18 +2332,11 @@ } }, "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "requires": { - "color-name": "1.1.3" - }, - "dependencies": { - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - } + "color-name": "~1.1.4" } }, "color-id": { @@ -2294,9 +2392,9 @@ } }, "color-string": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz", - "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==", + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.5.tgz", + "integrity": "sha512-jgIoum0OfQfq9Whcfc2z/VhCNcmQjWbey6qBX0vqt7YICflUmBCh9E9CiQD5GSJ+Uehixm3NUwHVhqUAWRivZg==", "requires": { "color-name": "^1.0.0", "simple-swizzle": "^0.2.2" @@ -2308,9 +2406,9 @@ "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==" }, "colormap": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/colormap/-/colormap-2.3.1.tgz", - "integrity": "sha512-TEzNlo/qYp6pBoR2SK9JiV+DG1cmUcVO/+DEJqVPSHIKNlWh5L5L4FYog7b/h0bAnhKhpOAvx/c1dFp2QE9sFw==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/colormap/-/colormap-2.3.2.tgz", + "integrity": "sha512-jDOjaoEEmA9AgA11B/jCSAvYE95r3wRoAyTf3LEHGiUVlNHJaL1mRkf5AyLSpQBVGfTEPwGEqCIzL+kgr2WgNA==", "requires": { "lerp": "^1.0.3" } @@ -2324,9 +2422,9 @@ } }, "command-exists": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.8.tgz", - "integrity": "sha512-PM54PkseWbiiD/mMsbvW351/u+dafwTJ0ye2qB60G1aGQP9j3xK2gmMDc+R34L3nDtx4qMCitXT75mkbkGJDLw==" + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/command-exists/-/command-exists-1.2.9.tgz", + "integrity": "sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w==" }, "commander": { "version": "2.20.3", @@ -2398,9 +2496,9 @@ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -2426,8 +2524,19 @@ } } }, - "console-browserify": { - "version": "1.2.0", + "connect": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz", + "integrity": "sha512-ZqRXc+tZukToSNmh5C2iWMSoV3X1YUcPbqEM4DkEG5tNQXrQUZCNVGGv3IuicnkMtPfGf3Xtp8WCXs295iQ1pQ==", + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.2", + "parseurl": "~1.3.3", + "utils-merge": "1.0.1" + } + }, + "console-browserify": { + "version": "1.2.0", "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" }, @@ -2446,6 +2555,11 @@ "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" }, + "content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=" + }, "convert-source-map": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", @@ -2477,25 +2591,9 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" }, "core-js": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", - "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==" - }, - "core-js-compat": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.5.0.tgz", - "integrity": "sha512-E7iJB72svRjJTnm9HDvujzNVMCm3ZcDYEedkJ/sDTNsy/0yooCd9Cg7GSzE7b4e0LfIkjijdB1tqg0pGwxWeWg==", - "requires": { - "browserslist": "^4.8.2", - "semver": "^6.3.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" - } - } + "version": "3.12.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.12.1.tgz", + "integrity": "sha512-Ne9DKPHTObRuB09Dru5AjwKjY4cJHVGu+y5f7coGn1E9Grkc3p2iBwE9AI/nJzsE29mQF7oq+mhYYRqOMFN1Bw==" }, "core-util-is": { "version": "1.0.2", @@ -2519,12 +2617,12 @@ "integrity": "sha1-UcMz3N8Sknt+XuucEKyBEqYSCJY=" }, "create-ecdh": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", - "integrity": "sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", "requires": { "bn.js": "^4.1.0", - "elliptic": "^6.0.0" + "elliptic": "^6.5.3" } }, "create-hash": { @@ -2594,6 +2692,72 @@ "requires": { "postcss": "^7.0.1", "timsort": "^0.3.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "css-font": { @@ -2734,38 +2898,12 @@ "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==" }, "css-selector-tokenizer": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.1.tgz", - "integrity": "sha512-xYL0AMZJ4gFzJQsHUKa5jiWWi2vH77WVNg7JYRyewwj6oPh4yb/y6Y9ZCw9dsj/9UauMhtuxR+ogQd//EdEVNA==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.3.tgz", + "integrity": "sha512-jWQv3oCEL5kMErj4wRnK/OPoBi0D+P1FR2cDCKYPaMeD2eW3/mttav8HT4hT1CKopiJI/psEULjkClhvJo4Lvg==", "requires": { - "cssesc": "^0.1.0", - "fastparse": "^1.1.1", - "regexpu-core": "^1.0.0" - }, - "dependencies": { - "regexpu-core": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-1.0.0.tgz", - "integrity": "sha1-hqdj9Y7k18L2sQLkdkBQ3n7ZDGs=", - "requires": { - "regenerate": "^1.2.1", - "regjsgen": "^0.2.0", - "regjsparser": "^0.1.4" - } - }, - "regjsgen": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", - "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=" - }, - "regjsparser": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", - "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", - "requires": { - "jsesc": "~0.5.0" - } - } + "cssesc": "^3.0.0", + "fastparse": "^1.1.2" } }, "css-system-font-keywords": { @@ -2782,15 +2920,10 @@ "source-map": "^0.6.1" } }, - "css-unit-converter": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.1.tgz", - "integrity": "sha1-2bkoGtz9jO2TW9urqDeGiX9k6ZY=" - }, "css-what": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.2.1.tgz", - "integrity": "sha512-WwOrosiQTvyms+Ti5ZC5vGEK0Vod3FTt1ca+payZqvKuGJF+dq7bG63DstxtN0dpm6FxY27a/zS3Wten+gEtGw==" + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz", + "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ==" }, "csscolorparser": { "version": "1.0.3", @@ -2798,25 +2931,91 @@ "integrity": "sha1-s085HupNqPPpgjHizNjfnAQfFxs=" }, "cssesc": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-0.1.0.tgz", - "integrity": "sha1-yBSQPkViM3GgR3tAEJqq++6t27Q=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==" }, "cssnano": { - "version": "4.1.10", - "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz", - "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==", + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.11.tgz", + "integrity": "sha512-6gZm2htn7xIPJOHY824ERgj8cNPgPxyCSnkXc4v7YvNW+TdVfzgngHcEhy/8D11kUWRUMbke+tC+AUcUsnMz2g==", "requires": { "cosmiconfig": "^5.0.0", - "cssnano-preset-default": "^4.0.7", + "cssnano-preset-default": "^4.0.8", "is-resolvable": "^1.0.0", "postcss": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "cssnano-preset-default": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz", - "integrity": "sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.8.tgz", + "integrity": "sha512-LdAyHuq+VRyeVREFmuxUZR1TXjQm8QQU/ktoo/x7bz+SdOge1YKc5eMN6pRW7YWBmyq59CqYba1dJ5cUukEjLQ==", "requires": { "css-declaration-sorter": "^4.0.1", "cssnano-util-raw-cache": "^4.0.1", @@ -2846,8 +3045,74 @@ "postcss-ordered-values": "^4.1.2", "postcss-reduce-initial": "^4.0.3", "postcss-reduce-transforms": "^4.0.2", - "postcss-svgo": "^4.0.2", + "postcss-svgo": "^4.0.3", "postcss-unique-selectors": "^4.0.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "cssnano-util-get-arguments": { @@ -2866,6 +3131,72 @@ "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==", "requires": { "postcss": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "cssnano-util-same-parent": { @@ -2874,11 +3205,27 @@ "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==" }, "csso": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/csso/-/csso-4.0.2.tgz", - "integrity": "sha512-kS7/oeNVXkHWxby5tHVxlhjizRCSv8QdU7hB2FpdAibDU8FjTAolhNjKNTiLzXtUrKT6HwClE81yXwEk1309wg==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz", + "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==", "requires": { - "css-tree": "1.0.0-alpha.37" + "css-tree": "^1.1.2" + }, + "dependencies": { + "css-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "requires": { + "mdn-data": "2.0.14", + "source-map": "^0.6.1" + } + }, + "mdn-data": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==" + } } }, "cssom": { @@ -2899,17 +3246,6 @@ "resolved": "https://registry.npmjs.org/cubic-hermite/-/cubic-hermite-1.0.0.tgz", "integrity": "sha1-hOOy8nKzFFToOTuZu2rtRRaMFOU=" }, - "cwise": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/cwise/-/cwise-1.0.10.tgz", - "integrity": "sha1-JO7mBy69/WuMb12tsXCQtkmxK+8=", - "requires": { - "cwise-compiler": "^1.1.1", - "cwise-parser": "^1.0.0", - "static-module": "^1.0.0", - "uglify-js": "^2.6.0" - } - }, "cwise-compiler": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/cwise-compiler/-/cwise-compiler-1.1.3.tgz", @@ -2918,22 +3254,6 @@ "uniq": "^1.0.0" } }, - "cwise-parser": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/cwise-parser/-/cwise-parser-1.0.3.tgz", - "integrity": "sha1-jkk8F9VPl8sDCp6YVLyGyd+zVP4=", - "requires": { - "esprima": "^1.0.3", - "uniq": "^1.0.0" - }, - "dependencies": { - "esprima": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.2.5.tgz", - "integrity": "sha1-CZNQL+r2aBODJXVvMPmlH+7sEek=" - } - } - }, "d": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", @@ -2959,9 +3279,9 @@ "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==" }, "d3-color": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.0.tgz", - "integrity": "sha512-TzNPeJy2+iEepfiL92LAAB7fvnp/dV2YwANPVHdDWmYMm23qIJBYww3qT8I8C1wXrmrg4UWs7BKc2tKIgyjzHg==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.1.tgz", + "integrity": "sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==" }, "d3-dispatch": { "version": "1.0.6", @@ -3010,6 +3330,19 @@ "d3-path": "1" } }, + "d3-time": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", + "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==" + }, + "d3-time-format": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", + "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", + "requires": { + "d3-time": "1" + } + }, "d3-timer": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", @@ -3033,46 +3366,19 @@ "whatwg-url": "^7.0.0" } }, - "deasync": { - "version": "0.1.16", - "resolved": "https://registry.npmjs.org/deasync/-/deasync-0.1.16.tgz", - "integrity": "sha512-FNCjDwxGbhK+Ye8fmE3p2ahIjERhkbuwX+WVGZPtSbAh9LfE1Saa2p0l+f0t11sIlk9D8W+Bym+cDp6r5yghAQ==", - "requires": { - "bindings": "^1.5.0", - "node-addon-api": "^1.7.1" - } - }, "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "requires": { - "ms": "^2.1.1" + "ms": "2.0.0" } }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" - }, "decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=" }, - "deep-equal": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", - "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", - "requires": { - "is-arguments": "^1.0.4", - "is-date-object": "^1.0.1", - "is-regex": "^1.0.4", - "object-is": "^1.0.1", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.2.0" - } - }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", @@ -3115,14 +3421,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.0" } }, "is-data-descriptor": { @@ -3130,14 +3429,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.0" } }, "is-descriptor": { @@ -3147,20 +3439,8 @@ "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.2" } - }, - "kind-of": { - "version": ">=6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -3183,11 +3463,6 @@ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" }, - "depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=" - }, "des.js": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", @@ -3197,16 +3472,16 @@ "minimalistic-assert": "^1.0.0" } }, - "destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, "detect-kerning": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/detect-kerning/-/detect-kerning-2.1.2.tgz", "integrity": "sha512-I3JIbrnKPAntNLl1I6TpSQQdQ4AutYzv/sKMFKbepawV/hlH0GmYKhUoOEMd4xqaUHT+Bm0f4127lh5qs1m1tw==" }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + }, "diffie-hellman": { "version": "5.0.3", "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", @@ -3217,6 +3492,14 @@ "randombytes": "^2.0.0" } }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "requires": { + "path-type": "^4.0.0" + } + }, "dom-serializer": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", @@ -3227,21 +3510,16 @@ }, "dependencies": { "domelementtype": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.0.1.tgz", - "integrity": "sha512-5HOHUDsYZWV8FGWN0Njbr/Rn7f/eWSQi1v7+HsUVwXgn8nWWlL64zKDkS0n8ZmQ3mlWOMuXOnR+7Nx/5tMO5AQ==" - }, - "entities": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.0.tgz", - "integrity": "sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" } } }, "domain-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==" + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-3.5.0.tgz", + "integrity": "sha512-zrzUu6auyZWRexjCEPJnfWc30Hupxh2lJZOJAF3qa2bCuD4O/55t0FvQt3ZMhEw++gjNkwdkOVZh8yA32w/Vfw==" }, "domelementtype": { "version": "1.3.1", @@ -3257,11 +3535,18 @@ } }, "domhandler": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", - "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", + "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", "requires": { - "domelementtype": "1" + "domelementtype": "^2.2.0" + }, + "dependencies": { + "domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" + } } }, "domutils": { @@ -3274,17 +3559,24 @@ } }, "dot-prop": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", - "integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", "requires": { - "is-obj": "^1.0.0" + "is-obj": "^2.0.0" + }, + "dependencies": { + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" + } } }, "dotenv": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-5.0.1.tgz", - "integrity": "sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow==" + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-7.0.0.tgz", + "integrity": "sha512-M3NhsLbV1i6HuGzBUH8vXrtxOk+tWmzWKDMbAVSUp3Zsjm7ywFeuwrUXhmhQyRK1q5B5GGy7hcXPbj3bnfZg2g==" }, "dotenv-expand": { "version": "5.1.0", @@ -3315,27 +3607,6 @@ "resolved": "https://registry.npmjs.org/dup/-/dup-1.0.0.tgz", "integrity": "sha1-UfxaxoX4GWRp3wuQXpNLIK9bQCk=" }, - "duplexer2": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", - "integrity": "sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=", - "requires": { - "readable-stream": "~1.1.9" - }, - "dependencies": { - "readable-stream": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz", - "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.1", - "isarray": "0.0.1", - "string_decoder": "~0.10.x" - } - } - } - }, "duplexify": { "version": "3.7.1", "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", @@ -3353,9 +3624,9 @@ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -3382,9 +3653,9 @@ } }, "earcut": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.1.tgz", - "integrity": "sha512-5jIMi2RB3HtGPHcYd9Yyl0cczo84y+48lgKPxMijliNQaKAHEZJbdzLmKmdxG/mCdS/YD9DQ1gihL8mxzR0F9w==" + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.2.tgz", + "integrity": "sha512-eZoZPPJcUHnfRZ0PjLvx2qBordSiO8ofC3vt+qACLM95u+4DovnbYNpQtJh0DNsWj8RnxrQytD4WA8gj5cRIaQ==" }, "ecc-jsbn": { "version": "0.1.2", @@ -3408,15 +3679,25 @@ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, + "ejs": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.7.4.tgz", + "integrity": "sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==" + }, + "electron-to-chromium": { + "version": "1.3.738", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.738.tgz", + "integrity": "sha512-vCMf4gDOpEylPSLPLSwAEsz+R3ShP02Y3cAKMZvTqule3XcPp7tgc/0ESI7IS6ZeyBlGClE50N53fIOkcIVnpw==" + }, "element-size": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/element-size/-/element-size-1.1.1.tgz", "integrity": "sha1-ZOXxWdlxIWMYRby67K8nnDm1404=" }, "elementary-circuits-directed-graph": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/elementary-circuits-directed-graph/-/elementary-circuits-directed-graph-1.0.4.tgz", - "integrity": "sha512-+xpVxSimU+fcHiTRPWrRN1IFOKaygwotCtZGSBle/rnFaFAoI+4Y8/pimAY1cKiDIHTek2Zox1R7SEQAB/AQ1g==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/elementary-circuits-directed-graph/-/elementary-circuits-directed-graph-1.3.1.tgz", + "integrity": "sha512-ZEiB5qkn2adYmpXGnJKkxT8uJHlW/mxmBpmeqawEHzPxh9HkLD4/1mFYX5l0On+f6rcPIt8/EWlRU2Vo3fX6dQ==", "requires": { "strongly-connected-components": "^1.0.1" } @@ -3443,9 +3724,24 @@ } }, "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==" + }, + "emphasize": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/emphasize/-/emphasize-4.2.0.tgz", + "integrity": "sha512-yGKvcFUHlBsUPwlxTlzKLR8+zhpbitkFOMCUxN8fTJng9bdH3WNzUGkhdaGdjndSUgqmMPBN7umfwnUdLz5Axg==", + "requires": { + "chalk": "^4.0.0", + "highlight.js": "~10.4.0", + "lowlight": "~1.17.0" + } }, "encodeurl": { "version": "1.0.2", @@ -3461,14 +3757,9 @@ } }, "entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" - }, - "envinfo": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.5.0.tgz", - "integrity": "sha512-jDgnJaF/Btomk+m3PZDTTCb5XIIIX3zYItnCRfF73zVgvinLoRomuhi75Y4su0PtQxWz4v66XnLLckyvyJTOIQ==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", + "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==" }, "error-ex": { "version": "1.3.2", @@ -3479,21 +3770,26 @@ } }, "es-abstract": { - "version": "1.17.0-next.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0-next.1.tgz", - "integrity": "sha512-7MmGr03N7Rnuid6+wyhD9sHNE2n4tFSwExnU2lQl3lIo2ShXWGePY80zYaoMOmILWv57H0amMjZGHNzzGG70Rw==", + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.1.tgz", + "integrity": "sha512-LEPRJp87wbQP5Skd3aMpAQePWPC3axO9VD3WmgFYL96dylzMi4xd2G4e/6lrH+wkSYchcPO+0hrSTugYOBjMdQ==", "requires": { + "call-bind": "^1.0.2", "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.1.4", - "is-regex": "^1.0.4", - "object-inspect": "^1.7.0", + "has-symbols": "^1.0.2", + "is-callable": "^1.2.3", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.3", + "is-string": "^1.0.6", + "object-inspect": "^1.10.3", "object-keys": "^1.1.1", - "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.0", - "string.prototype.trimright": "^2.1.0" + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" } }, "es-to-primitive": { @@ -3526,10 +3822,15 @@ "es6-symbol": "^3.1.1" } }, + "es6-object-assign": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", + "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=" + }, "es6-promise": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", - "integrity": "sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM=" + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" }, "es6-symbol": { "version": "3.1.3", @@ -3567,11 +3868,11 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "escodegen": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.12.0.tgz", - "integrity": "sha512-TuA+EhsanGcme5T3R0L80u4t8CpbXQjegRmf7+FPTJrtCTErXFeelblRgHQa1FofEzqYYJmJ/OqjTwREp9qgmg==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.1.tgz", + "integrity": "sha512-Bmt7NcRySdIfNPfU2ZoXDrrXsG9ZjvDxcAlMfDUgRBjLOWTuIACXPBFJH7Z+cLb40JeQco5toikyc9t9P8E9SQ==", "requires": { - "esprima": "^3.1.3", + "esprima": "^4.0.1", "estraverse": "^4.2.0", "esutils": "^2.0.2", "optionator": "^0.8.1", @@ -3579,9 +3880,9 @@ } }, "esprima": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", - "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=" + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "estraverse": { "version": "4.3.0", @@ -3593,15 +3894,15 @@ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" }, - "etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=" + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" }, "events": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", - "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz", + "integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==" }, "evp_bytestokey": { "version": "1.0.3", @@ -3626,14 +3927,6 @@ "to-regex": "^3.0.1" }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, "define-property": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", @@ -3649,11 +3942,6 @@ "requires": { "is-extendable": "^0.1.0" } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" } } }, @@ -3666,9 +3954,9 @@ }, "dependencies": { "type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz", - "integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz", + "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==" } } }, @@ -3732,14 +4020,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.0" } }, "is-data-descriptor": { @@ -3747,14 +4028,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.0" } }, "is-descriptor": { @@ -3764,20 +4038,8 @@ "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.2" } - }, - "kind-of": { - "version": ">=6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -3792,38 +4054,49 @@ "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" }, "falafel": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/falafel/-/falafel-2.1.0.tgz", - "integrity": "sha1-lrsXdh2rqU9G0AFzizzt86Z/4Gw=", + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/falafel/-/falafel-2.2.4.tgz", + "integrity": "sha512-0HXjo8XASWRmsS0X1EkhwEMZaD3Qvp7FfURwjLKjG1ghfRm/MGZl2r4cWUTv41KdNghTw4OUMmVtdGQp3+H+uQ==", "requires": { - "acorn": "^5.0.0", + "acorn": "^7.1.1", "foreach": "^2.0.5", - "isarray": "0.0.1", + "isarray": "^2.0.1", "object-keys": "^1.0.6" + }, + "dependencies": { + "acorn": { + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==" + }, + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + } } }, "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "fast-glob": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", - "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.1.1.tgz", + "integrity": "sha512-nTCREpBY8w8r+boyFYAx21iL6faSsQynliPHM4Uf56SbkyohCNxpVPEH9xrF5TXKy+IsjkPUHDKiUkzBVRXn9g==", "requires": { - "@mrmlnc/readdir-enhanced": "^2.2.1", - "@nodelib/fs.stat": "^1.1.2", - "glob-parent": "^3.1.0", - "is-glob": "^4.0.0", - "merge2": "^1.2.3", - "micromatch": "^3.1.10" + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.0", + "merge2": "^1.3.0", + "micromatch": "^4.0.2" } }, "fast-isnumeric": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/fast-isnumeric/-/fast-isnumeric-1.1.3.tgz", - "integrity": "sha512-MdojHkfLx8pjRNZyGjOhX4HxNPaf0l5R/v5rGZ1bGXCnRPyQIUAe4I1H7QtrlUwuuiDHKdpQTjT3lmueVH2otw==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/fast-isnumeric/-/fast-isnumeric-1.1.4.tgz", + "integrity": "sha512-1mM8qOr2LYz8zGaUdmiqRDiuue00Dxjgcb1NQR7TnhLVh6sQyngP9xvLo7Sl7LZpP/sk5eb+bcyWXw530NTBZw==", "requires": { "is-string-blank": "^1.0.1" } @@ -3838,40 +4111,58 @@ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" }, + "fast-url-parser": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", + "integrity": "sha1-9K8+qfNNiicc9YrSs3WfQx8LMY0=", + "requires": { + "punycode": "^1.3.2" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" + } + } + }, + "fastest-levenshtein": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", + "integrity": "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==" + }, "fastparse": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" }, - "file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" + "fastq": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz", + "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==", + "requires": { + "reusify": "^1.0.4" + } + }, + "fault": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/fault/-/fault-1.0.4.tgz", + "integrity": "sha512-CJ0HCB5tL5fYTEA7ToAq5+kTwd++Borf1/bifxd9iT70QcXr4MRrO3Llf8Ifs70q+SJcGHFtnIE/Nw6giCtECA==", + "requires": { + "format": "^0.2.0" + } }, "filesize": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", - "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==" + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/filesize/-/filesize-6.3.0.tgz", + "integrity": "sha512-ytx0ruGpDHKWVoiui6+BY/QMNngtDQ/pJaFwfBpQif0J63+E8DLdFyqS3NkKQn7vIruUEpoGD9JUJSg7Kp+I0g==" }, "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "requires": { - "is-extendable": "^0.1.0" - } - } + "to-regex-range": "^5.0.1" } }, "filtered-vector": { @@ -3890,12 +4181,18 @@ } } }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "finalhandler": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", + "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", "requires": { - "locate-path": "^3.0.0" + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.3", + "statuses": "~1.5.0", + "unpipe": "~1.0.0" } }, "flatten-vertex-data": { @@ -3911,6 +4208,11 @@ "resolved": "https://registry.npmjs.org/flip-pixels/-/flip-pixels-1.0.2.tgz", "integrity": "sha512-oXbJGbjDnfJRWPC7Va38EFhd+A8JWE5/hCiKcK8qjCdbLj9DTpsq6MEudwpRTH+V4qq+Jw7d3pUgQdSr3x3mTA==" }, + "follow-redirects": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.1.tgz", + "integrity": "sha512-HWqDgT7ZEkqRzBvc2s64vSZ/hfOceEol3ac/7tKwzuvEyWx3/4UegXh5oBOIotkGsObyk3xznnSRVADBgWSQVg==" + }, "font-atlas": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/font-atlas/-/font-atlas-2.1.0.tgz", @@ -3927,14 +4229,6 @@ "css-font": "^1.2.0" } }, - "for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "requires": { - "is-callable": "^1.1.3" - } - }, "for-in": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", @@ -3960,6 +4254,11 @@ "mime-types": "^2.1.12" } }, + "format": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", + "integrity": "sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=" + }, "fragment-cache": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", @@ -3968,11 +4267,6 @@ "map-cache": "^0.2.2" } }, - "fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=" - }, "from2": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", @@ -3988,9 +4282,9 @@ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -4021,538 +4315,63 @@ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, - "fsevents": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz", - "integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==", - "optional": true, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" + }, + "gamma": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/gamma/-/gamma-0.1.0.tgz", + "integrity": "sha1-MxVkNAO/J5BsqAqzfDbs6UQO8zA=" + }, + "generic-names": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/generic-names/-/generic-names-2.0.1.tgz", + "integrity": "sha512-kPCHWa1m9wGG/OwQpeweTwM/PYiQLrUIxXbt/P4Nic3LbGjCP0YwrALHW1uNLKZ0LIMg+RF+XRlj2ekT9ZlZAQ==", "requires": { - "bindings": "^1.5.0", - "nan": "^2.12.1", - "node-pre-gyp": "*" - }, - "dependencies": { - "abbrev": { - "version": "1.1.1", - "bundled": true, - "optional": true - }, - "ansi-regex": { - "version": "2.1.1", - "bundled": true, - "optional": true - }, - "aproba": { - "version": "1.2.0", - "bundled": true, - "optional": true - }, - "are-we-there-yet": { - "version": "1.1.5", - "bundled": true, - "optional": true, - "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" - } - }, - "balanced-match": { - "version": "1.0.0", - "bundled": true, - "optional": true - }, - "brace-expansion": { - "version": "1.1.11", - "bundled": true, - "optional": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "chownr": { - "version": "1.1.3", - "bundled": true, - "optional": true - }, - "code-point-at": { - "version": "1.1.0", - "bundled": true, - "optional": true - }, - "concat-map": { - "version": "0.0.1", - "bundled": true, - "optional": true - }, - "console-control-strings": { - "version": "1.1.0", - "bundled": true, - "optional": true - }, - "core-util-is": { - "version": "1.0.2", - "bundled": true, - "optional": true - }, - "debug": { - "version": "3.2.6", - "bundled": true, - "optional": true, - "requires": { - "ms": "^2.1.1" - } - }, - "deep-extend": { - "version": "0.6.0", - "bundled": true, - "optional": true - }, - "delegates": { - "version": "1.0.0", - "bundled": true, - "optional": true - }, - "detect-libc": { - "version": "1.0.3", - "bundled": true, - "optional": true - }, - "fs-minipass": { - "version": "1.2.7", - "bundled": true, - "optional": true, - "requires": { - "minipass": "^2.6.0" - } - }, - "fs.realpath": { - "version": "1.0.0", - "bundled": true, - "optional": true - }, - "gauge": { - "version": "2.7.4", - "bundled": true, - "optional": true, - "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" - } - }, - "glob": { - "version": "7.1.6", - "bundled": true, - "optional": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "has-unicode": { - "version": "2.0.1", - "bundled": true, - "optional": true - }, - "iconv-lite": { - "version": "0.4.24", - "bundled": true, - "optional": true, - "requires": { - "safer-buffer": ">= 2.1.2 < 3" - } - }, - "ignore-walk": { - "version": "3.0.3", - "bundled": true, - "optional": true, - "requires": { - "minimatch": "^3.0.4" - } - }, - "inflight": { - "version": "1.0.6", - "bundled": true, - "optional": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.4", - "bundled": true, - "optional": true - }, - "ini": { - "version": "1.3.5", - "bundled": true, - "optional": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "bundled": true, - "optional": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, - "isarray": { - "version": "1.0.0", - "bundled": true, - "optional": true - }, - "minimatch": { - "version": "3.0.4", - "bundled": true, - "optional": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": ">=1.2.3", - "bundled": true - }, - "minipass": { - "version": "2.9.0", - "bundled": true, - "optional": true, - "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" - } - }, - "minizlib": { - "version": "1.3.3", - "bundled": true, - "optional": true, - "requires": { - "minipass": "^2.9.0" - } - }, - "mkdirp": { - "version": "0.5.1", - "bundled": true, - "optional": true, - "requires": { - "minimist": ">=1.2.3" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "optional": true - } - } - }, - "ms": { - "version": "2.1.2", - "bundled": true, - "optional": true - }, - "needle": { - "version": "2.4.0", - "bundled": true, - "optional": true, - "requires": { - "debug": "^3.2.6", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" - } - }, - "node-pre-gyp": { - "version": "0.14.0", - "bundled": true, - "optional": true, - "requires": { - "detect-libc": "^1.0.2", - "mkdirp": "^0.5.1", - "needle": "^2.2.1", - "nopt": "^4.0.1", - "npm-packlist": "^1.1.6", - "npmlog": "^4.0.2", - "rc": "^1.2.7", - "rimraf": "^2.6.1", - "semver": "^5.3.0", - "tar": "^4.4.2" - } - }, - "nopt": { - "version": "4.0.1", - "bundled": true, - "optional": true, - "requires": { - "abbrev": "1", - "osenv": "^0.1.4" - } - }, - "npm-bundled": { - "version": "1.1.1", - "bundled": true, - "optional": true, - "requires": { - "npm-normalize-package-bin": "^1.0.1" - } - }, - "npm-normalize-package-bin": { - "version": "1.0.1", - "bundled": true, - "optional": true - }, - "npm-packlist": { - "version": "1.4.7", - "bundled": true, - "optional": true, - "requires": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1" - } - }, - "npmlog": { - "version": "4.1.2", - "bundled": true, - "optional": true, - "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "bundled": true, - "optional": true - }, - "object-assign": { - "version": "4.1.1", - "bundled": true, - "optional": true - }, - "once": { - "version": "1.4.0", - "bundled": true, - "optional": true, - "requires": { - "wrappy": "1" - } - }, - "os-homedir": { - "version": "1.0.2", - "bundled": true, - "optional": true - }, - "os-tmpdir": { - "version": "1.0.2", - "bundled": true, - "optional": true - }, - "osenv": { - "version": "0.1.5", - "bundled": true, - "optional": true, - "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" - } - }, - "path-is-absolute": { - "version": "1.0.1", - "bundled": true, - "optional": true - }, - "process-nextick-args": { - "version": "2.0.1", - "bundled": true, - "optional": true - }, - "rc": { - "version": "1.2.8", - "bundled": true, - "optional": true, - "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": ">=1.2.3", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "optional": true - } - } - }, - "readable-stream": { - "version": "2.3.6", - "bundled": true, - "optional": true, - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "rimraf": { - "version": "2.7.1", - "bundled": true, - "optional": true, - "requires": { - "glob": "^7.1.3" - } - }, - "safe-buffer": { - "version": "5.1.2", - "bundled": true, - "optional": true - }, - "safer-buffer": { - "version": "2.1.2", - "bundled": true, - "optional": true - }, - "sax": { - "version": "1.2.4", - "bundled": true, - "optional": true - }, - "semver": { - "version": "5.7.1", - "bundled": true, - "optional": true - }, - "set-blocking": { - "version": "2.0.0", - "bundled": true, - "optional": true - }, - "signal-exit": { - "version": "3.0.2", - "bundled": true, - "optional": true - }, - "string-width": { - "version": "1.0.2", - "bundled": true, - "optional": true, - "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - } - }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, - "optional": true, - "requires": { - "safe-buffer": "~5.1.0" - } - }, - "strip-ansi": { - "version": "3.0.1", - "bundled": true, - "optional": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "strip-json-comments": { - "version": "2.0.1", - "bundled": true, - "optional": true - }, - "tar": { - "version": "4.4.13", - "bundled": true, - "optional": true, - "requires": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" - } - }, - "util-deprecate": { - "version": "1.0.2", - "bundled": true, - "optional": true - }, - "wide-align": { - "version": "1.1.3", - "bundled": true, - "optional": true, - "requires": { - "string-width": "^1.0.2 || 2" - } - }, - "wrappy": { - "version": "1.0.2", - "bundled": true, - "optional": true - }, - "yallist": { - "version": "3.1.1", - "bundled": true, - "optional": true - } + "loader-utils": "^1.1.0" } }, - "function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" - }, - "gamma": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/gamma/-/gamma-0.1.0.tgz", - "integrity": "sha1-MxVkNAO/J5BsqAqzfDbs6UQO8zA=" + "gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==" }, "geojson-vt": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/geojson-vt/-/geojson-vt-3.2.1.tgz", "integrity": "sha512-EvGQQi/zPrDA6zr6BnJD/YhwAkBP8nnJ9emh3EnHQKVMfg/MRVtPbMYdgVy/IaEmn4UfagD2a6fafPDL5hbtwg==" }, - "get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" - }, "get-canvas-context": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/get-canvas-context/-/get-canvas-context-1.0.2.tgz", "integrity": "sha1-1ue1C8TkyGNXzTnyJkeoS3NgHpM=" }, + "get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, "get-port": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", - "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=" + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-4.2.0.tgz", + "integrity": "sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw==" + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==" }, "get-value": { "version": "2.0.6", @@ -4568,9 +4387,9 @@ } }, "gl-axes3d": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/gl-axes3d/-/gl-axes3d-1.5.2.tgz", - "integrity": "sha512-47Cfh5KhUVRFtYXgufR4lGY5cyXH7SPgAlS1FlvTGK84spIYFCBMlOGUN3AdavGLGUOcXS4ml+tMM61cY6M3gg==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/gl-axes3d/-/gl-axes3d-1.5.3.tgz", + "integrity": "sha512-KRYbguKQcDQ6PcB9g1pgqB8Ly4TY1DQODpPKiDTasyWJ8PxQk0t2Q7XoQQijNqvsguITCpVVCzNb5GVtIWiVlQ==", "requires": { "bit-twiddle": "^1.0.2", "dup": "^1.0.0", @@ -4598,9 +4417,9 @@ } }, "gl-cone3d": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/gl-cone3d/-/gl-cone3d-1.5.1.tgz", - "integrity": "sha512-R8m2lPfVN5ip/IPzykvMNgUUGWTkp9rMuCrVknKIkhjH+gaQeGfwF3+WrB0kwq3FRWvlYWcfdvabv37sZ2rKYA==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/gl-cone3d/-/gl-cone3d-1.5.2.tgz", + "integrity": "sha512-1JNeHH4sUtUmDA4ZK7Om8/kShwb8IZVAsnxaaB7IPRJsNGciLj1sTpODrJGeMl41RNkex5kXD2SQFrzyEAR2Rw==", "requires": { "colormap": "^2.3.1", "gl-buffer": "^2.1.2", @@ -4622,9 +4441,9 @@ "integrity": "sha1-WXpQTjZHUP9QJTqjX43qevSl0jM=" }, "gl-contour2d": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/gl-contour2d/-/gl-contour2d-1.1.6.tgz", - "integrity": "sha512-n8nEFb4VRYooBo3+hbAgiXGELVn7PtYyVbj/hWmTNtrkxFK39Yr8LUczcT2uOOyzqq7sO3FH8+J8PSMFh+z+5A==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/gl-contour2d/-/gl-contour2d-1.1.7.tgz", + "integrity": "sha512-GdebvJ9DtT3pJDpoE+eU2q+Wo9S3MijPpPz5arZbhK85w2bARmpFpVfPaDlZqWkB644W3BlH8TVyvAo1KE4Bhw==", "requires": { "binary-search-bounds": "^2.0.4", "cdt2d": "^1.0.0", @@ -4638,9 +4457,9 @@ } }, "gl-error3d": { - "version": "1.0.15", - "resolved": "https://registry.npmjs.org/gl-error3d/-/gl-error3d-1.0.15.tgz", - "integrity": "sha512-7mB1zU22Vzdvq0KzzYRzE0xvCRF9nHd1+9ElUqkvt0GMH0gVIpxKk+m3hNPM/iQHmNupcXaE1cBcOQE2agN3uA==", + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/gl-error3d/-/gl-error3d-1.0.16.tgz", + "integrity": "sha512-TGJewnKSp7ZnqGgG3XCF9ldrDbxZrO+OWlx6oIet4OdOM//n8xJ5isArnIV/sdPJnFbhfoLxWrW9f5fxHFRQ1A==", "requires": { "gl-buffer": "^2.1.2", "gl-shader": "^4.2.1", @@ -4669,39 +4488,33 @@ } }, "gl-heatmap2d": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/gl-heatmap2d/-/gl-heatmap2d-1.0.5.tgz", - "integrity": "sha512-nki9GIh0g4OXKNIrlnAT/gy/uXxkwrFKgI+XwRcUO6nLBM1WbI2hl8EPykNFXCqsyd08HJQbXKiqaHPW7cNpJg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/gl-heatmap2d/-/gl-heatmap2d-1.1.1.tgz", + "integrity": "sha512-6Vo1fPIB1vQFWBA/MR6JAA16XuQuhwvZRbSjYEq++m4QV33iqjGS2HcVIRfJGX+fomd5eiz6bwkVZcKm69zQPw==", "requires": { - "binary-search-bounds": "^2.0.3", + "binary-search-bounds": "^2.0.4", "gl-buffer": "^2.1.2", - "gl-shader": "^4.0.5", + "gl-shader": "^4.2.1", "glslify": "^7.0.0", "iota-array": "^1.0.0", - "typedarray-pool": "^1.1.0" + "typedarray-pool": "^1.2.0" } }, "gl-line3d": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/gl-line3d/-/gl-line3d-1.1.11.tgz", - "integrity": "sha512-EitFKPEEYdn/ivFOxJ8khSi0BzNum4sXZFLq6SQq21MX5YPCYb0o+XzjpWNuU32BoXORBC78B1JTiQqnTaWhWQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/gl-line3d/-/gl-line3d-1.2.1.tgz", + "integrity": "sha512-eeb0+RI2ZBRqMYJK85SgsRiJK7c4aiOjcnirxv0830A3jmOc99snY3AbPcV8KvKmW0Yaf3KA4e+qNCbHiTOTnA==", "requires": { "binary-search-bounds": "^2.0.4", - "gl-buffer": "^2.0.8", + "gl-buffer": "^2.1.2", "gl-shader": "^4.2.1", - "gl-texture2d": "^2.0.2", - "gl-vao": "^1.1.3", + "gl-texture2d": "^2.1.0", + "gl-vao": "^1.3.0", "glsl-out-of-range": "^1.0.4", - "glsl-read-float": "^1.0.0", "glslify": "^7.0.0", - "ndarray": "^1.0.16" + "ndarray": "^1.0.18" } }, - "gl-mat2": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gl-mat2/-/gl-mat2-1.0.1.tgz", - "integrity": "sha1-FCUFcwpcL+Hp8l2ezj0NbMJxCjA=" - }, "gl-mat3": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/gl-mat3/-/gl-mat3-1.0.0.tgz", @@ -4713,83 +4526,73 @@ "integrity": "sha512-sT5C0pwB1/e9G9AvAoLsoaJtbMGjfd/jfxo8jMCKqYYEnjZuFvqV5rehqar0538EmssjdDeiEWnKyBSTw7quoA==" }, "gl-matrix": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.1.0.tgz", - "integrity": "sha512-526NA+3EA+ztAQi0IZpSWiM0fyQXIp7IbRvfJ4wS/TjjQD0uv0fVybXwwqqSOlq33UckivI0yMDlVtboWm3k7A==" - }, - "gl-matrix-invert": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gl-matrix-invert/-/gl-matrix-invert-1.0.0.tgz", - "integrity": "sha1-o2173jZUxFkKEn7nxo9uE/6oxj0=", - "requires": { - "gl-mat2": "^1.0.0", - "gl-mat3": "^1.0.0", - "gl-mat4": "^1.0.0" - } + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/gl-matrix/-/gl-matrix-3.3.0.tgz", + "integrity": "sha512-COb7LDz+SXaHtl/h4LeaFcNdJdAQSDeVqjiIihSXNrkWObZLhDI4hIkZC11Aeqp7bcE72clzB0BnDXr2SmslRA==" }, "gl-mesh3d": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/gl-mesh3d/-/gl-mesh3d-2.1.3.tgz", - "integrity": "sha512-c1zMvkVoKrVPSn/YA0JTDE/I289xqAjkH52HZBLvEGmKAg0Ezwi/Llg1M7NPIb4d5nwekCBMXGZmemsZaedI5g==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/gl-mesh3d/-/gl-mesh3d-2.3.1.tgz", + "integrity": "sha512-pXECamyGgu4/9HeAQSE5OEUuLBGS1aq9V4BCsTcxsND4fNLaajEkYKUz/WY2QSYElqKdsMBVsldGiKRKwlybqA==", "requires": { "barycentric": "^1.0.1", "colormap": "^2.3.1", - "gl-buffer": "^2.0.8", - "gl-mat4": "^1.0.0", + "gl-buffer": "^2.1.2", + "gl-mat4": "^1.2.0", "gl-shader": "^4.2.1", - "gl-texture2d": "^2.0.8", - "gl-vao": "^1.1.3", + "gl-texture2d": "^2.1.0", + "gl-vao": "^1.3.0", "glsl-out-of-range": "^1.0.4", "glsl-specular-cook-torrance": "^2.0.1", "glslify": "^7.0.0", - "ndarray": "^1.0.15", - "normals": "^1.0.1", + "ndarray": "^1.0.18", + "normals": "^1.1.0", "polytope-closest-point": "^1.0.0", - "simplicial-complex-contour": "^1.0.0", + "simplicial-complex-contour": "^1.0.2", "typedarray-pool": "^1.1.0" } }, "gl-plot2d": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/gl-plot2d/-/gl-plot2d-1.4.2.tgz", - "integrity": "sha512-YLFiu/vgDCYZ/Qnz0wn0gV60IYCtImSnx0OTMsZ5fP1XZAhFztrRb2fJfnjfEVe15yZ+G+9zJ36RlWmJsNQYjQ==", + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/gl-plot2d/-/gl-plot2d-1.4.5.tgz", + "integrity": "sha512-6GmCN10SWtV+qHFQ1gjdnVubeHFVsm6P4zmo0HrPIl9TcdePCUHDlBKWAuE6XtFhiMKMj7R8rApOX8O8uXUYog==", "requires": { "binary-search-bounds": "^2.0.4", "gl-buffer": "^2.1.2", - "gl-select-static": "^2.0.4", + "gl-select-static": "^2.0.7", "gl-shader": "^4.2.1", "glsl-inverse": "^1.0.0", "glslify": "^7.0.0", - "text-cache": "^4.2.1" + "text-cache": "^4.2.2" } }, "gl-plot3d": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/gl-plot3d/-/gl-plot3d-2.3.0.tgz", - "integrity": "sha512-qg269QiLpaw16d2D5Gz9fa8vsLcA8kbX/cv1u9S7BsH6jD9qGYxsY8iWJ8ea9/68WhPS5En2kUavkXINkmHsOQ==", + "version": "2.4.7", + "resolved": "https://registry.npmjs.org/gl-plot3d/-/gl-plot3d-2.4.7.tgz", + "integrity": "sha512-mLDVWrl4Dj0O0druWyHUK5l7cBQrRIJRn2oROEgrRuOgbbrLAzsREKefwMO0bA0YqkiZMFMnV5VvPA9j57X5Xg==", "requires": { "3d-view": "^2.0.0", "a-big-triangle": "^1.0.3", - "gl-axes3d": "^1.5.2", + "gl-axes3d": "^1.5.3", "gl-fbo": "^2.0.5", "gl-mat4": "^1.2.0", - "gl-select-static": "^2.0.4", + "gl-select-static": "^2.0.7", "gl-shader": "^4.2.1", - "gl-spikes3d": "^1.0.9", + "gl-spikes3d": "^1.0.10", "glslify": "^7.0.0", "has-passive-events": "^1.0.0", - "is-mobile": "^2.1.0", + "is-mobile": "^2.2.1", "mouse-change": "^1.4.0", "mouse-event-offset": "^3.0.2", "mouse-wheel": "^1.2.0", - "ndarray": "^1.0.18", + "ndarray": "^1.0.19", "right-now": "^1.0.0" } }, "gl-pointcloud2d": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/gl-pointcloud2d/-/gl-pointcloud2d-1.0.2.tgz", - "integrity": "sha512-KDfuJLg1dFWNPo6eJYgwUpNdVcIdK5y29ZiYpzzP0qh3eg0bSLMq8ZkaqvPmSJsFksUryT73IRunsuxJtTJkvA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/gl-pointcloud2d/-/gl-pointcloud2d-1.0.3.tgz", + "integrity": "sha512-OS2e1irvJXVRpg/GziXj10xrFJm9kkRfFoB6BLUvkjCQV7ZRNNcs2CD+YSK1r0gvMwTg2T3lfLM3UPwNtz+4Xw==", "requires": { "gl-buffer": "^2.1.2", "gl-shader": "^4.2.1", @@ -4808,40 +4611,39 @@ } }, "gl-scatter3d": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/gl-scatter3d/-/gl-scatter3d-1.2.2.tgz", - "integrity": "sha512-oZh3WQ0bVXnpASpZmYmiEp7eUiD0oU6J4G5C9KUOhUo5d2gucvZEILAtfWmzCT3zsOltoROn4jGuuP2tlLN88Q==", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/gl-scatter3d/-/gl-scatter3d-1.2.3.tgz", + "integrity": "sha512-nXqPlT1w5Qt51dTksj+DUqrZqwWAEWg0PocsKcoDnVNv0X8sGA+LBZ0Y+zrA+KNXUL0PPCX9WR9cF2uJAZl1Sw==", "requires": { - "gl-buffer": "^2.0.6", - "gl-mat4": "^1.0.0", - "gl-shader": "^4.2.0", - "gl-vao": "^1.1.2", + "gl-buffer": "^2.1.2", + "gl-mat4": "^1.2.0", + "gl-shader": "^4.2.1", + "gl-vao": "^1.3.0", "glsl-out-of-range": "^1.0.4", "glslify": "^7.0.0", "is-string-blank": "^1.0.1", - "typedarray-pool": "^1.0.2", + "typedarray-pool": "^1.1.0", "vectorize-text": "^3.2.1" } }, "gl-select-box": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/gl-select-box/-/gl-select-box-1.0.3.tgz", - "integrity": "sha512-sQb18g1aZ6PJAsvsC8nNYhuhc2TYXNbzVbI0bP9AH9770NjrDnd7TC8HHcfu8nJXGPG69HjqR6EzS+QSqiXPSA==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/gl-select-box/-/gl-select-box-1.0.4.tgz", + "integrity": "sha512-mKsCnglraSKyBbQiGq0Ila0WF+m6Tr+EWT2yfaMn/Sh9aMHq5Wt0F/l6Cf/Ed3CdERq5jHWAY5yxLviZteYu2w==", "requires": { "gl-buffer": "^2.1.2", - "gl-shader": "^4.0.5", + "gl-shader": "^4.2.1", "glslify": "^7.0.0" } }, "gl-select-static": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/gl-select-static/-/gl-select-static-2.0.4.tgz", - "integrity": "sha512-4Kqx5VjeT8nmV+j6fry3UBFNL2B7ktQU4o508QGVPKWCILlV44rTDq3mnBFThup8rMIH9kJQx6xWsg9jTmfeMw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/gl-select-static/-/gl-select-static-2.0.7.tgz", + "integrity": "sha512-OvpYprd+ngl3liEatBTdXhSyNBjwvjMSvV2rN0KHpTU+BTi4viEETXNZXFgGXY37qARs0L28ybk3UQEW6C5Nnw==", "requires": { "bit-twiddle": "^1.0.2", - "cwise": "^1.0.3", - "gl-fbo": "^2.0.3", - "ndarray": "^1.0.15", + "gl-fbo": "^2.0.5", + "ndarray": "^1.0.18", "typedarray-pool": "^1.1.0" } }, @@ -4860,9 +4662,9 @@ "integrity": "sha512-QVeOZsi9nQuJJl7NB3132CCv5KA10BWxAY2QgJNsKqbLsG53B/TrGJpjIAohnJftdZ4fT6b3ZojWgeaXk8bOOA==" }, "gl-spikes3d": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/gl-spikes3d/-/gl-spikes3d-1.0.9.tgz", - "integrity": "sha512-laMxydgGdnE8kvd1YD9cNWrx0uSmrPj1Oi02cHhnxWIklut97w3F7mZKnmLMEyUkxpRLkEeQ7YkYy7Y+aUEblw==", + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/gl-spikes3d/-/gl-spikes3d-1.0.10.tgz", + "integrity": "sha512-lT3xroowOFxMvlhT5Mof76B2TE02l5zt/NIWljhczV2FFHgIVhA4jMrd5dIv1so1RXMBDJIKu0uJI3QKliDVLg==", "requires": { "gl-buffer": "^2.1.2", "gl-shader": "^4.2.1", @@ -4879,11 +4681,11 @@ } }, "gl-streamtube3d": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/gl-streamtube3d/-/gl-streamtube3d-1.4.0.tgz", - "integrity": "sha512-WgRtdB77uFCN1lBZ6ogz7VTK4J8WwW5DGHvyB3LaBSZF3t5lf/KWeXPgm+xnNINlOy4JqJIgny+CtzwTHAk3Ew==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/gl-streamtube3d/-/gl-streamtube3d-1.4.1.tgz", + "integrity": "sha512-rH02v00kgwgdpkXVo7KsSoPp38bIAYR9TE1iONjcQ4cQAlDhrGRauqT/P5sUaOIzs17A2DxWGcXM+EpNQs9pUA==", "requires": { - "gl-cone3d": "^1.5.0", + "gl-cone3d": "^1.5.2", "gl-vec3": "^1.1.3", "gl-vec4": "^1.0.1", "glsl-inverse": "^1.0.0", @@ -4893,29 +4695,29 @@ } }, "gl-surface3d": { - "version": "1.4.6", - "resolved": "https://registry.npmjs.org/gl-surface3d/-/gl-surface3d-1.4.6.tgz", - "integrity": "sha512-aItWQTNUX3JJc6i2FbXX82ljPZgDV3kXzkzANcBGoAnKwRpJw12WcMKKTL4sOCs9BW+3sx6BhR0P5+2zh5Scfw==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/gl-surface3d/-/gl-surface3d-1.6.0.tgz", + "integrity": "sha512-x15+u4712ysnB85G55RLJEml6mOB4VaDn0VTlXCc9JcjRl5Es10Tk7lhGGyiPtkCfHwvhnkxzYA1/rHHYN7Y0A==", "requires": { "binary-search-bounds": "^2.0.4", "bit-twiddle": "^1.0.2", "colormap": "^2.3.1", "dup": "^1.0.0", - "gl-buffer": "^2.0.3", - "gl-mat4": "^1.0.0", - "gl-shader": "^4.2.0", - "gl-texture2d": "^2.0.0", - "gl-vao": "^1.1.1", + "gl-buffer": "^2.1.2", + "gl-mat4": "^1.2.0", + "gl-shader": "^4.2.1", + "gl-texture2d": "^2.1.0", + "gl-vao": "^1.3.0", "glsl-out-of-range": "^1.0.4", "glsl-specular-beckmann": "^1.1.2", "glslify": "^7.0.0", - "ndarray": "^1.0.16", + "ndarray": "^1.0.18", "ndarray-gradient": "^1.0.0", - "ndarray-ops": "^1.2.1", - "ndarray-pack": "^1.0.1", - "ndarray-scratch": "^1.1.1", + "ndarray-ops": "^1.2.2", + "ndarray-pack": "^1.2.1", + "ndarray-scratch": "^1.2.0", "surface-nets": "^1.0.2", - "typedarray-pool": "^1.0.0" + "typedarray-pool": "^1.1.0" } }, "gl-text": { @@ -4953,9 +4755,9 @@ } }, "gl-util": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/gl-util/-/gl-util-3.1.2.tgz", - "integrity": "sha512-8czWhGTGp/H4S35X1UxGbFlJ1hjtTFhm2mc85GcymEi1CDf633WJgtkCddEiSjIa4BnNxBrqOIhj6jlF6naPqw==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/gl-util/-/gl-util-3.1.3.tgz", + "integrity": "sha512-dvRTggw5MSkJnCbh74jZzSoTOGnVYK+Bt+Ckqm39CVcl6+zSsxqWk4lr5NKhkqXHL6qvZAU9h17ZF8mIskY9mA==", "requires": { "is-browser": "^2.0.1", "is-firefox": "^1.0.3", @@ -4982,9 +4784,9 @@ "integrity": "sha1-l9loeCgbFLUyy84QF4Xf0cs0CWQ=" }, "glob": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -4995,33 +4797,33 @@ } }, "glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - }, - "dependencies": { - "is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "requires": { - "is-extglob": "^2.1.0" - } - } + "is-glob": "^4.0.1" } }, - "glob-to-regexp": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", - "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=" - }, "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" + "version": "13.8.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.8.0.tgz", + "integrity": "sha512-rHtdA6+PDBIjeEvA91rpqzEvk/k3/i7EeNQiryiWuJH0Hw9cpyJMAt2jtbAwUaRdhD+573X4vWw6IcjKPasi9Q==", + "requires": { + "type-fest": "^0.20.2" + } + }, + "globby": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz", + "integrity": "sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==", + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.1.1", + "ignore": "^5.1.4", + "merge2": "^1.3.0", + "slash": "^3.0.0" + } }, "glsl-inject-defines": { "version": "1.0.3", @@ -5043,11 +4845,6 @@ "resolved": "https://registry.npmjs.org/glsl-out-of-range/-/glsl-out-of-range-1.0.4.tgz", "integrity": "sha512-fCcDu2LCQ39VBvfe1FbhuazXEf0CqMZI9OYXrYlL6uUARG48CTAbL04+tZBtVM0zo1Ljx4OLu2AxNquq++lxWQ==" }, - "glsl-read-float": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/glsl-read-float/-/glsl-read-float-1.1.0.tgz", - "integrity": "sha1-37CIsBYtz8xW/E7d0vhuGMrDLyY=" - }, "glsl-resolve": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/glsl-resolve/-/glsl-resolve-0.0.1.tgz", @@ -5154,11 +4951,11 @@ } }, "glslify": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/glslify/-/glslify-7.0.0.tgz", - "integrity": "sha512-yw8jDQIe9FlSH5NiZEqSAsCPj9HI7nhXgXLAgSv2Nm9eBPsFJmyN9+rNwbiozJapcj9xtc/71rMYlN9cxp1B8Q==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/glslify/-/glslify-7.1.1.tgz", + "integrity": "sha512-bud98CJ6kGZcP9Yxcsi7Iz647wuDz3oN+IZsjCRi5X1PI7t/xPKeL0mOwXJjo+CRZMqvq0CkSJiywCcY7kVYog==", "requires": { - "bl": "^1.0.0", + "bl": "^2.2.1", "concat-stream": "^1.5.2", "duplexify": "^3.4.5", "falafel": "^2.1.0", @@ -5167,10 +4964,10 @@ "glsl-token-whitespace-trim": "^1.0.0", "glslify-bundle": "^5.0.0", "glslify-deps": "^1.2.5", - "minimist": ">=1.2.3", + "minimist": "^1.2.5", "resolve": "^1.1.5", "stack-trace": "0.0.9", - "static-eval": "^2.0.0", + "static-eval": "^2.0.5", "through2": "^2.0.1", "xtend": "^4.0.0" }, @@ -5180,15 +4977,10 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "requires": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", @@ -5241,12 +5033,12 @@ } }, "glslify-deps": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/glslify-deps/-/glslify-deps-1.3.1.tgz", - "integrity": "sha512-Ogm179MCazwIRyEqs3g3EOY4Y3XIAa0yl8J5RE9rJC6QH1w8weVOp2RZu0mvnYy/2xIas1w166YR2eZdDkWQxg==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/glslify-deps/-/glslify-deps-1.3.2.tgz", + "integrity": "sha512-7S7IkHWygJRjcawveXQjRXLO2FTjijPDYC7QfZyAQanY+yGLCFHYnPtsGT9bdyHiwPTw/5a1m1M9hamT2aBpag==", "requires": { "@choojs/findup": "^0.2.0", - "events": "^1.0.2", + "events": "^3.2.0", "glsl-resolve": "0.0.1", "glsl-tokenizer": "^2.0.0", "graceful-fs": "^4.1.2", @@ -5256,18 +5048,9 @@ } }, "graceful-fs": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", - "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==" - }, - "grapheme-breaker": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/grapheme-breaker/-/grapheme-breaker-0.3.2.tgz", - "integrity": "sha1-W55reMODJFLSuiuxy4MPlidkEKw=", - "requires": { - "brfs": "^1.2.0", - "unicode-trie": "^0.3.1" - } + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" }, "grid-index": { "version": "1.1.0", @@ -5280,11 +5063,11 @@ "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" }, "har-validator": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", "requires": { - "ajv": "^6.5.5", + "ajv": "^6.12.3", "har-schema": "^2.0.0" } }, @@ -5311,10 +5094,15 @@ } } }, + "has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==" + }, "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "has-hover": { "version": "1.0.1", @@ -5333,9 +5121,9 @@ } }, "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==" + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" }, "has-value": { "version": "1.0.0", @@ -5353,39 +5141,86 @@ "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", "requires": { "is-number": "^3.0.0", - "kind-of": ">=6.0.3" + "kind-of": "^4.0.0" }, "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "requires": { + "is-buffer": "^1.1.5" + } } } }, "hash-base": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz", - "integrity": "sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=", - "requires": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", "requires": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "hex-color-regex": { - "version": "1.1.0", + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "hex-color-regex": { + "version": "1.1.0", "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz", "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==" }, + "highlight.js": { + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.4.1.tgz", + "integrity": "sha512-yR5lWvNz7c85OhVAEAeFhVCc/GV4C30Fjzc/rCP0aCWzc1UUOPUk55dK/qdwTZHBvMZo+eZ2jpk62ndX/xMFlg==" + }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -5411,11 +5246,6 @@ "resolved": "https://registry.npmjs.org/hsluv/-/hsluv-0.0.3.tgz", "integrity": "sha1-gpEH2vtKn4tSoYCe0C4JHq3mdUw=" }, - "html-comment-regex": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz", - "integrity": "sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==" - }, "html-encoding-sniffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz", @@ -5430,84 +5260,86 @@ "integrity": "sha1-x43mW1Zjqll5id0rerSSANfk25g=" }, "htmlnano": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/htmlnano/-/htmlnano-0.2.5.tgz", - "integrity": "sha512-X1iPSwXG/iF9bVs+/obt2n6F64uH0ETkA8zp7qFDmLW9/+A6ueHGeb/+qD67T21qUY22owZPMdawljN50ajkqA==", - "requires": { - "cssnano": "^4.1.10", - "normalize-html-whitespace": "^1.0.0", - "posthtml": "^0.12.0", - "posthtml-render": "^1.1.5", - "purgecss": "^1.4.0", + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/htmlnano/-/htmlnano-0.2.9.tgz", + "integrity": "sha512-jWTtP3dCd7R8x/tt9DK3pvpcQd7HDMcRPUqPxr/i9989q2k5RHIhmlRDFeyQ/LSd8IKrteG8Ce5g0Ig4eGIipg==", + "requires": { + "cssnano": "^4.1.11", + "posthtml": "^0.15.1", + "purgecss": "^2.3.0", + "relateurl": "^0.2.7", + "srcset": "^3.0.0", "svgo": "^1.3.2", - "terser": "^4.3.9", - "uncss": "^0.17.2" - }, - "dependencies": { - "posthtml": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.12.0.tgz", - "integrity": "sha512-aNUEP/SfKUXAt+ghG51LC5MmafChBZeslVe/SSdfKIgLGUVRE68mrMF4V8XbH07ZifM91tCSuxY3eHIFLlecQw==", - "requires": { - "posthtml-parser": "^0.4.1", - "posthtml-render": "^1.1.5" - } - }, - "terser": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/terser/-/terser-4.4.3.tgz", - "integrity": "sha512-0ikKraVtRDKGzHrzkCv5rUNDzqlhmhowOBqC0XqUHFpW+vJ45+20/IFBcebwKfiS2Z9fJin6Eo+F1zLZsxi8RA==", - "requires": { - "commander": "^2.20.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.12" - } - } + "terser": "^5.6.1", + "timsort": "^0.3.0", + "uncss": "^0.17.3" } }, "htmlparser2": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", - "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", - "requires": { - "domelementtype": "^1.3.1", - "domhandler": "^2.3.0", - "domutils": "^1.5.1", - "entities": "^1.1.1", - "inherits": "^2.0.1", - "readable-stream": "^3.1.1" + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.1.0.tgz", + "integrity": "sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A==", + "requires": { + "domelementtype": "^2.0.1", + "domhandler": "^4.0.0", + "domutils": "^2.5.2", + "entities": "^2.0.0" }, "dependencies": { - "readable-stream": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz", - "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==", + "dom-serializer": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", + "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", "requires": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" + "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", + "entities": "^2.0.0" } }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "domelementtype": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" + }, + "domutils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", + "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", "requires": { - "safe-buffer": "~5.2.0" + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" } } } }, - "http-errors": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz", - "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==", + "http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", "requires": { - "depd": "~1.1.2", - "inherits": "2.0.4", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + } + }, + "http-proxy-middleware": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-1.3.1.tgz", + "integrity": "sha512-13eVVDYS4z79w7f1+NPllJtOQFx/FdUW4btIvVRMaRlUY9VGstAbo5MOhLEuUgZFRHn3x50ufn25zkj/boZnEg==", + "requires": { + "@types/http-proxy": "^1.17.5", + "http-proxy": "^1.18.1", + "is-glob": "^4.0.1", + "is-plain-obj": "^3.0.0", + "micromatch": "^4.0.2" + }, + "dependencies": { + "is-plain-obj": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==" + } } }, "http-signature": { @@ -5538,11 +5370,95 @@ "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz", "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=" }, + "icss-utils": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-4.1.1.tgz", + "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==", + "requires": { + "postcss": "^7.0.14" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, "ieee754": { "version": "1.1.13", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" }, + "iferr": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/iferr/-/iferr-1.0.2.tgz", + "integrity": "sha512-9AfeLfji44r5TKInjhz3W9DyZI1zR1JAf2hVBMGhddAKPqBsupb89jGfbCTHIGZd6fGZl9WlHdn4AObygyMKwg==" + }, + "ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==" + }, "image-palette": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/image-palette/-/image-palette-2.1.0.tgz", @@ -5553,6 +5469,11 @@ "quantize": "^1.0.2" } }, + "image-size": { + "version": "0.7.5", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.7.5.tgz", + "integrity": "sha512-Hiyv+mXHfFEP7LzUL/llg9RwFxxY+o9N3JVLIeG5E7iFIFAalxvRU9UZthBdYDEVnzHMgjnKJPPpay5BWf1g9g==" + }, "import-fresh": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", @@ -5562,6 +5483,11 @@ "resolve-from": "^3.0.0" } }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + }, "incremental-convex-hull": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/incremental-convex-hull/-/incremental-convex-hull-1.0.1.tgz", @@ -5605,14 +5531,6 @@ } } }, - "invariant": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", - "requires": { - "loose-envify": "^1.0.0" - } - }, "invert-permutation": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/invert-permutation/-/invert-permutation-1.0.0.tgz", @@ -5633,20 +5551,26 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "requires": { - "kind-of": ">=6.0.3" + "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } } } }, "is-arguments": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.0.4.tgz", - "integrity": "sha512-xPh0Rmt8NE65sNzvyUmWgI1tz3mKq74lGA0mL8LYZcoIzKOzDh6HmrYm3d18k60nHerC8A9Km8kYu87zfSFnLA==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", + "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", + "requires": { + "call-bind": "^1.0.0" + } }, "is-arrayish": { "version": "0.2.1", @@ -5658,19 +5582,24 @@ "resolved": "https://registry.npmjs.org/is-base64/-/is-base64-0.1.0.tgz", "integrity": "sha512-WRRyllsGXJM7ZN7gPTCCQ/6wNPTRDwiWdPK66l5sJzcU/oOzcIcRRf0Rux8bkpox/1yjt0F6VJRsQOIG2qz5sg==" }, - "is-binary-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", - "requires": { - "binary-extensions": "^1.0.0" - } + "is-bigint": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.2.tgz", + "integrity": "sha512-0JV5+SOCQkIdzjBK9buARcV804Ddu7A0Qet6sHi3FimE9ne6m4BGQZfRn+NZiXbBk4F4XmHfDZIipLj9pX8dSA==" }, "is-blob": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-blob/-/is-blob-2.1.0.tgz", "integrity": "sha512-SZ/fTft5eUhQM6oF/ZaASFDEdbFVe89Imltn9uZr03wdKMcWNVYSMjQPFtg05QuNkt5l5c135ElvXEQG0rk4tw==" }, + "is-boolean-object": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.1.tgz", + "integrity": "sha512-bXdQWkECBUIAcCkeH1unwJLIpZYaa5VvuygSyS/c2lf719mTKZDU5UdDRlpd01UjADgmW8RfqaP+mRaVPdr/Ng==", + "requires": { + "call-bind": "^1.0.2" + } + }, "is-browser": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-browser/-/is-browser-2.1.0.tgz", @@ -5682,9 +5611,9 @@ "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" }, "is-callable": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", - "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==" + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", + "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==" }, "is-color-stop": { "version": "1.1.0", @@ -5699,25 +5628,36 @@ "rgba-regex": "^1.0.0" } }, + "is-core-module": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.4.0.tgz", + "integrity": "sha512-6A2fkfq1rfeQZjxrZJGerpLCTHRNEBiSgnu0+obeJpEPZRUooHgsizvzv0ZjJwOz3iWIHdJtVWJ/tmPr3D21/A==", + "requires": { + "has": "^1.0.3" + } + }, "is-data-descriptor": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "requires": { - "kind-of": ">=6.0.3" + "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } } } }, "is-date-object": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", - "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.4.tgz", + "integrity": "sha512-/b4ZVsG7Z5XVtIxs/h9W8nvfLgSAyKYdtGWQLbqy6jA1icmgjf8WCoTKgeS4wy5tYaPePouzFMANbnj94c2Z+A==" }, "is-descriptor": { "version": "0.1.6", @@ -5726,13 +5666,13 @@ "requires": { "is-accessor-descriptor": "^0.1.6", "is-data-descriptor": "^0.1.4", - "kind-of": ">=6.0.3" + "kind-of": "^5.0.0" }, "dependencies": { "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==" } } }, @@ -5741,6 +5681,11 @@ "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=" }, + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" + }, "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -5752,12 +5697,9 @@ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=" }, "is-finite": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz", - "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=", - "requires": { - "number-is-nan": "^1.0.0" - } + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==" }, "is-firefox": { "version": "1.0.3", @@ -5770,9 +5712,14 @@ "integrity": "sha512-4ew1Sx6B6kEAl3T3NOM0yB94J3NZnBdNt4paw0e8nY73yHHTeTEhyQ3Lj7EQEnv5LD+GxNTaT4L46jcKjjpLiQ==" }, "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-generator-function": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.9.tgz", + "integrity": "sha512-ZJ34p1uvIfptHCN7sFTjGibB9/oBg17sHqzDLfuwhvmN/qLVvIQXRQ8licZQ35WJ8KuEQt/etnnzQFI9C9Ue/A==" }, "is-glob": { "version": "4.0.1", @@ -5795,26 +5742,40 @@ "resolved": "https://registry.npmjs.org/is-iexplorer/-/is-iexplorer-1.0.0.tgz", "integrity": "sha1-HXK8ZtP+Iur2Fw3ajPEJQySM/HY=" }, + "is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==" + }, "is-mobile": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-2.1.0.tgz", - "integrity": "sha512-M5OhlZwh+aTlmRUvDg0Wq3uWVNa+w4DyZ2SjbrS+BhSLu9Po+JXHendC305ZEu+Hh7lywb19Zu4kYXu3L1Oo8A==" + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-mobile/-/is-mobile-2.2.2.tgz", + "integrity": "sha512-wW/SXnYJkTjs++tVK5b6kVITZpAZPtUrt9SF80vvxGiF/Oywal+COk1jlRkiVq15RFNEQKQY31TkV24/1T5cVg==" }, - "is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "is-nan": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.2.tgz", + "integrity": "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" } }, + "is-negative-zero": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", + "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==" + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "is-number-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.5.tgz", + "integrity": "sha512-RU0lI/n95pMoUKu9v1BZP5MBcZuNSVJkMkAG2dJqC4z2GlkGUNeH68SuHuBKBD/XFe+LHZ+f9BKkLET60Niedw==" + }, "is-obj": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", @@ -5834,11 +5795,12 @@ } }, "is-regex": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", - "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.3.tgz", + "integrity": "sha512-qSVXFz28HM7y+IWX6vLCsexdlvzT1PJNFSBuaQLQ5o0IEw8UDYW6/2+eCMVyIsbM8CNLX2a/QWmSpyxYEHY7CQ==", "requires": { - "has": "^1.0.3" + "call-bind": "^1.0.2", + "has-symbols": "^1.0.2" } }, "is-resolvable": { @@ -5846,29 +5808,38 @@ "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==" }, + "is-string": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.6.tgz", + "integrity": "sha512-2gdzbKUuqtQ3lYNrUTQYoClPhm7oQu4UdpSZMp1/DGgkHBT8E2Z1l0yMdb6D4zNAxwDiMv8MdulKROJGNl0Q0w==" + }, "is-string-blank": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-string-blank/-/is-string-blank-1.0.1.tgz", "integrity": "sha512-9H+ZBCVs3L9OYqv8nuUAzpcT9OTgMD1yAWrG7ihlnibdkbtB850heAmYWxHuXc4CHy4lKeK69tN+ny1K7gBIrw==" }, - "is-svg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz", - "integrity": "sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ==", - "requires": { - "html-comment-regex": "^1.1.0" - } - }, "is-svg-path": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-svg-path/-/is-svg-path-1.0.2.tgz", "integrity": "sha1-d6tZDBKz0gNI5cehPQBAyHeE3aA=" }, "is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typed-array": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.5.tgz", + "integrity": "sha512-S+GRDgJlR3PyEbsX/Fobd9cqpZBuvUS+8asRqYDMLCb2qMzt1oz5m5oxQCxOgUDxiWsOVNi4yaF+/uvdlHlYug==", "requires": { + "available-typed-arrays": "^1.0.2", + "call-bind": "^1.0.2", + "es-abstract": "^1.18.0-next.2", + "foreach": "^2.0.5", "has-symbols": "^1.0.1" } }, @@ -5877,6 +5848,11 @@ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==" + }, "is-url": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", @@ -5888,9 +5864,12 @@ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==" }, "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "requires": { + "is-docker": "^2.0.0" + } }, "isarray": { "version": "0.0.1", @@ -5912,30 +5891,18 @@ "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" }, - "js-levenshtein": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz", - "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==" - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", "requires": { "argparse": "^1.0.7", "esprima": "^4.0.0" - }, - "dependencies": { - "esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" - } } }, "jsbn": { @@ -5974,27 +5941,12 @@ "whatwg-url": "^7.0.0", "ws": "^6.1.2", "xml-name-validator": "^3.0.0" - }, - "dependencies": { - "acorn": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", - "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==" - }, - "ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", - "requires": { - "async-limiter": "~1.0.0" - } - } } }, "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=" + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" }, "json-parse-better-errors": { "version": "1.0.2", @@ -6011,6 +5963,11 @@ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" }, + "json-source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/json-source-map/-/json-source-map-0.6.1.tgz", + "integrity": "sha512-1QoztHPsMQqhDq0hlXY5ZqcEdUzxQEIxgFkKl4WUp2pgShObl+9ovi4kRh2TfvAfxAoHOJ9vIMEqk3k4iex7tg==" + }, "json-stringify-safe": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", @@ -6021,14 +5978,7 @@ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", "requires": { - "minimist": ">=1.2.3" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - } + "minimist": "^1.2.0" } }, "jsprim": { @@ -6047,15 +5997,10 @@ "resolved": "https://registry.npmjs.org/kdbush/-/kdbush-3.0.0.tgz", "integrity": "sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==" }, - "lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=" - }, - "left-pad": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz", - "integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==" + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, "lerp": { "version": "1.0.3", @@ -6071,13 +6016,14 @@ "type-check": "~0.3.2" } }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" } }, "lodash": { @@ -6085,10 +6031,10 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "lodash.clone": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", - "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=" + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" }, "lodash.memoize": { "version": "4.1.2", @@ -6106,32 +6052,29 @@ "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=" }, "log-symbols": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", - "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", "requires": { - "chalk": "^2.0.1" + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" } }, - "longest": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", - "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" - }, - "loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "lowlight": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/lowlight/-/lowlight-1.17.0.tgz", + "integrity": "sha512-vmtBgYKD+QVNy7tIa7ulz5d//Il9R4MooOVh4nkOf9R9Cb/Dk5TXMSTieg/vDulkBkIWj59/BIlyFQxT9X1oAQ==", "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" + "fault": "^1.0.0", + "highlight.js": "~10.4.0" } }, - "magic-string": { - "version": "0.25.4", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.4.tgz", - "integrity": "sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw==", + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "requires": { - "sourcemap-codec": "^1.4.4" + "yallist": "^4.0.0" } }, "map-cache": { @@ -6166,40 +6109,33 @@ } }, "mapbox-gl": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.3.2.tgz", - "integrity": "sha512-6Ro7GbTMWxcbc836m6rbBNkesgTncbE1yXWeuHlr89esSqaItKr0+ntOu8rZie3fv+GtitkbODysXzIGCA7G+w==", + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/mapbox-gl/-/mapbox-gl-1.10.1.tgz", + "integrity": "sha512-0aHt+lFUpYfvh0kMIqXqNXqoYMuhuAsMlw87TbhWrw78Tx2zfuPI0Lx31/YPUgJ+Ire0tzQ4JnuBL7acDNXmMg==", "requires": { - "@mapbox/geojson-rewind": "^0.4.0", + "@mapbox/geojson-rewind": "^0.5.0", "@mapbox/geojson-types": "^1.0.2", "@mapbox/jsonlint-lines-primitives": "^2.0.2", - "@mapbox/mapbox-gl-supported": "^1.4.0", + "@mapbox/mapbox-gl-supported": "^1.5.0", "@mapbox/point-geometry": "^0.1.0", - "@mapbox/tiny-sdf": "^1.1.0", + "@mapbox/tiny-sdf": "^1.1.1", "@mapbox/unitbezier": "^0.0.0", "@mapbox/vector-tile": "^1.3.1", "@mapbox/whoots-js": "^3.1.0", - "csscolorparser": "~1.0.2", - "earcut": "^2.1.5", + "csscolorparser": "~1.0.3", + "earcut": "^2.2.2", "geojson-vt": "^3.2.1", - "gl-matrix": "^3.0.0", + "gl-matrix": "^3.2.1", "grid-index": "^1.1.0", - "minimist": ">=1.2.3", + "minimist": "^1.2.5", "murmurhash-js": "^1.0.0", - "pbf": "^3.0.5", + "pbf": "^3.2.1", "potpack": "^1.0.1", "quickselect": "^2.0.0", "rw": "^1.3.3", - "supercluster": "^6.0.1", - "tinyqueue": "^2.0.0", + "supercluster": "^7.0.0", + "tinyqueue": "^2.0.3", "vt-pbf": "^3.1.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - } } }, "marching-simplex-table": { @@ -6277,51 +6213,18 @@ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz", "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==" }, - "merge-source-map": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.4.tgz", - "integrity": "sha1-pd5GU42uhNQRTMXqArR3KmNGcB8=", - "requires": { - "source-map": "^0.5.6" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } - } - }, "merge2": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz", - "integrity": "sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" }, "micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": ">=6.0.3", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "braces": "^3.0.1", + "picomatch": "^2.2.3" } }, "miller-rabin": { @@ -6333,28 +6236,23 @@ "brorand": "^1.0.1" } }, - "mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" - }, "mime-db": { - "version": "1.42.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz", - "integrity": "sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ==" + "version": "1.47.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", + "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==" }, "mime-types": { - "version": "2.1.25", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.25.tgz", - "integrity": "sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg==", + "version": "2.1.30", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", + "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", "requires": { - "mime-db": "1.42.0" + "mime-db": "1.47.0" } }, "mimic-fn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" }, "minimalistic-assert": { "version": "1.0.1", @@ -6374,6 +6272,11 @@ "brace-expansion": "^1.1.7" } }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, "mixin-deep": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", @@ -6394,18 +6297,11 @@ } }, "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", "requires": { - "minimist": ">=1.2.3" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - } + "minimist": "^1.2.5" } }, "monotone-convex-hull-2d": { @@ -6452,9 +6348,9 @@ } }, "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, "mumath": { "version": "3.3.4", @@ -6469,11 +6365,10 @@ "resolved": "https://registry.npmjs.org/murmurhash-js/-/murmurhash-js-1.0.0.tgz", "integrity": "sha1-sGJ44h/Gw3+lMTcysEEry2rhX1E=" }, - "nan": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", - "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", - "optional": true + "nanoid": { + "version": "3.1.23", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", + "integrity": "sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw==" }, "nanomatch": { "version": "1.2.13", @@ -6486,24 +6381,22 @@ "extend-shallow": "^3.0.2", "fragment-cache": "^0.2.1", "is-windows": "^1.0.2", - "kind-of": ">=6.0.3", + "kind-of": "^6.0.2", "object.pick": "^1.3.0", "regex-not": "^1.0.0", "snapdragon": "^0.8.1", "to-regex": "^3.0.1" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } } }, + "ncp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz", + "integrity": "sha1-GVoh1sRuNh0vsSgbo4uR6d9727M=" + }, "ndarray": { - "version": "1.0.18", - "resolved": "https://registry.npmjs.org/ndarray/-/ndarray-1.0.18.tgz", - "integrity": "sha1-tg06cyJOxVXQ+qeXEeUCRI/T95M=", + "version": "1.0.19", + "resolved": "https://registry.npmjs.org/ndarray/-/ndarray-1.0.19.tgz", + "integrity": "sha512-B4JHA4vdyZU30ELBw3g7/p9bZupyew5a7tX1Y/gGeF2hafrPaQZhgrGQfsvgfYbgdFZjYwuEcnaobeM/WMW+HQ==", "requires": { "iota-array": "^1.0.0", "is-buffer": "^1.0.2" @@ -6517,14 +6410,6 @@ "typedarray-pool": "^1.0.0" } }, - "ndarray-fill": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/ndarray-fill/-/ndarray-fill-1.0.2.tgz", - "integrity": "sha1-owpg9xiODJWC/N1YiWrNy1IqHtY=", - "requires": { - "cwise": "^1.0.10" - } - }, "ndarray-gradient": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/ndarray-gradient/-/ndarray-gradient-1.0.0.tgz", @@ -6534,15 +6419,6 @@ "dup": "^1.0.0" } }, - "ndarray-homography": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/ndarray-homography/-/ndarray-homography-1.0.0.tgz", - "integrity": "sha1-w1UW6oa8KGK06ASiNqJwcwn+KWs=", - "requires": { - "gl-matrix-invert": "^1.0.0", - "ndarray-warp": "^1.0.0" - } - }, "ndarray-linear-interpolate": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/ndarray-linear-interpolate/-/ndarray-linear-interpolate-1.0.0.tgz", @@ -6583,15 +6459,6 @@ "typedarray-pool": "^1.0.0" } }, - "ndarray-warp": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ndarray-warp/-/ndarray-warp-1.0.1.tgz", - "integrity": "sha1-qKElqqu6C+v5O9bKg+ar1oIqNOA=", - "requires": { - "cwise": "^1.0.4", - "ndarray-linear-interpolate": "^1.0.0" - } - }, "next-tick": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", @@ -6611,115 +6478,24 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" }, "node-addon-api": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.7.1.tgz", - "integrity": "sha512-2+DuKodWvwRTrCfKOeR24KIc5unKjOh8mz17NCzVnHWfjAdDqbfbjqh7gUT+BkXBRQM52+xCHciKWonJ3CbJMQ==" + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.0.tgz", + "integrity": "sha512-kcwSAWhPi4+QzAtsL2+2s/awvDo2GKLsvMCwNRxb5BUshteXU8U97NCyvQDsGKs/m0He9WcG4YWew/BnuLx++w==" }, "node-forge": { - "version": "0.7.6", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.6.tgz", - "integrity": "sha512-sol30LUpz1jQFBjOKwbjxijiE3b6pjd74YwfD0fJOKPjF+fONKb2Yg8rYgS6+bK6VDl+/wfr4IYpC7jDzLUIfw==" - }, - "node-libs-browser": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", - "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", - "requires": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^3.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", - "path-browserify": "0.0.1", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", - "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.11.0", - "vm-browserify": "^1.0.1" - }, - "dependencies": { - "events": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.0.0.tgz", - "integrity": "sha512-Dc381HFWJzEOhQ+d8pkNon++bk9h6cdAoAj4iE6Q4y6xgTzySWXlKn05/TVNpjnfRqi/X0EpJEJohPjNI3zpVA==" - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" - }, - "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - }, - "dependencies": { - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", - "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" - } - } - } - } + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" }, - "normalize-html-whitespace": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/normalize-html-whitespace/-/normalize-html-whitespace-1.0.0.tgz", - "integrity": "sha512-9ui7CGtOOlehQu0t/OhhlmDyc71mKVlv+4vF+me4iZLPrNtRL2xoquEdfZxasC/bdQi/Hr3iTrpyRKIG+ocabA==" + "node-gyp-build": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz", + "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==" }, - "normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + "node-releases": { + "version": "1.1.72", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz", + "integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==" }, "normalize-svg-path": { "version": "0.1.0", @@ -6744,6 +6520,11 @@ "boolbase": "~1.0.0" } }, + "nullthrows": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz", + "integrity": "sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw==" + }, "number-is-integer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-integer/-/number-is-integer-1.0.1.tgz", @@ -6752,11 +6533,6 @@ "is-finite": "^1.0.1" } }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" - }, "numeric": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/numeric/-/numeric-1.2.6.tgz", @@ -6784,7 +6560,7 @@ "requires": { "copy-descriptor": "^0.1.0", "define-property": "^0.2.5", - "kind-of": ">=6.0.3" + "kind-of": "^3.0.3" }, "dependencies": { "define-property": { @@ -6796,21 +6572,28 @@ } }, "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } } } }, "object-inspect": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", - "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==" + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.3.tgz", + "integrity": "sha512-e5mCJlSH7poANfC8z8S9s9S2IN5/4Zb3aZ33f5s8YqoazCFzNLloLU8r5VCG+G7WoqLvAAZoVMcy3tp/3X0Plw==" }, "object-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.0.2.tgz", - "integrity": "sha512-Epah+btZd5wrrfjkJZq1AOB9O6OxUQto45hzFd7lXGrpHPGE0W1k+426yrZV+k6NJOzLNNW/nVsmZdIWsAqoOQ==" + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", + "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + } }, "object-keys": { "version": "1.1.1", @@ -6826,23 +6609,24 @@ } }, "object.assign": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", - "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", "requires": { - "define-properties": "^1.1.2", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.0", - "object-keys": "^1.0.11" + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" } }, "object.getownpropertydescriptors": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz", - "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz", + "integrity": "sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ==", "requires": { + "call-bind": "^1.0.2", "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1" + "es-abstract": "^1.18.0-next.2" } }, "object.pick": { @@ -6854,13 +6638,13 @@ } }, "object.values": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz", - "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz", + "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==", "requires": { + "call-bind": "^1.0.2", "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1", - "function-bind": "^1.1.1", + "es-abstract": "^1.18.0-next.2", "has": "^1.0.3" } }, @@ -6881,19 +6665,20 @@ } }, "onetime": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "requires": { - "mimic-fn": "^1.0.0" + "mimic-fn": "^2.1.0" } }, - "opn": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz", - "integrity": "sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA==", + "open": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz", + "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==", "requires": { - "is-wsl": "^1.1.0" + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" } }, "optionator": { @@ -6910,16 +6695,49 @@ } }, "ora": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-2.1.0.tgz", - "integrity": "sha512-hNNlAd3gfv/iPmsNxYoAPLvxg7HuPozww7fFonMZvL84tP6Ox5igfk5j/+a9rtJJwqMgKK+JgWsAQik5o0HTLA==", - "requires": { - "chalk": "^2.3.1", - "cli-cursor": "^2.1.0", - "cli-spinners": "^1.1.0", - "log-symbols": "^2.2.0", - "strip-ansi": "^4.0.0", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.0.tgz", + "integrity": "sha512-1StwyXQGoU6gdjYkyVcqOLnVlbKj+6yPNNOxJVgpt9t4eksKjiriiHuxktLYkgllwk+D6MbC4ihH84L1udRXPg==", + "requires": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", "wcwidth": "^1.0.1" + }, + "dependencies": { + "bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "requires": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } } }, "orbit-camera-controller": { @@ -6936,32 +6754,6 @@ "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=" }, - "os-homedir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-2.0.0.tgz", - "integrity": "sha512-saRNz0DSC5C/I++gFIaJTXoFJMRwiP5zHar5vV3xQ2TkgEw6hDCcU5F272JjUylpiVgBrZNQHnfjkLabTfb92Q==" - }, - "p-limit": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.1.tgz", - "integrity": "sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==", - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "requires": { - "p-limit": "^2.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" - }, "pad-left": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pad-left/-/pad-left-1.0.2.tgz", @@ -6971,74 +6763,36 @@ } }, "pako": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", - "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=" - }, - "parcel-bundler": { - "version": "1.12.4", - "resolved": "https://registry.npmjs.org/parcel-bundler/-/parcel-bundler-1.12.4.tgz", - "integrity": "sha512-G+iZGGiPEXcRzw0fiRxWYCKxdt/F7l9a0xkiU4XbcVRJCSlBnioWEwJMutOCCpoQmaQtjB4RBHDGIHN85AIhLQ==", - "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/core": "^7.4.4", - "@babel/generator": "^7.4.4", - "@babel/parser": "^7.4.4", - "@babel/plugin-transform-flow-strip-types": "^7.4.4", - "@babel/plugin-transform-modules-commonjs": "^7.4.4", - "@babel/plugin-transform-react-jsx": "^7.0.0", - "@babel/preset-env": "^7.4.4", - "@babel/runtime": "^7.4.4", - "@babel/template": "^7.4.4", - "@babel/traverse": "^7.4.4", - "@babel/types": "^7.4.4", - "@iarna/toml": "^2.2.0", - "@parcel/fs": "^1.11.0", - "@parcel/logger": "^1.11.1", - "@parcel/utils": "^1.11.0", - "@parcel/watcher": "^1.12.1", - "@parcel/workers": "^1.11.0", - "ansi-to-html": "^0.6.4", - "babylon-walk": "^1.0.2", - "browserslist": "^4.1.0", - "chalk": "^2.1.0", - "clone": "^2.1.1", - "command-exists": "^1.2.6", - "commander": "^2.11.0", - "core-js": "^2.6.5", - "cross-spawn": "^6.0.4", - "css-modules-loader-core": "^1.1.0", - "cssnano": "^4.0.0", - "deasync": "^0.1.14", - "dotenv": "^5.0.0", - "dotenv-expand": "^5.1.0", - "envinfo": "^7.3.1", - "fast-glob": "^2.2.2", - "filesize": "^3.6.0", - "get-port": "^3.2.0", - "htmlnano": "^0.2.2", - "is-glob": "^4.0.0", - "is-url": "^1.2.2", - "js-yaml": "^3.10.0", - "json5": "^1.0.1", - "micromatch": "^3.0.4", - "mkdirp": "^0.5.1", - "node-forge": "^0.7.1", - "node-libs-browser": "^2.0.0", - "opn": "^5.1.0", - "postcss": "^7.0.11", - "postcss-value-parser": "^3.3.1", - "posthtml": "^0.11.2", - "posthtml-parser": "^0.4.0", - "posthtml-render": "^1.1.3", - "resolve": "^1.4.0", - "semver": "^5.4.1", - "serialize-to-js": "^3.0.0", - "serve-static": "^1.12.4", - "source-map": "0.6.1", - "terser": "^3.7.3", - "v8-compile-cache": "^2.0.0", - "ws": "^5.1.1" + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "parcel": { + "version": "2.0.0-nightly.686", + "resolved": "https://registry.npmjs.org/parcel/-/parcel-2.0.0-nightly.686.tgz", + "integrity": "sha512-5jpqWBwltGFkr3J4XP8ID3AaE1Ik/eHeclfqjDsE8hYWBPZcqAnNbMzlBkyuWfc0dM5qY/uK0sUYXvz+0J8Z4A==", + "requires": { + "@parcel/config-default": "2.0.0-nightly.688+14a039f0", + "@parcel/core": "2.0.0-nightly.686+14a039f0", + "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", + "@parcel/events": "2.0.0-nightly.688+14a039f0", + "@parcel/fs": "2.0.0-nightly.688+14a039f0", + "@parcel/logger": "2.0.0-nightly.688+14a039f0", + "@parcel/package-manager": "2.0.0-nightly.688+14a039f0", + "@parcel/reporter-cli": "2.0.0-nightly.688+14a039f0", + "@parcel/reporter-dev-server": "2.0.0-nightly.688+14a039f0", + "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "chalk": "^4.1.0", + "commander": "^7.0.0", + "get-port": "^4.2.0", + "v8-compile-cache": "^2.0.0" + }, + "dependencies": { + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==" + } } }, "parenthesis": { @@ -7047,13 +6801,12 @@ "integrity": "sha512-iMtu+HCbLXVrpf6Ys/4YKhcFxbux3xK4ZVB9r+a2kMSqeeQWQoDNYlXIsOjwlT2ldYXZ3k5PVeBnYn7fbAo/Bg==" }, "parse-asn1": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.5.tgz", - "integrity": "sha512-jkMYn1dcJqF6d5CpU689bq7w/b5ALS9ROVSpQDPrZsqqesUJii9qutvoT5ltGedNXMO2e16YUWIghG9KxaViTQ==", + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", "requires": { - "asn1.js": "^4.0.0", + "asn1.js": "^5.2.0", "browserify-aes": "^1.0.0", - "create-hash": "^1.1.0", "evp_bytestokey": "^1.0.0", "pbkdf2": "^3.0.3", "safe-buffer": "^5.1.1" @@ -7102,34 +6855,39 @@ "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=" }, "path-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", - "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==" - }, - "path-dirname": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", - "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=" - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" + }, "path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" }, "path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "path-to-regexp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz", + "integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==" + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" }, "pbf": { "version": "3.2.1", @@ -7141,9 +6899,9 @@ } }, "pbkdf2": { - "version": "3.0.17", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", - "integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.2.tgz", + "integrity": "sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==", "requires": { "create-hash": "^1.1.2", "create-hmac": "^1.1.4", @@ -7174,16 +6932,16 @@ "typedarray-pool": "^1.0.0" } }, - "physical-cpu-count": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/physical-cpu-count/-/physical-cpu-count-2.0.0.tgz", - "integrity": "sha1-GN4vl+S/epVRrXURlCtUlverpmA=" - }, "pick-by-alias": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pick-by-alias/-/pick-by-alias-1.2.0.tgz", "integrity": "sha1-X3yysfIabh6ISgyHhVqko3NhEHs=" }, + "picomatch": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==" + }, "planar-dual": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/planar-dual/-/planar-dual-1.0.2.tgz", @@ -7208,69 +6966,76 @@ } }, "plotly.js": { - "version": "1.51.3", - "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-1.51.3.tgz", - "integrity": "sha512-1HsGdm+TPkJzxNvC3Whwh2U97FGrwCVDJ+W6s202qV5hJ0GQjqokPxGZalnjZDBLm0E1QAdQmiXBRVl10Pw+0A==", + "version": "1.58.4", + "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-1.58.4.tgz", + "integrity": "sha512-hdt/aEvkPjS1HJ7tJKcPqsqi9ErEZPhUFs4d2ANTLeBim+AmVcHzS1rtwr7ZrVCINgliW/+92u81omJoy+lbUw==", "requires": { "@plotly/d3-sankey": "0.7.2", "@plotly/d3-sankey-circular": "0.33.1", + "@plotly/point-cluster": "^3.1.9", "@turf/area": "^6.0.1", + "@turf/bbox": "^6.0.1", "@turf/centroid": "^6.0.2", "alpha-shape": "^1.0.0", "canvas-fit": "^1.5.0", - "color-normalize": "^1.5.0", - "color-rgba": "^2.1.1", + "color-alpha": "1.0.4", + "color-normalize": "1.5.0", + "color-parse": "1.3.8", + "color-rgba": "2.1.1", "convex-hull": "^1.0.3", "country-regex": "^1.1.0", - "d3": "^3.5.12", - "d3-force": "^1.0.6", - "d3-hierarchy": "^1.1.8", - "d3-interpolate": "1", + "d3": "^3.5.17", + "d3-force": "^1.2.1", + "d3-hierarchy": "^1.1.9", + "d3-interpolate": "^1.4.0", + "d3-time-format": "^2.2.3", "delaunay-triangulate": "^1.1.6", - "es6-promise": "^3.0.2", - "fast-isnumeric": "^1.1.3", - "gl-cone3d": "^1.5.1", - "gl-contour2d": "^1.1.6", - "gl-error3d": "^1.0.15", - "gl-heatmap2d": "^1.0.5", - "gl-line3d": "^1.1.11", + "es6-promise": "^4.2.8", + "fast-isnumeric": "^1.1.4", + "gl-cone3d": "^1.5.2", + "gl-contour2d": "^1.1.7", + "gl-error3d": "^1.0.16", + "gl-heatmap2d": "^1.1.0", + "gl-line3d": "1.2.1", "gl-mat4": "^1.2.0", - "gl-mesh3d": "^2.1.3", - "gl-plot2d": "^1.4.2", - "gl-plot3d": "^2.3.0", - "gl-pointcloud2d": "^1.0.2", - "gl-scatter3d": "^1.2.2", - "gl-select-box": "^1.0.3", + "gl-mesh3d": "^2.3.1", + "gl-plot2d": "^1.4.5", + "gl-plot3d": "^2.4.7", + "gl-pointcloud2d": "^1.0.3", + "gl-scatter3d": "^1.2.3", + "gl-select-box": "^1.0.4", "gl-spikes2d": "^1.0.2", - "gl-streamtube3d": "^1.4.0", - "gl-surface3d": "^1.4.6", + "gl-streamtube3d": "^1.4.1", + "gl-surface3d": "^1.6.0", "gl-text": "^1.1.8", - "glslify": "^7.0.0", + "glslify": "^7.1.1", "has-hover": "^1.0.1", "has-passive-events": "^1.0.0", - "mapbox-gl": "1.3.2", + "image-size": "^0.7.5", + "is-mobile": "^2.2.2", + "mapbox-gl": "1.10.1", "matrix-camera-controller": "^2.1.3", "mouse-change": "^1.4.0", "mouse-event-offset": "^3.0.2", "mouse-wheel": "^1.2.0", - "ndarray": "^1.0.18", - "ndarray-fill": "^1.0.2", - "ndarray-homography": "^1.0.0", - "point-cluster": "^3.1.8", + "ndarray": "^1.0.19", + "ndarray-linear-interpolate": "^1.0.0", + "parse-svg-path": "^0.1.2", "polybooljs": "^1.2.0", - "regl": "^1.3.11", - "regl-error2d": "^2.0.8", - "regl-line2d": "^3.0.15", - "regl-scatter2d": "^3.1.7", - "regl-splom": "^1.0.8", + "regl": "^1.6.1", + "regl-error2d": "^2.0.11", + "regl-line2d": "^3.0.18", + "regl-scatter2d": "^3.2.1", + "regl-splom": "^1.0.12", "right-now": "^1.0.0", "robust-orientation": "^1.1.3", "sane-topojson": "^4.0.0", "strongly-connected-components": "^1.0.1", "superscript-text": "^1.0.0", "svg-path-sdf": "^1.1.3", - "tinycolor2": "^1.4.1", - "topojson-client": "^2.1.0", + "tinycolor2": "^1.4.2", + "to-px": "1.0.1", + "topojson-client": "^3.1.0", "webgl-context": "^2.2.0", "world-calendars": "^1.0.3" } @@ -7280,25 +7045,6 @@ "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", "integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==" }, - "point-cluster": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/point-cluster/-/point-cluster-3.1.8.tgz", - "integrity": "sha512-7klIr45dpMeZuqjIK9+qBg3m2IhyZJNJkdqjJFw0Olq75FM8ojrTMjClVUrMjNYRVqtwztxCHH71Fyjhg+YwyQ==", - "requires": { - "array-bounds": "^1.0.1", - "array-normalize": "^1.1.4", - "binary-search-bounds": "^2.0.4", - "bubleify": "^1.1.0", - "clamp": "^1.0.1", - "defined": "^1.0.0", - "dtype": "^2.0.0", - "flatten-vertex-data": "^1.0.2", - "is-obj": "^1.0.1", - "math-log2": "^1.0.1", - "parse-rect": "^1.2.0", - "pick-by-alias": "^1.2.0" - } - }, "point-in-big-polygon": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/point-in-big-polygon/-/point-in-big-polygon-2.0.0.tgz", @@ -7336,15 +7082,81 @@ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" }, "postcss": { - "version": "7.0.25", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.25.tgz", - "integrity": "sha512-NXXVvWq9icrm/TgQC0O6YVFi4StfJz46M1iNd/h6B26Nvh/HKI+q4YZtFN/EjcInZliEscO/WL10BXnc1E5nwg==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.0.tgz", + "integrity": "sha512-+ogXpdAjWGa+fdYY5BQ96V/6tAo+TdSSIMP5huJBIygdWwKtVoB5JWZ7yUd4xZ8r+8Kvvx4nyg/PQ071H4UtcQ==", "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" + "colorette": "^1.2.2", + "nanoid": "^3.1.23", + "source-map-js": "^0.6.2" + } + }, + "postcss-calc": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.5.tgz", + "integrity": "sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==", + "requires": { + "postcss": "^7.0.27", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.0.2" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, "supports-color": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", @@ -7355,17 +7167,6 @@ } } }, - "postcss-calc": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.1.tgz", - "integrity": "sha512-oXqx0m6tb4N3JGdmeMSc/i91KppbYsFZKdH0xMOqK8V1rJlzrKlTdokz8ozUXLVejydRN6u2IddxpcijRj2FqQ==", - "requires": { - "css-unit-converter": "^1.1.1", - "postcss": "^7.0.5", - "postcss-selector-parser": "^5.0.0-rc.4", - "postcss-value-parser": "^3.3.1" - } - }, "postcss-colormin": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz", @@ -7376,15 +7177,157 @@ "has": "^1.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" - } - }, - "postcss-convert-values": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz", - "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==", - "requires": { - "postcss": "^7.0.0", + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-convert-values": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz", + "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==", + "requires": { + "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-discard-comments": { @@ -7393,6 +7336,72 @@ "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==", "requires": { "postcss": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-discard-duplicates": { @@ -7401,6 +7410,72 @@ "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==", "requires": { "postcss": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-discard-empty": { @@ -7409,6 +7484,72 @@ "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==", "requires": { "postcss": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-discard-overridden": { @@ -7417,6 +7558,72 @@ "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==", "requires": { "postcss": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-merge-longhand": { @@ -7428,6 +7635,77 @@ "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0", "stylehacks": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-merge-rules": { @@ -7443,15 +7721,79 @@ "vendors": "^1.0.0" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, "postcss-selector-parser": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", - "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", "requires": { - "dot-prop": "^4.1.1", + "dot-prop": "^5.2.0", "indexes-of": "^1.0.1", "uniq": "^1.0.1" } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -7462,6 +7804,77 @@ "requires": { "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-minify-gradients": { @@ -7473,6 +7886,77 @@ "is-color-stop": "^1.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-minify-params": { @@ -7486,6 +7970,77 @@ "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0", "uniqs": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-minify-selectors": { @@ -7499,15 +8054,198 @@ "postcss-selector-parser": "^3.0.0" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, "postcss-selector-parser": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", - "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", "requires": { - "dot-prop": "^4.1.1", + "dot-prop": "^5.2.0", "indexes-of": "^1.0.1", "uniq": "^1.0.1" } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-modules": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-3.2.2.tgz", + "integrity": "sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw==", + "requires": { + "generic-names": "^2.0.1", + "icss-replace-symbols": "^1.1.0", + "lodash.camelcase": "^4.3.0", + "postcss": "^7.0.32", + "postcss-modules-extract-imports": "^2.0.0", + "postcss-modules-local-by-default": "^3.0.2", + "postcss-modules-scope": "^2.2.0", + "postcss-modules-values": "^3.0.0", + "string-hash": "^1.1.1" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-modules-extract-imports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz", + "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==", + "requires": { + "postcss": "^7.0.5" + } + }, + "postcss-modules-local-by-default": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz", + "integrity": "sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==", + "requires": { + "icss-utils": "^4.1.1", + "postcss": "^7.0.32", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-modules-scope": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz", + "integrity": "sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==", + "requires": { + "postcss": "^7.0.6", + "postcss-selector-parser": "^6.0.0" + } + }, + "postcss-modules-values": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz", + "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==", + "requires": { + "icss-utils": "^4.0.0", + "postcss": "^7.0.6" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -7519,6 +8257,42 @@ "postcss": "^6.0.1" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, "postcss": { "version": "6.0.23", "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", @@ -7528,6 +8302,14 @@ "source-map": "^0.6.1", "supports-color": "^5.4.0" } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -7540,6 +8322,42 @@ "postcss": "^6.0.1" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, "postcss": { "version": "6.0.23", "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", @@ -7549,6 +8367,14 @@ "source-map": "^0.6.1", "supports-color": "^5.4.0" } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -7561,6 +8387,42 @@ "postcss": "^6.0.1" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, "postcss": { "version": "6.0.23", "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", @@ -7570,6 +8432,14 @@ "source-map": "^0.6.1", "supports-color": "^5.4.0" } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -7582,6 +8452,42 @@ "postcss": "^6.0.1" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, "postcss": { "version": "6.0.23", "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", @@ -7591,6 +8497,14 @@ "source-map": "^0.6.1", "supports-color": "^5.4.0" } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } } } }, @@ -7600,6 +8514,72 @@ "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==", "requires": { "postcss": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-normalize-display-values": { @@ -7610,6 +8590,77 @@ "cssnano-util-get-match": "^4.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-normalize-positions": { @@ -7621,6 +8672,77 @@ "has": "^1.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-normalize-repeat-style": { @@ -7632,6 +8754,77 @@ "cssnano-util-get-match": "^4.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-normalize-string": { @@ -7642,6 +8835,77 @@ "has": "^1.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-normalize-timing-functions": { @@ -7652,6 +8916,77 @@ "cssnano-util-get-match": "^4.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-normalize-unicode": { @@ -7662,6 +8997,77 @@ "browserslist": "^4.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-normalize-url": { @@ -7673,6 +9079,77 @@ "normalize-url": "^3.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-normalize-whitespace": { @@ -7682,6 +9159,77 @@ "requires": { "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-ordered-values": { @@ -7692,6 +9240,77 @@ "cssnano-util-get-arguments": "^4.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-reduce-initial": { @@ -7703,6 +9322,72 @@ "caniuse-api": "^3.0.0", "has": "^1.0.0", "postcss": "^7.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-reduce-transforms": { @@ -7714,34 +9399,167 @@ "has": "^1.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-selector-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz", - "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz", + "integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==", "requires": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "dependencies": { - "cssesc": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", - "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==" - } + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" } }, "postcss-svgo": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz", - "integrity": "sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.3.tgz", + "integrity": "sha512-NoRbrcMWTtUghzuKSoIm6XV+sJdvZ7GZSc3wdBN0W19FTtp2ko8NqLsgoh/m9CzNhU3KLPvQmjIwtaNFkaFTvw==", "requires": { - "is-svg": "^3.0.0", "postcss": "^7.0.0", "postcss-value-parser": "^3.0.0", "svgo": "^1.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-value-parser": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", + "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-unique-selectors": { @@ -7752,34 +9570,100 @@ "alphanum-sort": "^1.0.0", "postcss": "^7.0.0", "uniqs": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", + "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" }, "posthtml": { - "version": "0.11.6", - "resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.11.6.tgz", - "integrity": "sha512-C2hrAPzmRdpuL3iH0TDdQ6XCc9M7Dcc3zEW5BLerY65G4tWWszwv6nG/ksi6ul5i2mx22ubdljgktXCtNkydkw==", + "version": "0.15.2", + "resolved": "https://registry.npmjs.org/posthtml/-/posthtml-0.15.2.tgz", + "integrity": "sha512-YugEJ5ze/0DLRIVBjCpDwANWL4pPj1kHJ/2llY8xuInr0nbkon3qTiMPe5LQa+cCwNjxS7nAZZTp+1M+6mT4Zg==", "requires": { - "posthtml-parser": "^0.4.1", - "posthtml-render": "^1.1.5" + "posthtml-parser": "^0.7.2", + "posthtml-render": "^1.3.1" } }, "posthtml-parser": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.4.2.tgz", - "integrity": "sha512-BUIorsYJTvS9UhXxPTzupIztOMVNPa/HtAm9KHni9z6qEfiJ1bpOBL5DfUOL9XAc3XkLIEzBzpph+Zbm4AdRAg==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.7.2.tgz", + "integrity": "sha512-LjEEG/3fNcWZtBfsOE3Gbyg1Li4CmsZRkH1UmbMR7nKdMXVMYI3B4/ZMiCpaq8aI1Aym4FRMMW9SAOLSwOnNsQ==", "requires": { - "htmlparser2": "^3.9.2" + "htmlparser2": "^6.0.0" } }, "posthtml-render": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/posthtml-render/-/posthtml-render-1.1.5.tgz", - "integrity": "sha512-yvt54j0zCBHQVEFAuR+yHld8CZrCa/E1Z/OcFNCV1IEWTLVxT8O7nYnM4IIw1CD4r8kaRd3lc42+0lgCKgm87w==" + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/posthtml-render/-/posthtml-render-1.4.0.tgz", + "integrity": "sha512-W1779iVHGfq0Fvh2PROhCe2QhB8mEErgqzo1wpIt36tCgChafP+hbXIhLDOM8ePJrZcFs0vkNEtdibEWVqChqw==" }, "potpack": { "version": "1.0.1", @@ -7791,11 +9675,6 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" }, - "private": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==" - }, "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", @@ -7807,14 +9686,14 @@ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, "protocol-buffers-schema": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.3.2.tgz", - "integrity": "sha512-Xdayp8sB/mU+sUV4G7ws8xtYMGdQnxbeIfLjyO9TZZRJdztBGhlmbI5x1qcY4TG5hBkIKGnc28i7nXxaugu88w==" + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.5.1.tgz", + "integrity": "sha512-YVCvdhxWNDP8/nJDyXLuM+UFsuPk4+1PB7WGPVDzm3HTHbzFLxQYeW2iZpS4mmnXrQJGBzt230t/BbEb7PrQaw==" }, "psl": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.6.0.tgz", - "integrity": "sha512-SYKKmVel98NCOYXpkwUqZqh0ahZeeKfmisiLIcEZdsb+WbLv02g/dI5BUmZnIyOe7RzZtLax81nnb2HbvC2tzA==" + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" }, "public-encrypt": { "version": "4.0.3", @@ -7835,70 +9714,83 @@ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" }, "purgecss": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-1.4.2.tgz", - "integrity": "sha512-hkOreFTgiyMHMmC2BxzdIw5DuC6kxAbP/gGOGd3MEsF3+5m69rIvUEPaxrnoUtfODTFKe9hcXjGwC6jcjoyhOw==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-2.3.0.tgz", + "integrity": "sha512-BE5CROfVGsx2XIhxGuZAT7rTH9lLeQx/6M0P7DTXQH4IUc3BBzs9JUzt4yzGf3JrH9enkeq6YJBe9CTtkm1WmQ==", "requires": { - "glob": "^7.1.3", - "postcss": "^7.0.14", - "postcss-selector-parser": "^6.0.0", - "yargs": "^14.0.0" + "commander": "^5.0.0", + "glob": "^7.0.0", + "postcss": "7.0.32", + "postcss-selector-parser": "^6.0.2" }, "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" - }, - "cliui": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", - "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "requires": { - "string-width": "^3.1.0", - "strip-ansi": "^5.2.0", - "wrap-ansi": "^5.1.0" + "color-convert": "^1.9.0" } }, - "cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==" + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } }, - "postcss-selector-parser": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz", - "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==", + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "requires": { - "cssesc": "^3.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" + "color-name": "1.1.3" } }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "commander": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", + "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.32", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.32.tgz", + "integrity": "sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==", "requires": { - "ansi-regex": "^4.1.0" + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" } }, - "yargs": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-14.2.2.tgz", - "integrity": "sha512-/4ld+4VV5RnrynMhPZJ/ZpOCGSCeghMykZ3BhdFBDa9Wy/RH6uEGNWDJog+aUlq+9OM1CFTgtYRW5Is1Po9NOA==", + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", "requires": { - "cliui": "^5.0.0", - "decamelize": "^1.2.0", - "find-up": "^3.0.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^3.0.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^15.0.0" + "has-flag": "^3.0.0" } } } @@ -7917,9 +9809,9 @@ }, "dependencies": { "is-buffer": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", - "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", + "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==" } } }, @@ -7947,58 +9839,25 @@ } }, "querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz", + "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==" }, "querystring-es3": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=" }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + }, "quickselect": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/quickselect/-/quickselect-2.0.0.tgz", "integrity": "sha512-RKJ22hX8mHe3Y6wH/N3wCM6BWtjaxIyyUIkpHOvfFnxdI4yD4tBXEBKSbriGujF6jnSVkJrffuo6vxACiSSxIw==" }, - "quote-stream": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/quote-stream/-/quote-stream-0.0.0.tgz", - "integrity": "sha1-zeKelMQJsW4Z3HCYuJtmWPlyHTs=", - "requires": { - "minimist": ">=1.2.3", - "through2": "~0.4.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "object-keys": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", - "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=" - }, - "through2": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-0.4.2.tgz", - "integrity": "sha1-2/WGYDEVHsg1K7bE22SiKSqEC5s=", - "requires": { - "readable-stream": "~1.0.17", - "xtend": "~2.1.1" - } - }, - "xtend": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", - "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", - "requires": { - "object-keys": "~0.4.0" - } - } - } - }, "raf": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", @@ -8025,9 +9884,9 @@ } }, "range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=" }, "rat-vec": { "version": "1.1.1", @@ -8037,6 +9896,11 @@ "big-rat": "^1.0.3" } }, + "react-refresh": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.9.0.tgz", + "integrity": "sha512-Gvzk7OZpiqKSkxsQvO/mbTN1poglhmAV7gR/DdIrRrSMXraRQQlfikRJOr3Nb9GTMPC5kof948Zy6jJZIFtDvQ==" + }, "readable-stream": { "version": "1.0.34", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", @@ -8048,65 +9912,6 @@ "string_decoder": "~0.10.x" } }, - "readdirp": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", - "requires": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" - }, - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, - "redeyed": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/redeyed/-/redeyed-0.4.4.tgz", - "integrity": "sha1-N+mQpvKyGyoRwuakj9QTVpjLqX8=", - "requires": { - "esprima": "~1.0.4" - }, - "dependencies": { - "esprima": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz", - "integrity": "sha1-n1V+CPw7TSbs6d00+Pv0drYlha0=" - } - } - }, "reduce-simplicial-complex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/reduce-simplicial-complex/-/reduce-simplicial-complex-1.0.0.tgz", @@ -8117,31 +9922,10 @@ "compare-oriented-cell": "^1.0.1" } }, - "regenerate": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", - "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==" - }, - "regenerate-unicode-properties": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz", - "integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==", - "requires": { - "regenerate": "^1.4.0" - } - }, "regenerator-runtime": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz", - "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw==" - }, - "regenerator-transform": { - "version": "0.14.1", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.1.tgz", - "integrity": "sha512-flVuee02C3FKRISbxhXl9mGzdbWUVHubl1SMaknjxkFB1/iqpJhArQUvRxOOPEc/9tAiX0BaQ28FJH10E4isSQ==", - "requires": { - "private": "^0.1.6" - } + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" }, "regex-not": { "version": "1.0.2", @@ -8157,53 +9941,17 @@ "resolved": "https://registry.npmjs.org/regex-regex/-/regex-regex-1.0.0.tgz", "integrity": "sha1-kEih6uuHD01IDavHb8Qs3MC8OnI=" }, - "regexp.prototype.flags": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", - "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==", - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1" - } - }, - "regexpu-core": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.6.0.tgz", - "integrity": "sha512-YlVaefl8P5BnFYOITTNzDvan1ulLOiXJzCNZxduTIosN17b87h3bvG9yHMoHaRuo88H4mQ06Aodj5VtYGGGiTg==", - "requires": { - "regenerate": "^1.4.0", - "regenerate-unicode-properties": "^8.1.0", - "regjsgen": "^0.5.0", - "regjsparser": "^0.6.0", - "unicode-match-property-ecmascript": "^1.0.4", - "unicode-match-property-value-ecmascript": "^1.1.0" - } - }, - "regjsgen": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz", - "integrity": "sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg==" - }, - "regjsparser": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.1.tgz", - "integrity": "sha512-7LutE94sz/NKSYegK+/4E77+8DipxF+Qn2Tmu362AcmsF2NYq/wx3+ObvU90TKEhjf7hQoFXo23ajjrXP7eUgg==", - "requires": { - "jsesc": "~0.5.0" - } - }, "regl": { - "version": "1.3.13", - "resolved": "https://registry.npmjs.org/regl/-/regl-1.3.13.tgz", - "integrity": "sha512-TTiCabJbbUykCL4otjqOvKqDFJhvJOT7xB51JxcDeSHGrEJl1zz4RthPcoOogqfuR3ECN4Te790DfHCXzli5WQ==" + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/regl/-/regl-1.7.0.tgz", + "integrity": "sha512-bEAtp/qrtKucxXSJkD4ebopFZYP0q1+3Vb2WECWv/T8yQEgKxDxJ7ztO285tAMaYZVR6mM1GgI6CCn8FROtL1w==" }, "regl-error2d": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/regl-error2d/-/regl-error2d-2.0.8.tgz", - "integrity": "sha512-5nszdicXbimRUnYB42i+O7KPcla7PzI62nZLCP6qVRKlQCf3rSrWbikMNd1S84LE8+deWHWcb8rZ/v7rZ9qmmw==", + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/regl-error2d/-/regl-error2d-2.0.11.tgz", + "integrity": "sha512-Bv4DbLtDU69GXPSm+NvlVWzT82oQ8M2FK+SxzkyaYMlA9izZRdLmDADqBSyJTnPWiRT4a/2KA+MP+WI0N0yt7Q==", "requires": { "array-bounds": "^1.0.1", - "bubleify": "^1.2.0", "color-normalize": "^1.5.0", "flatten-vertex-data": "^1.0.2", "object-assign": "^4.1.1", @@ -8213,13 +9961,13 @@ } }, "regl-line2d": { - "version": "3.0.15", - "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.0.15.tgz", - "integrity": "sha512-RuQbg9iZ6MyuInG8izF6zjQ/2g4qL6sg1egiuFalWzaGSvuve/IWBsIcqKTlwpiEsRt9b4cHu9NYs2fLt1gYJw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.1.0.tgz", + "integrity": "sha512-8dB3SyAW5zTU759LrIJdkOe128htl1xlONHrknsFl1tAxZVqTc+WO/2k9pAJDuyiKu1v/6bosiuEDOB7G3dm4w==", "requires": { "array-bounds": "^1.0.1", + "array-find-index": "^1.0.2", "array-normalize": "^1.1.4", - "bubleify": "^1.2.0", "color-normalize": "^1.5.0", "earcut": "^2.1.5", "es6-weak-map": "^2.0.3", @@ -8232,15 +9980,16 @@ } }, "regl-scatter2d": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/regl-scatter2d/-/regl-scatter2d-3.1.7.tgz", - "integrity": "sha512-FWw1hMsQrV3Y0zMU8YOytGjwSBuV3V58t8GR/mhlSL2S04jXLK1m2eAa/rDP3SpvMDkdVEr744PPDeHwsZVUhA==", + "version": "3.2.3", + "resolved": "https://registry.npmjs.org/regl-scatter2d/-/regl-scatter2d-3.2.3.tgz", + "integrity": "sha512-wURiMVjNrcBoED0SMYH9Accs0CovdnBWWuzH/WgT0kuJ3kDzia1vhmEUA2JZ/beozalARkFAy/C2K/4Nd1eZqQ==", "requires": { + "@plotly/point-cluster": "^3.1.9", "array-range": "^1.0.1", "array-rearrange": "^2.2.2", "clamp": "^1.0.1", "color-id": "^1.1.0", - "color-normalize": "1.5.0", + "color-normalize": "^1.5.0", "color-rgba": "^2.1.1", "flatten-vertex-data": "^1.0.2", "glslify": "^7.0.0", @@ -8249,39 +9998,34 @@ "object-assign": "^4.1.1", "parse-rect": "^1.2.0", "pick-by-alias": "^1.2.0", - "point-cluster": "^3.1.8", "to-float32": "^1.0.1", "update-diff": "^1.1.0" } }, "regl-splom": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/regl-splom/-/regl-splom-1.0.8.tgz", - "integrity": "sha512-4GQTgcArCbGLsXhgalWVBxeW7OXllnu+Gvil/4SbQQmtiqLCl+xgF79pISKY9mLXTlobxiX7cVKdjGjp25559A==", + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/regl-splom/-/regl-splom-1.0.14.tgz", + "integrity": "sha512-OiLqjmPRYbd7kDlHC6/zDf6L8lxgDC65BhC8JirhP4ykrK4x22ZyS+BnY8EUinXKDeMgmpRwCvUmk7BK4Nweuw==", "requires": { "array-bounds": "^1.0.1", "array-range": "^1.0.1", - "bubleify": "^1.2.0", "color-alpha": "^1.0.4", - "defined": "^1.0.0", "flatten-vertex-data": "^1.0.2", - "left-pad": "^1.3.0", "parse-rect": "^1.2.0", "pick-by-alias": "^1.2.0", - "point-cluster": "^3.1.8", "raf": "^3.4.1", - "regl-scatter2d": "^3.1.2" + "regl-scatter2d": "^3.2.3" } }, - "remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=" + "relateurl": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", + "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=" }, "repeat-element": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==" + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz", + "integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==" }, "repeat-string": { "version": "1.6.1", @@ -8289,9 +10033,9 @@ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=" }, "request": { - "version": "2.88.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", "requires": { "aws-sign2": "~0.7.0", "aws4": "^1.8.0", @@ -8300,7 +10044,7 @@ "extend": "~3.0.2", "forever-agent": "~0.6.1", "form-data": "~2.3.2", - "har-validator": "~5.1.0", + "har-validator": "~5.1.3", "http-signature": "~1.2.0", "is-typedarray": "~1.0.0", "isstream": "~0.1.2", @@ -8308,62 +10052,42 @@ "mime-types": "~2.1.19", "oauth-sign": "~0.9.0", "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.4.3", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "dependencies": { - "punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" - }, - "tough-cookie": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", - "requires": { - "psl": "^1.1.24", - "punycode": "^1.4.1" - } - } + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" } }, "request-promise-core": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.3.tgz", - "integrity": "sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", + "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", "requires": { - "lodash": "^4.17.15" + "lodash": "^4.17.19" } }, "request-promise-native": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.8.tgz", - "integrity": "sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", + "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", "requires": { - "request-promise-core": "1.1.3", + "request-promise-core": "1.1.4", "stealthy-require": "^1.1.1", "tough-cookie": "^2.3.3" } }, - "require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" - }, - "require-main-filename": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" }, "resolve": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.13.1.tgz", - "integrity": "sha512-CxqObCX8K8YtAhOBRg+lrcdn+LK+WYOS8tSjqSFbjtrI5PnS63QPhZl4+yKfrU9tdsbMu9Anr/amegT87M9Z6w==", + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", "requires": { + "is-core-module": "^2.2.0", "path-parse": "^1.0.6" } }, @@ -8386,27 +10110,24 @@ "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" }, "restore-cursor": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", "requires": { - "onetime": "^2.0.0", + "onetime": "^5.1.0", "signal-exit": "^3.0.2" } }, - "resumer": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/resumer/-/resumer-0.0.0.tgz", - "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", - "requires": { - "through": "~2.3.4" - } - }, "ret": { "version": "0.1.15", "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + }, "rgb-regex": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz", @@ -8417,23 +10138,15 @@ "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz", "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=" }, - "right-align": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", - "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", - "requires": { - "align-text": "^0.1.1" - } - }, "right-now": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/right-now/-/right-now-1.0.0.tgz", "integrity": "sha1-bolgne69fc2vja7Mmuo5z1haCRg=" }, "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "requires": { "glob": "^7.1.3" } @@ -8538,6 +10251,14 @@ "resolved": "https://registry.npmjs.org/robust-sum/-/robust-sum-1.0.0.tgz", "integrity": "sha1-FmRuUlKStNJdgnV6KGlV4Lv6U9k=" }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "requires": { + "queue-microtask": "^1.2.2" + } + }, "rw": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", @@ -8584,69 +10305,36 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" }, - "send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "requires": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" + "serve-handler": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.3.tgz", + "integrity": "sha512-FosMqFBNrLyeiIDvP1zgO6YoTzFYHxLDEIavhlmQ+knB2Z7l1t+kGLHkZIDN7UVWqQAmKI3D20A6F6jo3nDd4w==", + "requires": { + "bytes": "3.0.0", + "content-disposition": "0.5.2", + "fast-url-parser": "1.1.3", + "mime-types": "2.1.18", + "minimatch": "3.0.4", + "path-is-inside": "1.0.2", + "path-to-regexp": "2.2.1", + "range-parser": "1.2.0" }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "mime-db": { + "version": "1.33.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", + "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==" + }, + "mime-types": { + "version": "2.1.18", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz", + "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==", "requires": { - "ms": "2.0.0" - }, - "dependencies": { - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - } + "mime-db": "~1.33.0" } - }, - "ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" } } }, - "serialize-to-js": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/serialize-to-js/-/serialize-to-js-3.0.2.tgz", - "integrity": "sha512-o5FqeMyxGx1wkp8p14q9QqGXh1JjXtIDYTr15N/B4ThM5ULqlpXdtOO84m950jFGvBkeRD1utW+WyNKvao2ybQ==" - }, - "serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "requires": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - } - }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, "set-value": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", @@ -8673,11 +10361,6 @@ "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" }, - "setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, "sha.js": { "version": "2.4.11", "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", @@ -8692,23 +10375,6 @@ "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz", "integrity": "sha1-QV9CcC1z2BAzApLMXuhurhoRoXA=" }, - "sharkdown": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/sharkdown/-/sharkdown-0.1.1.tgz", - "integrity": "sha512-exwooSpmo5s45lrexgz6Q0rFQM574wYIX3iDZ7RLLqOb7IAoQZu9nxlZODU972g19sR69OIpKP2cpHTzU+PHIg==", - "requires": { - "cardinal": "~0.4.2", - "minimist": ">=1.2.3", - "split": "~0.2.10" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - } - } - }, "shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", @@ -8723,9 +10389,9 @@ "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" }, "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" }, "signum": { "version": "0.0.0", @@ -8823,6 +10489,21 @@ } } }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==" + }, + "slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "requires": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + } + }, "snapdragon": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", @@ -8838,14 +10519,6 @@ "use": "^3.1.0" }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "requires": { - "ms": "2.0.0" - } - }, "define-property": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", @@ -8862,11 +10535,6 @@ "is-extendable": "^0.1.0" } }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -8897,14 +10565,7 @@ "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.0" } }, "is-data-descriptor": { @@ -8912,14 +10573,7 @@ "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "requires": { - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.0" } }, "is-descriptor": { @@ -8929,20 +10583,8 @@ "requires": { "is-accessor-descriptor": "^1.0.0", "is-data-descriptor": "^1.0.0", - "kind-of": ">=6.0.3" - }, - "dependencies": { - "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" - } + "kind-of": "^6.0.2" } - }, - "kind-of": { - "version": ">=6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" } } }, @@ -8951,13 +10593,16 @@ "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "requires": { - "kind-of": ">=6.0.3" + "kind-of": "^3.2.0" }, "dependencies": { "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } } } }, @@ -8966,12 +10611,17 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, + "source-map-js": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-0.6.2.tgz", + "integrity": "sha512-/3GptzWzu0+0MBQFrDKzw/DvvMTUORvgY6k6jd/VS6iCR4RDTKWH6v6WPwQoUO8667uQEf9Oe38DxAYWY5F/Ug==" + }, "source-map-resolve": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz", - "integrity": "sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==", + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", "requires": { - "atob": "^2.1.1", + "atob": "^2.1.2", "decode-uri-component": "^0.2.0", "resolve-url": "^0.2.1", "source-map-url": "^0.4.0", @@ -8979,31 +10629,18 @@ } }, "source-map-support": { - "version": "0.5.16", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz", - "integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==", + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" } }, "source-map-url": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", - "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=" - }, - "sourcemap-codec": { - "version": "1.4.6", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz", - "integrity": "sha512-1ZooVLYFxC448piVLBbtOxFcXwnymH9oUF8nRd3CuYDVvkRBxRl6pB4Mtas5a4drtL+E8LDgFkQNcgIw6tc8Hg==" - }, - "split": { - "version": "0.2.10", - "resolved": "https://registry.npmjs.org/split/-/split-0.2.10.tgz", - "integrity": "sha1-Zwl8YB1pfOE2j0GPBs0gHPBSGlc=", - "requires": { - "through": "2" - } + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==" }, "split-polygon": { "version": "1.0.0", @@ -9022,11 +10659,44 @@ "extend-shallow": "^3.0.0" } }, + "split2": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "requires": { + "readable-stream": "^3.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, "sprintf-js": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==" }, + "srcset": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/srcset/-/srcset-3.0.1.tgz", + "integrity": "sha512-MM8wDGg5BQJEj94tDrZDrX9wrC439/Eoeg3sgmVLPMjHgrAFeXAKk3tmFlCbKw5k+yOEhPXRpPlRcisQmqWVSQ==" + }, "sshpk": { "version": "1.16.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", @@ -9054,9 +10724,9 @@ "integrity": "sha1-qPbq7KkGdMMz58Q5U/J1tFFRBpU=" }, "static-eval": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.0.3.tgz", - "integrity": "sha512-zsxDGucfAh8T339sSKgpFbvg15Fms2IVaJGC+jqp0bVsxhcpM+iMeAI8weNo8dmf4OblgifTBUoyk1vGVtYw2w==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.1.0.tgz", + "integrity": "sha512-agtxZ/kWSsCkI5E4QifRwsaPs0P0JmZV6dkLz6ILYfFYQGn+5plctanRN+IC8dJRiFkyXHrwEE3W9Wmx67uDbw==", "requires": { "escodegen": "^1.11.1" } @@ -9080,118 +10750,6 @@ } } }, - "static-module": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/static-module/-/static-module-1.5.0.tgz", - "integrity": "sha1-J9qYg8QajNCSNvhC8MHrxu32PYY=", - "requires": { - "concat-stream": "~1.6.0", - "duplexer2": "~0.0.2", - "escodegen": "~1.3.2", - "falafel": "^2.1.0", - "has": "^1.0.0", - "object-inspect": "~0.4.0", - "quote-stream": "~0.0.0", - "readable-stream": "~1.0.27-1", - "shallow-copy": "~0.0.1", - "static-eval": "~0.2.0", - "through2": "~0.4.1" - }, - "dependencies": { - "escodegen": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.3.3.tgz", - "integrity": "sha1-8CQBb1qI4Eb9EgBQVek5gC5sXyM=", - "requires": { - "esprima": "~1.1.1", - "estraverse": "~1.5.0", - "esutils": "~1.0.0", - "source-map": "~0.1.33" - } - }, - "esprima": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.1.1.tgz", - "integrity": "sha1-W28VR/TRAuZw4UDFCb5ncdautUk=" - }, - "estraverse": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.5.1.tgz", - "integrity": "sha1-hno+jlip+EYYr7bC3bzZFrfLr3E=" - }, - "esutils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-1.0.0.tgz", - "integrity": "sha1-gVHTWOIMisx/t0XnRywAJf5JZXA=" - }, - "object-inspect": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-0.4.0.tgz", - "integrity": "sha1-9RV8EWwUVbJDsG7pdwM5LFrYn+w=" - }, - "object-keys": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-0.4.0.tgz", - "integrity": "sha1-KKaq50KN0sOpLz2V8hM13SBOAzY=" - }, - "source-map": { - "version": "0.1.43", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", - "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", - "optional": true, - "requires": { - "amdefine": ">=0.0.4" - } - }, - "static-eval": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-0.2.4.tgz", - "integrity": "sha1-t9NNg4k3uWn5ZBygfUj47eJj6ns=", - "requires": { - "escodegen": "~0.0.24" - }, - "dependencies": { - "escodegen": { - "version": "0.0.28", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-0.0.28.tgz", - "integrity": "sha1-Dk/xcV8yh3XWyrUaxEpAbNer/9M=", - "requires": { - "esprima": "~1.0.2", - "estraverse": "~1.3.0", - "source-map": ">= 0.1.2" - } - }, - "esprima": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz", - "integrity": "sha1-n1V+CPw7TSbs6d00+Pv0drYlha0=" - }, - "estraverse": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.3.2.tgz", - "integrity": "sha1-N8K4k+8T1yPydth41g2FNRUqbEI=" - } - } - }, - "through2": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-0.4.2.tgz", - "integrity": "sha1-2/WGYDEVHsg1K7bE22SiKSqEC5s=", - "requires": { - "readable-stream": "~1.0.17", - "xtend": "~2.1.1" - } - }, - "xtend": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-2.1.2.tgz", - "integrity": "sha1-bv7MKk2tjmlixJAbM3znuoe10os=", - "requires": { - "object-keys": "~0.4.0" - } - } - } - }, "statuses": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", @@ -9202,91 +10760,33 @@ "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=" }, - "stream-browserify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", - "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", - "requires": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" - }, - "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", - "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "requires": { - "safe-buffer": "~5.1.0" - } - } - } - }, "stream-http": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", - "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.2.0.tgz", + "integrity": "sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A==", "requires": { "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "xtend": "^4.0.2" }, "dependencies": { - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, "readable-stream": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", - "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" } }, - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, "string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "requires": { - "safe-buffer": "~5.1.0" + "safe-buffer": "~5.2.0" } } } @@ -9296,6 +10796,11 @@ "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" }, + "string-hash": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/string-hash/-/string-hash-1.1.3.tgz", + "integrity": "sha1-6Kr8CsGFW0Zmkp7X3RJ1311sgRs=" + }, "string-split-by": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/string-split-by/-/string-split-by-1.0.0.tgz", @@ -9311,66 +10816,41 @@ "requires": { "atob-lite": "^2.0.0", "is-base64": "^0.1.0" - }, - "dependencies": { - "atob-lite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz", - "integrity": "sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=" - } - } - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "requires": { - "ansi-regex": "^4.1.0" - } + }, + "dependencies": { + "atob-lite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/atob-lite/-/atob-lite-2.0.0.tgz", + "integrity": "sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=" } } }, - "string.prototype.trim": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.1.tgz", - "integrity": "sha512-MjGFEeqixw47dAMFMtgUro/I0+wNqZB5GKXGt1fFr24u3TzDXCPu7J9Buppzoe3r/LqkSDLDDJzE15RGWDGAVw==", + "string-width": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", + "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1", - "function-bind": "^1.1.1" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" } }, - "string.prototype.trimleft": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz", - "integrity": "sha512-FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==", + "string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", "requires": { - "define-properties": "^1.1.3", - "function-bind": "^1.1.1" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" } }, - "string.prototype.trimright": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz", - "integrity": "sha512-fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==", + "string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", "requires": { - "define-properties": "^1.1.3", - "function-bind": "^1.1.1" + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" } }, "string_decoder": { @@ -9379,11 +10859,11 @@ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" }, "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "requires": { - "ansi-regex": "^3.0.0" + "ansi-regex": "^5.0.0" } }, "strongly-connected-components": { @@ -9401,22 +10881,86 @@ "postcss-selector-parser": "^3.0.0" }, "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, "postcss-selector-parser": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.1.tgz", - "integrity": "sha1-T4dfSvsMllc9XPTXQBGu4lCn6GU=", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", + "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", "requires": { - "dot-prop": "^4.1.1", + "dot-prop": "^5.2.0", "indexes-of": "^1.0.1", "uniq": "^1.0.1" } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } } } }, "supercluster": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-6.0.2.tgz", - "integrity": "sha512-aa0v2HURjBTOpbcknilcfxGDuArM8khklKSmZ/T8ZXL0BuRwb5aRw95lz+2bmWpFvCXDX/+FzqHxmg0TIaJErw==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/supercluster/-/supercluster-7.1.3.tgz", + "integrity": "sha512-7+bR4FbF5SYsmkHfDp61QiwCKtwNDyPsddk9TzfsDA5DQr5Goii5CVD2SXjglweFCxjrzVZf945ahqYfUIk8UA==", "requires": { "kdbush": "^3.0.0" } @@ -9427,11 +10971,11 @@ "integrity": "sha1-58snUlZzYN9QvrBhDOjfPXHY39g=" }, "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "requires": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" } }, "surface-nets": { @@ -9450,9 +10994,9 @@ "integrity": "sha512-djbJ/vZKZO+gPoSDThGNpKDO+o+bAeA4XQKovvkNCqnIS2t+S4qnLAGQhyyrulhCFRl1WWzAp0wUDV8PpTVU3g==" }, "svg-path-bounds": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/svg-path-bounds/-/svg-path-bounds-1.0.1.tgz", - "integrity": "sha1-v0WLeDcmv1NDG0Yz8nkvYHSNn3Q=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/svg-path-bounds/-/svg-path-bounds-1.0.2.tgz", + "integrity": "sha512-H4/uAgLWrppIC0kHsb2/dWUYSmb4GE5UqH06uqWBcg6LBjX2fu0A8+JrO2/FJPZiSsNOKZAhyFFgsLTdYUvSqQ==", "requires": { "abs-svg-path": "^0.1.1", "is-svg-path": "^1.0.1", @@ -9461,9 +11005,9 @@ }, "dependencies": { "normalize-svg-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-1.0.1.tgz", - "integrity": "sha1-b3Ka1rcLtMpO/y/ksQdInv4dVv4=", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/normalize-svg-path/-/normalize-svg-path-1.1.0.tgz", + "integrity": "sha512-r9KHKG2UUeB5LoTouwDzBy2VxXlHsiM6fyLQvnJa0S5hrhzqElH/CH7TUGhT1fVvIYBIKf3OpY4YJ4CK+iaqHg==", "requires": { "svg-arc-to-cubic-bezier": "^3.0.0" } @@ -9500,6 +11044,52 @@ "stable": "^0.1.8", "unquote": "~1.1.1", "util.promisify": "~1.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } } }, "symbol-tree": { @@ -9507,57 +11097,36 @@ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" }, - "tape": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/tape/-/tape-4.12.0.tgz", - "integrity": "sha512-PWs/TopmfVeYyLNZnfKsoV160xjNq1LvX2SWzZTyhVYsDldR93p5Zp0lfmsY3BCpZdVMXBOkfYZFeScEfsFvKQ==", - "requires": { - "deep-equal": "~1.1.1", - "defined": "~1.0.0", - "for-each": "~0.3.3", - "function-bind": "~1.1.1", - "glob": "~7.1.6", - "has": "~1.0.3", - "inherits": "~2.0.4", - "is-regex": "~1.0.5", - "minimist": ">=1.2.3", - "object-inspect": "~1.7.0", - "resolve": "~1.13.1", - "resumer": "~0.0.0", - "string.prototype.trim": "~1.2.1", - "through": "~2.3.8" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - } - } + "term-size": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", + "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" }, "terser": { - "version": "3.17.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz", - "integrity": "sha512-/FQzzPJmCpjAH9Xvk2paiWrFq+5M6aVOf+2KRbwhByISDX/EujxsK+BAvrhb6H+2rtrLCHK9N01wO014vrIwVQ==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.7.0.tgz", + "integrity": "sha512-HP5/9hp2UaZt5fYkuhNBR8YyRcT8juw8+uFbAme53iN9hblvKnLUTKkmwJG6ocWpIKf8UK4DoeWG4ty0J6S6/g==", "requires": { - "commander": "^2.19.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.10" + "commander": "^2.20.0", + "source-map": "~0.7.2", + "source-map-support": "~0.5.19" + }, + "dependencies": { + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==" + } } }, "text-cache": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/text-cache/-/text-cache-4.2.1.tgz", - "integrity": "sha512-G52NFRYXEW9BL4E3kBPquefXql9OT3sNT4J16gcpl3/a8y/YioDOR2Iwga5rNs9tY7rH2xv6rF8fAYrbINn6Kg==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/text-cache/-/text-cache-4.2.2.tgz", + "integrity": "sha512-zky+UDYiX0a/aPw/YTBD+EzKMlCTu1chFuCMZeAkgoRiceySdROu1V2kJXhCbtEdBhiOviYnAdGiSYl58HW0ZQ==", "requires": { "vectorize-text": "^3.2.1" } }, - "through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, "through2": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", @@ -9568,9 +11137,9 @@ } }, "timers-browserify": { - "version": "2.0.11", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.11.tgz", - "integrity": "sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ==", + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", + "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", "requires": { "setimmediate": "^1.0.4" } @@ -9580,15 +11149,10 @@ "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" }, - "tiny-inflate": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz", - "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==" - }, "tinycolor2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.1.tgz", - "integrity": "sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g=" + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.4.2.tgz", + "integrity": "sha512-vJhccZPs965sV/L2sU4oRQVAos0pQXwsvTLkWYdqJ+a8Q5kPFzJTuOFwy7UniPli44NKQGAglksjvOcpo95aZA==" }, "tinyqueue": { "version": "2.0.3", @@ -9605,40 +11169,38 @@ "string-to-arraybuffer": "^1.0.0" } }, - "to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=" - }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" }, "to-float32": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-float32/-/to-float32-1.0.1.tgz", - "integrity": "sha512-nOy2WSwae3xhZbc+05xiCuU3ZPPmH0L4Rg4Q1qiOGFSuNSCTB9nVJaGgGl3ZScxAclX/L8hJuDHJGDAzbfuKCQ==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/to-float32/-/to-float32-1.1.0.tgz", + "integrity": "sha512-keDnAusn/vc+R3iEiSDw8TOF7gPiTLdK1ArvWtYbJQiVfmRg6i/CAvbKq3uIS0vWroAC7ZecN3DjQKw3aSklUg==" }, "to-object-path": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", "requires": { - "kind-of": ">=6.0.3" + "kind-of": "^3.0.2" }, "dependencies": { "kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "requires": { + "is-buffer": "^1.1.5" + } } } }, "to-px": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/to-px/-/to-px-1.1.0.tgz", - "integrity": "sha512-bfg3GLYrGoEzrGoE05TAL/Uw+H/qrf2ptr9V3W7U0lkjjyYnIfgxmVLUfhQ1hZpIQwin81uxhDjvUkDYsC0xWw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-px/-/to-px-1.0.1.tgz", + "integrity": "sha1-W7rtXl1PdkRbzJA8KTojB90yRkY=", "requires": { "parse-unit": "^1.0.1" } @@ -9655,12 +11217,11 @@ } }, "to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "requires": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" + "is-number": "^7.0.0" } }, "to-uint8": { @@ -9675,15 +11236,10 @@ "to-array-buffer": "^3.0.0" } }, - "toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==" - }, "topojson-client": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-2.1.0.tgz", - "integrity": "sha1-/59784mRGF4LQoTCsGroNPDqxsg=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-3.1.0.tgz", + "integrity": "sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==", "requires": { "commander": "2" } @@ -9724,9 +11280,9 @@ } }, "tty-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", - "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=" + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", + "integrity": "sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==" }, "tunnel-agent": { "version": "0.6.0", @@ -9774,6 +11330,11 @@ "prelude-ls": "~1.1.2" } }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==" + }, "type-name": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/type-name/-/type-name-2.0.2.tgz", @@ -9785,41 +11346,29 @@ "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, "typedarray-pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/typedarray-pool/-/typedarray-pool-1.1.0.tgz", - "integrity": "sha1-0RT0hIAUifU+yrXoCIqiMET0mNk=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/typedarray-pool/-/typedarray-pool-1.2.0.tgz", + "integrity": "sha512-YTSQbzX43yvtpfRtIDAYygoYtgT+Rpjuxy9iOpczrjpXLgGoyG7aS5USJXV2d3nn8uHTeb9rXDvzS27zUg5KYQ==", "requires": { "bit-twiddle": "^1.0.0", "dup": "^1.0.0" } }, - "uglify-js": { - "version": "2.8.29", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", - "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", "requires": { - "source-map": "~0.5.1", - "uglify-to-browserify": "~1.0.0", - "yargs": "~3.10.0" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" - } + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" } }, - "uglify-to-browserify": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", - "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", - "optional": true - }, "uncss": { - "version": "0.17.2", - "resolved": "https://registry.npmjs.org/uncss/-/uncss-0.17.2.tgz", - "integrity": "sha512-hu2HquwDItuGDem4YsJROdAD8SknmWtM24zwhQax6J1se8tPjV1cnwPKhtjodzBaUhaL8Zb3hlGdZ2WAUpbAOg==", + "version": "0.17.3", + "resolved": "https://registry.npmjs.org/uncss/-/uncss-0.17.3.tgz", + "integrity": "sha512-ksdDWl81YWvF/X14fOSw4iu8tESDHFIeyKIeDrK6GEVTQvqJc1WlOEXqostNwOCi3qAj++4EaLsdAgPmUbEyog==", "requires": { "commander": "^2.20.0", "glob": "^7.1.4", @@ -9832,16 +11381,67 @@ "request": "^2.88.0" }, "dependencies": { - "cssesc": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "has-flag": { "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==" + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "is-absolute-url": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-3.0.3.tgz", "integrity": "sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q==" }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, "postcss-selector-parser": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz", @@ -9851,42 +11451,17 @@ "indexes-of": "^1.0.1", "uniq": "^1.0.1" } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "requires": { + "has-flag": "^3.0.0" + } } } }, - "unicode-canonical-property-names-ecmascript": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", - "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==" - }, - "unicode-match-property-ecmascript": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", - "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", - "requires": { - "unicode-canonical-property-names-ecmascript": "^1.0.4", - "unicode-property-aliases-ecmascript": "^1.0.4" - } - }, - "unicode-match-property-value-ecmascript": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz", - "integrity": "sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g==" - }, - "unicode-property-aliases-ecmascript": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz", - "integrity": "sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==" - }, - "unicode-trie": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-0.3.1.tgz", - "integrity": "sha1-1nHd3YkQGgi6w3tqUWEBBgIFIIU=", - "requires": { - "pako": "^0.2.5", - "tiny-inflate": "^1.0.0" - } - }, "union-find": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/union-find/-/union-find-1.0.2.tgz", @@ -9913,6 +11488,11 @@ "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=" }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=" + }, "unquote": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", @@ -9959,20 +11539,15 @@ } } }, - "upath": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", - "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==" - }, "update-diff": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/update-diff/-/update-diff-1.1.0.tgz", "integrity": "sha1-9RAYLYHugZ+4LDprIrYrve2ngI8=" }, "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "requires": { "punycode": "^2.1.0" } @@ -9995,6 +11570,11 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" } } }, @@ -10004,18 +11584,16 @@ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, "util": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", - "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz", + "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==", "requires": { - "inherits": "2.0.3" - }, - "dependencies": { - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - } + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "safe-buffer": "^5.1.2", + "which-typed-array": "^1.1.2" } }, "util-deprecate": { @@ -10024,12 +11602,14 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, "util.promisify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", - "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz", + "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==", "requires": { - "define-properties": "^1.1.2", - "object.getownpropertydescriptors": "^2.0.3" + "define-properties": "^1.1.3", + "es-abstract": "^1.17.2", + "has-symbols": "^1.0.1", + "object.getownpropertydescriptors": "^2.1.0" } }, "utils-copy": { @@ -10066,6 +11646,11 @@ "validate.io-integer-primitive": "^1.0.0" } }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=" + }, "utils-regex-from-string": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/utils-regex-from-string/-/utils-regex-from-string-1.0.0.tgz", @@ -10076,14 +11661,14 @@ } }, "uuid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz", - "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==" + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" }, "v8-compile-cache": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz", - "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==" + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==" }, "validate.io-array": { "version": "1.0.6", @@ -10176,9 +11761,9 @@ } }, "vendors": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.3.tgz", - "integrity": "sha512-fOi47nsJP5Wqefa43kyWSg80qF+Q3XA6MUkgi7Hp1HQaKDQW4cQrK2D0P7mmbFtsV1N89am55Yru/nyEwRubcw==" + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz", + "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==" }, "verror": { "version": "1.10.0", @@ -10190,32 +11775,27 @@ "extsprintf": "^1.2.0" } }, - "vlq": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", - "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==" - }, "vm-browserify": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" }, "vt-pbf": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.1.tgz", - "integrity": "sha512-pHjWdrIoxurpmTcbfBWXaPwSmtPAHS105253P1qyEfSTV2HJddqjM+kIHquaT/L6lVJIk9ltTGc0IxR/G47hYA==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.2.tgz", + "integrity": "sha512-2+WbhabeHzcCfyw4KpxlB1DD1Kvg+aJRgNFBetGww3TnSX/YMfkvJBt8/+1cz9aF4mEgzcc8poeoMclK27xRjg==", "requires": { "@mapbox/point-geometry": "0.1.0", "@mapbox/vector-tile": "^1.3.1", - "pbf": "^3.0.5" + "pbf": "^3.2.1" } }, "w3c-hr-time": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz", - "integrity": "sha1-gqwr/2PZUOqeMYmlimViX+3xkEU=", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", + "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", "requires": { - "browser-process-hrtime": "^0.1.2" + "browser-process-hrtime": "^1.0.0" } }, "w3c-xmlserializer": { @@ -10259,11 +11839,6 @@ "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==" }, - "wgs84": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/wgs84/-/wgs84-0.0.0.tgz", - "integrity": "sha1-NP3FVZF7blfPKigu0ENxDASc3HY=" - }, "whatwg-encoding": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", @@ -10295,26 +11870,37 @@ "isexe": "^2.0.0" } }, - "which-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } }, - "window-size": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", - "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=" + "which-typed-array": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.4.tgz", + "integrity": "sha512-49E0SpUe90cjpoc7BOJwyPHRqSAd12c10Qm2amdEZrJPCY2NDxaW01zHITrem+rnETY3dwrbH3UUrUwagfCYDA==", + "requires": { + "available-typed-arrays": "^1.0.2", + "call-bind": "^1.0.0", + "es-abstract": "^1.18.0-next.1", + "foreach": "^2.0.5", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.1", + "is-typed-array": "^1.1.3" + } }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" }, - "wordwrap": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", - "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=" - }, "world-calendars": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/world-calendars/-/world-calendars-1.0.3.tgz", @@ -10323,40 +11909,15 @@ "object-assign": "^4.1.0" } }, - "wrap-ansi": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", - "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", - "requires": { - "ansi-styles": "^3.2.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "ws": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", - "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", + "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", "requires": { "async-limiter": "~1.0.0" } @@ -10376,37 +11937,10 @@ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" }, - "y18n": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", - "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==" - }, - "yargs": { - "version": "3.10.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", - "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", - "requires": { - "camelcase": "^1.0.2", - "cliui": "^2.1.0", - "decamelize": "^1.0.0", - "window-size": "0.1.0" - } - }, - "yargs-parser": { - "version": "15.0.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-15.0.1.tgz", - "integrity": "sha512-0OAMV2mAZQrs3FkNpDQcBk1x5HXb8X4twADss4S0Iuk+2dGnLOE/fRHrsYm542GduMveyA77OF4wrNJuanRCWw==", - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" - } - } + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "zero-crossings": { "version": "1.0.1", diff --git a/hugo/package.json b/hugo/package.json index 3e93e08..3a5b9a6 100644 --- a/hugo/package.json +++ b/hugo/package.json @@ -1,9 +1,10 @@ { "dependencies": { - "plotly.js": "1.51.3", - "parcel-bundler": "1.12.4" + "parcel": "^2.0.0-beta.3.1", + "plotly.js": "1.58.4" }, "scripts": { - "build-plotly": "NODE_ENV=production ./node_modules/.bin/parcel build --out-dir assets/js --out-file plotly.custom.min.js --no-source-maps assets/js/plotly.js" - } + "build-plotly": "NODE_ENV=production ./node_modules/.bin/parcel build --dist-dir assets/js --no-source-maps assets/js/plotly.js" + }, + "default": "plotly.custom.min.js" } From 4618643f0f4cda0d1d81e2c10b39bab1d22674d9 Mon Sep 17 00:00:00 2001 From: Gerald Pape Date: Wed, 26 May 2021 09:13:57 +0200 Subject: [PATCH 2/5] output plotly.custom.min.js in assets/js dir --- hugo/assets/js/plotly.custom.min.js | 2 +- hugo/package.json | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hugo/assets/js/plotly.custom.min.js b/hugo/assets/js/plotly.custom.min.js index 2be7cea..71ba7dc 100644 --- a/hugo/assets/js/plotly.custom.min.js +++ b/hugo/assets/js/plotly.custom.min.js @@ -1 +1 @@ -!function(){var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};!function(){function t(e){return e&&e.__esModule?e.default:e}function r(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var n,a,i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:{},o={},l={},s=i.parcelRequire427e;null==s&&((s=function(e){if(e in o)return o[e].exports;if(e in l){let t=l[e];delete l[e];let r={id:e,exports:{}};return o[e]=r,t.call(r.exports,r,r.exports),r.exports}var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}).register=function(e,t){l[e]=t},i.parcelRequire427e=s),s.register("ibSRw",(function(e,t){e.exports.version=s("4EeDN").version,s("4W9Is").polyfill(),s("4aHJL"),s("1Jk5J")();for(var r=s("4Hxcc"),n=e.exports.register=r.register,a=s("3L5lN"),i=Object.keys(a),o=0;on),(e=>n=e)),n="1.58.4"})),s.register("4W9Is",(function(e,t){var r,n,a=s("3JAaW");r=e.exports,n=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,n=void 0,o=void 0,l=function(e,t){p[r]=e,p[r+1]=t,2===(r+=2)&&(o?o(g):b())},s="undefined"!=typeof window?window:void 0,c=s||{},u=c.MutationObserver||c.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==a&&"[object process]"==={}.toString.call(a),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(g,1)}}var p=new Array(1e3);function g(){for(var e=0;e1)for(var r=1;r:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":"content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;","X [data-title]:after":"content:attr(data-title);background:#69738a;color:white;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:white;","X .select-outline-2":"stroke:black;stroke-dasharray:2px 2px;",Y:"font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;","Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in n){var i=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");r.addStyleRule(i,n[a])}})),s.register("1nIvY",(function(e,t){"use strict";var r=s("4Wia9"),n=s("6jof9").utcFormat,a=s("6qr5h"),i=s("10TEj"),o=i.FP_SAFE,l=i.BADNUM,c=e.exports={};c.nestedProperty=s("2Tkfd"),c.keyedContainer=s("6DYhf"),c.relativeAttr=s("7wVo2"),c.isPlainObject=s("2bwwe"),c.toLogRange=s("2UjBK"),c.relinkPrivateKeys=s("CXorH");var u=s("1nElS");c.isTypedArray=u.isTypedArray,c.isArrayOrTypedArray=u.isArrayOrTypedArray,c.isArray1D=u.isArray1D,c.ensureArray=u.ensureArray,c.concat=u.concat,c.maxRowLength=u.maxRowLength,c.minRowLength=u.minRowLength;var d=s("5DnzT");c.mod=d.mod,c.modHalf=d.modHalf;var f=s("2YEcf");c.valObjectMeta=f.valObjectMeta,c.coerce=f.coerce,c.coerce2=f.coerce2,c.coerceFont=f.coerceFont,c.coerceHoverinfo=f.coerceHoverinfo,c.coerceSelectionMarkerOpacity=f.coerceSelectionMarkerOpacity,c.validate=f.validate;var h=s("4Jreh");c.dateTime2ms=h.dateTime2ms,c.isDateTime=h.isDateTime,c.ms2DateTime=h.ms2DateTime,c.ms2DateTimeLocal=h.ms2DateTimeLocal,c.cleanDate=h.cleanDate,c.isJSDate=h.isJSDate,c.formatDate=h.formatDate,c.incrementMonth=h.incrementMonth,c.dateTick0=h.dateTick0,c.dfltRange=h.dfltRange,c.findExactDates=h.findExactDates,c.MIN_MS=h.MIN_MS,c.MAX_MS=h.MAX_MS;var p=s("5LcuG");c.findBin=p.findBin,c.sorterAsc=p.sorterAsc,c.sorterDes=p.sorterDes,c.distinctVals=p.distinctVals,c.roundUp=p.roundUp,c.sort=p.sort,c.findIndexOfMin=p.findIndexOfMin;var g=s("23CtA");c.aggNums=g.aggNums,c.len=g.len,c.mean=g.mean,c.median=g.median,c.midRange=g.midRange,c.variance=g.variance,c.stdev=g.stdev,c.interp=g.interp;var v=s("2paJ6");c.init2dArray=v.init2dArray,c.transposeRagged=v.transposeRagged,c.dot=v.dot,c.translationMatrix=v.translationMatrix,c.rotationMatrix=v.rotationMatrix,c.rotationXYMatrix=v.rotationXYMatrix,c.apply3DTransform=v.apply3DTransform,c.apply2DTransform=v.apply2DTransform,c.apply2DTransform2=v.apply2DTransform2,c.convertCssMatrix=v.convertCssMatrix,c.inverseTransformMatrix=v.inverseTransformMatrix;var m=s("3TZVB");c.deg2rad=m.rad2deg,c.rad2deg=m.rad2deg,c.angleDelta=m.angleDelta,c.angleDist=m.angleDist,c.isFullCircle=m.isFullCircle,c.isAngleInsideSector=m.isAngleInsideSector,c.isPtInsideSector=m.isPtInsideSector,c.pathArc=m.pathArc,c.pathSector=m.pathSector,c.pathAnnulus=m.pathAnnulus;var y=s("36x9Z");c.isLeftAnchor=y.isLeftAnchor,c.isCenterAnchor=y.isCenterAnchor,c.isRightAnchor=y.isRightAnchor,c.isTopAnchor=y.isTopAnchor,c.isMiddleAnchor=y.isMiddleAnchor,c.isBottomAnchor=y.isBottomAnchor;var x=s("6yIsr");c.segmentsIntersect=x.segmentsIntersect,c.segmentDistance=x.segmentDistance,c.getTextLocation=x.getTextLocation,c.clearLocationCache=x.clearLocationCache,c.getVisibleSegment=x.getVisibleSegment,c.findPointOnPath=x.findPointOnPath;var b=s("1ZM4z");c.extendFlat=b.extendFlat,c.extendDeep=b.extendDeep,c.extendDeepAll=b.extendDeepAll,c.extendDeepNoArrays=b.extendDeepNoArrays;var _=s("1NWKZ");c.log=_.log,c.warn=_.warn,c.error=_.error;var w=s("3ImU3");c.counterRegex=w.counter;var k=s("3RMbo");c.throttle=k.throttle,c.throttleDone=k.done,c.clearThrottle=k.clear;var T=s("44pv8");function M(e){var t={};for(var r in e)for(var n=e[r],a=0;ao?l:a(e)?Number(e):l:l},c.isIndex=function(e,t){return!(void 0!==t&&e>=t)&&a(e)&&e>=0&&e%1==0},c.noop=s("77Ix4"),c.identity=s("4Qyoa"),c.repeat=function(e,t){for(var r=new Array(t),n=0;nr?Math.max(r,Math.min(t,e)):Math.max(t,Math.min(r,e))},c.bBoxIntersect=function(e,t,r){return r=r||0,e.left<=t.right+r&&t.left<=e.right+r&&e.top<=t.bottom+r&&t.top<=e.bottom+r},c.simpleMap=function(e,t,r,n,a){for(var i=e.length,o=new Array(i),l=0;l=Math.pow(2,r)?a>10?(c.warn("randstr failed uniqueness"),s):e(t,r,n,(a||0)+1):s},c.OptionControl=function(e,t){e||(e={}),t||(t="opt");var r={optionList:[],_newoption:function(n){n[t]=e,r[n.name]=n,r.optionList.push(n)}};return r["_"+t]=e,r},c.smooth=function(e,t){if((t=Math.round(t)||0)<2)return e;var r,n,a,i,o=e.length,l=2*o,s=2*t-1,c=new Array(s),u=new Array(o);for(r=0;r=l&&(a-=l*Math.floor(a/l)),a<0?a=-1-a:a>=o&&(a=l-1-a),i+=e[a]*c[n];u[r]=i}return u},c.syncOrAsync=function(e,t,r){var n;function a(){return c.syncOrAsync(e,t,r)}for(;e.length;)if((n=e.splice(0,1)[0](t))&&n.then)return n.then(a).then(void 0,c.promiseError);return r&&r(t)},c.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},c.noneOrAll=function(e,t,r){if(e){var n,a=!1,i=!0;for(n=0;n0?t:0}))},c.fillArray=function(e,t,r,n){if(n=n||c.identity,c.isArrayOrTypedArray(e))for(var a=0;a1?a+o[1]:"";if(i&&(o.length>1||l.length>4||r))for(;n.test(l);)l=l.replace(n,"$1"+i+"$2");return l+s},c.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var O=/^\w*$/;c.templateString=function(e,t){var r={};return e.replace(c.TEMPLATE_STRING_REGEX,(function(e,n){var a;return O.test(n)?a=t[n]:(r[n]=r[n]||c.nestedProperty(t,n).get,a=r[n]()),c.isValidTextValue(a)?a:""}))};var D={max:10,count:0,name:"hovertemplate"};c.hovertemplateString=function(){return j.apply(D,arguments)};var z={max:10,count:0,name:"texttemplate"};c.texttemplateString=function(){return j.apply(z,arguments)};var P=/^[:|\|]/;function j(e,t,a){var i=this,o=arguments;t||(t={});var l={};return e.replace(c.TEMPLATE_STRING_REGEX,(function(e,s,u){var d,f,h,p;for(h=3;h=48&&o<=57,c=l>=48&&l<=57;if(s&&(n=10*n+o-48),c&&(a=10*a+l-48),!s||!c){if(n!==a)return n-a;if(o!==l)return o-l}}return a-n};var E=2e9;c.seedPseudoRandom=function(){E=2e9},c.pseudoRandom=function(){var e=E;return E=(69069*E+1)%4294967296,Math.abs(E-e)<429496729?c.pseudoRandom():E/4294967296},c.fillText=function(e,t,r){var n=Array.isArray(r)?function(e){r.push(e)}:function(e){r.text=e},a=c.extractOption(e,t,"htx","hovertext");if(c.isValidTextValue(a))return n(a);var i=c.extractOption(e,t,"tx","text");return c.isValidTextValue(i)?n(i):void 0},c.isValidTextValue=function(e){return e||0===e},c.formatPercent=function(e,t){t=t||0;for(var r=(Math.round(100*e*Math.pow(10,t))*Math.pow(.1,t)).toFixed(t)+"%",n=0;n1&&(u=1):u=0,c.strTranslate(a-u*(r+o),i-u*(n+l))+c.strScale(u)+(s?"rotate("+s+(t?"":" "+r+" "+n)+")":"")},c.ensureUniformFontSize=function(e,t){var r=c.extendFlat({},t);return r.size=Math.max(t.size,e._fullLayout.uniformtext.minsize||0),r},c.join2=function(e,t,r){var n=e.length;return n>1?e.slice(0,-1).join(t)+r+e[n-1]:e.join(t)}})),s.register("4Wia9",(function(e,t){!function(){var t={version:"3.5.17"},r=[].slice,n=function(e){return r.call(e)},a=this.document;function i(e){return e&&(e.ownerDocument||e.document||e).documentElement}function o(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(a)try{n(a.documentElement.childNodes)[0].nodeType}catch(e){n=function(e){for(var t=e.length,r=new Array(t);t--;)r[t]=e[t];return r}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var l=this.Element.prototype,s=l.setAttribute,c=l.setAttributeNS,u=this.CSSStyleDeclaration.prototype,d=u.setProperty;l.setAttribute=function(e,t){s.call(this,e,t+"")},l.setAttributeNS=function(e,t,r){c.call(this,e,t,r+"")},u.setProperty=function(e,t,r){d.call(this,e,t+"",r)}}function f(e,t){return et?1:e>=t?0:NaN}function h(e){return null===e?NaN:+e}function p(e){return!isNaN(e)}function g(e){return{left:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)<0?n=i+1:a=i}return n},right:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)>0?a=i:n=i+1}return n}}}t.ascending=f,t.descending=function(e,t){return te?1:t>=e?0:NaN},t.min=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++an&&(r=n)}else{for(;++a=n){r=n;break}for(;++an&&(r=n)}return r},t.max=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++ar&&(r=n)}else{for(;++a=n){r=n;break}for(;++ar&&(r=n)}return r},t.extent=function(e,t){var r,n,a,i=-1,o=e.length;if(1===arguments.length){for(;++i=n){r=a=n;break}for(;++in&&(r=n),a=n){r=a=n;break}for(;++in&&(r=n),a1)return o/(s-1)},t.deviation=function(){var e=t.variance.apply(this,arguments);return e?Math.sqrt(e):e};var v=g(f);function m(e){return e.length}t.bisectLeft=v.left,t.bisect=t.bisectRight=v.right,t.bisector=function(e){return g(1===e.length?function(t,r){return f(e(t),r)}:e)},t.shuffle=function(e,t,r){(i=arguments.length)<3&&(r=e.length,i<2&&(t=0));for(var n,a,i=r-t;i;)a=Math.random()*i--|0,n=e[i+t],e[i+t]=e[a+t],e[a+t]=n;return e},t.permute=function(e,t){for(var r=t.length,n=new Array(r);r--;)n[r]=e[t[r]];return n},t.pairs=function(e){for(var t=0,r=e.length-1,n=e[0],a=new Array(r<0?0:r);t=0;)for(t=(n=e[a]).length;--t>=0;)r[--o]=n[t];return r};var y=Math.abs;function x(e){for(var t=1;e*t%1;)t*=10;return t}function b(e,t){for(var r in t)Object.defineProperty(e.prototype,r,{value:t[r],enumerable:!1})}function _(){this._=Object.create(null)}function w(e){return"__proto__"==(e+="")||"\0"===e[0]?"\0"+e:e}function k(e){return"\0"===(e+="")[0]?e.slice(1):e}function T(e){return w(e)in this._}function M(e){return(e=w(e))in this._&&delete this._[e]}function A(){var e=[];for(var t in this._)e.push(k(t));return e}function S(){var e=0;for(var t in this._)++e;return e}function L(){for(var e in this._)return!1;return!0}function C(){this._=Object.create(null)}function I(e){return e}function O(e,t,r){return function(){var n=r.apply(t,arguments);return n===t?e:n}}function D(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var r=0,n=z.length;rt;)a.push(n/i);else for(;(n=e+r*++o)=a.length)return r?r.call(n,i):e?i.sort(e):i;for(var s,c,u,d,f=-1,h=i.length,p=a[l++],g=new _;++f=a.length)return e;var r=[],n=i[t++];return e.forEach((function(e,n){r.push({key:e,values:l(n,t)})})),n?r.sort((function(e,t){return n(e.key,t.key)})):r}return n.map=function(e,t){return o(t,e,0)},n.entries=function(e){return l(o(t.map,e,0),0)},n.key=function(e){return a.push(e),n},n.sortKeys=function(e){return i[a.length-1]=e,n},n.sortValues=function(t){return e=t,n},n.rollup=function(e){return r=e,n},n},t.set=function(e){var t=new C;if(e)for(var r=0,n=e.length;r=0&&(n=e.slice(r+1),e=e.slice(0,r)),e)return arguments.length<2?this[e].on(n):this[e].on(n,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(n,null);return this}},t.event=null,t.requote=function(e){return e.replace(H,"\\$&")};var H=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,B={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)e[r]=t[r]};function U(e){return B(e,G),e}var q=function(e,t){return t.querySelector(e)},V=function(e,t){return t.querySelectorAll(e)},Y=function(e,t){var r=e.matches||e[D(e,"matchesSelector")];return(Y=function(e,t){return r.call(e,t)})(e,t)};"function"==typeof Sizzle&&(q=function(e,t){return Sizzle(e,t)[0]||null},V=Sizzle,Y=Sizzle.matchesSelector),t.selection=function(){return t.select(a.documentElement)};var G=t.selection.prototype=[];function Z(e){return"function"==typeof e?e:function(){return q(e,this)}}function W(e){return"function"==typeof e?e:function(){return V(e,this)}}G.select=function(e){var t,r,n,a,i=[];e=Z(e);for(var o=-1,l=this.length;++o=0&&"xmlns"!==(r=e.slice(0,t))&&(e=e.slice(t+1)),Q.hasOwnProperty(r)?{space:Q[r],local:e}:e}},G.attr=function(e,r){if(arguments.length<2){if("string"==typeof e){var n=this.node();return(e=t.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(r in e)this.each(J(r,e[r]));return this}return this.each(J(e,r))},G.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var r=this.node(),n=(e=ee(e)).length,a=-1;if(t=r.classList){for(;++a=0;)(r=n[a])&&(i&&i!==r.nextSibling&&i.parentNode.insertBefore(r,i),i=r);return this},G.sort=function(e){e=ce.apply(this,arguments);for(var t=-1,r=this.length;++t=t&&(t=a+1);!(o=l[t])&&++t0&&(e=e.slice(0,o));var s=ge.get(e);function c(){var t=this[i];t&&(this.removeEventListener(e,t,t.$),delete this[i])}return s&&(e=s,l=me),o?r?function(){var t=l(r,n(arguments));c.call(this),this.addEventListener(e,this[i]=t,t.$=a),t._=r}:c:r?P:function(){var r,n=new RegExp("^__on([^.]+)"+t.requote(e)+"$");for(var a in this)if(r=a.match(n)){var i=this[a];this.removeEventListener(r[1],i,i.$),delete this[a]}}}t.selection.enter=de,t.selection.enter.prototype=fe,fe.append=G.append,fe.empty=G.empty,fe.node=G.node,fe.call=G.call,fe.size=G.size,fe.select=function(e){for(var t,r,n,a,i,o=[],l=-1,s=this.length;++l0?1:e<0?-1:0}function ze(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(t[1]-e[1])*(r[0]-e[0])}function Pe(e){return e>1?0:e<-1?Ae:Math.acos(e)}function je(e){return e>1?Ce:e<-1?-Ce:Math.asin(e)}function Ee(e){return((e=Math.exp(e))+1/e)/2}function Re(e){return(e=Math.sin(e/2))*e}var Ne=Math.SQRT2;t.interpolateZoom=function(e,t){var r,n,a=e[0],i=e[1],o=e[2],l=t[0],s=t[1],c=t[2],u=l-a,d=s-i,f=u*u+d*d;if(f0&&(e=e.transition().duration(g)),e.call(w.event)}function S(){c&&c.domain(s.range().map((function(e){return(e-f.x)/f.k})).map(s.invert)),d&&d.domain(u.range().map((function(e){return(e-f.y)/f.k})).map(u.invert))}function L(e){v++||e({type:"zoomstart"})}function C(e){S(),e({type:"zoom",scale:f.k,translate:[f.x,f.y]})}function I(e){--v||(e({type:"zoomend"}),r=null)}function O(){var e=this,r=_.of(e,arguments),n=0,a=t.select(o(e)).on(y,s).on(x,c),i=k(t.mouse(e)),l=be(e);function s(){n=1,M(t.mouse(e),i),C(r)}function c(){a.on(y,null).on(x,null),l(n),I(r)}Dl.call(e),L(r)}function D(){var e,r=this,n=_.of(r,arguments),a={},i=0,o=".zoom-"+t.event.changedTouches[0].identifier,s="touchmove"+o,c="touchend"+o,u=[],d=t.select(r),h=be(r);function p(){var n=t.touches(r);return e=f.k,n.forEach((function(e){e.identifier in a&&(a[e.identifier]=k(e))})),n}function g(){var e=t.event.target;t.select(e).on(s,v).on(c,y),u.push(e);for(var n=t.event.changedTouches,o=0,d=n.length;o1){m=h[0];var x=h[1],b=m[0]-x[0],_=m[1]-x[1];i=b*b+_*_}}function v(){var o,s,c,u,d=t.touches(r);Dl.call(r);for(var f=0,h=d.length;f360?t-=360:t<0&&(t+=360),t<60?n+(a-n)*t/60:t<180?a:t<240?n+(a-n)*(240-t)/60:n));var t}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,n=2*(r=r<0?0:r>1?1:r)-(a=r<=.5?r*(1+t):r+t-r*t),new it(i(e+120),i(e),i(e-120))}function Ge(e,r,n){return this instanceof Ge?(this.h=+e,this.c=+r,void(this.l=+n)):arguments.length<2?e instanceof Ge?new Ge(e.h,e.c,e.l):tt(e instanceof Xe?e.l:(e=ft((e=t.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Ge(e,r,n)}Ve.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new qe(this.h,this.s,this.l/e)},Ve.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new qe(this.h,this.s,e*this.l)},Ve.rgb=function(){return Ye(this.h,this.s,this.l)},t.hcl=Ge;var Ze=Ge.prototype=new Ue;function We(e,t,r){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Xe(r,Math.cos(e*=Ie)*t,Math.sin(e)*t)}function Xe(e,t,r){return this instanceof Xe?(this.l=+e,this.a=+t,void(this.b=+r)):arguments.length<2?e instanceof Xe?new Xe(e.l,e.a,e.b):e instanceof Ge?We(e.h,e.c,e.l):ft((e=it(e)).r,e.g,e.b):new Xe(e,t,r)}Ze.brighter=function(e){return new Ge(this.h,this.c,Math.min(100,this.l+Qe*(arguments.length?e:1)))},Ze.darker=function(e){return new Ge(this.h,this.c,Math.max(0,this.l-Qe*(arguments.length?e:1)))},Ze.rgb=function(){return We(this.h,this.c,this.l).rgb()},t.lab=Xe;var Qe=18,Je=.95047,Ke=1.08883,$e=Xe.prototype=new Ue;function et(e,t,r){var n=(e+16)/116,a=n+t/500,i=n-r/200;return new it(at(3.2404542*(a=rt(a)*Je)-1.5371385*(n=1*rt(n))-.4985314*(i=rt(i)*Ke)),at(-.969266*a+1.8760108*n+.041556*i),at(.0556434*a-.2040259*n+1.0572252*i))}function tt(e,t,r){return e>0?new Ge(Math.atan2(r,t)*Oe,Math.sqrt(t*t+r*r),e):new Ge(NaN,NaN,e)}function rt(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function nt(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function at(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function it(e,t,r){return this instanceof it?(this.r=~~e,this.g=~~t,void(this.b=~~r)):arguments.length<2?e instanceof it?new it(e.r,e.g,e.b):ut(""+e,it,Ye):new it(e,t,r)}function ot(e){return new it(e>>16,e>>8&255,255&e)}function lt(e){return ot(e)+""}$e.brighter=function(e){return new Xe(Math.min(100,this.l+Qe*(arguments.length?e:1)),this.a,this.b)},$e.darker=function(e){return new Xe(Math.max(0,this.l-Qe*(arguments.length?e:1)),this.a,this.b)},$e.rgb=function(){return et(this.l,this.a,this.b)},t.rgb=it;var st=it.prototype=new Ue;function ct(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function ut(e,t,r){var n,a,i,o=0,l=0,s=0;if(n=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(a=n[2].split(","),n[1]){case"hsl":return r(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return t(pt(a[0]),pt(a[1]),pt(a[2]))}return(i=gt.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&i)>>4,o|=o>>4,l=240&i,l|=l>>4,s=15&i,s|=s<<4):7===e.length&&(o=(16711680&i)>>16,l=(65280&i)>>8,s=255&i)),t(o,l,s))}function dt(e,t,r){var n,a,i=Math.min(e/=255,t/=255,r/=255),o=Math.max(e,t,r),l=o-i,s=(o+i)/2;return l?(a=s<.5?l/(o+i):l/(2-o-i),n=e==o?(t-r)/l+(t0&&s<1?0:n),new qe(n,a,s)}function ft(e,t,r){var n=nt((.4124564*(e=ht(e))+.3575761*(t=ht(t))+.1804375*(r=ht(r)))/Je),a=nt((.2126729*e+.7151522*t+.072175*r)/1);return Xe(116*a-16,500*(n-a),200*(a-nt((.0193339*e+.119192*t+.9503041*r)/Ke)))}function ht(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function pt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}st.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,r=this.g,n=this.b,a=30;return t||r||n?(t&&t=200&&t<300||304===t){try{e=a.call(l,u)}catch(e){return void s.error.call(l,e)}s.load.call(l,e)}else s.error.call(l,u)}return this.XDomainRequest&&!("withCredentials"in u)&&/^(http(s)?:)?\/\//.test(e)&&(u=new XDomainRequest),"onload"in u?u.onload=u.onerror=f:u.onreadystatechange=function(){u.readyState>3&&f()},u.onprogress=function(e){var r=t.event;t.event=e;try{s.progress.call(l,u)}finally{t.event=r}},l.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?c[e]:(null==t?delete c[e]:c[e]=t+"",l)},l.mimeType=function(e){return arguments.length?(r=null==e?null:e+"",l):r},l.responseType=function(e){return arguments.length?(d=e,l):d},l.response=function(e){return a=e,l},["get","post"].forEach((function(e){l[e]=function(){return l.send.apply(l,[e].concat(n(arguments)))}})),l.send=function(t,n,a){if(2===arguments.length&&"function"==typeof n&&(a=n,n=null),u.open(t,e,!0),null==r||"accept"in c||(c.accept=r+",*/*"),u.setRequestHeader)for(var i in c)u.setRequestHeader(i,c[i]);return null!=r&&u.overrideMimeType&&u.overrideMimeType(r),null!=d&&(u.responseType=d),null!=a&&l.on("error",a).on("load",(function(e){a(null,e)})),s.beforesend.call(l,u),u.send(null==n?null:n),l},l.abort=function(){return u.abort(),l},t.rebind(l,s,"on"),null==i?l:l.get(1===(o=i).length?function(e,t){o(null==e?t:null)}:o)}gt.forEach((function(e,t){gt.set(e,ot(t))})),t.functor=vt,t.xhr=mt(I),t.dsv=function(e,t){var r=new RegExp('["'+e+"\n]"),n=e.charCodeAt(0);function a(e,r,n){arguments.length<3&&(n=r,r=null);var a=yt(e,t,null==r?i:o(r),n);return a.row=function(e){return arguments.length?a.response(null==(r=e)?i:o(e)):r},a}function i(e){return a.parse(e.responseText)}function o(e){return function(t){return a.parse(t.responseText,e)}}function l(t){return t.map(s).join(e)}function s(e){return r.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return a.parse=function(e,t){var r;return a.parseRows(e,(function(e,n){if(r)return r(e,n-1);var a=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");r=t?function(e,r){return t(a(e),r)}:a}))},a.parseRows=function(e,t){var r,a,i={},o={},l=[],s=e.length,c=0,u=0;function d(){if(c>=s)return o;if(a)return a=!1,i;var t=c;if(34===e.charCodeAt(t)){for(var r=t;r++24?(isFinite(t)&&(clearTimeout(wt),wt=setTimeout(Mt,t)),_t=0):(_t=1,kt(Mt))}function At(){for(var e=Date.now(),t=xt;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function St(){for(var e,t=xt,r=1/0;t;)t.c?(t.t8?function(e){return e/r}:function(e){return e*r},symbol:e}}));function It(e){var r=e.decimal,n=e.thousands,a=e.grouping,i=e.currency,o=a&&n?function(e,t){for(var r=e.length,i=[],o=0,l=a[0],s=0;r>0&&l>0&&(s+l+1>t&&(l=Math.max(1,t-s)),i.push(e.substring(r-=l,r+l)),!((s+=l+1)>t));)l=a[o=(o+1)%a.length];return i.reverse().join(n)}:I;return function(e){var n=Ot.exec(e),a=n[1]||" ",l=n[2]||">",s=n[3]||"-",c=n[4]||"",u=n[5],d=+n[6],f=n[7],h=n[8],p=n[9],g=1,v="",m="",y=!1,x=!0;switch(h&&(h=+h.substring(1)),(u||"0"===a&&"="===l)&&(u=a="0",l="="),p){case"n":f=!0,p="g";break;case"%":g=100,m="%",p="f";break;case"p":g=100,m="%",p="r";break;case"b":case"o":case"x":case"X":"#"===c&&(v="0"+p.toLowerCase());case"c":x=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===c&&(v=i[0],m=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=Dt.get(p)||zt;var b=u&&f;return function(e){var n=m;if(y&&e%1)return"";var i=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===s?"":s;if(g<0){var c=t.formatPrefix(e,h);e=c.scale(e),n=c.symbol+m}else e*=g;var _,w,k=(e=p(e,h)).lastIndexOf(".");if(k<0){var T=x?e.lastIndexOf("e"):-1;T<0?(_=e,w=""):(_=e.substring(0,T),w=e.substring(T))}else _=e.substring(0,k),w=r+e.substring(k+1);!u&&f&&(_=o(_,1/0));var M=v.length+_.length+w.length+(b?0:i.length),A=M"===l?A+i+e:"^"===l?A.substring(0,M>>=1)+i+e+A.substring(M):i+(b?e:A+e))+n}}}t.formatPrefix=function(e,r){var n=0;return(e=+e)&&(e<0&&(e*=-1),r&&(e=t.round(e,Lt(e,r))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Ct[8+n/3]};var Ot=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Dt=t.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,r){return(e=t.round(e,Lt(e,r))).toFixed(Math.max(0,Math.min(20,Lt(e*(1+1e-15),r))))}});function zt(e){return e+""}var Pt=t.time={},jt=Date;function Et(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Et.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Rt.setUTCDate.apply(this._,arguments)},setDay:function(){Rt.setUTCDay.apply(this._,arguments)},setFullYear:function(){Rt.setUTCFullYear.apply(this._,arguments)},setHours:function(){Rt.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Rt.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Rt.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Rt.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Rt.setUTCSeconds.apply(this._,arguments)},setTime:function(){Rt.setTime.apply(this._,arguments)}};var Rt=Date.prototype;function Nt(e,t,r){function n(t){var r=e(t),n=i(r,1);return t-r1)for(;o=c)return-1;if(37===(a=t.charCodeAt(l++))){if(o=t.charAt(l++),!(i=w[o in Bt?t.charAt(l++):o])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}u.utc=function(e){var t=u(e);function r(e){try{var r=new(jt=Et);return r._=e,t(r)}finally{jt=Date}}return r.parse=function(e){try{jt=Et;var r=t.parse(e);return r&&r._}finally{jt=Date}},r.toString=t.toString,r},u.multi=u.utc.multi=sr;var f=t.map(),h=Yt(o),p=Gt(o),g=Yt(l),v=Gt(l),m=Yt(s),y=Gt(s),x=Yt(c),b=Gt(c);i.forEach((function(e,t){f.set(e.toLowerCase(),t)}));var _={a:function(e){return l[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:u(r),d:function(e,t){return Vt(e.getDate(),t,2)},e:function(e,t){return Vt(e.getDate(),t,2)},H:function(e,t){return Vt(e.getHours(),t,2)},I:function(e,t){return Vt(e.getHours()%12||12,t,2)},j:function(e,t){return Vt(1+Pt.dayOfYear(e),t,3)},L:function(e,t){return Vt(e.getMilliseconds(),t,3)},m:function(e,t){return Vt(e.getMonth()+1,t,2)},M:function(e,t){return Vt(e.getMinutes(),t,2)},p:function(e){return i[+(e.getHours()>=12)]},S:function(e,t){return Vt(e.getSeconds(),t,2)},U:function(e,t){return Vt(Pt.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Vt(Pt.mondayOfYear(e),t,2)},x:u(n),X:u(a),y:function(e,t){return Vt(e.getFullYear()%100,t,2)},Y:function(e,t){return Vt(e.getFullYear()%1e4,t,4)},Z:or,"%":function(){return"%"}},w={a:function(e,t,r){g.lastIndex=0;var n=g.exec(t.slice(r));return n?(e.w=v.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){h.lastIndex=0;var n=h.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){x.lastIndex=0;var n=x.exec(t.slice(r));return n?(e.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){m.lastIndex=0;var n=m.exec(t.slice(r));return n?(e.m=y.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,t,r){return d(e,_.c.toString(),t,r)},d:er,e:er,H:rr,I:rr,j:tr,L:ir,m:$t,M:nr,p:function(e,t,r){var n=f.get(t.slice(r,r+=2).toLowerCase());return null==n?-1:(e.p=n,r)},S:ar,U:Wt,w:Zt,W:Xt,x:function(e,t,r){return d(e,_.x.toString(),t,r)},X:function(e,t,r){return d(e,_.X.toString(),t,r)},y:Jt,Y:Qt,Z:Kt,"%":lr};return u}Pt.year=Nt((function(e){return(e=Pt.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),Pt.years=Pt.year.range,Pt.years.utc=Pt.year.utc.range,Pt.day=Nt((function(e){var t=new jt(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),Pt.days=Pt.day.range,Pt.days.utc=Pt.day.utc.range,Pt.dayOfYear=function(e){var t=Pt.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var r=Pt[e]=Nt((function(e){return(e=Pt.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var r=Pt.year(e).getDay();return Math.floor((Pt.dayOfYear(e)+(r+t)%7)/7)-(r!==t)}));Pt[e+"s"]=r.range,Pt[e+"s"].utc=r.utc.range,Pt[e+"OfYear"]=function(e){var r=Pt.year(e).getDay();return Math.floor((Pt.dayOfYear(e)+(r+t)%7)/7)}})),Pt.week=Pt.sunday,Pt.weeks=Pt.sunday.range,Pt.weeks.utc=Pt.sunday.utc.range,Pt.weekOfYear=Pt.sundayOfYear;var Bt={"-":"",_:" ",0:"0"},Ut=/^\s*\d+/,qt=/^%/;function Vt(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+a[0].length):-1}function Kt(e,t,r){return/^[+-]\d{4}$/.test(t=t.slice(r,r+5))?(e.Z=-t,r+5):-1}function $t(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function er(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function tr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.j=+n[0],r+n[0].length):-1}function rr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function nr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function ar(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function ir(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function or(e){var t=e.getTimezoneOffset(),r=t>0?"-":"+",n=y(t)/60|0,a=y(t)%60;return r+Vt(n,"0",2)+Vt(a,"0",2)}function lr(e,t,r){qt.lastIndex=0;var n=qt.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function sr(e){for(var t=e.length,r=-1;++r=0?1:-1,l=o*i,s=Math.cos(t),c=Math.sin(t),u=a*c,d=n*s+u*Math.cos(l),f=u*o*Math.sin(l);Ir.add(Math.atan2(f,d)),r=e,n=s,a=c}Or.point=function(o,l){Or.point=i,r=(e=o)*Ie,n=Math.cos(l=(t=l)*Ie/2+Ae/4),a=Math.sin(l)},Or.lineEnd=function(){i(e,t)}}function zr(e){var t=e[0],r=e[1],n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}function Pr(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function jr(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Er(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Rr(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Nr(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Fr(e){return[Math.atan2(e[1],e[0]),je(e[2])]}function Hr(e,t){return y(e[0]-t[0])Te?a=90:c<-Te&&(r=-90),d[0]=e,d[1]=n}};function h(t,i){u.push(d=[e=t,n=t]),ia&&(a=i)}function p(t,o){var l=zr([t*Ie,o*Ie]);if(s){var c=jr(s,l),u=jr([c[1],-c[0],0],c);Nr(u),u=Fr(u);var d=t-i,f=d>0?1:-1,p=u[0]*Oe*f,g=y(d)>180;if(g^(f*ia&&(a=v);else if(g^(f*i<(p=(p+360)%360-180)&&pa&&(a=o);g?t_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t):n>=e?(tn&&(n=t)):t>i?_(e,t)>_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t)}else h(t,o);s=l,i=t}function g(){f.point=p}function v(){d[0]=e,d[1]=n,f.point=h,s=null}function m(e,t){if(s){var r=e-i;c+=y(r)>180?r+(r>0?360:-360):r}else o=e,l=t;Or.point(e,t),p(e,t)}function x(){Or.lineStart()}function b(){m(o,l),Or.lineEnd(),y(c)>Te&&(e=-(n=180)),d[0]=e,d[1]=n,s=null}function _(e,t){return(t-=e)<0?t+360:t}function w(e,t){return e[0]-t[0]}function k(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e_(g[0],g[1])&&(g[1]=h[1]),_(h[0],g[1])>_(g[0],g[1])&&(g[0]=h[0])):l.push(g=h);for(var s,c,h,p=-1/0,g=(o=0,l[c=l.length-1]);o<=c;g=h,++o)h=l[o],(s=_(g[1],h[0]))>p&&(p=s,e=h[0],n=g[1])}return u=d=null,e===1/0||r===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,r],[n,a]]}}(),t.geo.centroid=function(e){xr=br=_r=wr=kr=Tr=Mr=Ar=Sr=Lr=Cr=0,t.geo.stream(e,Br);var r=Sr,n=Lr,a=Cr,i=r*r+n*n+a*a;return i=0;--l)a.point((d=u[l])[0],d[1]);else n(h.x,h.p.x,-1,a);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);a.lineEnd()}}}function Qr(e){if(t=e.length){for(var t,r,n=0,a=e[0];++n=0?1:-1,k=w*_,T=k>Ae,M=p*x;if(Ir.add(Math.atan2(M*w*Math.sin(k),g*b+M*Math.cos(k))),i+=T?_+w*Se:_,T^f>=r^m>=r){var A=jr(zr(d),zr(e));Nr(A);var S=jr(a,A);Nr(S);var L=(T^_>=0?-1:1)*je(S[2]);(n>L||n===L&&(A[0]||A[1]))&&(o+=T^_>=0?1:-1)}if(!v++)break;f=m,p=x,g=b,d=e}}return(i<-Te||i0){for(x||(o.polygonStart(),x=!0),o.lineStart();++i1&&2&t&&r.push(r.pop().concat(r.shift())),l.push(r.filter($r))}return u}}function $r(e){return e.length>1}function en(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,r){e.push([t,r])},lineEnd:P,buffer:function(){var r=t;return t=[],e=null,r},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function tn(e,t){return((e=e.x)[0]<0?e[1]-Ce-Te:Ce-e[1])-((t=t.x)[0]<0?t[1]-Ce-Te:Ce-t[1])}var rn=Kr(Wr,(function(e){var t,r=NaN,n=NaN,a=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,o){var l,s,c,u,d,f,h,p=i>0?Ae:-Ae,g=y(i-r);y(g-Ae)0?Ce:-Ce),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(p,n),e.point(i,n),t=0):a!==p&&g>=Ae&&(y(r-a)Te?Math.atan((Math.sin(s)*(f=Math.cos(u))*Math.sin(c)-Math.sin(u)*(d=Math.cos(s))*Math.sin(l))/(d*f*h)):(s+u)/2,e.point(a,n),e.lineEnd(),e.lineStart(),e.point(p,n),t=0),e.point(r=i,n=o),a=p},lineEnd:function(){e.lineEnd(),r=n=NaN},clean:function(){return 2-t}}}),(function(e,t,r,n){var a;if(null==e)a=r*Ce,n.point(-Ae,a),n.point(0,a),n.point(Ae,a),n.point(Ae,0),n.point(Ae,-a),n.point(0,-a),n.point(-Ae,-a),n.point(-Ae,0),n.point(-Ae,a);else if(y(e[0]-t[0])>Te){var i=e[0]0,n=y(t)>Te;function a(e,r){return Math.cos(e)*Math.cos(r)>t}function i(e,r,n){var a=[1,0,0],i=jr(zr(e),zr(r)),o=Pr(i,i),l=i[0],s=o-l*l;if(!s)return!n&&e;var c=t*o/s,u=-t*l/s,d=jr(a,i),f=Rr(a,c);Er(f,Rr(i,u));var h=d,p=Pr(f,h),g=Pr(h,h),v=p*p-g*(Pr(f,f)-1);if(!(v<0)){var m=Math.sqrt(v),x=Rr(h,(-p-m)/g);if(Er(x,f),x=Fr(x),!n)return x;var b,_=e[0],w=r[0],k=e[1],T=r[1];w<_&&(b=_,_=w,w=b);var M=w-_,A=y(M-Ae)0^x[1]<(y(x[0]-_)Ae^(_<=x[0]&&x[0]<=w)){var S=Rr(h,(-p+m)/g);return Er(S,f),[x,Fr(S)]}}}function o(t,n){var a=r?e:Ae-e,i=0;return t<-a?i|=1:t>a&&(i|=2),n<-a?i|=4:n>a&&(i|=8),i}return Kr(a,(function(e){var t,l,s,c,u;return{lineStart:function(){c=s=!1,u=1},point:function(d,f){var h,p=[d,f],g=a(d,f),v=r?g?0:o(d,f):g?o(d+(d<0?Ae:-Ae),f):0;if(!t&&(c=s=g)&&e.lineStart(),g!==s&&(h=i(t,p),(Hr(t,h)||Hr(p,h))&&(p[0]+=Te,p[1]+=Te,g=a(p[0],p[1]))),g!==s)u=0,g?(e.lineStart(),h=i(p,t),e.point(h[0],h[1])):(h=i(t,p),e.point(h[0],h[1]),e.lineEnd()),t=h;else if(n&&t&&r^g){var m;v&l||!(m=i(p,t,!0))||(u=0,r?(e.lineStart(),e.point(m[0][0],m[0][1]),e.point(m[1][0],m[1][1]),e.lineEnd()):(e.point(m[1][0],m[1][1]),e.lineEnd(),e.lineStart(),e.point(m[0][0],m[0][1])))}!g||t&&Hr(t,p)||e.point(p[0],p[1]),t=p,s=g,l=v},lineEnd:function(){s&&e.lineEnd(),t=null},clean:function(){return u|(c&&s)<<1}}}),Bn(e,6*Ie),r?[0,-e]:[-Ae,e-Ae])}function an(e,t,r,n){return function(a){var i,o=a.a,l=a.b,s=o.x,c=o.y,u=0,d=1,f=l.x-s,h=l.y-c;if(i=e-s,f||!(i>0)){if(i/=f,f<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=r-s,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>u&&(u=i)}else if(f>0){if(i0)){if(i/=h,h<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=n-c,h||!(i<0)){if(i/=h,h<0){if(i>d)return;i>u&&(u=i)}else if(h>0){if(i0&&(a.a={x:s+u*f,y:c+u*h}),d<1&&(a.b={x:s+d*f,y:c+d*h}),a}}}}}}var on=1e9;function ln(e,r,n,a){function i(t,a){return y(t[0]-e)0?0:3:y(t[0]-n)0?2:1:y(t[1]-r)0?1:0:a>0?3:2}function o(e,t){return l(e.x,t.x)}function l(e,t){var r=i(e,1),n=i(t,1);return r!==n?r-n:0===r?t[1]-e[1]:1===r?e[0]-t[0]:2===r?e[1]-t[1]:t[0]-e[0]}return function(s){var c,u,d,f,h,p,g,v,m,y,x,b=s,_=en(),w=an(e,r,n,a),k={point:A,lineStart:function(){k.point=S,u&&u.push(d=[]),y=!0,m=!1,g=v=NaN},lineEnd:function(){c&&(S(f,h),p&&m&&_.rejoin(),c.push(_.buffer())),k.point=A,m&&s.lineEnd()},polygonStart:function(){s=_,c=[],u=[],x=!0},polygonEnd:function(){s=b,c=t.merge(c);var r=function(e){for(var t=0,r=u.length,n=e[1],a=0;an&&ze(c,i,e)>0&&++t:i[1]<=n&&ze(c,i,e)<0&&--t,c=i;return 0!==t}([e,a]),n=x&&r,i=c.length;(n||i)&&(s.polygonStart(),n&&(s.lineStart(),T(null,null,1,s),s.lineEnd()),i&&Xr(c,o,r,T,s),s.polygonEnd()),c=u=d=null}};function T(t,o,s,c){var u=0,d=0;if(null==t||(u=i(t,s))!==(d=i(o,s))||l(t,o)<0^s>0)do{c.point(0===u||3===u?e:n,u>1?a:r)}while((u=(u+s+4)%4)!==d);else c.point(o[0],o[1])}function M(t,i){return e<=t&&t<=n&&r<=i&&i<=a}function A(e,t){M(e,t)&&s.point(e,t)}function S(e,t){var r=M(e=Math.max(-1e9,Math.min(on,e)),t=Math.max(-1e9,Math.min(on,t)));if(u&&d.push([e,t]),y)f=e,h=t,p=r,y=!1,r&&(s.lineStart(),s.point(e,t));else if(r&&m)s.point(e,t);else{var n={a:{x:g,y:v},b:{x:e,y:t}};w(n)?(m||(s.lineStart(),s.point(n.a.x,n.a.y)),s.point(n.b.x,n.b.y),r||s.lineEnd(),x=!1):r&&(s.lineStart(),s.point(e,t),x=!1)}g=e,v=t,m=r}return k}}function sn(e){var t=0,r=Ae/3,n=zn(e),a=n(t,r);return a.parallels=function(e){return arguments.length?n(t=e[0]*Ae/180,r=e[1]*Ae/180):[t/Ae*180,r/Ae*180]},a}function cn(e,t){var r=Math.sin(e),n=(r+Math.sin(t))/2,a=1+r*(2*n-r),i=Math.sqrt(a)/n;function o(e,t){var r=Math.sqrt(a-2*n*Math.sin(t))/n;return[r*Math.sin(e*=n),i-r*Math.cos(e)]}return o.invert=function(e,t){var r=i-t;return[Math.atan2(e,r)/n,je((a-(e*e+r*r)*n*n)/(2*n))]},o}t.geo.clipExtent=function(){var e,t,r,n,a,i,o={stream:function(e){return a&&(a.valid=!1),(a=i(e)).valid=!0,a},extent:function(l){return arguments.length?(i=ln(e=+l[0][0],t=+l[0][1],r=+l[1][0],n=+l[1][1]),a&&(a.valid=!1,a=null),o):[[e,t],[r,n]]}};return o.extent([[0,0],[960,500]])},(t.geo.conicEqualArea=function(){return sn(cn)}).raw=cn,t.geo.albers=function(){return t.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},t.geo.albersUsa=function(){var e,r,n,a,i=t.geo.albers(),o=t.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=t.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(t,r){e=[t,r]}};function c(t){var i=t[0],o=t[1];return e=null,r(i,o),e||(n(i,o),e)||a(i,o),e}return c.invert=function(e){var t=i.scale(),r=i.translate(),n=(e[0]-r[0])/t,a=(e[1]-r[1])/t;return(a>=.12&&a<.234&&n>=-.425&&n<-.214?o:a>=.166&&a<.234&&n>=-.214&&n<-.115?l:i).invert(e)},c.stream=function(e){var t=i.stream(e),r=o.stream(e),n=l.stream(e);return{point:function(e,a){t.point(e,a),r.point(e,a),n.point(e,a)},sphere:function(){t.sphere(),r.sphere(),n.sphere()},lineStart:function(){t.lineStart(),r.lineStart(),n.lineStart()},lineEnd:function(){t.lineEnd(),r.lineEnd(),n.lineEnd()},polygonStart:function(){t.polygonStart(),r.polygonStart(),n.polygonStart()},polygonEnd:function(){t.polygonEnd(),r.polygonEnd(),n.polygonEnd()}}},c.precision=function(e){return arguments.length?(i.precision(e),o.precision(e),l.precision(e),c):i.precision()},c.scale=function(e){return arguments.length?(i.scale(e),o.scale(.35*e),l.scale(e),c.translate(i.translate())):i.scale()},c.translate=function(e){if(!arguments.length)return i.translate();var t=i.scale(),u=+e[0],d=+e[1];return r=i.translate(e).clipExtent([[u-.455*t,d-.238*t],[u+.455*t,d+.238*t]]).stream(s).point,n=o.translate([u-.307*t,d+.201*t]).clipExtent([[u-.425*t+Te,d+.12*t+Te],[u-.214*t-Te,d+.234*t-Te]]).stream(s).point,a=l.translate([u-.205*t,d+.212*t]).clipExtent([[u-.214*t+Te,d+.166*t+Te],[u-.115*t-Te,d+.234*t-Te]]).stream(s).point,c},c.scale(1070)};var un,dn,fn,hn,pn,gn,vn={point:P,lineStart:P,lineEnd:P,polygonStart:function(){dn=0,vn.lineStart=mn},polygonEnd:function(){vn.lineStart=vn.lineEnd=vn.point=P,un+=y(dn/2)}};function mn(){var e,t,r,n;function a(e,t){dn+=n*e-r*t,r=e,n=t}vn.point=function(i,o){vn.point=a,e=r=i,t=n=o},vn.lineEnd=function(){a(e,t)}}var yn={point:function(e,t){epn&&(pn=e),tgn&&(gn=t)},lineStart:P,lineEnd:P,polygonStart:P,polygonEnd:P};function xn(){var e=bn(4.5),t=[],r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=l},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(t){return e=bn(t),r},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function n(r,n){t.push("M",r,",",n,e)}function a(e,n){t.push("M",e,",",n),r.point=i}function i(e,r){t.push("L",e,",",r)}function o(){r.point=n}function l(){t.push("Z")}return r}function bn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var _n,wn={point:kn,lineStart:Tn,lineEnd:Mn,polygonStart:function(){wn.lineStart=An},polygonEnd:function(){wn.point=kn,wn.lineStart=Tn,wn.lineEnd=Mn}};function kn(e,t){_r+=e,wr+=t,++kr}function Tn(){var e,t;function r(r,n){var a=r-e,i=n-t,o=Math.sqrt(a*a+i*i);Tr+=o*(e+r)/2,Mr+=o*(t+n)/2,Ar+=o,kn(e=r,t=n)}wn.point=function(n,a){wn.point=r,kn(e=n,t=a)}}function Mn(){wn.point=kn}function An(){var e,t,r,n;function a(e,t){var a=e-r,i=t-n,o=Math.sqrt(a*a+i*i);Tr+=o*(r+e)/2,Mr+=o*(n+t)/2,Ar+=o,Sr+=(o=n*e-r*t)*(r+e),Lr+=o*(n+t),Cr+=3*o,kn(r=e,n=t)}wn.point=function(i,o){wn.point=a,kn(e=r=i,t=n=o)},wn.lineEnd=function(){a(e,t)}}function Sn(e){var t=4.5,r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=l},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(e){return t=e,r},result:P};function n(r,n){e.moveTo(r+t,n),e.arc(r,n,t,0,Se)}function a(t,n){e.moveTo(t,n),r.point=i}function i(t,r){e.lineTo(t,r)}function o(){r.point=n}function l(){e.closePath()}return r}function Ln(e){var t=.5,r=Math.cos(30*Ie),n=16;function a(e){return(n?o:i)(e)}function i(t){return On(t,(function(r,n){r=e(r,n),t.point(r[0],r[1])}))}function o(t){var r,a,i,o,s,c,u,d,f,h,p,g,v={point:m,lineStart:y,lineEnd:b,polygonStart:function(){t.polygonStart(),v.lineStart=_},polygonEnd:function(){t.polygonEnd(),v.lineStart=y}};function m(r,n){r=e(r,n),t.point(r[0],r[1])}function y(){d=NaN,v.point=x,t.lineStart()}function x(r,a){var i=zr([r,a]),o=e(r,a);l(d,f,u,h,p,g,d=o[0],f=o[1],u=r,h=i[0],p=i[1],g=i[2],n,t),t.point(d,f)}function b(){v.point=m,t.lineEnd()}function _(){y(),v.point=w,v.lineEnd=k}function w(e,t){x(r=e,t),a=d,i=f,o=h,s=p,c=g,v.point=x}function k(){l(d,f,u,h,p,g,a,i,r,o,s,c,n,t),v.lineEnd=b,b()}return v}function l(n,a,i,o,s,c,u,d,f,h,p,g,v,m){var x=u-n,b=d-a,_=x*x+b*b;if(_>4*t&&v--){var w=o+h,k=s+p,T=c+g,M=Math.sqrt(w*w+k*k+T*T),A=Math.asin(T/=M),S=y(y(T)-1)t||y((x*O+b*D)/_-.5)>.3||o*h+s*p+c*g0&&16,a):Math.sqrt(t)},a}function Cn(e){var t=Ln((function(t,r){return e([t*Oe,r*Oe])}));return function(e){return Pn(t(e))}}function In(e){this.stream=e}function On(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function Dn(e){return zn((function(){return e}))()}function zn(e){var r,n,a,i,o,l,s=Ln((function(e,t){return[(e=r(e,t))[0]*c+i,o-e[1]*c]})),c=150,u=480,d=250,f=0,h=0,p=0,g=0,v=0,m=rn,y=I,x=null,b=null;function _(e){return[(e=a(e[0]*Ie,e[1]*Ie))[0]*c+i,o-e[1]*c]}function w(e){return(e=a.invert((e[0]-i)/c,(o-e[1])/c))&&[e[0]*Oe,e[1]*Oe]}function k(){a=Zr(n=Rn(p,g,v),r);var e=r(f,h);return i=u-e[0]*c,o=d+e[1]*c,T()}function T(){return l&&(l.valid=!1,l=null),_}return _.stream=function(e){return l&&(l.valid=!1),(l=Pn(m(n,s(y(e))))).valid=!0,l},_.clipAngle=function(e){return arguments.length?(m=null==e?(x=e,rn):nn((x=+e)*Ie),T()):x},_.clipExtent=function(e){return arguments.length?(b=e,y=e?ln(e[0][0],e[0][1],e[1][0],e[1][1]):I,T()):b},_.scale=function(e){return arguments.length?(c=+e,k()):c},_.translate=function(e){return arguments.length?(u=+e[0],d=+e[1],k()):[u,d]},_.center=function(e){return arguments.length?(f=e[0]%360*Ie,h=e[1]%360*Ie,k()):[f*Oe,h*Oe]},_.rotate=function(e){return arguments.length?(p=e[0]%360*Ie,g=e[1]%360*Ie,v=e.length>2?e[2]%360*Ie:0,k()):[p*Oe,g*Oe,v*Oe]},t.rebind(_,s,"precision"),function(){return r=e.apply(this,arguments),_.invert=r.invert&&w,k()}}function Pn(e){return On(e,(function(t,r){e.point(t*Ie,r*Ie)}))}function jn(e,t){return[e,t]}function En(e,t){return[e>Ae?e-Se:e<-Ae?e+Se:e,t]}function Rn(e,t,r){return e?t||r?Zr(Fn(e),Hn(t,r)):Fn(e):t||r?Hn(t,r):En}function Nn(e){return function(t,r){return[(t+=e)>Ae?t-Se:t<-Ae?t+Se:t,r]}}function Fn(e){var t=Nn(e);return t.invert=Nn(-e),t}function Hn(e,t){var r=Math.cos(e),n=Math.sin(e),a=Math.cos(t),i=Math.sin(t);function o(e,t){var o=Math.cos(t),l=Math.cos(e)*o,s=Math.sin(e)*o,c=Math.sin(t),u=c*r+l*n;return[Math.atan2(s*a-u*i,l*r-c*n),je(u*a+s*i)]}return o.invert=function(e,t){var o=Math.cos(t),l=Math.cos(e)*o,s=Math.sin(e)*o,c=Math.sin(t),u=c*a-s*i;return[Math.atan2(s*a+c*i,l*r+u*n),je(u*r-l*n)]},o}function Bn(e,t){var r=Math.cos(e),n=Math.sin(e);return function(a,i,o,l){var s=o*t;null!=a?(a=Un(r,a),i=Un(r,i),(o>0?ai)&&(a+=o*Se)):(a=e+o*Se,i=e-.5*s);for(var c,u=a;o>0?u>i:u2?e[2]*Ie:0),t.invert=function(t){return(t=e.invert(t[0]*Ie,t[1]*Ie))[0]*=Oe,t[1]*=Oe,t},t},En.invert=jn,t.geo.circle=function(){var e,t,r=[0,0],n=6;function a(){var e="function"==typeof r?r.apply(this,arguments):r,n=Rn(-e[0]*Ie,-e[1]*Ie,0).invert,a=[];return t(null,null,1,{point:function(e,t){a.push(e=n(e,t)),e[0]*=Oe,e[1]*=Oe}}),{type:"Polygon",coordinates:[a]}}return a.origin=function(e){return arguments.length?(r=e,a):r},a.angle=function(r){return arguments.length?(t=Bn((e=+r)*Ie,n*Ie),a):e},a.precision=function(r){return arguments.length?(t=Bn(e*Ie,(n=+r)*Ie),a):n},a.angle(90)},t.geo.distance=function(e,t){var r,n=(t[0]-e[0])*Ie,a=e[1]*Ie,i=t[1]*Ie,o=Math.sin(n),l=Math.cos(n),s=Math.sin(a),c=Math.cos(a),u=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((r=d*o)*r+(r=c*u-s*d*l)*r),s*u+c*d*l)},t.geo.graticule=function(){var e,r,n,a,i,o,l,s,c,u,d,f,h=10,p=h,g=90,v=360,m=2.5;function x(){return{type:"MultiLineString",coordinates:b()}}function b(){return t.range(Math.ceil(a/g)*g,n,g).map(d).concat(t.range(Math.ceil(s/v)*v,l,v).map(f)).concat(t.range(Math.ceil(r/h)*h,e,h).filter((function(e){return y(e%g)>Te})).map(c)).concat(t.range(Math.ceil(o/p)*p,i,p).filter((function(e){return y(e%v)>Te})).map(u))}return x.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},x.outline=function(){return{type:"Polygon",coordinates:[d(a).concat(f(l).slice(1),d(n).reverse().slice(1),f(s).reverse().slice(1))]}},x.extent=function(e){return arguments.length?x.majorExtent(e).minorExtent(e):x.minorExtent()},x.majorExtent=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],s=+e[0][1],l=+e[1][1],a>n&&(e=a,a=n,n=e),s>l&&(e=s,s=l,l=e),x.precision(m)):[[a,s],[n,l]]},x.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],o=+t[0][1],i=+t[1][1],r>e&&(t=r,r=e,e=t),o>i&&(t=o,o=i,i=t),x.precision(m)):[[r,o],[e,i]]},x.step=function(e){return arguments.length?x.majorStep(e).minorStep(e):x.minorStep()},x.majorStep=function(e){return arguments.length?(g=+e[0],v=+e[1],x):[g,v]},x.minorStep=function(e){return arguments.length?(h=+e[0],p=+e[1],x):[h,p]},x.precision=function(t){return arguments.length?(m=+t,c=qn(o,i,90),u=Vn(r,e,m),d=qn(s,l,90),f=Vn(a,n,m),x):m},x.majorExtent([[-180,-90+Te],[180,90-Te]]).minorExtent([[-180,-80-Te],[180,80+Te]])},t.geo.greatArc=function(){var e,r,n=Yn,a=Gn;function i(){return{type:"LineString",coordinates:[e||n.apply(this,arguments),r||a.apply(this,arguments)]}}return i.distance=function(){return t.geo.distance(e||n.apply(this,arguments),r||a.apply(this,arguments))},i.source=function(t){return arguments.length?(n=t,e="function"==typeof t?null:t,i):n},i.target=function(e){return arguments.length?(a=e,r="function"==typeof e?null:e,i):a},i.precision=function(){return arguments.length?i:0},i},t.geo.interpolate=function(e,t){var r,n,a,i,o,l,s,c,u,d,f,h,p,g,v;return r=e[0]*Ie,n=e[1]*Ie,a=t[0]*Ie,i=t[1]*Ie,o=Math.cos(n),l=Math.sin(n),s=Math.cos(i),c=Math.sin(i),u=o*Math.cos(r),d=o*Math.sin(r),f=s*Math.cos(a),h=s*Math.sin(a),p=2*Math.asin(Math.sqrt(Re(i-n)+o*s*Re(a-r))),g=1/Math.sin(p),(v=p?function(e){var t=Math.sin(e*=p)*g,r=Math.sin(p-e)*g,n=r*u+t*f,a=r*d+t*h,i=r*l+t*c;return[Math.atan2(a,n)*Oe,Math.atan2(i,Math.sqrt(n*n+a*a))*Oe]}:function(){return[r*Oe,n*Oe]}).distance=p,v},t.geo.length=function(e){return _n=0,t.geo.stream(e,Zn),_n};var Zn={sphere:P,point:P,lineStart:function(){var e,t,r;function n(n,a){var i=Math.sin(a*=Ie),o=Math.cos(a),l=y((n*=Ie)-e),s=Math.cos(l);_n+=Math.atan2(Math.sqrt((l=o*Math.sin(l))*l+(l=r*i-t*o*s)*l),t*i+r*o*s),e=n,t=i,r=o}Zn.point=function(a,i){e=a*Ie,t=Math.sin(i*=Ie),r=Math.cos(i),Zn.point=n},Zn.lineEnd=function(){Zn.point=Zn.lineEnd=P}},lineEnd:P,polygonStart:P,polygonEnd:P};function Wn(e,t){function r(t,r){var n=Math.cos(t),a=Math.cos(r),i=e(n*a);return[i*a*Math.sin(t),i*Math.sin(r)]}return r.invert=function(e,r){var n=Math.sqrt(e*e+r*r),a=t(n),i=Math.sin(a),o=Math.cos(a);return[Math.atan2(e*i,n*o),Math.asin(n&&r*i/n)]},r}var Xn=Wn((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(t.geo.azimuthalEqualArea=function(){return Dn(Xn)}).raw=Xn;var Qn=Wn((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),I);function Jn(e,t){var r=Math.cos(e),n=function(e){return Math.tan(Ae/4+e/2)},a=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(n(t)/n(e)),i=r*Math.pow(n(e),a)/a;if(!a)return ea;function o(e,t){i>0?t<-Ce+Te&&(t=-Ce+Te):t>Ce-Te&&(t=Ce-Te);var r=i/Math.pow(n(t),a);return[r*Math.sin(a*e),i-r*Math.cos(a*e)]}return o.invert=function(e,t){var r=i-t,n=De(a)*Math.sqrt(e*e+r*r);return[Math.atan2(e,r)/a,2*Math.atan(Math.pow(i/n,1/a))-Ce]},o}function Kn(e,t){var r=Math.cos(e),n=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),a=r/n+e;if(y(n)1&&ze(e[r[n-2]],e[r[n-1]],e[a])<=0;)--n;r[n++]=a}return r.slice(0,n)}function sa(e,t){return e[0]-t[0]||e[1]-t[1]}(t.geo.stereographic=function(){return Dn(na)}).raw=na,aa.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ce]},(t.geo.transverseMercator=function(){var e=ta(aa),t=e.center,r=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?r([e[0],e[1],e.length>2?e[2]+90:90]):[(e=r())[0],e[1],e[2]-90]},r([0,0,90])}).raw=aa,t.geom={},t.geom.hull=function(e){var t=ia,r=oa;if(arguments.length)return n(e);function n(e){if(e.length<3)return[];var n,a=vt(t),i=vt(r),o=e.length,l=[],s=[];for(n=0;n=0;--n)h.push(e[l[c[n]][2]]);for(n=+d;nTe)l=l.L;else{if(!((a=i-Aa(l,o))>Te)){n>-Te?(t=l.P,r=l):a>-Te?(t=l,r=l.N):t=r=l;break}if(!l.R){t=l;break}l=l.R}var s=_a(e);if(ga.insert(t,s),t||r){if(t===r)return Oa(t),r=_a(t.site),ga.insert(s,r),s.edge=r.edge=Pa(t.site,s.site),Ia(t),void Ia(r);if(r){Oa(t),Oa(r);var c=t.site,u=c.x,d=c.y,f=e.x-u,h=e.y-d,p=r.site,g=p.x-u,v=p.y-d,m=2*(f*v-h*g),y=f*f+h*h,x=g*g+v*v,b={x:(v*y-h*x)/m+u,y:(f*x-g*y)/m+d};Ea(r.edge,c,p,b),s.edge=Pa(c,e,null,b),r.edge=Pa(e,p,null,b),Ia(t),Ia(r)}else s.edge=Pa(t.site,s.site)}}function Ma(e,t){var r=e.site,n=r.x,a=r.y,i=a-t;if(!i)return n;var o=e.P;if(!o)return-1/0;var l=(r=o.site).x,s=r.y,c=s-t;if(!c)return l;var u=l-n,d=1/i-1/c,f=u/c;return d?(-f+Math.sqrt(f*f-2*d*(u*u/(-2*c)-s+c/2+a-i/2)))/d+n:(n+l)/2}function Aa(e,t){var r=e.N;if(r)return Ma(r,t);var n=e.site;return n.y===t?n.x:1/0}function Sa(e){this.site=e,this.edges=[]}function La(e,t){return t.angle-e.angle}function Ca(){Fa(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ia(e){var t=e.P,r=e.N;if(t&&r){var n=t.site,a=e.site,i=r.site;if(n!==i){var o=a.x,l=a.y,s=n.x-o,c=n.y-l,u=i.x-o,d=2*(s*(v=i.y-l)-c*u);if(!(d>=-Me)){var f=s*s+c*c,h=u*u+v*v,p=(v*f-c*h)/d,g=(s*h-u*f)/d,v=g+l,m=xa.pop()||new Ca;m.arc=e,m.site=a,m.x=p+o,m.y=v+Math.sqrt(p*p+g*g),m.cy=v,e.circle=m;for(var y=null,x=ma._;x;)if(m.y=l)return;if(f>p){if(i){if(i.y>=c)return}else i={x:v,y:s};r={x:v,y:c}}else{if(i){if(i.y1)if(f>p){if(i){if(i.y>=c)return}else i={x:(s-a)/n,y:s};r={x:(c-a)/n,y:c}}else{if(i){if(i.y=l)return}else i={x:o,y:n*o+a};r={x:l,y:n*l+a}}else{if(i){if(i.xTe||y(a-r)>Te)&&(l.splice(o,0,new Ra(ja(i.site,u,y(n-d)Te?{x:d,y:y(t-d)Te?{x:y(r-p)Te?{x:f,y:y(t-f)Te?{x:y(r-h)=r&&c.x<=a&&c.y>=n&&c.y<=o?[[r,o],[a,o],[a,n],[r,n]]:[]).point=e[l]})),t}function l(e){return e.map((function(e,t){return{x:Math.round(n(e,t)/Te)*Te,y:Math.round(a(e,t)/Te)*Te,i:t}}))}return o.links=function(e){return qa(l(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},o.triangles=function(e){var t=[];return qa(l(e)).cells.forEach((function(r,n){for(var a,i,o,l,s=r.site,c=r.edges.sort(La),u=-1,d=c.length,f=c[d-1].edge,h=f.l===s?f.r:f.l;++ui||d>o||f=_)<<1|t>=b,k=w+4;wi&&(a=t.slice(i,a),l[o]?l[o]+=a:l[++o]=a),(r=r[0])===(n=n[0])?l[o]?l[o]+=n:l[++o]=n:(l[++o]=null,s.push({i:o,x:Ka(r,n)})),i=ti.lastIndex;return ig&&(g=s.x),s.y>v&&(v=s.y),c.push(s.x),u.push(s.y);else for(d=0;dg&&(g=b),_>v&&(v=_),c.push(b),u.push(_)}var w=g-h,k=v-p;function T(e,t,r,n,a,i,o,l){if(!isNaN(r)&&!isNaN(n))if(e.leaf){var s=e.x,c=e.y;if(null!=s)if(y(s-r)+y(c-n)<.01)M(e,t,r,n,a,i,o,l);else{var u=e.point;e.x=e.y=e.point=null,M(e,u,s,c,a,i,o,l),M(e,t,r,n,a,i,o,l)}else e.x=r,e.y=n,e.point=t}else M(e,t,r,n,a,i,o,l)}function M(e,t,r,n,a,i,o,l){var s=.5*(a+o),c=.5*(i+l),u=r>=s,d=n>=c,f=d<<1|u;e.leaf=!1,u?a=s:o=s,d?i=c:l=c,T(e=e.nodes[f]||(e.nodes[f]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,r,n,a,i,o,l)}w>k?v=p+w:g=h+k;var A={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){T(A,e,+m(e,++d),+x(e,d),h,p,g,v)},visit:function(e){Wa(e,A,h,p,g,v)},find:function(e){return Xa(A,e[0],e[1],h,p,g,v)}};if(d=-1,null==t){for(;++d=0&&!(n=t.interpolators[a](e,r)););return n}function ni(e,t){var r,n=[],a=[],i=e.length,o=t.length,l=Math.min(e.length,t.length);for(r=0;r=1?1:e(t)}}function si(e){return function(t){return 1-e(1-t)}}function ci(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function ui(e){return e*e}function di(e){return e*e*e}function fi(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}function hi(e){return 1-Math.cos(e*Ce)}function pi(e){return Math.pow(2,10*(e-1))}function gi(e){return 1-Math.sqrt(1-e*e)}function vi(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function mi(e,t){return t-=e,function(r){return Math.round(e+t*r)}}function yi(e){var t,r,n,a=[e.a,e.b],i=[e.c,e.d],o=bi(a),l=xi(a,i),s=bi(((t=i)[0]+=(n=-l)*(r=a)[0],t[1]+=n*r[1],t))||0;a[0]*i[1]=0?e.slice(0,t):e,a=t>=0?e.slice(t+1):"in";return n=ii.get(n)||ai,li((a=oi.get(a)||I)(n.apply(null,r.call(arguments,1))))},t.interpolateHcl=function(e,r){e=t.hcl(e),r=t.hcl(r);var n=e.h,a=e.c,i=e.l,o=r.h-n,l=r.c-a,s=r.l-i;return isNaN(l)&&(l=0,a=isNaN(a)?r.c:a),isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360),function(e){return We(n+o*e,a+l*e,i+s*e)+""}},t.interpolateHsl=function(e,r){e=t.hsl(e),r=t.hsl(r);var n=e.h,a=e.s,i=e.l,o=r.h-n,l=r.s-a,s=r.l-i;return isNaN(l)&&(l=0,a=isNaN(a)?r.s:a),isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360),function(e){return Ye(n+o*e,a+l*e,i+s*e)+""}},t.interpolateLab=function(e,r){e=t.lab(e),r=t.lab(r);var n=e.l,a=e.a,i=e.b,o=r.l-n,l=r.a-a,s=r.b-i;return function(e){return et(n+o*e,a+l*e,i+s*e)+""}},t.interpolateRound=mi,t.transform=function(e){var r=a.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(e){if(null!=e){r.setAttribute("transform",e);var t=r.transform.baseVal.consolidate()}return new yi(t?t.matrix:_i)})(e)},yi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var _i={a:1,b:0,c:0,d:1,e:0,f:0};function wi(e){return e.length?e.pop()+",":""}function ki(e,r){var n,a,i,o,l=[],s=[];return e=t.transform(e),r=t.transform(r),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push("translate(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else(t[0]||t[1])&&r.push("translate("+t+")")}(e.translate,r.translate,l,s),n=e.rotate,a=r.rotate,i=l,o=s,n!==a?(n-a>180?a+=360:a-n>180&&(n+=360),o.push({i:i.push(wi(i)+"rotate(",null,")")-2,x:Ka(n,a)})):a&&i.push(wi(i)+"rotate("+a+")"),function(e,t,r,n){e!==t?n.push({i:r.push(wi(r)+"skewX(",null,")")-2,x:Ka(e,t)}):t&&r.push(wi(r)+"skewX("+t+")")}(e.skew,r.skew,l,s),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push(wi(r)+"scale(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else 1===t[0]&&1===t[1]||r.push(wi(r)+"scale("+t+")")}(e.scale,r.scale,l,s),e=r=null,function(e){for(var t,r=-1,n=s.length;++r0?n=t:(e.c=null,e.t=NaN,e=null,s.end({type:"end",alpha:n=0})):t>0&&(s.start({type:"start",alpha:n=t}),e=Tt(l.tick)),l):n},l.start=function(){var e,t,r,n=m.length,s=y.length,u=c[0],p=c[1];for(e=0;e=0;)r.push(a[n])}function Ni(e,t){for(var r=[e],n=[];null!=(e=r.pop());)if(n.push(e),(i=e.children)&&(a=i.length))for(var a,i,o=-1;++o=0;)o.push(u=c[s]),u.parent=i,u.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(n,i,i.depth)||0),delete i.children;return Ni(a,(function(t){var n,a;e&&(n=t.children)&&n.sort(e),r&&(a=t.parent)&&(a.value+=t.value)})),l}return n.sort=function(t){return arguments.length?(e=t,n):e},n.children=function(e){return arguments.length?(t=e,n):t},n.value=function(e){return arguments.length?(r=e,n):r},n.revalue=function(e){return r&&(Ri(e,(function(e){e.children&&(e.value=0)})),Ni(e,(function(e){var t;e.children||(e.value=+r.call(n,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},n},t.layout.partition=function(){var e=t.layout.hierarchy(),r=[1,1];function n(e,t,r,a){var i=e.children;if(e.x=t,e.y=e.depth*a,e.dx=r,e.dy=a,i&&(o=i.length)){var o,l,s,c=-1;for(r=e.value?r/e.value:0;++cl&&(l=n),o.push(n)}for(r=0;ra&&(n=r,a=t);return n}function Ki(e){return e.reduce($i,0)}function $i(e,t){return e+t[1]}function eo(e,t){return to(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function to(e,t){for(var r=-1,n=+e[0],a=(e[1]-n)/t,i=[];++r<=t;)i[r]=a*r+n;return i}function ro(e){return[t.min(e),t.max(e)]}function no(e,t){return e.value-t.value}function ao(e,t){var r=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=r,r._pack_prev=t}function io(e,t){e._pack_next=t,t._pack_prev=e}function oo(e,t){var r=t.x-e.x,n=t.y-e.y,a=e.r+t.r;return.999*a*a>r*r+n*n}function lo(e){if((t=e.children)&&(s=t.length)){var t,r,n,a,i,o,l,s,c=1/0,u=-1/0,d=1/0,f=-1/0;if(t.forEach(so),(r=t[0]).x=-r.r,r.y=0,x(r),s>1&&((n=t[1]).x=n.r,n.y=0,x(n),s>2))for(fo(r,n,a=t[2]),x(a),ao(r,a),r._pack_prev=a,ao(a,n),n=r._pack_next,i=3;i0)for(o=-1;++o=d[0]&&s<=d[1]&&((l=c[t.bisect(f,s,1,p)-1]).y+=g,l.push(i[o]));return c}return i.value=function(e){return arguments.length?(r=e,i):r},i.range=function(e){return arguments.length?(n=vt(e),i):n},i.bins=function(e){return arguments.length?(a="number"==typeof e?function(t){return to(t,e)}:vt(e),i):a},i.frequency=function(t){return arguments.length?(e=!!t,i):e},i},t.layout.pack=function(){var e,r=t.layout.hierarchy().sort(no),n=0,a=[1,1];function i(t,i){var o=r.call(this,t,i),l=o[0],s=a[0],c=a[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(l.x=l.y=0,Ni(l,(function(e){e.r=+u(e.value)})),Ni(l,lo),n){var d=n*(e?1:Math.max(2*l.r/s,2*l.r/c))/2;Ni(l,(function(e){e.r+=d})),Ni(l,lo),Ni(l,(function(e){e.r-=d}))}return uo(l,s/2,c/2,e?1:1/Math.max(2*l.r/s,2*l.r/c)),o}return i.size=function(e){return arguments.length?(a=e,i):a},i.radius=function(t){return arguments.length?(e=null==t||"function"==typeof t?t:+t,i):e},i.padding=function(e){return arguments.length?(n=+e,i):n},Ei(i,r)},t.layout.tree=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=null;function i(t,i){var c=e.call(this,t,i),u=c[0],d=function(e){for(var t,r={A:null,children:[e]},n=[r];null!=(t=n.pop());)for(var a,i=t.children,o=0,l=i.length;oh.x&&(h=e),e.depth>p.depth&&(p=e)}));var g=r(f,h)/2-f.x,v=n[0]/(h.x+r(h,f)/2+g),m=n[1]/(p.depth||1);Ri(u,(function(e){e.x=(e.x+g)*v,e.y=e.depth*m}))}return c}function o(e){var t=e.children,n=e.parent.children,a=e.i?n[e.i-1]:null;if(t.length){!function(e){for(var t,r=0,n=0,a=e.children,i=a.length;--i>=0;)(t=a[i]).z+=r,t.m+=r,r+=t.s+(n+=t.c)}(e);var i=(t[0].z+t[t.length-1].z)/2;a?(e.z=a.z+r(e._,a._),e.m=e.z-i):e.z=i}else a&&(e.z=a.z+r(e._,a._));e.parent.A=function(e,t,n){if(t){for(var a,i=e,o=e,l=t,s=i.parent.children[0],c=i.m,u=o.m,d=l.m,f=s.m;l=go(l),i=po(i),l&&i;)s=po(s),(o=go(o)).a=e,(a=l.z+d-i.z-c+r(l._,i._))>0&&(vo(mo(l,e,n),e,a),c+=a,u+=a),d+=l.m,c+=i.m,f+=s.m,u+=o.m;l&&!go(o)&&(o.t=l,o.m+=d-u),i&&!po(s)&&(s.t=i,s.m+=c-f,n=e)}return n}(e,a,e.parent.A||n[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=n[0],e.y=e.depth*n[1]}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e)?s:null,i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null==(n=e)?null:s,i):a?n:null},Ei(i,e)},t.layout.cluster=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=!1;function i(i,o){var l,s=e.call(this,i,o),c=s[0],u=0;Ni(c,(function(e){var n,a=e.children;a&&a.length?(e.x=(n=a).reduce((function(e,t){return e+t.x}),0)/n.length,e.y=function(e){return 1+t.max(e,(function(e){return e.y}))}(a)):(e.x=l?u+=r(e,l):0,e.y=0,l=e)}));var d=yo(c),f=xo(c),h=d.x-r(d,f)/2,p=f.x+r(f,d)/2;return Ni(c,a?function(e){e.x=(e.x-c.x)*n[0],e.y=(c.y-e.y)*n[1]}:function(e){e.x=(e.x-h)/(p-h)*n[0],e.y=(1-(c.y?e.y/c.y:1))*n[1]}),s}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e),i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null!=(n=e),i):a?n:null},Ei(i,e)},t.layout.treemap=function(){var e,r=t.layout.hierarchy(),n=Math.round,a=[1,1],i=null,o=bo,l=!1,s="squarify",c=.5*(1+Math.sqrt(5));function u(e,t){for(var r,n,a=-1,i=e.length;++a0;)l.push(r=c[a-1]),l.area+=r.area,"squarify"!==s||(n=h(l,g))<=f?(c.pop(),f=n):(l.area-=l.pop().area,p(l,g,i,!1),g=Math.min(i.dx,i.dy),l.length=l.area=0,f=1/0);l.length&&(p(l,g,i,!0),l.length=l.area=0),t.forEach(d)}}function f(e){var t=e.children;if(t&&t.length){var r,n=o(e),a=t.slice(),i=[];for(u(a,n.dx*n.dy/e.value),i.area=0;r=a.pop();)i.push(r),i.area+=r.area,null!=r.z&&(p(i,r.z?n.dx:n.dy,n,!a.length),i.length=i.area=0);t.forEach(f)}}function h(e,t){for(var r,n=e.area,a=0,i=1/0,o=-1,l=e.length;++oa&&(a=r));return t*=t,(n*=n)?Math.max(t*a*c/n,n/(t*i*c)):1/0}function p(e,t,r,a){var i,o=-1,l=e.length,s=r.x,c=r.y,u=t?n(e.area/t):0;if(t==r.dx){for((a||u>r.dy)&&(u=r.dy);++or.dx)&&(u=r.dx);++o1);return e+t*r*Math.sqrt(-2*Math.log(a)/a)}},logNormal:function(){var e=t.random.normal.apply(t,arguments);return function(){return Math.exp(e())}},bates:function(e){var r=t.random.irwinHall(e);return function(){return r()/e}},irwinHall:function(e){return function(){for(var t=0,r=0;r2?Lo:To,s=n?Mi:Ti;return a=o(e,t,s,r),i=o(t,e,s,ri),l}function l(e){return a(e)}return l.invert=function(e){return i(e)},l.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},l.range=function(e){return arguments.length?(t=e,o()):t},l.rangeRound=function(e){return l.range(e).interpolate(mi)},l.clamp=function(e){return arguments.length?(n=e,o()):n},l.interpolate=function(e){return arguments.length?(r=e,o()):r},l.ticks=function(t){return zo(e,t)},l.tickFormat=function(t,r){return Po(e,t,r)},l.nice=function(t){return Oo(e,t),o()},l.copy=function(){return Co(e,t,r,n)},o()}function Io(e,r){return t.rebind(e,r,"range","rangeRound","interpolate","clamp")}function Oo(e,t){return Mo(e,Ao(Do(e,t)[2])),Mo(e,Ao(Do(e,t)[2])),e}function Do(e,t){null==t&&(t=10);var r=wo(e),n=r[1]-r[0],a=Math.pow(10,Math.floor(Math.log(n/t)/Math.LN10)),i=t/n*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),r[0]=Math.ceil(r[0]/a)*a,r[1]=Math.floor(r[1]/a)*a+.5*a,r[2]=a,r}function zo(e,r){return t.range.apply(t,Do(e,r))}function Po(e,r,n){var a,i,o,l=Do(e,r);if(n){var s=Ot.exec(n);if(s.shift(),"s"===s[8]){var c=t.formatPrefix(Math.max(y(l[0]),y(l[1])));return s[7]||(s[7]="."+Eo(c.scale(l[2]))),s[8]="f",n=t.format(s.join("")),function(e){return n(c.scale(e))+c.symbol}}s[7]||(s[7]="."+(a=s[8],o=Eo((i=l)[2]),a in jo?Math.abs(o-Eo(Math.max(y(i[0]),y(i[1]))))+ +("e"!==a):o-2*("%"===a))),n=s.join("")}else n=",."+Eo(l[2])+"f";return t.format(n)}t.scale.linear=function(){return Co([0,1],[0,1],ri,!1)};var jo={s:1,g:1,p:1,r:1,e:1};function Eo(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function Ro(e,r,n,a){function i(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(r)}function o(e){return n?Math.pow(r,e):-Math.pow(r,-e)}function l(t){return e(i(t))}return l.invert=function(t){return o(e.invert(t))},l.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((a=t.map(Number)).map(i)),l):a},l.base=function(t){return arguments.length?(r=+t,e.domain(a.map(i)),l):r},l.nice=function(){var t=Mo(a.map(i),n?Math:Fo);return e.domain(t),a=t.map(o),l},l.ticks=function(){var e=wo(a),t=[],l=e[0],s=e[1],c=Math.floor(i(l)),u=Math.ceil(i(s)),d=r%1?2:r;if(isFinite(u-c)){if(n){for(;c0;f--)t.push(o(c)*f);for(c=0;t[c]s;u--);t=t.slice(c,u)}return t},l.tickFormat=function(e,n){if(!arguments.length)return No;arguments.length<2?n=No:"function"!=typeof n&&(n=t.format(n));var a=Math.max(1,r*e/l.ticks().length);return function(e){var t=e/o(Math.round(i(e)));return t*r0?n[t-1]:e[0],td?0:1;if(c=Le)return s(c,h)+(l?s(l,1-h):"")+"Z";var p,g,v,m,y,x,b,_,w,k,T,M,A=0,S=0,L=[];if((m=(+o.apply(this,arguments)||0)/2)&&(v=n===Ko?Math.sqrt(l*l+c*c):+n.apply(this,arguments),h||(S*=-1),c&&(S=je(v/c*Math.sin(m))),l&&(A=je(v/l*Math.sin(m)))),c){y=c*Math.cos(u+S),x=c*Math.sin(u+S),b=c*Math.cos(d-S),_=c*Math.sin(d-S);var C=Math.abs(d-u-2*S)<=Ae?0:1;if(S&&al(y,x,b,_)===h^C){var I=(u+d)/2;y=c*Math.cos(I),x=c*Math.sin(I),b=_=null}}else y=x=0;if(l){w=l*Math.cos(d-A),k=l*Math.sin(d-A),T=l*Math.cos(u+A),M=l*Math.sin(u+A);var O=Math.abs(u-d+2*A)<=Ae?0:1;if(A&&al(w,k,T,M)===1-h^O){var D=(u+d)/2;w=l*Math.cos(D),k=l*Math.sin(D),T=M=null}}else w=k=0;if(f>Te&&(p=Math.min(Math.abs(c-l)/2,+r.apply(this,arguments)))>.001){g=l0?0:1}function il(e,t,r,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=(a?n:-n)/Math.sqrt(i*i+o*o),s=l*o,c=-l*i,u=e[0]+s,d=e[1]+c,f=t[0]+s,h=t[1]+c,p=(u+f)/2,g=(d+h)/2,v=f-u,m=h-d,y=v*v+m*m,x=r-n,b=u*h-f*d,_=(m<0?-1:1)*Math.sqrt(Math.max(0,x*x*y-b*b)),w=(b*m-v*_)/y,k=(-b*v-m*_)/y,T=(b*m+v*_)/y,M=(-b*v+m*_)/y,A=w-p,S=k-g,L=T-p,C=M-g;return A*A+S*S>L*L+C*C&&(w=T,k=M),[[w-s,k-c],[w*r/x,k*r/x]]}function ol(e){var t=ia,r=oa,n=Wr,a=sl,i=a.key,o=.7;function l(i){var l,s=[],c=[],u=-1,d=i.length,f=vt(t),h=vt(r);function p(){s.push("M",a(e(c),o))}for(;++u1&&a.push("H",n[0]),a.join("")},"step-before":ul,"step-after":dl,basis:pl,"basis-open":function(e){if(e.length<4)return sl(e);for(var t,r=[],n=-1,a=e.length,i=[0],o=[0];++n<3;)t=e[n],i.push(t[0]),o.push(t[1]);for(r.push(gl(yl,i)+","+gl(yl,o)),--n;++n9&&(a=3*t/Math.sqrt(a),o[l]=a*r,o[l+1]=a*n);for(l=-1;++l<=s;)a=(e[Math.min(s,l+1)][0]-e[Math.max(0,l-1)][0])/(6*(1+o[l]*o[l])),i.push([a||0,o[l]*a||0]);return i}(e))}});function sl(e){return e.length>1?e.join("L"):e+"Z"}function cl(e){return e.join("L")+"Z"}function ul(e){for(var t=0,r=e.length,n=e[0],a=[n[0],",",n[1]];++t1){l=t[1],i=e[s],s++,n+="C"+(a[0]+o[0])+","+(a[1]+o[1])+","+(i[0]-l[0])+","+(i[1]-l[1])+","+i[0]+","+i[1];for(var c=2;cAe)+",1 "+t}function s(e,t,r,n){return"Q 0,0 "+n}return i.radius=function(e){return arguments.length?(r=vt(e),i):r},i.source=function(t){return arguments.length?(e=vt(t),i):e},i.target=function(e){return arguments.length?(t=vt(e),i):t},i.startAngle=function(e){return arguments.length?(n=vt(e),i):n},i.endAngle=function(e){return arguments.length?(a=vt(e),i):a},i},t.svg.diagonal=function(){var e=Yn,t=Gn,r=Tl;function n(n,a){var i=e.call(this,n,a),o=t.call(this,n,a),l=(i.y+o.y)/2,s=[i,{x:i.x,y:l},{x:o.x,y:l},o];return"M"+(s=s.map(r))[0]+"C"+s[1]+" "+s[2]+" "+s[3]}return n.source=function(t){return arguments.length?(e=vt(t),n):e},n.target=function(e){return arguments.length?(t=vt(e),n):t},n.projection=function(e){return arguments.length?(r=e,n):r},n},t.svg.diagonal.radial=function(){var e=t.svg.diagonal(),r=Tl,n=e.projection;return e.projection=function(e){return arguments.length?n(Ml(r=e)):r},e},t.svg.symbol=function(){var e=Sl,t=Al;function r(r,n){return(Cl.get(e.call(this,r,n))||Ll)(t.call(this,r,n))}return r.type=function(t){return arguments.length?(e=vt(t),r):e},r.size=function(e){return arguments.length?(t=vt(e),r):t},r};var Cl=t.map({circle:Ll,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Ol)),r=t*Ol;return"M0,"+-t+"L"+r+",0 0,"+t+" "+-r+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Il),r=t*Il/2;return"M0,"+r+"L"+t+","+-r+" "+-t+","+-r+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Il),r=t*Il/2;return"M0,"+-r+"L"+t+","+r+" "+-t+","+r+"Z"}});t.svg.symbolTypes=Cl.keys();var Il=Math.sqrt(3),Ol=Math.tan(30*Ie);G.transition=function(e){for(var t,r,n=jl||++Nl,a=Bl(e),i=[],o=El||{time:Date.now(),ease:fi,delay:0,duration:250},l=-1,s=this.length;++l0;)c[--f].call(e,o);if(i>=1)return d.event&&d.event.end.call(e,e.__data__,t),--u.count?delete u[n]:delete e[r],1}d||(i=a.time,o=Tt((function(e){var t=d.delay;if(o.t=t+i,t<=e)return f(e-t);o.c=f}),0,i),d=u[n]={tween:new _,time:i,timer:o,delay:a.delay,duration:a.duration,ease:a.ease,index:t},a=null,++u.count)}Rl.call=G.call,Rl.empty=G.empty,Rl.node=G.node,Rl.size=G.size,t.transition=function(e,r){return e&&e.transition?jl?e.transition(r):e:t.selection().transition(e)},t.transition.prototype=Rl,Rl.select=function(e){var t,r,n,a=this.id,i=this.namespace,o=[];e=Z(e);for(var l=-1,s=this.length;++lrect,.s>rect").attr("width",l[1]-l[0])}function g(e){e.select(".extent").attr("y",s[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function v(){var d,v,m=this,y=t.select(t.event.target),x=n.of(m,arguments),b=t.select(m),_=y.datum(),w=!/^(n|s)$/.test(_)&&a,k=!/^(e|w)$/.test(_)&&i,T=y.classed("extent"),M=be(m),A=t.mouse(m),S=t.select(o(m)).on("keydown.brush",I).on("keyup.brush",O);if(t.event.changedTouches?S.on("touchmove.brush",D).on("touchend.brush",P):S.on("mousemove.brush",D).on("mouseup.brush",P),b.interrupt().selectAll("*").interrupt(),T)A[0]=l[0]-A[0],A[1]=s[0]-A[1];else if(_){var L=+/w$/.test(_),C=+/^n/.test(_);v=[l[1-L]-A[0],s[1-C]-A[1]],A[0]=l[L],A[1]=s[C]}else t.event.altKey&&(d=A.slice());function I(){32==t.event.keyCode&&(T||(d=null,A[0]-=l[1],A[1]-=s[1],T=2),R())}function O(){32==t.event.keyCode&&2==T&&(A[0]+=l[1],A[1]+=s[1],T=0,R())}function D(){var e=t.mouse(m),r=!1;v&&(e[0]+=v[0],e[1]+=v[1]),T||(t.event.altKey?(d||(d=[(l[0]+l[1])/2,(s[0]+s[1])/2]),A[0]=l[+(e[0]1?{floor:function(t){for(;l(t=e.floor(t));)t=es(t-1);return t},ceil:function(t){for(;l(t=e.ceil(t));)t=es(+t+1);return t}}:e))},a.ticks=function(e,t){var r=wo(a.domain()),n=null==e?i(r,10):"number"==typeof e?i(r,e):!e.range&&[{range:e},t];return n&&(e=n[0],t=n[1]),e.range(r[0],es(+r[1]+1),t<1?1:t)},a.tickFormat=function(){return n},a.copy=function(){return $l(e.copy(),r,n)},Io(a,e)}function es(e){return new Date(e)}Xl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Kl:Jl,Kl.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Kl.toString=Jl.toString,Pt.second=Nt((function(e){return new jt(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),Pt.seconds=Pt.second.range,Pt.seconds.utc=Pt.second.utc.range,Pt.minute=Nt((function(e){return new jt(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),Pt.minutes=Pt.minute.range,Pt.minutes.utc=Pt.minute.utc.range,Pt.hour=Nt((function(e){var t=e.getTimezoneOffset()/60;return new jt(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),Pt.hours=Pt.hour.range,Pt.hours.utc=Pt.hour.utc.range,Pt.month=Nt((function(e){return(e=Pt.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),Pt.months=Pt.month.range,Pt.months.utc=Pt.month.utc.range;var ts=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],rs=[[Pt.second,1],[Pt.second,5],[Pt.second,15],[Pt.second,30],[Pt.minute,1],[Pt.minute,5],[Pt.minute,15],[Pt.minute,30],[Pt.hour,1],[Pt.hour,3],[Pt.hour,6],[Pt.hour,12],[Pt.day,1],[Pt.day,2],[Pt.week,1],[Pt.month,1],[Pt.month,3],[Pt.year,1]],ns=Xl.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",Wr]]),as={range:function(e,r,n){return t.range(Math.ceil(e/n)*n,+r,n).map(es)},floor:I,ceil:I};rs.year=Pt.year,Pt.scale=function(){return $l(t.scale.linear(),rs,ns)};var is=rs.map((function(e){return[e[0].utc,e[1]]})),os=Ql.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",Wr]]);function ls(e){return JSON.parse(e.responseText)}function ss(e){var t=a.createRange();return t.selectNode(a.body),t.createContextualFragment(e.responseText)}is.year=Pt.year.utc,Pt.scale.utc=function(){return $l(t.scale.linear(),is,os)},t.text=mt((function(e){return e.responseText})),t.json=function(e,t){return yt(e,"application/json",ls,t)},t.html=function(e,t){return yt(e,"text/html",ss,t)},t.xml=mt((function(e){return e.responseXML})),"function"==typeof define&&define.amd?(this.d3=t,define(t)):e.exports?e.exports=t:this.d3=t}()})),s.register("6jof9",(function(e,t){var n,a,i,o;r(e.exports,"timeFormat",(()=>a)),r(e.exports,"utcFormat",(()=>i)),o={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"]},n=s("1Zeei").default(o),a=n.format,n.parse,i=n.utcFormat,n.utcParse})),s.register("1Zeei",(function(e,t){r(e.exports,"default",(()=>h));var n=s("7iI8g"),a=s("4RR5X"),i=s("3r5Rv"),o=s("1GweQ"),l=s("6xy94"),c=s("4kVgh");function u(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 d(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 f(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function h(e){var t=e.dateTime,r=e.date,i=e.time,s=e.periods,c=e.days,h=e.shortDays,g=e.months,v=e.shortMonths,m=b(s),y=_(s),x=b(c),$=_(c),xe=b(h),Oe=_(h),De=b(g),ze=_(g),Pe=b(v),je=_(v),Ee={a:function(e){return h[e.getDay()]},A:function(e){return c[e.getDay()]},b:function(e){return v[e.getMonth()]},B:function(e){return g[e.getMonth()]},c:null,d:U,e:U,f:Z,g:ae,G:oe,H:q,I:V,j:Y,L:G,m:W,M:X,p:function(e){return s[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ce,s:Ie,S:Q,u:J,U:K,V:ee,w:te,W:re,x:null,X:null,y:ne,Y:ie,Z:le,"%":Le},Re={a:function(e){return h[e.getUTCDay()]},A:function(e){return c[e.getUTCDay()]},b:function(e){return v[e.getUTCMonth()]},B:function(e){return g[e.getUTCMonth()]},c:null,d:se,e:se,f:he,g:Te,G:Ae,H:ce,I:ue,j:de,L:fe,m:pe,M:ge,p:function(e){return s[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ce,s:Ie,S:ve,u:me,U:ye,V:be,w:_e,W:we,x:null,X:null,y:ke,Y:Me,Z:Se,"%":Le},Ne={a:function(e,t,r){var n=xe.exec(t.slice(r));return n?(e.w=Oe[n[0].toLowerCase()],r+n[0].length):-1},A:function(e,t,r){var n=x.exec(t.slice(r));return n?(e.w=$[n[0].toLowerCase()],r+n[0].length):-1},b:function(e,t,r){var n=Pe.exec(t.slice(r));return n?(e.m=je[n[0].toLowerCase()],r+n[0].length):-1},B:function(e,t,r){var n=De.exec(t.slice(r));return n?(e.m=ze[n[0].toLowerCase()],r+n[0].length):-1},c:function(e,r,n){return Be(e,t,r,n)},d:D,e:D,f:N,g:L,G:S,H:P,I:P,j:z,L:R,m:O,M:j,p:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.p=y[n[0].toLowerCase()],r+n[0].length):-1},q:I,Q:H,s:B,S:E,u:k,U:T,V:M,w:w,W:A,x:function(e,t,n){return Be(e,r,t,n)},X:function(e,t,r){return Be(e,i,t,r)},y:L,Y:S,Z:C,"%":F};function Fe(e,t){return function(r){var n,a,i,o=[],l=-1,s=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++l53)return null;"w"in c||(c.w=1),"Z"in c?(s=(i=d(f(c.y,0,1))).getUTCDay(),i=s>4||0===s?a.utcMonday.ceil(i):a.utcMonday(i),i=o.default.offset(i,7*(c.V-1)),c.y=i.getUTCFullYear(),c.m=i.getUTCMonth(),c.d=i.getUTCDate()+(c.w+6)%7):(s=(i=u(f(c.y,0,1))).getDay(),i=s>4||0===s?n.monday.ceil(i):n.monday(i),i=l.default.offset(i,7*(c.V-1)),c.y=i.getFullYear(),c.m=i.getMonth(),c.d=i.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),s="Z"in c?d(f(c.y,0,1)).getUTCDay():u(f(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(s+5)%7:c.w+7*c.U-(s+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,d(c)):u(c)}}function Be(e,t,r,n){for(var a,i,o=0,l=t.length,s=r.length;o=s)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=Ne[a in p?t.charAt(o++):a])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}return Ee.x=Fe(r,Ee),Ee.X=Fe(i,Ee),Ee.c=Fe(t,Ee),Re.x=Fe(r,Re),Re.X=Fe(i,Re),Re.c=Fe(t,Re),{format:function(e){var t=Fe(e+="",Ee);return t.toString=function(){return e},t},parse:function(e){var t=He(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=Fe(e+="",Re);return t.toString=function(){return e},t},utcParse:function(e){var t=He(e+="",!0);return t.toString=function(){return e},t}}}var p={"-":"",_:" ",0:"0"},g=/^\s*\d+/,v=/^%/,m=/[\\^$*+?|[\]().{}]/g;function y(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+n[0].length):-1}function C(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function I(e,t,r){var n=g.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function O(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function D(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function z(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function P(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function j(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function E(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function R(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function N(e,t,r){var n=g.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function F(e,t,r){var n=v.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function H(e,t,r){var n=g.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function B(e,t,r){var n=g.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function U(e,t){return y(e.getDate(),t,2)}function q(e,t){return y(e.getHours(),t,2)}function V(e,t){return y(e.getHours()%12||12,t,2)}function Y(e,t){return y(1+l.default.count(c.default(e),e),t,3)}function G(e,t){return y(e.getMilliseconds(),t,3)}function Z(e,t){return G(e,t)+"000"}function W(e,t){return y(e.getMonth()+1,t,2)}function X(e,t){return y(e.getMinutes(),t,2)}function Q(e,t){return y(e.getSeconds(),t,2)}function J(e){var t=e.getDay();return 0===t?7:t}function K(e,t){return y(n.sunday.count(c.default(e)-1,e),t,2)}function $(e){var t=e.getDay();return t>=4||0===t?n.thursday(e):n.thursday.ceil(e)}function ee(e,t){return e=$(e),y(n.thursday.count(c.default(e),e)+(4===c.default(e).getDay()),t,2)}function te(e){return e.getDay()}function re(e,t){return y(n.monday.count(c.default(e)-1,e),t,2)}function ne(e,t){return y(e.getFullYear()%100,t,2)}function ae(e,t){return y((e=$(e)).getFullYear()%100,t,2)}function ie(e,t){return y(e.getFullYear()%1e4,t,4)}function oe(e,t){var r=e.getDay();return y((e=r>=4||0===r?n.thursday(e):n.thursday.ceil(e)).getFullYear()%1e4,t,4)}function le(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+y(t/60|0,"0",2)+y(t%60,"0",2)}function se(e,t){return y(e.getUTCDate(),t,2)}function ce(e,t){return y(e.getUTCHours(),t,2)}function ue(e,t){return y(e.getUTCHours()%12||12,t,2)}function de(e,t){return y(1+o.default.count(i.default(e),e),t,3)}function fe(e,t){return y(e.getUTCMilliseconds(),t,3)}function he(e,t){return fe(e,t)+"000"}function pe(e,t){return y(e.getUTCMonth()+1,t,2)}function ge(e,t){return y(e.getUTCMinutes(),t,2)}function ve(e,t){return y(e.getUTCSeconds(),t,2)}function me(e){var t=e.getUTCDay();return 0===t?7:t}function ye(e,t){return y(a.utcSunday.count(i.default(e)-1,e),t,2)}function xe(e){var t=e.getUTCDay();return t>=4||0===t?a.utcThursday(e):a.utcThursday.ceil(e)}function be(e,t){return e=xe(e),y(a.utcThursday.count(i.default(e),e)+(4===i.default(e).getUTCDay()),t,2)}function _e(e){return e.getUTCDay()}function we(e,t){return y(a.utcMonday.count(i.default(e)-1,e),t,2)}function ke(e,t){return y(e.getUTCFullYear()%100,t,2)}function Te(e,t){return y((e=xe(e)).getUTCFullYear()%100,t,2)}function Me(e,t){return y(e.getUTCFullYear()%1e4,t,4)}function Ae(e,t){var r=e.getUTCDay();return y((e=r>=4||0===r?a.utcThursday(e):a.utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function Se(){return"+0000"}function Le(){return"%"}function Ce(e){return+e}function Ie(e){return Math.floor(+e/1e3)}})),s.register("6xy94",(function(e,t){r(e.exports,"default",(()=>o));var n=s("4YTe1"),a=s("423HX"),i=n.default((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())*a.durationMinute)/a.durationDay}),(function(e){return e.getDate()-1})),o=i;i.range})),s.register("4YTe1",(function(e,t){r(e.exports,"default",(()=>i));var n=new Date,a=new Date;function i(e,t,r,o){function l(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return l.floor=function(t){return e(t=new Date(+t)),t},l.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},l.round=function(e){var t=l(e),r=l.ceil(e);return e-t0))return o;do{o.push(i=new Date(+r)),t(r,a),e(r)}while(i=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(l.count=function(t,i){return n.setTime(+t),a.setTime(+i),e(n),e(a),Math.floor(r(n,a))},l.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?l.filter(o?function(t){return o(t)%e==0}:function(t){return l.count(0,t)%e==0}):l:null}),l}})),s.register("423HX",(function(e,t){r(e.exports,"durationDay",(()=>a)),r(e.exports,"durationWeek",(()=>i)),r(e.exports,"durationMinute",(()=>n));var n=6e4,a=864e5,i=6048e5})),s.register("7iI8g",(function(e,t){r(e.exports,"monday",(()=>l)),r(e.exports,"thursday",(()=>d)),r(e.exports,"sunday",(()=>o));var n=s("4YTe1"),a=s("423HX");function i(e){return n.default((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())*a.durationMinute)/a.durationWeek}))}var o=i(0),l=i(1),c=i(2),u=i(3),d=i(4),f=i(5),h=i(6);o.range,l.range,c.range,u.range,d.range,f.range,h.range})),s.register("4kVgh",(function(e,t){r(e.exports,"default",(()=>i));var n=s("4YTe1"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var i=a;a.range})),s.register("1GweQ",(function(e,t){r(e.exports,"default",(()=>o));var n=s("4YTe1"),a=s("423HX"),i=n.default((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/a.durationDay}),(function(e){return e.getUTCDate()-1})),o=i;i.range})),s.register("4RR5X",(function(e,t){r(e.exports,"utcSunday",(()=>o)),r(e.exports,"utcThursday",(()=>d)),r(e.exports,"utcMonday",(()=>l));var n=s("4YTe1"),a=s("423HX");function i(e){return n.default((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)/a.durationWeek}))}var o=i(0),l=i(1),c=i(2),u=i(3),d=i(4),f=i(5),h=i(6);o.range,l.range,c.range,u.range,d.range,f.range,h.range})),s.register("3r5Rv",(function(e,t){r(e.exports,"default",(()=>i));var n=s("4YTe1"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var i=a;a.range})),s.register("6qr5h",(function(e,t){"use strict";var r=s("3d0NJ");e.exports=function(e){var t=typeof e;if("string"===t){var n=e;if(0==(e=+e)&&r(n))return!1}else if("number"!==t)return!1;return e-e<1}})),s.register("3d0NJ",(function(e,t){"use strict";e.exports=function(e){for(var t,r=e.length,n=0;n13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}})),s.register("10TEj",(function(e,t){"use strict";e.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"โˆ’"}})),s.register("2Tkfd",(function(e,t){"use strict";var r=s("6qr5h"),n=s("1nElS").isArrayOrTypedArray;function a(e,t){return function(){var r,i,o,l,s,c=e;for(l=0;li),(e=>i=e)),r(e.exports,"maxRowLength",(()=>c),(e=>c=e)),r(e.exports,"ensureArray",(()=>l),(e=>l=e)),r(e.exports,"minRowLength",(()=>o),(e=>o=e)),r(e.exports,"isTypedArray",(()=>s),(e=>s=e)),r(e.exports,"isArrayOrTypedArray",(()=>a),(e=>a=e)),r(e.exports,"isArray1D",(()=>n),(e=>n=e));var u=Array.isArray,d="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},f="undefined"==typeof DataView?function(){}:DataView;function h(e){return d.isView(e)&&!(e instanceof f)}function p(e){return u(e)||h(e)}function g(e,t,r){if(p(e)){if(p(e[0])){for(var n=r,a=0;a2)return c[t]=2|c[t],f.set(e,null);if(d){for(o=t;o0)return Math.log(e)/Math.LN10;var n=Math.log(Math.min(t[0],t[1]))/Math.LN10;return r(n)||(n=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),n}})),s.register("CXorH",(function(e,t){"use strict";var r=s("1nElS").isArrayOrTypedArray,n=s("2bwwe");e.exports=function e(t,a){for(var i in a){var o=a[i],l=t[i];if(l!==o)if("_"===i.charAt(0)||"function"==typeof o){if(i in t)continue;t[i]=o}else if(r(o)&&r(l)&&n(o[0])){if("customdata"===i||"ids"===i)continue;for(var s=Math.min(o.length,l.length),c=0;ct/2?e-Math.round(e/t)*t:e}}})),s.register("2YEcf",(function(e,t){var n,a,i,o,l,c,u;r(e.exports,"coerceSelectionMarkerOpacity",(()=>o),(e=>o=e)),r(e.exports,"coerceHoverinfo",(()=>n),(e=>n=e)),r(e.exports,"coerce",(()=>u),(e=>u=e)),r(e.exports,"validate",(()=>l),(e=>l=e)),r(e.exports,"coerce2",(()=>i),(e=>i=e)),r(e.exports,"coerceFont",(()=>c),(e=>c=e)),r(e.exports,"valObjectMeta",(()=>a),(e=>a=e));var d=s("6qr5h"),f=s("3Twc4"),h=s("5zAUi"),p=s("5Tt6Z"),g=s("5NzBR").DESELECTDIM,v=s("2Tkfd"),m=s("3ImU3").counter,y=s("5DnzT").modHalf,x=s("1nElS").isArrayOrTypedArray;function b(e,t){var r=a[t.valType];if(t.arrayOk&&x(e))return!0;if(r.validateFunction)return r.validateFunction(e,t);var n={},i=n,o={set:function(e){i=e}};return r.coerceFunction(e,o,n,t),i!==n}a={data_array:{description:["An {array} of data.","The value MUST be an {array}, or we ignore it.","Note that typed arrays (e.g. Float32Array) are supported."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){x(e)?t.set(e):void 0!==r&&t.set(r)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(e,t,r,n){n.coerceNumber&&(e=+e),-1===n.values.indexOf(e)?t.set(r):t.set(e)},validateFunction:function(e,t){t.coerceNumber&&(e=+e);for(var r=t.values,n=0;nn.max?t.set(r):t.set(+e)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(e,t,r,n){e%1||!d(e)||void 0!==n.min&&en.max?t.set(r):t.set(+e)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,t,r,n){if("string"!=typeof e){var a="number"==typeof e;!0!==n.strict&&a?t.set(String(e)):t.set(r)}else n.noBlank&&!e?t.set(r):t.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,r){f(e).isValid()?t.set(e):t.set(r)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){Array.isArray(e)&&e.length&&e.every((function(e){return f(e).isValid()}))?t.set(e):t.set(r)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(p.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){t.set(p.get(e,r))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){"auto"===e?t.set("auto"):d(e)?t.set(y(+e,360)):t.set(r)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(e,t,r,n){var a=n.regex||m(r);"string"==typeof e&&a.test(e)?t.set(e):t.set(r)},validateFunction:function(e,t){var r=t.dflt;return e===r||"string"==typeof e&&!!m(r).test(e)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,t,r,n){if("string"==typeof e)if(-1===(n.extras||[]).indexOf(e)){for(var a=e.split("+"),i=0;i1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=I(e,360),t=I(t,100),r=I(r,100),0===t)n=a=i=r;else{var l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;n=o(s,l,e+1/3),a=o(s,l,e),i=o(s,l,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,d,h),p=!0,g="hsl"),e.hasOwnProperty("a")&&(u=e.a)),u=C(u),{ok:p,format:e.format||g,r:o(255,l(c.r,0)),g:o(255,l(c.g,0)),b:o(255,l(c.b,0)),a:u}}(e);this._originalInput=e,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=i(100*this._a)/100,this._format=s.format||u.format,this._gradientType=s.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=u.ok,this._tc_id=a++}function u(e,t,r){e=I(e,255),t=I(t,255),r=I(r,255);var n,a,i=l(e,t,r),s=o(e,t,r),c=(i+s)/2;if(i==s)n=a=0;else{var u=i-s;switch(a=c>.5?u/(2-i-s):u/(i+s),i){case e:n=(t-r)/u+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(c(n));return i}function A(e,t){t=t||6;for(var r=c(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],l=1/t;t--;)o.push(c({h:n,s:a,v:i})),i=(i+l)%1;return o}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,n,a=this.toRgb();return e=a.r/255,r=a.g/255,n=a.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=C(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=d(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return t=this._r,r=this._g,n=this._b,a=this._a,o=e,l=[z(i(t).toString(16)),z(i(r).toString(16)),z(i(n).toString(16)),z(j(a))],o&&l[0].charAt(0)==l[0].charAt(1)&&l[1].charAt(0)==l[1].charAt(1)&&l[2].charAt(0)==l[2].charAt(1)&&l[3].charAt(0)==l[3].charAt(1)?l[0].charAt(0)+l[1].charAt(0)+l[2].charAt(0)+l[3].charAt(0):l.join("");var t,r,n,a,o,l},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*I(this._r,255))+"%",g:i(100*I(this._g,255))+"%",b:i(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*I(this._r,255))+"%, "+i(100*I(this._g,255))+"%, "+i(100*I(this._b,255))+"%)":"rgba("+i(100*I(this._r,255))+"%, "+i(100*I(this._g,255))+"%, "+i(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(L[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=c(e);r="#"+h(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:P(e[n]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})},c.mix=function(e,t,r){r=0===r?0:r||50;var n=c(e).toRgb(),a=c(t).toRgb(),i=r/100;return c({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},c.readability=function(e,r){var n=c(e),a=c(r);return(t.max(n.getLuminance(),a.getLuminance())+.05)/(t.min(n.getLuminance(),a.getLuminance())+.05)},c.isReadable=function(e,t,r){var n,a,i,o,l,s=c.readability(e,t);switch(a=!1,(i=r,"AA"!==(o=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==o&&(o="AA"),"small"!==(l=(i.size||"small").toLowerCase())&&"large"!==l&&(l="small"),n={level:o,size:l}).level+n.size){case"AAsmall":case"AAAlarge":a=s>=4.5;break;case"AAlarge":a=s>=3;break;case"AAAsmall":a=s>=7}return a},c.mostReadable=function(e,t,r){var n,a,i,o,l=null,s=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var u=0;us&&(s=n,l=c(t[u]));return c.isReadable(e,l,{level:i,size:o})||!a?l:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var S=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(S);function C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,r){var n;"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var a=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=o(r,l(0,parseFloat(e))),a&&(e=parseInt(e*r,10)/100),t.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function O(e){return o(1,l(0,e))}function D(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function j(e){return t.round(255*parseFloat(e)).toString(16)}function E(e){return D(e)/255}var R,N,F,H=(N="[\\s|\\(]+("+(R="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",F="[\\s|\\(]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",{CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+N),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+N),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+N),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function B(e){return!!H.CSS_UNIT.exec(e)}e.exports?e.exports=c:"function"==typeof define&&define.amd?define((function(){return c})):window.tinycolor=c}(Math)})),s.register("5zAUi",(function(e,t){"use strict";var r=s("tikJy");e.exports={type:{valType:"enumerated",role:"info",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],role:"info",dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",role:"info",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",role:"info",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",role:"info",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",role:"info",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",role:"info",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",role:"info",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:r.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,role:"info",editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,role:"info",editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}})),s.register("tikJy",(function(e,t){"use strict";var r=s("10Nlb"),n=s("1U5js").hoverlabel,a=s("1ZM4z").extendFlat;e.exports={hoverlabel:{bgcolor:a({},n.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:a({},n.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:r({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:a({},n.align,{arrayOk:!0}),namelength:a({},n.namelength,{arrayOk:!0}),editType:"none"}}})),s.register("10Nlb",(function(e,t){"use strict";e.exports=function(e){var t=e.editType,r=e.colorEditType;void 0===r&&(r=t);var n={family:{valType:"string",role:"style",noBlank:!0,strict:!0,editType:t,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",role:"style",min:1,editType:t},color:{valType:"color",role:"style",editType:r},editType:t,description:""+(e.description||"")};return e.arrayOk&&(n.family.arrayOk=!0,n.size.arrayOk=!0,n.color.arrayOk=!0),n}})),s.register("1U5js",(function(e,t){"use strict";var r=s("1Qgov"),n=s("10Nlb")({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});n.family.dflt=r.HOVERFONT,n.size.dflt=r.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",role:"info",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",role:"info",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",role:"info",values:["x","y","closest",!1,"x unified","y unified"],editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled.","If `clickmode` includes the *select* flag,","`hovermode` defaults to *closest*.","If `clickmode` lacks the *select* flag,","it defaults to *x* or *y* (depending on the trace's","`orientation` value) for plots based on","cartesian coordinates. For anything else the default","value is *closest*."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",role:"style",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:n,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",role:"style",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,role:"style",editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",role:"info",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}})),s.register("1Qgov",(function(e,t){"use strict";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}})),s.register("1ZM4z",(function(e,t){var n,a,i,o;r(e.exports,"extendDeep",(()=>a),(e=>a=e)),r(e.exports,"extendDeepNoArrays",(()=>n),(e=>n=e)),r(e.exports,"extendDeepAll",(()=>o),(e=>o=e)),r(e.exports,"extendFlat",(()=>i),(e=>i=e));var l=s("2bwwe"),c=Array.isArray;function u(e,t,r,n){var a,i,o,s,d,f,h=e[0],p=e.length;if(2===p&&c(h)&&c(e[1])&&0===h.length){if(function(e,t){var r,n;for(r=0;rn),(e=>n=e)),n=function(e,t,r,n){var a=(t||"")+(r?"":"$"),i=!1===n?"":"^";return"xy"===e?new RegExp(i+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+a):new RegExp(i+e+"([2-9]|[1-9][0-9]+)?"+a)}})),s.register("4Jreh",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v;r(e.exports,"dfltRange",(()=>u),(e=>u=e)),r(e.exports,"dateTime2ms",(()=>n),(e=>n=e)),r(e.exports,"isJSDate",(()=>l),(e=>l=e)),r(e.exports,"MAX_MS",(()=>v),(e=>v=e)),r(e.exports,"ms2DateTime",(()=>d),(e=>d=e)),r(e.exports,"ms2DateTimeLocal",(()=>h),(e=>h=e)),r(e.exports,"MIN_MS",(()=>a),(e=>a=e)),r(e.exports,"findExactDates",(()=>g),(e=>g=e)),r(e.exports,"cleanDate",(()=>o),(e=>o=e)),r(e.exports,"formatDate",(()=>p),(e=>p=e)),r(e.exports,"isDateTime",(()=>i),(e=>i=e)),r(e.exports,"dateTick0",(()=>c),(e=>c=e)),r(e.exports,"incrementMonth",(()=>f),(e=>f=e));var m,y,x=s("6jof9").timeFormat,b=s("6qr5h"),_=s("1NWKZ"),w=s("5DnzT").mod,k=s("10TEj"),T=k.BADNUM,M=k.ONEDAY,A=k.ONEHOUR,S=k.ONEMIN,L=k.ONESEC,C=k.EPOCHJD,I=s("4Hxcc"),O=s("6jof9").utcFormat,D=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,z=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,P=(new Date).getFullYear()-70;function j(e){return e&&I.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function E(e,t){return String(e+Math.pow(10,t)).substr(1)}c=function(e,t){var r,a,i=(a=!!t,j(r=e)?a?I.getComponentMethod("calendars","CANONICAL_SUNDAY")[r]:I.getComponentMethod("calendars","CANONICAL_TICK")[r]:a?"2000-01-02":"2000-01-01");if(t<2)return i;var o=n(i,e);return d(o+=M*(t-1),0,e)},u=function(e){return j(e)?I.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},l=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime},m=a=(n=function(e,t){if(l(e)){var r=e.getTimezoneOffset()*S,n=(e.getUTCMinutes()-e.getMinutes())*S+(e.getUTCSeconds()-e.getSeconds())*L+(e.getUTCMilliseconds()-e.getMilliseconds());if(n){var a=3*S;r=r-a/2+w(n-r+a/2,a)}return(e=Number(e)-r)>=m&&e<=y?e:T}if("string"!=typeof e&&"number"!=typeof e)return T;e=String(e);var i=j(t),o=e.charAt(0);!i||"G"!==o&&"g"!==o||(e=e.substr(1),t="");var s=i&&"chinese"===t.substr(0,7),c=e.match(s?z:D);if(!c)return T;var u=c[1],d=c[3]||"1",f=Number(c[5]||1),h=Number(c[7]||0),p=Number(c[9]||0),g=Number(c[11]||0);if(i){if(2===u.length)return T;var v;u=Number(u);try{var x=I.getComponentMethod("calendars","getCal")(t);if(s){var b="i"===d.charAt(d.length-1);d=parseInt(d,10),v=x.newDate(u,x.toMonthIndex(u,d,b),f)}else v=x.newDate(u,Number(d),f)}catch(e){return T}return v?(v.toJD()-C)*M+h*A+p*S+g*L:T}u=2===u.length?(Number(u)+2e3-P)%100+P:Number(u),d-=1;var _=new Date(Date.UTC(2e3,d,f,h,p));return _.setUTCFullYear(u),_.getUTCMonth()!==d||_.getUTCDate()!==f?T:_.getTime()+g*L})("-9999"),y=v=n("9999-12-31 23:59:59.9999"),i=function(e,t){return n(e,t)!==T};var R=90*M,N=3*A,F=5*S;function H(e,t,r,n,a){if((t||r||n||a)&&(e+=" "+E(t,2)+":"+E(r,2),(n||a)&&(e+=":"+E(n,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+="."+E(a,i)}return e}d=function(e,t,r){if("number"!=typeof e||!(e>=m&&e<=y))return T;t||(t=0);var n,a,i,o,l,s,c=Math.floor(10*w(e+.05,1)),u=Math.round(e-c/10);if(j(r)){var d=Math.floor(u/M)+C,f=Math.floor(w(e,M));try{n=I.getComponentMethod("calendars","getCal")(r).fromJD(d).formatDate("yyyy-mm-dd")}catch(e){n=O("G%Y-%m-%d")(new Date(u))}if("-"===n.charAt(0))for(;n.length<11;)n="-0"+n.substr(1);else for(;n.length<10;)n="0"+n;a=t=m+M&&e<=y-M))return T;var t=Math.floor(10*w(e+.05,1)),r=new Date(Math.round(e-t/10));return H(x("%Y-%m-%d")(r),r.getHours(),r.getMinutes(),r.getSeconds(),10*r.getUTCMilliseconds()+t)},o=function(e,t,r){if(e===T)return t;if(l(e)||"number"==typeof e&&isFinite(e)){if(j(r))return _.error("JS Dates and milliseconds are incompatible with world calendars",e),t;if(!(e=h(+e))&&void 0!==t)return t}else if(!i(e,r))return _.error("unrecognized date",e),t;return e};var B=/%\d?f/g;function U(e,t,r,n){e=e.replace(B,(function(e){var r=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0"}));var a=new Date(Math.floor(t+.05));if(j(n))try{e=I.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return r(e)(a)}var q=[59,59.9,59.99,59.999,59.9999];p=function(e,t,r,n,a,i){if(a=j(a)&&a,!t)if("y"===r)t=i.year;else if("m"===r)t=i.month;else{if("d"!==r)return function(e,t){var r=w(e+.05,M),n=E(Math.floor(r/A),2)+":"+E(w(Math.floor(r/S),60),2);if("M"!==t){b(t)||(t=0);var a=(100+Math.min(w(e/L,60),q[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),n+=":"+a}return n}(e,r)+"\n"+U(i.dayMonthYear,e,n,a);t=i.dayMonth+"\n"+i.year}return U(t,e,n,a)};var V=3*M;f=function(e,t,r){r=j(r)&&r;var n=w(e,M);if(e=Math.round(e-n),r)try{var a=Math.round(e/M)+C,i=I.getComponentMethod("calendars","getCal")(r),o=i.fromJD(a);return t%12?i.add(o,t,"m"):i.add(o,t/12,"y"),(o.toJD()-C)*M+n}catch(t){_.error("invalid ms "+e+" in calendar "+r)}var l=new Date(e+V);return l.setUTCMonth(l.getUTCMonth()+t)+n-V},g=function(e,t){for(var r,n,a=0,i=0,o=0,l=0,s=j(t)&&I.getComponentMethod("calendars","getCal")(t),c=0;c1){var t=["LOG:"];for(e=0;e1){var a=[];for(e=0;e"),"long")}},a.warn=function(){var e;if(r.logging>0){var t=["WARN:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}},a.error=function(){var e;if(r.logging>0){var t=["ERROR:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}}})),s.register("24AkC",(function(e,t){"use strict";var r={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v2, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo and mapbox subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo and mapbox) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},n={};(function e(t,r){for(var n in t){var a=t[n];a.valType?r[n]=a.dflt:(r[n]||(r[n]={}),e(a,r[n]))}})(r,n),e.exports={configAttributes:r,dfltConfig:n}})),s.register("7gpnI",(function(e,t){"use strict";var r=s("4Wia9"),n=s("6qr5h"),a=[];e.exports=function(e,t){if(-1===a.indexOf(e)){a.push(e);var i=1e3;n(t)?i=t:"long"===t&&(i=3e3);var o=r.select("body").selectAll(".plotly-notifier").data([0]);o.enter().append("div").classed("plotly-notifier",!0),o.selectAll(".notifier-note").data(a).enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(e){var n=r.select(this);n.append("button").classed("notifier-close",!0).html("×").on("click",(function(){n.transition().call(l)}));for(var a=n.append("p"),o=e.split(//g),s=0;sg),(e=>g=e)),r(e.exports,"allCategories",(()=>h),(e=>h=e)),r(e.exports,"getModule",(()=>u),(e=>u=e)),r(e.exports,"traceLayoutAttributes",(()=>i),(e=>i=e)),r(e.exports,"localeRegistry",(()=>v),(e=>v=e)),r(e.exports,"collectableSubplotTypes",(()=>m),(e=>m=e)),r(e.exports,"hasTransform",(()=>y),(e=>y=e)),r(e.exports,"layoutArrayContainers",(()=>c),(e=>c=e)),r(e.exports,"traceIs",(()=>b),(e=>b=e)),r(e.exports,"register",(()=>p),(e=>p=e)),r(e.exports,"transformsRegistry",(()=>d),(e=>d=e)),r(e.exports,"getTransformIndices",(()=>a),(e=>a=e)),r(e.exports,"componentsRegistry",(()=>o),(e=>o=e)),r(e.exports,"subplotsRegistry",(()=>w),(e=>w=e)),r(e.exports,"getComponentMethod",(()=>_),(e=>_=e)),r(e.exports,"apiMethodRegistry",(()=>n),(e=>n=e)),r(e.exports,"modules",(()=>l),(e=>l=e)),r(e.exports,"call",(()=>f),(e=>f=e)),r(e.exports,"allTypes",(()=>x),(e=>x=e));var k=s("1NWKZ"),T=s("77Ix4"),M=s("5c3WY"),A=s("2bwwe"),S=s("44pv8").addStyleRule,L=s("1ZM4z"),C=s("5zAUi"),I=s("5axlk"),O=L.extendFlat,D=L.extendDeepAll;function z(e){var t=e.name,r=e.categories,n=e.meta;if(l[t])k.log("Type "+t+" already registered");else{w[e.basePlotModule.name]||function(e){var t=e.name;if(w[t])k.log("Plot type "+t+" already registered.");else for(var r in R(e),w[t]=e,o)H(r,e.name)}(e.basePlotModule);for(var a={},s=0;sl),(e=>l=e)),r(e.exports,"apply3DTransform",(()=>i),(e=>i=e)),r(e.exports,"transposeRagged",(()=>p),(e=>p=e)),r(e.exports,"dot",(()=>a),(e=>a=e)),r(e.exports,"translationMatrix",(()=>f),(e=>f=e)),r(e.exports,"rotationXYMatrix",(()=>c),(e=>c=e)),r(e.exports,"apply2DTransform",(()=>n),(e=>n=e)),r(e.exports,"init2dArray",(()=>d),(e=>d=e)),r(e.exports,"inverseTransformMatrix",(()=>h),(e=>h=e)),r(e.exports,"apply2DTransform2",(()=>u),(e=>u=e)),r(e.exports,"convertCssMatrix",(()=>o),(e=>o=e));var g=s("3hqxv");d=function(e,t){for(var r=new Array(e),n=0;ns),(e=>s=e)),r(e.exports,"lightFraction",(()=>l),(e=>l=e)),r(e.exports,"defaults",(()=>n),(e=>n=e)),r(e.exports,"borderLine",(()=>a),(e=>a=e)),r(e.exports,"background",(()=>o),(e=>o=e)),r(e.exports,"defaultLine",(()=>i),(e=>i=e)),n=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],i="#444",s="#eee",o="#fff",a="#BEC8D9",l=90.9090909090909})),s.register("2VcmX",(function(e,t){"use strict";var r=s("5wAu8").dash,n=s("1ZM4z").extendFlat;e.exports={newshape:{line:{color:{valType:"color",editType:"none",role:"info",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,role:"info",editType:"none",description:"Sets the line width (in px)."},dash:n({},r,{dflt:"solid",editType:"none"}),role:"info",editType:"none"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"none",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"none",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"none",description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"none",description:"Specifies whether new shapes are drawn below or above traces."},drawdirection:{valType:"enumerated",role:"info",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",editType:"none",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},editType:"none"},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",role:"style",editType:"none",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,role:"info",editType:"none",description:"Sets the opacity of the active shape."},editType:"none"}}})),s.register("5wAu8",(function(e,t){var n;r(e.exports,"dash",(()=>n),(e=>n=e)),n={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",role:"style",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")}})),s.register("5zrJR",(function(e,t){"use strict";e.exports=function(e){var t=e.editType;return{t:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}})),s.register("5LcuG",(function(e,t){var n,a,i,o,l,c,u;r(e.exports,"findBin",(()=>o),(e=>o=e)),r(e.exports,"sorterDes",(()=>i),(e=>i=e)),r(e.exports,"roundUp",(()=>l),(e=>l=e)),r(e.exports,"sort",(()=>n),(e=>n=e)),r(e.exports,"sorterAsc",(()=>a),(e=>a=e)),r(e.exports,"distinctVals",(()=>u),(e=>u=e)),r(e.exports,"findIndexOfMin",(()=>c),(e=>c=e));var d=s("6qr5h"),f=s("1NWKZ"),h=s("4Qyoa"),p=s("10TEj").BADNUM,g=1e-9;function v(e,t){return et}function x(e,t){return e>=t}o=function(e,t,r){if(d(t.start))return r?Math.ceil((e-t.start)/t.size-g)-1:Math.floor((e-t.start)/t.size+g);var n,a,i=0,o=t.length,l=0,s=o>1?(t[o-1]-t[0])/(o-1):1;for(a=s>=0?r?v:m:r?x:y,e+=s*g*(r?-1:1)*(s>=0?1:-1);i90&&f.log("Long binary search..."),i-1},a=function(e,t){return e-t},i=function(e,t){return t-e},u=function(e,t){var r,n=(t||{}).unitMinDiff,i=e.slice();for(i.sort(a),r=i.length-1;r>-1&&i[r]===p;r--);var o=1;n||(o=i[r]-i[0]||1);for(var l,s=o/(r||1)/1e4,c=[],u=0;u<=r;u++){var d=i[u],f=d-l;void 0===l?(c.push(d),l=d):f>s&&(o=Math.min(o,f),c.push(d),l=d)}return{vals:c,minDiff:o}},l=function(e,t,r){for(var n,a=0,i=t.length-1,o=0,l=r?0:1,s=r?1:0,c=r?Math.ceil:Math.floor;a0&&(n=1),r&&n)return e.sort(t)}return n?e:e.reverse()},c=function(e,t){t=t||h;for(var r,n=1/0,a=0;ac),(e=>c=e)),r(e.exports,"midRange",(()=>a),(e=>a=e)),r(e.exports,"aggNums",(()=>i),(e=>i=e)),r(e.exports,"len",(()=>n),(e=>n=e)),r(e.exports,"variance",(()=>d),(e=>d=e)),r(e.exports,"stdev",(()=>u),(e=>u=e)),r(e.exports,"interp",(()=>o),(e=>o=e)),r(e.exports,"median",(()=>l),(e=>l=e));var f=s("6qr5h"),h=s("1nElS").isArrayOrTypedArray;i=function(e,t,r,n){var a,o;if((!n||n>r.length)&&(n=r.length),f(t)||(t=!1),h(r[0])){for(o=new Array(n),a=0;ae.length-1)return e[e.length-1];var r=t%1;return r*e[Math.ceil(t)]+(1-r)*e[Math.floor(t)]}})),s.register("3TZVB",(function(e,t){"use strict";var r=s("5DnzT"),n=r.mod,a=r.modHalf,i=Math.PI,o=2*i;function l(e){return Math.abs(e[1]-e[0])>o-1e-14}function c(e,t){return a(t-e,o)}function u(e,t){if(l(t))return!0;var r,a;t[0](a=n(a,o))&&(a+=o);var i=n(e,o),s=i+o;return i>=r&&i<=a||s>=r&&s<=a}function d(e,t,r,n,a,s,c){a=a||0,s=s||0;var u,d,f,h,p,g=l([r,n]);function v(e,t){return[e*Math.cos(t)+a,s-e*Math.sin(t)]}g?(u=0,d=i,f=o):r=a&&e<=i)},pathArc:function(e,t,r,n,a){return d(null,e,t,r,n,a,0)},pathSector:function(e,t,r,n,a){return d(null,e,t,r,n,a,1)},pathAnnulus:function(e,t,r,n,a,i){return d(e,t,r,n,a,i,1)}}})),s.register("36x9Z",(function(e,t){var n,a,i,o,l,s;r(e.exports,"isTopAnchor",(()=>l),(e=>l=e)),r(e.exports,"isCenterAnchor",(()=>n),(e=>n=e)),r(e.exports,"isMiddleAnchor",(()=>a),(e=>a=e)),r(e.exports,"isBottomAnchor",(()=>s),(e=>s=e)),r(e.exports,"isLeftAnchor",(()=>i),(e=>i=e)),r(e.exports,"isRightAnchor",(()=>o),(e=>o=e)),i=function(e){return"left"===e.xanchor||"auto"===e.xanchor&&e.x<=1/3},n=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},o=function(e){return"right"===e.xanchor||"auto"===e.xanchor&&e.x>=2/3},l=function(e){return"top"===e.yanchor||"auto"===e.yanchor&&e.y>=2/3},a=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3},s=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3}})),s.register("6yIsr",(function(e,t){var n,a,i,o,l,c;r(e.exports,"getVisibleSegment",(()=>c),(e=>c=e)),r(e.exports,"findPointOnPath",(()=>n),(e=>n=e)),r(e.exports,"getTextLocation",(()=>a),(e=>a=e)),r(e.exports,"clearLocationCache",(()=>l),(e=>l=e)),r(e.exports,"segmentsIntersect",(()=>o),(e=>o=e)),r(e.exports,"segmentDistance",(()=>i),(e=>i=e));var u,d,f,h=s("5DnzT").mod;function p(e,t,r,n,a,i,o,l){var s=r-e,c=a-e,u=o-a,d=n-t,f=i-t,h=l-i,p=s*h-u*d;if(0===p)return null;var g=(c*h-u*f)/p,v=(c*d-s*f)/p;return v<0||v>1||g<0||g>1?null:{x:e+s*g,y:t+d*g}}function g(e,t,r,n,a){var i=n*e+a*t;if(i<0)return n*n+a*a;if(i>r){var o=n-e,l=a-t;return o*o+l*l}var s=n*t-a*e;return s*s/r}o=p,i=function(e,t,r,n,a,i,o,l){if(p(e,t,r,n,a,i,o,l))return 0;var s=r-e,c=n-t,u=o-a,d=l-i,f=s*s+c*c,h=u*u+d*d,v=Math.min(g(s,c,f,a-e,i-t),g(s,c,f,o-e,l-t),g(u,d,h,e-a,t-i),g(u,d,h,r-a,n-i));return Math.sqrt(v)},a=function(e,t,r,n){if(e===d&&n===f||(u={},d=e,f=n),u[r])return u[r];var a=e.getPointAtLength(h(r-n/2,t)),i=e.getPointAtLength(h(r+n/2,t)),o=Math.atan((i.y-a.y)/(i.x-a.x)),l=e.getPointAtLength(h(r,t)),s={x:(4*l.x+a.x+i.x)/6,y:(4*l.y+a.y+i.y)/6,theta:o};return u[r]=s,s},l=function(){d=null},c=function(e,t,r){var n,a,i=t.left,o=t.right,l=t.top,s=t.bottom,c=0,u=e.getTotalLength(),d=u;function f(t){var r=e.getPointAtLength(t);0===t?n=r:t===u&&(a=r);var c=r.xo?r.x-o:0,d=r.ys?r.y-s:0;return Math.sqrt(c*c+d*d)}for(var h=f(c);h;){if((c+=h+r)>d)return;h=f(c)}for(h=f(d);h;){if(c>(d-=h+r))return;h=f(d)}return{min:c,max:d,len:d-c,total:u,isClosed:0===c&&d===u&&Math.abs(n.x-a.x)<.1&&Math.abs(n.y-a.y)<.1}},n=function(e,t,r,n){for(var a,i,o,l=(n=n||{}).pathLength||e.getTotalLength(),s=n.tolerance||.001,c=n.iterationLimit||30,u=e.getPointAtLength(0)[r]>e.getPointAtLength(l)[r]?-1:1,d=0,f=0,h=l;d0?h=a:f=a,d++}return i}})),s.register("3RMbo",(function(e,t){var n,a,i;r(e.exports,"throttle",(()=>a),(e=>a=e)),r(e.exports,"done",(()=>i),(e=>i=e)),r(e.exports,"clear",(()=>n),(e=>n=e));var o={};function l(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}a=function(e,t,r){var n=o[e],a=Date.now();if(!n){for(var i in o)o[i].tsn.ts+t?s():n.timer=setTimeout((function(){s(),n.timer=null}),t)},i=function(e){var t=o[e];return t&&t.timer?new Promise((function(e){var r=t.onDone;t.onDone=function(){r&&r(),e(),t.onDone=null}})):Promise.resolve()},n=function(e){if(e)l(o[e]),delete o[e];else for(var t in o)n(t)}})),s.register("6Jehm",(function(e,t){"use strict";e.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener("resize",e._responsiveChartHandler),delete e._responsiveChartHandler)}})),s.register("72aYm",(function(e,t){"use strict";var r=s("6qr5h"),n=s("7hBrI");e.exports=function(e){var t,a;if("string"!=typeof(t=e&&e.hasOwnProperty("userAgent")?e.userAgent:("undefined"!=typeof navigator&&(a=navigator.userAgent),a&&a.headers&&"string"==typeof a.headers["user-agent"]&&(a=a.headers["user-agent"]),a)))return!0;var i=n({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!i)for(var o=t.split(" "),l=1;l-1;s--){var c=o[s];if("Version/"===c.substr(0,8)){var u=c.substr(8).split(".")[0];if(r(u)&&(u=+u),u>=13)return!0}}return i}})),s.register("7hBrI",(function(e,t){"use strict";e.exports=a,e.exports.isMobile=a,e.exports.default=a;var r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function a(e){e||(e={});var t=e.ua;if(t||"undefined"==typeof navigator||(t=navigator.userAgent),t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"!=typeof t)return!1;var a=e.tablet?n.test(t):r.test(t);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf("Macintosh")&&-1!==t.indexOf("Safari")&&(a=!0),a}})),s.register("4dVMu",(function(e,t){"use strict";var r=s("4Wia9");e.exports=function(e,t,n){var a=e.selectAll("g."+n.replace(/\s/g,".")).data(t,(function(e){return e[0].trace.uid}));a.exit().remove(),a.enter().append("g").attr("class",n),a.order();var i=e.classed("rangeplot")?"nodeRangePlot3":"node3";return a.each((function(e){e[0][i]=r.select(this)})),a}})),s.register("5Ifkm",(function(e,t){"use strict";var r=s("4Hxcc");e.exports=function(e,t){for(var n=e._context.locale,a=0;a<2;a++){for(var i=e._context.locales,o=0;o<2;o++){var l=(i[n]||{}).dictionary;if(l){var s=l[t];if(s)return s}i=r.localeRegistry}var c=n.split("-")[0];if(c===n)break;n=c}return t}})),s.register("7iNPF",(function(e,t){"use strict";e.exports=function(e){for(var t={},r=[],n=0,a=0;a1?(r*e+r*t)/r:e+t,a=String(n).length;if(a>16){var i=String(t).length;if(a>=String(e).length+i){var o=parseFloat(n).toPrecision(12);-1===o.indexOf("e+")&&(n=+o)}}return n}})),s.register("7HeyY",(function(e,t){"use strict";var r=s("6qr5h"),n=s("10TEj").BADNUM,a=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;e.exports=function(e){return"string"==typeof e&&(e=e.replace(a,"")),r(e)?Number(e):n}})),s.register("1Jk5J",(function(e,t){"use strict";e.exports=function(){"undefined"!=typeof MathJax&&"local"!==(window.PlotlyConfig||{}).MathJaxConfig&&(MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured())}})),s.register("3L5lN",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S,L,C;r(e.exports,"animate",(()=>u),(e=>u=e)),r(e.exports,"_guiRelayout",(()=>L),(e=>L=e)),r(e.exports,"redraw",(()=>M),(e=>M=e)),r(e.exports,"_storeDirectGUIEdit",(()=>a),(e=>a=e)),r(e.exports,"react",(()=>C),(e=>C=e)),r(e.exports,"addTraces",(()=>A),(e=>A=e)),r(e.exports,"_guiUpdate",(()=>o),(e=>o=e)),r(e.exports,"validateTemplate",(()=>x),(e=>x=e)),r(e.exports,"restyle",(()=>T),(e=>T=e)),r(e.exports,"moveTraces",(()=>l),(e=>l=e)),r(e.exports,"toImage",(()=>d),(e=>d=e)),r(e.exports,"update",(()=>h),(e=>h=e)),r(e.exports,"deleteTraces",(()=>k),(e=>k=e)),r(e.exports,"addFrames",(()=>_),(e=>_=e)),r(e.exports,"setPlotConfig",(()=>w),(e=>w=e)),r(e.exports,"_guiRestyle",(()=>S),(e=>S=e)),r(e.exports,"deleteFrames",(()=>c),(e=>c=e)),r(e.exports,"validate",(()=>v),(e=>v=e)),r(e.exports,"downloadImage",(()=>y),(e=>y=e)),r(e.exports,"newPlot",(()=>b),(e=>b=e)),r(e.exports,"makeTemplate",(()=>m),(e=>m=e)),r(e.exports,"plot",(()=>n),(e=>n=e)),r(e.exports,"purge",(()=>p),(e=>p=e)),r(e.exports,"prependTraces",(()=>f),(e=>f=e)),r(e.exports,"extendTraces",(()=>g),(e=>g=e)),r(e.exports,"relayout",(()=>i),(e=>i=e));var I=s("7GMb5");n=I.plot,b=I.newPlot,T=I.restyle,i=I.relayout,M=I.redraw,h=I.update,S=I._guiRestyle,L=I._guiRelayout,o=I._guiUpdate,a=I._storeDirectGUIEdit,C=I.react,g=I.extendTraces,f=I.prependTraces,A=I.addTraces,k=I.deleteTraces,l=I.moveTraces,p=I.purge,_=I.addFrames,c=I.deleteFrames,u=I.animate,w=I.setPlotConfig,d=s("28GEY"),v=s("1B45K"),y=s("4egvB");var O=s("2SHXB");m=O.makeTemplate,x=O.validateTemplate})),s.register("7GMb5",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;r(e.exports,"addTraces",(()=>i),(e=>i=e)),r(e.exports,"addFrames",(()=>m),(e=>m=e)),r(e.exports,"_guiRestyle",(()=>u),(e=>u=e)),r(e.exports,"_storeDirectGUIEdit",(()=>y),(e=>y=e)),r(e.exports,"deleteTraces",(()=>d),(e=>d=e)),r(e.exports,"_guiRelayout",(()=>c),(e=>c=e)),r(e.exports,"redraw",(()=>g),(e=>g=e)),r(e.exports,"_guiUpdate",(()=>x),(e=>x=e)),r(e.exports,"update",(()=>k),(e=>k=e)),r(e.exports,"animate",(()=>_),(e=>_=e)),r(e.exports,"setPlotConfig",(()=>p),(e=>p=e)),r(e.exports,"react",(()=>o),(e=>o=e)),r(e.exports,"newPlot",(()=>b),(e=>b=e)),r(e.exports,"deleteFrames",(()=>n),(e=>n=e)),r(e.exports,"restyle",(()=>l),(e=>l=e)),r(e.exports,"plot",(()=>a),(e=>a=e)),r(e.exports,"prependTraces",(()=>v),(e=>v=e)),r(e.exports,"relayout",(()=>T),(e=>T=e)),r(e.exports,"purge",(()=>w),(e=>w=e)),r(e.exports,"moveTraces",(()=>h),(e=>h=e)),r(e.exports,"extendTraces",(()=>f),(e=>f=e));var M=s("4Wia9"),A=s("6qr5h"),S=s("5aT4w"),L=s("1nIvY"),C=L.nestedProperty,I=s("5yBVq"),O=s("7mZiM"),D=s("4Hxcc"),z=s("4UWmi"),P=s("3BndS"),j=s("6G7Mf"),E=s("1nE8l"),R=s("7jar4"),N=s("3N5m7"),F=s("1Cu9q").initInteractions,H=s("ipXll"),B=s("49Q6h"),U=s("7KokU").clearSelect,q=s("24AkC").dfltConfig,V=s("6cUxK"),Y=s("70FGl"),G=s("4wnLB"),Z=s("1bSCj"),W=s("5Lafm").AX_NAME_PATTERN,X=0;function Q(e){var t=e._fullLayout;t._redrawFromAutoMarginCount?t._redrawFromAutoMarginCount--:e.emit("plotly_afterplot")}function J(e,t){try{e._fullLayout._paper.style("background",t)}catch(e){L.error(e)}}function K(e,t){J(e,N.combine(t,"white"))}function $(e,t){if(!e._context){e._context=L.extendDeep({},q);var r=M.select("base");e._context._baseUrl=r.size()&&r.attr("href")?window.location.href.split("#")[0]:""}var n,a,i,o=e._context;if(t){for(a=Object.keys(t),n=0;n=e.data.length||a<-e.data.length)throw new Error(r+" must be valid indices for gd.data.");if(t.indexOf(a,n+1)>-1||a>=0&&t.indexOf(-e.data.length+a)>-1||a<0&&t.indexOf(e.data.length+a)>-1)throw new Error("each index in "+r+" must be unique.")}}function re(e,t,r){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),te(e,t,"currentIndices"),void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&te(e,r,"newIndices"),void 0!==r&&t.length!==r.length)throw new Error("current and new indices must be of equal length.")}function ne(e,t,r,n,a){!function(e,t,r,n){var a=L.isPlainObject(n);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!L.isPlainObject(t))throw new Error("update must be a key:value object");if(void 0===r)throw new Error("indices must be an integer or array of integers");for(var i in te(e,r,"indices"),t){if(!Array.isArray(t[i])||t[i].length!==r.length)throw new Error("attribute "+i+" must be an array of length equal to indices array length");if(a&&(!(i in n)||!Array.isArray(n[i])||n[i].length!==t[i].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(e,t,r,n);for(var i=function(e,t,r,n){var a,i,o,l,s,c=L.isPlainObject(n),u=[];for(var d in Array.isArray(r)||(r=[r]),r=ee(r,e.data.length-1),t)for(var f=0;f-1?l(r,r.replace("titlefont","title.font")):r.indexOf("titleposition")>-1?l(r,r.replace("titleposition","title.position")):r.indexOf("titleside")>-1?l(r,r.replace("titleside","title.side")):r.indexOf("titleoffset")>-1&&l(r,r.replace("titleoffset","title.offset")):l(r,r.replace("title","title.text"));function l(t,r){e[r]=e[t],delete e[t]}}function de(e,t,r){if(e=L.getGraphDiv(e),Y.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);var n={};if("string"==typeof t)n[t]=r;else{if(!L.isPlainObject(t))return L.warn("Relayout fail.",t,r),Promise.reject();n=L.extendFlat({},t)}Object.keys(n).length&&(e.changed=!0);var a=me(e,n),i=a.flags;i.calc&&(e.calcdata=void 0);var o=[P.previousPromises];i.layoutReplot?o.push(G.layoutReplot):Object.keys(n).length&&(fe(e,i,a)||P.supplyDefaults(e),i.legend&&o.push(G.doLegend),i.layoutstyle&&o.push(G.layoutStyles),i.axrange&&he(o,a.rangesAltered),i.ticks&&o.push(G.doTicksRelayout),i.modebar&&o.push(G.doModeBar),i.camera&&o.push(G.doCamera),i.colorbars&&o.push(G.doColorBars),o.push(Q)),o.push(P.rehover,P.redrag),O.add(e,de,[e,a.undoit],de,[e,a.redoit]);var l=L.syncOrAsync(o,e);return l&&l.then||(l=Promise.resolve(e)),l.then((function(){return e.emit("plotly_relayout",a.eventData),e}))}function fe(e,t,r){var n=e._fullLayout;if(!t.axrange)return!1;for(var a in t)if("axrange"!==a&&t[a])return!1;for(var i in r.rangesAltered){var o=E.id2name(i),l=e.layout[o],s=n[o];if(s.autorange=l.autorange,l.range&&(s.range=l.range.slice()),s.cleanRange(),s._matchGroup)for(var c in s._matchGroup)if(c!==i){var u=n[E.id2name(c)];u.autorange=s.autorange,u.range=s.range.slice(),u._input.range=s.range.slice()}}return!0}function he(e,t){var r=t?function(e){var r=[],n=!0;for(var a in t){var i=E.getFromId(e,a);if(r.push(a),-1!==(i.ticklabelposition||"").indexOf("inside")&&i._anchorAxis&&r.push(i._anchorAxis._id),i._matchGroup)for(var o in i._matchGroup)t[o]||r.push(o);i.automargin&&(n=!1)}return E.draw(e,r,{skipTitle:n})}:function(e){return E.draw(e,"redraw")};e.push(U,G.doAutoRangeAndConstraints,r,G.drawData,G.finalDraw)}var pe=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,ge=/^[xyz]axis[0-9]*\.autorange$/,ve=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function me(e,t){var r,n,a,i=e.layout,o=e._fullLayout,l=o._guiEditing,s=le(o._preGUI,l),c=Object.keys(t),u=E.list(e),d=L.extendDeepAll({},t),f={};for(ue(t),c=Object.keys(t),n=0;n0&&"string"!=typeof T.parts[A];)A--;var S=T.parts[A],I=T.parts[A-1]+"."+S,O=T.parts.slice(0,A).join("."),P=C(e.layout,O).get(),j=C(o,O).get(),R=T.get();if(void 0!==M){m[k]=M,y[k]="reverse"===S?M:oe(R);var N=z.getLayoutValObject(o,T.parts);if(N&&N.impliedEdits&&null!==M)for(var F in N.impliedEdits)x(L.relativeAttr(k,F),N.impliedEdits[F]);if(-1!==["width","height"].indexOf(k))if(M){x("autosize",null);var H="height"===k?"width":"height";x(H,o[H])}else o[k]=e._initialAutoSize[k];else if("autosize"===k)x("width",M?null:o.width),x("height",M?null:o.height);else if(I.match(pe))w(I),C(o,O+"._inputRange").set(null);else if(I.match(ge)){w(I),C(o,O+"._inputRange").set(null);var B=C(o,O).get();B._inputDomain&&(B._input.domain=B._inputDomain.slice())}else I.match(ve)&&C(o,O+"._inputDomain").set(null);if("type"===S){b=P;var U="linear"===j.type&&"log"===M,q="log"===j.type&&"linear"===M;if(U||q){if(b&&b.range)if(j.autorange)U&&(b.range=b.range[1]>b.range[0]?[1,2]:[2,1]);else{var G=b.range[0],X=b.range[1];U?(G<=0&&X<=0&&x(O+".autorange",!0),G<=0?G=X/1e6:X<=0&&(X=G/1e6),x(O+".range[0]",Math.log(G)/Math.LN10),x(O+".range[1]",Math.log(X)/Math.LN10)):(x(O+".range[0]",Math.pow(10,G)),x(O+".range[1]",Math.pow(10,X)))}else x(O+".autorange",!0);Array.isArray(o._subplots.polar)&&o._subplots.polar.length&&o[T.parts[0]]&&"radialaxis"===T.parts[1]&&delete o[T.parts[0]]._subplot.viewInitial["radialaxis.range"],D.getComponentMethod("annotations","convertCoords")(e,j,M,x),D.getComponentMethod("images","convertCoords")(e,j,M,x)}else x(O+".autorange",!0),x(O+".range",null);C(o,O+"._inputRange").set(null)}else if(S.match(W)){var Q=C(o,k).get(),J=(M||{}).type;J&&"-"!==J||(J="linear"),D.getComponentMethod("annotations","convertCoords")(e,Q,J,x),D.getComponentMethod("images","convertCoords")(e,Q,J,x)}var K=V.containerArrayMatch(k);if(K){r=K.array,n=K.index;var $=K.property,ee=N||{editType:"calc"};""!==n&&""===$&&(V.isAddVal(M)?y[k]=null:V.isRemoveVal(M)?y[k]=(C(i,r).get()||[])[n]:L.warn("unrecognized full object value",t)),Z.update(v,ee),f[r]||(f[r]={});var te=f[r][n];te||(te=f[r][n]={}),te[$]=M,delete t[k]}else"reverse"===S?(P.range?P.range.reverse():(x(O+".autorange",!0),P.range=[1,0]),j.autorange?v.calc=!0:v.plot=!0):(o._has("scatter-like")&&o._has("regl")&&"dragmode"===k&&("lasso"===M||"select"===M)&&"lasso"!==R&&"select"!==R||o._has("gl2d")?v.plot=!0:N?Z.update(v,N):v.calc=!0,T.set(M))}}for(r in f)V.applyContainerArrayChanges(e,s(i,r),f[r],v,s)||(v.plot=!0);for(var re in _){var ne=(b=E.getFromId(e,re))&&b._constraintGroup;if(ne)for(var ae in v.calc=!0,ne)_[ae]||(E.getFromId(e,ae)._constraintShrinkable=!0)}return(ye(e)||t.height||t.width)&&(v.plot=!0),(v.plot||v.calc)&&(v.layoutReplot=!0),{flags:v,rangesAltered:_,undoit:y,redoit:m,eventData:d}}function ye(e){var t=e._fullLayout,r=t.width,n=t.height;return e.layout.autosize&&P.plotAutoSize(e,e.layout,t),t.width!==r||t.height!==n}function xe(e,t,r,n){if(e=L.getGraphDiv(e),Y.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);L.isPlainObject(t)||(t={}),L.isPlainObject(r)||(r={}),Object.keys(t).length&&(e.changed=!0),Object.keys(r).length&&(e.changed=!0);var i=Y.coerceTraceIndices(e,n),o=ce(e,L.extendFlat({},t),i),l=o.flags,s=me(e,L.extendFlat({},r)),c=s.flags;(l.calc||c.calc)&&(e.calcdata=void 0),l.clearAxisTypes&&Y.clearAxisTypes(e,i,r);var u=[];c.layoutReplot?u.push(G.layoutReplot):l.fullReplot?u.push(a):(u.push(P.previousPromises),fe(e,c,s)||P.supplyDefaults(e),l.style&&u.push(G.doTraceStyle),(l.colorbars||c.colorbars)&&u.push(G.doColorBars),c.legend&&u.push(G.doLegend),c.layoutstyle&&u.push(G.layoutStyles),c.axrange&&he(u,s.rangesAltered),c.ticks&&u.push(G.doTicksRelayout),c.modebar&&u.push(G.doModeBar),c.camera&&u.push(G.doCamera),u.push(Q)),u.push(P.rehover,P.redrag),O.add(e,xe,[e,o.undoit,s.undoit,o.traces],xe,[e,o.redoit,s.redoit,o.traces]);var d=L.syncOrAsync(u,e);return d&&d.then||(d=Promise.resolve(e)),d.then((function(){return e.emit("plotly_update",{data:o.eventData,layout:s.eventData}),e}))}function be(e){return function(t){t._fullLayout._guiEditing=!0;var r=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,r}}var _e=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],we=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function ke(e,t){for(var r=0;r1;)if(n.pop(),void 0!==(r=C(t,n.join(".")+".uirevision").get()))return r;return t.uirevision}function Me(e,t){for(var r=0;r=a.length?a[0]:a[e]:a}function l(e,t){var r=0;return function(){if(e&&++r===t)return e()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise((function(s,c){function u(){e.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var t=function(){n._animationRaf=window.requestAnimationFrame(t),Date.now()-n._lastFrameAt>n._timeToNext&&function(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var t=n._currentFrame=n._frameQueue.shift();if(t){var r=t.name?t.name.toString():null;e._fullLayout._currentFrame=r,n._lastFrameAt=Date.now(),n._timeToNext=t.frameOpts.duration,P.transition(e,t.frame.data,t.frame.layout,Y.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then((function(){t.onComplete&&t.onComplete()})),e.emit("plotly_animatingframe",{name:r,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}()};t()}var d,f,h=0;function p(e){return Array.isArray(a)?h>=a.length?e.transitionOpts=a[h]:e.transitionOpts=a[0]:e.transitionOpts=a,h++,e}var g=[],v=null==t,m=Array.isArray(t);if(v||m||!L.isPlainObject(t)){if(v||-1!==["string","number"].indexOf(typeof t))for(d=0;d0&&bb)&&_.push(f);g=_}}g.length>0?function(t){if(0!==t.length){for(var a=0;a=i.length?i[0]:i[g]:i),h=o(a);h.duration=Math.min(h.duration,f.duration);var p={frame:d,name:t[a].name,frameOpts:f,transitionOpts:h};a===t.length-1&&(p.onComplete=l(s,2),p.onInterrupt=c),n._frameQueue.push(p)}"immediate"===r.mode&&(n._lastFrameAt=-1/0),n._animationRaf||u()}var g}(g):(e.emit("plotly_animated"),s())}))},m=function(e,t,r){if(e=L.getGraphDiv(e),null==t)return Promise.resolve();if(!L.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plotly.com/javascript/animations/");var n,a,i,o,l=e._transitionData._frames,s=e._transitionData._frameHash;if(!Array.isArray(t))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+t);var c=l.length+2*t.length,u=[],d={};for(n=t.length-1;n>=0;n--)if(L.isPlainObject(t[n])){var f=t[n].name,h=(s[f]||d[f]||{}).name,p=t[n].name,g=s[h]||d[h];h&&p&&"number"==typeof p&&g&&X<5&&(X++,L.warn('addFrames: overwriting frame "'+(s[h]||d[h]).name+'" with a frame whose name of type "number" also equates to "'+h+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===X&&L.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),d[f]={name:f},u.push({frame:P.supplyFrameDefaults(t[n]),index:r&&void 0!==r[n]&&null!==r[n]?r[n]:c+n})}u.sort((function(e,t){return e.index>t.index?-1:e.index=0;n--){if("number"==typeof(a=u[n].frame).name&&L.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;s[a.name="frame "+e._transitionData._counter++];);if(s[a.name]){for(i=0;i=0;r--)n=t[r],i.push({type:"delete",index:n}),o.unshift({type:"insert",index:n,value:a[n]});var l=P.modifyFrames,s=P.modifyFrames,c=[e,o],u=[e,i];return O&&O.add(e,l,c,s,u),P.modifyFrames(e,i)},i=function e(t,r,n){t=L.getGraphDiv(t);var a,i,o=[],l=d,s=e,c=[t,o],u=[t,r];for(function(e,t,r){var n,a;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),n=0;n=0&&r=0&&r0&&o.length>a&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,l=u,console&&console.warn&&console.warn(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=d.bind(n);return a.listener=r,n.wrapFn=a,a}function h(e,t,r){var n=e._events;if(void 0===n)return[];var a=n[t];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(o=t[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)a(s,this,t);else{var c=s.length,u=g(s,c);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){o=r[i].listener,a=i;break}if(a<0)return this;0===a?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}})),s.register("7mZiM",(function(e,t){"use strict";var r=s("1nIvY"),n=s("24AkC").dfltConfig,a={add:function(e,t,r,a,i){var o,l;e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},l=e.undoQueue.index,e.autoplay?e.undoQueue.inSequence||(e.autoplay=!1):(!e.undoQueue.sequence||e.undoQueue.beginSequence?(o={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(l,e.undoQueue.queue.length-l,o),e.undoQueue.index+=1):o=e.undoQueue.queue[l-1],e.undoQueue.beginSequence=!1,o&&(o.undo.calls.unshift(t),o.undo.args.unshift(r),o.redo.calls.push(a),o.redo.args.push(i)),e.undoQueue.queue.length>n.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var t,r;if(e.framework&&e.framework.isPolar)e.framework.undo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;rh),(e=>h=e)),r(e.exports,"IS_LINKED_TO_ARRAY",(()=>n),(e=>n=e)),r(e.exports,"getLayoutValObject",(()=>o),(e=>o=e)),r(e.exports,"getTraceValObject",(()=>d),(e=>d=e)),r(e.exports,"isValObject",(()=>f),(e=>f=e)),r(e.exports,"IS_SUBPLOT_OBJ",(()=>a),(e=>a=e)),r(e.exports,"findArrayAttributes",(()=>i),(e=>i=e)),r(e.exports,"get",(()=>l),(e=>l=e)),r(e.exports,"DEPRECATED",(()=>c),(e=>c=e)),r(e.exports,"crawl",(()=>u),(e=>u=e));var p=s("4Hxcc"),g=s("1nIvY"),v=s("5zAUi"),m=s("5axlk"),y=s("6zb5J"),x=s("69Oag"),b=s("24AkC").configAttributes,_=s("3EgrR"),w=s("2QmIR"),k=s("1bSCj"),T=g.extendFlat,M=g.extendDeepAll,A=g.isPlainObject,S=g.isArrayOrTypedArray,L=g.nestedProperty,C=g.valObjectMeta,I="_isSubplotObj",O="_isLinkedToArray",D="_deprecated",z=[I,O,"_arrayAttrRegexps",D];function P(e,t,r){if(!e)return!1;if(e._isLinkedToArray)if(j(t[r]))r++;else if(r=i.length)return!1;if(2===e.dimensions){if(r++,t.length===r)return e;var o=t[r];if(!j(o))return!1;e=i[a][o]}else e=i[a]}else e=i}}return e}function j(e){return e===Math.round(e)&&e>=0}function E(){var e,t,r,n={};for(e in M(n,m),p.subplotsRegistry)if((t=p.subplotsRegistry[e]).layoutAttributes)if(Array.isArray(t.attr))for(var a=0;a=o.length)return!1;n=(r=(p.transformsRegistry[o[l].type]||{}).attributes)&&r[t[2]],i=3}else if("area"===e.type)n=_[a];else{var s=e._module;if(s||(s=(p.modules[e.type||v.type.dflt]||{})._module),!s)return!1;if(!(n=(r=s.attributes)&&r[a])){var c=s.basePlotModule;c&&c.attributes&&(n=c.attributes[a])}n||(n=v[a])}return P(n,t,i)},o=function(e,t){return P(function(e,t){var r,n,a,i,o=e._basePlotModules;if(o){var l;for(r=0;r* on the "+e+" axis.","Special values in the form of *M* could be used to declare","the number of months. In this case `n` must be a positive integer."].join(" ")}}function f(e){return{valType:"any",role:"info",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the base for period positioning in milliseconds or date string on the "+e+" axis.","When `"+e+"period` is round number of weeks,","the `"+e+"period0` by default would be on a Sunday i.e. 2000-01-02,","otherwise it would be at 2000-01-01."].join(" ")}}function h(e){return{valType:"enumerated",values:["start","middle","end"],dflt:"middle",role:"style",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the alignment of data points on the "+e+" axis."].join(" ")}}e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the x coordinates."},x0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `x`.","Builds a linear space of x coordinates.","Use with `dx`","where `x0` is the starting coordinate and `dx` the step."].join(" ")},dx:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the x coordinate step.","See `x0` for more info."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the y coordinates."},y0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `y`.","Builds a linear space of y coordinates.","Use with `dy`","where `y0` is the starting coordinate and `dy` the step."].join(" ")},dy:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the y coordinate step.","See `y0` for more info."].join(" ")},xperiod:d("x"),yperiod:d("y"),xperiod0:f("x0"),yperiod0:f("y0"),xperiodalignment:h("x"),yperiodalignment:h("y"),stackgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several scatter traces (on the same subplot) to the same","stackgroup in order to add their y values (or their x values if","`orientation` is *h*). If blank or omitted this trace will not be","stacked. Stacking also turns `fill` on by default, using *tonexty*","(*tonextx*) if `orientation` is *h* (*v*) and sets the default","`mode` to *lines* irrespective of point count.","You can only stack on a numeric (linear or log) axis.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`orientation` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`. Sets the","stacking direction. With *v* (*h*), the y (x) values of subsequent","traces are added. Also affects the default value of `fill`."].join(" ")},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`groupnorm` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Sets the normalization for the sum of this `stackgroup`.","With *fraction*, the value of each trace at each location is","divided by the sum of all trace values at that location.","*percent* is the same but multiplied by 100 to show percentages.","If there are multiple subplots, or multiple `stackgroup`s on one","subplot, each will be normalized within its own set."].join(" ")},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`stackgaps` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Determines how we handle locations at which other traces in this","group have data but this one does not.","With *infer zero* we insert a zero at these locations.","With *interpolate* we linearly interpolate between existing","values, and extrapolate a constant beyond the existing values."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},texttemplate:r({},{}),hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],role:"info",editType:"calc",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover.","If there are less than "+c.PTS_LINESONLY+" points","and the trace is not stacked","then the default is *lines+markers*. Otherwise, *lines*."].join(" ")},hoveron:{valType:"flaglist",flags:["points","fills"],role:"info",editType:"style",description:["Do the hover effects highlight individual points (markers or","line points) or do they highlight filled regions?","If the fill is *toself* or *tonext* and there are no markers","or text, then the default is *fills*, otherwise it is *points*."].join(" ")},hovertemplate:n({},{keys:c.eventDataKeys}),line:{color:{valType:"color",role:"style",editType:"style",anim:!0,description:"Sets the line color."},width:{valType:"number",min:0,dflt:2,role:"style",editType:"style",anim:!0,description:"Sets the line width (in px)."},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",role:"style",editType:"plot",description:["Determines the line shape.","With *spline* the lines are drawn using spline interpolation.","The other available values correspond to step-wise line shapes."].join(" ")},smoothing:{valType:"number",min:0,max:1.3,dflt:1,role:"style",editType:"plot",description:["Has an effect only if `shape` is set to *spline*","Sets the amount of smoothing.","*0* corresponds to no smoothing (equivalent to a *linear* shape)."].join(" ")},dash:u({},o,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Simplifies lines by removing nearly-collinear points. When transitioning","lines, it may be desirable to disable this so that the number of points","along the resulting SVG path is unaffected."].join(" ")},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the provided data arrays are connected."].join(" ")},cliponaxis:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines whether or not markers and text nodes","are clipped about the subplot axes.","To show markers and text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],role:"style",editType:"calc",description:["Sets the area to fill with a solid color.","Defaults to *none* unless this trace is stacked, then it gets","*tonexty* (*tonextx*) if `orientation` is *v* (*h*)","Use with `fillcolor` if not *none*.","*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.","*tonextx* and *tonexty* fill between the endpoints of this","trace and the endpoints of the trace before it, connecting those","endpoints with straight lines (to make a stacked area graph);","if there is no trace before it, they behave like *tozerox* and","*tozeroy*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},fillcolor:{valType:"color",role:"style",editType:"style",anim:!0,description:["Sets the fill color.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},marker:u({symbol:{valType:"enumerated",values:l.symbolList,dflt:"circle",arrayOk:!0,role:"style",editType:"style",description:["Sets the marker symbol type.","Adding 100 is equivalent to appending *-open* to a symbol name.","Adding 200 is equivalent to appending *-dot* to a symbol name.","Adding 300 is equivalent to appending *-open-dot*","or *dot-open* to a symbol name."].join(" ")},opacity:{valType:"number",min:0,max:1,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the marker opacity."},size:{valType:"number",min:0,dflt:6,arrayOk:!0,role:"style",editType:"calc",anim:!0,description:"Sets the marker size (in px)."},maxdisplayed:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:["Sets a maximum number of points to be drawn on the graph.","*0* corresponds to no limit."].join(" ")},sizeref:{valType:"number",dflt:1,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the scale factor used to determine the rendered size of","marker points. Use with `sizemin` and `sizemode`."].join(" ")},sizemin:{valType:"number",min:0,dflt:0,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the minimum size (in px) of the rendered marker points."].join(" ")},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",role:"info",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the rule for which the data in `size` is converted","to pixels."].join(" ")},line:u({width:{valType:"number",min:0,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the width (in px) of the lines bounding the marker points."},editType:"calc"},a("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",role:"style",editType:"calc",description:["Sets the type of gradient used to fill the markers"].join(" ")},color:{valType:"color",arrayOk:!0,role:"style",editType:"calc",description:["Sets the final color of the gradient fill:","the center color for radial, the right for horizontal,","or the bottom for vertical."].join(" ")},editType:"calc"},editType:"calc"},a("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of selected points."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of selected points."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of selected points."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of selected points."},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of unselected points, applied only when a selection exists."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of unselected points, applied only when a selection exists."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of unselected points, applied only when a selection exists."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of unselected points, applied only when a selection exists."},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,role:"style",editType:"calc",description:["Sets the positions of the `text` elements","with respects to the (x,y) coordinates."].join(" ")},textfont:i({editType:"calc",colorEditType:"style",arrayOk:!0,description:"Sets the text font."}),r:{valType:"data_array",editType:"calc",description:["r coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the radial coordinates","for legacy polar chart only."].join("")},t:{valType:"data_array",editType:"calc",description:["t coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the angular coordinates","for legacy polar chart only."].join("")}}})),s.register("61PQn",(function(e,t){var n,a;r(e.exports,"hovertemplateAttrs",(()=>a),(e=>a=e)),r(e.exports,"texttemplateAttrs",(()=>n),(e=>n=e));var i=['Variables are inserted using %{variable}, for example "y: %{y}".','Numbers are formatted using d3-format\'s syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".',s("01iJJ").FORMAT_LINK,"for details on the formatting syntax.",'Dates are formatted using d3-time-format\'s syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".',s("01iJJ").DATE_FORMAT_LINK,"for details on the date formatting syntax."].join(" ");function o(e){var t=e.description?" "+e.description:"",r=e.keys||[];if(r.length>0){for(var n=[],a=0;a` is displayed in the secondary box, for example "{fullData.name}".',"To hide the secondary box completely, use an empty tag ``."].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n},n=function(e,t){e=e||{};var r=o(t=t||{}),n={valType:"string",role:"info",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",i,"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n}})),s.register("01iJJ",(function(e,t){"use strict";e.exports={FORMAT_LINK:"https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format#locale_format"}})),s.register("3Lcu9",(function(e,t){"use strict";var r=s("37lMN"),n=s("3ImU3").counter,a=s("5Tt6Z").scales,i=Object.keys(a);function o(e){return"`"+e+"`"}e.exports=function(e,t){e=e||"";var l,s,c=(t=t||{}).cLetter||"c",u="onlyIfNumerical"in t?t.onlyIfNumerical:Boolean(e),d="noScale"in t?t.noScale:"marker.line"===e,f="showScaleDflt"in t?t.showScaleDflt:"z"===c,h="string"==typeof t.colorscaleDflt?a[t.colorscaleDflt]:null,p=t.editTypeOverride||"",g=e?e+".":"";"colorAttr"in t?(l=t.colorAttr,s=t.colorAttr):s="in "+o(g+(l="z"));var v=u?" Has an effect only if "+s+"is set to a numerical array.":"",m=c+"auto",y=c+"min",x=c+"max",b=c+"mid",_=o(g+m),w=o(g+y),k=o(g+x),T=w+" and "+k,M={};M[y]=M[x]=void 0;var A={};A[m]=!1;var S={};return"color"===l&&(S.color={valType:"color",arrayOk:!0,role:"style",editType:p||"style",description:["Sets the",e,"color."," It accepts either a specific color"," or an array of numbers that are mapped to the colorscale"," relative to the max and min values of the array or relative to"," "+T+" if set."].join("")},t.anim&&(S.color.anim=!0)),S[m]={valType:"boolean",role:"info",dflt:!0,editType:"calc",impliedEdits:M,description:["Determines whether or not the color domain is computed"," with respect to the input data (here "+s+") or the bounds set in"," ",T," ",v," Defaults to `false` when ",T," are set by the user."].join("")},S[y]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:A,description:["Sets the lower bound of the color domain.",v," Value should have the same units as ",s," and if set, ",k," must be set as well."].join("")},S[x]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:A,description:["Sets the upper bound of the color domain.",v," Value should have the same units as ",s," and if set, ",w," must be set as well."].join("")},S[b]={valType:"number",role:"info",dflt:null,editType:"calc",impliedEdits:M,description:["Sets the mid-point of the color domain by scaling ",w," and/or ",k," to be equidistant to this point.",v," Value should have the same units as ",s,". ","Has no effect when ",_," is `false`."].join("")},S.colorscale={valType:"colorscale",role:"style",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1},description:["Sets the colorscale.",v," The colorscale must be an array containing"," arrays mapping a normalized value to an"," rgb, rgba, hex, hsl, hsv, or named color string."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`."," To control the bounds of the colorscale in color space,"," use",T,"."," Alternatively, `colorscale` may be a palette name string"," of the following list: "+i+"."].join("")},S.autocolorscale={valType:"boolean",role:"style",dflt:!1!==t.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0},description:["Determines whether the colorscale is a default palette (`autocolorscale: true`)"," or the palette determined by ",o(g+"colorscale"),".",v," In case `colorscale` is unspecified or `autocolorscale` is true, the default "," palette will be chosen according to whether numbers in the `color` array are"," all positive, all negative or mixed."].join("")},S.reversescale={valType:"boolean",role:"style",dflt:!1,editType:"plot",description:["Reverses the color mapping if true.",v," If true, ",w," will correspond to the last color"," in the array and ",k," will correspond to the first color."].join("")},d||(S.showscale={valType:"boolean",role:"info",dflt:f,editType:"calc",description:["Determines whether or not a colorbar is displayed for this trace.",v].join("")},S.colorbar=r),t.noColorAxis||(S.coloraxis={valType:"subplotid",role:"info",regex:n("coloraxis"),dflt:null,editType:"calc",description:["Sets a reference to a shared color axis.","References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc.","Settings for these shared color axes are set in the layout, under","`layout.coloraxis`, `layout.coloraxis2`, etc.","Note that multiple color scales can be linked to the same color axis."].join(" ")}),S}})),s.register("37lMN",(function(e,t){"use strict";var r=s("1bJQq"),n=s("10Nlb"),a=s("1ZM4z").extendFlat,i=s("1bSCj").overrideAll;e.exports=i({thicknessmode:{valType:"enumerated",values:["fraction","pixels"],role:"style",dflt:"pixels",description:["Determines whether this color bar's thickness","(i.e. the measure in the constant color direction)","is set in units of plot *fraction* or in *pixels*.","Use `thickness` to set the value."].join(" ")},thickness:{valType:"number",role:"style",min:0,dflt:30,description:["Sets the thickness of the color bar","This measure excludes the size of the padding, ticks and labels."].join(" ")},lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this color bar's length","(i.e. the measure in the color variation direction)","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the color bar","This measure excludes the padding of both ends.","That is, the color bar length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",dflt:1.02,min:-2,max:3,role:"style",description:["Sets the x position of the color bar (in plot fraction)."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"style",description:["Sets this color bar's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the color bar."].join(" ")},xpad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the x direction."},y:{valType:"number",role:"style",dflt:.5,min:-2,max:3,description:["Sets the y position of the color bar (in plot fraction)."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],role:"style",dflt:"middle",description:["Sets this color bar's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the color bar."].join(" ")},ypad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the y direction."},outlinecolor:r.linecolor,outlinewidth:r.linewidth,bordercolor:r.linecolor,borderwidth:{valType:"number",role:"style",min:0,dflt:0,description:["Sets the width (in px) or the border enclosing this color bar."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:"rgba(0,0,0,0)",description:"Sets the color of padded area."},tickmode:r.tickmode,nticks:r.nticks,tick0:r.tick0,dtick:r.dtick,tickvals:r.tickvals,ticktext:r.ticktext,ticks:a({},r.ticks,{dflt:""}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside bottom","inside bottom"],dflt:"outside",role:"info",description:["Determines where tick labels are drawn."].join(" ")},ticklen:r.ticklen,tickwidth:r.tickwidth,tickcolor:r.tickcolor,showticklabels:r.showticklabels,tickfont:n({description:"Sets the color bar's tick label font"}),tickangle:r.tickangle,tickformat:r.tickformat,tickformatstops:r.tickformatstops,tickprefix:r.tickprefix,showtickprefix:r.showtickprefix,ticksuffix:r.ticksuffix,showticksuffix:r.showticksuffix,separatethousands:r.separatethousands,exponentformat:r.exponentformat,minexponent:r.minexponent,showexponent:r.showexponent,title:{text:{valType:"string",role:"info",description:["Sets the title of the color bar.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({description:["Sets this color bar's title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),side:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:["Determines the location of color bar's title","with respect to the color bar.","Note that the title's location used to be set","by the now deprecated `titleside` attribute."].join(" ")}},_deprecated:{title:{valType:"string",role:"info",description:["Deprecated in favor of color bar's `title.text`.","Note that value of color bar's `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:n({description:"Deprecated in favor of color bar's `title.font`."}),titleside:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:"Deprecated in favor of color bar's `title.side`."}}},"colorbars","from-root")})),s.register("1bJQq",(function(e,t){"use strict";var r=s("10Nlb"),n=s("4f6io"),a=s("5wAu8").dash,i=s("1ZM4z").extendFlat,o=s("1IyjK").templatedArray,l=s("01iJJ").FORMAT_LINK,c=s("01iJJ").DATE_FORMAT_LINK,u=s("10TEj").ONEDAY,d=s("5Lafm"),f=d.HOUR_PATTERN,h=d.WEEKDAY_PATTERN;e.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",role:"info",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:r({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",role:"info",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",role:"info",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","Defaults to layout.autotypenumbers."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"info",editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"info",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},scaleanchor:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range*, or by decreasing the *domain*.","Default is *domain* for axes containing image traces, *range* otherwise."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},rangebreaks:o("rangebreak",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether this axis rangebreak is enabled or disabled.","Please note that `rangebreaks` only work for *date* axis type."].join(" ")},bounds:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc",description:["Sets the lower and upper bounds of this axis rangebreak.","Can be used with `pattern`."].join(" ")},pattern:{valType:"enumerated",values:[h,f,""],role:"info",editType:"calc",description:["Determines a pattern on the time line that generates breaks.","If *"+h+"* - days of the week in English e.g. 'Sunday' or `sun`","(matching is case-insensitive and considers only the first three characters),","as well as Sunday-based integers between 0 and 6.","If *"+f+"* - hour (24-hour clock) as decimal numbers between 0 and 24.","for more info.","Examples:","- { pattern: '"+h+"', bounds: [6, 1] }"," or simply { bounds: ['sat', 'mon'] }"," breaks from Saturday to Monday (i.e. skips the weekends).","- { pattern: '"+f+"', bounds: [17, 8] }"," breaks from 5pm to 8am (i.e. skips non-work hours)."].join(" ")},values:{valType:"info_array",freeLength:!0,role:"info",editType:"calc",items:{valType:"any",editType:"calc"},description:["Sets the coordinate values corresponding to the rangebreaks.","An alternative to `bounds`.","Use `dvalue` to set the size of the values along the axis."].join(" ")},dvalue:{valType:"number",role:"info",editType:"calc",min:0,dflt:u,description:["Sets the size of each `values` item.","The default is one day in milliseconds."].join(" ")},editType:"calc"}),tickmode:{valType:"enumerated",values:["auto","linear","array"],role:"info",editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tick0:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],role:"style",editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],role:"info",dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",role:"info",editType:"ticks",description:["Determines where tick labels are drawn with respect to their","corresponding ticks and grid lines.","Only has an effect for axes of `type` *date*","When set to *period*, tick labels are drawn in the middle of the period","between ticks."].join(" ")},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",role:"info",editType:"calc",description:["Determines where tick labels are drawn with respect to the axis","Please note that","top or bottom has no effect on x axes or when `ticklabelmode` is set to *period*.","Similarly","left or right has no effect on y axes or when `ticklabelmode` is set to *period*.","Has no effect on *multicategory* axes or when `tickson` is set to *boundaries*.","When used on axes linked by `matches` or `scaleanchor`,","no extra padding for inside labels would be added by autorange,","so that the scales could match."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,role:"style",editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,role:"style",editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,role:"style",editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,role:"style",editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:i({},a,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],role:"style",dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"data",role:"style",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:r({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,role:"style",editType:"ticks",description:["Hide SI prefix for 10^n if |n| is below this number.","This only has an effect when `tickformat` is *SI* or *B*."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",l,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:o("tickformatstop",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",role:"info",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",l,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:n.lightLine,role:"style",editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",role:"info",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",role:"info",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",role:"info",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",role:"info",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:r({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}})),s.register("1IyjK",(function(e,t){var n,a,i,o,l,c;r(e.exports,"arrayEditor",(()=>c),(e=>c=e)),r(e.exports,"templatedArray",(()=>i),(e=>i=e)),r(e.exports,"traceTemplater",(()=>n),(e=>n=e)),r(e.exports,"arrayDefaultKey",(()=>a),(e=>a=e)),r(e.exports,"newContainer",(()=>l),(e=>l=e)),r(e.exports,"arrayTemplater",(()=>o),(e=>o=e));var u=s("1nIvY"),d=s("5zAUi"),f={name:{valType:"string",role:"style",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function h(e){return e&&"string"==typeof e}function p(e){var t=e.length-1;return"s"!==e.charAt(t)&&u.warn("bad argument to arrayDefaultKey: "+e),e.substr(0,e.length-1)+"defaults"}f.templateitemname={valType:"string",role:"info",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},i=function(e,t){return t._isLinkedToArray=e,t.name=f.name,t.templateitemname=f.templateitemname,t},n=function(e){var t,r,n={};for(t in e)r=e[t],Array.isArray(r)&&r.length&&(n[t]=0);return{newTrace:function(a){var i={type:t=u.coerce(a,{},d,"type"),_template:null};if(t in n){r=e[t];var o=n[t]%r.length;n[t]++,i._template=r[o]}return i}}},l=function(e,t,r){var n=e._template,a=n&&(n[t]||r&&n[r]);return u.isPlainObject(a)||(a=null),e[t]={_template:a}},o=function(e,t,r){var n=e._template,a=n&&n[p(t)],i=n&&n[t];Array.isArray(i)&&i.length||(i=[]);var o={};return{newItem:function(e){var t={name:e.name,_input:e},n=t.templateitemname=e.templateitemname;if(!h(n))return t._template=a,t;for(var l=0;l=n&&(r._input||{})._templateitemname;i&&(a=n);var o,l=t+"["+a+"]";function s(){o={},i&&(o[l]={},o[l].templateitemname=i)}function c(e,t){i?u.nestedProperty(o[l],e).set(t):o[l+"."+e]=t}function d(){var e=o;return s(),e}return s(),{modifyBase:function(e,t){o[e]=t},modifyItem:c,getUpdateObj:d,applyUpdate:function(t,r){t&&c(t,r);var n=d();for(var a in n)u.nestedProperty(e,a).set(n[a])}}}})),s.register("5Lafm",(function(e,t){"use strict";var r=s("3ImU3").counter;e.exports={idRegex:{x:r("x","( domain)?"),y:r("y","( domain)?")},attrRegex:r("[xy]axis"),xAxisMatch:r("xaxis"),yAxisMatch:r("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}})),s.register("1bSCj",(function(e,t){"use strict";var r=s("1nIvY"),n=r.extendFlat,a=r.isPlainObject,i={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},o={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},l=i.flags.slice().concat(["fullReplot"]),c=o.flags.slice().concat("layoutReplot");function u(e){for(var t={},r=0;r=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}y.symbolNumber=function(e){if(n(e))e=+e;else if("string"==typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),(e=y.symbolNames.indexOf(e))>=0&&(e+=t)}return e%100>=b||e>=400?0:Math.floor(Math.max(e,0))};var w={x1:1,x2:0,y1:0,y2:0},k={x1:0,x2:0,y1:1,y2:0},T=r.format("~.1f"),M={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:w},horizontalreversed:{node:"linearGradient",attrs:w,reversed:!0},vertical:{node:"linearGradient",attrs:k},verticalreversed:{node:"linearGradient",attrs:k,reversed:!0}};y.gradient=function(e,t,n,i,l,s){for(var u=l.length,d=M[i],f=new Array(u),h=0;h"+m(e);p._gradientUrlQueryParts[y]=1},y.initGradients=function(e){var t=e._fullLayout;c.ensureSingle(t._defs,"g","gradients").selectAll("linearGradient,radialGradient").remove(),t._gradientUrlQueryParts={}},y.pointStyle=function(e,t,n){if(e.size()){var a=y.makePointStyleFns(t);e.each((function(e){y.singlePointStyle(e,r.select(this),t,a,n)}))}},y.singlePointStyle=function(e,t,r,n,a){var i=r.marker,l=i.line;if(t.style("opacity",n.selectedOpacityFn?n.selectedOpacityFn(e):void 0===e.mo?i.opacity:e.mo),n.ms2mrc){var s;s="various"===e.ms||"various"===i.size?3:n.ms2mrc(e.ms),e.mrc=s,n.selectedSizeFn&&(s=e.mrc=n.selectedSizeFn(e));var u=y.symbolNumber(e.mx||i.symbol)||0;e.om=u%200>=100,t.attr("d",_(u,s))}var d,f,h,p=!1;if(e.so)h=l.outlierwidth,f=l.outliercolor,d=i.outliercolor;else{var g=(l||{}).width;h=(e.mlw+1||g+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,f="mlc"in e?e.mlcc=n.lineScale(e.mlc):c.isArrayOrTypedArray(l.color)?o.defaultLine:l.color,c.isArrayOrTypedArray(i.color)&&(d=o.defaultLine,p=!0),d="mc"in e?e.mcc=n.markerScale(e.mc):i.color||"rgba(0,0,0,0)",n.selectedColorFn&&(d=n.selectedColorFn(e))}if(e.om)t.call(o.stroke,d).style({"stroke-width":(h||1)+"px",fill:"none"});else{t.style("stroke-width",(e.isBlank?0:h)+"px");var v=i.gradient,m=e.mgt;if(m?p=!0:m=v&&v.type,Array.isArray(m)&&(m=m[0],M[m]||(m=0)),m&&"none"!==m){var x=e.mgc;x?p=!0:x=v.color;var b=r.uid;p&&(b+="-"+e.i),y.gradient(t,a,b,m,[[0,x],[1,d]],"fill")}else o.fill(t,d);h&&o.stroke(t,f)}},y.makePointStyleFns=function(e){var t={},r=e.marker;return t.markerScale=y.tryColorscale(r,""),t.lineScale=y.tryColorscale(r,"line"),i.traceIs(e,"symbols")&&(t.ms2mrc=g.isBubble(e)?v(e):function(){return(r.size||6)/2}),e.selectedpoints&&c.extendFlat(t,y.makeSelectedPointStyleFns(e)),t},y.makeSelectedPointStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.marker||{},o=r.marker||{},l=n.marker||{},s=a.opacity,u=o.opacity,d=l.opacity,f=void 0!==u,h=void 0!==d;(c.isArrayOrTypedArray(s)||f||h)&&(t.selectedOpacityFn=function(e){var t=void 0===e.mo?a.opacity:e.mo;return e.selected?f?u:t:h?d:p*t});var g=a.color,v=o.color,m=l.color;(v||m)&&(t.selectedColorFn=function(e){var t=e.mcc||g;return e.selected?v||t:m||t});var y=a.size,x=o.size,b=l.size,_=void 0!==x,w=void 0!==b;return i.traceIs(e,"symbols")&&(_||w)&&(t.selectedSizeFn=function(e){var t=e.mrc||y/2;return e.selected?_?x/2:t:w?b/2:t}),t},y.makeSelectedTextStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.textfont||{},i=r.textfont||{},l=n.textfont||{},s=a.color,c=i.color,u=l.color;return t.selectedTextColorFn=function(e){var t=e.tc||s;return e.selected?c||t:u||(c?t:o.addOpacity(t,p))},t},y.selectedPointStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedPointStyleFns(t),a=t.marker||{},i=[];n.selectedOpacityFn&&i.push((function(e,t){e.style("opacity",n.selectedOpacityFn(t))})),n.selectedColorFn&&i.push((function(e,t){o.fill(e,n.selectedColorFn(t))})),n.selectedSizeFn&&i.push((function(e,t){var r=t.mx||a.symbol||0,i=n.selectedSizeFn(t);e.attr("d",_(y.symbolNumber(r),i)),t.mrc2=i})),i.length&&e.each((function(e){for(var t=r.select(this),n=0;n0?r:0}function C(e,t,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=n[0]-t[0],s=n[1]-t[1],c=Math.pow(i*i+o*o,.25),u=Math.pow(l*l+s*s,.25),d=(u*u*i-c*c*l)*a,f=(u*u*o-c*c*s)*a,h=3*u*(c+u),p=3*c*(c+u);return[[r.round(t[0]+(h&&d/h),2),r.round(t[1]+(h&&f/h),2)],[r.round(t[0]-(p&&d/p),2),r.round(t[1]-(p&&f/p),2)]]}y.textPointStyle=function(e,t,n){if(e.size()){var a;if(t.selectedpoints){var i=y.makeSelectedTextStyleFns(t);a=i.selectedTextColorFn}var o=t.texttemplate,l=n._fullLayout;e.each((function(e){var i=r.select(this),s=o?c.extractOption(e,t,"txt","texttemplate"):c.extractOption(e,t,"tx","text");if(s||0===s){if(o){var u=t._module.formatLabels?t._module.formatLabels(e,t,l):{},f={};m(f,t,e.i);var h=t._meta||{};s=c.texttemplateString(s,u,l._d3locale,f,e,h)}var p=e.tp||t.textposition,g=L(e,t),v=a?a(e):e.tc||t.textfont.color;i.call(y.font,e.tf||t.textfont.family,g,v).text(s).call(d.convertToTspans,n).call(S,p,g,e.mrc)}else i.remove()}))}},y.selectedTextStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedTextStyleFns(t);e.each((function(e){var a=r.select(this),i=n.selectedTextColorFn(e),l=e.tp||t.textposition,s=L(e,t);o.fill(a,i),S(a,l,s,e.mrc2||e.mrc)}))}},y.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var r,n="M"+e[0],a=[];for(r=1;r=1e4&&(y.savedBBoxes={},D=0),n&&(y.savedBBoxes[n]=v),D++,c.extendFlat({},v)},y.setClipUrl=function(e,t,r){e.attr("clip-path",P(t,r))},y.getTranslate=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||0,y:+t[1]||0}},y.setTranslate=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||0,r=r||0,i=i.replace(/(\btranslate\(.*?\);?)/,"").trim(),i=(i+=u(t,r)).trim(),e[a]("transform",i),i},y.getScale=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||1,y:+t[1]||1}},y.setScale=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||1,r=r||1,i=i.replace(/(\bscale\(.*?\);?)/,"").trim(),i=(i+="scale("+t+","+r+")").trim(),e[a]("transform",i),i};var j=/\s*sc.*/;y.setPointGroupScale=function(e,t,r){if(t=t||1,r=r||1,e){var n=1===t&&1===r?"":"scale("+t+","+r+")";e.each((function(){var e=(this.getAttribute("transform")||"").replace(j,"");e=(e+=n).trim(),this.setAttribute("transform",e)}))}};var E=/translate\([^)]*\)\s*$/;y.setTextPointsScale=function(e,t,n){e&&e.each((function(){var e,a=r.select(this),i=a.select("text");if(i.node()){var o=parseFloat(i.attr("x")||0),l=parseFloat(i.attr("y")||0),s=(a.attr("transform")||"").match(E);e=1===t&&1===n?[]:[u(o,l),"scale("+t+","+n+")",u(-o,-l)],s&&e.push(s),a.attr("transform",e.join(""))}}))}})),s.register("3N5m7",(function(e,t){"use strict";var r=s("3Twc4"),n=s("6qr5h"),a=e.exports={},i=s("4f6io");a.defaults=i.defaults;var o=a.defaultLine=i.defaultLine;a.lightLine=i.lightLine;var l=a.background=i.background;function c(e){if(n(e)||"string"!=typeof e)return e;var t=e.trim();if("rgb"!==t.substr(0,3))return e;var r=t.match(/^rgba?\s*\(([^()]*)\)$/);if(!r)return e;var a=r[1].trim().split(/\s*[\s,]\s*/),i="a"===t.charAt(3)&&4===a.length;if(!i&&3!==a.length)return e;for(var o=0;o=0))return e;if(3===o)a[o]>1&&(a[o]=1);else if(a[o]>=1)return e}var l=Math.round(255*a[0])+", "+Math.round(255*a[1])+", "+Math.round(255*a[2]);return i?"rgba("+l+", "+a[3]+")":"rgb("+l+")"}a.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},a.rgb=function(e){return a.tinyRGB(r(e))},a.opacity=function(e){return e?r(e).getAlpha():0},a.addOpacity=function(e,t){var n=r(e).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+t+")"},a.combine=function(e,t){var n=r(e).toRgb();if(1===n.a)return r(e).toRgbString();var a=r(t||l).toRgb(),i=1===a.a?a:{r:255*(1-a.a)+a.r*a.a,g:255*(1-a.a)+a.g*a.a,b:255*(1-a.a)+a.b*a.a},o={r:i.r*(1-n.a)+n.r*n.a,g:i.g*(1-n.a)+n.g*n.a,b:i.b*(1-n.a)+n.b*n.a};return r(o).toRgbString()},a.contrast=function(e,t,n){var i=r(e);return 1!==i.getAlpha()&&(i=r(a.combine(e,l))),(i.isDark()?t?i.lighten(t):l:n?i.darken(n):o).toString()},a.stroke=function(e,t){var n=r(t);e.style({stroke:a.tinyRGB(n),"stroke-opacity":n.getAlpha()})},a.fill=function(e,t){var n=r(t);e.style({fill:a.tinyRGB(n),"fill-opacity":n.getAlpha()})},a.clean=function(e){if(e&&"object"==typeof e){var t,r,n,i,o=Object.keys(e);for(t=0;t=0;n--,a++){var i=e[n];r[a]=[1-i[0],i[1]]}return r}function p(e,t){t=t||{};for(var i=e.domain,l=e.range,s=l.length,c=new Array(s),u=0;ua),(e=>a=e)),r(e.exports,"tick0",(()=>n),(e=>n=e));var i=s("6qr5h"),o=s("1nIvY"),l=s("10TEj"),c=l.ONEDAY,u=l.ONEWEEK;a=function(e,t){var r="log"===t,n="date"===t,a="category"===t,o=n?c:1;if(!e)return o;if(i(e))return(e=Number(e))<=0?o:a?Math.max(1,Math.round(e)):n?Math.max(.1,e):e;if("string"!=typeof e||!n&&!r)return o;var l=e.charAt(0),s=e.substr(1);return(s=i(s)?Number(s):0)<=0||!(n&&"M"===l&&s===Math.round(s)||r&&"L"===l||r&&"D"===l&&(1===s||2===s))?o:e},n=function(e,t,r,n){return"date"===t?o.cleanDate(e,o.dateTick0(r,n%u==0?1:0)):"D1"!==n&&"D2"!==n?i(e)?Number(e):0:void 0}})),s.register("1NvHy",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1bJQq");e.exports=function(e,t,a,i){var o=r.coerce2(e,t,n,"ticklen"),l=r.coerce2(e,t,n,"tickwidth"),s=r.coerce2(e,t,n,"tickcolor",t.color);a("ticks",i.outerTicks||o||l||s?"outside":"")||(delete t.ticklen,delete t.tickwidth,delete t.tickcolor)}})),s.register("1YSll",(function(e,t){"use strict";var r=s("1nIvY"),n=s("3N5m7").contrast,a=s("1bJQq"),i=s("6pAgU");function o(e){var t=["showexponent","showtickprefix","showticksuffix"].filter((function(t){return void 0!==e[t]}));if(t.every((function(r){return e[r]===e[t[0]]}))||1===t.length)return e[t[0]]}function l(e,t){function n(n,i){return r.coerce(e,t,a.tickformatstops,n,i)}n("enabled")&&(n("dtickrange"),n("value"))}e.exports=function(e,t,s,c,u,d){var f,h,p;d&&1!==d.pass||(f=s,h=u,p=o(e),f("tickprefix")&&f("showtickprefix",p),f("ticksuffix",h.tickSuffixDflt)&&f("showticksuffix",p)),d&&2!==d.pass||function(e,t,s,c,u){var d=o(e);if(s("tickprefix")&&s("showtickprefix",d),s("ticksuffix",u.tickSuffixDflt)&&s("showticksuffix",d),s("showticklabels")){var f=u.font||{},h=t.color,p=-1!==(t.ticklabelposition||"").indexOf("inside")?n(u.bgColor):h&&h!==a.color.dflt?h:f.color;if(r.coerceFont(s,"tickfont",{family:f.family,size:f.size,color:p}),s("tickangle"),"category"!==c){var g=s("tickformat");i(e,t,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:l}),t.tickformatstops.length||delete t.tickformatstops,g||"date"===c||(s("showexponent",d),s("exponentformat"),s("minexponent"),s("separatethousands"))}}}(e,t,s,c,u)}})),s.register("6pAgU",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1IyjK");e.exports=function(e,t,a){var i,o,l=a.name,s=a.inclusionAttr||"visible",c=t[l],u=r.isArrayOrTypedArray(e[l])?e[l]:[],d=t[l]=[],f=n.arrayTemplater(t,l,s);for(i=0;ig-h?h=g-(p-g):p-g=0?l.colorscale.sequential:l.colorscale.sequentialminus,d._sync("colorscale",o))}})),s.register("49Q6h",(function(e,t){var n,a,i,o,l,c;r(e.exports,"BR_TAG_ALL",(()=>l),(e=>l=e)),r(e.exports,"makeEditable",(()=>n),(e=>n=e)),r(e.exports,"lineCount",(()=>a),(e=>a=e)),r(e.exports,"positionText",(()=>c),(e=>c=e)),r(e.exports,"plainText",(()=>o),(e=>o=e)),r(e.exports,"convertToTspans",(()=>i),(e=>i=e));var u=s("4Wia9"),d=s("1nIvY"),f=d.strTranslate,h=s("ipXll"),p=s("5n2uh").LINE_SPACING;function g(e,t){return e.node().getBoundingClientRect()[t]}var v=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;i=function(e,t,r){var n=e.text(),a=!e.attr("data-notex")&&"undefined"!=typeof MathJax&&n.match(v),i=u.select(e.node().parentNode);if(!i.empty()){var o=e.attr("class")?e.attr("class").split(" ")[0]:"text";return o+="-math",i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove(),e.style("display",null).attr({"data-unformatted":n,"data-math":"N"}),a?(t&&t._promises||[]).push(new Promise((function(t){e.style("display","none");var s,c,h,p,v,x,b,_=parseInt(e.node().style.fontSize,10),w={fontSize:_};s=a[2],c=w,h=function(a,s,c){i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove();var u=a&&a.select("svg");if(!u||!u.node())return l(),void t();var d=i.append("g").classed(o+"-group",!0).attr({"pointer-events":"none","data-unformatted":n,"data-math":"Y"});d.node().appendChild(u.node()),s&&s.node()&&u.node().insertBefore(s.node().cloneNode(!0),u.node().firstChild),u.attr({class:o,height:c.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var h=e.node().style.fill||"black",p=u.select("g");p.attr({fill:h,stroke:h});var v=g(p,"width"),m=g(p,"height"),y=+e.attr("x")-v*{start:0,middle:.5,end:1}[e.attr("text-anchor")||"start"],x=-(_||g(e,"height"))/4;"y"===o[0]?(d.attr({transform:"rotate("+[-90,+e.attr("x"),+e.attr("y")]+")"+f(-v/2,x-m/2)}),u.attr({x:+e.attr("x"),y:+e.attr("y")})):"l"===o[0]?u.attr({x:e.attr("x"),y:x-m/2}):"a"===o[0]&&0!==o.indexOf("atitle")?u.attr({x:0,y:x}):u.attr({x:y,y:+e.attr("y")+x-m/2}),r&&r.call(e,d),t(d)},MathJax.Hub.Queue((function(){return v=d.extendDeepAll({},MathJax.Hub.config),x=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})}),(function(){if("SVG"!==(p=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")}),(function(){var e="math-output-"+d.randstr({},64);return b=u.select("body").append("div").attr({id:e}).style({visibility:"hidden",position:"absolute"}).style({"font-size":c.fontSize+"px"}).text(s.replace(m,"\\lt ").replace(y,"\\gt ")),MathJax.Hub.Typeset(b.node())}),(function(){var e=u.select("body").select("#MathJax_SVG_glyphs");if(b.select(".MathJax_SVG").empty()||!b.select("svg").node())d.log("There was an error in the tex syntax.",s),h();else{var t=b.select("svg").node().getBoundingClientRect();h(b.select(".MathJax_SVG"),e,t)}if(b.remove(),"SVG"!==p)return MathJax.Hub.setRenderer(p)}),(function(){return void 0!==x&&(MathJax.Hub.processSectionDelay=x),MathJax.Hub.Config(v)}))}))):l(),e}function l(){i.empty()||(o=e.attr("class")+"-math",i.select("svg."+o).remove()),e.text("").style("white-space","pre"),function(e,t){t=t.replace(T," ");var r,n=!1,a=[],i=-1;function o(){i++;var t=document.createElementNS(h.svg,"tspan");u.select(t).attr({class:"line",dy:i*p+"em"}),e.appendChild(t),r=t;var n=a;if(a=[{node:t}],n.length>1)for(var o=1;o doesnt match end tag <"+e+">. Pretending it did match.",t),r=a[a.length-1].node}else d.log("Ignoring unexpected end tag .",t)}S.test(t)?o():(r=e,a=[{node:e}]);for(var f=t.split(M),g=0;g|>|>)/g,x={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},b={sub:"0.3em",sup:"-0.6em"},_={sub:"-0.21em",sup:"0.42em"},w="โ€‹",k=["http:","https:","mailto:","",void 0,":"],T=/(\r\n?|\n)/g,M=/(<[^<>]*>)/,A=/<(\/?)([^ >]*)(\s+(.*))?>/i,S=//i;l=//gi;var L=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,C=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,I=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,O=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function D(e,t){if(!e)return null;var r=e.match(t),n=r&&(r[3]||r[4]);return n&&E(n)}var z=/(^|;)\s*color:/;o=function(e,t){for(var r=void 0!==(t=t||{}).len&&-1!==t.len?t.len:1/0,n=void 0!==t.allowedTags?t.allowedTags:["br"],a=e.split(M),i=[],o="",l=0,s=0;s3?i.push(c.substr(0,h-3)+"..."):i.push(c.substr(0,h));break}o=""}}return i.join("")};var P={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร—",plusmn:"ยฑ",deg:"ยฐ"},j=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function E(e){return e.replace(j,(function(e,t){return("#"===t.charAt(0)?function(e){if(!(e>1114111)){var t=String.fromCodePoint;if(t)return t(e);var r=String.fromCharCode;return e<=65535?r(e):r(55232+(e>>10),e%1024+56320)}}("x"===t.charAt(1)?parseInt(t.substr(2),16):parseInt(t.substr(1),10)):P[t])||e}))}function R(e,t,r){var n,a,i,o=r.horizontalAlign,l=r.verticalAlign||"top",s=e.node().getBoundingClientRect(),c=t.node().getBoundingClientRect();return a="bottom"===l?function(){return s.bottom-n.height}:"middle"===l?function(){return s.top+(s.height-n.height)/2}:function(){return s.top},i="right"===o?function(){return s.right-n.width}:"center"===o?function(){return s.left+(s.width-n.width)/2}:function(){return s.left},function(){n=this.node().getBoundingClientRect();var e=i()-c.left,t=a()-c.top,o=r.gd||{};if(r.gd){o._fullLayout._calcInverseTransform(o);var l=d.apply3DTransform(o._fullLayout._invTransform)(e,t);e=l[0],t=l[1]}return this.style({top:t+"px",left:e+"px","z-index":1e3}),this}}a=function(e){return e.selectAll("tspan.line").size()||1},c=function(e,t,r){return e.each((function(){var e=u.select(this);function n(t,r){return void 0===r?null===(r=e.attr(t))&&(e.attr(t,0),r=0):e.attr(t,r),r}var a=n("x",t),i=n("y",r);"text"===this.nodeName&&e.selectAll("tspan.line").attr({x:a,y:i})}))},n=function(e,t){var r=t.gd,n=t.delegate,a=u.dispatch("edit","input","cancel"),i=n||e;if(e.style({"pointer-events":n?"none":"all"}),1!==e.size())throw new Error("boo");function o(){(function(){var n=u.select(r).select(".svg-container"),i=n.append("div"),o=e.node().style,s=parseFloat(o.fontSize||12),c=t.text;void 0===c&&(c=e.attr("data-unformatted")),i.classed("plugin-editable editable",!0).style({position:"absolute","font-family":o.fontFamily||"Arial","font-size":s,color:t.fill||o.fill||"black",opacity:1,"background-color":t.background||"transparent",outline:"#ffffff33 1px solid",margin:[-s/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(c).call(R(e,n,t)).on("blur",(function(){r._editing=!1,e.text(this.textContent).style({opacity:1});var t,n=u.select(this).attr("class");(t=n?"."+n.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(t).style({opacity:0});var i=this.textContent;u.select(this).transition().duration(0).remove(),u.select(document).on("mouseup",null),a.edit.call(e,i)})).on("focus",(function(){var e=this;r._editing=!0,u.select(document).on("mouseup",(function(){if(u.event.target===e)return!1;document.activeElement===i.node()&&i.node().blur()}))})).on("keyup",(function(){27===u.event.which?(r._editing=!1,e.style({opacity:1}),u.select(this).style({opacity:0}).on("blur",(function(){return!1})).transition().remove(),a.cancel.call(e,this.textContent)):(a.input.call(e,this.textContent),u.select(this).call(R(e,n,t)))})).on("keydown",(function(){13===u.event.which&&this.blur()})).call(l)})(),e.style({opacity:0});var n,o=i.attr("class");(n=o?"."+o.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(n).style({opacity:0})}function l(e){var t=e.node(),r=document.createRange();r.selectNodeContents(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(r),t.focus()}return t.immediate?o():i.on("click",o),u.rebind(e,a,"on")}})),s.register("ipXll",(function(e,t){var n,a,i,o;r(e.exports,"xmlns",(()=>i),(e=>i=e)),r(e.exports,"svgAttrs",(()=>o),(e=>o=e)),r(e.exports,"svg",(()=>a),(e=>a=e)),r(e.exports,"xlink",(()=>n),(e=>n=e)),i="http://www.w3.org/2000/xmlns/",o={xmlns:a="http://www.w3.org/2000/svg","xmlns:xlink":n="http://www.w3.org/1999/xlink"}})),s.register("5n2uh",(function(e,t){"use strict";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}})),s.register("5EGfs",(function(e,t){"use strict";var r=s("1nIvY");e.exports={hasLines:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("lines")},hasMarkers:function(e){return e.visible&&(e.mode&&-1!==e.mode.indexOf("markers")||"splom"===e.type)},hasText:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("text")},isBubble:function(e){return r.isPlainObject(e.marker)&&r.isArrayOrTypedArray(e.marker.size)}}})),s.register("2hpTa",(function(e,t){"use strict";var r=s("6qr5h");e.exports=function(e){var t=e.marker,n=t.sizeref||1,a=t.sizemin||0,i="area"===t.sizemode?function(e){return Math.sqrt(e/n)}:function(e){return e/n};return function(e){var t=i(e/2);return r(t)&&t>0?Math.max(t,a):0}}})),s.register("2MtC7",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v;r(e.exports,"appendArrayPointValue",(()=>h),(e=>h=e)),r(e.exports,"isUnifiedHover",(()=>g),(e=>g=e)),r(e.exports,"getClosest",(()=>o),(e=>o=e)),r(e.exports,"p2c",(()=>a),(e=>a=e)),r(e.exports,"quadrature",(()=>l),(e=>l=e)),r(e.exports,"isTraceInSubplots",(()=>u),(e=>u=e)),r(e.exports,"inbox",(()=>p),(e=>p=e)),r(e.exports,"getSubplot",(()=>v),(e=>v=e)),r(e.exports,"flat",(()=>i),(e=>i=e)),r(e.exports,"isXYhover",(()=>c),(e=>c=e)),r(e.exports,"getDistanceFunction",(()=>n),(e=>n=e)),r(e.exports,"appendArrayMultiPointValues",(()=>d),(e=>d=e)),r(e.exports,"makeEventData",(()=>f),(e=>f=e));var m=s("1nIvY");v=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo},u=function(e,t){if("splom"===e.type){for(var r=e.xaxes||[],n=e.yaxes||[],a=0;a=0&&r.index=t.width-20?(i["text-anchor"]="start",i.x=5):(i["text-anchor"]="end",i.x=t._paper.attr("width")-7),n.attr(i);var o=n.select(".js-link-to-tool"),l=n.select(".js-link-spacer"),s=n.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&function(e,t){t.text("");var r=t.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(e._context.linkText+" "+String.fromCharCode(187));if(e._context.sendData)r.on("click",(function(){x.sendDataToCloud(e)}));else{var n=window.location.pathname.split("/"),a=window.location.search;r.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+n[2].split(".")[0]+"/"+n[1]+a})}}(e,o),l.text(o.text()&&s.text()?" - ":"")}},x.sendDataToCloud=function(e){var t=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(t){e.emit("plotly_beforeexport");var n=r.select(e).append("div").attr("id","hiddenform").style("display","none"),a=n.append("form").attr({action:t+"/external",method:"post",target:"_blank"});return a.append("input").attr({type:"text",name:"data"}).node().value=x.graphJson(e,!1,"keepdata"),a.node().submit(),n.remove(),e.emit("plotly_afterexport"),!1}};var w=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],k=["year","month","dayMonth","dayMonthYear"];function T(e,t){var r=e._context.locale;r||(r="en-US");var n=!1,a={};function o(e){for(var r=!0,i=0;i1&&E.length>1){for(i.getComponentMethod("grid","sizeDefaults")(f,d),u=0;u15&&E.length>15&&0===d.shapes.length&&0===d.images.length,d._hasCartesian=d._has("cartesian"),d._hasGeo=d._has("geo"),d._hasGL3D=d._has("gl3d"),d._hasGL2D=d._has("gl2d"),d._hasTernary=d._has("ternary"),d._hasPie=d._has("pie"),x.linkSubplots(g,d,p,s),x.cleanPlot(g,d,p,s);var B=!(!s._has||!s._has("gl2d")),U=!(!d._has||!d._has("gl2d")),q=!(!s._has||!s._has("cartesian"))||B,V=!(!d._has||!d._has("cartesian"))||U;q&&!V?s._bgLayer.remove():V&&!q&&(d._shouldCreateBgLayer=!0),s._zoomlayer&&!e._dragging&&h({_fullLayout:s}),function(e,t){var r,n=[];t.meta&&(r=t._meta={meta:t.meta,layout:{meta:t.meta}});for(var a=0;a0){var d=1-2*l;n=Math.round(d*n),i=Math.round(d*i)}}var f=x.layoutAttributes.width.min,h=x.layoutAttributes.height.min;n1,g=!t.height&&Math.abs(r.height-i)>1;(g||p)&&(p&&(r.width=n),g&&(r.height=i)),e._initialAutoSize||(e._initialAutoSize={width:n,height:i}),x.sanitizeMargins(r)},x.supplyLayoutModuleDefaults=function(e,t,r,n){var a,o,l,s=i.componentsRegistry,u=t._basePlotModules,d=i.subplotsRegistry.cartesian;for(a in s)(l=s[a]).includeBasePlot&&l.includeBasePlot(e,t);for(var f in u.length||u.push(d),t._has("cartesian")&&(i.getComponentMethod("grid","contentDefaults")(e,t),d.finalizeSubplots(e,t)),t._subplots)t._subplots[f].sort(c.subplotSort);for(o=0;o1&&(r.l/=g,r.r/=g)}if(d){var v=(r.t+r.b)/d;v>1&&(r.t/=v,r.b/=v)}var m=void 0!==r.xl?r.xl:r.x,y=void 0!==r.xr?r.xr:r.x,b=void 0!==r.yt?r.yt:r.y,_=void 0!==r.yb?r.yb:r.y;f[t]={l:{val:m,size:r.l+p},r:{val:y,size:r.r+p},b:{val:_,size:r.b+p},t:{val:b,size:r.t+p}},h[t]=1}else delete f[t],delete h[t];if(!n._replotting)return x.doAutoMargin(e)}},x.doAutoMargin=function(e){var t=e._fullLayout,r=t.width,n=t.height;t._size||(t._size={}),C(t);var o=t._size,l=t.margin,s=c.extendFlat({},o),u=l.l,d=l.r,h=l.t,p=l.b,g=t._pushmargin,v=t._pushmarginIds;if(!1!==t.margin.autoexpand){for(var m in g)v[m]||delete g[m];for(var y in g.base={l:{val:0,size:u},r:{val:1,size:d},t:{val:1,size:h},b:{val:0,size:p}},g){var b=g[y].l||{},_=g[y].b||{},w=b.val,k=b.size,T=_.val,M=_.size;for(var A in g){if(a(k)&&g[A].r){var S=g[A].r.val,L=g[A].r.size;if(S>w){var I=(k*S+(L-r)*w)/(S-w),O=(L*(1-w)+(k-r)*(1-S))/(S-w);I+O>u+d&&(u=I,d=O)}}if(a(M)&&g[A].t){var D=g[A].t.val,z=g[A].t.size;if(D>T){var P=(M*D+(z-n)*T)/(D-T),j=(z*(1-T)+(M-n)*(1-D))/(D-T);P+j>p+h&&(p=P,h=j)}}}}}var E=c.constrain(r-l.l-l.r,2,64),R=c.constrain(n-l.t-l.b,2,64),N=Math.max(0,r-E),F=Math.max(0,n-R);if(N){var H=(u+d)/N;H>1&&(u/=H,d/=H)}if(F){var B=(p+h)/F;B>1&&(p/=B,h/=B)}if(o.l=Math.round(u),o.r=Math.round(d),o.t=Math.round(h),o.b=Math.round(p),o.p=Math.round(l.pad),o.w=Math.round(r)-o.l-o.r,o.h=Math.round(n)-o.t-o.b,!t._replotting&&x.didMarginChange(s,o)){"_redrawFromAutoMarginCount"in t?t._redrawFromAutoMarginCount++:t._redrawFromAutoMarginCount=1;var U=3*(1+Object.keys(v).length);if(t._redrawFromAutoMarginCount0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push((function(){n=!0})),r.redraw&&e._transitionData._interruptCallbacks.push((function(){return i.call("redraw",e)})),e._transitionData._interruptCallbacks.push((function(){e.emit("plotly_transitioninterrupted",[])}));var o=0,l=0;function s(){return o++,function(){var t;l++,n||l!==o||(t=a,e._transitionData&&(function(e){if(e)for(;e.length;)e.shift()}(e._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(r.redraw)return i.call("redraw",e)})).then((function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])})).then(t)))}}r.runFn(s),setTimeout(s())}))}],o=c.syncOrAsync(a,e);return o&&o.then||(o=Promise.resolve()),o.then((function(){return e}))}x.didMarginChange=function(e,t){for(var r=0;r1)return!0}return!1},x.graphJson=function(e,t,r,n,a,i){(a&&t&&!e._fullData||a&&!t&&!e._fullLayout)&&x.supplyDefaults(e);var o=a?e._fullData:e.data,l=a?e._fullLayout:e.layout,s=(e._transitionData||{})._frames;function u(e,t){if("function"==typeof e)return t?"_function_":null;if(c.isPlainObject(e)){var n,a={};return Object.keys(e).sort().forEach((function(i){if(-1===["_","["].indexOf(i.charAt(0)))if("function"!=typeof e[i]){if("keepdata"===r){if("src"===i.substr(i.length-3))return}else if("keepstream"===r){if("string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0&&!c.isPlainObject(e.stream))return}else if("keepall"!==r&&"string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0)return;a[i]=u(e[i],t)}else t&&(a[i]="_function")})),a}return Array.isArray(e)?e.map((function(e){return u(e,t)})):c.isTypedArray(e)?c.simpleMap(e,c.identity):c.isJSDate(e)?c.ms2DateTimeLocal(+e):e}var d={data:(o||[]).map((function(e){var r=u(e);return t&&delete r.fit,r}))};if(!t&&(d.layout=u(l),a)){var f=l._size;d.layout.computed={margin:{b:f.b,l:f.l,r:f.r,t:f.t}}}return e.framework&&e.framework.isPolar&&(d=e.framework.getConfig()),s&&(d.frames=u(s)),i&&(d.config=u(e._context,!0)),"object"===n?d:JSON.stringify(d)},x.modifyFrames=function(e,t){var r,n,a,i=e._transitionData._frames,o=e._transitionData._frameHash;for(r=0;r=0;l--)if(o[l].enabled){r._indexToPoints=o[l]._indexToPoints;break}n&&n.calc&&(i=n.calc(e,r))}Array.isArray(i)&&i[0]||(i=[{x:d,y:d}]),i[0].t||(i[0].t={}),i[0].trace=r,p[t]=i}}for(z(s,u,h),a=0;ac),(e=>c=e)),r(e.exports,"cleanId",(()=>a),(e=>a=e)),r(e.exports,"list",(()=>u),(e=>u=e)),r(e.exports,"ref2id",(()=>l),(e=>l=e)),r(e.exports,"id2name",(()=>n),(e=>n=e)),r(e.exports,"idSort",(()=>d),(e=>d=e)),r(e.exports,"getFromTrace",(()=>h),(e=>h=e)),r(e.exports,"getFromId",(()=>o),(e=>o=e)),r(e.exports,"name2id",(()=>i),(e=>i=e)),r(e.exports,"listIds",(()=>f),(e=>f=e));var p=s("4Hxcc"),g=s("5Lafm");function v(e,t){if(t&&t.length)for(var r=0;rn?1:-1:+(e.substr(1)||1)-+(t.substr(1)||1)},l=function(e){return!!/^[xyz]/.test(e)&&e.split(" ")[0]},c=function(e,t){return v(t,e._axisMatchGroups)||v(t,e._axisConstraintGroups)}})),s.register("6VTTP",(function(e,t){"use strict";e.exports={clearOutlineControllers:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".outline-controllers").remove()},clearSelect:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".select-outline").remove(),e._fullLayout._drawing=!1}}})),s.register("CkVc5",(function(e,t){var n;r(e.exports,"getModuleCalcData",(()=>n),(e=>n=e));var a=s("4Hxcc");s("5Lafm").SUBPLOT_PATTERN;n=function(e,t){var r,n=[],i=[];if(!(r="string"==typeof t?a.getModule(t).plot:"function"==typeof t?t:t.plot))return[n,e];for(var o=0;oo),(e=>o=e)),r(e.exports,"hasSimpleAPICommandBindings",(()=>i),(e=>i=e)),r(e.exports,"computeAPICommandBindings",(()=>n),(e=>n=e)),r(e.exports,"manageCommandObserver",(()=>a),(e=>a=e));var l=s("4Hxcc"),c=s("1nIvY");function u(e,t,r){var n,a,i,o=!1;if("data"===t.type)n=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;n=e._fullLayout}return a=c.nestedProperty(n,t.prop).get(),(i=r[t.type]=r[t.type]||{}).hasOwnProperty(t.prop)&&i[t.prop]!==a&&(o=!0),i[t.prop]=a,{changed:o,value:a}}function d(e,t){var r=[],n=t[0],a={};if("string"==typeof n)a[n]=t[1];else{if(!c.isPlainObject(n))return r;a=n}return h(a,(function(e,t,n){r.push({type:"layout",prop:e,value:n})}),"",0),r}function f(e,t){var r,n,a,i,o=[];if(n=t[0],a=t[1],r=t[2],i={},"string"==typeof n)i[n]=a;else{if(!c.isPlainObject(n))return o;i=n,void 0===r&&(r=a)}return void 0===r&&(r=null),h(i,(function(t,n,a){var i,l;if(Array.isArray(a)){l=a.slice();var s=Math.min(l.length,e.data.length);r&&(s=Math.min(s,r.length)),i=[];for(var c=0;c0?".":"")+a;c.isPlainObject(i)?h(i,t,o,n+1):t(o,a,i)}}))}a=function(e,t,r,n){var a={},o=!0;t&&t._commandObserver&&(a=t._commandObserver),a.cache||(a.cache={}),a.lookupTable={};var l=i(e,r,a.lookupTable);if(t&&t._commandObserver){if(l)return a;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,a}if(l){u(e,l,a.cache),a.check=function(){if(o){var t=u(e,l,a.cache);return t.changed&&n&&void 0!==a.lookupTable[t.value]&&(a.disable(),Promise.resolve(n({value:t.value,type:l.type,prop:l.prop,traces:l.traces,index:a.lookupTable[t.value]})).then(a.enable,a.enable)),t.changed}};for(var s=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d=0?f.angularAxis.domain:r.extent(k),L=Math.abs(k[1]-k[0]);M&&!T&&(L=0);var C=S.slice();A&&T&&(C[1]+=L);var I=f.angularAxis.ticksCount||4;I>8&&(I=I/(I/8)+I%8),f.angularAxis.ticksStep&&(I=(C[1]-C[0])/I);var O=f.angularAxis.ticksStep||(C[1]-C[0])/(I*(f.minorTicks+1));w&&(O=Math.max(Math.round(O),1)),C[2]||(C[2]=O);var D=r.range.apply(this,C);if(D=D.map((function(e,t){return parseFloat(e.toPrecision(12))})),l=r.scale.linear().domain(C.slice(0,2)).range("clockwise"===f.direction?[0,360]:[360,0]),u.layout.angularAxis.domain=l.domain(),u.layout.angularAxis.endPadding=A?L:0,void 0===(e=r.select(this).select("svg.chart-root"))||e.empty()){var z=(new DOMParser).parseFromString("' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '","application/xml"),P=this.appendChild(this.ownerDocument.importNode(z.documentElement,!0));e=r.select(P)}e.select(".guides-group").style({"pointer-events":"none"}),e.select(".angular.axis-group").style({"pointer-events":"none"}),e.select(".radial.axis-group").style({"pointer-events":"none"});var j,E=e.select(".chart-group"),R={fill:"none",stroke:f.tickColor},N={"font-size":f.font.size,"font-family":f.font.family,fill:f.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map((function(e,t){return" "+e+" 0 "+f.font.outlineColor})).join(",")};if(f.showLegend){j=e.select(".legend-group").attr({transform:"translate("+[x,f.margin.top]+")"}).style({display:"block"});var F=h.map((function(e,t){var r=i.util.cloneJson(e);return r.symbol="DotPlot"===e.geometry?e.dotType||"circle":"LinePlot"!=e.geometry?"square":"line",r.visibleInLegend=void 0===e.visibleInLegend||e.visibleInLegend,r.color="LinePlot"===e.geometry?e.strokeColor:e.color,r}));i.Legend().config({data:h.map((function(e,t){return e.name||"Element"+t})),legendConfig:n({},i.Legend.defaultConfig().legendConfig,{container:j,elements:F,reverseOrder:f.legend.reverseOrder})})();var H=j.node().getBBox();x=Math.min(f.width-H.width-f.margin.left-f.margin.right,f.height-f.margin.top-f.margin.bottom)/2,x=Math.max(10,x),_=[f.margin.left+x,f.margin.top+x],o.range([0,x]),u.layout.radialAxis.domain=o.domain(),j.attr("transform","translate("+[_[0]+x,_[1]-x]+")")}else j=e.select(".legend-group").style({display:"none"});e.attr({width:f.width,height:f.height}).style({opacity:f.opacity}),E.attr("transform","translate("+_+")").style({cursor:"crosshair"});var B=[(f.width-(f.margin.left+f.margin.right+2*x+(H?H.width:0)))/2,(f.height-(f.margin.top+f.margin.bottom+2*x))/2];if(B[0]=Math.max(0,B[0]),B[1]=Math.max(0,B[1]),e.select(".outer-group").attr("transform","translate("+B+")"),f.title&&f.title.text){var U=e.select("g.title-group text").style(N).text(f.title.text),q=U.node().getBBox();U.attr({x:_[0]-q.width/2,y:_[1]-x-20})}var V=e.select(".radial.axis-group");if(f.radialAxis.gridLinesVisible){var Y=V.selectAll("circle.grid-circle").data(o.ticks(5));Y.enter().append("circle").attr({class:"grid-circle"}).style(R),Y.attr("r",o),Y.exit().remove()}V.select("circle.outside-circle").attr({r:x}).style(R);var G=e.select("circle.background-circle").attr({r:x}).style({fill:f.backgroundColor,stroke:f.stroke});function Z(e,t){return l(e)%360+f.orientation}if(f.radialAxis.visible){var W=r.svg.axis().scale(o).ticks(5).tickSize(5);V.call(W).attr({transform:"rotate("+f.radialAxis.orientation+")"}),V.selectAll(".domain").style(R),V.selectAll("g>text").text((function(e,t){return this.textContent+f.radialAxis.ticksSuffix})).style(N).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(e,t){return"horizontal"===f.radialAxis.tickOrientation?"rotate("+-f.radialAxis.orientation+") translate("+[0,N["font-size"]]+")":"translate("+[0,N["font-size"]]+")"}}),V.selectAll("g>line").style({stroke:"black"})}var X=e.select(".angular.axis-group").selectAll("g.angular-tick").data(D),Q=X.enter().append("g").classed("angular-tick",!0);X.attr({transform:function(e,t){return"rotate("+Z(e)+")"}}).style({display:f.angularAxis.visible?"block":"none"}),X.exit().remove(),Q.append("line").classed("grid-line",!0).classed("major",(function(e,t){return t%(f.minorTicks+1)==0})).classed("minor",(function(e,t){return!(t%(f.minorTicks+1)==0)})).style(R),Q.selectAll(".minor").style({stroke:f.minorTickColor}),X.select("line.grid-line").attr({x1:f.tickLength?x-f.tickLength:0,x2:x}).style({display:f.angularAxis.gridLinesVisible?"block":"none"}),Q.append("text").classed("axis-text",!0).style(N);var J=X.select("text.axis-text").attr({x:x+f.labelOffset,dy:a+"em",transform:function(e,t){var r=Z(e),n=x+f.labelOffset,a=f.angularAxis.tickOrientation;return"horizontal"==a?"rotate("+-r+" "+n+" 0)":"radial"==a?r<270&&r>90?"rotate(180 "+n+" 0)":null:"rotate("+(r<=180&&r>0?-90:90)+" "+n+" 0)"}}).style({"text-anchor":"middle",display:f.angularAxis.labelsVisible?"block":"none"}).text((function(e,t){return t%(f.minorTicks+1)!=0?"":w?w[e]+f.angularAxis.ticksSuffix:e+f.angularAxis.ticksSuffix})).style(N);f.angularAxis.rewriteTicks&&J.text((function(e,t){return t%(f.minorTicks+1)!=0?"":f.angularAxis.rewriteTicks(this.textContent,t)}));var K=r.max(E.selectAll(".angular-tick text")[0].map((function(e,t){return e.getCTM().e+e.getBBox().width})));j.attr({transform:"translate("+[x+K,f.margin.top]+")"});var $=e.select("g.geometry-group").selectAll("g").size()>0,ee=e.select("g.geometry-group").selectAll("g.geometry").data(h);if(ee.enter().append("g").attr({class:function(e,t){return"geometry geometry"+t}}),ee.exit().remove(),h[0]||$){var te=[];h.forEach((function(e,t){var r={};r.radialScale=o,r.angularScale=l,r.container=ee.filter((function(e,r){return r==t})),r.geometry=e.geometry,r.orientation=f.orientation,r.direction=f.direction,r.index=t,te.push({data:e,geometryConfig:r})}));var re=r.nest().key((function(e,t){return void 0!==e.data.groupId||"unstacked"})).entries(te),ne=[];re.forEach((function(e,t){"unstacked"===e.key?ne=ne.concat(e.values.map((function(e,t){return[e]}))):ne.push(e.values)})),ne.forEach((function(e,t){var r;r=Array.isArray(e)?e[0].geometryConfig.geometry:e.geometryConfig.geometry;var a=e.map((function(e,t){return n(i[r].defaultConfig(),e)}));i[r]().config(a)()}))}var ae,ie,oe=e.select(".guides-group"),le=e.select(".tooltips-group"),se=i.tooltipPanel().config({container:le,fontSize:8})(),ce=i.tooltipPanel().config({container:le,fontSize:8})(),ue=i.tooltipPanel().config({container:le,hasTick:!0})();if(!T){var de=oe.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});E.on("mousemove.angular-guide",(function(e,t){var r=i.util.getMousePos(G).angle;de.attr({x2:-x,transform:"rotate("+r+")"}).style({opacity:.5});var n=(r+180+360-f.orientation)%360;ae=l.invert(n);var a=i.util.convertToCartesian(x+12,r+180);se.text(i.util.round(ae)).move([a[0]+_[0],a[1]+_[1]])})).on("mouseout.angular-guide",(function(e,t){oe.select("line").style({opacity:0})}))}var fe=oe.select("circle").style({stroke:"grey",fill:"none"});E.on("mousemove.radial-guide",(function(e,t){var r=i.util.getMousePos(G).radius;fe.attr({r:r}).style({opacity:.5}),ie=o.invert(i.util.getMousePos(G).radius);var n=i.util.convertToCartesian(r,f.radialAxis.orientation);ce.text(i.util.round(ie)).move([n[0]+_[0],n[1]+_[1]])})).on("mouseout.radial-guide",(function(e,t){fe.style({opacity:0}),ue.hide(),se.hide(),ce.hide()})),e.selectAll(".geometry-group .mark").on("mouseover.tooltip",(function(t,n){var a=r.select(this),o=this.style.fill,l="black",s=this.style.opacity||1;if(a.attr({"data-opacity":s}),o&&"none"!==o){a.attr({"data-fill":o}),l=r.hsl(o).darker().toString(),a.style({fill:l,opacity:1});var c={t:i.util.round(t[0]),r:i.util.round(t[1])};T&&(c.t=w[t[0]]);var u="t: "+c.t+", r: "+c.r,d=this.getBoundingClientRect(),f=e.node().getBoundingClientRect(),h=[d.left+d.width/2-B[0]-f.left,d.top+d.height/2-B[1]-f.top];ue.config({color:l}).text(u),ue.move(h)}else o=this.style.stroke||"black",a.attr({"data-stroke":o}),l=r.hsl(o).darker().toString(),a.style({stroke:l,opacity:1})})).on("mousemove.tooltip",(function(e,t){if(0!=r.event.which)return!1;r.select(this).attr("data-fill")&&ue.show()})).on("mouseout.tooltip",(function(e,t){ue.hide();var n=r.select(this),a=n.attr("data-fill");a?n.style({fill:a,opacity:n.attr("data-opacity")}):n.style({stroke:n.attr("data-stroke"),opacity:n.attr("data-opacity")})}))}))}(c),this},config:function(e){if(!arguments.length)return s;var t=i.util.cloneJson(e);return t.data.forEach((function(e,t){s.data[t]||(s.data[t]={}),n(s.data[t],i.Axis.defaultConfig().data[0]),n(s.data[t],e)})),n(s.layout,i.Axis.defaultConfig().layout),n(s.layout,t.layout),this},getLiveConfig:function(){return u},getinputConfig:function(){return c},radialScale:function(e){return o},angularScale:function(e){return l},svg:function(){return e}};return r.rebind(f,d,"on"),f},i.Axis.defaultConfig=function(e,t){return{data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:r.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}}},i.util={},i.DATAEXTENT="dataExtent",i.AREA="AreaChart",i.LINE="LinePlot",i.DOT="DotPlot",i.BAR="BarChart",i.util._override=function(e,t){for(var r in e)r in t&&(t[r]=e[r])},i.util._extend=function(e,t){for(var r in e)t[r]=e[r]},i.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},i.util.dataFromEquation2=function(e,t){var n=t||6;return r.range(0,360+n,n).map((function(t,r){var n=t*Math.PI/180;return[t,e(n)]}))},i.util.dataFromEquation=function(e,t,n){var a=t||6,i=[],o=[];r.range(0,360+a,a).forEach((function(t,r){var n=t*Math.PI/180,a=e(n);i.push(t),o.push(a)}));var l={t:i,r:o};return n&&(l.name=n),l},i.util.ensureArray=function(e,t){if(void 0===e)return null;var n=[].concat(e);return r.range(t).map((function(e,t){return n[t]||n[0]}))},i.util.fillArrays=function(e,t,r){return t.forEach((function(t,n){e[t]=i.util.ensureArray(e[t],r)})),e},i.util.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},i.util.validateKeys=function(e,t){"string"==typeof t&&(t=t.split("."));var r=t.shift();return e[r]&&(!t.length||objHasKeys(e[r],t))},i.util.sumArrays=function(e,t){return r.zip(e,t).map((function(e,t){return r.sum(e)}))},i.util.arrayLast=function(e){return e[e.length-1]},i.util.arrayEqual=function(e,t){for(var r=Math.max(e.length,t.length,1);r-- >=0&&e[r]===t[r];);return-2===r},i.util.flattenArray=function(e){for(var t=[];!i.util.arrayEqual(t,e);)t=e,e=[].concat.apply([],e);return e},i.util.deduplicate=function(e){return e.filter((function(e,t,r){return r.indexOf(e)==t}))},i.util.convertToCartesian=function(e,t){var r=t*Math.PI/180;return[e*Math.cos(r),e*Math.sin(r)]},i.util.round=function(e,t){var r=t||2,n=Math.pow(10,r);return Math.round(e*n)/n},i.util.getMousePos=function(e){var t=r.mouse(e.node()),n=t[0],a=t[1],i={};return i.x=n,i.y=a,i.pos=t,i.angle=180*(Math.atan2(a,n)+Math.PI)/Math.PI,i.radius=Math.sqrt(n*n+a*a),i},i.util.duplicatesCount=function(e){for(var t,r={},n={},a=0,i=e.length;a0)){var s=r.select(this.parentNode).selectAll("path.line").data([0]);s.enter().insert("path"),s.attr({class:"line",d:u(l),transform:function(e,r){return"rotate("+(t.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(e,t){return p.fill(n,a,i)},"fill-opacity":0,stroke:function(e,t){return p.stroke(n,a,i)},"stroke-width":function(e,t){return p["stroke-width"](n,a,i)},"stroke-dasharray":function(e,t){return p["stroke-dasharray"](n,a,i)},opacity:function(e,t){return p.opacity(n,a,i)},display:function(e,t){return p.display(n,a,i)}})}};var d=t.angularScale.range(),f=Math.abs(d[1]-d[0])/o[0].length*Math.PI/180,h=r.svg.arc().startAngle((function(e){return-f/2})).endAngle((function(e){return f/2})).innerRadius((function(e){return t.radialScale(s+(e[2]||0))})).outerRadius((function(e){return t.radialScale(s+(e[2]||0))+t.radialScale(e[1])}));c.arc=function(e,n,a){r.select(this).attr({class:"mark arc",d:h,transform:function(e,r){return"rotate("+(t.orientation+l(e[0])+90)+")"}})};var p={fill:function(t,r,n){return e[n].data.color},stroke:function(t,r,n){return e[n].data.strokeColor},"stroke-width":function(t,r,n){return e[n].data.strokeSize+"px"},"stroke-dasharray":function(t,r,n){return a[e[n].data.strokeDash]},opacity:function(t,r,n){return e[n].data.opacity},display:function(t,r,n){return void 0===e[n].data.visible||e[n].data.visible?"block":"none"}},g=r.select(this).selectAll("g.layer").data(o);g.enter().append("g").attr({class:"layer"});var v=g.selectAll("path.mark").data((function(e,t){return e}));v.enter().append("path").attr({class:"mark"}),v.style(p).each(c[t.geometryType]),v.exit().remove(),g.exit().remove()}))}return o.config=function(t){return arguments.length?(t.forEach((function(t,r){e[r]||(e[r]={}),n(e[r],i.PolyChart.defaultConfig()),n(e[r],t)})),this):e},o.getColorScale=function(){},r.rebind(o,t,"on"),o},i.PolyChart.defaultConfig=function(){return{data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:r.scale.category20()}}},i.BarChart=function(){return i.PolyChart()},i.BarChart.defaultConfig=function(){return{geometryConfig:{geometryType:"bar"}}},i.AreaChart=function(){return i.PolyChart()},i.AreaChart.defaultConfig=function(){return{geometryConfig:{geometryType:"arc"}}},i.DotPlot=function(){return i.PolyChart()},i.DotPlot.defaultConfig=function(){return{geometryConfig:{geometryType:"dot",dotType:"circle"}}},i.LinePlot=function(){return i.PolyChart()},i.LinePlot.defaultConfig=function(){return{geometryConfig:{geometryType:"line"}}},i.Legend=function(){var e=i.Legend.defaultConfig(),t=r.dispatch("hover");function a(){var t=e.legendConfig,i=e.data.map((function(e,r){return[].concat(e).map((function(e,a){var i=n({},t.elements[r]);return i.name=e,i.color=[].concat(t.elements[r].color)[a],i}))})),o=r.merge(i);o=o.filter((function(e,r){return t.elements[r]&&(t.elements[r].visibleInLegend||void 0===t.elements[r].visibleInLegend)})),t.reverseOrder&&(o=o.reverse());var l=t.container;("string"==typeof l||l.nodeName)&&(l=r.select(l));var s=o.map((function(e,t){return e.color})),c=t.fontSize,u=null==t.isContinuous?"number"==typeof o[0]:t.isContinuous,d=u?t.height:c*o.length,f=l.classed("legend-group",!0).selectAll("svg").data([0]),h=f.enter().append("svg").attr({width:300,height:d+c,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});h.append("g").classed("legend-axis",!0),h.append("g").classed("legend-marks",!0);var p=r.range(o.length),g=r.scale[u?"linear":"ordinal"]().domain(p).range(s),v=r.scale[u?"linear":"ordinal"]().domain(p)[u?"range":"rangePoints"]([0,d]);if(u){var m=f.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(s);m.enter().append("stop"),m.attr({offset:function(e,t){return t/(s.length-1)*100+"%"}}).style({"stop-color":function(e,t){return e}}),f.append("rect").classed("legend-mark",!0).attr({height:t.height,width:t.colorBandWidth,fill:"url(#grad1)"})}else{var y=f.select(".legend-marks").selectAll("path.legend-mark").data(o);y.enter().append("path").classed("legend-mark",!0),y.attr({transform:function(e,t){return"translate("+[c/2,v(t)+c/2]+")"},d:function(e,t){var n,a,i,o=e.symbol;return i=3*(a=c),"line"===(n=o)?"M"+[[-a/2,-a/12],[a/2,-a/12],[a/2,a/12],[-a/2,a/12]]+"Z":-1!=r.svg.symbolTypes.indexOf(n)?r.svg.symbol().type(n).size(i)():r.svg.symbol().type("square").size(i)()},fill:function(e,t){return g(t)}}),y.exit().remove()}var x=r.svg.axis().scale(v).orient("right"),b=f.select("g.legend-axis").attr({transform:"translate("+[u?t.colorBandWidth:c,c/2]+")"}).call(x);return b.selectAll(".domain").style({fill:"none",stroke:"none"}),b.selectAll("line").style({fill:"none",stroke:u?t.textColor:"none"}),b.selectAll("text").style({fill:t.textColor,"font-size":t.fontSize}).text((function(e,t){return o[t].name})),a}return a.config=function(t){return arguments.length?(n(e,t),this):e},r.rebind(a,t,"on"),a},i.Legend.defaultConfig=function(e,t){return{data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}}},i.tooltipPanel=function(){var e,t,a,o={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},l="tooltip-"+i.tooltipPanel.uid++,s=10,c=function(){var r=(e=o.container.selectAll("g."+l).data([0])).enter().append("g").classed(l,!0).style({"pointer-events":"none",display:"none"});return a=r.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),t=r.append("text").attr({dx:o.padding+s,dy:.3*+o.fontSize}),c};return c.text=function(n){var i=r.hsl(o.color).l,l=i>=.5?"#aaa":"white",u=i>=.5?"black":"white",d=n||"";t.style({fill:u,"font-size":o.fontSize+"px"}).text(d);var f=o.padding,h=t.node().getBBox(),p={fill:o.color,stroke:l,"stroke-width":"2px"},g=h.width+2*f+s,v=h.height+2*f;return a.attr({d:"M"+[[s,-v/2],[s,-v/4],[o.hasTick?0:s,0],[s,v/4],[s,v/2],[g,v/2],[g,-v/2]].join("L")+"Z"}).style(p),e.attr({transform:"translate("+[s,-v/2+2*f]+")"}),e.style({display:"block"}),c},c.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),c},c.hide=function(){if(e)return e.style({display:"none"}),c},c.show=function(){if(e)return e.style({display:"block"}),c},c.config=function(e){return n(o,e),c},c},i.tooltipPanel.uid=1,i.adapter={},i.adapter.plotly=function(){return{convert:function(e,t){var a={};if(e.data&&(a.data=e.data.map((function(e,r){var a=n({},e);return[[a,["marker","color"],["color"]],[a,["marker","opacity"],["opacity"]],[a,["marker","line","color"],["strokeColor"]],[a,["marker","line","dash"],["strokeDash"]],[a,["marker","line","width"],["strokeSize"]],[a,["marker","symbol"],["dotType"]],[a,["marker","size"],["dotSize"]],[a,["marker","barWidth"],["barWidth"]],[a,["line","interpolation"],["lineInterpolation"]],[a,["showlegend"],["visibleInLegend"]]].forEach((function(e,r){i.util.translator.apply(null,e.concat(t))})),t||delete a.marker,t&&delete a.groupId,t?("LinePlot"===a.geometry?(a.type="scatter",!0===a.dotVisible?(delete a.dotVisible,a.mode="lines+markers"):a.mode="lines"):"DotPlot"===a.geometry?(a.type="scatter",a.mode="markers"):"AreaChart"===a.geometry?a.type="area":"BarChart"===a.geometry&&(a.type="bar"),delete a.geometry):("scatter"===a.type?"lines"===a.mode?a.geometry="LinePlot":"markers"===a.mode?a.geometry="DotPlot":"lines+markers"===a.mode&&(a.geometry="LinePlot",a.dotVisible=!0):"area"===a.type?a.geometry="AreaChart":"bar"===a.type&&(a.geometry="BarChart"),delete a.mode,delete a.type),a})),!t&&e.layout&&"stack"===e.layout.barmode)){var o=i.util.duplicates(a.data.map((function(e,t){return e.geometry})));a.data.forEach((function(e,t){var r=o.indexOf(e.geometry);-1!=r&&(a.data[t].groupId=r)}))}if(e.layout){var l=n({},e.layout);if([[l,["plot_bgcolor"],["backgroundColor"]],[l,["showlegend"],["showLegend"]],[l,["radialaxis"],["radialAxis"]],[l,["angularaxis"],["angularAxis"]],[l.angularaxis,["showline"],["gridLinesVisible"]],[l.angularaxis,["showticklabels"],["labelsVisible"]],[l.angularaxis,["nticks"],["ticksCount"]],[l.angularaxis,["tickorientation"],["tickOrientation"]],[l.angularaxis,["ticksuffix"],["ticksSuffix"]],[l.angularaxis,["range"],["domain"]],[l.angularaxis,["endpadding"],["endPadding"]],[l.radialaxis,["showline"],["gridLinesVisible"]],[l.radialaxis,["tickorientation"],["tickOrientation"]],[l.radialaxis,["ticksuffix"],["ticksSuffix"]],[l.radialaxis,["range"],["domain"]],[l.angularAxis,["showline"],["gridLinesVisible"]],[l.angularAxis,["showticklabels"],["labelsVisible"]],[l.angularAxis,["nticks"],["ticksCount"]],[l.angularAxis,["tickorientation"],["tickOrientation"]],[l.angularAxis,["ticksuffix"],["ticksSuffix"]],[l.angularAxis,["range"],["domain"]],[l.angularAxis,["endpadding"],["endPadding"]],[l.radialAxis,["showline"],["gridLinesVisible"]],[l.radialAxis,["tickorientation"],["tickOrientation"]],[l.radialAxis,["ticksuffix"],["ticksSuffix"]],[l.radialAxis,["range"],["domain"]],[l.font,["outlinecolor"],["outlineColor"]],[l.legend,["traceorder"],["reverseOrder"]],[l,["labeloffset"],["labelOffset"]],[l,["defaultcolorrange"],["defaultColorRange"]]].forEach((function(e,r){i.util.translator.apply(null,e.concat(t))})),t?(void 0!==l.tickLength&&(l.angularaxis.ticklen=l.tickLength,delete l.tickLength),l.tickColor&&(l.angularaxis.tickcolor=l.tickColor,delete l.tickColor)):(l.angularAxis&&void 0!==l.angularAxis.ticklen&&(l.tickLength=l.angularAxis.ticklen),l.angularAxis&&void 0!==l.angularAxis.tickcolor&&(l.tickColor=l.angularAxis.tickcolor)),l.legend&&"boolean"!=typeof l.legend.reverseOrder&&(l.legend.reverseOrder="normal"!=l.legend.reverseOrder),l.legend&&"boolean"==typeof l.legend.traceorder&&(l.legend.traceorder=l.legend.traceorder?"reversed":"normal",delete l.legend.reverseOrder),l.margin&&void 0!==l.margin.t){var s=["t","r","b","l","pad"],c=["top","right","bottom","left","pad"],u={};r.entries(l.margin).forEach((function(e,t){u[c[s.indexOf(e.key)]]=e.value})),l.margin=u}t&&(delete l.needsEndSpacing,delete l.minorTickColor,delete l.minorTicks,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksStep,delete l.angularaxis.rewriteTicks,delete l.angularaxis.nticks,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksStep,delete l.radialaxis.rewriteTicks,delete l.radialaxis.nticks),a.layout=l}return a}}}})),s.register("7gS77",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY"),a=s("3N5m7"),i=s("45RDT"),o=s("3CVjn"),l=n.extendDeepAll,c=e.exports={};c.framework=function(e){var t,n,a,s,u,d=new o;function f(n,o){return o&&(u=o),r.select(r.select(u).node().parentNode).selectAll(".svg-container>*:not(.chart-root)").remove(),t=t?l(t,n):n,a||(a=i.Axis()),s=i.adapter.plotly().convert(t),a.config(s).render(u),e.data=t.data,e.layout=t.layout,c.fillLayout(e),t}return f.isPolar=!0,f.svg=function(){return a.svg()},f.getConfig=function(){return t},f.getLiveConfig=function(){return i.adapter.plotly().convert(a.getLiveConfig(),!0)},f.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},f.setUndoPoint=function(){var e,r,a=this,o=i.util.cloneJson(t);e=o,r=n,d.add({undo:function(){r&&a(r)},redo:function(){a(e)}}),n=i.util.cloneJson(o)},f.undo=function(){d.undo()},f.redo=function(){d.redo()},f},c.fillLayout=function(e){var t=r.select(e).selectAll(".plot-container"),n=t.selectAll(".svg-container"),i=e.framework&&e.framework.svg&&e.framework.svg(),o={width:800,height:600,paper_bgcolor:a.background,_container:t,_paperdiv:n,_paper:i};e._fullLayout=l(o,e.layout)}})),s.register("3CVjn",(function(e,t){"use strict";e.exports=function(){var e,t=[],r=-1,n=!1;function a(e,t){return e?(n=!0,e[t](),n=!1,this):this}return{add:function(e){return n||(t.splice(r+1,t.length-r),t.push(e),r=t.length-1),this},setCallback:function(t){e=t},undo:function(){var n=t[r];return n?(a(n,"undo"),r-=1,e&&e(n.undo),this):this},redo:function(){var n=t[r+1];return n?(a(n,"redo"),r+=1,e&&e(n.redo),this):this},clear:function(){t=[],r=-1},hasUndo:function(){return-1!==r},hasRedo:function(){return r2e-6||((r-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},N.saveRangeInitial=function(e,t){for(var r=N.list(e,"",!0),n=!1,a=0;a.3*f||u(a)||u(i))){var h=r.dtick/2;e+=e+h.8){var l=Number(r.substr(1));i.exactYears>.8&&l%12==0?e=N.tickIncrement(e,"M6","reverse")+1.5*A:i.exactMonths>.8?e=N.tickIncrement(e,"M1","reverse")+15.5*A:e-=S;var s=N.tickIncrement(e,r);if(s<=n)return s}return e}(y,e,m,c,i)),v=y;v<=u;)v=N.tickIncrement(v,m,!1,i);return{start:t.c2r(y,0,i),end:t.c2r(v,0,i),size:m,_dataSpan:u-c}},N.prepTicks=function(e,t){var r=o.simpleMap(e.range,e.r2l,void 0,void 0,t);if(e._dtickInit=e.dtick,e._tick0Init=e.tick0,"auto"===e.tickmode||!e.dtick){var a,i=e.nticks;i||("category"===e.type||"multicategory"===e.type?(a=e.tickfont?1.2*(e.tickfont.size||12):15,i=e._length/a):(a="y"===e._id.charAt(0)?40:80,i=o.constrain(e._length/a,4,9)+1),"radialaxis"===e._name&&(i*=2)),"array"===e.tickmode&&(i*=100),e._roughDTick=Math.abs(r[1]-r[0])/i,N.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}"period"===e.ticklabelmode&&function(e){var t;function r(){return!(n(e.dtick)||"M"!==e.dtick.charAt(0))}var a=r(),i=N.getTickFormat(e);if(i){var o=e._dtickInit!==e.dtick;/%[fLQsSMX]/.test(i)||(/%[HI]/.test(i)?(t=L,o&&!a&&e.dticki&&d=l:h<=l;h=N.tickIncrement(h,e.dtick,s,e.calendar)){if(e.rangebreaks&&!s){if(h=u)break}if(C.length>g||h===I)break;I=h;var O=!1;d&&h!==(0|h)&&(O=!0),C.push({minor:O,value:h})}if(f&&function(e,t,r){for(var n=0;n0?(i=n-1,o=n):(i=n,o=n);var l,s=e[i].value,c=e[o].value,u=Math.abs(c-s),d=r||u,f=0;d>=y?f=u>=y&&u<=v?u:m:r===b&&d>=_?f=u>=_&&u<=x?u:b:d>=T?f=u>=T&&u<=w?u:k:r===M&&d>=M?f=M:d>=A?f=A:r===S&&d>=S?f=S:r===L&&d>=L&&(f=L),f>=u&&(f=u,l=!0);var h=a+f;if(t.rangebreaks&&f>0){for(var p=0,g=0;g<84;g++){var C=(g+.5)/84;t.maskBreaks(a*(1-C)+C*h)!==D&&p++}(f*=p/84)||(e[n].drop=!0),l&&u>M&&(f=u)}(f>0||0===n)&&(e[n].periodX=a+f/2)}}(C,e,e._definedDelta),e.rangebreaks){var z="y"===e._id.charAt(0),P=1;"auto"===e.tickmode&&(P=e.tickfont?e.tickfont.size:12);var j=NaN;for(p=C.length-1;p>-1;p--)if(C[p].drop)C.splice(p,1);else{C[p].value=we(C[p].value,e);var E=e.c2p(C[p].value);(z?j>E-P:ju||Fu&&(R.periodX=u),F10||"01-01"!==a.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12==0?"y":"m";else if(t>=A&&i<=10||t>=15*A)e._tickround="d";else if(t>=C&&i<=16||t>=L)e._tickround="M";else if(t>=I&&i<=19||t>=C)e._tickround="S";else{var o=e.l2r(r+t).replace(/^-/,"").length;e._tickround=Math.max(i,o)-20,e._tickround<0&&(e._tickround=4)}}else if(n(t)||"L"===t.charAt(0)){var l=e.range.map(e.r2d||Number);n(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var s=Math.max(Math.abs(l[0]),Math.abs(l[1])),c=Math.floor(Math.log(s)/Math.LN10+.01),u=void 0===e.minexponent?3:e.minexponent;Math.abs(c)>u&&(oe(e.exponentformat)&&!le(c)?e._tickexponent=3*Math.round((c-1)/3):e._tickexponent=c)}else e._tickround=null}function ae(e,t,r){var n=e.tickfont||{};return{x:t,dx:0,dy:0,text:r||"",fontSize:n.size,font:n.family,fontColor:n.color}}N.autoTicks=function(e,t){var r;function a(e){return Math.pow(e,Math.floor(Math.log(t)/Math.LN10))}if("date"===e.type){e.tick0=o.dateTick0(e.calendar,0);var i=2*t;if(i>m)t/=m,r=a(10),e.dtick="M"+12*re(t,r,X);else if(i>k)t/=k,e.dtick="M"+re(t,1,Q);else if(i>A){e.dtick=re(t,A,e._hasDayOfWeekBreaks?[1,2,7,14]:K);var l=N.getTickFormat(e),s="period"===e.ticklabelmode;s&&(e._rawTick0=e.tick0),/%[uVW]/.test(l)?e.tick0=o.dateTick0(e.calendar,2):e.tick0=o.dateTick0(e.calendar,1),s&&(e._dowTick0=e.tick0)}else i>L?e.dtick=re(t,L,Q):i>C?e.dtick=re(t,C,J):i>I?e.dtick=re(t,I,J):(r=a(10),e.dtick=re(t,r,X))}else if("log"===e.type){e.tick0=0;var c=o.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(c[1]-c[0])<1){var u=1.5*Math.abs((c[1]-c[0])/t);t=Math.abs(Math.pow(10,c[1])-Math.pow(10,c[0]))/u,r=a(10),e.dtick="L"+re(t,r,X)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type||"multicategory"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):_e(e)?(e.tick0=0,r=1,e.dtick=re(t,r,te)):(e.tick0=0,r=a(10),e.dtick=re(t,r,X));if(0===e.dtick&&(e.dtick=1),!n(e.dtick)&&"string"!=typeof e.dtick){var d=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(d)}},N.tickIncrement=function(e,t,a,i){var l=a?-1:1;if(n(t))return o.increment(e,l*t);var s=t.charAt(0),c=l*Number(t.substr(1));if("M"===s)return o.incrementMonth(e,c,i);if("L"===s)return Math.log(Math.pow(10,e)+c)/Math.LN10;if("D"===s){var u="D2"===t?ee:$,d=e+.01*l,f=o.roundUp(o.mod(d,1),u,a);return Math.floor(d)+Math.log(r.round(Math.pow(10,f),1))/Math.LN10}throw"unrecognized dtick "+String(t)},N.tickFirst=function(e,t){var a=e.r2l||Number,i=o.simpleMap(e.range,a,void 0,void 0,t),l=i[1] ")}else e._prevDateHead=s,c+="
"+s;t.text=c}(e,l,r,c):"log"===u?function(e,t,r,a,i){var l=e.dtick,s=t.x,c=e.tickformat,u="string"==typeof l&&l.charAt(0);if("never"===i&&(i=""),a&&"L"!==u&&(l="L3",u="L"),c||"L"===u)t.text=se(Math.pow(10,s),e,i,a);else if(n(l)||"D"===u&&o.mod(s+.01,1)<.1){var d=Math.round(s),f=Math.abs(d),h=e.exponentformat;"power"===h||oe(h)&&le(d)?(t.text=0===d?1:1===d?"10":"10"+(d>1?"":O)+f+"",t.fontSize*=1.25):("e"===h||"E"===h)&&f>2?t.text="1"+h+(d>0?"+":O)+f:(t.text=se(Math.pow(10,s),e,"","fakehover"),"D1"===l&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6))}else{if("D"!==u)throw"unrecognized dtick "+String(l);t.text=String(Math.round(Math.pow(10,o.mod(s,1)))),t.fontSize*=.75}if("D1"===e.dtick){var p=String(t.text).charAt(0);"0"!==p&&"1"!==p||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(s<0?.5:.25)))}}(e,l,0,c,m):"category"===u?(g=l,void 0===(v=e._categories[Math.round(g.x)])&&(v=""),g.text=String(v)):"multicategory"===u?function(e,t,r){var n=Math.round(t.x),a=e._categories[n]||[],i=void 0===a[1]?"":String(a[1]),o=void 0===a[0]?"":String(a[0]);r?t.text=o+" - "+i:(t.text=i,t.text2=o)}(e,l,r):_e(e)?function(e,t,r,n,a){if("radians"!==e.thetaunit||r)t.text=se(t.x,e,a,n);else{var i=t.x/180;if(0===i)t.text="0";else{var l=function(e){function t(e,t){return Math.abs(e-t)<=1e-6}var r=function(e){for(var r=1;!t(Math.round(e*r)/r,e);)r*=10;return r}(e),n=e*r,a=Math.abs(function e(r,n){return t(n,0)?r:e(n,r%n)}(n,r));return[Math.round(n/a),Math.round(r/a)]}(i);if(l[1]>=100)t.text=se(o.deg2rad(t.x),e,a,n);else{var s=t.x<0;1===l[1]?1===l[0]?t.text="ฯ€":t.text=l[0]+"ฯ€":t.text=["",l[0],"","โ„","",l[1],"","ฯ€"].join(""),s&&(t.text=O+t.text)}}}}(e,l,r,c,m):function(e,t,r,n,a){"never"===a?a="":"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(a="hide"),t.text=se(t.x,e,a,n)}(e,l,0,c,m),a||(e.tickprefix&&!p(e.showtickprefix)&&(l.text=e.tickprefix+l.text),e.ticksuffix&&!p(e.showticksuffix)&&(l.text+=e.ticksuffix)),"boundaries"===e.tickson||e.showdividers){var y=function(t){var r=e.l2p(t);return r>=0&&r<=e._length?t:null};l.xbnd=[y(l.x-.5),y(l.x+e.dtick-.5)]}return l},N.hoverLabelText=function(e,t,r){if(r!==D&&r!==t)return N.hoverLabelText(e,t)+" - "+N.hoverLabelText(e,r);var n="log"===e.type&&t<=0,a=N.tickText(e,e.c2l(n?-t:t),"hover").text;return n?0===t?"0":O+a:a};var ie=["f","p","n","ฮผ","m","","k","M","G","T"];function oe(e){return"SI"===e||"B"===e}function le(e){return e>14||e<-15}function se(e,t,r,a){var i=e<0,l=t._tickround,s=r||t.exponentformat||"B",c=t._tickexponent,u=N.getTickFormat(t),d=t.separatethousands;if(a){var f={exponentformat:s,minexponent:t.minexponent,dtick:"none"===t.showexponent?t.dtick:n(e)&&Math.abs(e)||1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};ne(f),l=(Number(f._tickround)||0)+4,c=f._tickexponent,t.hoverformat&&(u=t.hoverformat)}if(u)return t._numFormat(u)(e).replace(/-/g,O);var h,p=Math.pow(10,-l)/2;if("none"===s&&(c=0),(e=Math.abs(e))"+h+"
":"B"===s&&9===c?e+="B":oe(s)&&(e+=ie[c/3+5])),i?O+e:e}function ce(e,t){for(var r=[],n={},a=0;a1&&r=a.min&&e0)switch(e.type){case"date":case"linear":for(t=0;t=o(a)))){r=n;break}break;case"log":for(t=0;t=0,p=v(c,u[1])<=0,(d||h)&&(f||p))){r=n;break}}return r?r.value:e.tickformat},N.getSubplots=function(e,t){var r=e._fullLayout._subplots,n=r.cartesian.concat(r.gl2d||[]),a=t?N.findSubplotsWithAxis(n,t):n;return a.sort((function(e,t){var r=e.substr(1).split("y"),n=t.substr(1).split("y");return r[0]===n[0]?+r[1]-+n[1]:+r[0]-+n[0]})),a},N.findSubplotsWithAxis=function(e,t){for(var r=new RegExp("x"===t._id.charAt(0)?"^"+t._id+"y":t._id+"$"),n=[],a=0;a0?r.bottom-d:0,f)))),t.automargin){n={x:0,y:0,r:0,l:0,t:0,b:0};var h=[0,1];if("x"===p){if("b"===s?n[s]=t._depth:(n[s]=t._depth=Math.max(r.width>0?d-r.top:0,f),h.reverse()),r.width>0){var v=r.right-(t._offset+t._length);v>0&&(n.xr=1,n.r=v);var m=t._offset-r.left;m>0&&(n.xl=0,n.l=m)}}else if("l"===s?n[s]=t._depth=Math.max(r.height>0?d-r.left:0,f):(n[s]=t._depth=Math.max(r.height>0?r.right-d:0,f),h.reverse()),r.height>0){var y=r.bottom-(t._offset+t._length);y>0&&(n.yb=0,n.b=y);var x=t._offset-r.top;x>0&&(n.yt=1,n.t=x)}n[g]="free"===t.anchor?t.position:t._anchorAxis.domain[h[0]],t.title.text!==c._dfltTitle[p]&&(n[s]+=fe(t)+(t.title.standoff||0)),t.mirror&&"free"!==t.anchor&&((o={x:0,y:0,r:0,l:0,t:0,b:0})[u]=t.linewidth,t.mirror&&!0!==t.mirror&&(o[u]+=f),!0===t.mirror||"ticks"===t.mirror?o[g]=t._anchorAxis.domain[h[1]]:"all"!==t.mirror&&"allticks"!==t.mirror||(o[g]=[t._counterDomainMin,t._counterDomainMax][h[1]]))}J&&(l=i.getComponentMethod("rangeslider","autoMarginOpts")(e,t)),a.autoMargin(e,ge(t),n),a.autoMargin(e,ve(t),o),a.autoMargin(e,me(t),l)})),r.skipTitle||J&&"bottom"===t.side||X.push((function(){return function(e,t){var r,n=e._fullLayout,a=t._id,i=a.charAt(0),o=t.title.font.size;if(t.title.hasOwnProperty("standoff"))r=t._depth+t.title.standoff+fe(t);else{var l=-1!==(t.ticklabelposition||"").indexOf("inside");if("multicategory"===t.type)r=t._depth;else{var s=1.5*o;l&&(s=.5*o,"outside"===t.ticks&&(s+=t.ticklen)),r=10+s+(t.linewidth?t.linewidth-1:0)}l||(r+="x"===i?"top"===t.side?o*(t.showticklabels?1:0):o*(t.showticklabels?1.5:.5):"right"===t.side?o*(t.showticklabels?1:.5):o*(t.showticklabels?.5:0))}var c,d,h,p,g=N.getPxPosition(e,t);if("x"===i?(d=t._offset+t._length/2,h="top"===t.side?g-r:g+r):(h=t._offset+t._length/2,d="right"===t.side?g+r:g-r,c={rotate:"-90",offset:0}),"multicategory"!==t.type){var v=t._selections[t._id+"tick"];if(p={selection:v,side:t.side},v&&v.node()&&v.node().parentNode){var m=f.getTranslate(v.node().parentNode);p.offsetLeft=m.x,p.offsetTop=m.y}t.title.hasOwnProperty("standoff")&&(p.pad=0)}return u.draw(e,a+"title",{propContainer:t,propName:t._name+".title.text",placeholder:n._dfltTitle[i],avoid:p,transform:c,attributes:{x:d,y:h,"text-anchor":"middle"}})}(e,t)})),o.syncOrAsync(X)}}function K(e){var r,n,a,i,o,l,s=h+(e||"tick");return w[s]||(w[s]=(n=s,(r=t)._selections[n].size()?(a=1/0,i=-1/0,o=1/0,l=-1/0,r._selections[n].each((function(){var e=pe(this),t=f.bBox(e.node().parentNode);a=Math.min(a,t.top),i=Math.max(i,t.bottom),o=Math.min(o,t.left),l=Math.max(l,t.right)}))):(a=0,i=0,o=0,l=0),{top:a,bottom:i,left:o,right:l,height:i-a,width:l-o})),w[s]}},N.getTickSigns=function(e){var t=e._id.charAt(0),r={x:"top",y:"right"}[t],n=e.side===r?1:-1,a=[-1,1,n,-n];return"inside"!==e.ticks==("x"===t)&&(a=a.map((function(e){return-e}))),e.side&&a.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),a},N.makeTransTickFn=function(e){return"x"===e._id.charAt(0)?function(t){return l(e._offset+e.l2p(t.x),0)}:function(t){return l(0,e._offset+e.l2p(t.x))}},N.makeTransTickLabelFn=function(e){var t=function(e){var t=e.ticklabelposition||"",r=function(e){return-1!==t.indexOf(e)},n=r("top"),a=r("left"),i=r("right"),o=r("bottom"),l=r("inside"),s=o||a||n||i;if(!s&&!l)return[0,0];var c=e.side,u=s?(e.tickwidth||0)/2:0,d=3,f=e.tickfont?e.tickfont.size:12;return(o||n)&&(u+=f*j,d+=(e.linewidth||0)/2),(a||i)&&(u+=(e.linewidth||0)/2,d+=3),l&&"top"===c&&(d-=f*(1-j)),(a||n)&&(u=-u),"bottom"!==c&&"right"!==c||(d=-d),[s?u:0,l?d:0]}(e),r=t[0],n=t[1];return"x"===e._id.charAt(0)?function(t){return l(r+e._offset+e.l2p(ue(t)),n)}:function(t){return l(n,r+e._offset+e.l2p(ue(t)))}},N.makeTickPath=function(e,t,r,n){n=void 0!==n?n:e.ticklen;var a=e._id.charAt(0),i=(e.linewidth||1)/2;return"x"===a?"M0,"+(t+i*r)+"v"+n*r:"M"+(t+i*r)+",0h"+n*r},N.makeLabelFns=function(e,t,r){var a=e.ticklabelposition||"",i=function(e){return-1!==a.indexOf(e)},l=i("top"),s=i("left"),c=i("right"),u=i("bottom")||s||l||c,d=i("inside"),f="inside"===a&&"inside"===e.ticks||!d&&"outside"===e.ticks&&"boundaries"!==e.tickson,h=0,p=0,g=f?e.ticklen:0;if(d?g*=-1:u&&(g=0),f&&(h+=g,r)){var v=o.deg2rad(r);h=g*Math.cos(v)+1,p=g*Math.sin(v)}e.showticklabels&&(f||e.showline)&&(h+=.2*e.tickfont.size);var m,y,x,b,_,w={labelStandoff:h+=(e.linewidth||1)/2*(d?-1:1),labelShift:p},k=0,T=e.side,M=e._id.charAt(0),A=e.tickangle;if("x"===M)b=(_=!d&&"bottom"===T||d&&"top"===T)?1:-1,d&&(b*=-1),m=p*b,y=t+h*b,x=_?1:-.2,90===Math.abs(A)&&(d?x+=P:x=-90===A&&"bottom"===T?j:90===A&&"top"===T?P:.5,k=P/2*(A/90)),w.xFn=function(e){return e.dx+m+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*x},w.anchorFn=function(e,t){if(u){if(s)return"end";if(c)return"start"}return n(t)&&0!==t&&180!==t?t*b<0!==d?"end":"start":"middle"},w.heightFn=function(t,r,n){return r<-60||r>60?-.5*n:"top"===e.side!==d?-n:0};else if("y"===M){if(b=(_=!d&&"left"===T||d&&"right"===T)?1:-1,d&&(b*=-1),m=h,y=p*b,x=0,d||90!==Math.abs(A)||(x=-90===A&&"left"===T||90===A&&"right"===T?j:.5),d){var S=n(A)?+A:0;if(0!==S){var L=o.deg2rad(S);k=Math.abs(Math.sin(L))*j*b,x=0}}w.xFn=function(e){return e.dx+t-(m+e.fontSize*x)*b+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*P},w.anchorFn=function(e,t){return n(t)&&90===Math.abs(t)?"middle":_?"end":"start"},w.heightFn=function(t,r,n){return"right"===e.side&&(r*=-1),r<-30?-n:r<30?-.5*n:0}}return w},N.drawTicks=function(e,t,r){r=r||{};var n=t._id+"tick",a=r.vals;"period"===t.ticklabelmode&&(a=a.slice()).shift();var i=r.layer.selectAll("path."+n).data(t.ticks?a:[],de);i.exit().remove(),i.enter().append("path").classed(n,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(d.stroke,t.tickcolor).style("stroke-width",f.crispRound(e,t.tickwidth,1)+"px").attr("d",r.path),i.attr("transform",r.transFn)},N.drawGrid=function(e,t,r){r=r||{};var n=t._id+"grid",a=r.vals,i=r.counterAxis;if(!1===t.showgrid)a=[];else if(i&&N.shouldShowZeroLine(e,t,i))for(var o="array"===t.tickmode,l=0;ll||a.leftl||a.top+(t.tickangle?0:e.fontSize/4)1)for(n=1;n0||f<0){var m={left:[-p,0],right:[p,0],top:[0,-p],bottom:[0,p]}[b.side];t.attr("transform",l(m[0],m[1]))}}}return j.call(E),z&&(L?j.on(".opacity",null):(M=0,A=!0,j.text(y).on("mouseover.opacity",(function(){r.select(this).transition().duration(f.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){r.select(this).transition().duration(f.HIDE_PLACEHOLDER).style("opacity",0)}))),j.call(d.makeEditable,{gd:e}).on("edit",(function(t){void 0!==x?i.call("_guiRestyle",e,m,t,x):i.call("_guiRelayout",e,m,t)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(E)})).on("input",(function(e){this.text(e||" ").call(d.positionText,_.x,_.y)}))),j.classed("js-placeholder",A),k}}})),s.register("7cQhP",(function(e,t){"use strict";var r=s("4Wia9"),n=s("6jof9").utcFormat,a=s("6qr5h"),i=s("1nIvY"),o=i.cleanNumber,l=i.ms2DateTime,c=i.dateTime2ms,u=i.ensureNumber,d=i.isArrayOrTypedArray,f=s("10TEj"),h=f.FP_SAFE,p=f.BADNUM,g=f.LOG_CLIP,v=f.ONEWEEK,m=f.ONEDAY,y=f.ONEHOUR,x=f.ONEMIN,b=f.ONESEC,_=s("22HUI"),w=s("5Lafm"),k=w.HOUR_PATTERN,T=w.WEEKDAY_PATTERN;function M(e){return Math.pow(10,e)}function A(e){return null!=e}e.exports=function(e,t){t=t||{};var s=e._id||"x",f=s.charAt(0);function S(t,r){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&r&&e.range&&2===e.range.length){var n=e.range[0],a=e.range[1];return.5*(n+a-2*g*Math.abs(n-a))}return p}function L(t,r,n,o){if((o||{}).msUTC&&a(t))return+t;var l=c(t,n||e.calendar);if(l===p){if(!a(t))return p;t=+t;var s=Math.floor(10*i.mod(t+.05,1)),u=Math.round(t-s/10);l=c(new Date(u))+s/10}return l}function C(t,r,n){return l(t,r,n||e.calendar)}function I(t){return e._categories[Math.round(t)]}function O(t){if(A(t)){if(void 0===e._categoriesMap&&(e._categoriesMap={}),void 0!==e._categoriesMap[t])return e._categoriesMap[t];e._categories.push("number"==typeof t?String(t):t);var r=e._categories.length-1;return e._categoriesMap[t]=r,r}return p}function D(t){if(e._categoriesMap)return e._categoriesMap[t]}function z(e){var t=D(e);return void 0!==t?t:a(e)?+e:void 0}function P(e){return a(e)?+e:D(e)}function j(e,t,n){return r.round(n+t*e,2)}function E(e,t,r){return(e-r)/t}var R=function(t){return a(t)?j(t,e._m,e._b):p},N=function(t){return E(t,e._m,e._b)};if(e.rangebreaks){var F="y"===f;R=function(t){if(!a(t))return p;var r=e._rangebreaks.length;if(!r)return j(t,e._m,e._b);var n=F;e.range[0]>e.range[1]&&(n=!n);for(var i=n?-1:1,o=i*t,l=0,s=0;su)){l=o<(c+u)/2?s:s+1;break}l=s+1}var d=e._B[l]||0;return isFinite(d)?j(t,e._m2,d):0},N=function(t){var r=e._rangebreaks.length;if(!r)return E(t,e._m,e._b);for(var n=0,a=0;ae._rangebreaks[a].pmax&&(n=a+1);return E(t,e._m2,e._B[n])}}e.c2l="log"===e.type?S:u,e.l2c="log"===e.type?M:u,e.l2p=R,e.p2l=N,e.c2p="log"===e.type?function(e,t){return R(S(e,t))}:R,e.p2c="log"===e.type?function(e){return M(N(e))}:N,-1!==["linear","-"].indexOf(e.type)?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=o,e.c2d=e.c2r=e.l2d=e.l2r=u,e.d2p=e.r2p=function(t){return e.l2p(o(t))},e.p2d=e.p2r=N,e.cleanPos=u):"log"===e.type?(e.d2r=e.d2l=function(e,t){return S(o(e),t)},e.r2d=e.r2c=function(e){return M(o(e))},e.d2c=e.r2l=o,e.c2d=e.l2r=u,e.c2r=S,e.l2d=M,e.d2p=function(t,r){return e.l2p(e.d2r(t,r))},e.p2d=function(e){return M(N(e))},e.r2p=function(t){return e.l2p(o(t))},e.p2r=N,e.cleanPos=u):"date"===e.type?(e.d2r=e.r2d=i.identity,e.d2c=e.r2c=e.d2l=e.r2l=L,e.c2d=e.c2r=e.l2d=e.l2r=C,e.d2p=e.r2p=function(t,r,n){return e.l2p(L(t,0,n))},e.p2d=e.p2r=function(e,t,r){return C(N(e),t,r)},e.cleanPos=function(t){return i.cleanDate(t,p,e.calendar)}):"category"===e.type?(e.d2c=e.d2l=O,e.r2d=e.c2d=e.l2d=I,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=P(t);return void 0!==r?r:e.fraction2r(.5)},e.l2r=e.c2r=u,e.r2l=P,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return I(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return"string"==typeof e&&""!==e?e:u(e)}):"multicategory"===e.type&&(e.r2d=e.c2d=e.l2d=I,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=z(t);return void 0!==r?r:e.fraction2r(.5)},e.r2c_just_indices=D,e.l2r=e.c2r=u,e.r2l=z,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return I(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return Array.isArray(e)||"string"==typeof e&&""!==e?e:u(e)},e.setupMultiCategory=function(r){var n,a,o=e._traceIndices,l=e._matchGroup;if(l&&0===e._categories.length)for(var c in l)if(c!==s){var u=t[_.id2name(c)];o=o.concat(u._traceIndices)}var h=[[0,{}],[0,{}]],p=[];for(n=0;nh&&(l[n]=h),l[0]===l[1]){var c=Math.max(1,Math.abs(1e-6*l[0]));l[0]-=c,l[1]+=c}}else i.nestedProperty(e,t).set(o)},e.setScale=function(r){var n=t._size;if(e.overlaying){var a=_.getFromId({_fullLayout:t},e.overlaying);e.domain=a.domain}var i=r&&e._r?"_r":"range",o=e.calendar;e.cleanRange(i);var l,s,c=e.r2l(e[i][0],o),u=e.r2l(e[i][1],o),d="y"===f;if(d?(e._offset=n.t+(1-e.domain[1])*n.h,e._length=n.h*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u):(e._offset=n.l+e.domain[0]*n.w,e._length=n.w*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c),e._rangebreaks=[],e._lBreaks=0,e._m2=0,e._B=[],e.rangebreaks&&(e._rangebreaks=e.locateBreaks(Math.min(c,u),Math.max(c,u)),e._rangebreaks.length)){for(l=0;lu&&(h=!h),h&&e._rangebreaks.reverse();var p=h?-1:1;for(e._m2=p*e._length/(Math.abs(u-c)-e._lBreaks),e._B.push(-e._m2*(d?u:c)),l=0;la&&(a+=7,la&&(a+=24,l=n&&l=n&&t=l.min&&(el.max&&(l.max=n),a=!1)}a&&c.push({min:e,max:n})}};for(n=0;n2*l}(f,t))return"date";var m="strict"!==n.autotypenumbers;return function(e,t){for(var r=e.length,n=d(r),i=0,o=0,s={},u=0;u2*i}(f,m)?"category":function(e,t){for(var r=e.length,n=0;n0&&((k=L-l(x)-s(b))>C?T/k>I&&(_=x,w=b,I=T/k):T/L>I&&(_={val:x.val,nopad:1},w={val:b.val,nopad:1},I=T/L));if(g===v){var O=g-1,D=g+1;if(A)if(0===g)i=[0,1];else{var z=(g>0?p:u).reduce((function(e,t){return Math.max(e,s(t))}),0),P=g/(1-Math.min(.5,z/L));i=g>0?[0,P]:[P,0]}else i=S?[Math.max(0,O),Math.max(1,D)]:[O,D]}else A?(_.val>=0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:0,nopad:1})):S&&(_.val-I*l(_)<0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:1,nopad:1})),I=(w.val-_.val-d(t,x.val,b.val))/(L-l(_)-s(w)),i=[_.val-I*l(_),w.val+I*s(w)];return m&&i.reverse(),n.simpleMap(i,t.l2r||Number)}function d(e,t,r){var n=0;if(e.rangebreaks)for(var a=e.locateBreaks(t,r),i=0;i=r&&(c.extrapad||!o)){l=!1;break}a(t,c.val)&&c.pad<=r&&(o||!c.extrapad)&&(e.splice(s,1),s--)}if(l){var u=i&&0===t;e.push({val:t,pad:u?0:r,extrapad:!u&&o})}}function m(e){return r(e)&&Math.abs(e)=t}e.exports={getAutoRange:u,makePadFn:f,doAutoRange:function(e,t,r){if(t.setScale(),t.autorange){t.range=r?r.slice():u(e,t),t._r=t.range.slice(),t._rl=n.simpleMap(t._r,t.r2l);var a=t._input,o={};o[t._attr+".range"]=t.range,o[t._attr+".autorange"]=t.autorange,i.call("_storeDirectGUIEdit",e.layout,e._fullLayout._preGUI,o),a.range=t.range.slice(),a.autorange=t.autorange}var l=t._anchorAxis;if(l&&l.rangeslider){var s=l.rangeslider[t._name];s&&"auto"===s.rangemode&&(s.range=u(e,t)),l._input.rangeslider[t._name]=n.extendFlat({},s)}},findExtremes:function(e,t,n){n||(n={}),e._m||e.setScale();var i,o,l,s,c,u,d,f,h,v=[],y=[],x=t.length,b=n.padded||!1,_=n.tozero&&("linear"===e.type||"-"===e.type),w="log"===e.type,k=!1,T=n.vpadLinearized||!1;function M(e){if(Array.isArray(e))return k=!0,function(t){return Math.max(Number(e[t]||0),0)};var t=Math.max(Number(e||0),0);return function(){return t}}var A=M((e._m>0?n.ppadplus:n.ppadminus)||n.ppad||0),S=M((e._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),L=M(n.vpadplus||n.vpad),C=M(n.vpadminus||n.vpad);if(!k){if(f=1/0,h=-1/0,w)for(i=0;i0&&(f=o),o>h&&o-a&&(f=o),o>h&&o=D;i--)O(i);return{min:v,max:y,opts:n}},concatExtremes:h}})),s.register("1Cu9q",(function(e,t){var n,a;r(e.exports,"updateFx",(()=>a),(e=>a=e)),r(e.exports,"initInteractions",(()=>n),(e=>n=e));var i=s("4Wia9"),o=s("FNU2H"),l=s("NlhQs"),c=s("3kB5v"),u=s("JiqFZ").makeDragBox,d=s("5Lafm").DRAGGERSIZE;n=function(e){var t=e._fullLayout;if(e._context.staticPlot)i.select(e).selectAll(".drag").remove();else if(t._has("cartesian")||t._has("splom")){Object.keys(t._plots||{}).sort((function(e,r){if((t._plots[e].mainplot&&!0)===(t._plots[r].mainplot&&!0)){var n=e.split("y"),a=r.split("y");return n[0]===a[0]?Number(n[1]||1)-Number(a[1]||1):Number(n[0]||1)-Number(a[0]||1)}return t._plots[e].mainplot?1:-1})).forEach((function(r){var n=t._plots[r],a=n.xaxis,i=n.yaxis;if(!n.mainplot){var s=u(e,n,a._offset,i._offset,a._length,i._length,"ns","ew");s.onmousemove=function(t){e._fullLayout._rehover=function(){e._fullLayout._hoversubplot===r&&e._fullLayout._plots[r]&&o.hover(e,t,r)},o.hover(e,t,r),e._fullLayout._lasthover=s,e._fullLayout._hoversubplot=r},s.onmouseout=function(t){e._dragging||(e._fullLayout._hoversubplot=null,l.unhover(e,t))},e._context.showAxisDragHandles&&(u(e,n,a._offset-d,i._offset-d,d,d,"n","w"),u(e,n,a._offset+a._length,i._offset-d,d,d,"n","e"),u(e,n,a._offset-d,i._offset+i._length,d,d,"s","w"),u(e,n,a._offset+a._length,i._offset+i._length,d,d,"s","e"))}if(e._context.showAxisDragHandles){if(r===a._mainSubplot){var c=a._mainLinePosition;"top"===a.side&&(c-=d),u(e,n,a._offset+.1*a._length,c,.8*a._length,d,"","ew"),u(e,n,a._offset,c,.1*a._length,d,"","w"),u(e,n,a._offset+.9*a._length,c,.1*a._length,d,"","e")}if(r===i._mainSubplot){var f=i._mainLinePosition;"right"!==i.side&&(f-=d),u(e,n,f,i._offset+.1*i._length,d,.8*i._length,"ns",""),u(e,n,f,i._offset+.9*i._length,d,.1*i._length,"s",""),u(e,n,f,i._offset,d,.1*i._length,"n","")}}}));var r=t._hoverlayer.node();r.onmousemove=function(r){r.target=e._fullLayout._lasthover,o.hover(e,r,t._hoversubplot)},r.onclick=function(t){t.target=e._fullLayout._lasthover,o.click(e,t)},r.onmousedown=function(t){e._fullLayout._lasthover.onmousedown(t)},a(e)}},a=function(e){var t=e._fullLayout,r="pan"===t.dragmode?"move":"crosshair";c(t._draggers,r)}})),s.register("FNU2H",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY"),a=s("NlhQs"),i=s("2MtC7"),o=s("1U5js"),l=s("28DIj");e.exports={moduleType:"component",name:"fx",constants:s("1Qgov"),schema:{layout:o},attributes:s("tikJy"),layoutAttributes:o,supplyLayoutGlobalDefaults:s("3yYrT"),supplyDefaults:s("Vckba"),supplyLayoutDefaults:s("RJwVS"),calc:s("1CcKf"),getDistanceFunction:i.getDistanceFunction,getClosest:i.getClosest,inbox:i.inbox,quadrature:i.quadrature,appendArrayPointValue:i.appendArrayPointValue,castHoverOption:function(e,t,r){return n.castOption(e,t,"hoverlabel."+r)},castHoverinfo:function(e,t,r){return n.castOption(e,r,"hoverinfo",(function(r){return n.coerceHoverinfo({hoverinfo:r},{_module:e._module},t)}))},hover:l.hover,unhover:a.unhover,loneHover:l.loneHover,loneUnhover:function(e){var t=n.isD3Selection(e)?e:r.select(e);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()},click:s("7myOX")}})),s.register("NlhQs",(function(e,t){"use strict";var r=s("4PI1I"),n=s("5aT4w"),a=s("3waiA"),i=s("1nIvY").removeElement,o=s("5Lafm"),l=e.exports={};l.align=s("59oIZ"),l.getCursor=s("3cTuS");var c=s("4HygO");function u(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function d(e){return r(e.changedTouches?e.changedTouches[0]:e,document.body)}l.unhover=c.wrapped,l.unhoverRaw=c.raw,l.init=function(e){var t,r,s,c,f,h,p,g,v=e.gd,m=1,y=v._context.doubleClickDelay,x=e.element;v._mouseDownTime||(v._mouseDownTime=0),x.style.pointerEvents="all",x.onmousedown=_,a?(x._ontouchstart&&x.removeEventListener("touchstart",x._ontouchstart),x._ontouchstart=_,x.addEventListener("touchstart",_,{passive:!1})):x.ontouchstart=_;var b=e.clampFn||function(e,t,r){return Math.abs(e)y&&(m=Math.max(m-1,1)),v._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(m,h),!g){var r;try{r=new MouseEvent("click",t)}catch(e){var a=d(t);(r=document.createEvent("MouseEvents")).initMouseEvent("click",t.bubbles,t.cancelable,t.view,t.detail,t.screenX,t.screenY,a[0],a[1],t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget)}p.dispatchEvent(r)}v._dragging=!1,v._dragged=!1}else v._dragged=!1}},l.coverSlip=u})),s.register("4PI1I",(function(e,t){var r={left:0,top:0};e.exports=function(e,t,n){t=t||e.currentTarget||e.srcElement,Array.isArray(n)||(n=[0,0]);var a,i=e.clientX||0,o=e.clientY||0,l=(a=t)===window||a===document||a===document.body?r:a.getBoundingClientRect();return n[0]=i-l.left,n[1]=o-l.top,n}})),s.register("3waiA",(function(e,t){"use strict";var r=s("6nPAE");e.exports=r&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return e}()})),s.register("59oIZ",(function(e,t){"use strict";e.exports=function(e,t,r,n,a){var i=(e-r)/(n-r),o=i+t/(n-r),l=(i+o)/2;return"left"===a||"bottom"===a?i:"center"===a||"middle"===a?l:"right"===a||"top"===a?o:i<2/3-l?i:o>4/3-l?o:l}})),s.register("3cTuS",(function(e,t){"use strict";var r=s("1nIvY"),n=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];e.exports=function(e,t,a,i){return e="left"===a?0:"center"===a?1:"right"===a?2:r.constrain(Math.floor(3*e),0,2),t="bottom"===i?0:"middle"===i?1:"top"===i?2:r.constrain(Math.floor(3*t),0,2),n[t][e]}})),s.register("4HygO",(function(e,t){"use strict";var r=s("5yBVq"),n=s("3RMbo"),a=s("44pv8").getGraphDiv,i=s("1Qgov"),o=e.exports={};o.wrapped=function(e,t,r){(e=a(e))._fullLayout&&n.clear(e._fullLayout._uid+i.HOVERID),o.raw(e,t,r)},o.raw=function(e,t){var n=e._fullLayout,a=e._hoverdata;t||(t={}),t.target&&!1===r.triggerHandler(e,"plotly_beforehover",t)||(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),e._hoverdata=void 0,t.target&&a&&e.emit("plotly_unhover",{event:t,points:a}))}})),s.register("28DIj",(function(e,t){var n,a;r(e.exports,"hover",(()=>a),(e=>a=e)),r(e.exports,"loneHover",(()=>n),(e=>n=e));var i=s("4Wia9"),o=s("6qr5h"),l=s("3Twc4"),c=s("1nIvY"),u=c.strTranslate,d=c.strRotate,f=s("5yBVq"),h=s("49Q6h"),p=s("7tQKZ"),g=s("7jar4"),v=s("3N5m7"),m=s("NlhQs"),y=s("1nE8l"),x=s("4Hxcc"),b=s("2MtC7"),_=s("1Qgov"),w=s("3YXj5"),k=s("Zg88i"),T=_.YANGLE,M=Math.PI*T/180,A=1/Math.sin(M),S=Math.cos(M),L=Math.sin(M),C=_.HOVERARROWSIZE,I=_.HOVERTEXTPAD;function O(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa,e.ya||""].join(",")}a=function(e,t,r,n){e=c.getGraphDiv(e),c.throttle(e._fullLayout._uid+_.HOVERID,_.HOVERMINTIME,(function(){!function(e,t,r,n){r||(r="xy");var a=Array.isArray(r)?r:[r],l=e._fullLayout,s=l._plots||[],u=s[r],d=l._has("cartesian");if(u){var h=u.overlays.map((function(e){return e.id}));a=a.concat(h)}for(var g=a.length,y=new Array(g),_=new Array(g),w=!1,k=0;ky[0]._length||ee<0||ee>_[0]._length)return m.unhoverRaw(e,t)}else $="xpx"in t?t.xpx:y[0]._length/2,ee="ypx"in t?t.ypx:_[0]._length/2;if(t.pointerX=$+y[0]._offset,t.pointerY=ee+_[0]._offset,L="xval"in t?b.flat(a,t.xval):b.p2c(y,$),C="yval"in t?b.flat(a,t.yval):b.p2c(_,ee),!o(L[0])||!o(C[0]))return c.warn("Fx.hover failed",t,e),m.unhoverRaw(e,t)}var ne=1/0;function ae(e,r){for(D=0;DG&&(X.splice(0,G),ne=X[0].distance),d&&0!==W&&0===X.length){Y.distance=W,Y.index=!1;var f=F._module.hoverPoints(Y,q,V,"closest",l._hoverlayer);if(f&&(f=f.filter((function(e){return e.spikeDistance<=W}))),f&&f.length){var h,p=f.filter((function(e){return e.xa.showspikes&&"hovered data"!==e.xa.spikesnap}));if(p.length){var g=p[0];o(g.x0)&&o(g.y0)&&(h=oe(g),(!J.vLinePoint||J.vLinePoint.spikeDistance>h.spikeDistance)&&(J.vLinePoint=h))}var m=f.filter((function(e){return e.ya.showspikes&&"hovered data"!==e.ya.spikesnap}));if(m.length){var x=m[0];o(x.x0)&&o(x.y0)&&(h=oe(x),(!J.hLinePoint||J.hLinePoint.spikeDistance>h.spikeDistance)&&(J.hLinePoint=h))}}}}}function ie(e,t){for(var r,n=null,a=1/0,i=0;i1||X.length>1)||"closest"===S&&K&&X.length>1,Ae=v.combine(l.plot_bgcolor||v.background,l.paper_bgcolor),Se={hovermode:S,rotateLabels:Me,bgColor:Ae,container:l._hoverlayer,outerContainer:l._paperdiv,commonLabelOpts:l.hoverlabel,hoverdistance:l.hoverdistance},Le=z(X,Se,e);if(b.isUnifiedHover(S)||(function(e,t,r){var n,a,i,o,l,s,c,u=0,d=1,f=e.size(),h=new Array(f),p=0;function g(e){var t=e[0],r=e[e.length-1];if(a=t.pmin-t.pos-t.dp+t.size,i=r.pos+r.dp+r.size-t.pmax,a>.01){for(l=e.length-1;l>=0;l--)e[l].dp+=a;n=!1}if(!(i<.01)){if(a<-.01){for(l=e.length-1;l>=0;l--)e[l].dp-=i;n=!1}if(n){var c=0;for(o=0;ot.pmax&&c++;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos>t.pmax-1&&(s.del=!0,c--);for(o=0;o=0;l--)e[l].dp-=i;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos+s.dp+s.size>t.pmax&&(s.del=!0,c--)}}}for(e.each((function(e){var n=e[t],a="x"===n._id.charAt(0),i=n.range;0===p&&i&&i[0]>i[1]!==a&&(d=-1),h[p++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(a?A:1)/2,pmin:0,pmax:a?r.width:r.height}]})),h.sort((function(e,t){return e[0].posref-t[0].posref||d*(t[0].traceIndex-e[0].traceIndex)}));!n&&u<=f;){for(u++,n=!0,o=0;o.01&&y.pmin===x.pmin&&y.pmax===x.pmax){for(l=m.length-1;l>=0;l--)m[l].dp+=a;for(v.push.apply(v,m),h.splice(o+1,1),c=0,l=v.length-1;l>=0;l--)c+=v[l].dp;for(i=c/v.length,l=v.length-1;l>=0;l--)v[l].dp-=i;n=!1}else o++}h.forEach(g)}for(o=h.length-1;o>=0;o--){var b=h[o];for(l=b.length-1;l>=0;l--){var _=b[l],w=_.datum;w.offset=_.dp,w.del=_.del}}}(Le,Me?"xa":"ya",l),j(Le,Me,l._invScaleX,l._invScaleY)),t.target&&t.target.tagName){var Ce=x.getComponentMethod("annotations","hasClickToShow")(e,_e);p(i.select(t.target),Ce?"pointer":"")}t.target&&!n&&function(e,t,r){if(!r||r.length!==e._hoverdata.length)return!0;for(var n=r.length-1;n>=0;n--){var a=r[n],i=e._hoverdata[n];if(a.curveNumber!==i.curveNumber||String(a.pointNumber)!==String(i.pointNumber)||String(a.pointNumbers)!==String(i.pointNumbers))return!0}return!1}(e,0,be)&&(be&&e.emit("plotly_unhover",{event:t,points:be}),e.emit("plotly_hover",{event:t,points:e._hoverdata,xaxes:y,yaxes:_,xvals:L,yvals:C}))}(e,t,r,n)}))},n=function(e,t){var r=!0;Array.isArray(e)||(r=!1,e=[e]);var n=e.map((function(e){return{color:e.color||v.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,eventData:e.eventData||!1,hovertemplateLabels:e.hovertemplateLabels||!1}})),a=i.select(t.container),o=t.outerContainer?i.select(t.outerContainer):a,l={hovermode:"closest",rotateLabels:!1,bgColor:t.bgColor||v.background,container:a,outerContainer:o},s=z(n,l,t.gd),c=0,u=0;s.sort((function(e,t){return e.y0-t.y0})).each((function(e,r){var n=e.y0-e.by/2;e.offset=n-5([\s\S]*)<\/extra>/;function z(e,t,r){var n=r._fullLayout,a=t.hovermode,o=t.rotateLabels,l=t.bgColor,s=t.container,f=t.outerContainer,p=t.commonLabelOpts||{},m=t.fontFamily||_.HOVERFONT,y=t.fontSize||_.HOVERFONTSIZE,x=e[0],M=x.xa,A=x.ya,S="y"===a.charAt(0)?"yLabel":"xLabel",L=x[S],D=(String(L)||"").split(" ")[0],z=f.node().getBoundingClientRect(),j=z.top,E=z.width,R=z.height,N=void 0!==L&&x.distance<=t.hoverdistance&&("x"===a||"y"===a);if(N){var F,H,B=!0;for(F=0;Fn.width-S?(_=n.width-S,o.attr("d","M"+(S-C)+",0L"+S+","+T+C+"v"+T+(2*I+k.height)+"H-"+S+"V"+T+C+"H"+(S-2*C)+"Z")):o.attr("d","M0,0L"+C+","+T+C+"H"+(I+k.width/2)+"v"+T+(2*I+k.height)+"H-"+(I+k.width/2)+"V"+T+C+"H-"+C+"Z")}else{var O,D,z;"right"===A.side?(O="start",D=1,z="",_=M._offset+M._length):(O="end",D=-1,z="-",_=M._offset),w=A._offset+(x.y0+x.y1)/2,l.attr("text-anchor",O),o.attr("d","M0,0L"+z+C+","+C+"V"+(I+k.height/2)+"h"+z+(2*I+k.width)+"V-"+(I+k.height/2)+"H"+z+C+"V-"+C+"Z");var P,E=k.height/2,R=j-k.top-E,N="clip"+n._uid+"commonlabel"+A._id;if(_=0?te-=ae:te+=2*I;var ie=ne.height+2*I,oe=ee+ie>=R;return ie<=R&&(ee<=j?ee=A._offset+2*I:oe&&(ee=R-ie)),re.attr("transform",u(te,ee)),re}var le=s.selectAll("g.hovertext").data(e,(function(e){return O(e)}));return le.enter().append("g").classed("hovertext",!0).each((function(){var e=i.select(this);e.append("rect").call(v.fill,v.addOpacity(l,.8)),e.append("text").classed("name",!0),e.append("path").style("stroke-width","1px"),e.append("text").classed("nums",!0).call(g.font,m,y)})),le.exit().remove(),le.each((function(e){var t=i.select(this).attr("transform",""),s=e.color;Array.isArray(s)&&(s=s[e.eventData[0].pointNumber]);var c=e.bgcolor||s,f=v.combine(v.opacity(c)?c:v.defaultLine,l),p=v.combine(v.opacity(s)?s:v.defaultLine,l),x=e.borderColor||v.contrast(f),b=P(e,N,a,n,L,t),_=b[0],w=b[1],k=t.select("text.nums").call(g.font,e.fontFamily||m,e.fontSize||y,e.fontColor||x).text(_).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r),M=t.select("text.name"),A=0,S=0;if(w&&w!==_){M.call(g.font,e.fontFamily||m,e.fontSize||y,p).text(w).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r);var O=M.node().getBoundingClientRect();A=O.width+2*I,S=O.height+2*I}else M.remove(),t.select("rect").remove();t.select("path").style({fill:f,stroke:x});var D,z,F=k.node().getBoundingClientRect(),H=e.xa._offset+(e.x0+e.x1)/2,B=e.ya._offset+(e.y0+e.y1)/2,U=Math.abs(e.x1-e.x0),q=Math.abs(e.y1-e.y0),V=F.width+C+I+A;if(e.ty0=j-F.top,e.bx=F.width+2*I,e.by=Math.max(F.height+2*I,S),e.anchor="start",e.txwidth=F.width,e.tx2width=A,e.offset=0,o)e.pos=H,D=B+q/2+V<=R,z=B-q/2-V>=0,"top"!==e.idealAlign&&D||!z?D?(B+=q/2,e.anchor="start"):e.anchor="middle":(B-=q/2,e.anchor="end");else if(e.pos=B,D=H+U/2+V<=E,z=H-U/2-V>=0,"left"!==e.idealAlign&&D||!z)if(D)H+=U/2,e.anchor="start";else{e.anchor="middle";var Y=V/2,G=H+Y-E,Z=H-Y;G>0&&(H-=G),Z<0&&(H+=-Z)}else H-=U/2,e.anchor="end";k.attr("text-anchor",e.anchor),A&&M.attr("text-anchor",e.anchor),t.attr("transform",u(H,B)+(o?d(T):""))})),le}function P(e,t,r,n,a,i){var o="",l="";void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&(e.trace._meta&&(e.name=c.templateString(e.name,e.trace._meta)),o=F(e.name,e.nameLength)),void 0!==e.zLabel?(void 0!==e.xLabel&&(l+="x: "+e.xLabel+"
"),void 0!==e.yLabel&&(l+="y: "+e.yLabel+"
"),"choropleth"!==e.trace.type&&"choroplethmapbox"!==e.trace.type&&(l+=(l?"z: ":"")+e.zLabel)):t&&e[r.charAt(0)+"Label"]===a?l=e[("x"===r.charAt(0)?"y":"x")+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&"scattercarpet"!==e.trace.type&&(l=e.yLabel):l=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",!e.text&&0!==e.text||Array.isArray(e.text)||(l+=(l?"
":"")+e.text),void 0!==e.extraText&&(l+=(l?"
":"")+e.extraText),i&&""===l&&!e.hovertemplate&&(""===o&&i.remove(),l=o);var s=n._d3locale,u=e.hovertemplate||!1,d=e.hovertemplateLabels||e,f=e.eventData[0]||{};return u&&(l=(l=c.hovertemplateString(u,d,s,f,e.trace._meta)).replace(D,(function(t,r){return o=F(r,e.nameLength),""}))),[l,o]}function j(e,t,r,n){var a=function(e){return e*r},o=function(e){return e*n};e.each((function(e){var r=i.select(this);if(e.del)return r.remove();var n=r.select("text.nums"),l=e.anchor,s="end"===l?-1:1,c={start:1,end:-1,middle:0}[l],u=c*(C+I),d=u+c*(e.txwidth+I),f=0,p=e.offset,v="middle"===l;v&&(u-=e.tx2width/2,d+=e.txwidth/2+I),t&&(p*=-L,f=e.offset*S),r.select("path").attr("d",v?"M-"+a(e.bx/2+e.tx2width/2)+","+o(p-e.by/2)+"h"+a(e.bx)+"v"+o(e.by)+"h-"+a(e.bx)+"Z":"M0,0L"+a(s*C+f)+","+o(C+p)+"v"+o(e.by/2-C)+"h"+a(s*e.bx)+"v-"+o(e.by)+"H"+a(s*C+f)+"V"+o(p-C)+"Z");var m=f+u,y=p+e.ty0-e.by/2+I,x=e.textAlign||"auto";"auto"!==x&&("left"===x&&"start"!==l?(n.attr("text-anchor","start"),m=v?-e.bx/2-e.tx2width/2+I:-e.bx-I):"right"===x&&"end"!==l&&(n.attr("text-anchor","end"),m=v?e.bx/2-e.tx2width/2-I:e.bx+I)),n.call(h.positionText,a(m),o(y)),e.tx2width&&(r.select("text.name").call(h.positionText,a(d+c*I+f),o(p+e.ty0-e.by/2+I)),r.select("rect").call(g.setRect,a(d+(c-1)*e.tx2width/2+f),o(p-e.by/2-1),a(e.tx2width),o(e.by+2)))}))}function E(e,t){var r=e.index,n=e.trace||{},a=e.cd[0],i=e.cd[r]||{};function l(e){return e||o(e)&&0===e}var s=Array.isArray(r)?function(e,t){var i=c.castOption(a,r,e);return l(i)?i:c.extractOption({},n,"",t)}:function(e,t){return c.extractOption(i,n,e,t)};function u(t,r,n){var a=s(r,n);l(a)&&(e[t]=a)}if(u("hoverinfo","hi","hoverinfo"),u("bgcolor","hbg","hoverlabel.bgcolor"),u("borderColor","hbc","hoverlabel.bordercolor"),u("fontFamily","htf","hoverlabel.font.family"),u("fontSize","hts","hoverlabel.font.size"),u("fontColor","htc","hoverlabel.font.color"),u("nameLength","hnl","hoverlabel.namelength"),u("textAlign","hta","hoverlabel.align"),e.posref="y"===t||"closest"===t&&"h"===n.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=c.constrain(e.x0,0,e.xa._length),e.x1=c.constrain(e.x1,0,e.xa._length),e.y0=c.constrain(e.y0,0,e.ya._length),e.y1=c.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel="xLabel"in e?e.xLabel:y.hoverLabelText(e.xa,e.xLabelVal),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel="yLabel"in e?e.yLabel:y.hoverLabelText(e.ya,e.yLabelVal),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!(isNaN(e.xerr)||"log"===e.xa.type&&e.xerr<=0)){var d=y.tickText(e.xa,e.xa.c2l(e.xerr),"hover").text;void 0!==e.xerrneg?e.xLabel+=" +"+d+" / -"+y.tickText(e.xa,e.xa.c2l(e.xerrneg),"hover").text:e.xLabel+=" ยฑ "+d,"x"===t&&(e.distance+=1)}if(!(isNaN(e.yerr)||"log"===e.ya.type&&e.yerr<=0)){var f=y.tickText(e.ya,e.ya.c2l(e.yerr),"hover").text;void 0!==e.yerrneg?e.yLabel+=" +"+f+" / -"+y.tickText(e.ya,e.ya.c2l(e.yerrneg),"hover").text:e.yLabel+=" ยฑ "+f,"y"===t&&(e.distance+=1)}var h=e.hoverinfo||e.trace.hoverinfo;return h&&"all"!==h&&(-1===(h=Array.isArray(h)?h:h.split("+")).indexOf("x")&&(e.xLabel=void 0),-1===h.indexOf("y")&&(e.yLabel=void 0),-1===h.indexOf("z")&&(e.zLabel=void 0),-1===h.indexOf("text")&&(e.text=void 0),-1===h.indexOf("name")&&(e.name=void 0)),e}function R(e,t,r){var n,a,i=r.container,o=r.fullLayout,s=o._size,c=r.event,u=!!t.hLinePoint,d=!!t.vLinePoint;if(i.selectAll(".spikeline").remove(),d||u){var f=v.combine(o.plot_bgcolor,o.paper_bgcolor);if(u){var h,p,m=t.hLinePoint;n=m&&m.xa,"cursor"===(a=m&&m.ya).spikesnap?(h=c.pointerX,p=c.pointerY):(h=n._offset+m.x,p=a._offset+m.y);var x,b,_=l.readability(m.color,f)<1.5?v.contrast(f):m.color,w=a.spikemode,k=a.spikethickness,T=a.spikecolor||_,M=y.getPxPosition(e,a);if(-1!==w.indexOf("toaxis")||-1!==w.indexOf("across")){if(-1!==w.indexOf("toaxis")&&(x=M,b=h),-1!==w.indexOf("across")){var A=a._counterDomainMin,S=a._counterDomainMax;"free"===a.anchor&&(A=Math.min(A,a.position),S=Math.max(S,a.position)),x=s.l+A*s.w,b=s.l+S*s.w}i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k,stroke:T,"stroke-dasharray":g.dashStyle(a.spikedash,k)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==w.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:M+("right"!==a.side?k:-k),cy:p,r:k,fill:T}).classed("spikeline",!0)}if(d){var L,C,I=t.vLinePoint;n=I&&I.xa,a=I&&I.ya,"cursor"===n.spikesnap?(L=c.pointerX,C=c.pointerY):(L=n._offset+I.x,C=a._offset+I.y);var O,D,z=l.readability(I.color,f)<1.5?v.contrast(f):I.color,P=n.spikemode,j=n.spikethickness,E=n.spikecolor||z,R=y.getPxPosition(e,n);if(-1!==P.indexOf("toaxis")||-1!==P.indexOf("across")){if(-1!==P.indexOf("toaxis")&&(O=R,D=C),-1!==P.indexOf("across")){var N=n._counterDomainMin,F=n._counterDomainMax;"free"===n.anchor&&(N=Math.min(N,n.position),F=Math.max(F,n.position)),O=s.t+(1-F)*s.h,D=s.t+(1-N)*s.h}i.insert("line",":first-child").attr({x1:L,x2:L,y1:O,y2:D,"stroke-width":j,stroke:E,"stroke-dasharray":g.dashStyle(n.spikedash,j)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:L,x2:L,y1:O,y2:D,"stroke-width":j+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==P.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:L,cy:R-("top"!==n.side?j:-j),r:j,fill:E}).classed("spikeline",!0)}}}function N(e,t){return!t||t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint}function F(e,t){return h.plainText(e||"",{len:t,allowedTags:["br","sub","sup","b","i","em"]})}})),s.register("7tQKZ",(function(e,t){"use strict";var r=s("3kB5v"),n="data-savedcursor";e.exports=function(e,t){var a=e.attr(n);if(t){if(!a){for(var i=(e.attr("class")||"").split(" "),o=0;o1);if(!1!==g||c.uirevision){var v=a.newContainer(t,"legend");if(_("uirevision",t.uirevision),!1!==g){_("bgcolor",t.paper_bgcolor),_("bordercolor"),_("borderwidth"),n.coerceFont(_,"font",t.font);var m,y,x,b=_("orientation");"h"===b?(m=0,r.getComponentMethod("rangeslider","isVisible")(e.xaxis)?(y=1.1,x="bottom"):(y=-.1,x="top")):(m=1.02,y=1,x="auto"),_("traceorder",f),l.isGrouped(t.legend)&&_("tracegroupgap"),_("itemsizing"),_("itemwidth"),_("itemclick"),_("itemdoubleclick"),_("x",m),_("xanchor"),_("y",y),_("yanchor",x),_("valign"),n.noneOrAll(c,v,["x","y"]),_("title.text")&&(_("title.side","h"===b?"left":"top"),n.coerceFont(_,"title.font",t.font))}}function _(e,t){return n.coerce(c,v,i,e,t)}}})),s.register("1rDLs",(function(e,t){"use strict";var r=s("10Nlb"),n=s("4f6io");e.exports={bgcolor:{valType:"color",role:"style",editType:"legend",description:["Sets the legend background color.","Defaults to `layout.paper_bgcolor`."].join(" ")},bordercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"legend",description:"Sets the color of the border enclosing the legend."},borderwidth:{valType:"number",min:0,dflt:0,role:"style",editType:"legend",description:"Sets the width (in px) of the border enclosing the legend."},font:r({editType:"legend",description:"Sets the font used to text the legend items."}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",role:"info",editType:"legend",description:"Sets the orientation of the legend."},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],role:"style",editType:"legend",description:["Determines the order at which the legend items are displayed.","If *normal*, the items are displayed top-to-bottom in the same","order as the input data.","If *reversed*, the items are displayed in the opposite order","as *normal*.","If *grouped*, the items are displayed in groups","(when a trace `legendgroup` is provided).","if *grouped+reversed*, the items are displayed in the opposite order","as *grouped*."].join(" ")},tracegroupgap:{valType:"number",min:0,dflt:10,role:"style",editType:"legend",description:["Sets the amount of vertical space (in px) between legend groups."].join(" ")},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",role:"style",editType:"legend",description:["Determines if the legend items symbols scale with their corresponding *trace* attributes","or remain *constant* independent of the symbol size on the graph."].join(" ")},itemwidth:{valType:"number",min:30,dflt:30,role:"style",editType:"legend",description:"Sets the width (in px) of the legend item symbols (the part other than the title.text)."},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",role:"info",editType:"legend",description:["Determines the behavior on legend item click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item click interactions."].join(" ")},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",role:"info",editType:"legend",description:["Determines the behavior on legend item double-click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item double-click interactions."].join(" ")},x:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the x position (in normalized coordinates) of the legend.","Defaults to *1.02* for vertical legends and","defaults to *0* for horizontal legends."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",editType:"legend",description:["Sets the legend's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the legend.","Value *auto* anchors legends to the right for `x` values greater than or equal to 2/3,","anchors legends to the left for `x` values less than or equal to 1/3 and","anchors legends with respect to their center otherwise."].join(" ")},y:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the y position (in normalized coordinates) of the legend.","Defaults to *1* for vertical legends,","defaults to *-0.1* for horizontal legends on graphs w/o range sliders and","defaults to *1.1* for horizontal legends on graph with one or multiple range sliders."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],role:"info",editType:"legend",description:["Sets the legend's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the legend.","Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,","anchors legends to at their top for `y` values greater than or equal to 2/3 and","anchors legends with respect to their middle otherwise."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of legend-driven changes in trace and pie label","visibility. Defaults to `layout.uirevision`."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"legend",description:["Sets the vertical alignment of the symbols with respect to their associated text."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"legend",description:["Sets the title of the legend."].join(" ")},font:r({editType:"legend",description:["Sets this legend's title font."].join(" ")}),side:{valType:"enumerated",values:["top","left","top left"],role:"style",editType:"legend",description:["Determines the location of legend's title","with respect to the legend items.","Defaulted to *top* with `orientation` is *h*.","Defaulted to *left* with `orientation` is *v*.","The *top left* options could be used to expand","legend area in both x and y sides."].join(" ")},editType:"legend"},editType:"legend"}})),s.register("64g8Y",(function(e,t){var n,a,i;r(e.exports,"isGrouped",(()=>a),(e=>a=e)),r(e.exports,"isVertical",(()=>n),(e=>n=e)),r(e.exports,"isReversed",(()=>i),(e=>i=e)),a=function(e){return-1!==(e.traceorder||"").indexOf("grouped")},n=function(e){return"h"!==e.orientation},i=function(e){return-1!==(e.traceorder||"").indexOf("reversed")}})),s.register("Zg88i",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY"),a=s("3BndS"),i=s("4Hxcc"),o=s("5yBVq"),l=s("NlhQs"),c=s("7jar4"),u=s("3N5m7"),d=s("49Q6h"),f=s("gz6YF"),h=s("2eUTF"),p=s("5n2uh"),g=p.LINE_SPACING,v=p.FROM_TL,m=p.FROM_BR,y=s("3ov00"),x=s("1RGiq"),b=s("64g8Y");function _(e,t,r,n,a){var l=r.data()[0][0].trace,s={event:a,node:r.node(),curveNumber:l.index,expandedIndex:l._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};l._group&&(s.group=l._group),i.traceIs(l,"pie-like")&&(s.label=r.datum()[0].label),!1!==o.triggerHandler(e,"plotly_legendclick",s)&&(1===n?t._clickTimeout=setTimeout((function(){f(r,e,n)}),e._context.doubleClickDelay):2===n&&(t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==o.triggerHandler(e,"plotly_legenddoubleclick",s)&&f(r,e,n)))}function w(e,t,r){var a,o=e.data()[0][0],l=o.trace,s=i.traceIs(l,"pie-like"),u=l.index,f=r._main&&t._context.edits.legendText&&!s,p=r._maxNameLength;r.entries?a=o.text:(a=s?o.label:l.name,l._meta&&(a=n.templateString(a,l._meta)));var g=n.ensureSingle(e,"text","legendtext");g.attr("text-anchor","start").call(c.font,r.font).text(f?k(a,p):a);var v=r.itemwidth+2*h.itemGap;d.positionText(g,v,0),f?g.call(d.makeEditable,{gd:t,text:a}).call(M,e,t,r).on("edit",(function(a){this.text(k(a,p)).call(M,e,t,r);var l=o.trace._fullInput||{},s={};if(i.hasTransform(l,"groupby")){var c=i.getTransformIndices(l,"groupby"),d=c[c.length-1],f=n.keyedContainer(l,"transforms["+d+"].styles","target","value.name");f.set(o.trace._group,a),s=f.constructUpdate()}else s.name=a;return i.call("_guiRestyle",t,s,u)})):M(g,e,t,r)}function k(e,t){var r=Math.max(4,t);if(e&&e.trim().length>=r/2)return e;for(var n=r-(e=e||"").length;n>0;n--)e+=" ";return e}function T(e,t){var a,i=t._context.doubleClickDelay,o=1,l=n.ensureSingle(e,"rect","legendtoggle",(function(e){t._context.staticPlot||e.style("cursor","pointer").attr("pointer-events","all"),e.call(u.fill,"rgba(0,0,0,0)")}));t._context.staticPlot||(l.on("mousedown",(function(){(a=(new Date).getTime())-t._legendMouseDownTimei&&(o=Math.max(o-1,1)),_(t,n,e,o,r.event)}})))}function M(e,t,r,n){n._main||e.attr("data-notex",!0),d.convertToTspans(e,r,(function(){!function(e,t,r){var n=e.data()[0][0];if(r._main&&n&&!n.trace.showlegend)e.remove();else{var a=e.select("g[class*=math-group]"),i=a.node();r||(r=t._fullLayout.legend);var o,l,s=r.borderwidth,u=(n?r:r.title).font.size*g;if(i){var f=c.bBox(i);o=f.height,l=f.width,n?c.setTranslate(a,0,.25*o):c.setTranslate(a,s,.75*o+s)}else{var p=e.select(n?".legendtext":".legendtitletext"),v=d.lineCount(p),m=p.node();o=u*v,l=m?c.bBox(m).width:0;var y=u*((v-1)/2-.3);if(n){var x=r.itemwidth+2*h.itemGap;d.positionText(p,x,-y)}else d.positionText(p,h.titlePad+s,u+s)}n?(n.lineHeight=u,n.height=Math.max(o,16)+3,n.width=l):(r._titleWidth=l,r._titleHeight=o)}}(t,r,n)}))}function A(e){return n.isRightAnchor(e)?"right":n.isCenterAnchor(e)?"center":"left"}function S(e){return n.isBottomAnchor(e)?"bottom":n.isMiddleAnchor(e)?"middle":"top"}e.exports=function(e,t){var o,s=e._fullLayout,d="legend"+s._uid;if(t?(o=t.layer,d+="-hover"):((t=s.legend||{})._main=!0,o=s._infolayer),o){var f;if(e._legendMouseDownTime||(e._legendMouseDownTime=0),t._main){if(!e.calcdata)return;f=s.showlegend&&y(e.calcdata,t)}else{if(!t.entries)return;f=y(t.entries,t)}var p=s.hiddenlabels||[];if(t._main&&(!s.showlegend||!f.length))return o.selectAll(".legend").remove(),s._topdefs.select("#"+d).remove(),a.autoMargin(e,"legend");var g=n.ensureSingle(o,"g","legend",(function(e){t._main&&e.attr("pointer-events","all")})),k=n.ensureSingleById(s._topdefs,"clipPath",d,(function(e){e.append("rect")})),L=n.ensureSingle(g,"rect","bg",(function(e){e.attr("shape-rendering","crispEdges")}));L.call(u.stroke,t.bordercolor).call(u.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var C=n.ensureSingle(g,"g","scrollbox"),I=t.title;if(t._titleWidth=0,t._titleHeight=0,I.text){var O=n.ensureSingle(C,"text","legendtitletext");O.attr("text-anchor","start").call(c.font,I.font).text(I.text),M(O,C,e,t)}else C.selectAll(".legendtitletext").remove();var D=n.ensureSingle(g,"rect","scrollbar",(function(e){e.attr(h.scrollBarEnterAttrs).call(u.fill,h.scrollBarColor)})),z=C.selectAll("g.groups").data(f);z.enter().append("g").attr("class","groups"),z.exit().remove();var P=z.selectAll("g.traces").data(n.identity);P.enter().append("g").attr("class","traces"),P.exit().remove(),P.style("opacity",(function(e){var t=e[0].trace;return i.traceIs(t,"pie-like")?-1!==p.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1})).each((function(){r.select(this).call(w,e,t)})).call(x,e,t).each((function(){t._main&&r.select(this).call(T,e)})),n.syncOrAsync([a.previousPromises,function(){return function(e,t,n,a){var i=e._fullLayout;a||(a=i.legend);var o=i._size,l=b.isVertical(a),s=b.isGrouped(a),u=a.borderwidth,d=2*u,f=h.itemGap,p=a.itemwidth+2*f,g=2*(u+f),v=S(a),m=a.y<0||0===a.y&&"top"===v,y=a.y>1||1===a.y&&"bottom"===v;a._maxHeight=Math.max(m||y?i.height/2:o.h,30);var x=0;a._width=0,a._height=0;var _,w,k,T,M=(w=0,k=0,(T=(_=a).title.side)&&(-1!==T.indexOf("left")&&(w=_._titleWidth),-1!==T.indexOf("top")&&(k=_._titleHeight)),[w,k]);if(l)n.each((function(e){var t=e[0].height;c.setTranslate(this,u+M[0],u+M[1]+a._height+t/2+f),a._height+=t,a._width=Math.max(a._width,e[0].width)})),x=p+a._width,a._width+=f+p+d,a._height+=g,s&&(t.each((function(e,t){c.setTranslate(this,0,t*a.tracegroupgap)})),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var L=A(a),C=a.x<0||0===a.x&&"right"===L,I=a.x>1||1===a.x&&"left"===L,O=y||m,D=i.width/2;a._maxWidth=Math.max(C?O&&"left"===L?o.l+o.w:D:I?O&&"right"===L?o.r+o.w:D:o.w,2*p);var z=0,P=0;n.each((function(e){var t=e[0].width+p;z=Math.max(z,t),P+=t})),x=null;var j=0;if(s){var E=0,R=0,N=0;t.each((function(){var e=0,t=0;r.select(this).selectAll("g.traces").each((function(r){var n=r[0].height;c.setTranslate(this,M[0],M[1]+u+f+n/2+t),t+=n,e=Math.max(e,p+r[0].width)})),E=Math.max(E,t);var n=e+f;n+u+R>a._maxWidth&&(j=Math.max(j,R),R=0,N+=E+a.tracegroupgap,E=t),c.setTranslate(this,R,N),R+=n})),a._width=Math.max(j,R)+u,a._height=N+E+g}else{var F=n.size(),H=P+d+(F-1)*f=a._maxWidth&&(j=Math.max(j,V),U=0,q+=B,a._height+=B,B=0),c.setTranslate(this,M[0]+u+U,M[1]+u+q+t/2+f),V=U+r+f,U+=n,B=Math.max(B,t)})),H?(a._width=U+d,a._height=B+g):(a._width=Math.max(j,V)+d,a._height+=B+g)}}a._width=Math.ceil(Math.max(a._width+M[0],a._titleWidth+2*(u+h.titlePad))),a._height=Math.ceil(Math.max(a._height+M[1],a._titleHeight+2*(u+h.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var Y=e._context.edits,G=Y.legendText||Y.legendPosition;n.each((function(e){var t=r.select(this).select(".legendtoggle"),n=e[0].height,a=G?p:x||p+e[0].width;l||(a+=f/2),c.setRect(t,0,-n/2,a,n)}))}(e,z,P,t)},function(){if(!t._main||(V=(q=e)._fullLayout.legend,Y=A(V),G=S(V),!a.autoMargin(q,"legend",{x:V.x,y:V.y,l:V._width*v[Y],r:V._width*m[Y],b:V._effHeight*m[G],t:V._effHeight*v[G]}))){var u,f,p,y,x=s._size,b=t.borderwidth,w=x.l+x.w*t.x-v[A(t)]*t._width,T=x.t+x.h*(1-t.y)-v[S(t)]*t._effHeight;if(t._main&&s.margin.autoexpand){var M=w,I=T;w=n.constrain(w,0,s.width-t._width),T=n.constrain(T,0,s.height-t._effHeight),w!==M&&n.log("Constrain legend.x to make legend fit inside graph"),T!==I&&n.log("Constrain legend.y to make legend fit inside graph")}if(t._main&&c.setTranslate(g,w,T),D.on(".drag",null),g.on("wheel",null),!t._main||t._height<=t._maxHeight||e._context.staticPlot){var O=t._effHeight;t._main||(O=t._height),L.attr({width:t._width-b,height:O-b,x:b/2,y:b/2}),c.setTranslate(C,0,0),k.select("rect").attr({width:t._width-2*b,height:O-2*b,x:b,y:b}),c.setClipUrl(C,d,e),c.setRect(D,0,0,0,0),delete t._scrollY}else{var z,P,j,E=Math.max(h.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),R=t._effHeight-E-2*h.scrollBarMargin,N=t._height-t._effHeight,F=R/N,H=Math.min(t._scrollY||0,N);L.attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-b,x:b/2,y:b/2}),k.select("rect").attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-2*b,x:b,y:b+H}),c.setClipUrl(C,d,e),Z(H,E,F),g.on("wheel",(function(){Z(H=n.constrain(t._scrollY+r.event.deltaY/R*N,0,N),E,F),0!==H&&H!==N&&r.event.preventDefault()}));var B=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;z="touchstart"===e.type?e.changedTouches[0].clientY:e.clientY,j=H})).on("drag",(function(){var e,t=r.event.sourceEvent;2===t.buttons||t.ctrlKey||(e=((P="touchmove"===t.type?t.changedTouches[0].clientY:t.clientY)-z)/F+j,Z(H=n.constrain(e,0,N),E,F))}));D.call(B);var U=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;"touchstart"===e.type&&(z=e.changedTouches[0].clientY,j=H)})).on("drag",(function(){var e,t=r.event.sourceEvent;"touchmove"===t.type&&(P=t.changedTouches[0].clientY,e=(z-P)/F+j,Z(H=n.constrain(e,0,N),E,F))}));C.call(U)}e._context.edits.legendPosition&&(g.classed("cursor-move",!0),l.init({element:g.node(),gd:e,prepFn:function(){var e=c.getTranslate(g);p=e.x,y=e.y},moveFn:function(e,r){var n=p+e,a=y+r;c.setTranslate(g,n,a),u=l.align(n,0,x.l,x.l+x.w,t.xanchor),f=l.align(a,0,x.t+x.h,x.t,t.yanchor)},doneFn:function(){void 0!==u&&void 0!==f&&i.call("_guiRelayout",e,{"legend.x":u,"legend.y":f})},clickFn:function(t,r){var n=o.selectAll("g.traces").filter((function(){var e=this.getBoundingClientRect();return r.clientX>=e.left&&r.clientX<=e.right&&r.clientY>=e.top&&r.clientY<=e.bottom}));n.size()>0&&_(e,g,n,t,r)}}))}var q,V,Y,G;function Z(r,n,a){t._scrollY=e._fullLayout.legend._scrollY=r,c.setTranslate(C,0,-r),c.setRect(D,t._width,h.scrollBarMargin+r*a,h.scrollBarWidth,n),k.select("rect").attr("y",b+r)}}],e)}}})),s.register("gz6YF",(function(e,t){"use strict";var r=s("1nIvY"),n=s("4Hxcc"),a=!0;e.exports=function(e,t,i){var o=t._fullLayout;if(!t._dragged&&!t._editing){var l,s=o.legend.itemclick,c=o.legend.itemdoubleclick;if(1===i&&"toggle"===s&&"toggleothers"===c&&a&&t.data&&t._context.showTips?(r.notifier(r._(t,"Double-click on legend to isolate one trace"),"long"),a=!1):a=!1,1===i?l=s:2===i&&(l=c),l){var u,d,f,h,p,g=o.hiddenlabels?o.hiddenlabels.slice():[],v=e.data()[0][0],m=t._fullData,y=v.trace,x=y.legendgroup,b={},_=[],w=[],k=[];if(n.traceIs(y,"pie-like")){var T=v.label,M=g.indexOf(T);"toggle"===l?-1===M?g.push(T):g.splice(M,1):"toggleothers"===l&&(g=[],t.calcdata[0].forEach((function(e){T!==e.label&&g.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===g.length&&-1===M&&(g=[])),n.call("_guiRelayout",t,"hiddenlabels",g)}else{var A,S=x&&x.length,L=[];if(S)for(u=0;u0))return 0;a=t.width}return v?n:Math.min(a,r)};function _(e,t,a){var i=e[0].trace,o=i.marker||{},s=o.line||{},c=a?i.visible&&i.type===a:n.traceIs(i,"bar"),u=r.select(t).select("g.legendpoints").selectAll("path.legend"+a).data(c?[e]:[]);u.enter().append("path").classed("legend"+a,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),u.exit().remove(),u.each((function(e){var t=r.select(this),n=e[0],a=b(n.mlw,o.line,5,2);t.style("stroke-width",a+"px").call(l.fill,n.mc||o.color),a&&l.stroke(t,n.mlc||s.color)}))}function w(e,t,i){var o=e[0],l=o.trace,s=i?l.visible&&l.type===i:n.traceIs(l,i),c=r.select(t).select("g.legendpoints").selectAll("path.legend"+i).data(s?[e]:[]);if(c.enter().append("path").classed("legend"+i,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),c.exit().remove(),c.size()){var u=(l.marker||{}).line,h=b(f(u.width,o.pts),u,5,2),p=a.minExtend(l,{marker:{line:{width:h}}});p.marker.line.color=u.color;var g=a.minExtend(o,{trace:p});d(c,g,p)}}e.each((function(e){var t=r.select(this),n=a.ensureSingle(t,"g","layers");n.style("opacity",e[0].trace.opacity);var o=s.valign,l=e[0].lineHeight,c=e[0].height;if("middle"!==o&&l&&c){var u={top:1,bottom:-1}[o]*(.5*(l-c+3));n.attr("transform",i(0,u))}else n.attr("transform",null);n.selectAll("g.legendfill").data([e]).enter().append("g").classed("legendfill",!0),n.selectAll("g.legendlines").data([e]).enter().append("g").classed("legendlines",!0);var d=n.selectAll("g.legendsymbols").data([e]);d.enter().append("g").classed("legendsymbols",!0),d.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)})).each((function(e){var n,i=e[0].trace,s=[];if(i.visible)switch(i.type){case"histogram2d":case"heatmap":s=[["M-15,-2V4H15V-2Z"]],n=!0;break;case"choropleth":case"choroplethmapbox":s=[["M-6,-6V6H6V-6Z"]],n=!0;break;case"densitymapbox":s=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],n="radial";break;case"cone":s=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],n=!1;break;case"streamtube":s=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],n=!1;break;case"surface":s=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],n=!0;break;case"mesh3d":s=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!1;break;case"volume":s=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!0;break;case"isosurface":s=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],n=!1}var u=r.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(s);u.enter().append("path").classed("legend3dandfriends",!0).attr("transform",x).style("stroke-miterlimit",1),u.exit().remove(),u.each((function(e,s){var u,d=r.select(this),f=c(i),h=f.colorscale,g=f.reversescale;if(h){if(!n){var v=h.length;u=0===s?h[g?v-1:0][1]:1===s?h[g?0:v-1][1]:h[Math.floor((v-1)/2)][1]}}else{var m=i.vertexcolor||i.facecolor||i.color;u=a.isArrayOrTypedArray(m)?m[s]||m[0]:m}d.attr("d",e[0]),u?d.call(l.fill,u):d.call((function(e){if(e.size()){var r="legendfill-"+i.uid;o.gradient(e,t,r,p(g,"radial"===n),h,"fill")}}))}))})).each((function(e){var t=e[0].trace,n="waterfall"===t.type;if(e[0]._distinct&&n){var a=e[0].trace[e[0].dir].marker;return e[0].mc=a.color,e[0].mlw=a.line.width,e[0].mlc=a.line.color,_(e,this,"waterfall")}var i=[];t.visible&&n&&(i=e[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var o=r.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(i);o.enter().append("path").classed("legendwaterfall",!0).attr("transform",x).style("stroke-miterlimit",1),o.exit().remove(),o.each((function(e){var n=r.select(this),a=t[e[0]].marker,i=b(void 0,a.line,5,2);n.attr("d",e[1]).style("stroke-width",i+"px").call(l.fill,a.color),i&&n.call(l.stroke,a.line.color)}))})).each((function(e){_(e,this,"funnel")})).each((function(e){_(e,this)})).each((function(e){var i=e[0].trace,s=r.select(this).select("g.legendpoints").selectAll("path.legendbox").data(i.visible&&n.traceIs(i,"box-violin")?[e]:[]);s.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),s.exit().remove(),s.each((function(){var e=r.select(this);if("all"!==i.boxpoints&&"all"!==i.points||0!==l.opacity(i.fillcolor)||0!==l.opacity((i.line||{}).color)){var n=b(void 0,i.line,5,2);e.style("stroke-width",n+"px").call(l.fill,i.fillcolor),n&&l.stroke(e,i.line.color)}else{var c=a.minExtend(i,{marker:{size:v?12:a.constrain(i.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});s.call(o.pointStyle,c,t)}}))})).each((function(e){w(e,this,"funnelarea")})).each((function(e){w(e,this,"pie")})).each((function(e){var n,i,l=e[0],s=l.trace,d=s.visible&&s.fill&&"none"!==s.fill,f=u.hasLines(s),h=s.contours,g=!1,v=!1,y=c(s),x=y.colorscale,_=y.reversescale;if(h){var w=h.coloring;"lines"===w?g=!0:f="none"===w||"heatmap"===w||h.showlines,"constraint"===h.type?d="="!==h._operation:"fill"!==w&&"heatmap"!==w||(v=!0)}var k=u.hasMarkers(s)||u.hasText(s)||!(d||v)?"M5,0":f||g?"M5,-2":"M5,-3",T=r.select(this),M=T.select(".legendfill").selectAll("path").data(d||v?[e]:[]);if(M.enter().append("path").classed("js-fill",!0),M.exit().remove(),M.attr("d",k+"h"+m+"v6h-"+m+"z").call(d?o.fillGroupStyle:function(e){if(e.size()){var r="legendfill-"+s.uid;o.gradient(e,t,r,p(_),x,"fill")}}),f||g){var A=b(void 0,s.line,10,5);i=a.minExtend(s,{line:{width:A}}),n=[a.minExtend(l,{trace:i})]}var S=T.select(".legendlines").selectAll("path").data(f||g?[n]:[]);S.enter().append("path").classed("js-line",!0),S.exit().remove(),S.attr("d",k+(g?"l"+m+",0.0001":"h"+m)).call(f?o.lineGroupStyle:function(e){if(e.size()){var r="legendline-"+s.uid;o.lineGroupStyle(e),o.gradient(e,t,r,p(_),x,"stroke")}})})).each((function(e){var n,i,l=e[0],s=l.trace,c=u.hasMarkers(s),d=u.hasText(s),f=u.hasLines(s);function h(e,t,r,n){var i=a.nestedProperty(s,e).get(),o=a.isArrayOrTypedArray(i)&&t?t(i):i;if(v&&o&&void 0!==n&&(o=n),r){if(or[1])return r[1]}return o}function p(e){return l._distinct&&l.index&&e[l.index]?e[l.index]:e[0]}if(c||d||f){var g={},m={};if(c){g.mc=h("marker.color",p),g.mx=h("marker.symbol",p),g.mo=h("marker.opacity",a.mean,[.2,1]),g.mlc=h("marker.line.color",p),g.mlw=h("marker.line.width",a.mean,[0,5],2),m.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var y=h("marker.size",a.mean,[2,16],12);g.ms=y,m.marker.size=y}f&&(m.line={width:h("line.width",p,[0,10],5)}),d&&(g.tx="Aa",g.tp=h("textposition",p),g.ts=10,g.tc=h("textfont.color",p),g.tf=h("textfont.family",p)),n=[a.minExtend(l,g)],(i=a.minExtend(s,m)).selectedpoints=null,i.texttemplate=null}var b=r.select(this).select("g.legendpoints"),_=b.selectAll("path.scatterpts").data(c?n:[]);_.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",x),_.exit().remove(),_.call(o.pointStyle,i,t),c&&(n[0].mrc=3);var w=b.selectAll("g.pointtext").data(d?n:[]);w.enter().append("g").classed("pointtext",!0).append("text").attr("transform",x),w.exit().remove(),w.selectAll("text").call(o.textPointStyle,i,t)})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(t.visible&&"candlestick"===t.type?[e,e]:[]);n.enter().append("path").classed("legendcandle",!0).attr("d",(function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",x).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],o=b(void 0,i.line,5,2);a.style("stroke-width",o+"px").call(l.fill,i.fillcolor),o&&l.stroke(a,i.line.color)}))})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(t.visible&&"ohlc"===t.type?[e,e]:[]);n.enter().append("path").classed("legendohlc",!0).attr("d",(function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",x).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],s=b(void 0,i.line,5,2);a.style("fill","none").call(o.dashLine,i.line.dash,s),s&&l.stroke(a,i.line.color)}))}))}})),s.register("7832T",(function(e,t){"use strict";var r=s("3N5m7"),n=s("4Izpx").castOption;e.exports=function(e,t,a){var i=a.marker.line,o=n(i.color,t.pts)||r.defaultLine,l=n(i.width,t.pts)||0;e.style("stroke-width",l).call(r.fill,t.color).call(r.stroke,o)}})),s.register("4Izpx",(function(e,t){var n,a,i,o,l;r(e.exports,"castOption",(()=>o),(e=>o=e)),r(e.exports,"formatPieValue",(()=>a),(e=>a=e)),r(e.exports,"formatPiePercent",(()=>l),(e=>l=e)),r(e.exports,"getFirstFilled",(()=>i),(e=>i=e)),r(e.exports,"getRotationAngle",(()=>n),(e=>n=e));var c=s("1nIvY");function u(e){return-1!==e.indexOf("e")?e.replace(/[.]?0+e/,"e"):-1!==e.indexOf(".")?e.replace(/[.]?0+$/,""):e}l=function(e,t){var r=u((100*e).toPrecision(3));return c.numSeparate(r,t)+"%"},a=function(e,t){var r=u(e.toPrecision(10));return c.numSeparate(r,t)},i=function(e,t){if(Array.isArray(e))for(var r=0;r-1?o="closest":(t._isHoriz=function(e,t){for(var r=t._scatterStackOpts||{},n=0;n=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function N(e,t,r,n,a){return e.append("path").attr("class","zoombox").style({fill:t>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(r,n)).attr("d",a+"Z")}function F(e,t,r){return e.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(t,r)).attr("d","M0,0Z")}function H(e,t,r,n,a,i){e.attr("d",n+"M"+r.l+","+r.t+"v"+r.h+"h"+r.w+"v-"+r.h+"h-"+r.w+"Z"),B(e,t,a,i)}function B(e,t,r,n){r||(e.transition().style("fill",n>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}function U(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function q(e){O&&e.data&&e._context.showTips&&(o.notifier(o._(e,"Double-click to zoom back out"),"long"),O=!1)}function V(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,I)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}function Y(e,t,r,n,a){for(var i,l,s,c,u=!1,d={},f={},h=(a||{}).xaHash,p=(a||{}).yaHash,g=0;g=0)o._fullLayout._deactivateShape(o);else{var l=o._fullLayout.clickmode;if(U(o),2!==n||ve||function(){if(!e._transitioningWithDuration){var t=e._context.doubleClick,r=[];ne&&(r=r.concat(X)),ae&&(r=r.concat(Q)),re.xaxes&&(r=r.concat(re.xaxes)),re.yaxes&&(r=r.concat(re.yaxes));var n,a,o,l={};if("reset+autosize"===t)for(t="autosize",a=0;a-1&&A(a,o,X,Q,t.id,ze),l.indexOf("event")>-1&&f.click(o,a,t.id);else if(1===n&&ve){var s=p?D:O,u="s"===p||"w"===v?0:1,d=s._name+".range["+u+"]",h=function(e,t){var n,a=e.range[t],i=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,r.format("."+n+"g")(Math.pow(10,a))):(n=Math.floor(Math.log(Math.abs(a))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(s,u),g="left",m="middle";if(s.fixedrange)return;p?(m="n"===p?"top":"bottom","right"===s.side&&(g="right")):"e"===v&&(g="right"),o._context.showAxisRangeEntryBoxes&&r.select(we).call(c.makeEditable,{gd:o,immediate:!0,background:o._fullLayout.paper_bgcolor,text:String(h),fill:s.tickfont?s.tickfont.color:"#444",horizontalAlign:g,verticalAlign:m}).on("edit",(function(e){var t=s.d2r(e);void 0!==t&&i.call("_guiRelayout",o,d,t)}))}}}function Ee(t,r){if(e._transitioningWithDuration)return!1;var n=Math.max(0,Math.min($,fe*t+ke)),a=Math.max(0,Math.min(ee,he*r+Te)),i=Math.abs(n-ke),o=Math.abs(a-Te);function l(){Ce="",Me.r=Me.l,Me.t=Me.b,Oe.attr("d","M0,0Z")}if(Me.l=Math.min(ke,n),Me.r=Math.max(ke,n),Me.t=Math.min(Te,a),Me.b=Math.max(Te,a),te.isSubplotConstrained)i>I||o>I?(Ce="xy",i/$>o/ee?(o=i*ee/$,Te>a?Me.t=Te-o:Me.b=Te+o):(i=o*$/ee,ke>n?Me.l=ke-i:Me.r=ke+i),Oe.attr("d",V(Me))):l();else if(re.isSubplotConstrained)if(i>I||o>I){Ce="xy";var s=Math.min(Me.l/$,(ee-Me.b)/ee),c=Math.max(Me.r/$,(ee-Me.t)/ee);Me.l=s*$,Me.r=c*$,Me.b=(1-s)*ee,Me.t=(1-c)*ee,Oe.attr("d",V(Me))}else l();else!ae||o0){var u;if(re.isSubplotConstrained||!ne&&1===ae.length){for(u=0;ua),(e=>a=e)),r(e.exports,"rectMode",(()=>l),(e=>l=e)),r(e.exports,"openMode",(()=>i),(e=>i=e)),r(e.exports,"freeMode",(()=>s),(e=>s=e)),r(e.exports,"selectMode",(()=>o),(e=>o=e)),r(e.exports,"selectingOrDrawing",(()=>n),(e=>n=e)),o=function(e){return"lasso"===e||"select"===e},a=function(e){return"drawclosedpath"===e||"drawopenpath"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},i=function(e){return"drawline"===e||"drawopenpath"===e},l=function(e){return"select"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},s=function(e){return"lasso"===e||"drawclosedpath"===e||"drawopenpath"===e},n=function(e){return s(e)||l(e)}})),s.register("34rTi",(function(e,t){"use strict";e.exports=function(e){var t=e._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each((function(e){e.regl&&e.regl.clear({color:!0,depth:!0})}))}})),s.register("4wnLB",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v,m;r(e.exports,"drawMarginPushers",(()=>n),(e=>n=e)),r(e.exports,"doCamera",(()=>m),(e=>m=e)),r(e.exports,"doColorBars",(()=>a),(e=>a=e)),r(e.exports,"layoutStyles",(()=>o),(e=>o=e)),r(e.exports,"redrawReglTraces",(()=>f),(e=>f=e)),r(e.exports,"doTicksRelayout",(()=>u),(e=>u=e)),r(e.exports,"layoutReplot",(()=>i),(e=>i=e)),r(e.exports,"doModeBar",(()=>l),(e=>l=e)),r(e.exports,"doLegend",(()=>d),(e=>d=e)),r(e.exports,"doTraceStyle",(()=>v),(e=>v=e)),r(e.exports,"doAutoRangeAndConstraints",(()=>p),(e=>p=e)),r(e.exports,"finalDraw",(()=>h),(e=>h=e)),r(e.exports,"drawData",(()=>c),(e=>c=e)),r(e.exports,"drawMainTitle",(()=>g),(e=>g=e));var y=s("4Wia9"),x=s("4Hxcc"),b=s("3BndS"),_=s("1nIvY"),w=s("34rTi"),k=s("3N5m7"),T=s("7jar4"),M=s("4m0W1"),A=s("1N5Ij"),S=s("1nE8l"),L=s("5n2uh"),C=s("6SFfg"),I=C.enforce,O=C.clean,D=s("7vf7z").doAutoRange,z="start";function P(e,t,r){for(var n=0;n=e[1]||a[1]<=e[0])&&i[0]t[0])return!0}return!1}function j(e){var t,r,n,a,i,o,l=e._fullLayout,s=l._size,c=s.p,u=S.list(e,"",!0);if(l._paperdiv.style({width:e._context.responsive&&l.autosize&&!e._context._hasZeroWidth&&!e.layout.width?"100%":l.width+"px",height:e._context.responsive&&l.autosize&&!e._context._hasZeroHeight&&!e.layout.height?"100%":l.height+"px"}).selectAll(".main-svg").call(T.setSize,l.width,l.height),e._context.setBackground(e,l.paper_bgcolor),g(e),A.manage(e),!l._has("cartesian"))return b.previousPromises(e);function d(e,t,r){var n=e._lw/2;return"x"===e._id.charAt(0)?t?"top"===r?t._offset-c-n:t._offset+t._length+c+n:s.t+s.h*(1-(e.position||0))+n%1:t?"right"===r?t._offset+t._length+c+n:t._offset-c-n:s.l+s.w*(e.position||0)+n%1}for(t=0;tn),(e=>n=e)),n=s("6hgLL")})),s.register("6hgLL",(function(e,t){"use strict";var r=s("22HUI"),n=s("5EGfs"),a=s("4Hxcc"),i=s("2MtC7").isUnifiedHover,o=s("7alov"),l=s("5Nr3A");e.exports=function(e){var t=e._fullLayout,s=e._context,u=t._modeBar;if(s.displayModeBar||s.watermark){if(!Array.isArray(s.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(s.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var d,f=s.modeBarButtons;d=Array.isArray(f)&&f.length?function(e){for(var t=0;t1?(L=["toggleHover"],C=["resetViews"]):p?(S=["zoomInGeo","zoomOutGeo"],L=["hoverClosestGeo"],C=["resetGeo"]):h?(L=["hoverClosest3d"],C=["resetCameraDefault3d","resetCameraLastSave3d"]):x?(S=["zoomInMapbox","zoomOutMapbox"],L=["toggleHover"],C=["resetViewMapbox"]):m?L=["hoverClosestGl2d"]:g?L=["hoverClosestPie"]:_?(L=["hoverClosestCartesian","hoverCompareCartesian"],C=["resetViewSankey"]):L=["toggleHover"],f&&(L=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]),(function(e){for(var t=0;tplotly-logomark"}}})),s.register("5Nr3A",(function(e,t){"use strict";var r=s("4Hxcc"),n=s("3BndS"),a=s("22HUI"),i=s("7KALf"),o=s("2zBj0").eraseActiveShape,l=s("1nIvY"),c=l._,u=e.exports={};function d(e,t){var n,i,o=t.currentTarget,l=o.getAttribute("data-attr"),s=o.getAttribute("data-val")||!0,c=e._fullLayout,u={},d=a.list(e,null,!0),f=c._cartesianSpikesEnabled;if("zoom"===l){var h,p="in"===s?.5:2,g=(1+p)/2,v=(1-p)/2;for(i=0;iy?(T=d,L="y0",M=y,C="y1"):(T=y,L="y1",M=d,C="y0"),X(r),K(l,i),function(e,t,r){var n=t.xref,i=t.yref,o=a.getFromId(r,n),l=a.getFromId(r,i),s="";"paper"===n||o.autorange||(s+=n),"paper"===i||l.autorange||(s+=i),u.setClipUrl(e,s?"clip"+r._fullLayout._uid+s:null,r)}(t,i,e),W.moveFn="move"===z?Q:J,W.altKey=r.altKey)},doneFn:function(){m(e)||(h(t),$(l),b(t,e,i),r.call("_guiRelayout",e,s.getUpdateObj()))},clickFn:function(){m(e)||$(l)}};function X(r){if(m(e))z=null;else if(E)z="path"===r.target.tagName?"move":"start-point"===r.target.attributes["data-line-point"].value?"resize-over-start-point":"resize-over-end-point";else{var n=W.element.getBoundingClientRect(),a=n.right-n.left,i=n.bottom-n.top,o=r.clientX-n.left,l=r.clientY-n.top,s=!R&&a>10&&i>10&&!r.shiftKey?f.getCursor(o/a,1-l/i):"move";h(t,s),z=s.split("-")[0]}}function Q(r,n){if("path"===i.type){var a=function(e){return e},o=a,s=a;P?N("xanchor",i.xanchor=Y(x+r)):(o=function(e){return Y(q(e)+r)},F&&"date"===F.type&&(o=g.encodeDate(o))),j?N("yanchor",i.yanchor=G(k+n)):(s=function(e){return G(V(e)+n)},B&&"date"===B.type&&(s=g.encodeDate(s))),N("path",i.path=w(D,o,s))}else P?N("xanchor",i.xanchor=Y(x+r)):(N("x0",i.x0=Y(c+r)),N("x1",i.x1=Y(v+r))),j?N("yanchor",i.yanchor=G(k+n)):(N("y0",i.y0=G(d+n)),N("y1",i.y1=G(y+n)));t.attr("d",_(e,i)),K(l,i)}function J(r,n){if(R){var a=function(e){return e},o=a,s=a;P?N("xanchor",i.xanchor=Y(x+r)):(o=function(e){return Y(q(e)+r)},F&&"date"===F.type&&(o=g.encodeDate(o))),j?N("yanchor",i.yanchor=G(k+n)):(s=function(e){return G(V(e)+n)},B&&"date"===B.type&&(s=g.encodeDate(s))),N("path",i.path=w(D,o,s))}else if(E){if("resize-over-start-point"===z){var u=c+r,f=j?d-n:d+n;N("x0",i.x0=P?u:Y(u)),N("y0",i.y0=j?f:G(f))}else if("resize-over-end-point"===z){var h=v+r,p=j?y-n:y+n;N("x1",i.x1=P?h:Y(h)),N("y1",i.y1=j?p:G(p))}}else{var m=function(e){return-1!==z.indexOf(e)},b=m("n"),H=m("s"),U=m("w"),Z=m("e"),W=b?T+n:T,X=H?M+n:M,Q=U?A+r:A,J=Z?S+r:S;j&&(b&&(W=T-n),H&&(X=M-n)),(!j&&X-W>10||j&&W-X>10)&&(N(L,i[L]=j?W:G(W)),N(C,i[C]=j?X:G(X))),J-Q>10&&(N(I,i[I]=P?Q:Y(Q)),N(O,i[O]=P?J:Y(J)))}t.attr("d",_(e,i)),K(l,i)}function K(e,t){(P||j)&&function(){var r="path"!==t.type,a=e.selectAll(".visual-cue").data([0]);a.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":1}).classed("visual-cue",!0);var i=q(P?t.xanchor:n.midRange(r?[t.x0,t.x1]:g.extractPathCoords(t.path,p.paramIsX))),o=V(j?t.yanchor:n.midRange(r?[t.y0,t.y1]:g.extractPathCoords(t.path,p.paramIsY)));if(i=g.roundPositionForSharpStrokeRendering(i,1),o=g.roundPositionForSharpStrokeRendering(o,1),P&&j){var l="M"+(i-1-1)+","+(o-1-1)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";a.attr("d",l)}else if(P){var s="M"+(i-1-1)+","+(o-9-1)+"v18 h2 v-18 Z";a.attr("d",s)}else{var c="M"+(i-9-1)+","+(o-1-1)+"h18 v2 h-18 Z";a.attr("d",c)}}()}function $(e){e.selectAll(".visual-cue").remove()}f.init(W),Z.node().onmousemove=X}(e,P,s,t,l,z):!0===s.editable&&P.style("pointer-events",O||c.opacity(S)*A<=.5?"stroke":"all");P.node().addEventListener("click",(function(){return function(e,t){if(y(e)){var r=+t.node().getAttribute("data-index");if(r>=0){if(r===e._fullLayout._activeShapeIndex)return void k(e);e._fullLayout._activeShapeIndex=r,e._fullLayout._deactivateShape=k,v(e)}}}(e,P)}))}s._input&&!1!==s.visible&&("below"!==s.layer?T(e._fullLayout._shapeUpperLayer):"paper"===s.xref||"paper"===s.yref?T(e._fullLayout._shapeLowerLayer):x._hadPlotinfo?T((x.mainplotinfo||x).shapelayer):T(e._fullLayout._shapeLowerLayer))}function b(e,t,r){var n=(r.xref+r.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(e,n?"clip"+t._fullLayout._uid+n:null,t)}function _(e,t){var r,i,o,l,s,c,u,d,f,h,v,m,y,x,b,_,w=t.type,k=a.getRefType(t.xref),T=a.getRefType(t.yref),M=a.getFromId(e,t.xref),A=a.getFromId(e,t.yref),S=e._fullLayout._size;if(M?"domain"===k?i=function(e){return M._offset+M._length*e}:(r=g.shapePositionToRange(M),i=function(e){return M._offset+M.r2p(r(e,!0))}):i=function(e){return S.l+S.w*e},A?"domain"===T?l=function(e){return A._offset+A._length*(1-e)}:(o=g.shapePositionToRange(A),l=function(e){return A._offset+A.r2p(o(e,!0))}):l=function(e){return S.t+S.h*(1-e)},"path"===w)return M&&"date"===M.type&&(i=g.decodeDate(i)),A&&"date"===A.type&&(l=g.decodeDate(l)),h=i,v=l,m=(f=t).path,y=f.xsizemode,x=f.ysizemode,b=f.xanchor,_=f.yanchor,m.replace(p.segmentRE,(function(e){var t=0,r=e.charAt(0),a=p.paramIsX[r],i=p.paramIsY[r],o=p.numParams[r],l=e.substr(1).replace(p.paramRE,(function(e){return a[t]?e="pixel"===y?h(b)+Number(e):h(e):i[t]&&(e="pixel"===x?v(_)-Number(e):v(e)),++t>o&&(e="X"),e}));return t>o&&(l=l.replace(/[\s,]*X.*/,""),n.log("Ignoring extra params in segment "+e)),r+l}));if("pixel"===t.xsizemode){var L=i(t.xanchor);s=L+t.x0,c=L+t.x1}else s=i(t.x0),c=i(t.x1);if("pixel"===t.ysizemode){var C=l(t.yanchor);u=C-t.y0,d=C-t.y1}else u=l(t.y0),d=l(t.y1);if("line"===w)return"M"+s+","+u+"L"+c+","+d;if("rect"===w)return"M"+s+","+u+"H"+c+"V"+d+"H"+s+"Z";var I=(s+c)/2,O=(u+d)/2,D=Math.abs(I-s),z=Math.abs(O-u),P="A"+D+","+z,j=I+D+","+O;return"M"+j+P+" 0 1,1 "+I+","+(O-z)+P+" 0 0,1 "+j+"Z"}function w(e,t,r){return e.replace(p.segmentRE,(function(e){var n=0,a=e.charAt(0),i=p.paramIsX[a],o=p.paramIsY[a],l=p.numParams[a];return a+e.substr(1).replace(p.paramRE,(function(e){return n>=l||(i[n]?e=t(e):o[n]&&(e=r(e)),n++),e}))}))}function k(e){y(e)&&e._fullLayout._activeShapeIndex>=0&&(l(e),delete e._fullLayout._activeShapeIndex,v(e))}e.exports={draw:v,drawOne:x,eraseActiveShape:function(e){if(y(e)){l(e);var t=e._fullLayout._activeShapeIndex,n=(e.layout||{}).shapes||[];if(tc),(e=>c=e)),r(e.exports,"pointsShapeEllipse",(()=>n),(e=>n=e)),r(e.exports,"readPaths",(()=>i),(e=>i=e)),r(e.exports,"writePaths",(()=>o),(e=>o=e)),r(e.exports,"pointsShapeRectangle",(()=>a),(e=>a=e)),r(e.exports,"handleEllipse",(()=>l),(e=>l=e));var u=s("2zUNe"),d=s("7uwNx"),f=d.CIRCLE_SIDES,h=d.SQRT2,p=s("6JNER"),g=p.p2r,v=p.r2p,m=[0,3,4,5,6,1,2],y=[0,3,4,1,2];function x(e,t){return Math.abs(e-t)<=1e-6}function b(e,t){var r=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+n*n)}o=function(e){var t=e.length;if(!t)return"M0,0Z";for(var r="",n=0;n0&&s2&&(t.push([n].concat(i.splice(0,2))),l="l",n="m"==n?"l":"L");;){if(i.length==r[l])return i.unshift(n),t.push(i);if(i.length1&&(2!==e.length||"Z"!==e[1][0])&&(0===k&&(e[0][0]="M"),t[w]=e,y(),x())}}()}}function D(e,r){(function(e,r){if(t.length)for(var n=0;n=0&&d(m),i.attr("d",g(t)),M&&!f&&(T=function(e,t){for(var r=0;rc),(e=>c=e)),r(e.exports,"rangeToShapePosition",(()=>o),(e=>o=e)),r(e.exports,"encodeDate",(()=>u),(e=>u=e)),r(e.exports,"decodeDate",(()=>n),(e=>n=e)),r(e.exports,"roundPositionForSharpStrokeRendering",(()=>f),(e=>f=e)),r(e.exports,"extractPathCoords",(()=>a),(e=>a=e)),r(e.exports,"makeOptionsAndPlotinfo",(()=>d),(e=>d=e)),r(e.exports,"shapePositionToRange",(()=>l),(e=>l=e)),r(e.exports,"getPixelToData",(()=>i),(e=>i=e));var h=s("fN6X1"),p=s("1nIvY");o=function(e){return"log"===e.type?e.r2d:function(e){return e}},l=function(e){return"log"===e.type?e.d2r:function(e){return e}},n=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},u=function(e){return function(t){return e(t).replace(" ","_")}},a=function(e,t){var r=[];return e.match(h.segmentRE).forEach((function(e){var n=t[e.charAt(0)].drawn;if(void 0!==n){var a=e.substr(1).match(h.paramRE);!a||a.lengtha),(e=>a=e)),r(e.exports,"getAxisGroup",(()=>i),(e=>i=e)),r(e.exports,"handleDefaults",(()=>n),(e=>n=e)),r(e.exports,"clean",(()=>o),(e=>o=e));var l=s("1nIvY"),c=s("7vf7z"),u=s("22HUI").id2name,d=s("1bJQq"),f=s("2OLXb"),h=s("7cQhP"),p=s("10TEj").ALMOST_EQUAL,g=s("5n2uh").FROM_BL;function v(e,t,r){var n=r.axIds,a=r.layoutOut,i=r.hasImage,o=a._axisConstraintGroups,s=a._axisMatchGroups,c=t._id,f=c.charAt(0),h=((a._splomAxes||{})[f]||{})[c]||{},p=t._id,g="x"===p.charAt(0);function v(r,n){return l.coerce(e,t,d,r,n)}t._matchGroup=null,t._constraintGroup=null,v("constrain",i?"domain":"range"),l.coerce(e,t,{constraintoward:{valType:"enumerated",values:g?["left","center","right"]:["bottom","middle","top"],dflt:g?"center":"middle"}},"constraintoward");var b,_,w=t.type,k=[];for(b=0;bn?a.substr(n):i.substr(r))+o:a+i+e*t:o}function _(e,t){for(var r=t._size,n=r.h/r.w,a={},i=Object.keys(e),o=0;op*m)||k)for(r=0;rz&&RO&&(O=R);s/=(O-I)/(2*D),I=i.l2r(I),O=i.l2r(O),i.range=i._input.range=S-1,_=[];if((y=x)&&Array.isArray(y)&&!0!==y[0].hoverOnBox){R(e,t,i);var w=function(e,t){var r,n,a=e[0],i=-1,o=[];for(n=0;n0?function(e,t){var r,n,a,i=[];for(a=0;a0&&i.push(r);if(1===i.length&&i[0]===t.searchInfo&&(n=t.searchInfo.cd[0].trace).selectedpoints.length===t.pointNumbers.length){for(a=0;a1)return!1;if((n+=t.selectedpoints.length)>1)return!1}return 1===n}(l)&&(f=H(w))){for(o&&o.remove(),m=0;m=0&&a._fullLayout._deactivateShape(a),f(t)){var i=a._fullLayout._zoomlayer.selectAll(".select-outline-"+r.id);if(i&&a._fullLayout._drawing){var o=m(i,e);o&&n.call("_guiRelayout",a,{shapes:o}),a._fullLayout._drawing=!1}}r.selection={},r.selection.selectionDefs=e.selectionDefs=[],r.selection.mergedPolygons=e.mergedPolygons=[]}function F(e,t,r,n){var a,i,o,l=[],s=t.map((function(e){return e._id})),c=r.map((function(e){return e._id}));for(o=0;o0?n[0]:r;return!!t.selectedpoints&&t.selectedpoints.indexOf(a)>-1}function B(e,t,r){var a,i,o,l;for(a=0;a=0)C._fullLayout._deactivateShape(C);else if(!_){var r=P.clickmode;b.done(ge).then((function(){if(b.clear(ge),2===e){for(de.remove(),$=0;$-1&&z(t,C,l.xaxes,l.yaxes,l.subplot,l,de),"event"===r&&C.emit("plotly_selected",void 0);o.click(C,t)})).catch(y.error)}},l.doneFn=function(){pe.remove(),b.done(ge).then((function(){b.clear(ge),l.gd.emit("plotly_selected",te),K&&l.selectionDefs&&(K.subtract=ue,l.selectionDefs.push(K),l.mergedPolygons.length=0,[].push.apply(l.mergedPolygons,J)),l.doneFnCompleted&&l.doneFnCompleted(ve)})).catch(y.error),_&&N(l)}},clearSelect:L,clearSelectionsCache:N,selectOnClick:z}})),s.register("6yBJp",(function(e,t){var r,n=s("1u60H"),a=s("ZBoaZ"),i=s("2Sjtx"),o=s("4kIhQ"),l=s("4bxXj"),c=s("5A95j"),u=!1,d=a();function f(e,t,n){var a=r.segments(e),i=r.segments(t),o=n(r.combine(a,i));return r.polygon(o)}r={buildLog:function(e){return!0===e?u=n():!1===e&&(u=!1),!1!==u&&u.list},epsilon:function(e){return d.epsilon(e)},segments:function(e){var t=i(!0,d,u);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){return{combined:i(!1,d,u).calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:l.union(e.combined,u),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:l.intersect(e.combined,u),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:l.difference(e.combined,u),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:l.differenceRev(e.combined,u),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:l.xor(e.combined,u),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:o(e.segments,d,u),inverted:e.inverted}},polygonFromGeoJSON:function(e){return c.toPolygon(r,e)},polygonToGeoJSON:function(e){return c.fromPolygon(r,d,e)},union:function(e,t){return f(e,t,r.selectUnion)},intersect:function(e,t){return f(e,t,r.selectIntersect)},difference:function(e,t){return f(e,t,r.selectDifference)},differenceRev:function(e,t){return f(e,t,r.selectDifferenceRev)},xor:function(e,t){return f(e,t,r.selectXor)}},"object"==typeof window&&(window.PolyBool=r),e.exports=r})),s.register("1u60H",(function(e,t){e.exports=function(){var e,t=0,r=!1;function n(t,r){return e.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return n("check",{seg1:e,seg2:t})},segmentChop:function(e,t){return n("div_seg",{seg:e,pt:t}),n("chop",{seg:e,pt:t})},statusRemove:function(e){return n("pop_seg",{seg:e})},segmentUpdate:function(e){return n("seg_update",{seg:e})},segmentNew:function(e,t){return n("new_seg",{seg:e,primary:t})},segmentRemove:function(e){return n("rem_seg",{seg:e})},tempStatus:function(e,t,r){return n("temp_status",{seg:e,above:t,below:r})},rewind:function(e){return n("rewind",{seg:e})},status:function(e,t,r){return n("status",{seg:e,above:t,below:r})},vert:function(t){return t===r?e:(r=t,n("vert",{x:t}))},log:function(e){return"string"!=typeof e&&(e=JSON.stringify(e,!1," ")),n("log",{txt:e})},reset:function(){return n("reset")},selected:function(e){return n("selected",{segs:e})},chainStart:function(e){return n("chain_start",{seg:e})},chainRemoveHead:function(e,t){return n("chain_rem_head",{index:e,pt:t})},chainRemoveTail:function(e,t){return n("chain_rem_tail",{index:e,pt:t})},chainNew:function(e,t){return n("chain_new",{pt1:e,pt2:t})},chainMatch:function(e){return n("chain_match",{index:e})},chainClose:function(e){return n("chain_close",{index:e})},chainAddHead:function(e,t){return n("chain_add_head",{index:e,pt:t})},chainAddTail:function(e,t){return n("chain_add_tail",{index:e,pt:t})},chainConnect:function(e,t){return n("chain_con",{index1:e,index2:t})},chainReverse:function(e){return n("chain_rev",{index:e})},chainJoin:function(e,t){return n("chain_join",{index1:e,index2:t})},done:function(){return n("done")}}}})),s.register("ZBoaZ",(function(e,t){e.exports=function(e){"number"!=typeof e&&(e=1e-10);var t={epsilon:function(t){return"number"==typeof t&&(e=t),e},pointAboveOrOnLine:function(t,r,n){var a=r[0],i=r[1],o=n[0],l=n[1],s=t[0];return(o-a)*(t[1]-i)-(l-i)*(s-a)>=-e},pointBetween:function(t,r,n){var a=t[1]-r[1],i=n[0]-r[0],o=t[0]-r[0],l=n[1]-r[1],s=o*i+a*l;return!(s-e)},pointsSameX:function(t,r){return Math.abs(t[0]-r[0])e!=o-a>e&&(i-c)*(a-u)/(o-u)+c-n>e&&(l=!l),i=c,o=u}return l}};return t}})),s.register("2Sjtx",(function(e,t){var r=s("6XBww");e.exports=function(e,t,n){function a(e,t,r){return{id:n?n.segmentId():-1,start:e,end:t,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var i=r.create();function o(e,r){i.insertBefore(e,(function(n){return function(e,r,n,a,i,o){var l=t.pointsCompare(r,i);return 0!==l?l:t.pointsSame(n,o)?0:e!==a?e?1:-1:t.pointAboveOrOnLine(n,a?i:o,a?o:i)?1:-1}(e.isStart,e.pt,r,n.isStart,n.pt,n.other.pt)<0}))}function l(e,t){var n,a,i,l=(n=e,a=t,o(i=r.node({isStart:!0,pt:n.start,seg:n,primary:a,other:null,status:null}),n.end),i);return function(e,t,n){var a=r.node({isStart:!1,pt:t.end,seg:t,primary:n,other:e,status:null});e.other=a,o(a,e.pt)}(l,e,t),l}function s(e,t){var r,i,s=a(t,e.seg.end,e.seg);return r=e,i=t,n&&n.segmentChop(r.seg,i),r.other.remove(),r.seg.end=i,r.other.pt=i,o(r.other,r.pt),l(s,e.primary)}function c(a,o){var l=r.create();function c(e){return l.findTransition((function(r){var n,a,i,o,l,s;return n=e,a=r.ev,i=n.seg.start,o=n.seg.end,l=a.seg.start,s=a.seg.end,(t.pointsCollinear(i,l,s)?t.pointsCollinear(o,l,s)||t.pointAboveOrOnLine(o,l,s)?1:-1:t.pointAboveOrOnLine(i,l,s)?1:-1)>0}))}function u(e,r){var a=e.seg,i=r.seg,o=a.start,l=a.end,c=i.start,u=i.end;n&&n.checkIntersection(a,i);var d=t.linesIntersect(o,l,c,u);if(!1===d){if(!t.pointsCollinear(o,l,c))return!1;if(t.pointsSame(o,u)||t.pointsSame(l,c))return!1;var f=t.pointsSame(o,c),h=t.pointsSame(l,u);if(f&&h)return r;var p=!f&&t.pointBetween(o,c,u),g=!h&&t.pointBetween(l,c,u);if(f)return g?s(r,l):s(e,u),r;p&&(h||(g?s(r,l):s(e,u)),s(r,o))}else 0===d.alongA&&(-1===d.alongB?s(e,c):0===d.alongB?s(e,d.pt):1===d.alongB&&s(e,u)),0===d.alongB&&(-1===d.alongA?s(r,o):0===d.alongA?s(r,d.pt):1===d.alongA&&s(r,l));return!1}for(var d=[];!i.isEmpty();){var f=i.getHead();if(n&&n.vert(f.pt[0]),f.isStart){n&&n.segmentNew(f.seg,f.primary);var h=c(f),p=h.before?h.before.ev:null,g=h.after?h.after.ev:null;function v(){if(p){var e=u(f,p);if(e)return e}return!!g&&u(f,g)}n&&n.tempStatus(f.seg,!!p&&p.seg,!!g&&g.seg);var m,y=v();if(y)e?(m=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below)&&(y.seg.myFill.above=!y.seg.myFill.above):y.seg.otherFill=f.seg.myFill,n&&n.segmentUpdate(y.seg),f.other.remove(),f.remove();if(i.getHead()!==f){n&&n.rewind(f.seg);continue}if(e)m=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below,f.seg.myFill.below=g?g.seg.myFill.above:a,f.seg.myFill.above=m?!f.seg.myFill.below:f.seg.myFill.below;else if(null===f.seg.otherFill){var x;x=g?f.primary===g.primary?g.seg.otherFill.above:g.seg.myFill.above:f.primary?o:a,f.seg.otherFill={above:x,below:x}}n&&n.status(f.seg,!!p&&p.seg,!!g&&g.seg),f.other.status=h.insert(r.node({ev:f}))}else{var b=f.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(l.exists(b.prev)&&l.exists(b.next)&&u(b.prev.ev,b.next.ev),n&&n.statusRemove(b.ev.seg),b.remove(),!f.primary){var _=f.seg.myFill;f.seg.myFill=f.seg.otherFill,f.seg.otherFill=_}d.push(f.seg)}i.getHead().remove()}return n&&n.done(),d}return e?{addRegion:function(e){for(var r,a,i,o=e[e.length-1],s=0;si||c===n||cl||t&&s(e))}:function(e,t){var s=e[0],c=e[1];if(s===n||si||c===n||cl)return!1;var u,d,f,h,p,g=r.length,v=r[0][0],m=r[0][1],y=0;for(u=1;uMath.max(d,v)||c>Math.max(f,m)))if(cu||Math.abs(r(o,f))>a)return!0;return!1},a.filter=function(e,t){var r=[e[0]],n=0,i=0;function o(o){e.push(o);var l=r.length,s=n;r.splice(i+1);for(var c=s+1;c1&&o(e.pop()),{addPt:o,raw:e,filtered:r}}})),s.register("6cUxK",(function(e,t){var n,a,i,o;r(e.exports,"isAddVal",(()=>n),(e=>n=e)),r(e.exports,"isRemoveVal",(()=>o),(e=>o=e)),r(e.exports,"containerArrayMatch",(()=>a),(e=>a=e)),r(e.exports,"applyContainerArrayChanges",(()=>i),(e=>i=e));var l=s("2bwwe"),c=s("77Ix4"),u=s("1NWKZ"),d=s("5LcuG").sorterAsc,f=s("4Hxcc");a=s("cnH6u");var h=n=function(e){return"add"===e||l(e)},p=o=function(e){return null===e||"remove"===e};i=function(e,t,r,n,a){var i=t.astr,o=f.getComponentMethod(i,"supplyLayoutDefaults"),l=f.getComponentMethod(i,"draw"),s=f.getComponentMethod(i,"drawOne"),g=n.replot||n.recalc||o===c||l===c,v=e.layout,m=e._fullLayout;if(r[""]){Object.keys(r).length>1&&u.warn("Full array edits are incompatible with other edits",i);var y=r[""][""];if(p(y))t.set(null);else{if(!Array.isArray(y))return u.warn("Unrecognized full array edit value",i,y),!0;t.set(y)}return!g&&(o(v,m),l(e),!0)}var x,b,_,w,k,T,M,A,S=Object.keys(r).map(Number).sort(d),L=t.get(),C=L||[],I=a(m,i).get(),O=[],D=-1,z=C.length;for(x=0;xC.length-(M?0:1))u.warn("index out of range",i,_);else if(void 0!==T)k.length>1&&u.warn("Insertion & removal are incompatible with edits to the same index.",i,_),p(T)?O.push(_):M?("add"===T&&(T={}),C.splice(_,0,T),I&&I.splice(_,0,{})):u.warn("Unrecognized full object edit value",i,_,T),-1===D&&(D=_);else for(b=0;b=0;x--)C.splice(O[x],1),I&&I.splice(O[x],1);if(C.length?L||t.set(C):t.set(null),g)return!1;if(o(v,m),s!==c){var P;if(-1===D)P=S;else{for(z=Math.max(C.length,z),P=[],x=0;x=D);x++)P.push(_);for(x=D;xa),(e=>a=e)),r(e.exports,"manageArrayContainers",(()=>o),(e=>o=e)),r(e.exports,"clearAxisTypes",(()=>d),(e=>d=e)),r(e.exports,"cleanLayout",(()=>c),(e=>c=e)),r(e.exports,"hasParent",(()=>i),(e=>i=e)),r(e.exports,"coerceTraceIndices",(()=>l),(e=>l=e)),r(e.exports,"cleanData",(()=>u),(e=>u=e)),r(e.exports,"swapXYData",(()=>n),(e=>n=e));var f=s("6qr5h"),h=s("5tz2B"),p=s("4Hxcc"),g=s("1nIvY"),v=s("3BndS"),m=s("22HUI"),y=s("3N5m7"),x=m.cleanId,b=m.getFromTrace,_=p.traceIs;function w(e,t){var r=e[t],n=t.charAt(0);r&&"paper"!==r&&(e[t]=x(r,n,!0))}function k(e){function t(t,r){var n=e[t],a=e.title&&e.title[r];n&&!a&&(e.title||(e.title={}),e.title[r]=e[t],delete e[t])}e&&("string"!=typeof e.title&&"number"!=typeof e.title||(e.title={text:e.title}),t("titlefont","font"),t("titleposition","position"),t("titleside","side"),t("titleoffset","offset"))}function T(e){if(!g.isPlainObject(e))return!1;var t=e.name;return delete e.name,delete e.showlegend,("string"==typeof t||"number"==typeof t)&&String(t)}function M(e,t,r,n){if(r&&!n)return e;if(n&&!r)return t;if(!e.trim())return t;if(!t.trim())return e;var a,i=Math.min(e.length,t.length);for(a=0;a0&&g.log("Clearing previous rejected promises from queue."),e._promises=[]},c=function(e){var t,r;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var n=(v.subplotsRegistry.cartesian||{}).attrRegex,a=(v.subplotsRegistry.polar||{}).attrRegex,i=(v.subplotsRegistry.ternary||{}).attrRegex,o=(v.subplotsRegistry.gl3d||{}).attrRegex,l=Object.keys(e);for(t=0;t3?(z.x=1.02,z.xanchor="left"):z.x<-2&&(z.x=-.02,z.xanchor="right"),z.y>3?(z.y=1.02,z.yanchor="bottom"):z.y<-2&&(z.y=-.02,z.yanchor="top")),k(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),y.clean(e),e.template&&e.template.layout&&c(e.template.layout),e},u=function(e){for(var t=0;t0)return e.substr(0,t)}i=function(e,t){for(var r=C(t);r;){if(r in e)return!0;r=C(r)}return!1};var I=["x","y","z"];d=function(e,t,r){for(var n=0;nh),(e=>h=e)),r(e.exports,"revokeObjectURL",(()=>a),(e=>a=e)),r(e.exports,"getRedrawFunc",(()=>n),(e=>n=e)),r(e.exports,"createBlob",(()=>i),(e=>i=e)),r(e.exports,"octetStream",(()=>d),(e=>d=e)),r(e.exports,"encodeJSON",(()=>f),(e=>f=e)),r(e.exports,"IMAGE_URL_PREFIX",(()=>l),(e=>l=e)),r(e.exports,"encodeSVG",(()=>u),(e=>u=e)),r(e.exports,"MSG_IE_BAD_FORMAT",(()=>o),(e=>o=e)),r(e.exports,"getDelay",(()=>c),(e=>c=e));var p=s("4Hxcc");c=function(e){return e._has&&(e._has("gl3d")||e._has("gl2d")||e._has("mapbox"))?500:0},n=function(e){return function(){var t=e._fullLayout||{};(!t._has||!t._has("polar"))&&e.data&&e.data[0]&&e.data[0].r||p.getComponentMethod("colorbar","draw")(e)}},u=function(e){return"data:image/svg+xml,"+encodeURIComponent(e)},f=function(e){return"data:application/json,"+encodeURIComponent(e)};var g=window.URL||window.webkitURL;h=function(e){return g.createObjectURL(e)},a=function(e){return g.revokeObjectURL(e)},i=function(e,t){if("svg"===t)return new window.Blob([e],{type:"image/svg+xml;charset=utf-8"});if("full-json"===t)return new window.Blob([e],{type:"application/json;charset=utf-8"});var r=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),a=0;a")?"":M.html(e).text()})),M.remove(),S=(S=(S=A).replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(u,"'"),n.isIE()&&(S=(S=(S=S.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),S}})),s.register("5B7kc",(function(e,t){"use strict";var r=s("1nIvY"),n=s("4jc2y").EventEmitter,a=s("3N1mF");e.exports=function(e){var t=e.emitter||new n,i=new Promise((function(n,o){var l=window.Image,s=e.svg,c=e.format||"png";if(r.isIE()&&"svg"!==c){var u=new Error(a.MSG_IE_BAD_FORMAT);return o(u),e.promise?i:t.emit("error",u)}var d,f,h=e.canvas,p=e.scale||1,g=e.width||300,v=e.height||150,m=p*g,y=p*v,x=h.getContext("2d"),b=new l;"svg"===c||r.isIE9orBelow()||r.isSafari()?f=a.encodeSVG(s):(d=a.createBlob(s,"svg"),f=a.createObjectURL(d)),h.width=m,h.height=y,b.onload=function(){var r;switch(d=null,a.revokeObjectURL(f),"svg"!==c&&x.drawImage(b,0,0,m,y),c){case"jpeg":r=h.toDataURL("image/jpeg");break;case"png":r=h.toDataURL("image/png");break;case"webp":r=h.toDataURL("image/webp");break;case"svg":r=f;break;default:var i="Image format is not jpeg, png, svg or webp.";if(o(new Error(i)),!e.promise)return t.emit("error",i)}n(r),e.promise||t.emit("success",r)},b.onerror=function(r){if(d=null,a.revokeObjectURL(f),o(r),!e.promise)return t.emit("error",r)},b.src=f}));return e.promise?i:t}})),s.register("1B45K",(function(e,t){"use strict";var r=s("1nIvY"),n=s("3BndS"),a=s("4UWmi"),i=s("24AkC").dfltConfig,o=r.isPlainObject,l=Array.isArray,c=r.isArrayOrTypedArray;function u(e,t,n,a,i,s){s=s||[];for(var d=Object.keys(e),f=0;fx.length&&a.push(p("unused",i,m.concat(x.length)));var M,A,S,L,C,I=x.length,O=Array.isArray(T);if(O&&(I=Math.min(I,T.length)),2===b.dimensions)for(A=0;Ax[A].length&&a.push(p("unused",i,m.concat(A,x[A].length)));var D=x[A].length;for(M=0;M<(O?Math.min(D,T[A].length):D);M++)S=O?T[A][M]:T,L=y[A][M],C=x[A][M],r.validate(L,S)?C!==L&&C!==+L&&a.push(p("dynamic",i,m.concat(A,M),L,C)):a.push(p("value",i,m.concat(A,M),L))}else a.push(p("array",i,m.concat(A),y[A]));else for(A=0;A1&&h.push(p("object","layout"))),n.supplyDefaults(g);for(var v=g._fullData,m=s.length,y=0;ya),(e=>a=e)),r(e.exports,"makeTemplate",(()=>n),(e=>n=e));var i=s("1nIvY"),o=i.isPlainObject,l=s("4UWmi"),c=s("3BndS"),u=s("5zAUi"),d=s("1IyjK"),f=s("24AkC").dfltConfig;function h(e,t){e=i.extendDeep({},e);var r,n,a=Object.keys(e).sort();function l(t,r,a){if(o(r)&&o(t))h(t,r);else if(Array.isArray(r)&&Array.isArray(t)){var i=d.arrayTemplater({_template:e},a);for(n=0;nk?s.push({code:"unused",traceType:g,templateCount:w,dataCount:k}):k>w&&s.push({code:"reused",traceType:g,templateCount:w,dataCount:k})}}else s.push({code:"data"});if(function e(t,r){for(var n in t)if("_"!==n.charAt(0)){var a=t[n],i=y(t,n,r);o(a)?(Array.isArray(t)&&!1===a._template&&a.templateitemname&&s.push({code:"missing",path:i,templateitemname:a.templateitemname}),e(a,i)):Array.isArray(a)&&x(a)&&e(a,i)}}({data:d,layout:u},""),s.length)return s.map(b)}})),s.register("2IDEe",(function(e,t){"use strict";var r=s("5EGfs");e.exports={hasLines:r.hasLines,hasMarkers:r.hasMarkers,hasText:r.hasText,isBubble:r.isBubble,attributes:s("2oxdA"),supplyDefaults:s("27xl1"),crossTraceDefaults:s("5V1gf"),calc:s("ERg3I").calc,crossTraceCalc:s("NNNef"),arraysToCalcdata:s("5SII0"),plot:s("5d1Gr"),colorbar:s("6mMRq"),formatLabels:s("1inVk"),style:s("1AGAa").style,styleOnSelect:s("1AGAa").styleOnSelect,hoverPoints:s("6W6HN"),selectPoints:s("4f7ZS"),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:s("44dhM"),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{description:["The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts.","The data visualized as scatter point or lines is set in `x` and `y`.","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}})),s.register("27xl1",(function(e,t){"use strict";var r=s("1nIvY"),n=s("4Hxcc"),a=s("2oxdA"),i=s("4We8O"),o=s("5EGfs"),l=s("3ziEk"),c=s("42Vbv"),u=s("5c4u8"),d=s("6MkR1"),f=s("6pFg0"),h=s("3HWE8"),p=s("6JOEF"),g=s("74Fe5");e.exports=function(e,t,s,v){function m(n,i){return r.coerce(e,t,a,n,i)}var y=l(e,t,v,m);if(y||(t.visible=!1),t.visible){c(e,t,v,m);var x=u(e,t,v,m),b=!x&&y=0;a--){var i=e[a];if("scatter"===i.type&&i.xaxis===r.xaxis&&i.yaxis===r.yaxis){i.opacity=void 0;break}}}}}})),s.register("ERg3I",(function(e,t){"use strict";var r=s("6qr5h"),n=s("1nIvY"),a=s("1nE8l"),i=s("1Lgaj"),o=s("10TEj").BADNUM,l=s("5EGfs"),c=s("1DEwk"),u=s("5SII0"),d=s("6LyZ0");function f(e,t,r,n,i,o,s){var c=t._length,u=e._fullLayout,d=r._id,f=n._id,h=u._firstScatter[g(t)]===t.uid,p=(v(t,u,r,n)||{}).orientation,m=t.fill;r._minDtick=0,n._minDtick=0;var y={padded:!0},x={padded:!0};s&&(y.ppad=x.ppad=s);var b=c<2||i[0]!==i[c-1]||o[0]!==o[c-1];b&&("tozerox"===m||"tonextx"===m&&(h||"h"===p))?y.tozero=!0:(t.error_y||{}).visible||"tonexty"!==m&&"tozeroy"!==m&&(l.hasMarkers(t)||l.hasText(t))||(y.padded=!1,y.ppad=0),b&&("tozeroy"===m||"tonexty"===m&&(h||"v"===p))?x.tozero=!0:"tonextx"!==m&&"tozerox"!==m||(x.padded=!1),d&&(t._extremes[d]=a.findExtremes(r,i,y)),f&&(t._extremes[f]=a.findExtremes(n,o,x))}function h(e,t){if(l.hasMarkers(e)){var r,i=e.marker,o=1.6*(e.marker.sizeref||1);if(r="area"===e.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/o),3)}:function(e){return Math.max((e||0)/o,3)},n.isArrayOrTypedArray(i.size)){var s={type:"linear"};a.setConvert(s);for(var c=s.makeCalcdata(e.marker,"size"),u=new Array(t),d=0;ds&&L[m].gap;)m--;for(x=L[m].s,g=L.length-1;g>m;g--)L[g].s=x;for(;s0&&Math.round(d)===d))return l;c=d}for(var f=t.calendar,h="start"===s,p="end"===s,g=e[n+"period0"],v=a(g,f)||0,m=[],y=l.length,x=0;xk;)w=i(w,-c,f);for(;w<=k;)w=i(w,c,f);_=i(w,-c,f)}else{for(w=v+(b=Math.round((k-v)/u))*u;w>k;)w-=u;for(;w<=k;)w+=u;_=w-u}m[x]=h?_:p?w:(_+w)/2}return m}})),s.register("1DEwk",(function(e,t){"use strict";var r=s("hpg1L").hasColorscale,n=s("3RzCY"),a=s("5EGfs");e.exports=function(e,t){a.hasLines(t)&&r(t,"line")&&n(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),a.hasMarkers(t)&&(r(t,"marker")&&n(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),r(t,"marker.line")&&n(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}})),s.register("5SII0",(function(e,t){"use strict";var r=s("1nIvY");e.exports=function(e,t){for(var n=0;nA[u]&&u=u[0]&&e.x<=u[1]&&e.y>=d[0]&&e.y<=d[1]})),g=Math.ceil(p.length/h),v=0;o.forEach((function(e,r){var n=e[0].trace;c.hasMarkers(n)&&n.marker.maxdisplayed>0&&r0;function y(e){return m?e.transition():e}var x=s.xaxis,b=s.yaxis,_=d[0].trace,w=_.line,k=r.select(p),T=i(k,"g","errorbars"),M=i(k,"g","lines"),A=i(k,"g","points"),S=i(k,"g","text");if(n.getComponentMethod("errorbars","plot")(e,T,s,g),!0===_.visible){var L,C;y(k).style("opacity",_.opacity);var I=_.fill.charAt(_.fill.length-1);"x"!==I&&"y"!==I&&(I=""),d[0][s.isRangePlot?"nodeRangePlot3":"node3"]=k;var O,D,z="",P=[],j=_._prevtrace;j&&(z=j._prevRevpath||"",C=j._nextFill,P=j._polygons);var E,R,N,F,H,B,U,q="",V="",Y=[],G=a.noop;if(L=_._ownFill,c.hasLines(_)||"none"!==_.fill){for(C&&C.datum(d),-1!==["hv","vh","hvh","vhv"].indexOf(w.shape)?(E=l.steps(w.shape),R=l.steps(w.shape.split("").reverse().join(""))):E=R="spline"===w.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?l.smoothclosed(e.slice(1),w.smoothing):l.smoothopen(e,w.smoothing)}:function(e){return"M"+e.join("L")},N=function(e){return R(e.reverse())},Y=u(d,{xaxis:x,yaxis:b,connectGaps:_.connectgaps,baseTolerance:Math.max(w.width||1,3)/4,shape:w.shape,simplify:w.simplify,fill:_.fill}),U=_._polygons=new Array(Y.length),v=0;v1){var n=r.select(this);if(n.datum(d),e)y(n.style("opacity",0).attr("d",O).call(l.lineGroupStyle)).style("opacity",1);else{var a=y(n);a.attr("d",O),l.singleLineStyle(d,a)}}}}}var Z=M.selectAll(".js-line").data(Y);y(Z.exit()).style("opacity",0).remove(),Z.each(G(!1)),Z.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(l.lineGroupStyle).each(G(!0)),l.setClipUrl(Z,s.layerClipId,e),Y.length?(L?(L.datum(d),F&&B&&(I?("y"===I?F[1]=B[1]=b.c2p(0,!0):"x"===I&&(F[0]=B[0]=x.c2p(0,!0)),y(L).attr("d","M"+B+"L"+F+"L"+q.substr(1)).call(l.singleFillStyle)):y(L).attr("d",q+"Z").call(l.singleFillStyle))):C&&("tonext"===_.fill.substr(0,6)&&q&&z?("tonext"===_.fill?y(C).attr("d",q+"Z"+z+"Z").call(l.singleFillStyle):y(C).attr("d",q+"L"+z.substr(1)+"Z").call(l.singleFillStyle),_._polygons=_._polygons.concat(P)):(X(C),_._polygons=null)),_._prevRevpath=V,_._prevPolygons=U):(L?X(L):C&&X(C),_._polygons=_._prevRevpath=_._prevPolygons=null),A.datum(d),S.datum(d),function(t,n,a){var i,u=a[0].trace,d=c.hasMarkers(u),f=c.hasText(u),h=function(e){if(e.ids)return $}(u),p=ee,g=ee;if(d||f){var v=o,_=u.stackgroup,w=_&&"infer zero"===e._fullLayout._scatterStackOpts[x._id+b._id][_].stackgaps;u.marker.maxdisplayed||u._needsCull?v=w?J:Q:_&&!w&&(v=K),d&&(p=v),f&&(g=v)}var k,T=(i=t.selectAll("path.point").data(p,h)).enter().append("path").classed("point",!0);m&&T.call(l.pointStyle,u,e).call(l.translatePoints,x,b).style("opacity",0).transition().style("opacity",1),i.order(),d&&(k=l.makePointStyleFns(u)),i.each((function(t){var n=r.select(this),a=y(n);l.translatePoint(t,a,x,b)?(l.singlePointStyle(t,a,u,k,e),s.layerClipId&&l.hideOutsideRangePoint(t,a,x,b,u.xcalendar,u.ycalendar),u.customdata&&n.classed("plotly-customdata",null!==t.data&&void 0!==t.data)):a.remove()})),m?i.exit().transition().style("opacity",0).remove():i.exit().remove(),(i=n.selectAll("g").data(g,h)).enter().append("g").classed("textpoint",!0).append("text"),i.order(),i.each((function(e){var t=r.select(this),n=y(t.select("text"));l.translatePoint(e,n,x,b)?s.layerClipId&&l.hideOutsideRangePoint(e,t,x,b,u.xcalendar,u.ycalendar):t.remove()})),i.selectAll("text").call(l.textPointStyle,u,e).each((function(e){var t=x.c2p(e.x),n=b.c2p(e.y);r.select(this).selectAll("tspan.line").each((function(){y(r.select(this)).attr({x:t,y:n})}))})),i.exit().remove()}(A,S,d);var W=!1===_.cliponaxis?null:s.layerClipId;l.setClipUrl(A,W,e),l.setClipUrl(S,W,e)}function X(e){y(e).attr("d","M0,0Z")}function Q(e){return e.filter((function(e){return!e.gap&&e.vis}))}function J(e){return e.filter((function(e){return e.vis}))}function K(e){return e.filter((function(e){return!e.gap}))}function $(e){return e.id}function ee(){return!1}}e.exports=function(e,t,n,a,s,c){var u,f,p,g,v=!s,m=!!s&&s.duration>0,y=d(e,t,n);(u=a.selectAll("g.trace").data(y,(function(e){return e[0].trace.uid}))).enter().append("g").attr("class",(function(e){return"trace scatter trace"+e[0].trace.uid})).style("stroke-miterlimit",2),u.order(),p=e,g=t,u.each((function(e){var t=i(r.select(this),"g","fills");l.setClipUrl(t,g.layerClipId,p);var n=e[0].trace,a=[];n._ownfill&&a.push("_ownFill"),n._nexttrace&&a.push("_nextFill");var s=t.selectAll("g").data(a,o);s.enter().append("g"),s.exit().each((function(e){n[e]=null})).remove(),s.order().each((function(e){n[e]=i(r.select(this),"path","js-fill")}))})),m?(c&&(f=c()),r.transition().duration(s.duration).ease(s.easing).each("end",(function(){f&&f()})).each("interrupt",(function(){f&&f()})).each((function(){a.selectAll("g.trace").each((function(r,n){h(e,n,t,r,y,this,s)}))}))):u.each((function(r,n){h(e,n,t,r,y,this,s)})),v&&u.exit().remove(),a.selectAll("path:not([d])").remove()}})),s.register("3s7Io",(function(e,t){"use strict";var r=s("10TEj"),n=r.BADNUM,a=r.LOG_CLIP,i=a+.5,o=a-.5,l=s("1nIvY"),c=l.segmentsIntersect,u=l.constrain,d=s("4We8O");e.exports=function(e,t){var r,a,s,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S=t.xaxis,L=t.yaxis,C="log"===S.type,I="log"===L.type,O=S._length,D=L._length,z=t.connectGaps,P=t.baseTolerance,j=t.shape,E="linear"===j,R=t.fill&&"none"!==t.fill,N=[],F=d.minTolerance,H=e.length,B=new Array(H),U=0;function q(r){var a=e[r];if(!a)return!1;var l=t.linearized?S.l2p(a.x):S.c2p(a.x),s=t.linearized?L.l2p(a.y):L.c2p(a.y);if(l===n){if(C&&(l=S.c2p(a.x,!0)),l===n)return!1;I&&s===n&&(l*=Math.abs(S._m*D*(S._m>0?i:o)/(L._m*O*(L._m>0?i:o)))),l*=1e3}if(s===n){if(I&&(s=L.c2p(a.y,!0)),s===n)return!1;s*=1e3}return[l,s]}function V(e,t,r,n){var a=r-e,i=n-t,o=.5-e,l=.5-t,s=a*a+i*i,c=a*o+i*l;if(c>0&&cre||e[1]ae)return[u(e[0],te,re),u(e[1],ne,ae)]}function le(e,t){return e[0]===t[0]&&(e[0]===te||e[0]===re)||e[1]===t[1]&&(e[1]===ne||e[1]===ae)||void 0}function se(e,t,r){return function(n,a){var i=oe(n),o=oe(a),s=[];if(i&&o&&le(i,o))return s;i&&s.push(i),o&&s.push(o);var c=2*l.constrain((n[e]+a[e])/2,t,r)-((i||n)[e]+(o||a)[e]);return c&&((i&&o?c>0==i[e]>o[e]?i:o:i||o)[e]+=c),s}}function ce(e){var t=e[0],r=e[1],n=t===B[U-1][0],a=r===B[U-1][1];if(!n||!a)if(U>1){var i=t===B[U-2][0],o=r===B[U-2][1];n&&(t===te||t===re)&&i?o?U--:B[U-1]=e:a&&(r===ne||r===ae)&&o?i?U--:B[U-1]=e:B[U++]=e}else B[U++]=e}function ue(e){B[U-1][0]!==e[0]&&B[U-1][1]!==e[1]&&ce([X,Q]),ce(e),J=null,X=Q=0}function de(e){if(M=e[0]/O,A=e[1]/D,Z=e[0]re?re:0,W=e[1]ae?ae:0,Z||W){if(U)if(J){var t=$(J,e);t.length>1&&(ue(t[0]),B[U++]=t[1])}else K=$(B[U-1],e)[0],B[U++]=K;else B[U++]=[Z||e[0],W||e[1]];var r=B[U-1];Z&&W&&(r[0]!==Z||r[1]!==W)?(J&&(X!==Z&&Q!==W?ce(X&&Q?(n=J,i=(a=e)[0]-n[0],o=(a[1]-n[1])/i,(n[1]*a[0]-a[1]*n[0])/i>0?[o>0?te:re,ae]:[o>0?re:te,ne]):[X||Z,Q||W]):X&&Q&&ce([X,Q])),ce([Z,W])):X-Z&&Q-W&&ce([Z||X,W||Q]),J=e,X=Z,Q=W}else J&&ue($(J,e)[0]),B[U++]=e;var n,a,i,o}for("linear"===j||"spline"===j?$=function(e,t){for(var r=[],n=0,a=0;a<4;a++){var i=ie[a],o=c(e[0],e[1],t[0],t[1],i[0],i[1],i[2],i[3]);o&&(!n||Math.abs(o.x-r[0][0])>1||Math.abs(o.y-r[0][1])>1)&&(o=[o.x,o.y],n&&G(o,e)Y(p,fe))break;s=p,(_=m[0]*v[0]+m[1]*v[1])>x?(x=_,f=p,g=!1):_=e.length||!p)break;de(p),a=p}}else de(f)}J&&ce([X||J[0],Q||J[1]]),N.push(B.slice(0,U))}return N}})),s.register("S2Ypv",(function(e,t){"use strict";var r={tonextx:1,tonexty:1,tonext:1};e.exports=function(e,t,n){var a,i,o,l,s,c={},u=!1,d=-1,f=0,h=-1;for(i=0;i=0?s=h:(s=h=f,f++),sY!=(R=D[I][1])>=Y&&(P=D[I-1][0],j=D[I][0],R-E&&(z=P+(j-P)*(Y-E)/(R-E),B=Math.min(B,z),U=Math.max(U,z)));B=Math.max(B,0),U=Math.min(U,f._length);var G=o.defaultLine;return o.opacity(d.fillcolor)?G=d.fillcolor:o.opacity((d.line||{}).color)&&(G=d.line.color),r.extendFlat(e,{distance:e.maxHoverDistance,x0:B,x1:U,y0:Y,y1:Y,color:G,hovertemplate:!1}),delete e.index,d.text&&!Array.isArray(d.text)?e.text=String(d.text):e.text=d.name,[e]}}}})),s.register("6iH0j",(function(e,t){"use strict";var r=s("3N5m7"),n=s("5EGfs");e.exports=function(e,t){var a,i;if("lines"===e.mode)return(a=e.line.color)&&r.opacity(a)?a:e.fillcolor;if("none"===e.mode)return e.fill?e.fillcolor:"";var o=t.mcc||(e.marker||{}).color,l=t.mlcc||((e.marker||{}).line||{}).color;return(i=o&&r.opacity(o)?o:l&&r.opacity(l)&&(t.mlw||((e.marker||{}).line||{}).width)?l:"")?r.opacity(i)<.3?r.addOpacity(i,.3):i:(a=(e.line||{}).color)&&r.opacity(a)&&n.hasLines(e)&&e.line.width?a:e.fillcolor}})),s.register("4f7ZS",(function(e,t){"use strict";var r=s("5EGfs");e.exports=function(e,t){var n,a,i,o,l=e.cd,s=e.xaxis,c=e.yaxis,u=[],d=l[0].trace;if(!r.hasMarkers(d)&&!r.hasText(d))return[];if(!1===t)for(n=0;np),(e=>p=e)),r(e.exports,"finalizeSubplots",(()=>h),(e=>h=e)),r(e.exports,"supplyLayoutDefaults",(()=>f),(e=>f=e)),r(e.exports,"rangePlot",(()=>m),(e=>m=e)),r(e.exports,"clean",(()=>c),(e=>c=e)),r(e.exports,"plot",(()=>u),(e=>u=e)),r(e.exports,"toSVG",(()=>y),(e=>y=e)),r(e.exports,"layoutAttributes",(()=>o),(e=>o=e)),r(e.exports,"attrRegex",(()=>i),(e=>i=e)),r(e.exports,"drawFramework",(()=>l),(e=>l=e)),r(e.exports,"idRegex",(()=>a),(e=>a=e)),r(e.exports,"updateFx",(()=>x),(e=>x=e)),r(e.exports,"attr",(()=>n),(e=>n=e)),r(e.exports,"transitionAxes",(()=>v),(e=>v=e)),r(e.exports,"idRoot",(()=>d),(e=>d=e)),r(e.exports,"attributes",(()=>g),(e=>g=e));var b=s("4Wia9"),_=s("4Hxcc"),w=s("1nIvY"),k=s("3BndS"),T=s("7jar4"),M=s("CkVc5").getModuleCalcData,A=s("22HUI"),S=s("5Lafm"),L=s("ipXll"),C=w.ensureSingle;function I(e,t,r){return w.ensureSingle(e,t,r,(function(e){e.datum(r)}))}function O(e,t,r,n,a){for(var i,o,l,s=S.traceLayerClasses,c=e._fullLayout,u=c._modules,d=[],f=[],h=0;h0&&(a["_"+r+"axes"]||{})[t])return a;if((a[r+"axis"]||r)===t){if(i(a,r))return a;if((a[r]||[]).length||a[r+"0"])return a}}}(t,l,s);if(c)if("histogram"!==c.type||s!=={v:"y",h:"x"}[c.orientation||"v"]){var u=s+"calendar",d=c[u],f={noMultiCategory:!r(c,"cartesian")||r(c,"noMultiCategory")};if("box"===c.type&&c._hasPreCompStats&&s==={h:"x",v:"y"}[c.orientation||"v"]&&(f.noMultiCategory=!0),f.autotypenumbers=e.autotypenumbers,i(c,s)){var h=a(c),p=[];for(o=0;o=2){var s,c,u="";if(2===l.length)for(s=0;s<2;s++)if(c=y(l[s])){u=p;break}var d=i("pattern",u);if(d===p)for(s=0;s<2;s++)(c=y(l[s]))&&(t.bounds[s]=l[s]=c-1);if(d)for(s=0;s<2;s++)switch(c=l[s],d){case p:if(!r(c))return void(t.enabled=!1);if((c=+c)!==Math.floor(c)||c<0||c>=7)return void(t.enabled=!1);t.bounds[s]=l[s]=c;break;case g:if(!r(c))return void(t.enabled=!1);if((c=+c)<0||c>24)return void(t.enabled=!1);t.bounds[s]=l[s]=c}if(!1===n.autorange){var f=n.range;if(f[0]f[1])return void(t.enabled=!1)}else if(l[0]>f[0]&&l[1]0;o&&(a="array");var l,s=r("categoryorder",a);"array"===s&&(l=r("categoryarray")),o||"array"!==s||(s=t.categoryorder="trace"),"trace"===s?t._initialCategories=[]:"array"===s?t._initialCategories=l.slice():(l=function(e,t){var r,n,a,i=t.dataAttr||e._id.charAt(0),o={};if(t.axData)r=t.axData;else for(r=[],n=0;ng[1]-1/4096&&(t.domain=l),n.noneOrAll(e.domain,t.domain,l)}return a("layer"),t}})),s.register("51dhs",(function(e,t){"use strict";var r=s("4Wia9"),n=s("4Hxcc"),a=s("1nIvY"),i=s("7jar4"),o=s("1nE8l");e.exports=function(e,t,l,s){var c=e._fullLayout;if(0!==t.length){var u,d,f,h;s&&(u=s());var p=r.ease(l.easing);return e._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(h),h=null,function(){for(var r={},a=0;al.duration?(function(){for(var r={},a=0;a rect").call(i.setTranslate,0,0).call(i.setScale,1,1),e.plot.call(i.setTranslate,t._offset,r._offset).call(i.setScale,1,1);var n=e.plot.selectAll(".scatterlayer .trace");n.selectAll(".point").call(i.setPointGroupScale,1,1),n.selectAll(".textpoint").call(i.setTextPointsScale,1,1),n.call(i.hideOutsideRangePoints,e)}function v(t,r){var n=t.plotinfo,l=n.xaxis,s=n.yaxis,c=l._length,u=s._length,d=!!t.xr1,f=!!t.yr1,h=[];if(d){var p=a.simpleMap(t.xr0,l.r2l),g=a.simpleMap(t.xr1,l.r2l),v=p[1]-p[0],m=g[1]-g[0];h[0]=(p[0]*(1-r)+r*g[0]-p[0])/(p[1]-p[0])*c,h[2]=c*(1-r+r*m/v),l.range[0]=l.l2r(p[0]*(1-r)+r*g[0]),l.range[1]=l.l2r(p[1]*(1-r)+r*g[1])}else h[0]=0,h[2]=c;if(f){var y=a.simpleMap(t.yr0,s.r2l),x=a.simpleMap(t.yr1,s.r2l),b=y[1]-y[0],_=x[1]-x[0];h[1]=(y[1]*(1-r)+r*x[1]-y[1])/(y[0]-y[1])*u,h[3]=u*(1-r+r*_/b),s.range[0]=l.l2r(y[0]*(1-r)+r*x[0]),s.range[1]=s.l2r(y[1]*(1-r)+r*x[1])}else h[1]=0,h[3]=u;o.drawOne(e,l,{skipTitle:!0}),o.drawOne(e,s,{skipTitle:!0}),o.redrawComponents(e,[l._id,s._id]);var w=d?c/h[2]:1,k=f?u/h[3]:1,T=d?h[0]:0,M=f?h[1]:0,A=d?h[0]/h[2]*c:0,S=f?h[1]/h[3]*u:0,L=l._offset-A,C=s._offset-S;n.clipRect.call(i.setTranslate,T,M).call(i.setScale,1/w,1/k),n.plot.call(i.setTranslate,L,C).call(i.setScale,w,k),i.setPointGroupScale(n.zoomScalePts,1/w,1/k),i.setTextPointsScale(n.zoomScaleTxt,1/w,1/k)}o.redrawComponents(e)}})),s.register("5ORhk",(function(e,t){"use strict";e.exports={moduleType:"component",name:"legend",layoutAttributes:s("1rDLs"),supplyLayoutDefaults:s("3YXj5"),draw:s("Zg88i"),style:s("1RGiq")}})),s.register("6sYXG",(function(e,t){"use strict";var r=s("16smZ"),n=s("grj1e");e.exports={moduleType:"component",name:"annotations",layoutAttributes:s("561nh"),supplyLayoutDefaults:s("4TIVN"),includeBasePlot:s("1084d")("annotations"),calcAutorange:s("1RAko"),draw:r.draw,drawOne:r.drawOne,drawRaw:r.drawRaw,hasClickToShow:n.hasClickToShow,onClick:n.onClick,convertCoords:s("5qB2n")}})),s.register("16smZ",(function(e,t){"use strict";var r=s("4Wia9"),n=s("4Hxcc"),a=s("3BndS"),i=s("1nIvY"),o=i.strTranslate,l=s("1nE8l"),c=s("3N5m7"),u=s("7jar4"),d=s("FNU2H"),f=s("49Q6h"),h=s("3kB5v"),p=s("NlhQs"),g=s("1IyjK").arrayEditor,v=s("1riSa");function m(e,t){var r=e._fullLayout.annotations[t]||{},n=l.getFromId(e,r.xref),a=l.getFromId(e,r.yref);n&&n.setScale(),a&&a.setScale(),x(e,r,t,!1,n,a)}function y(e,t,r,n,a){var i=a[r],o=a[r+"ref"],s=-1!==r.indexOf("y"),c="domain"===l.getRefType(o),u=s?n.h:n.w;return e?c?i+(s?-t:t)/e._length:e.p2r(e.r2p(i)+t):i+(s?-t:t)/u}function x(e,t,a,s,m,x){var b,_,w=e._fullLayout,k=e._fullLayout._size,T=e._context.edits;s?(b="annotation-"+s,_=s+".annotations"):(b="annotation",_="annotations");var M=g(e.layout,_,t),A=M.modifyBase,S=M.modifyItem,L=M.getUpdateObj;w._infolayer.selectAll("."+b+'[data-index="'+a+'"]').remove();var C="clip"+w._uid+"_ann"+a;if(t._input&&!1!==t.visible){var I={x:{},y:{}},O=+t.textangle||0,D=w._infolayer.append("g").classed(b,!0).attr("data-index",String(a)).style("opacity",t.opacity),z=D.append("g").classed("annotation-text-g",!0),P=T[t.showarrow?"annotationTail":"annotationPosition"],j=t.captureevents||T.annotationText||P,E=z.append("g").style("pointer-events",j?"all":null).call(h,"pointer").on("click",(function(){e._dragging=!1,e.emit("plotly_clickannotation",G(r.event))}));t.hovertext&&E.on("mouseover",(function(){var r=t.hoverlabel,n=r.font,a=this.getBoundingClientRect(),i=e.getBoundingClientRect();d.loneHover({x0:a.left-i.left,x1:a.right-i.left,y:(a.top+a.bottom)/2-i.top,text:t.hovertext,color:r.bgcolor,borderColor:r.bordercolor,fontFamily:n.family,fontSize:n.size,fontColor:n.color},{container:w._hoverlayer.node(),outerContainer:w._paper.node(),gd:e})})).on("mouseout",(function(){d.loneUnhover(w._hoverlayer.node())}));var R=t.borderwidth,N=t.borderpad,F=R+N,H=E.append("rect").attr("class","bg").style("stroke-width",R+"px").call(c.stroke,t.bordercolor).call(c.fill,t.bgcolor),B=t.width||t.height,U=w._topclips.selectAll("#"+C).data(B?[0]:[]);U.enter().append("clipPath").classed("annclip",!0).attr("id",C).append("rect"),U.exit().remove();var q=t.font,V=w._meta?i.templateString(t.text,w._meta):t.text,Y=E.append("text").classed("annotation-text",!0).text(V);T.annotationText?Y.call(f.makeEditable,{delegate:E,gd:e}).call(Z).on("edit",(function(r){t.text=r,this.call(Z),S("text",r),m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0),n.call("_guiRelayout",e,L())})):Y.call(Z)}else r.selectAll("#"+C).remove();function G(e){var r={index:a,annotation:t._input,fullAnnotation:t,event:e};return s&&(r.subplotId=s),r}function Z(r){return r.call(u.font,q).attr({"text-anchor":{left:"start",right:"end"}[t.align]||"middle"}),f.convertToTspans(r,e,W),r}function W(){var r=Y.selectAll("a");1===r.size()&&r.text()===Y.text()&&E.insert("a",":first-child").attr({"xlink:xlink:href":r.attr("xlink:href"),"xlink:xlink:show":r.attr("xlink:show")}).style({cursor:"pointer"}).node().appendChild(H.node());var a=E.select(".annotation-text-math-group"),d=!a.empty(),g=u.bBox((d?a:Y).node()),b=g.width,_=g.height,M=t.width||b,j=t.height||_,N=Math.round(M+2*F),q=Math.round(j+2*F);function V(e,t){return"auto"===t&&(t=e<1/3?"left":e>2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}for(var Z=!1,W=["x","y"],X=0;X1)&&(ne===re?((he=ae.r2fraction(t["a"+te]))<0||he>1)&&(Z=!0):Z=!0),Q=ae._offset+ae.r2p(t[te]),$=.5}else{var pe="domain"===fe;"x"===te?(K=t[te],Q=pe?ae._offset+ae._length*K:Q=k.l+k.w*K):(K=1-t[te],Q=pe?ae._offset+ae._length*K:Q=k.t+k.h*K),$=t.showarrow?.5:K}if(t.showarrow){de.head=Q;var ge=t["a"+te];if(ee=oe*V(.5,t.xanchor)-le*V(.5,t.yanchor),ne===re){var ve=l.getRefType(ne);"domain"===ve?("y"===te&&(ge=1-ge),de.tail=ae._offset+ae._length*ge):"paper"===ve?"y"===te?(ge=1-ge,de.tail=k.t+k.h*ge):de.tail=k.l+k.w*ge:de.tail=ae._offset+ae.r2p(ge),J=ee}else de.tail=Q+ge,J=ee+ge;de.text=de.tail+ee;var me=w["x"===te?"width":"height"];if("paper"===re&&(de.head=i.constrain(de.head,1,me-1)),"pixel"===ne){var ye=-Math.max(de.tail-3,de.text),xe=Math.min(de.tail+3,de.text)-me;ye>0?(de.tail+=ye,de.text+=ye):xe>0&&(de.tail-=xe,de.text-=xe)}de.tail+=ue,de.head+=ue}else J=ee=se*V($,ce),de.text=Q+ee;de.text+=ue,ee+=ue,J+=ue,t["_"+te+"padplus"]=se/2+J,t["_"+te+"padminus"]=se/2-J,t["_"+te+"size"]=se,t["_"+te+"shift"]=ee}if(Z)E.remove();else{var be=0,_e=0;if("left"!==t.align&&(be=(M-b)*("center"===t.align?.5:1)),"top"!==t.valign&&(_e=(j-_)*("middle"===t.valign?.5:1)),d)a.select("svg").attr({x:F+be-1,y:F+_e}).call(u.setClipUrl,B?C:null,e);else{var we=F+_e-g.top,ke=F+be-g.left;Y.call(f.positionText,ke,we).call(u.setClipUrl,B?C:null,e)}U.select("rect").call(u.setRect,F,F,M,j),H.call(u.setRect,R/2,R/2,N-R,q-R),E.call(u.setTranslate,Math.round(I.x.text-N/2),Math.round(I.y.text-q/2)),z.attr({transform:"rotate("+O+","+I.x.text+","+I.y.text+")"});var Te,Me=function(r,a){D.selectAll(".annotation-arrow-g").remove();var l=I.x.head,d=I.y.head,f=I.x.tail+r,h=I.y.tail+a,g=I.x.text+r,b=I.y.text+a,_=i.rotationXYMatrix(O,g,b),w=i.apply2DTransform(_),M=i.apply2DTransform2(_),C=+H.attr("width"),P=+H.attr("height"),j=g-.5*C,R=j+C,N=b-.5*P,F=N+P,B=[[j,N,j,F],[j,F,R,F],[R,F,R,N],[R,N,j,N]].map(M);if(!B.reduce((function(e,t){return e^!!i.segmentsIntersect(l,d,l+1e6,d+1e6,t[0],t[1],t[2],t[3])}),!1)){B.forEach((function(e){var t=i.segmentsIntersect(f,h,l,d,e[0],e[1],e[2],e[3]);t&&(f=t.x,h=t.y)}));var U=t.arrowwidth,q=t.arrowcolor,V=t.arrowside,Y=D.append("g").style({opacity:c.opacity(q)}).classed("annotation-arrow-g",!0),G=Y.append("path").attr("d","M"+f+","+h+"L"+l+","+d).style("stroke-width",U+"px").call(c.stroke,c.rgb(q));if(v(G,V,t),T.annotationPosition&&G.node().parentNode&&!s){var Z=l,W=d;if(t.standoff){var X=Math.sqrt(Math.pow(l-f,2)+Math.pow(d-h,2));Z+=t.standoff*(f-l)/X,W+=t.standoff*(h-d)/X}var Q,J,K=Y.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(f-Z)+","+(h-W),transform:o(Z,W)}).style("stroke-width",U+6+"px").call(c.stroke,"rgba(0,0,0,0)").call(c.fill,"rgba(0,0,0,0)");p.init({element:K.node(),gd:e,prepFn:function(){var e=u.getTranslate(E);Q=e.x,J=e.y,m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0)},moveFn:function(e,r){var n=w(Q,J),a=n[0]+e,i=n[1]+r;E.call(u.setTranslate,a,i),S("x",y(m,e,"x",k,t)),S("y",y(x,r,"y",k,t)),t.axref===t.xref&&S("ax",y(m,e,"ax",k,t)),t.ayref===t.yref&&S("ay",y(x,r,"ay",k,t)),Y.attr("transform",o(e,r)),z.attr({transform:"rotate("+O+","+a+","+i+")"})},doneFn:function(){n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}};t.showarrow&&Me(0,0),P&&p.init({element:E.node(),gd:e,prepFn:function(){Te=z.attr("transform")},moveFn:function(e,r){var n="pointer";if(t.showarrow)t.axref===t.xref?S("ax",y(m,e,"ax",k,t)):S("ax",t.ax+e),t.ayref===t.yref?S("ay",y(x,r,"ay",k.w,t)):S("ay",t.ay+r),Me(e,r);else{if(s)return;var a,i;if(m)a=y(m,e,"x",k,t);else{var l=t._xsize/k.w,c=t.x+(t._xshift-t.xshift)/k.w-l/2;a=p.align(c+e/k.w,l,0,1,t.xanchor)}if(x)i=y(x,r,"y",k,t);else{var u=t._ysize/k.h,d=t.y-(t._yshift+t.yshift)/k.h-u/2;i=p.align(d-r/k.h,u,0,1,t.yanchor)}S("x",a),S("y",i),m&&x||(n=p.getCursor(m?.5:a,x?.5:i,t.xanchor,t.yanchor))}z.attr({transform:o(e,r)+Te}),h(E,n)},clickFn:function(r,n){t.captureevents&&e.emit("plotly_clickannotation",G(n))},doneFn:function(){h(E),n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}}e.exports={draw:function(e){var t=e._fullLayout;t._infolayer.selectAll(".annotation").remove();for(var r=0;r=0,x=t.indexOf("end")>=0,b=p.backoff*v+i.standoff,_=g.backoff*m+i.startstandoff;if("line"===h.nodeName){s={x:+e.attr("x1"),y:+e.attr("y1")},u={x:+e.attr("x2"),y:+e.attr("y2")};var w=s.x-u.x,k=s.y-u.y;if(f=(d=Math.atan2(k,w))+Math.PI,b&&_&&b+_>Math.sqrt(w*w+k*k))return void P();if(b){if(b*b>w*w+k*k)return void P();var T=b*Math.cos(d),M=b*Math.sin(d);u.x+=T,u.y+=M,e.attr({x2:u.x,y2:u.y})}if(_){if(_*_>w*w+k*k)return void P();var A=_*Math.cos(d),S=_*Math.sin(d);s.x-=A,s.y-=S,e.attr({x1:s.x,y1:s.y})}}else if("path"===h.nodeName){var L=h.getTotalLength(),C="";if(L0||r.explicitOff.length>0},onClick:function(e,t){var o,l,s=i(e,t),c=s.on,u=s.off.concat(s.explicitOff),d={},f=e._fullLayout.annotations;if(c.length||u.length){for(o=0;o), bold (), italics (),","hyperlinks (). Tags , , "," are also supported."].join(" ")},textangle:{valType:"angle",dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets the angle at which the `text` is drawn","with respect to the horizontal."].join(" ")},font:n({editType:"calc+arraydraw",colorEditType:"arraydraw",description:"Sets the annotation text font."}),width:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit width for the text box. null (default) lets the","text set the box width. Wider text will be clipped.","There is no automatic wrapping; use
to start a new line."].join(" ")},height:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit height for the text box. null (default) lets the","text set the box height. Taller text will be clipped."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"style",editType:"arraydraw",description:"Sets the opacity of the annotation (text + arrow)."},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",role:"style",editType:"arraydraw",description:["Sets the horizontal alignment of the `text` within the box.","Has an effect only if `text` spans two or more lines","(i.e. `text` contains one or more
HTML tags) or if an","explicit width is set to override the text width."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"arraydraw",description:["Sets the vertical alignment of the `text` within the box.","Has an effect only if an explicit height is set to override","the text height."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:"Sets the background color of the annotation."},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:["Sets the color of the border enclosing the annotation `text`."].join(" ")},borderpad:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the padding (in px) between the `text`","and the enclosing border."].join(" ")},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the width (in px) of the border enclosing","the annotation `text`."].join(" ")},showarrow:{valType:"boolean",dflt:!0,role:"style",editType:"calc+arraydraw",description:["Determines whether or not the annotation is drawn with an arrow.","If *true*, `text` is placed near the arrow's tail.","If *false*, `text` lines up with the `x` and `y` provided."].join(" ")},arrowcolor:{valType:"color",role:"style",editType:"arraydraw",description:"Sets the color of the annotation arrow."},arrowhead:{valType:"integer",min:0,max:r.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the end annotation arrow head style."},startarrowhead:{valType:"integer",min:0,max:r.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the start annotation arrow head style."},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",role:"style",editType:"arraydraw",description:"Sets the annotation arrow head position."},arrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the end annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},startarrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the start annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},arrowwidth:{valType:"number",min:.1,role:"style",editType:"calc+arraydraw",description:"Sets the width (in px) of annotation arrow line."},standoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the end arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},startstandoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the start arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},ax:{valType:"any",role:"info",editType:"calc+arraydraw",description:[c("x","left","right")].join(" ")},ay:{valType:"any",role:"info",editType:"calc+arraydraw",description:[c("y","top","bottom")].join(" ")},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",o.axisRefDescription("ax","left","right"),l("x")].join(" ")},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",o.axisRefDescription("ay","bottom","top"),l("y")].join(" ")},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],role:"info",editType:"calc",description:["Sets the annotation's x coordinate axis.",o.axisRefDescription("x","left","right")].join(" ")},x:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's x position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's horizontal position anchor","This anchor binds the `x` position to the *left*, *center*","or *right* of the annotation.","For example, if `x` is set to 1, `xref` to *paper* and","`xanchor` to *right* then the right-most portion of the","annotation lines up with the right-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *center* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},xshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow to the","right (positive) or left (negative) by this many pixels."].join(" ")},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],role:"info",editType:"calc",description:["Sets the annotation's y coordinate axis.",o.axisRefDescription("y","bottom","top")].join(" ")},y:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's y position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the annotation.","For example, if `y` is set to 1, `yref` to *paper* and","`yanchor` to *top* then the top-most portion of the","annotation lines up with the top-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *middle* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},yshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow up","(positive) or down (negative) by this many pixels."].join(" ")},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,role:"style",editType:"arraydraw",description:["Makes this annotation respond to clicks on the plot.","If you click a data point that exactly matches the `x` and `y`","values of this annotation, and it is hidden (visible: false),","it will appear. In *onoff* mode, you must click the same point","again to make it disappear, so if you click multiple points,","you can show multiple annotations. In *onout* mode, a click","anywhere else in the plot (on another data point or not) will","hide this annotation.","If you need to show/hide this annotation in response to different","`x` or `y` values, you can set `xclick` and/or `yclick`. This is","useful for example to label the side of a bar. To label markers","though, `standoff` is preferred over `xclick` and `yclick`."].join(" ")},xclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `x` value","is `xclick` rather than the annotation's `x` value."].join(" ")},yclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `y` value","is `yclick` rather than the annotation's `y` value."].join(" ")},hovertext:{valType:"string",role:"info",editType:"arraydraw",description:["Sets text to appear when hovering over this annotation.","If omitted or blank, no hover label will appear."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the background color of the hover label.","By default uses the annotation's `bgcolor` made opaque,","or white if it was transparent."].join(" ")},bordercolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the border color of the hover label.","By default uses either dark grey or white, for maximum","contrast with `hoverlabel.bgcolor`."].join(" ")},font:n({editType:"arraydraw",description:["Sets the hover label text font.","By default uses the global hover font and size,","with color from `hoverlabel.bordercolor`."].join(" ")}),editType:"arraydraw"},captureevents:{valType:"boolean",role:"info",editType:"arraydraw",description:["Determines whether the annotation text box captures mouse move","and click events, or allows those events to pass through to data","points in the plot that may be behind the annotation. By default","`captureevents` is *false* unless `hovertext` is provided.","If you use the event `plotly_clickannotation` without `hovertext`","you must explicitly enable `captureevents`."].join(" ")},editType:"calc",_deprecated:{ref:{valType:"string",role:"info",editType:"calc",description:["Obsolete. Set `xref` and `yref` separately instead."].join(" ")}}})})),s.register("6WOiC",(function(e,t){"use strict";e.exports={axisRefDescription:function(e,t,r){return["If set to a",e,"axis id (e.g. *"+e+"* or","*"+e+"2*), the `"+e+"` position refers to a",e,"coordinate. If set to *paper*, the `"+e+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+r+"). If set to a",e,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+e+"2 domain* refers to the domain of the second",e," axis and a",e,"position of 0.5 refers to the","point between the",t,"and the",r,"of the domain of the","second",e,"axis."].join(" ")}}})),s.register("4TIVN",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1nE8l"),a=s("6pAgU"),i=s("3oYmn"),o=s("561nh");function l(e,t,a){function l(n,a){return r.coerce(e,t,o,n,a)}var s=l("visible"),c=l("clicktoshow");if(s||c){i(e,t,a,l);for(var u=t.showarrow,d=["x","y"],f=[-10,-30],h={_fullLayout:a},p=0;p<2;p++){var g=d[p],v=n.coerceRef(e,t,h,g,"","paper");if("paper"!==v&&n.getFromId(h,v)._annIndices.push(t._index),n.coercePosition(t,h,l,v,g,.5),u){var m="a"+g,y=n.coerceRef(e,t,h,m,"pixel",["pixel","paper"]);"pixel"!==y&&y!==v&&(y=t[m]="pixel");var x="pixel"===y?f[p]:.4;n.coercePosition(t,h,l,y,m,x)}l(g+"anchor"),l(g+"shift")}if(r.noneOrAll(e,t,["x","y"]),u&&r.noneOrAll(e,t,["ax","ay"]),c){var b=l("xclick"),_=l("yclick");t._xclick=void 0===b?t.x:n.cleanPosition(b,h,t.xref),t._yclick=void 0===_?t.y:n.cleanPosition(_,h,t.yref)}}}e.exports=function(e,t){a(e,t,{name:"annotations",handleItemDefaults:l})}})),s.register("3oYmn",(function(e,t){"use strict";var r=s("1nIvY"),n=s("3N5m7");e.exports=function(e,t,a,i){i("opacity");var o=i("bgcolor"),l=i("bordercolor"),s=n.opacity(l);i("borderpad");var c=i("borderwidth"),u=i("showarrow");if(i("text",u?" ":a._dfltTitle.annotation),i("textangle"),r.coerceFont(i,"font",a.font),i("width"),i("align"),i("height")&&i("valign"),u){var d,f,h=i("arrowside");-1!==h.indexOf("end")&&(d=i("arrowhead"),f=i("arrowsize")),-1!==h.indexOf("start")&&(i("startarrowhead",d),i("startarrowsize",f)),i("arrowcolor",s?t.bordercolor:n.defaultLine),i("arrowwidth",2*(s&&c||1)),i("standoff"),i("startstandoff")}var p=i("hovertext"),g=a.hoverlabel||{};if(p){var v=i("hoverlabel.bgcolor",g.bgcolor||(n.opacity(o)?n.rgb(o):n.defaultLine)),m=i("hoverlabel.bordercolor",g.bordercolor||n.contrast(v));r.coerceFont(i,"hoverlabel.font",{family:g.font.family,size:g.font.size,color:g.font.color||m})}i("captureevents",!!p)}})),s.register("1084d",(function(e,t){"use strict";var r=s("4Hxcc"),n=s("1nIvY"),a=s("22HUI");e.exports=function(e){return function(t,i){var o=t[e];if(Array.isArray(o))for(var l=r.subplotsRegistry.cartesian,s=l.idRegex,c=i._subplots,u=c.xaxis,d=c.yaxis,f=c.cartesian,h=i._has("cartesian")||i._has("gl2d"),p=0;p1){c=!0;break}}c?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+l+'"]').remove():(s._pdata=n(e.glplot.cameraParams,[t.xaxis.r2l(s.x)*i[0],t.yaxis.r2l(s.y)*i[1],t.zaxis.r2l(s.z)*i[2]]),r(e.graphDiv,s,l,e.id,s._xa,s._ya))}}})),s.register("2uHIJ",(function(e,t){"use strict";function r(e,t){var r,n,a=[0,0,0,0];for(r=0;r<4;++r)for(n=0;n<4;++n)a[n]+=e[4*r+n]*t[r];return a}e.exports=function(e,t){return r(e.projection,r(e.view,r(e.model,[t[0],t[1],t[2],1])))}})),s.register("3PzhP",(function(e,t){"use strict";var r=s("2zBj0");e.exports={moduleType:"component",name:"shapes",layoutAttributes:s("6RBR1"),supplyLayoutDefaults:s("6NGbH"),supplyDrawNewShapeDefaults:s("7Bm2t"),includeBasePlot:s("1084d")("shapes"),calcAutorange:s("7fcSN"),draw:r.draw,drawOne:r.drawOne}})),s.register("6RBR1",(function(e,t){"use strict";var r=s("561nh"),n=s("2oxdA").line,a=s("5wAu8").dash,i=s("1ZM4z").extendFlat,o=s("1IyjK").templatedArray,l=s("6WOiC");e.exports=o("shape",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this shape is visible."].join(" ")},type:{valType:"enumerated",values:["circle","rect","path","line"],role:"info",editType:"calc+arraydraw",description:["Specifies the shape type to be drawn.","If *line*, a line is drawn from (`x0`,`y0`) to (`x1`,`y1`)","with respect to the axes' sizing mode.","If *circle*, a circle is drawn from","((`x0`+`x1`)/2, (`y0`+`y1`)/2))","with radius","(|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|)","with respect to the axes' sizing mode.","If *rect*, a rectangle is drawn linking","(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)","with respect to the axes' sizing mode.","If *path*, draw a custom SVG path using `path`.","with respect to the axes' sizing mode."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:"Specifies whether shapes are drawn below or above traces."},xref:i({},r.xref,{description:["Sets the shape's x coordinate axis.",l.axisRefDescription("x","left","right"),"If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, then you must convert","the date to unix time in milliseconds."].join(" ")}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the x axis.","If set to *scaled*, `x0`, `x1` and x coordinates within `path` refer to","data values on the x axis or a fraction of the plot area's width","(`xref` set to *paper*).","If set to *pixel*, `xanchor` specifies the x position in terms","of data or plot fraction but `x0`, `x1` and x coordinates within `path`","are pixels relative to `xanchor`. This way, the shape can have","a fixed width while maintaining a position relative to data or","plot fraction."].join(" ")},xanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `xsizemode` set to *pixel*.","Specifies the anchor point on the x axis to which `x0`, `x1`","and x coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `xsizemode` not set to *pixel*."].join(" ")},x0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting x position.","See `type` and `xsizemode` for more info."].join(" ")},x1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end x position.","See `type` and `xsizemode` for more info."].join(" ")},yref:i({},r.yref,{description:["Sets the annotation's y coordinate axis.",l.axisRefDescription("y","bottom","top")].join(" ")}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the y axis.","If set to *scaled*, `y0`, `y1` and y coordinates within `path` refer to","data values on the y axis or a fraction of the plot area's height","(`yref` set to *paper*).","If set to *pixel*, `yanchor` specifies the y position in terms","of data or plot fraction but `y0`, `y1` and y coordinates within `path`","are pixels relative to `yanchor`. This way, the shape can have","a fixed height while maintaining a position relative to data or","plot fraction."].join(" ")},yanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `ysizemode` set to *pixel*.","Specifies the anchor point on the y axis to which `y0`, `y1`","and y coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `ysizemode` not set to *pixel*."].join(" ")},y0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting y position.","See `type` and `ysizemode` for more info."].join(" ")},y1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end y position.","See `type` and `ysizemode` for more info."].join(" ")},path:{valType:"string",role:"info",editType:"calc+arraydraw",description:["For `type` *path* - a valid SVG path with the pixel values","replaced by data values in `xsizemode`/`ysizemode` being *scaled*","and taken unmodified as pixels relative to `xanchor` and `yanchor`","in case of *pixel* size mode.","There are a few restrictions / quirks","only absolute instructions, not relative. So the allowed segments","are: M, L, H, V, Q, C, T, S, and Z","arcs (A) are not allowed because radius rx and ry are relative.","In the future we could consider supporting relative commands,","but we would have to decide on how to handle date and log axes.","Note that even as is, Q and C Bezier paths that are smooth on","linear axes may not be smooth on log, and vice versa.",'no chained "polybezier" commands - specify the segment type for',"each one.","On category axes, values are numbers scaled to the serial numbers","of categories because using the categories themselves there would","be no way to describe fractional positions","On data axes: because space and T are both normal components of path","strings, we can't use either to separate date from time parts.","Therefore we'll use underscore for this purpose:","2015-02-21_13:45:56.789"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"arraydraw",description:"Sets the opacity of the shape."},line:{color:i({},n.color,{editType:"arraydraw"}),width:i({},n.width,{editType:"calc+arraydraw"}),dash:i({},a,{editType:"arraydraw"}),role:"info",editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"arraydraw",description:["Sets the color filling the shape's interior. Only applies to closed shapes."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"arraydraw",description:["Determines which regions of complex paths constitute the interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},editable:{valType:"boolean",role:"info",dflt:!1,editType:"calc+arraydraw",description:["Determines whether the shape could be activated for edit or not.","Has no effect when the older editable shapes mode is enabled via","`config.editable` or `config.edits.shapePosition`."].join(" ")},editType:"arraydraw"})})),s.register("6NGbH",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1nE8l"),a=s("6pAgU"),i=s("6RBR1"),o=s("6VQ7W");function l(e,t,a){function l(n,a){return r.coerce(e,t,i,n,a)}if(l("visible")){var s=l("path"),c=l("type",s?"path":"rect");"path"!==t.type&&delete t.path,l("editable"),l("layer"),l("opacity"),l("fillcolor"),l("fillrule"),l("line.width")&&(l("line.color"),l("line.dash"));for(var u=l("xsizemode"),d=l("ysizemode"),f=["x","y"],h=0;h<2;h++){var p,g,v,m=f[h],y=m+"anchor",x="x"===m?u:d,b={_fullLayout:a},_=n.coerceRef(e,t,b,m,void 0,"paper");if("range"===n.getRefType(_)?((p=n.getFromId(b,_))._shapeIndices.push(t._index),v=o.rangeToShapePosition(p),g=o.shapePositionToRange(p)):g=v=r.identity,"path"!==c){var w=m+"0",k=m+"1",T=e[w],M=e[k];e[w]=g(e[w],!0),e[k]=g(e[k],!0),"pixel"===x?(l(w,0),l(k,10)):(n.coercePosition(t,b,l,_,w,.25),n.coercePosition(t,b,l,_,k,.75)),t[w]=v(t[w]),t[k]=v(t[k]),e[w]=T,e[k]=M}if("pixel"===x){var A=e[y];e[y]=g(e[y],!0),n.coercePosition(t,b,l,_,y,.25),t[y]=v(t[y]),e[y]=A}}"path"===c?l("path"):r.noneOrAll(e,t,["x0","x1","y0","y1"])}}e.exports=function(e,t){a(e,t,{name:"shapes",handleItemDefaults:l})}})),s.register("7Bm2t",(function(e,t){"use strict";var r=s("3N5m7");e.exports=function(e,t,n){if(n("newshape.drawdirection"),n("newshape.layer"),n("newshape.fillcolor"),n("newshape.fillrule"),n("newshape.opacity"),n("newshape.line.width")){var a=(e||{}).plot_bgcolor||"#FFF";n("newshape.line.color",r.contrast(a)),n("newshape.line.dash")}n("activeshape.fillcolor"),n("activeshape.opacity")}})),s.register("7fcSN",(function(e,t){"use strict";var r=s("1nIvY"),n=s("1nE8l"),a=s("fN6X1"),i=s("6VQ7W");function o(e){return c(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function l(e){return c(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function c(e,t,n,o,l,s){var c=e/2,u=s;if("pixel"===t){var d=l?i.extractPathCoords(l,s?a.paramIsY:a.paramIsX):[n,o],f=r.aggNums(Math.max,null,d),h=r.aggNums(Math.min,null,d),p=h<0?Math.abs(h)+c:c,g=f>0?f+c:c;return{ppad:c,ppadplus:u?p:g,ppadminus:u?g:p}}return{ppad:c}}function u(e,t,r,n,o){var l="category"===e.type||"multicategory"===e.type?e.r2c:e.d2c;if(void 0!==t)return[l(t),l(r)];if(n){var s,c,u,d,f=1/0,h=-1/0,p=n.match(a.segmentRE);for("date"===e.type&&(l=i.decodeDate(l)),s=0;sh&&(h=d)));return h>=f?[f,h]:void 0}}e.exports=function(e){var t=e._fullLayout,i=r.filterVisible(t.shapes);if(i.length&&e._fullData.length)for(var s=0;s0)&&(o("active"),o("direction"),o("type"),o("showactive"),o("x"),o("y"),r.noneOrAll(e,t,["x","y"]),o("xanchor"),o("yanchor"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),r.coerceFont(o,"font",i.font),o("bgcolor",i.paper_bgcolor),o("bordercolor"),o("borderwidth"))}function c(e,t){function n(n,a){return r.coerce(e,t,o,n,a)}n("visible","skip"===e.method||Array.isArray(e.args))&&(n("method"),n("args"),n("args2"),n("label"),n("execute"))}e.exports=function(e,t){n(e,t,{name:i,handleItemDefaults:l})}})),s.register("4QIlc",(function(e,t){"use strict";var r=s("4Wia9"),n=s("3BndS"),a=s("3N5m7"),i=s("7jar4"),o=s("1nIvY"),l=s("49Q6h"),c=s("1IyjK").arrayEditor,u=s("5n2uh").LINE_SPACING,d=s("2FbQ1"),f=s("2KBfh");function h(e){return e._index}function p(e,t){return+e.attr(d.menuIndexAttrName)===t._index}function g(e,t,r,n,a,i,o,l){t.active=o,c(e.layout,d.name,t).applyUpdate("active",o),"buttons"===t.type?m(e,n,null,null,t):"dropdown"===t.type&&(a.attr(d.menuIndexAttrName,"-1"),v(e,n,a,i,t),l||m(e,n,a,i,t))}function v(e,t,r,n,a){var l=o.ensureSingle(t,"g",d.headerClassName,(function(e){e.style("pointer-events","all")})),s=a._dims,c=a.active,u=a.buttons[c]||d.blankHeaderOpts,f={y:a.pad.t,yPad:0,x:a.pad.l,xPad:0,index:0},h={width:s.headerWidth,height:s.headerHeight};l.call(y,a,u,e).call(A,a,f,h),o.ensureSingle(t,"text",d.headerArrowClassName,(function(e){e.attr("text-anchor","end").call(i.font,a.font).text(d.arrowSymbol[a.direction])})).attr({x:s.headerWidth-d.arrowOffsetX+a.pad.l,y:s.headerHeight/2+d.textOffsetY+a.pad.t}),l.on("click",(function(){r.call(S,String(p(r,a)?-1:a._index)),m(e,t,r,n,a)})),l.on("mouseover",(function(){l.call(w)})),l.on("mouseout",(function(){l.call(k,a)})),i.setTranslate(t,s.lx,s.ly)}function m(e,t,a,i,l){a||(a=t).attr("pointer-events","all");var s=-1==+a.attr(d.menuIndexAttrName)&&"buttons"!==l.type?[]:l.buttons,c="dropdown"===l.type?d.dropdownButtonClassName:d.buttonClassName,u=a.selectAll("g."+c).data(o.filterVisible(s)),f=u.enter().append("g").classed(c,!0),h=u.exit();"dropdown"===l.type?(f.attr("opacity","0").transition().attr("opacity","1"),h.transition().attr("opacity","0").remove()):h.remove();var p=0,v=0,m=l._dims,x=-1!==["up","down"].indexOf(l.direction);"dropdown"===l.type&&(x?v=m.headerHeight+d.gapButtonHeader:p=m.headerWidth+d.gapButtonHeader),"dropdown"===l.type&&"up"===l.direction&&(v=-d.gapButtonHeader+d.gapButton-m.openHeight),"dropdown"===l.type&&"left"===l.direction&&(p=-d.gapButtonHeader+d.gapButton-m.openWidth);var b={x:m.lx+p+l.pad.l,y:m.ly+v+l.pad.t,yPad:d.gapButton,xPad:d.gapButton,index:0},T={l:b.x+l.borderwidth,t:b.y+l.borderwidth};u.each((function(o,s){var c=r.select(this);c.call(y,l,o,e).call(A,l,b),c.on("click",(function(){r.event.defaultPrevented||(o.execute&&(o.args2&&l.active===s?(g(e,l,0,t,a,i,-1),n.executeAPICommand(e,o.method,o.args2)):(g(e,l,0,t,a,i,s),n.executeAPICommand(e,o.method,o.args))),e.emit("plotly_buttonclicked",{menu:l,button:o,active:l.active}))})),c.on("mouseover",(function(){c.call(w)})),c.on("mouseout",(function(){c.call(k,l),u.call(_,l)}))})),u.call(_,l),x?(T.w=Math.max(m.openWidth,m.headerWidth),T.h=b.y-T.t):(T.w=b.x-T.l,T.h=Math.max(m.openHeight,m.headerHeight)),T.direction=l.direction,i&&(u.size()?function(e,t,r,n,a,i){var o,l,s,c=a.direction,u="up"===c||"down"===c,f=a._dims,h=a.active;if(u)for(l=0,s=0;s0?[0]:[]);if(l.enter().append("g").classed(d.containerClassName,!0).style("cursor","pointer"),l.exit().each((function(){r.select(this).selectAll("g."+d.headerGroupClassName).each(i)})).remove(),0!==a.length){var s=l.selectAll("g."+d.headerGroupClassName).data(a,h);s.enter().append("g").classed(d.headerGroupClassName,!0);for(var c=o.ensureSingle(l,"g",d.dropdownButtonGroupClassName,(function(e){e.style("pointer-events","all")})),u=0;uw,M=o.barLength+2*o.barPad,A=o.barWidth+2*o.barPad,S=p,L=v+m;L+A>c&&(L=c-A);var C=this.container.selectAll("rect.scrollbar-horizontal").data(T?[0]:[]);C.exit().on(".drag",null).remove(),C.enter().append("rect").classed("scrollbar-horizontal",!0).call(n.fill,o.barColor),T?(this.hbar=C.attr({rx:o.barRadius,ry:o.barRadius,x:S,y:L,width:M,height:A}),this._hbarXMin=S+M/2,this._hbarTranslateMax=w-M):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var I=m>k,O=o.barWidth+2*o.barPad,D=o.barLength+2*o.barPad,z=p+g,P=v;z+O>s&&(z=s-O);var j=this.container.selectAll("rect.scrollbar-vertical").data(I?[0]:[]);j.exit().on(".drag",null).remove(),j.enter().append("rect").classed("scrollbar-vertical",!0).call(n.fill,o.barColor),I?(this.vbar=j.attr({rx:o.barRadius,ry:o.barRadius,x:z,y:P,width:O,height:D}),this._vbarYMin=P+D/2,this._vbarTranslateMax=k-D):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var E=this.id,R=u-.5,N=I?d+O+.5:d+.5,F=f-.5,H=T?h+A+.5:h+.5,B=l._topdefs.selectAll("#"+E).data(T||I?[0]:[]);if(B.exit().remove(),B.enter().append("clipPath").attr("id",E).append("rect"),T||I?(this._clipRect=B.select("rect").attr({x:Math.floor(R),y:Math.floor(F),width:Math.ceil(N)-Math.floor(R),height:Math.ceil(H)-Math.floor(F)}),this.container.call(a.setClipUrl,E,this.gd),this.bg.attr({x:p,y:v,width:g,height:m})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),T||I){var U=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(U);var q=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault(),r.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));T&&this.hbar.on(".drag",null).call(q),I&&this.vbar.on(".drag",null).call(q)}this.setTranslate(t,i)},o.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},o.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=r.event.dx),this.vbar&&(t-=r.event.dy),this.setTranslate(e,t)},o.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=r.event.deltaY),this.vbar&&(t+=r.event.deltaY),this.setTranslate(e,t)},o.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var n=e+this._hbarXMin,a=n+this._hbarTranslateMax;e=(i.constrain(r.event.x,n,a)-n)/(a-n)*(this.position.w-this._box.w)}if(this.vbar){var o=t+this._vbarYMin,l=o+this._vbarTranslateMax;t=(i.constrain(r.event.y,o,l)-o)/(l-o)*(this.position.h-this._box.h)}this.setTranslate(e,t)},o.prototype.setTranslate=function(e,t){var r=this.position.w-this._box.w,n=this.position.h-this._box.h;if(e=i.constrain(e||0,0,r),t=i.constrain(t||0,0,n),this.translateX=e,this.translateY=t,this.container.call(a.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var o=e/r;this.hbar.call(a.setTranslate,e+o*this._hbarTranslateMax,t)}if(this.vbar){var l=t/n;this.vbar.call(a.setTranslate,e,t+l*this._vbarTranslateMax)}}})),s.register("6LgZ4",(function(e,t){"use strict";var r=s("6jqeg");e.exports={moduleType:"component",name:r.name,layoutAttributes:s("5OgGA"),supplyLayoutDefaults:s("6cUFq"),draw:s("hPtd4")}})),s.register("6jqeg",(function(e,t){"use strict";e.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}})),s.register("5OgGA",(function(e,t){"use strict";var r=s("10Nlb"),n=s("5zrJR"),a=s("1ZM4z").extendDeepAll,i=s("1bSCj").overrideAll,o=s("69Oag"),l=s("1IyjK").templatedArray,c=s("6jqeg"),u=l("step",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not this step is included in the slider."].join(" ")},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",role:"info",description:["Sets the Plotly method to be called when the slider value is changed.","If the `skip` method is used, the API slider will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","slider events manually via JavaScript."].join(" ")},args:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on slide."].join(" ")},label:{valType:"string",role:"info",description:"Sets the text label to appear on the slider"},value:{valType:"string",role:"info",description:["Sets the value of the slider step, used to refer to the step programatically.","Defaults to the slider label if not provided."].join(" ")},execute:{valType:"boolean",role:"info",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_sliderchange` method and executing the API command manually without losing","the benefit of the slider automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=i(l("slider",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not the slider is visible."].join(" ")},active:{valType:"number",role:"info",min:0,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this slider length","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the slider","This measure excludes the padding of both ends.","That is, the slider's length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the x position (in normalized coordinates) of the slider."},pad:a(n({editType:"arraydraw"}),{description:"Set the padding of the slider component along each side."},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",description:["Sets the slider's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the y position (in normalized coordinates) of the slider."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",role:"info",description:["Sets the slider's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},transition:{duration:{valType:"number",role:"info",min:0,dflt:150,description:"Sets the duration of the slider transition"},easing:{valType:"enumerated",values:o.transition.easing.values,role:"info",dflt:"cubic-in-out",description:"Sets the easing function of the slider transition"}},currentvalue:{visible:{valType:"boolean",role:"info",dflt:!0,description:["Shows the currently-selected value above the slider."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"info",description:["The alignment of the value readout relative to the length of the slider."].join(" ")},offset:{valType:"number",dflt:10,role:"info",description:["The amount of space, in pixels, between the current value label","and the slider."].join(" ")},prefix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the prefix of the label."},suffix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the suffix of the label."},font:r({description:"Sets the font of the current value label text."})},font:r({description:"Sets the font of the slider step labels."}),activebgcolor:{valType:"color",role:"style",dflt:c.gripBgActiveColor,description:["Sets the background color of the slider grip","while dragging."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:c.railBgColor,description:"Sets the background color of the slider."},bordercolor:{valType:"color",dflt:c.railBorderColor,role:"style",description:"Sets the color of the border enclosing the slider."},borderwidth:{valType:"number",min:0,dflt:c.railBorderWidth,role:"style",description:"Sets the width (in px) of the border enclosing the slider."},ticklen:{valType:"number",min:0,dflt:c.tickLength,role:"style",description:"Sets the length in pixels of step tick marks"},tickcolor:{valType:"color",dflt:c.tickColor,role:"style",description:"Sets the color of the border enclosing the slider."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",description:"Sets the tick width (in px)."},minorticklen:{valType:"number",min:0,dflt:c.minorTickLength,role:"style",description:"Sets the length in pixels of minor step tick marks"}}),"arraydraw","from-root")})),s.register("6cUFq",(function(e,t){"use strict";var r=s("1nIvY"),n=s("6pAgU"),a=s("5OgGA"),i=s("6jqeg").name,o=a.steps;function l(e,t,i){function o(n,i){return r.coerce(e,t,a,n,i)}for(var l=n(e,t,{name:"steps",handleItemDefaults:c}),s=0,u=0;u0&&(s=s.transition().duration(t.transition.duration).ease(t.transition.easing)),s.attr("transform",l(o-.5*d.gripWidth,t._dims.currentValueTotalHeight))}}function L(e,t){var r=e._dims;return r.inputAreaStart+d.stepInset+(r.inputAreaLength-2*d.stepInset)*Math.min(1,Math.max(0,t))}function C(e,t){var r=e._dims;return Math.min(1,Math.max(0,(t-d.stepInset-r.inputAreaStart)/(r.inputAreaLength-2*d.stepInset-2*r.inputAreaStart)))}function I(e,t,r){var n=r._dims,l=o.ensureSingle(e,"rect",d.railTouchRectClass,(function(n){n.call(M,t,e,r).style("pointer-events","all")}));l.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,d.tickOffset+r.ticklen+n.labelHeight)}).call(a.fill,r.bgcolor).attr("opacity",0),i.setTranslate(l,0,n.currentValueTotalHeight)}function O(e,t){var r=t._dims,n=r.inputAreaLength-2*d.railInset,l=o.ensureSingle(e,"rect",d.railRectClass);l.attr({width:n,height:d.railWidth,rx:d.railRadius,ry:d.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,t.bordercolor).call(a.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),i.setTranslate(l,d.railInset,.5*(r.inputAreaWidth-d.railWidth)+r.currentValueTotalHeight)}e.exports=function(e){var t=e._fullLayout,a=function(e,t){for(var r=e[d.name],n=[],a=0;a0?[0]:[]);function l(t){t._commandObserver&&(t._commandObserver.remove(),delete t._commandObserver),n.autoMargin(e,v(t))}if(o.enter().append("g").classed(d.containerClassName,!0).style("cursor","ew-resize"),o.exit().each((function(){r.select(this).selectAll("g."+d.groupClassName).each(l)})).remove(),0!==a.length){var s=o.selectAll("g."+d.groupClassName).data(a,m);s.enter().append("g").classed(d.groupClassName,!0),s.exit().each(l).remove();for(var c=0;cn),(e=>n=e)),r(e.exports,"makeData",(()=>i),(e=>i=e)),r(e.exports,"autoMarginOpts",(()=>a),(e=>a=e));var o=s("22HUI"),l=s("49Q6h"),c=s("38b57"),u=s("5n2uh").LINE_SPACING,d=c.name;function f(e){var t=e&&e[d];return t&&t.visible}n=f,i=function(e){var t=o.list({_fullLayout:e},"x",!0),r=e.margin,n=[];if(!e._has("gl2d"))for(var a=0;a=n.max)t=R[r+1];else if(e=n.pmax)t=R[r+1];else if(e0)){var g=function(e,t,r){for(var n=r.filter((function(r){return t[r].anchor===e._id})),a=0,i=0;i1){f||h||p||"independent"===T("pattern")&&(f=!0),v._hasSubplotGrid=f;var x,b,_="top to bottom"===T("roworder"),w=f?.2:.1,k=f?.3:.1;g&&t._splomGridDflt&&(x=t._splomGridDflt.xside,b=t._splomGridDflt.yside),v._domains={x:u("x",T,w,x,y),y:u("y",T,k,b,m,_)}}else delete t.grid}function T(e,t){return r.coerce(n,v,l,e,t)}},contentDefaults:function(e,t){var r=t.grid;if(r&&r._domains){var n,a,i,o,l,s,u,f=e.grid||{},h=t._subplots,p=r._hasSubplotGrid,g=r.rows,v=r.columns,m="independent"===r.pattern,y=r._axisMap={};if(p){var x=f.subplots||[];s=r.subplots=new Array(g);var b=1;for(n=0;nn),(e=>n=e)),r(e.exports,"attributes",(()=>a),(e=>a=e));var i=s("1ZM4z").extendFlat;a=function(e,t){t=t||{};var r={valType:"info_array",role:"info",editType:(e=e||{}).editType,items:[{valType:"number",min:0,max:1,editType:e.editType},{valType:"number",min:0,max:1,editType:e.editType}],dflt:[0,1]},n=e.name?e.name+" ":"",a=e.trace?"trace ":"subplot ",o=t.description?" "+t.description:"",l={x:i({},r,{description:["Sets the horizontal domain of this ",n,a,"(in plot fraction).",o].join("")}),y:i({},r,{description:["Sets the vertical domain of this ",n,a,"(in plot fraction).",o].join("")}),editType:e.editType};return e.noGridCell||(l.row={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this row in the grid for this ",n,a,".",o].join("")},l.column={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this column in the grid for this ",n,a,".",o].join("")}),l},n=function(e,t,r,n){var a=n&&n.x||[0,1],i=n&&n.y||[0,1],o=t.grid;if(o){var l=r("domain.column");void 0!==l&&(l0;t.each((function(t){var d,f=t[0].trace,h=f.error_x||{},p=f.error_y||{};f.ids&&(d=function(e){return e.id});var g=i.hasMarkers(f)&&f.marker.maxdisplayed>0;p.visible||h.visible||(t=[]);var v=r.select(this).selectAll("g.errorbar").data(t,d);if(v.exit().remove(),t.length){h.visible||v.selectAll("path.xerror").remove(),p.visible||v.selectAll("path.yerror").remove(),v.style("opacity",1);var m=v.enter().append("g").classed("errorbar",!0);u&&m.style("opacity",0).transition().duration(l.duration).style("opacity",1),a.setClipUrl(v,o.layerClipId,e),v.each((function(e){var t,a,i,o,d=r.select(this),f=(t=e,i=c,o={x:(a=s).c2p(t.x),y:i.c2p(t.y)},void 0!==t.yh&&(o.yh=i.c2p(t.yh),o.ys=i.c2p(t.ys),n(o.ys)||(o.noYS=!0,o.ys=i.c2p(t.ys,!0))),void 0!==t.xh&&(o.xh=a.c2p(t.xh),o.xs=a.c2p(t.xs),n(o.xs)||(o.noXS=!0,o.xs=a.c2p(t.xs,!0))),o);if(!g||e.vis){var v,m=d.select("path.yerror");if(p.visible&&n(f.x)&&n(f.yh)&&n(f.ys)){var y=p.width;v="M"+(f.x-y)+","+f.yh+"h"+2*y+"m-"+y+",0V"+f.ys,f.noYS||(v+="m-"+y+",0h"+2*y),m.size()?u&&(m=m.transition().duration(l.duration).ease(l.easing)):m=d.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0),m.attr("d",v)}else m.remove();var x=d.select("path.xerror");if(h.visible&&n(f.y)&&n(f.xh)&&n(f.xs)){var b=(h.copy_ystyle?p:h).width;v="M"+f.xh+","+(f.y-b)+"v"+2*b+"m0,-"+b+"H"+f.xs,f.noXS||(v+="m0,-"+b+"v"+2*b),x.size()?u&&(x=x.transition().duration(l.duration).ease(l.easing)):x=d.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0),x.attr("d",v)}else x.remove()}}))}}))}})),s.register("4trVw",(function(e,t){"use strict";var r=s("4Wia9"),n=s("3N5m7");e.exports=function(e){e.each((function(e){var t=e[0].trace,a=t.error_y||{},i=t.error_x||{},o=r.select(this);o.selectAll("path.yerror").style("stroke-width",a.thickness+"px").call(n.stroke,a.color),i.copy_ystyle&&(i=a),o.selectAll("path.xerror").style("stroke-width",i.thickness+"px").call(n.stroke,i.color)}))}})),s.register("5vWG9",(function(e,t){"use strict";e.exports={moduleType:"component",name:"colorbar",attributes:s("37lMN"),supplyDefaults:s("71mSL"),draw:s("HgR8O").draw,hasColorbar:s("2ef6h")}})),s.register("HgR8O",(function(e,t){"use strict";var r=s("4Wia9"),n=s("3Twc4"),a=s("3BndS"),i=s("4Hxcc"),o=s("1nE8l"),l=s("NlhQs"),c=s("1nIvY"),u=c.strTranslate,d=s("1ZM4z").extendFlat,f=s("3kB5v"),h=s("7jar4"),p=s("3N5m7"),g=s("4m0W1"),v=s("49Q6h"),m=s("hpg1L").flipScale,y=s("5HbOA"),x=s("4rJX8"),b=s("1bJQq"),_=s("5n2uh"),w=_.LINE_SPACING,k=_.FROM_TL,T=_.FROM_BR,M=s("5Kf37").cn;e.exports={draw:function(e){var t=e._fullLayout._infolayer.selectAll("g."+M.colorbar).data(function(e){var t,r,n,a,i=e._fullLayout,o=e.calcdata,l=[];function s(e){return d(e,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function c(){"function"==typeof a.calc?a.calc(e,n,t):(t._fillgradient=r.reversescale?m(r.colorscale):r.colorscale,t._zrange=[r[a.min],r[a.max]])}for(var u=0;u0?n>=s:n<=s));a++)n>u&&n0?n>=s:n<=s));a++)n>r[0]&&n1){var Q=Math.pow(10,Math.floor(Math.log(X)/Math.LN10));Z*=Q*c.roundUp(X/Q,[2,5,10]),(Math.abs(I.start)/I.size+1e-6)%1<2e-6&&(G.tick0=0)}G.dtick=Z}G.domain=[q+H,q+R-H],G.setScale(),e.attr("transform",u(Math.round(s.l),Math.round(s.t)));var J,K=e.select("."+M.cbtitleunshift).attr("transform",u(-Math.round(s.l),-Math.round(s.t))),$=e.select("."+M.cbaxis),ee=0;function te(r,n){var a={propContainer:G,propName:t._propPrefix+"title",traceIndex:t._traceIndex,_meta:t._meta,placeholder:l._dfltTitle.colorbar,containerGroup:e.select("."+M.cbtitle)},o="h"===r.charAt(0)?r.substr(1):"h"+r;e.selectAll("."+o+",."+o+"-math-group").remove(),g.draw(i,r,d(a,n||{}))}return c.syncOrAsync([a.previousPromises,function(){if(-1!==["top","bottom"].indexOf(A)){var e,r=s.l+(t.x+N)*s.w,n=G.title.font.size;e="top"===A?(1-(q+R-H))*s.h+s.t+3+.75*n:(1-(q+H))*s.h+s.t-3-.25*n,te(G._id+"title",{attributes:{x:r,y:e,"text-anchor":"start"}})}},function(){if(-1!==["top","bottom"].indexOf(A)){var a=e.select("."+M.cbtitle),l=a.select("text"),d=[-t.outlinewidth/2,t.outlinewidth/2],f=a.select(".h"+G._id+"title-math-group").node(),p=15.6;if(l.node()&&(p=parseInt(l.node().style.fontSize,10)*w),f?(ee=h.bBox(f).height)>p&&(d[1]-=(ee-p)/2):l.node()&&!l.classed(M.jsPlaceholder)&&(ee=h.bBox(l.node()).height),ee){if(ee+=5,"top"===A)G.domain[1]-=ee/s.h,d[1]*=-1;else{G.domain[0]+=ee/s.h;var g=v.lineCount(l);d[1]+=(1-g)*p}a.attr("transform",u(d[0],d[1])),G.setScale()}}e.selectAll("."+M.cbfills+",."+M.cblines).attr("transform",u(0,Math.round(s.h*(1-G.domain[1])))),$.attr("transform",u(0,Math.round(-s.t)));var y=e.select("."+M.cbfills).selectAll("rect."+M.cbfill).attr("style","").data(D);y.enter().append("rect").classed(M.cbfill,!0).style("stroke","none"),y.exit().remove();var x=S.map(G.c2p).map(Math.round).sort((function(e,t){return e-t}));y.each((function(e,a){var o=[0===a?S[0]:(D[a]+D[a-1])/2,a===D.length-1?S[1]:(D[a]+D[a+1])/2].map(G.c2p).map(Math.round);o[1]=c.constrain(o[1]+(o[1]>o[0])?1:-1,x[0],x[1]);var l=r.select(this).attr({x:B,width:Math.max(P,2),y:r.min(o),height:Math.max(r.max(o)-r.min(o),2)});if(t._fillgradient)h.gradient(l,i,t._id,"vertical",t._fillgradient,"fill");else{var s=C(e).replace("e-","");l.attr("fill",n(s).toHexString())}}));var b=e.select("."+M.cblines).selectAll("path."+M.cbline).data(m.color&&m.width?z:[]);b.enter().append("path").classed(M.cbline,!0),b.exit().remove(),b.each((function(e){r.select(this).attr("d","M"+B+","+(Math.round(G.c2p(e))+m.width/2%1)+"h"+P).call(h.lineGroupStyle,m.width,L(e),m.dash)})),$.selectAll("g."+G._id+"tick,path").remove();var _=B+P+(t.outlinewidth||0)/2-("outside"===t.ticks?1:0),k=o.calcTicks(G),T=o.getTickSigns(G)[2];return o.drawTicks(i,G,{vals:"inside"===G.ticks?o.clipEnds(G,k):k,layer:$,path:o.makeTickPath(G,_,T),transFn:o.makeTransTickFn(G)}),o.drawLabels(i,G,{vals:k,layer:$,transFn:o.makeTransTickLabelFn(G),labelFns:o.makeLabelFns(G,_)})},function(){if(-1===["top","bottom"].indexOf(A)){var e=G.title.font.size,t=G._offset+G._length/2,n=s.l+(G.position||0)*s.w+("right"===G.side?10+e*(G.showticklabels?1:.5):-10-e*(G.showticklabels?.5:0));te("h"+G._id+"title",{avoid:{selection:r.select(i).selectAll("g."+G._id+"tick"),side:A,offsetLeft:s.l,offsetTop:0,maxShift:l.width},attributes:{x:n,y:t,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}},a.previousPromises,function(){var r=P+t.outlinewidth/2;if(-1===G.ticklabelposition.indexOf("inside")&&(r+=h.bBox($.node()).width),(J=K.select("text")).node()&&!J.classed(M.jsPlaceholder)){var n,o=K.select(".h"+G._id+"title-math-group").node();n=o&&-1!==["top","bottom"].indexOf(A)?h.bBox(o).width:h.bBox(K.node()).right-B-s.l,r=Math.max(r,n)}var l=2*t.xpad+r+t.borderwidth+t.outlinewidth/2,c=V-Y;e.select("."+M.cbbg).attr({x:B-t.xpad-(t.borderwidth+t.outlinewidth)/2,y:Y-F,width:Math.max(l,2),height:Math.max(c+2*F,2)}).call(p.fill,t.bgcolor).call(p.stroke,t.bordercolor).style("stroke-width",t.borderwidth),e.selectAll("."+M.cboutline).attr({x:B,y:Y+t.ypad+("top"===A?ee:0),width:Math.max(P,2),height:Math.max(c-2*t.ypad-ee,2)}).call(p.stroke,t.outlinecolor).style({fill:"none","stroke-width":t.outlinewidth});var d=({center:.5,right:1}[t.xanchor]||0)*l;e.attr("transform",u(s.l-d,s.t));var f={},g=k[t.yanchor],v=T[t.yanchor];"pixels"===t.lenmode?(f.y=t.y,f.t=c*g,f.b=c*v):(f.t=f.b=0,f.yt=t.y+t.len*g,f.yb=t.y-t.len*v);var m=k[t.xanchor],y=T[t.xanchor];if("pixels"===t.thicknessmode)f.x=t.x,f.l=l*m,f.r=l*y;else{var x=l-P;f.l=x*m,f.r=x*y,f.xl=t.x-t.thickness*m,f.xr=t.x+t.thickness*y}a.autoMargin(i,t._id,f)}],i)}(s,t,e);O&&O.then&&(e._promises||[]).push(O),e._context.edits.colorbarPosition&&(m=s,_=t,I=(A=e)._fullLayout._size,l.init({element:m.node(),gd:A,prepFn:function(){S=m.attr("transform"),f(m)},moveFn:function(e,t){m.attr("transform",S+u(e,t)),L=l.align(_._xLeftFrac+e/I.w,_._thickFrac,0,1,_.xanchor),C=l.align(_._yBottomFrac-t/I.h,_._lenFrac,0,1,_.yanchor);var r=l.getCursor(L,C,_.xanchor,_.yanchor);f(m,r)},doneFn:function(){if(f(m),void 0!==L&&void 0!==C){var e={};e[_._propPrefix+"x"]=L,e[_._propPrefix+"y"]=C,void 0!==_._traceIndex?i.call("_guiRestyle",A,e,_._traceIndex):i.call("_guiRelayout",A,e)}}}))})),t.exit().each((function(t){a.autoMargin(e,t._id)})).remove(),t.order()}}})),s.register("5Kf37",(function(e,t){"use strict";e.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}})),s.register("55OOg",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{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"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}})),s.register("4Fx1P",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}})),s.register("7w5U2",(function(e,t){"use strict";var r=s("3N1mF"),n={getDelay:r.getDelay,getRedrawFunc:r.getRedrawFunc,clone:s("7MLlS"),toSVG:s("7sX8s"),svgToImg:s("5B7kc"),toImage:s("5z8U2"),downloadImage:s("4egvB")};e.exports=n})),s.register("7MLlS",(function(e,t){"use strict";var r=s("4Hxcc"),n=s("1nIvY"),a=n.extendFlat,i=n.extendDeep;function o(e){var t;switch(e){case"themes__thumb":t={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":t={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:t={}}return t}e.exports=function(e,t){var n;e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var l,s=e.data,c=e.layout,u=i([],s),d=i({},c,o(t.tileClass)),f=e._context||{};if(t.width&&(d.width=t.width),t.height&&(d.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){d.annotations=[];var h=Object.keys(d);for(n=0;n-1&&(d[h[n]].title={text:""});for(n=0;na),(e=>a=e)),r(e.exports,"name",(()=>n),(e=>n=e)),r(e.exports,"clean",(()=>i),(e=>i=e));var o=s("3BndS");n="treemap",a=function(e,t,r,a){o.plotBasePlot(n,e,t,r,a)},i=function(e,t,r,a){o.cleanBasePlot(n,e,t,r,a)}})),s.register("21rGq",(function(e,t){"use strict";var r=s("61PQn").hovertemplateAttrs,n=s("61PQn").texttemplateAttrs,a=s("3Lcu9"),i=s("6wryo").attributes,o=s("5yBH0"),l=s("1m4Rp"),c=s("4EUdN"),u=s("1ZM4z").extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",role:"info",editType:"plot",description:["Determines d3 treemap solver.","For more info please refer to https://github.com/d3/d3-hierarchy#treemap-tiling"].join(" ")},squarifyratio:{valType:"number",role:"info",min:1,dflt:1,editType:"plot",description:["When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio","this option specifies the desired aspect ratio of the generated rectangles.","The ratio must be specified as a number greater than or equal to one.","Note that the orientation of the generated rectangles (tall or wide)","is not implied by the ratio; for example, a ratio of two will attempt","to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2.","When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034,","Plotly applies 1 to increase squares in treemap layouts."].join(" ")},flip:{valType:"flaglist",role:"info",flags:["x","y"],dflt:"",editType:"plot",description:["Determines if the positions obtained from solver are flipped on each axis."].join(" ")},pad:{valType:"number",role:"style",min:0,dflt:3,editType:"plot",description:["Sets the inner padding (in px)."].join(" ")},editType:"calc"},marker:u({pad:{t:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the top (in px)."].join(" ")},l:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the left (in px)."].join(" ")},r:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the right (in px)."].join(" ")},b:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the bottom (in px)."].join(" ")},editType:"calc"},colors:l.marker.colors,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style",role:"style",description:["Determines if the sector colors are faded towards","the background from the leaves up to the headers.","This option is unavailable when a `colorscale` is present,","defaults to false when `marker.colors` is set,","but otherwise defaults to true.","When set to *reversed*, the fading direction is inverted,","that is the top elements within hierarchy are drawn with fully saturated colors","while the leaves are faded towards the background color."].join(" ")},line:l.marker.line,editType:"calc"},a("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if the path bar is drawn","i.e. outside the trace `domain` and","with one pixel gap."].join(" ")},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",role:"info",editType:"plot",description:["Determines on which side of the the treemap the","`pathbar` should be presented."].join(" ")},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",role:"style",editType:"plot",description:["Determines which shape is used for edges between `barpath` labels."].join(" ")},thickness:{valType:"number",min:12,role:"info",editType:"plot",description:["Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used","with 3 pixles extra padding on each side."].join(" ")},textfont:u({},o.textfont,{description:"Sets the font used inside `pathbar`."}),editType:"calc"},text:o.text,textinfo:l.textinfo,texttemplate:n({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:o.hovertext,hoverinfo:l.hoverinfo,hovertemplate:r({},{keys:c.eventDataKeys}),textfont:o.textfont,insidetextfont:o.insidetextfont,outsidetextfont:u({},o.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented on top left corner of a treemap graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",role:"style",editType:"plot",description:["Sets the positions of the `text` elements."].join(" ")},sort:o.sort,root:l.root,domain:i({name:"treemap",trace:!0,editType:"calc"})}})),s.register("5yBH0",(function(e,t){"use strict";var r=s("5zAUi"),n=s("6wryo").attributes,a=s("10Nlb"),i=s("4f6io"),o=s("61PQn").hovertemplateAttrs,l=s("61PQn").texttemplateAttrs,c=s("1ZM4z").extendFlat,u=a({editType:"plot",arrayOk:!0,colorEditType:"plot",description:"Sets the font used for `textinfo`."});e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the sector labels.","If `labels` entries are duplicated, we sum associated `values`","or simply count occurrences if `values` is not provided.","For other array attributes (including color) we use the first","non-empty entry among all occurrences of the label."].join(" ")},label0:{valType:"number",role:"info",dflt:0,editType:"calc",description:["Alternate to `labels`.","Builds a numeric set of labels.","Use with `dlabel`","where `label0` is the starting label and `dlabel` the step."].join(" ")},dlabel:{valType:"number",role:"info",dflt:1,editType:"calc",description:"Sets the label step. See `label0` for more info."},values:{valType:"data_array",editType:"calc",description:["Sets the values of the sectors.","If omitted, we count occurrences of each label."].join(" ")},marker:{colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:{valType:"color",role:"style",dflt:i.defaultLine,arrayOk:!0,editType:"style",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",role:"style",min:0,dflt:0,arrayOk:!0,editType:"style",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot",description:["Sets text elements associated with each sector.","If trace `textinfo` contains a *text* flag, these elements will be seen","on the chart.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each sector.","If a single string, the same string appears for","all data points.","If an array of string, the items are mapped in order of","this trace's sectors.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},scalegroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["If there are multiple pie charts that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")},textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","percent"],extras:["none"],editType:"calc",description:["Determines which trace information appear on the graph."].join(" ")},hoverinfo:c({},r.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:o({},{keys:["label","color","value","percent","text"]}),texttemplate:l({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot",description:["Specifies the location of the `textinfo`."].join(" ")},textfont:c({},u,{description:"Sets the font used for `textinfo`."}),insidetextorientation:{valType:"enumerated",role:"info",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot",description:["Controls the orientation of the text inside chart sectors.","When set to *auto*, text may be oriented in any direction in order","to be as big as possible in the middle of a sector.","The *horizontal* option orients text to be parallel with the bottom","of the chart, and may make text smaller in order to achieve that goal.","The *radial* option orients text along the radius of the sector.","The *tangential* option orients text perpendicular to the radius of the sector."].join(" ")},insidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying inside the sector."}),outsidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying outside the sector."}),automargin:{valType:"boolean",dflt:!1,role:"info",editType:"plot",description:["Determines whether outside text labels can push the margins."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets the title of the chart.","If it is empty, no title is displayed.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:c({},u,{description:["Sets the font used for `title`.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"plot",description:["Specifies the location of the `title`.","Note that the title's position used to be set","by the now deprecated `titleposition` attribute."].join(" ")},editType:"plot"},domain:n({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",role:"style",min:0,max:1,dflt:0,editType:"calc",description:["Sets the fraction of the radius to cut out of the pie.","Use this to make a donut chart."].join(" ")},sort:{valType:"boolean",role:"style",dflt:!0,editType:"calc",description:["Determines whether or not the sectors are reordered","from largest to smallest."].join(" ")},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"style",dflt:"counterclockwise",editType:"calc",description:["Specifies the direction at which succeeding sectors follow","one another."].join(" ")},rotation:{valType:"number",role:"style",min:-360,max:360,dflt:0,editType:"calc",description:["Instead of the first slice starting at 12 o'clock,","rotate to some other angle."].join(" ")},pull:{valType:"number",role:"style",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc",description:["Sets the fraction of larger radius to pull the sectors","out from the center. This can be a constant","to pull all slices apart from each other equally","or an array to highlight one or more slices."].join(" ")},_deprecated:{title:{valType:"string",dflt:"",role:"info",editType:"calc",description:["Deprecated in favor of `title.text`.","Note that value of `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:c({},u,{description:"Deprecated in favor of `title.font`."}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"calc",description:"Deprecated in favor of `title.position`."}}}})),s.register("1m4Rp",(function(e,t){"use strict";var r=s("5zAUi"),n=s("61PQn").hovertemplateAttrs,a=s("61PQn").texttemplateAttrs,i=s("3Lcu9"),o=s("6wryo").attributes,l=s("5yBH0"),c=s("7BRjT"),u=s("1ZM4z").extendFlat;e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the labels of each of the sectors."].join(" ")},parents:{valType:"data_array",editType:"calc",description:["Sets the parent sectors for each of the sectors.","Empty string items '' are understood to reference","the root node in the hierarchy.",'If `ids` is filled, `parents` items are understood to be "ids" themselves.',"When `ids` is not set, plotly attempts to find matching items in `labels`,","but beware they must be unique."].join(" ")},values:{valType:"data_array",editType:"calc",description:["Sets the values associated with each of the sectors.","Use with `branchvalues` to determine how the values are summed."].join(" ")},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc",role:"info",description:["Determines how the items in `values` are summed.","When set to *total*, items in `values` are taken to be value of all its descendants.","When set to *remainder*, items in `values` corresponding to the root and the branches sectors","are taken to be the extra part not part of the sum of the values at their leaves."].join(" ")},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc",role:"info",description:["Determines default for `values` when it is not provided,","by inferring a 1 for each of the *leaves* and/or *branches*, otherwise 0."].join(" ")},level:{valType:"any",editType:"plot",anim:!0,role:"info",description:["Sets the level from which this trace hierarchy is rendered.","Set `level` to `''` to start from the root node in the hierarchy.",'Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching',"item in `labels`."].join(" ")},maxdepth:{valType:"integer",editType:"plot",role:"info",dflt:-1,description:["Sets the number of rendered sectors from any given `level`.","Set `maxdepth` to *-1* to render all the levels in the hierarchy."].join(" ")},marker:u({colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector of this trace.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:u({},l.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:u({},l.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},i("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",role:"style",min:0,max:1,description:["Sets the opacity of the leaves. With colorscale","it is defaulted to 1; otherwise it is defaulted to 0.7"].join(" ")},editType:"plot"},text:l.text,textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot",description:["Determines which trace information appear on the graph."].join(" ")},texttemplate:a({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:l.hovertext,hoverinfo:u({},r.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:n({},{keys:c.eventDataKeys}),textfont:l.textfont,insidetextorientation:l.insidetextorientation,insidetextfont:l.insidetextfont,outsidetextfont:u({},l.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented at the center of a sunburst graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),rotation:{valType:"angle",role:"style",dflt:0,editType:"plot",description:["Rotates the whole diagram counterclockwise by some angle.","By default the first slice starts at 3 o'clock."].join(" ")},sort:l.sort,root:{color:{valType:"color",editType:"calc",role:"style",dflt:"rgba(0,0,0,0)",description:["sets the color of the root node for a sunburst or a treemap trace.","this has no effect when a colorscale is used to set the markers."].join(" ")},editType:"calc"},domain:o({name:"sunburst",trace:!0,editType:"calc"})}})),s.register("7BRjT",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}})),s.register("4EUdN",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}})),s.register("3QjAp",(function(e,t){"use strict";e.exports={treemapcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default treemap slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendtreemapcolors`."].join(" ")},extendtreemapcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the treemap slice colors (whether given by `treemapcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}})),s.register("1PKRy",(function(e,t){"use strict";var r=s("1nIvY"),n=s("21rGq"),a=s("3N5m7"),i=s("6wryo").defaults,o=s("5A6xq").handleText,l=s("1Pgm8").TEXTPAD,c=s("3foDh"),u=c.hasColorscale,d=c.handleDefaults;e.exports=function(e,t,s,c){function f(a,i){return r.coerce(e,t,n,a,i)}var h=f("labels"),p=f("parents");if(h&&h.length&&p&&p.length){var g=f("values");g&&g.length?f("branchvalues"):f("count"),f("level"),f("maxdepth"),"squarify"===f("tiling.packing")&&f("tiling.squarifyratio"),f("tiling.flip"),f("tiling.pad");var v=f("text");f("texttemplate"),t.texttemplate||f("textinfo",Array.isArray(v)?"text+label":"label"),f("hovertext"),f("hovertemplate");var m=f("pathbar.visible");o(e,t,c,f,"auto",{hasPathbar:m,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),f("textposition");var y=-1!==t.textposition.indexOf("bottom");f("marker.line.width")&&f("marker.line.color",c.paper_bgcolor);var x=f("marker.colors"),b=t._hasColorscale=u(e,"marker","colors")||(e.marker||{}).coloraxis;b?d(e,t,c,f,{prefix:"marker.",cLetter:"c"}):f("marker.depthfade",!(x||[]).length);var _=2*t.textfont.size;f("marker.pad.t",y?_/4:_),f("marker.pad.l",_/4),f("marker.pad.r",_/4),f("marker.pad.b",y?_:_/4),b&&d(e,t,c,f,{prefix:"marker.",cLetter:"c"}),t._hovered={marker:{line:{width:2,color:a.contrast(c.paper_bgcolor)}}},m&&(f("pathbar.thickness",t.pathbar.textfont.size+2*l),f("pathbar.side"),f("pathbar.edgeshape")),f("sort"),f("root.color"),i(t,c,f),t._length=null}else t.visible=!1}})),s.register("5A6xq",(function(e,t){"use strict";var r=s("1nIvY"),n=s("3N5m7"),a=s("4Hxcc"),i=s("3ziEk"),o=s("42Vbv"),l=s("6H9Fh"),c=s("6SFfg").getAxisGroup,u=s("18s15"),d=r.coerceFont;function f(e,t,r,n){var a=t.orientation,i=t[{v:"x",h:"y"}[a]+"axis"],o=c(r,i)+a,l=r._alignmentOpts||{},s=n("alignmentgroup"),u=l[o];u||(u=l[o]={});var d=u[s];d?d.traces.push(t):d=u[s]={traces:[t],alignmentIndex:Object.keys(u).length,offsetGroups:{}};var f=n("offsetgroup"),h=d.offsetGroups,p=h[f];f&&(p||(p=h[f]={offsetIndex:Object.keys(h).length}),t._offsetIndex=p.offsetIndex)}function h(e,t,n,a,i,o){var l=!(!1===(o=o||{}).moduleHasSelected),s=!(!1===o.moduleHasUnselected),c=!(!1===o.moduleHasConstrain),u=!(!1===o.moduleHasCliponaxis),f=!(!1===o.moduleHasTextangle),h=!(!1===o.moduleHasInsideanchor),p=!!o.hasPathbar,g=Array.isArray(i)||"auto"===i,v=g||"inside"===i,m=g||"outside"===i;if(v||m){var y=d(a,"textfont",n.font),x=r.extendFlat({},y),b=!(e.textfont&&e.textfont.color);if(b&&delete x.color,d(a,"insidetextfont",x),p){var _=r.extendFlat({},y);b&&delete _.color,d(a,"pathbar.textfont",_)}m&&d(a,"outsidetextfont",y),l&&a("selected.textfont.color"),s&&a("unselected.textfont.color"),c&&a("constraintext"),u&&a("cliponaxis"),f&&a("textangle"),a("texttemplate")}v&&h&&a("insidetextanchor")}e.exports={supplyDefaults:function(e,t,s,c){function d(n,a){return r.coerce(e,t,u,n,a)}if(i(e,t,c,d)){o(e,t,c,d),d("orientation",t.x&&!t.y?"h":"v"),d("base"),d("offset"),d("width"),d("text"),d("hovertext"),d("hovertemplate");var f=d("textposition");h(e,0,c,d,f,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),l(e,t,d,s,c);var p=(t.marker.line||{}).color,g=a.getComponentMethod("errorbars","supplyDefaults");g(e,t,p||n.defaultLine,{axis:"y"}),g(e,t,p||n.defaultLine,{axis:"x",inherit:"y"}),r.coerceSelectionMarkerOpacity(t,d)}else t.visible=!1},crossTraceDefaults:function(e,t){var n;function a(e){return r.coerce(n._input,n,u,e)}if("group"===t.barmode)for(var i=0;ia),(e=>a=e)),r(e.exports,"calc",(()=>n),(e=>n=e));var i=s("3qimv");n=function(e,t){return i.calc(e,t)},a=function(e){return i._runCrossTraceCalc("treemap",e)}})),s.register("3qimv",(function(e,t){var n,a;r(e.exports,"calc",(()=>a),(e=>a=e)),r(e.exports,"_runCrossTraceCalc",(()=>n),(e=>n=e));var i=s("5Zjzn"),o=s("7KONc"),l=s("6qr5h"),c=s("1nIvY"),u=s("3foDh").makeColorScaleFuncFromTrace,d=s("3Luav").makePullColorFn,f=s("3Luav").generateExtendedColors,h=s("3foDh").calc,p=s("10TEj").ALMOST_EQUAL,g={},v={};function m(e,t,r){var n=0,a=e.children;if(a){for(var i=a.length,o=0;o=0};x?(r=Math.min(y.length,_.length),n=function(e){return S(y[e])&&L(e)},a=function(e){return String(y[e])}):(r=Math.min(b.length,_.length),n=function(e){return S(b[e])&&L(e)},a=function(e){return String(b[e])}),k&&(r=Math.min(r,w.length));for(var C=0;C1){for(var z=c.randstr(),P=0;Pg)),r(e.exports,"computeHeight",(()=>y)),r(e.exports,"Node",(()=>x));var n=s("1NL5X"),a=s("1yJ7q"),i=s("4u4dX"),o=s("szBXt"),l=s("3AcEY"),c=s("565Wq"),u=s("5zfO7"),d=s("4XTFz"),f=s("2qC1m"),h=s("5vvX3"),p=s("25PBC");function g(e,t){var r,n,a,i,o,l=new x(e),s=+e.value&&(l.value=e.value),c=[l];for(null==t&&(t=v);r=c.pop();)if(s&&(r.value=+r.data.value),(a=t(r.data))&&(o=a.length))for(r.children=new Array(o),i=o-1;i>=0;--i)c.push(n=r.children[i]=new x(a[i])),n.parent=r,n.depth=r.depth+1;return l.eachBefore(y)}function v(e){return e.children}function m(e){e.data=e.data.data}function y(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function x(e){this.data=e,this.depth=this.height=0,this.parent=null}x.prototype=g.prototype={constructor:x,count:n.default,each:a.default,eachAfter:o.default,eachBefore:i.default,sum:l.default,sort:c.default,path:u.default,ancestors:d.default,descendants:f.default,leaves:h.default,links:p.default,copy:function(){return g(this).eachBefore(m)}}})),s.register("1NL5X",(function(e,t){function n(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function a(){return this.eachAfter(n)}r(e.exports,"default",(()=>a))})),s.register("1yJ7q",(function(e,t){function n(e){var t,r,n,a,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),r=i.children)for(n=0,a=r.length;nn))})),s.register("4u4dX",(function(e,t){function n(e){for(var t,r,n=this,a=[n];n=a.pop();)if(e(n),t=n.children)for(r=t.length-1;r>=0;--r)a.push(t[r]);return this}r(e.exports,"default",(()=>n))})),s.register("szBXt",(function(e,t){function n(e){for(var t,r,n,a=this,i=[a],o=[];a=i.pop();)if(o.push(a),t=a.children)for(r=0,n=t.length;rn))})),s.register("3AcEY",(function(e,t){function n(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,a=n&&n.length;--a>=0;)r+=n[a].value;t.value=r}))}r(e.exports,"default",(()=>n))})),s.register("565Wq",(function(e,t){function n(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))}r(e.exports,"default",(()=>n))})),s.register("5zfO7",(function(e,t){function n(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),a=null;for(e=r.pop(),t=n.pop();e===t;)a=e,e=r.pop(),t=n.pop();return a}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var a=n.length;e!==r;)n.splice(a,0,e),e=e.parent;return n}r(e.exports,"default",(()=>n))})),s.register("4XTFz",(function(e,t){function n(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}r(e.exports,"default",(()=>n))})),s.register("2qC1m",(function(e,t){function n(){var e=[];return this.each((function(t){e.push(t)})),e}r(e.exports,"default",(()=>n))})),s.register("5vvX3",(function(e,t){function n(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e}r(e.exports,"default",(()=>n))})),s.register("25PBC",(function(e,t){function n(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t}r(e.exports,"default",(()=>n))})),s.register("1s0mG",(function(e,t){r(e.exports,"default",(()=>i));var n=s("4pLTG"),a=s("4DtOe");function i(){var e=1,t=1,r=0,i=!1;function o(o){var l,s,c=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/c,o.eachBefore((l=t,s=c,function(e){e.children&&a.default(e,e.x0,l*(e.depth+1)/s,e.x1,l*(e.depth+2)/s);var t=e.x0,n=e.y0,i=e.x1-r,o=e.y1-r;in))})),s.register("4DtOe",(function(e,t){function n(e,t,r,n,a){for(var i,o=e.children,l=-1,s=o.length,c=e.value&&(n-t)/e.value;++ln))})),s.register("7KONc",(function(e,t){r(e.exports,"default",(()=>u));var n=s("7vCdx"),a=s("5Zjzn"),i={depth:-1},o={};function l(e){return e.id}function c(e){return e.parentId}function u(){var e=l,t=c;function r(r){var n,l,s,c,u,d,f=r.length,h=new Array(f),p={};for(l=0;l0)throw new Error("cycle");return s}return r.id=function(t){return arguments.length?(e=n.required(t),r):e},r.parentId=function(e){return arguments.length?(t=n.required(e),r):t},r}})),s.register("7vCdx",(function(e,t){function n(e){if("function"!=typeof e)throw new Error;return e}r(e.exports,"required",(()=>n))})),s.register("7GUcL",(function(e,t){r(e.exports,"default",(()=>l));var n=s("4pLTG"),a=s("4zes5"),i=s("7vCdx"),o=s("Z4KRE");function l(){var e=a.default,t=!1,r=1,l=1,s=[0],c=o.constantZero,u=o.constantZero,d=o.constantZero,f=o.constantZero,h=o.constantZero;function p(e){return e.x0=e.y0=0,e.x1=r,e.y1=l,e.eachBefore(g),s=[0],t&&e.eachBefore(n.default),e}function g(t){var r=s[t.depth],n=t.x0+r,a=t.y0+r,i=t.x1-r,o=t.y1-r;ii));var n=s("4DtOe"),a=s("2xsRI"),i=function e(t){function r(e,r,i,o,l){!function(e,t,r,i,o,l){for(var s,c,u,d,f,h,p,g,v,m,y,x=[],b=t.children,_=0,w=0,k=b.length,T=t.value;_p&&(p=c),y=f*f*m,(g=Math.max(p/y,y/h))>v){f-=c;break}v=g}x.push(s={value:f,dice:u1?t:1)},r}((1+Math.sqrt(5))/2)})),s.register("2xsRI",(function(e,t){function n(e,t,r,n,a){for(var i,o=e.children,l=-1,s=o.length,c=e.value&&(a-r)/e.value;++ln))})),s.register("Z4KRE",(function(e,t){function n(){return 0}function a(e){return function(){return e}}r(e.exports,"default",(()=>a)),r(e.exports,"constantZero",(()=>n))})),s.register("1ff94",(function(e,t){function n(e,t,r,n,a){var i,o,l=e.children,s=l.length,c=new Array(s+1);for(c[0]=o=i=0;i=r-1){var u=l[t];return u.x0=a,u.y0=i,u.x1=o,void(u.y1=s)}for(var d=c[t],f=n/2+d,h=t+1,p=r-1;h>>1;c[g]s-i){var y=(a*m+o*v)/n;e(t,h,v,a,i,y,s),e(h,r,m,y,i,o,s)}else{var x=(i*m+s*v)/n;e(t,h,v,a,i,o,x),e(h,r,m,a,x,o,s)}}(0,s,e.value,t,r,n,a)}r(e.exports,"default",(()=>n))})),s.register("7wauO",(function(e,t){r(e.exports,"default",(()=>i));var n=s("4DtOe"),a=s("2xsRI");function i(e,t,r,i,o){(1&e.depth?a.default:n.default)(e,t,r,i,o)}})),s.register("3Luav",(function(e,t){"use strict";var r=s("6qr5h"),n=s("3Twc4"),a=s("3N5m7"),i={};function o(e){return function(t,r){return!!t&&!!(t=n(t)).isValid()&&(t=a.addOpacity(t,t.getAlpha()),e[r]||(e[r]=t),t)}}function l(e,t){var r,a=JSON.stringify(e),i=t[a];if(!i){for(i=e.slice(),r=0;r-1?L+O:-(I+O):0,z={x0:C,x1:C,y0:D,y1:D+I},P=function(e,t,r){var n=v.tiling.pad,a=function(e){return e-n<=t.x0},i=function(e){return e+n>=t.x1},o=function(e){return e-n<=t.y0},l=function(e){return e+n>=t.y1};return{x0:a(e.x0-n)?0:i(e.x0-n)?r[0]:e.x0,x1:a(e.x1+n)?0:i(e.x1+n)?r[0]:e.x1,y0:o(e.y0-n)?0:l(e.y0-n)?r[1]:e.y0,y1:o(e.y1+n)?0:l(e.y1+n)?r[1]:e.y1}},j=null,E={},R={},N=null,F=function(e,t){return t?E[g(e)]:R[g(e)]};d.hasMultipleRoots&&w&&T++,v._maxDepth=T,v._backgroundColor=u.paper_bgcolor,v._entryDepth=y.data.depth,v._atRootLevel=w;var H=-S/2+M.l+M.w*(A.x[1]+A.x[0])/2,B=-L/2+M.t+M.h*(1-(A.y[1]+A.y[0])/2),U=function(e){return H+e},q=function(e){return B+e},V=q(0),Y=U(0),G=function(e){return Y+e},Z=function(e){return V+e};function W(e,t){return e+","+t}var X=G(0),Q=function(e){e.x=Math.max(X,e.x)},J=v.pathbar.edgeshape,K=function(e,t){var r=e.x0,n=e.x1,a=e.y0,l=e.y1,s=e.textBB,d=function(e){return-1!==v.textposition.indexOf(e)},f=d("bottom"),h=d("top")||t.isHeader&&!f?"start":f?"end":"middle",p=d("right"),g=d("left")||t.onPathbar?-1:p?1:0,m=v.marker.pad;if(t.isHeader){if((r+=m.l-i)>=(n-=m.r-i)){var y=(r+n)/2;r=y,n=y}var x;f?a<(x=l-m.b)&&x"===J?(s.x-=i,c.x-=i,u.x-=i,d.x-=i):"/"===J?(u.x-=i,d.x-=i,o.x-=i/2,l.x-=i/2):"\\"===J?(s.x-=i,c.x-=i,o.x-=i/2,l.x-=i/2):"<"===J&&(o.x-=i,l.x-=i),Q(s),Q(d),Q(o),Q(c),Q(u),Q(l),"M"+W(s.x,s.y)+"L"+W(c.x,c.y)+"L"+W(l.x,l.y)+"L"+W(u.x,u.y)+"L"+W(d.x,d.y)+"L"+W(o.x,o.y)+"Z"},toMoveInsideSlice:K,makeUpdateSliceInterpolator:ee,makeUpdateTextInterpolator:te,handleSlicesExit:re,hasTransition:k,strTransform:ne}):b.remove()}e.exports=function(e,t,a,i){var o,l,s=e._fullLayout,c=s._treemaplayer,f=!a;u("treemap",s),(o=c.selectAll("g.trace.treemap").data(t,(function(e){return e[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("treemap",!0),o.order(),!s.uniformtext.mode&&n.hasTransition(a)?(i&&(l=i()),r.transition().duration(a.duration).ease(a.easing).each("end",(function(){l&&l()})).each("interrupt",(function(){l&&l()})).each((function(){c.selectAll("g.trace").each((function(t){v(e,t,this,a)}))}))):(o.each((function(t){v(e,t,this,a)})),s.uniformtext.mode&&d(e,s._treemaplayer.selectAll(".trace"),"treemap")),f&&o.exit().remove()}})),s.register("6qi5c",(function(e,t){var n,a,i,o,l,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;r(e.exports,"setSliceCursor",(()=>o),(e=>o=e)),r(e.exports,"hasTransition",(()=>p),(e=>p=e)),r(e.exports,"isHierarchyRoot",(()=>m),(e=>m=e)),r(e.exports,"findEntryWithChild",(()=>v),(e=>v=e)),r(e.exports,"findEntryWithLevel",(()=>u),(e=>u=e)),r(e.exports,"isEntry",(()=>n),(e=>n=e)),r(e.exports,"isLeaf",(()=>k),(e=>k=e)),r(e.exports,"getInsideTextFontKey",(()=>y),(e=>y=e)),r(e.exports,"getOutsideTextFontKey",(()=>c),(e=>c=e)),r(e.exports,"isOutsideText",(()=>w),(e=>w=e)),r(e.exports,"getParent",(()=>x),(e=>x=e)),r(e.exports,"determineTextFont",(()=>f),(e=>f=e)),r(e.exports,"listPath",(()=>T),(e=>T=e)),r(e.exports,"formatValue",(()=>g),(e=>g=e)),r(e.exports,"formatPercent",(()=>_),(e=>_=e)),r(e.exports,"getPtId",(()=>i),(e=>i=e)),r(e.exports,"getValue",(()=>h),(e=>h=e)),r(e.exports,"getMaxDepth",(()=>d),(e=>d=e)),r(e.exports,"getPtLabel",(()=>l),(e=>l=e)),r(e.exports,"getPath",(()=>b),(e=>b=e)),r(e.exports,"isHeader",(()=>a),(e=>a=e));var M=s("1nIvY"),A=s("3N5m7"),S=s("3kB5v"),L=s("4Izpx");function C(e){return e.data.data.pid}u=function(e,t){var r;return t&&e.eachAfter((function(e){if(i(e)===t)return r=e.copy()})),r||e},v=function(e,t){var r;return e.eachAfter((function(e){for(var n=e.children||[],a=0;a0)},d=function(e){return e.maxdepth>=0?e.maxdepth:1/0},a=function(e,t){return!(k(e)||e.depth===t._maxDepth-1)},x=function(e,t){return u(e,C(t))},T=function(e,t){var r=e.parent;if(!r)return[];var n=t?[r.data[t]]:[r];return T(r,t).concat(n)},b=function(e){return T(e,"label").join("/")+"/"},g=L.formatPieValue,_=function(e,t){var r=M.formatPercent(e,0);return"0%"===r&&(r=L.formatPiePercent(e,t)),r}})),s.register("6smWF",(function(e,t){"use strict";var r=s("4Wia9"),n=s("6qr5h"),a=s("1nIvY"),i=s("49Q6h"),o=s("3N5m7"),l=s("7jar4"),c=s("4Hxcc"),u=s("1nE8l").tickText,d=s("4U9iW"),f=d.recordMinTextSize,h=d.clearMinTextSize,p=s("4dC6V"),g=s("6u7m7"),v=s("1Pgm8"),m=s("18s15"),y=m.text,x=m.textposition,b=s("2MtC7").appendArrayPointValue,_=v.TEXTPAD;function w(e){return e.id}function k(e,t){return e0}function A(e){return"auto"===e?0:e}function S(e,t){var r=Math.PI/180*t,n=Math.abs(Math.sin(r)),a=Math.abs(Math.cos(r));return{x:e.width*a+e.height*n,y:e.width*n+e.height*a}}function L(e,t,r,n,a,i){var o=!!i.isHorizontal,l=!!i.constrained,s=i.angle||0,c=i.anchor||"end",u="end"===c,d="start"===c,f=((i.leftToRight||0)+1)/2,h=1-f,p=a.width,g=a.height,v=Math.abs(t-e),m=Math.abs(n-r),y=v>2*_&&m>2*_?_:0;v-=2*y,m-=2*y;var x=A(s);"auto"!==s||p<=v&&g<=m||!(p>v||g>m)||(p>m||g>v)&&p.01?K:function(e,t,r){return r&&e===t?e:Math.abs(e-t)>=2?K(e):e>t?Math.ceil(e):Math.floor(e)};G=$(G,Z,j),Z=$(Z,G,j),W=$(W,X,!j),X=$(X,W,!j)}var ee=T(a.ensureSingle(V,"path"),O,v,m);if(ee.style("vector-effect","non-scaling-stroke").attr("d",isNaN((Z-G)*(X-W))||Q&&e._context.staticPlot?"M0,0Z":"M"+G+","+W+"V"+X+"H"+Z+"V"+W+"Z").call(l.setClipUrl,t.layerClipId,e),!O.uniformtext.mode&&E){var te=l.makePointStyleFns(d);l.singlePointStyle(c,ee,d,te,e)}(function(e,t,r,n,o,s,c,d,h,v,m){var w,M=t.xaxis,C=t.yaxis,I=e._fullLayout;function O(t,r,n){return a.ensureSingle(t,"text").text(r).attr({class:"bartext bartext-"+w,"text-anchor":"middle","data-notex":1}).call(l.font,n).call(i.convertToTspans,e)}var D,z,P,j=n[0].trace,E="h"===j.orientation,R=function(e,t,r,n,i){var o,l=t[0].trace;return o=l.texttemplate?function(e,t,r,n,i){var o=t[0].trace,l=a.castOption(o,r,"texttemplate");if(!l)return"";var s,c,d,f,h="waterfall"===o.type,p="funnel"===o.type;function g(e){return u(f,+e,!0).text}"h"===o.orientation?(s="y",c=i,d="x",f=n):(s="x",c=n,d="y",f=i);var v,m=t[r],y={};y.label=m.p,y.labelLabel=y[s+"Label"]=(v=m.p,u(c,v,!0).text);var x=a.castOption(o,m.i,"text");(0===x||x)&&(y.text=x),y.value=m.s,y.valueLabel=y[d+"Label"]=g(m.s);var _={};b(_,o,m.i),h&&(y.delta=+m.rawS||m.s,y.deltaLabel=g(y.delta),y.final=m.v,y.finalLabel=g(y.final),y.initial=y.final-y.delta,y.initialLabel=g(y.initial)),p&&(y.value=m.s,y.valueLabel=g(y.value),y.percentInitial=m.begR,y.percentInitialLabel=a.formatPercent(m.begR),y.percentPrevious=m.difR,y.percentPreviousLabel=a.formatPercent(m.difR),y.percentTotal=m.sumR,y.percenTotalLabel=a.formatPercent(m.sumR));var w=a.castOption(o,m.i,"customdata");return w&&(y.customdata=w),a.texttemplateString(l,y,e._d3locale,_,y,o._meta||{})}(e,t,r,n,i):l.textinfo?function(e,t,r,n){var i=e[0].trace,o="h"===i.orientation,l="waterfall"===i.type,s="funnel"===i.type;function c(e){return u(o?r:n,+e,!0).text}var d,f,h=i.textinfo,p=e[t],g=h.split("+"),v=[],m=function(e){return-1!==g.indexOf(e)};if(m("label")&&v.push((f=e[t].p,u(o?n:r,f,!0).text)),m("text")&&(0===(d=a.castOption(i,p.i,"text"))||d)&&v.push(d),l){var y=+p.rawS||p.s,x=p.v,b=x-y;m("initial")&&v.push(c(b)),m("delta")&&v.push(c(y)),m("final")&&v.push(c(x))}if(s){m("value")&&v.push(c(p.s));var _=0;m("percent initial")&&_++,m("percent previous")&&_++,m("percent total")&&_++;var w=_>1;m("percent initial")&&(d=a.formatPercent(p.begR),w&&(d+=" of initial"),v.push(d)),m("percent previous")&&(d=a.formatPercent(p.difR),w&&(d+=" of previous"),v.push(d)),m("percent total")&&(d=a.formatPercent(p.sumR),w&&(d+=" of total"),v.push(d))}return v.join("
")}(t,r,n,i):g.getValue(l.text,r),g.coerceString(y,o)}(I,n,o,M,C);D=j,z=o,P=g.getValue(D.textposition,z),w=g.coerceEnumerated(x,P);var N="stack"===v.mode||"relative"===v.mode,F=n[o],H=!N||F._outmost;if(R&&"none"!==w&&(!F.isBlank&&s!==c&&d!==h||"auto"!==w&&"inside"!==w)){var B=I.font,U=p.getBarColor(n[o],j),q=p.getInsideTextFont(j,o,B,U),V=p.getOutsideTextFont(j,o,B),Y=r.datum();E?"log"===M.type&&Y.s0<=0&&(s=M.range[0]0&&X>0&&(W<=J&&X<=K||W<=K&&X<=J||(E?J>=W*(K/X):K>=X*(J/W)))?w="inside":(w="outside",G.remove(),G=null)):w="inside"),!G){var $=(G=O(r,R,Q=a.ensureUniformFontSize(e,"outside"===w?V:q))).attr("transform");if(G.attr("transform",""),W=(Z=l.bBox(G.node())).width,X=Z.height,G.attr("transform",$),W<=0||X<=0)return void G.remove()}var ee,te=j.textangle;(ee="outside"===w?function(e,t,r,n,a,i){var o,l=!!i.isHorizontal,s=!!i.constrained,c=i.angle||0,u=a.width,d=a.height,f=Math.abs(t-e),h=Math.abs(n-r);o=l?h>2*_?_:0:f>2*_?_:0;var p=1;s&&(p=l?Math.min(1,h/d):Math.min(1,f/u));var g=A(c),v=S(a,g),m=(l?v.x:v.y)/2,y=(a.left+a.right)/2,x=(a.top+a.bottom)/2,b=(e+t)/2,w=(r+n)/2,T=0,M=0,L=l?k(t,e):k(r,n);return l?(b=t-L*o,T=L*m):(w=n+L*o,M=-L*m),{textX:y,textY:x,targetX:b,targetY:w,anchorX:T,anchorY:M,scale:p,rotate:g}}(s,c,d,h,Z,{isHorizontal:E,constrained:"both"===j.constraintext||"outside"===j.constraintext,angle:te}):L(s,c,d,h,Z,{isHorizontal:E,constrained:"both"===j.constraintext||"inside"===j.constraintext,angle:te,anchor:j.insidetextanchor})).fontSize=Q.size,f(j.type,ee,I),F.transform=ee,T(G,I,v,m).attr("transform",a.getTextTransform(ee))}else r.select("text").remove()})(e,t,V,s,h,G,Z,W,X,v,m),t.layerClipId&&l.hideOutsideRangePoint(c,V.select("text"),C,I,d.xcalendar,d.ycalendar)}));var H=!1===d.cliponaxis;l.setClipUrl(c,H?null:t.layerClipId,e)}));c.getComponentMethod("errorbars","plot")(e,D,t,v)},toMoveInsideBar:L}})),s.register("4U9iW",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY");function a(e){return"_"+e+"Text_minsize"}e.exports={recordMinTextSize:function(e,t,r){if(r.uniformtext.mode){var n=a(e),i=r.uniformtext.minsize,o=t.scale*t.fontSize;t.hide=o1||0===a.bargap&&0===a.bargroupgap&&!e[0].trace.marker.line.width)&&r.select(this).attr("shape-rendering","crispEdges")})),t.selectAll("g.points").each((function(t){p(r.select(this),t[0].trace,e)})),o.getComponentMethod("errorbars","style")(t)},styleTextPoints:g,styleOnSelect:function(e,t,n){var l,s,c,u,d,f,h=t[0].trace;h.selectedpoints?(l=n,s=h,c=e,a.selectedPointStyle(l.selectAll("path"),s),u=l.selectAll("text"),d=s,f=c,u.each((function(e){var t,n=r.select(this);if(e.selected){t=i.ensureUniformFontSize(f,v(n,e,d,f));var o=d.selected.textfont&&d.selected.textfont.color;o&&(t.color=o),a.font(n,t)}else a.selectedTextStyle(n,d)}))):(p(n,h,e),o.getComponentMethod("errorbars","style")(n))},getInsideTextFont:y,getOutsideTextFont:x,getBarColor:_,resizeText:l}})),s.register("6u7m7",(function(e,t){var n,a,i,o,l,c;r(e.exports,"getLineWidth",(()=>a),(e=>a=e)),r(e.exports,"coerceNumber",(()=>o),(e=>o=e)),r(e.exports,"coerceColor",(()=>l),(e=>l=e)),r(e.exports,"coerceString",(()=>n),(e=>n=e)),r(e.exports,"coerceEnumerated",(()=>c),(e=>c=e)),r(e.exports,"getValue",(()=>i),(e=>i=e));var u=s("6qr5h"),d=s("3Twc4"),f=s("1nIvY").isArrayOrTypedArray;n=function(e,t,r){if("string"==typeof t){if(t||!e.noBlank)return t}else if(("number"==typeof t||!0===t)&&!e.strict)return String(t);return void 0!==r?r:e.dflt},o=function(e,t,r){if(u(t)){t=+t;var n=e.min,a=e.max;if(!(void 0!==n&&ta))return t}return void 0!==r?r:e.dflt},l=function(e,t,r){return d(t).isValid()?t:void 0!==r?r:e.dflt},c=function(e,t,r){return e.coerceNumber&&(t=+t),-1!==e.values.indexOf(t)?t:void 0!==r?r:e.dflt},i=function(e,t){var r;return Array.isArray(e)?t-1,flipY:C.tiling.flip.indexOf("y")>-1,pad:{inner:C.tiling.pad,top:C.marker.pad.t,left:C.marker.pad.l,right:C.marker.pad.r,bottom:C.marker.pad.b}}).descendants(),j=1/0,E=-1/0;P.forEach((function(e){var t=e.depth;t>=C._maxDepth?(e.x0=e.x1=(e.x0+e.x1)/2,e.y0=e.y1=(e.y0+e.y1)/2):(j=Math.min(j,t),E=Math.max(E,t))})),p=p.data(P,u.getPtId),C._maxVisibleLayers=isFinite(E)?E-j+1:0,p.enter().append("g").classed("slice",!0),T(p,h,{},[v,m],b),p.order();var R=null;if(k&&S){var N=u.getPtId(S);p.each((function(e){null===R&&u.getPtId(e)===N&&(R={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})}))}var F=function(){return R||{x0:0,x1:v,y0:0,y1:m}},H=p;return k&&(H=H.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),H.each((function(o){var p=u.isHeader(o,C);o._hoverX=y(o.x1-C.marker.pad.r),o._hoverY=x(D?o.y1-C.marker.pad.b/2:o.y0+C.marker.pad.t/2);var g=r.select(this),T=n.ensureSingle(g,"path","surface",(function(e){e.style("pointer-events","all")}));k?T.transition().attrTween("d",(function(e){var t=M(e,h,F(),[v,m]);return function(e){return b(t(e))}})):T.attr("d",b),g.call(d,s,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{isTransitioning:e._transitioning}),T.call(l,o,C,{hovered:!1}),o.x0===o.x1||o.y0===o.y1?o._text="":o._text=p?z?"":u.getPtLabel(o)||"":f(o,s,C,t,L)||"";var S=n.ensureSingle(g,"g","slicetext"),P=n.ensureSingle(S,"text","",(function(e){e.attr("data-notex",1)})),j=n.ensureUniformFontSize(e,u.determineTextFont(C,o,L.font));P.text(o._text||" ").classed("slicetext",!0).attr("text-anchor",O?"end":I||p?"start":"middle").call(a.font,j).call(i.convertToTspans,e),o.textBB=a.bBox(P.node()),o.transform=_(o,{fontSize:j.size,isHeader:p}),o.transform.fontSize=j.size,k?P.transition().attrTween("transform",(function(e){var t=A(e,h,F(),[v,m]);return function(e){return w(t(e))}})):P.attr("transform",w(o))})),R}})),s.register("7mvKb",(function(e,t){"use strict";var r=s("7GUcL"),n=s("7wauO"),a=s("4DtOe"),i=s("1ff94"),o=s("4zes5"),l=s("2xsRI");function c(e,t,r){var n;r.swapXY&&(n=e.x0,e.x0=e.y0,e.y0=n,n=e.x1,e.x1=e.y1,e.y1=n),r.flipX&&(n=e.x0,e.x0=t[0]-e.x1,e.x1=t[0]-n),r.flipY&&(n=e.y0,e.y0=t[1]-e.y1,e.y1=t[1]-n);var a=e.children;if(a)for(var i=0;i0)for(var x=0;x"),name:T||z("name")?s.name:void 0,color:k("hoverlabel.bgcolor")||y.color,borderColor:k("hoverlabel.bordercolor"),fontFamily:k("hoverlabel.font.family"),fontSize:k("hoverlabel.font.size"),fontColor:k("hoverlabel.font.color"),nameLength:k("hoverlabel.namelength"),textAlign:k("hoverlabel.align"),hovertemplate:T,hovertemplateLabels:I,eventData:[d(n,s,f.eventDataKeys)]};v&&(E.x0=S-n.rInscribed*n.rpx1,E.x1=S+n.rInscribed*n.rpx1,E.idealAlign=n.pxmid[0]<0?"left":"right"),m&&(E.x=S,E.idealAlign=S<0?"left":"right"),i.loneHover(E,{container:l._hoverlayer.node(),outerContainer:l._paper.node(),gd:a}),p._hasHoverLabel=!0}if(m){var R=e.select("path.surface");f.styleOne(R,n,s,{hovered:!0})}p._hasHoverEvent=!0,a.emit("plotly_hover",{points:[d(n,s,f.eventDataKeys)],event:r.event})}})),e.on("mouseout",(function(t){var n=a._fullLayout,o=a._fullData[p.index],l=r.select(this).datum();if(p._hasHoverEvent&&(t.originalEvent=r.event,a.emit("plotly_unhover",{points:[d(l,o,f.eventDataKeys)],event:r.event}),p._hasHoverEvent=!1),p._hasHoverLabel&&(i.loneUnhover(n._hoverlayer.node()),p._hasHoverLabel=!1),m){var s=e.select("path.surface");f.styleOne(s,l,o,{hovered:!1})}})),e.on("click",(function(e){var t=a._fullLayout,o=a._fullData[p.index],s=v&&(c.isHierarchyRoot(e)||c.isLeaf(e)),u=c.getPtId(e),h=c.isEntry(e)?c.findEntryWithChild(g,u):c.findEntryWithLevel(g,u),m=c.getPtId(h),y={points:[d(e,o,f.eventDataKeys)],event:r.event};s||(y.nextLevel=m);var x=l.triggerHandler(a,"plotly_"+p.type+"click",y);if(!1!==x&&t.hovermode&&(a._hoverdata=[d(e,o,f.eventDataKeys)],i.click(a,r.event)),!s&&!1!==x&&!a._dragging&&!a._transitioning){n.call("_storeDirectGUIEdit",o,t._tracePreGUI[o.uid],{level:o.level});var b={data:[{level:m}],traces:[p.index]},_={frame:{redraw:!1,duration:f.transitionTime},transition:{duration:f.transitionTime,easing:f.transitionEasing},mode:"immediate",fromcurrent:!0};i.loneUnhover(t._hoverlayer.node()),n.call("animate",a,b,_)}}))}})),s.register("27qVD",(function(e,t){var n;r(e.exports,"formatSliceLabel",(()=>n),(e=>n=e));s("4Wia9"),s("1s0mG"),s("7jar4");var a=s("1nIvY"),i=(s("49Q6h"),s("4U9iW")),o=(i.recordMinTextSize,i.clearMinTextSize,s("2y90T")),l=(s("4Izpx").getRotationAngle,o.computeTransform,o.transformInsideText,s("3EV3A").styleOne,s("4dC6V").resizeText,s("1rpMS"),s("7BRjT"),s("6qi5c"));n=function(e,t,r,n,i){var o=r.texttemplate,s=r.textinfo;if(!(o||s&&"none"!==s))return"";var c=i.separators,u=n[0],d=e.data.data,f=u.hierarchy,h=l.isHierarchyRoot(e),p=l.getParent(f,e),g=l.getValue(e);if(!o){var v,m=s.split("+"),y=function(e){return-1!==m.indexOf(e)},x=[];if(y("label")&&d.label&&x.push(d.label),d.hasOwnProperty("v")&&y("value")&&x.push(l.formatValue(d.v,c)),!h){y("current path")&&x.push(l.getPath(e.data));var b=0;y("percent parent")&&b++,y("percent entry")&&b++,y("percent root")&&b++;var _=b>1;if(b){var w,k=function(e){v=l.formatPercent(w,c),_&&(v+=" of "+e),x.push(v)};y("percent parent")&&!h&&(w=g/l.getValue(p),k("parent")),y("percent entry")&&(w=g/l.getValue(t),k("entry")),y("percent root")&&(w=g/l.getValue(f),k("root"))}}return y("text")&&(v=a.castOption(r,d.i,"text"),a.isValidTextValue(v)&&x.push(v)),x.join("
")}var T=a.castOption(r,d.i,"texttemplate");if(!T)return"";var M={};d.label&&(M.label=d.label),d.hasOwnProperty("v")&&(M.value=d.v,M.valueLabel=l.formatValue(d.v,c)),M.currentPath=l.getPath(e.data),h||(M.percentParent=g/l.getValue(p),M.percentParentLabel=l.formatPercent(M.percentParent,c),M.parent=l.getPtLabel(p)),M.percentEntry=g/l.getValue(t),M.percentEntryLabel=l.formatPercent(M.percentEntry,c),M.entry=l.getPtLabel(t),M.percentRoot=g/l.getValue(f),M.percentRootLabel=l.formatPercent(M.percentRoot,c),M.root=l.getPtLabel(f),d.hasOwnProperty("color")&&(M.color=d.color);var A=a.castOption(r,d.i,"text");return(a.isValidTextValue(A)||""===A)&&(M.text=A),M.customdata=a.castOption(r,d.i,"customdata"),a.texttemplateString(T,M,i._d3locale,M,r._meta||{})}})),s.register("2y90T",(function(e,t){"use strict";var r,n=s("4Wia9"),a=s("3BndS"),i=s("FNU2H"),o=s("3N5m7"),l=s("7jar4"),c=(r=s("1nIvY")).strScale,u=r.strTranslate,d=s("49Q6h"),f=s("4U9iW"),h=f.recordMinTextSize,p=f.clearMinTextSize,g=s("1Pgm8").TEXTPAD,v=s("4Izpx"),m=s("39oaf"),y=(r=s("1nIvY")).isValidTextValue;function x(e,t,a){var o=a[0],l=o.trace,s=o.cx,c=o.cy;"_hasHoverLabel"in l||(l._hasHoverLabel=!1),"_hasHoverEvent"in l||(l._hasHoverEvent=!1),e.on("mouseover",(function(e){var a=t._fullLayout,u=t._fullData[l.index];if(!t._dragging&&!1!==a.hovermode){var d=u.hoverinfo;if(Array.isArray(d)&&(d=i.castHoverinfo({hoverinfo:[v.castOption(d,e.pts)],_module:l._module},a,0)),"all"===d&&(d="label+text+value+percent+name"),u.hovertemplate||"none"!==d&&"skip"!==d&&d){var f=e.rInscribed||0,h=s+e.pxmid[0]*(1-f),p=c+e.pxmid[1]*(1-f),g=a.separators,y=[];if(d&&-1!==d.indexOf("label")&&y.push(e.label),e.text=v.castOption(u.hovertext||u.text,e.pts),d&&-1!==d.indexOf("text")){var x=e.text;r.isValidTextValue(x)&&y.push(x)}e.value=e.v,e.valueLabel=v.formatPieValue(e.v,g),d&&-1!==d.indexOf("value")&&y.push(e.valueLabel),e.percent=e.v/o.vTotal,e.percentLabel=v.formatPiePercent(e.percent,g),d&&-1!==d.indexOf("percent")&&y.push(e.percentLabel);var b=u.hoverlabel,_=b.font;i.loneHover({trace:l,x0:h-f*o.r,x1:h+f*o.r,y:p,text:y.join("
"),name:u.hovertemplate||-1!==d.indexOf("name")?u.name:void 0,idealAlign:e.pxmid[0]<0?"left":"right",color:v.castOption(b.bgcolor,e.pts)||e.color,borderColor:v.castOption(b.bordercolor,e.pts),fontFamily:v.castOption(_.family,e.pts),fontSize:v.castOption(_.size,e.pts),fontColor:v.castOption(_.color,e.pts),nameLength:v.castOption(b.namelength,e.pts),textAlign:v.castOption(b.align,e.pts),hovertemplate:v.castOption(u.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[m(e,u)]},{container:a._hoverlayer.node(),outerContainer:a._paper.node(),gd:t}),l._hasHoverLabel=!0}l._hasHoverEvent=!0,t.emit("plotly_hover",{points:[m(e,u)],event:n.event})}})),e.on("mouseout",(function(e){var r=t._fullLayout,a=t._fullData[l.index],o=n.select(this).datum();l._hasHoverEvent&&(e.originalEvent=n.event,t.emit("plotly_unhover",{points:[m(o,a)],event:n.event}),l._hasHoverEvent=!1),l._hasHoverLabel&&(i.loneUnhover(r._hoverlayer.node()),l._hasHoverLabel=!1)})),e.on("click",(function(e){var r=t._fullLayout,a=t._fullData[l.index];t._dragging||!1===r.hovermode||(t._hoverdata=[m(e,a)],i.click(t,n.event))}))}function b(e,t,r){var n=v.castOption(e.insidetextfont.color,t.pts);!n&&e._input.textfont&&(n=v.castOption(e._input.textfont.color,t.pts));var a=v.castOption(e.insidetextfont.family,t.pts)||v.castOption(e.textfont.family,t.pts)||r.family,i=v.castOption(e.insidetextfont.size,t.pts)||v.castOption(e.textfont.size,t.pts)||r.size;return{color:n||o.contrast(t.color),family:a,size:i}}function _(e,t){for(var n,a,i=0;id&&d>h||f=-4;v-=2)m(Math.PI*v,"tan");for(v=4;v>=-4;v-=2)m(Math.PI*(v+1),"tan")}if(d||h){for(v=4;v>=-4;v-=2)m(Math.PI*(v+1.5),"rad");for(v=4;v>=-4;v-=2)m(Math.PI*(v+.5),"rad")}}if(l||p||d){var y=Math.sqrt(e.width*e.width+e.height*e.height);if((i={scale:a*n*2/y,rCenter:1-a,rotate:0}).textPosAngle=(t.startangle+t.stopangle)/2,i.scale>=1)return i;g.push(i)}(p||h)&&((i=k(e,n,o,s,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i)),(p||f)&&((i=T(e,n,o,s,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i));for(var x=0,b=0,_=0;_=1)break}return g[x]}function k(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.width/e.height,o=S(i,n,t,r);return{scale:2*o/e.height,rCenter:M(i,o/t),rotate:A(a)}}function T(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.height/e.width,o=S(i,n,t,r);return{scale:2*o/e.width,rCenter:M(i,o/t),rotate:A(a+Math.PI/2)}}function M(e,t){return Math.cos(t)-e*t}function A(e){return(180/Math.PI*e+720)%180-90}function S(e,t,r,n){var a=e+1/(2*Math.tan(t));return r*Math.min(1/(Math.sqrt(a*a+.5)+a),n/(Math.sqrt(e*e+n/2)+e))}function L(e,t){return e.v!==t.vTotal||t.trace.hole?Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2):1}function C(e,t){var r=t.pxmid[0],n=t.pxmid[1],a=e.width/2,i=e.height/2;return r<0&&(a*=-1),n<0&&(i*=-1),{scale:1,rCenter:1,rotate:0,x:a+Math.abs(i)*(a>0?1:-1)/2,y:i/(1+r*r/(n*n)),outside:!0}}function I(e,t){var r,n,a,i=e.trace,o={x:e.cx,y:e.cy},l={tx:0,ty:0};l.ty+=i.title.font.size,a=D(i),-1!==i.title.position.indexOf("top")?(o.y-=(1+a)*e.r,l.ty-=e.titleBox.height):-1!==i.title.position.indexOf("bottom")&&(o.y+=(1+a)*e.r);var s,c=e.r/(void 0===(s=e.trace.aspectratio)?1:s),u=t.w*(i.domain.x[1]-i.domain.x[0])/2;return-1!==i.title.position.indexOf("left")?(u+=c,o.x-=(1+a)*c,l.tx+=e.titleBox.width/2):-1!==i.title.position.indexOf("center")?u*=2:-1!==i.title.position.indexOf("right")&&(u+=c,o.x+=(1+a)*c,l.tx-=e.titleBox.width/2),r=u/e.titleBox.width,n=O(e,t)/e.titleBox.height,{x:o.x,y:o.y,scale:Math.min(r,n),tx:l.tx,ty:l.ty}}function O(e,t){var r=e.trace,n=t.h*(r.domain.y[1]-r.domain.y[0]);return Math.min(e.titleBox.height,n/2)}function D(e){var t,r=e.pull;if(!r)return 0;if(Array.isArray(r))for(r=0,t=0;tr&&(r=e.pull[t]);return r}function z(e,t){for(var r=[],n=0;n1?u=(c=r.r)/a.aspectratio:c=(u=r.r)*a.aspectratio,s=(c*=(1+a.baseratio)/2)*u}o=Math.min(o,s/r.vTotal)}for(n=0;n")}if(l){var b=r.castOption(o,t.i,"texttemplate");if(b){var _={label:(a=t).label,value:a.v,valueLabel:v.formatPieValue(a.v,i.separators),percent:a.v/n.vTotal,percentLabel:v.formatPiePercent(a.v/n.vTotal,i.separators),color:a.color,text:a.text,customdata:r.castOption(o,a.i,"customdata")},w=v.getFirstFilled(o.text,t.pts);(y(w)||""===w)&&(_.text=w),t.text=r.texttemplateString(b,_,e._fullLayout._d3locale,_,o._meta||{})}else t.text=""}}function E(e,t){var r=e.rotate*Math.PI/180,n=Math.cos(r),a=Math.sin(r),i=(t.left+t.right)/2,o=(t.top+t.bottom)/2;e.textX=i*n-o*a,e.textY=i*a+o*n,e.noCenter=!0}e.exports={plot:function(e,t){var i=e._fullLayout,s=i._size;p("pie",i),_(t,e),z(t,s);var f=r.makeTraceGroups(i._pielayer,t,"trace").each((function(t){var f=n.select(this),p=t[0],g=p.trace;(function(e){var t,r,n,a=e[0],i=a.r,o=a.trace,l=v.getRotationAngle(o.rotation),s=2*Math.PI/a.vTotal,c="px0",u="px1";if("counterclockwise"===o.direction){for(t=0;ta.vTotal/2?1:0,r.halfangle=Math.PI*Math.min(r.v/a.vTotal,.5),r.ring=1-o.hole,r.rInscribed=L(r,a))})(t),f.attr("stroke-linejoin","round"),f.each((function(){var m=n.select(this).selectAll("g.slice").data(t);m.enter().append("g").classed("slice",!0),m.exit().remove();var y=[[[],[]],[[],[]]],_=!1;m.each((function(a,o){if(a.hidden)n.select(this).selectAll("path,g").remove();else{a.pointNumber=a.i,a.curveNumber=g.index,y[a.pxmid[1]<0?0:1][a.pxmid[0]<0?0:1].push(a);var s=p.cx,c=p.cy,u=n.select(this),f=u.selectAll("path.surface").data([a]);if(f.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),u.call(x,e,t),g.pull){var m=+v.castOption(g.pull,a.pts)||0;m>0&&(s+=m*a.pxmid[0],c+=m*a.pxmid[1])}a.cxFinal=s,a.cyFinal=c;var k=g.hole;if(a.v===p.vTotal){var T="M"+(s+a.px0[0])+","+(c+a.px0[1])+I(a.px0,a.pxmid,!0,1)+I(a.pxmid,a.px0,!0,1)+"Z";k?f.attr("d","M"+(s+k*a.px0[0])+","+(c+k*a.px0[1])+I(a.px0,a.pxmid,!1,k)+I(a.pxmid,a.px0,!1,k)+"Z"+T):f.attr("d",T)}else{var M=I(a.px0,a.px1,!0,1);if(k){var A=1-k;f.attr("d","M"+(s+k*a.px1[0])+","+(c+k*a.px1[1])+I(a.px1,a.px0,!1,k)+"l"+A*a.px0[0]+","+A*a.px0[1]+M+"Z")}else f.attr("d","M"+s+","+c+"l"+a.px0[0]+","+a.px0[1]+M+"Z")}j(e,a,p);var S=v.castOption(g.textposition,a.pts),L=u.selectAll("g.slicetext").data(a.text&&"none"!==S?[0]:[]);L.enter().append("g").classed("slicetext",!0),L.exit().remove(),L.each((function(){var u,f,m,y=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),x=r.ensureUniformFontSize(e,"outside"===S?(u=g,f=a,m=i.font,{color:v.castOption(u.outsidetextfont.color,f.pts)||v.castOption(u.textfont.color,f.pts)||m.color,family:v.castOption(u.outsidetextfont.family,f.pts)||v.castOption(u.textfont.family,f.pts)||m.family,size:v.castOption(u.outsidetextfont.size,f.pts)||v.castOption(u.textfont.size,f.pts)||m.size}):b(g,a,i.font));y.text(a.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(l.font,x).call(d.convertToTspans,e);var k,T=l.bBox(y.node());if("outside"===S)k=C(T,a);else if(k=w(T,a,p),"auto"===S&&k.scale<1){var M=r.ensureUniformFontSize(e,g.outsidetextfont);y.call(l.font,M),k=C(T=l.bBox(y.node()),a)}var A=k.textPosAngle,L=void 0===A?a.pxmid:P(p.r,A);if(k.targetX=s+L[0]*k.rCenter+(k.x||0),k.targetY=c+L[1]*k.rCenter+(k.y||0),E(k,T),k.outside){var I=k.targetY;a.yLabelMin=I-T.height/2,a.yLabelMid=I,a.yLabelMax=I+T.height/2,a.labelExtraX=0,a.labelExtraY=0,_=!0}k.fontSize=x.size,h(g.type,k,i),t[o].transform=k,y.attr("transform",r.getTextTransform(k))}))}function I(e,t,r,n){var i=n*(t[0]-e[0]),o=n*(t[1]-e[1]);return"a"+n*p.r+","+n*p.r+" 0 "+a.largeArc+(r?" 1 ":" 0 ")+i+","+o}}));var k,T=n.select(this).selectAll("g.titletext").data(g.title.text?[0]:[]);if(T.enter().append("g").classed("titletext",!0),T.exit().remove(),T.each((function(){var t,a,i,o=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),f=g.title.text;g._meta&&(f=r.templateString(f,g._meta)),o.text(f).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(l.font,g.title.font).call(d.convertToTspans,e),t="middle center"===g.title.position?(a=p,i=Math.sqrt(a.titleBox.width*a.titleBox.width+a.titleBox.height*a.titleBox.height),{x:a.cx,y:a.cy,scale:a.trace.hole*a.r*2/i,tx:0,ty:-a.titleBox.height/2+a.trace.title.font.size}):I(p,s),o.attr("transform",u(t.x,t.y)+c(Math.min(1,t.scale))+u(t.tx,t.ty))})),_&&function(e,t){var r,n,a,i,o,l,s,c,u,d,f,h,p;function g(e,t){return e.pxmid[1]-t.pxmid[1]}function m(e,t){return t.pxmid[1]-e.pxmid[1]}function y(e,r){r||(r={});var a,c,u,f,h=r.labelExtraY+(n?r.yLabelMax:r.yLabelMin),p=n?e.yLabelMin:e.yLabelMax,g=n?e.yLabelMax:e.yLabelMin,m=e.cyFinal+o(e.px0[1],e.px1[1]),y=h-p;if(y*s>0&&(e.labelExtraY=y),Array.isArray(t.pull))for(c=0;c=(v.castOption(t.pull,u.pts)||0)||((e.pxmid[1]-u.pxmid[1])*s>0?(y=u.cyFinal+o(u.px0[1],u.px1[1])-p-e.labelExtraY)*s>0&&(e.labelExtraY+=y):(g+e.labelExtraY-m)*s>0&&(a=3*l*Math.abs(c-d.indexOf(e)),(f=u.cxFinal+i(u.px0[0],u.px1[0])+a-(e.cxFinal+e.pxmid[0])-e.labelExtraX)*l>0&&(e.labelExtraX+=f)))}for(n=0;n<2;n++)for(a=n?g:m,o=n?Math.max:Math.min,s=n?1:-1,r=0;r<2;r++){for(i=r?Math.max:Math.min,l=r?1:-1,(c=e[n][r]).sort(a),u=e[1-n][r],d=u.concat(c),h=[],f=0;fMath.abs(u)?l+="l"+u*e.pxmid[0]/e.pxmid[1]+","+u+"H"+(i+e.labelExtraX+s):l+="l"+e.labelExtraX+","+c+"v"+(u-c)+"h"+s}else l+="V"+(e.yLabelMid+e.labelExtraY)+"h"+s;r.ensureSingle(t,"path","textline").call(o.stroke,k.outsidetextfont.color).attr({"stroke-width":Math.min(2,k.outsidetextfont.size/8),d:l,fill:"none"})}else t.select("path.textline").remove()})),_&&g.automargin){var M=l.bBox(f.node()),A=g.domain,S=s.w*(A.x[1]-A.x[0]),L=s.h*(A.y[1]-A.y[0]),O=(.5*S-p.r)/s.w,D=(.5*L-p.r)/s.h;a.autoMargin(e,"pie."+g.uid+".automargin",{xl:A.x[0]-O,xr:A.x[1]+O,yb:A.y[0]-D,yt:A.y[1]+D,l:Math.max(p.cx-p.r-M.left,0),r:Math.max(M.right-(p.cx+p.r),0),b:Math.max(M.bottom-(p.cy+p.r),0),t:Math.max(p.cy-p.r-M.top,0),pad:5})}}))}));setTimeout((function(){f.selectAll("tspan").each((function(){var e=n.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))}))}),0)},formatSliceLabel:j,transformInsideText:w,determineInsideTextFont:b,positionTitleOutside:I,prerenderTitles:_,layoutAreas:z,attachFxHandlers:x,computeTransform:E}})),s.register("39oaf",(function(e,t){"use strict";var r=s("2MtC7").appendArrayMultiPointValues;e.exports=function(e,t){var n={curveNumber:t.index,pointNumbers:e.pts,data:t._input,fullData:t,label:e.label,color:e.color,value:e.v,percent:e.percent,text:e.text,v:e.v};return 1===e.pts.length&&(n.pointNumber=n.i=e.pts[0]),r(n,t,e.pts),"funnelarea"===t.type&&(delete n.v,delete n.i),n}})),s.register("3EV3A",(function(e,t){"use strict";var r=s("4Wia9"),n=s("3N5m7"),a=s("1nIvY"),i=s("4U9iW").resizeText;function o(e,t,r){var i=t.data.data,o=!t.children,l=i.i,s=a.castOption(r,l,"marker.line.color")||n.defaultLine,c=a.castOption(r,l,"marker.line.width")||0;e.style("stroke-width",c).call(n.fill,i.color).call(n.stroke,s).style("opacity",o?r.leaf.opacity:null)}e.exports={style:function(e){var t=e._fullLayout._sunburstlayer.selectAll(".trace");i(e,t,"sunburst"),t.each((function(e){var t=r.select(this),n=e[0].trace;t.style("opacity",n.opacity),t.selectAll("path.surface").each((function(e){r.select(this).call(o,e,n)}))}))},styleOne:o}})),s.register("4OYqK",(function(e,t){"use strict";var r=s("4Wia9"),n=s("1nIvY"),a=s("7jar4"),i=s("49Q6h"),o=s("7mvKb"),l=s("iexgK").styleOne,c=s("4EUdN"),u=s("6qi5c"),d=s("1rpMS"),f=!0;e.exports=function(e,t,s,h,p){var g=p.barDifY,v=p.width,m=p.height,y=p.viewX,x=p.viewY,b=p.pathSlice,_=p.toMoveInsideSlice,w=p.strTransform,k=p.hasTransition,T=p.handleSlicesExit,M=p.makeUpdateSliceInterpolator,A=p.makeUpdateTextInterpolator,S={},L=e._fullLayout,C=t[0],I=C.trace,O=C.hierarchy,D=v/I._entryDepth,z=u.listPath(s.data,"id"),P=o(O.copy(),[v,m],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(P=P.filter((function(e){var t=z.indexOf(e.data.id);return-1!==t&&(e.x0=D*t,e.x1=D*(t+1),e.y0=g,e.y1=g+m,e.onPathbar=!0,!0)}))).reverse(),(h=h.data(P,u.getPtId)).enter().append("g").classed("pathbar",!0),T(h,f,S,[v,m],b),h.order();var j=h;k&&(j=j.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),j.each((function(o){o._hoverX=y(o.x1-Math.min(v,m)/2),o._hoverY=x(o.y1-m/2);var h=r.select(this),p=n.ensureSingle(h,"path","surface",(function(e){e.style("pointer-events","all")}));k?p.transition().attrTween("d",(function(e){var t=M(e,f,S,[v,m]);return function(e){return b(t(e))}})):p.attr("d",b),h.call(d,s,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:e._transitioning}),p.call(l,o,I,{hovered:!1}),o._text=(u.getPtLabel(o)||"").split("
").join(" ")||"";var g=n.ensureSingle(h,"g","slicetext"),T=n.ensureSingle(g,"text","",(function(e){e.attr("data-notex",1)})),C=n.ensureUniformFontSize(e,u.determineTextFont(I,o,L.font,{onPathbar:!0}));T.text(o._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(a.font,C).call(i.convertToTspans,e),o.textBB=a.bBox(T.node()),o.transform=_(o,{fontSize:C.size,onPathbar:!0}),o.transform.fontSize=C.size,k?T.transition().attrTween("transform",(function(e){var t=A(e,f,S,[v,m]);return function(e){return w(t(e))}})):T.attr("transform",w(o))}))}})),a=s("6DnoW"),t(n).register([t(a)]),window.Plotly=t(n)}()}(); \ No newline at end of file +!function(){function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},n={},a={},i=r.parcelRequire427e;null==i&&((i=function(e){if(e in n)return n[e].exports;if(e in a){let t=a[e];delete a[e];let r={id:e,exports:{}};return n[e]=r,t.call(r.exports,r,r.exports),r.exports}var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}).register=function(e,t){a[e]=t},r.parcelRequire427e=i);var o;i.register("ibSRw",(function(e,t){"use strict";e.exports.version=i("4EeDN").version,i("4W9Is").polyfill();i("4aHJL");i("1Jk5J")();for(var r=i("4Hxcc"),n=e.exports.register=r.register,a=i("3L5lN"),o=Object.keys(a),l=0;ln),(e=>n=e)),n="1.58.4"})),i.register("4W9Is",(function(e,t){var n=i("3JAaW");!function(t,r){"object"==typeof e.exports?e.exports=r():"function"==typeof define&&define.amd?define(r):t.ES6Promise=r()}(e.exports,(function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=0,i=void 0,o=void 0,l=function(e,t){p[a]=e,p[a+1]=t,2===(a+=2)&&(o?o(g):b())};var s="undefined"!=typeof window?window:void 0,c=s||{},u=c.MutationObserver||c.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==n&&"[object process]"==={}.toString.call(n),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(g,1)}}var p=new Array(1e3);function g(){for(var e=0;e1)for(var r=1;r:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":"content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;","X [data-title]:after":"content:attr(data-title);background:#69738a;color:white;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:white;","X .select-outline-2":"stroke:black;stroke-dasharray:2px 2px;",Y:"font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;","Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in n){var o=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");r.addStyleRule(o,n[a])}})),i.register("1nIvY",(function(e,t){"use strict";var r=i("4Wia9"),n=i("6jof9").utcFormat,a=i("6qr5h"),o=i("10TEj"),l=o.FP_SAFE,s=o.BADNUM,c=e.exports={};c.nestedProperty=i("2Tkfd"),c.keyedContainer=i("6DYhf"),c.relativeAttr=i("7wVo2"),c.isPlainObject=i("2bwwe"),c.toLogRange=i("2UjBK"),c.relinkPrivateKeys=i("CXorH");var u=i("1nElS");c.isTypedArray=u.isTypedArray,c.isArrayOrTypedArray=u.isArrayOrTypedArray,c.isArray1D=u.isArray1D,c.ensureArray=u.ensureArray,c.concat=u.concat,c.maxRowLength=u.maxRowLength,c.minRowLength=u.minRowLength;var d=i("5DnzT");c.mod=d.mod,c.modHalf=d.modHalf;var f=i("2YEcf");c.valObjectMeta=f.valObjectMeta,c.coerce=f.coerce,c.coerce2=f.coerce2,c.coerceFont=f.coerceFont,c.coerceHoverinfo=f.coerceHoverinfo,c.coerceSelectionMarkerOpacity=f.coerceSelectionMarkerOpacity,c.validate=f.validate;var h=i("4Jreh");c.dateTime2ms=h.dateTime2ms,c.isDateTime=h.isDateTime,c.ms2DateTime=h.ms2DateTime,c.ms2DateTimeLocal=h.ms2DateTimeLocal,c.cleanDate=h.cleanDate,c.isJSDate=h.isJSDate,c.formatDate=h.formatDate,c.incrementMonth=h.incrementMonth,c.dateTick0=h.dateTick0,c.dfltRange=h.dfltRange,c.findExactDates=h.findExactDates,c.MIN_MS=h.MIN_MS,c.MAX_MS=h.MAX_MS;var p=i("5LcuG");c.findBin=p.findBin,c.sorterAsc=p.sorterAsc,c.sorterDes=p.sorterDes,c.distinctVals=p.distinctVals,c.roundUp=p.roundUp,c.sort=p.sort,c.findIndexOfMin=p.findIndexOfMin;var g=i("23CtA");c.aggNums=g.aggNums,c.len=g.len,c.mean=g.mean,c.median=g.median,c.midRange=g.midRange,c.variance=g.variance,c.stdev=g.stdev,c.interp=g.interp;var v=i("2paJ6");c.init2dArray=v.init2dArray,c.transposeRagged=v.transposeRagged,c.dot=v.dot,c.translationMatrix=v.translationMatrix,c.rotationMatrix=v.rotationMatrix,c.rotationXYMatrix=v.rotationXYMatrix,c.apply3DTransform=v.apply3DTransform,c.apply2DTransform=v.apply2DTransform,c.apply2DTransform2=v.apply2DTransform2,c.convertCssMatrix=v.convertCssMatrix,c.inverseTransformMatrix=v.inverseTransformMatrix;var m=i("3TZVB");c.deg2rad=m.rad2deg,c.rad2deg=m.rad2deg,c.angleDelta=m.angleDelta,c.angleDist=m.angleDist,c.isFullCircle=m.isFullCircle,c.isAngleInsideSector=m.isAngleInsideSector,c.isPtInsideSector=m.isPtInsideSector,c.pathArc=m.pathArc,c.pathSector=m.pathSector,c.pathAnnulus=m.pathAnnulus;var y=i("36x9Z");c.isLeftAnchor=y.isLeftAnchor,c.isCenterAnchor=y.isCenterAnchor,c.isRightAnchor=y.isRightAnchor,c.isTopAnchor=y.isTopAnchor,c.isMiddleAnchor=y.isMiddleAnchor,c.isBottomAnchor=y.isBottomAnchor;var x=i("6yIsr");c.segmentsIntersect=x.segmentsIntersect,c.segmentDistance=x.segmentDistance,c.getTextLocation=x.getTextLocation,c.clearLocationCache=x.clearLocationCache,c.getVisibleSegment=x.getVisibleSegment,c.findPointOnPath=x.findPointOnPath;var b=i("1ZM4z");c.extendFlat=b.extendFlat,c.extendDeep=b.extendDeep,c.extendDeepAll=b.extendDeepAll,c.extendDeepNoArrays=b.extendDeepNoArrays;var _=i("1NWKZ");c.log=_.log,c.warn=_.warn,c.error=_.error;var w=i("3ImU3");c.counterRegex=w.counter;var k=i("3RMbo");c.throttle=k.throttle,c.throttleDone=k.done,c.clearThrottle=k.clear;var T=i("44pv8");function M(e){var t={};for(var r in e)for(var n=e[r],a=0;al?s:a(e)?Number(e):s:s},c.isIndex=function(e,t){return!(void 0!==t&&e>=t)&&(a(e)&&e>=0&&e%1==0)},c.noop=i("77Ix4"),c.identity=i("4Qyoa"),c.repeat=function(e,t){for(var r=new Array(t),n=0;nr?Math.max(r,Math.min(t,e)):Math.max(t,Math.min(r,e))},c.bBoxIntersect=function(e,t,r){return r=r||0,e.left<=t.right+r&&t.left<=e.right+r&&e.top<=t.bottom+r&&t.top<=e.bottom+r},c.simpleMap=function(e,t,r,n,a){for(var i=e.length,o=new Array(i),l=0;l=Math.pow(2,r)?a>10?(c.warn("randstr failed uniqueness"),s):e(t,r,n,(a||0)+1):s},c.OptionControl=function(e,t){e||(e={}),t||(t="opt");var r={optionList:[],_newoption:function(n){n[t]=e,r[n.name]=n,r.optionList.push(n)}};return r["_"+t]=e,r},c.smooth=function(e,t){if((t=Math.round(t)||0)<2)return e;var r,n,a,i,o=e.length,l=2*o,s=2*t-1,c=new Array(s),u=new Array(o);for(r=0;r=l&&(a-=l*Math.floor(a/l)),a<0?a=-1-a:a>=o&&(a=l-1-a),i+=e[a]*c[n];u[r]=i}return u},c.syncOrAsync=function(e,t,r){var n;function a(){return c.syncOrAsync(e,t,r)}for(;e.length;)if((n=(0,e.splice(0,1)[0])(t))&&n.then)return n.then(a).then(void 0,c.promiseError);return r&&r(t)},c.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},c.noneOrAll=function(e,t,r){if(e){var n,a=!1,i=!0;for(n=0;n0?t:0}))},c.fillArray=function(e,t,r,n){if(n=n||c.identity,c.isArrayOrTypedArray(e))for(var a=0;a1?a+o[1]:"";if(i&&(o.length>1||l.length>4||r))for(;n.test(l);)l=l.replace(n,"$1"+i+"$2");return l+s},c.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var O=/^\w*$/;c.templateString=function(e,t){var r={};return e.replace(c.TEMPLATE_STRING_REGEX,(function(e,n){var a;return O.test(n)?a=t[n]:(r[n]=r[n]||c.nestedProperty(t,n).get,a=r[n]()),c.isValidTextValue(a)?a:""}))};var D={max:10,count:0,name:"hovertemplate"};c.hovertemplateString=function(){return j.apply(D,arguments)};var z={max:10,count:0,name:"texttemplate"};c.texttemplateString=function(){return j.apply(z,arguments)};var P=/^[:|\|]/;function j(e,t,a){var i=this,o=arguments;t||(t={});var l={};return e.replace(c.TEMPLATE_STRING_REGEX,(function(e,s,u){var d,f,h,p;for(h=3;h=48&&o<=57,c=l>=48&&l<=57;if(s&&(n=10*n+o-48),c&&(a=10*a+l-48),!s||!c){if(n!==a)return n-a;if(o!==l)return o-l}}return a-n};var E=2e9;c.seedPseudoRandom=function(){E=2e9},c.pseudoRandom=function(){var e=E;return E=(69069*E+1)%4294967296,Math.abs(E-e)<429496729?c.pseudoRandom():E/4294967296},c.fillText=function(e,t,r){var n=Array.isArray(r)?function(e){r.push(e)}:function(e){r.text=e},a=c.extractOption(e,t,"htx","hovertext");if(c.isValidTextValue(a))return n(a);var i=c.extractOption(e,t,"tx","text");return c.isValidTextValue(i)?n(i):void 0},c.isValidTextValue=function(e){return e||0===e},c.formatPercent=function(e,t){t=t||0;for(var r=(Math.round(100*e*Math.pow(10,t))*Math.pow(.1,t)).toFixed(t)+"%",n=0;n1&&(u=1):u=0,c.strTranslate(a-u*(r+o),i-u*(n+l))+c.strScale(u)+(s?"rotate("+s+(t?"":" "+r+" "+n)+")":"")},c.ensureUniformFontSize=function(e,t){var r=c.extendFlat({},t);return r.size=Math.max(t.size,e._fullLayout.uniformtext.minsize||0),r},c.join2=function(e,t,r){var n=e.length;return n>1?e.slice(0,-1).join(t)+r+e[n-1]:e.join(t)}})),i.register("4Wia9",(function(e,t){!function(){var t={version:"3.5.17"},r=[].slice,n=function(e){return r.call(e)},a=this.document;function i(e){return e&&(e.ownerDocument||e.document||e).documentElement}function o(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(a)try{n(a.documentElement.childNodes)[0].nodeType}catch(e){n=function(e){for(var t=e.length,r=new Array(t);t--;)r[t]=e[t];return r}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var l=this.Element.prototype,s=l.setAttribute,c=l.setAttributeNS,u=this.CSSStyleDeclaration.prototype,d=u.setProperty;l.setAttribute=function(e,t){s.call(this,e,t+"")},l.setAttributeNS=function(e,t,r){c.call(this,e,t,r+"")},u.setProperty=function(e,t,r){d.call(this,e,t+"",r)}}function f(e,t){return et?1:e>=t?0:NaN}function h(e){return null===e?NaN:+e}function p(e){return!isNaN(e)}function g(e){return{left:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)<0?n=i+1:a=i}return n},right:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)>0?a=i:n=i+1}return n}}}t.ascending=f,t.descending=function(e,t){return te?1:t>=e?0:NaN},t.min=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++an&&(r=n)}else{for(;++a=n){r=n;break}for(;++an&&(r=n)}return r},t.max=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++ar&&(r=n)}else{for(;++a=n){r=n;break}for(;++ar&&(r=n)}return r},t.extent=function(e,t){var r,n,a,i=-1,o=e.length;if(1===arguments.length){for(;++i=n){r=a=n;break}for(;++in&&(r=n),a=n){r=a=n;break}for(;++in&&(r=n),a1)return o/(s-1)},t.deviation=function(){var e=t.variance.apply(this,arguments);return e?Math.sqrt(e):e};var v=g(f);function m(e){return e.length}t.bisectLeft=v.left,t.bisect=t.bisectRight=v.right,t.bisector=function(e){return g(1===e.length?function(t,r){return f(e(t),r)}:e)},t.shuffle=function(e,t,r){(i=arguments.length)<3&&(r=e.length,i<2&&(t=0));for(var n,a,i=r-t;i;)a=Math.random()*i--|0,n=e[i+t],e[i+t]=e[a+t],e[a+t]=n;return e},t.permute=function(e,t){for(var r=t.length,n=new Array(r);r--;)n[r]=e[t[r]];return n},t.pairs=function(e){for(var t=0,r=e.length-1,n=e[0],a=new Array(r<0?0:r);t=0;)for(t=(n=e[a]).length;--t>=0;)r[--o]=n[t];return r};var y=Math.abs;function x(e){for(var t=1;e*t%1;)t*=10;return t}function b(e,t){for(var r in t)Object.defineProperty(e.prototype,r,{value:t[r],enumerable:!1})}function _(){this._=Object.create(null)}t.range=function(e,t,r){if(arguments.length<3&&(r=1,arguments.length<2&&(t=e,e=0)),(t-e)/r==1/0)throw new Error("infinite range");var n,a=[],i=x(y(r)),o=-1;if(e*=i,t*=i,(r*=i)<0)for(;(n=e+r*++o)>t;)a.push(n/i);else for(;(n=e+r*++o)=a.length)return r?r.call(n,i):e?i.sort(e):i;for(var s,c,u,d,f=-1,h=i.length,p=a[l++],g=new _;++f=a.length)return e;var r=[],n=i[t++];return e.forEach((function(e,n){r.push({key:e,values:l(n,t)})})),n?r.sort((function(e,t){return n(e.key,t.key)})):r}return n.map=function(e,t){return o(t,e,0)},n.entries=function(e){return l(o(t.map,e,0),0)},n.key=function(e){return a.push(e),n},n.sortKeys=function(e){return i[a.length-1]=e,n},n.sortValues=function(t){return e=t,n},n.rollup=function(e){return r=e,n},n},t.set=function(e){var t=new C;if(e)for(var r=0,n=e.length;r=0&&(n=e.slice(r+1),e=e.slice(0,r)),e)return arguments.length<2?this[e].on(n):this[e].on(n,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(n,null);return this}},t.event=null,t.requote=function(e){return e.replace(H,"\\$&")};var H=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,B={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)e[r]=t[r]};function U(e){return B(e,G),e}var q=function(e,t){return t.querySelector(e)},V=function(e,t){return t.querySelectorAll(e)},Y=function(e,t){var r=e.matches||e[D(e,"matchesSelector")];return(Y=function(e,t){return r.call(e,t)})(e,t)};"function"==typeof Sizzle&&(q=function(e,t){return Sizzle(e,t)[0]||null},V=Sizzle,Y=Sizzle.matchesSelector),t.selection=function(){return t.select(a.documentElement)};var G=t.selection.prototype=[];function Z(e){return"function"==typeof e?e:function(){return q(e,this)}}function W(e){return"function"==typeof e?e:function(){return V(e,this)}}G.select=function(e){var t,r,n,a,i=[];e=Z(e);for(var o=-1,l=this.length;++o=0&&"xmlns"!==(r=e.slice(0,t))&&(e=e.slice(t+1)),Q.hasOwnProperty(r)?{space:Q[r],local:e}:e}},G.attr=function(e,r){if(arguments.length<2){if("string"==typeof e){var n=this.node();return(e=t.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(r in e)this.each(J(r,e[r]));return this}return this.each(J(e,r))},G.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var r=this.node(),n=(e=ee(e)).length,a=-1;if(t=r.classList){for(;++a=0;)(r=n[a])&&(i&&i!==r.nextSibling&&i.parentNode.insertBefore(r,i),i=r);return this},G.sort=function(e){e=ce.apply(this,arguments);for(var t=-1,r=this.length;++t=t&&(t=a+1);!(o=l[t])&&++t0&&(e=e.slice(0,o));var s=ge.get(e);function c(){var t=this[i];t&&(this.removeEventListener(e,t,t.$),delete this[i])}return s&&(e=s,l=me),o?r?function(){var t=l(r,n(arguments));c.call(this),this.addEventListener(e,this[i]=t,t.$=a),t._=r}:c:r?P:function(){var r,n=new RegExp("^__on([^.]+)"+t.requote(e)+"$");for(var a in this)if(r=a.match(n)){var i=this[a];this.removeEventListener(r[1],i,i.$),delete this[a]}}}t.selection.enter=de,t.selection.enter.prototype=fe,fe.append=G.append,fe.empty=G.empty,fe.node=G.node,fe.call=G.call,fe.size=G.size,fe.select=function(e){for(var t,r,n,a,i,o=[],l=-1,s=this.length;++l0?1:e<0?-1:0}function ze(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(t[1]-e[1])*(r[0]-e[0])}function Pe(e){return e>1?0:e<-1?Ae:Math.acos(e)}function je(e){return e>1?Ce:e<-1?-Ce:Math.asin(e)}function Ee(e){return((e=Math.exp(e))+1/e)/2}function Re(e){return(e=Math.sin(e/2))*e}var Ne=Math.SQRT2;t.interpolateZoom=function(e,t){var r,n,a=e[0],i=e[1],o=e[2],l=t[0],s=t[1],c=t[2],u=l-a,d=s-i,f=u*u+d*d;if(f0&&(e=e.transition().duration(g)),e.call(w.event)}function S(){c&&c.domain(s.range().map((function(e){return(e-f.x)/f.k})).map(s.invert)),d&&d.domain(u.range().map((function(e){return(e-f.y)/f.k})).map(u.invert))}function L(e){v++||e({type:"zoomstart"})}function C(e){S(),e({type:"zoom",scale:f.k,translate:[f.x,f.y]})}function I(e){--v||(e({type:"zoomend"}),r=null)}function O(){var e=this,r=_.of(e,arguments),n=0,a=t.select(o(e)).on(y,s).on(x,c),i=k(t.mouse(e)),l=be(e);function s(){n=1,M(t.mouse(e),i),C(r)}function c(){a.on(y,null).on(x,null),l(n),I(r)}Dl.call(e),L(r)}function D(){var e,r=this,n=_.of(r,arguments),a={},i=0,o=".zoom-"+t.event.changedTouches[0].identifier,s="touchmove"+o,c="touchend"+o,u=[],d=t.select(r),h=be(r);function p(){var n=t.touches(r);return e=f.k,n.forEach((function(e){e.identifier in a&&(a[e.identifier]=k(e))})),n}function g(){var e=t.event.target;t.select(e).on(s,v).on(c,y),u.push(e);for(var n=t.event.changedTouches,o=0,d=n.length;o1){m=h[0];var x=h[1],b=m[0]-x[0],_=m[1]-x[1];i=b*b+_*_}}function v(){var o,s,c,u,d=t.touches(r);Dl.call(r);for(var f=0,h=d.length;f360?e-=360:e<0&&(e+=360),e<60?n+(a-n)*e/60:e<180?a:e<240?n+(a-n)*(240-e)/60:n}(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,n=2*(r=r<0?0:r>1?1:r)-(a=r<=.5?r*(1+t):r+t-r*t),new it(i(e+120),i(e),i(e-120))}function Ge(e,r,n){return this instanceof Ge?(this.h=+e,this.c=+r,void(this.l=+n)):arguments.length<2?e instanceof Ge?new Ge(e.h,e.c,e.l):tt(e instanceof Xe?e.l:(e=ft((e=t.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Ge(e,r,n)}Ve.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new qe(this.h,this.s,this.l/e)},Ve.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new qe(this.h,this.s,e*this.l)},Ve.rgb=function(){return Ye(this.h,this.s,this.l)},t.hcl=Ge;var Ze=Ge.prototype=new Ue;function We(e,t,r){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Xe(r,Math.cos(e*=Ie)*t,Math.sin(e)*t)}function Xe(e,t,r){return this instanceof Xe?(this.l=+e,this.a=+t,void(this.b=+r)):arguments.length<2?e instanceof Xe?new Xe(e.l,e.a,e.b):e instanceof Ge?We(e.h,e.c,e.l):ft((e=it(e)).r,e.g,e.b):new Xe(e,t,r)}Ze.brighter=function(e){return new Ge(this.h,this.c,Math.min(100,this.l+Qe*(arguments.length?e:1)))},Ze.darker=function(e){return new Ge(this.h,this.c,Math.max(0,this.l-Qe*(arguments.length?e:1)))},Ze.rgb=function(){return We(this.h,this.c,this.l).rgb()},t.lab=Xe;var Qe=18,Je=.95047,Ke=1.08883,$e=Xe.prototype=new Ue;function et(e,t,r){var n=(e+16)/116,a=n+t/500,i=n-r/200;return new it(at(3.2404542*(a=rt(a)*Je)-1.5371385*(n=1*rt(n))-.4985314*(i=rt(i)*Ke)),at(-.969266*a+1.8760108*n+.041556*i),at(.0556434*a-.2040259*n+1.0572252*i))}function tt(e,t,r){return e>0?new Ge(Math.atan2(r,t)*Oe,Math.sqrt(t*t+r*r),e):new Ge(NaN,NaN,e)}function rt(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function nt(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function at(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function it(e,t,r){return this instanceof it?(this.r=~~e,this.g=~~t,void(this.b=~~r)):arguments.length<2?e instanceof it?new it(e.r,e.g,e.b):ut(""+e,it,Ye):new it(e,t,r)}function ot(e){return new it(e>>16,e>>8&255,255&e)}function lt(e){return ot(e)+""}$e.brighter=function(e){return new Xe(Math.min(100,this.l+Qe*(arguments.length?e:1)),this.a,this.b)},$e.darker=function(e){return new Xe(Math.max(0,this.l-Qe*(arguments.length?e:1)),this.a,this.b)},$e.rgb=function(){return et(this.l,this.a,this.b)},t.rgb=it;var st=it.prototype=new Ue;function ct(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function ut(e,t,r){var n,a,i,o=0,l=0,s=0;if(n=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(a=n[2].split(","),n[1]){case"hsl":return r(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return t(pt(a[0]),pt(a[1]),pt(a[2]))}return(i=gt.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&i)>>4,o|=o>>4,l=240&i,l|=l>>4,s=15&i,s|=s<<4):7===e.length&&(o=(16711680&i)>>16,l=(65280&i)>>8,s=255&i)),t(o,l,s))}function dt(e,t,r){var n,a,i=Math.min(e/=255,t/=255,r/=255),o=Math.max(e,t,r),l=o-i,s=(o+i)/2;return l?(a=s<.5?l/(o+i):l/(2-o-i),n=e==o?(t-r)/l+(t0&&s<1?0:n),new qe(n,a,s)}function ft(e,t,r){var n=nt((.4124564*(e=ht(e))+.3575761*(t=ht(t))+.1804375*(r=ht(r)))/Je),a=nt((.2126729*e+.7151522*t+.072175*r)/1);return Xe(116*a-16,500*(n-a),200*(a-nt((.0193339*e+.119192*t+.9503041*r)/Ke)))}function ht(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function pt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}st.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,r=this.g,n=this.b,a=30;return t||r||n?(t&&t=200&&t<300||304===t){try{e=a.call(o,c)}catch(e){return void l.error.call(o,e)}l.load.call(o,e)}else l.error.call(o,c)}return this.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(e)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=d:c.onreadystatechange=function(){c.readyState>3&&d()},c.onprogress=function(e){var r=t.event;t.event=e;try{l.progress.call(o,c)}finally{t.event=r}},o.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?s[e]:(null==t?delete s[e]:s[e]=t+"",o)},o.mimeType=function(e){return arguments.length?(r=null==e?null:e+"",o):r},o.responseType=function(e){return arguments.length?(u=e,o):u},o.response=function(e){return a=e,o},["get","post"].forEach((function(e){o[e]=function(){return o.send.apply(o,[e].concat(n(arguments)))}})),o.send=function(t,n,a){if(2===arguments.length&&"function"==typeof n&&(a=n,n=null),c.open(t,e,!0),null==r||"accept"in s||(s.accept=r+",*/*"),c.setRequestHeader)for(var i in s)c.setRequestHeader(i,s[i]);return null!=r&&c.overrideMimeType&&c.overrideMimeType(r),null!=u&&(c.responseType=u),null!=a&&o.on("error",a).on("load",(function(e){a(null,e)})),l.beforesend.call(o,c),c.send(null==n?null:n),o},o.abort=function(){return c.abort(),o},t.rebind(o,l,"on"),null==i?o:o.get(function(e){return 1===e.length?function(t,r){e(null==t?r:null)}:e}(i))}gt.forEach((function(e,t){gt.set(e,ot(t))})),t.functor=vt,t.xhr=mt(I),t.dsv=function(e,t){var r=new RegExp('["'+e+"\n]"),n=e.charCodeAt(0);function a(e,r,n){arguments.length<3&&(n=r,r=null);var a=yt(e,t,null==r?i:o(r),n);return a.row=function(e){return arguments.length?a.response(null==(r=e)?i:o(e)):r},a}function i(e){return a.parse(e.responseText)}function o(e){return function(t){return a.parse(t.responseText,e)}}function l(t){return t.map(s).join(e)}function s(e){return r.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return a.parse=function(e,t){var r;return a.parseRows(e,(function(e,n){if(r)return r(e,n-1);var a=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");r=t?function(e,r){return t(a(e),r)}:a}))},a.parseRows=function(e,t){var r,a,i={},o={},l=[],s=e.length,c=0,u=0;function d(){if(c>=s)return o;if(a)return a=!1,i;var t=c;if(34===e.charCodeAt(t)){for(var r=t;r++24?(isFinite(t)&&(clearTimeout(wt),wt=setTimeout(Mt,t)),_t=0):(_t=1,kt(Mt))}function At(){for(var e=Date.now(),t=xt;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function St(){for(var e,t=xt,r=1/0;t;)t.c?(t.t8?function(e){return e/r}:function(e){return e*r},symbol:e}}));function It(e){var r=e.decimal,n=e.thousands,a=e.grouping,i=e.currency,o=a&&n?function(e,t){for(var r=e.length,i=[],o=0,l=a[0],s=0;r>0&&l>0&&(s+l+1>t&&(l=Math.max(1,t-s)),i.push(e.substring(r-=l,r+l)),!((s+=l+1)>t));)l=a[o=(o+1)%a.length];return i.reverse().join(n)}:I;return function(e){var n=Ot.exec(e),a=n[1]||" ",l=n[2]||">",s=n[3]||"-",c=n[4]||"",u=n[5],d=+n[6],f=n[7],h=n[8],p=n[9],g=1,v="",m="",y=!1,x=!0;switch(h&&(h=+h.substring(1)),(u||"0"===a&&"="===l)&&(u=a="0",l="="),p){case"n":f=!0,p="g";break;case"%":g=100,m="%",p="f";break;case"p":g=100,m="%",p="r";break;case"b":case"o":case"x":case"X":"#"===c&&(v="0"+p.toLowerCase());case"c":x=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===c&&(v=i[0],m=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=Dt.get(p)||zt;var b=u&&f;return function(e){var n=m;if(y&&e%1)return"";var i=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===s?"":s;if(g<0){var c=t.formatPrefix(e,h);e=c.scale(e),n=c.symbol+m}else e*=g;var _,w,k=(e=p(e,h)).lastIndexOf(".");if(k<0){var T=x?e.lastIndexOf("e"):-1;T<0?(_=e,w=""):(_=e.substring(0,T),w=e.substring(T))}else _=e.substring(0,k),w=r+e.substring(k+1);!u&&f&&(_=o(_,1/0));var M=v.length+_.length+w.length+(b?0:i.length),A=M"===l?A+i+e:"^"===l?A.substring(0,M>>=1)+i+e+A.substring(M):i+(b?e:A+e))+n}}}t.formatPrefix=function(e,r){var n=0;return(e=+e)&&(e<0&&(e*=-1),r&&(e=t.round(e,Lt(e,r))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Ct[8+n/3]};var Ot=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Dt=t.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,r){return(e=t.round(e,Lt(e,r))).toFixed(Math.max(0,Math.min(20,Lt(e*(1+1e-15),r))))}});function zt(e){return e+""}var Pt=t.time={},jt=Date;function Et(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Et.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Rt.setUTCDate.apply(this._,arguments)},setDay:function(){Rt.setUTCDay.apply(this._,arguments)},setFullYear:function(){Rt.setUTCFullYear.apply(this._,arguments)},setHours:function(){Rt.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Rt.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Rt.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Rt.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Rt.setUTCSeconds.apply(this._,arguments)},setTime:function(){Rt.setTime.apply(this._,arguments)}};var Rt=Date.prototype;function Nt(e,t,r){function n(t){var r=e(t),n=i(r,1);return t-r1)for(;o=c)return-1;if(37===(a=t.charCodeAt(l++))){if(o=t.charAt(l++),!(i=w[o in Bt?t.charAt(l++):o])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}u.utc=function(e){var t=u(e);function r(e){try{var r=new(jt=Et);return r._=e,t(r)}finally{jt=Date}}return r.parse=function(e){try{jt=Et;var r=t.parse(e);return r&&r._}finally{jt=Date}},r.toString=t.toString,r},u.multi=u.utc.multi=sr;var f=t.map(),h=Yt(o),p=Gt(o),g=Yt(l),v=Gt(l),m=Yt(s),y=Gt(s),x=Yt(c),b=Gt(c);i.forEach((function(e,t){f.set(e.toLowerCase(),t)}));var _={a:function(e){return l[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:u(r),d:function(e,t){return Vt(e.getDate(),t,2)},e:function(e,t){return Vt(e.getDate(),t,2)},H:function(e,t){return Vt(e.getHours(),t,2)},I:function(e,t){return Vt(e.getHours()%12||12,t,2)},j:function(e,t){return Vt(1+Pt.dayOfYear(e),t,3)},L:function(e,t){return Vt(e.getMilliseconds(),t,3)},m:function(e,t){return Vt(e.getMonth()+1,t,2)},M:function(e,t){return Vt(e.getMinutes(),t,2)},p:function(e){return i[+(e.getHours()>=12)]},S:function(e,t){return Vt(e.getSeconds(),t,2)},U:function(e,t){return Vt(Pt.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Vt(Pt.mondayOfYear(e),t,2)},x:u(n),X:u(a),y:function(e,t){return Vt(e.getFullYear()%100,t,2)},Y:function(e,t){return Vt(e.getFullYear()%1e4,t,4)},Z:or,"%":function(){return"%"}},w={a:function(e,t,r){g.lastIndex=0;var n=g.exec(t.slice(r));return n?(e.w=v.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){h.lastIndex=0;var n=h.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){x.lastIndex=0;var n=x.exec(t.slice(r));return n?(e.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){m.lastIndex=0;var n=m.exec(t.slice(r));return n?(e.m=y.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,t,r){return d(e,_.c.toString(),t,r)},d:er,e:er,H:rr,I:rr,j:tr,L:ir,m:$t,M:nr,p:function(e,t,r){var n=f.get(t.slice(r,r+=2).toLowerCase());return null==n?-1:(e.p=n,r)},S:ar,U:Wt,w:Zt,W:Xt,x:function(e,t,r){return d(e,_.x.toString(),t,r)},X:function(e,t,r){return d(e,_.X.toString(),t,r)},y:Jt,Y:Qt,Z:Kt,"%":lr};return u}Pt.year=Nt((function(e){return(e=Pt.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),Pt.years=Pt.year.range,Pt.years.utc=Pt.year.utc.range,Pt.day=Nt((function(e){var t=new jt(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),Pt.days=Pt.day.range,Pt.days.utc=Pt.day.utc.range,Pt.dayOfYear=function(e){var t=Pt.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var r=Pt[e]=Nt((function(e){return(e=Pt.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var r=Pt.year(e).getDay();return Math.floor((Pt.dayOfYear(e)+(r+t)%7)/7)-(r!==t)}));Pt[e+"s"]=r.range,Pt[e+"s"].utc=r.utc.range,Pt[e+"OfYear"]=function(e){var r=Pt.year(e).getDay();return Math.floor((Pt.dayOfYear(e)+(r+t)%7)/7)}})),Pt.week=Pt.sunday,Pt.weeks=Pt.sunday.range,Pt.weeks.utc=Pt.sunday.utc.range,Pt.weekOfYear=Pt.sundayOfYear;var Bt={"-":"",_:" ",0:"0"},Ut=/^\s*\d+/,qt=/^%/;function Vt(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+a[0].length):-1}function Kt(e,t,r){return/^[+-]\d{4}$/.test(t=t.slice(r,r+5))?(e.Z=-t,r+5):-1}function $t(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function er(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function tr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.j=+n[0],r+n[0].length):-1}function rr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function nr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function ar(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function ir(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function or(e){var t=e.getTimezoneOffset(),r=t>0?"-":"+",n=y(t)/60|0,a=y(t)%60;return r+Vt(n,"0",2)+Vt(a,"0",2)}function lr(e,t,r){qt.lastIndex=0;var n=qt.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function sr(e){for(var t=e.length,r=-1;++r=0?1:-1,l=o*i,s=Math.cos(t),c=Math.sin(t),u=a*c,d=n*s+u*Math.cos(l),f=u*o*Math.sin(l);Ir.add(Math.atan2(f,d)),r=e,n=s,a=c}Or.point=function(o,l){Or.point=i,r=(e=o)*Ie,n=Math.cos(l=(t=l)*Ie/2+Ae/4),a=Math.sin(l)},Or.lineEnd=function(){i(e,t)}}function zr(e){var t=e[0],r=e[1],n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}function Pr(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function jr(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Er(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Rr(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Nr(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Fr(e){return[Math.atan2(e[1],e[0]),je(e[2])]}function Hr(e,t){return y(e[0]-t[0])Te?a=90:c<-Te&&(r=-90),d[0]=e,d[1]=n}};function h(t,i){u.push(d=[e=t,n=t]),ia&&(a=i)}function p(t,o){var l=zr([t*Ie,o*Ie]);if(s){var c=jr(s,l),u=jr([c[1],-c[0],0],c);Nr(u),u=Fr(u);var d=t-i,f=d>0?1:-1,p=u[0]*Oe*f,g=y(d)>180;if(g^(f*ia&&(a=v);else if(g^(f*i<(p=(p+360)%360-180)&&pa&&(a=o);g?t_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t):n>=e?(tn&&(n=t)):t>i?_(e,t)>_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t)}else h(t,o);s=l,i=t}function g(){f.point=p}function v(){d[0]=e,d[1]=n,f.point=h,s=null}function m(e,t){if(s){var r=e-i;c+=y(r)>180?r+(r>0?360:-360):r}else o=e,l=t;Or.point(e,t),p(e,t)}function x(){Or.lineStart()}function b(){m(o,l),Or.lineEnd(),y(c)>Te&&(e=-(n=180)),d[0]=e,d[1]=n,s=null}function _(e,t){return(t-=e)<0?t+360:t}function w(e,t){return e[0]-t[0]}function k(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e_(g[0],g[1])&&(g[1]=h[1]),_(h[0],g[1])>_(g[0],g[1])&&(g[0]=h[0])):l.push(g=h);for(var s,c,h,p=-1/0,g=(o=0,l[c=l.length-1]);o<=c;g=h,++o)h=l[o],(s=_(g[1],h[0]))>p&&(p=s,e=h[0],n=g[1])}return u=d=null,e===1/0||r===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,r],[n,a]]}}(),t.geo.centroid=function(e){xr=br=_r=wr=kr=Tr=Mr=Ar=Sr=Lr=Cr=0,t.geo.stream(e,Br);var r=Sr,n=Lr,a=Cr,i=r*r+n*n+a*a;return i=0;--l)a.point((d=u[l])[0],d[1]);else n(h.x,h.p.x,-1,a);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);a.lineEnd()}}}function Qr(e){if(t=e.length){for(var t,r,n=0,a=e[0];++n=0?1:-1,k=w*_,T=k>Ae,M=p*x;if(Ir.add(Math.atan2(M*w*Math.sin(k),g*b+M*Math.cos(k))),i+=T?_+w*Se:_,T^f>=r^m>=r){var A=jr(zr(d),zr(e));Nr(A);var S=jr(a,A);Nr(S);var L=(T^_>=0?-1:1)*je(S[2]);(n>L||n===L&&(A[0]||A[1]))&&(o+=T^_>=0?1:-1)}if(!v++)break;f=m,p=x,g=b,d=e}}return(i<-Te||i0){for(x||(o.polygonStart(),x=!0),o.lineStart();++i1&&2&t&&r.push(r.pop().concat(r.shift())),l.push(r.filter($r))}return u}}function $r(e){return e.length>1}function en(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,r){e.push([t,r])},lineEnd:P,buffer:function(){var r=t;return t=[],e=null,r},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function tn(e,t){return((e=e.x)[0]<0?e[1]-Ce-Te:Ce-e[1])-((t=t.x)[0]<0?t[1]-Ce-Te:Ce-t[1])}var rn=Kr(Wr,(function(e){var t,r=NaN,n=NaN,a=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,o){var l=i>0?Ae:-Ae,s=y(i-r);y(s-Ae)0?Ce:-Ce),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(l,n),e.point(i,n),t=0):a!==l&&s>=Ae&&(y(r-a)Te?Math.atan((Math.sin(t)*(i=Math.cos(n))*Math.sin(r)-Math.sin(n)*(a=Math.cos(t))*Math.sin(e))/(a*i*o)):(t+n)/2}(r,n,i,o),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(l,n),t=0),e.point(r=i,n=o),a=l},lineEnd:function(){e.lineEnd(),r=n=NaN},clean:function(){return 2-t}}}),(function(e,t,r,n){var a;if(null==e)a=r*Ce,n.point(-Ae,a),n.point(0,a),n.point(Ae,a),n.point(Ae,0),n.point(Ae,-a),n.point(0,-a),n.point(-Ae,-a),n.point(-Ae,0),n.point(-Ae,a);else if(y(e[0]-t[0])>Te){var i=e[0]0,n=y(t)>Te;function a(e,r){return Math.cos(e)*Math.cos(r)>t}function i(e,r,n){var a=[1,0,0],i=jr(zr(e),zr(r)),o=Pr(i,i),l=i[0],s=o-l*l;if(!s)return!n&&e;var c=t*o/s,u=-t*l/s,d=jr(a,i),f=Rr(a,c);Er(f,Rr(i,u));var h=d,p=Pr(f,h),g=Pr(h,h),v=p*p-g*(Pr(f,f)-1);if(!(v<0)){var m=Math.sqrt(v),x=Rr(h,(-p-m)/g);if(Er(x,f),x=Fr(x),!n)return x;var b,_=e[0],w=r[0],k=e[1],T=r[1];w<_&&(b=_,_=w,w=b);var M=w-_,A=y(M-Ae)0^x[1]<(y(x[0]-_)Ae^(_<=x[0]&&x[0]<=w)){var S=Rr(h,(-p+m)/g);return Er(S,f),[x,Fr(S)]}}}function o(t,n){var a=r?e:Ae-e,i=0;return t<-a?i|=1:t>a&&(i|=2),n<-a?i|=4:n>a&&(i|=8),i}return Kr(a,(function(e){var t,l,s,c,u;return{lineStart:function(){c=s=!1,u=1},point:function(d,f){var h,p=[d,f],g=a(d,f),v=r?g?0:o(d,f):g?o(d+(d<0?Ae:-Ae),f):0;if(!t&&(c=s=g)&&e.lineStart(),g!==s&&(h=i(t,p),(Hr(t,h)||Hr(p,h))&&(p[0]+=Te,p[1]+=Te,g=a(p[0],p[1]))),g!==s)u=0,g?(e.lineStart(),h=i(p,t),e.point(h[0],h[1])):(h=i(t,p),e.point(h[0],h[1]),e.lineEnd()),t=h;else if(n&&t&&r^g){var m;v&l||!(m=i(p,t,!0))||(u=0,r?(e.lineStart(),e.point(m[0][0],m[0][1]),e.point(m[1][0],m[1][1]),e.lineEnd()):(e.point(m[1][0],m[1][1]),e.lineEnd(),e.lineStart(),e.point(m[0][0],m[0][1])))}!g||t&&Hr(t,p)||e.point(p[0],p[1]),t=p,s=g,l=v},lineEnd:function(){s&&e.lineEnd(),t=null},clean:function(){return u|(c&&s)<<1}}}),Bn(e,6*Ie),r?[0,-e]:[-Ae,e-Ae])}function an(e,t,r,n){return function(a){var i,o=a.a,l=a.b,s=o.x,c=o.y,u=0,d=1,f=l.x-s,h=l.y-c;if(i=e-s,f||!(i>0)){if(i/=f,f<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=r-s,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>u&&(u=i)}else if(f>0){if(i0)){if(i/=h,h<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=n-c,h||!(i<0)){if(i/=h,h<0){if(i>d)return;i>u&&(u=i)}else if(h>0){if(i0&&(a.a={x:s+u*f,y:c+u*h}),d<1&&(a.b={x:s+d*f,y:c+d*h}),a}}}}}}var on=1e9;function ln(e,r,n,a){function i(t,a){return y(t[0]-e)0?0:3:y(t[0]-n)0?2:1:y(t[1]-r)0?1:0:a>0?3:2}function o(e,t){return l(e.x,t.x)}function l(e,t){var r=i(e,1),n=i(t,1);return r!==n?r-n:0===r?t[1]-e[1]:1===r?e[0]-t[0]:2===r?e[1]-t[1]:t[0]-e[0]}return function(s){var c,u,d,f,h,p,g,v,m,y,x,b=s,_=en(),w=an(e,r,n,a),k={point:A,lineStart:function(){k.point=S,u&&u.push(d=[]);y=!0,m=!1,g=v=NaN},lineEnd:function(){c&&(S(f,h),p&&m&&_.rejoin(),c.push(_.buffer()));k.point=A,m&&s.lineEnd()},polygonStart:function(){s=_,c=[],u=[],x=!0},polygonEnd:function(){s=b,c=t.merge(c);var r=function(e){for(var t=0,r=u.length,n=e[1],a=0;an&&ze(c,i,e)>0&&++t:i[1]<=n&&ze(c,i,e)<0&&--t,c=i;return 0!==t}([e,a]),n=x&&r,i=c.length;(n||i)&&(s.polygonStart(),n&&(s.lineStart(),T(null,null,1,s),s.lineEnd()),i&&Xr(c,o,r,T,s),s.polygonEnd()),c=u=d=null}};function T(t,o,s,c){var u=0,d=0;if(null==t||(u=i(t,s))!==(d=i(o,s))||l(t,o)<0^s>0)do{c.point(0===u||3===u?e:n,u>1?a:r)}while((u=(u+s+4)%4)!==d);else c.point(o[0],o[1])}function M(t,i){return e<=t&&t<=n&&r<=i&&i<=a}function A(e,t){M(e,t)&&s.point(e,t)}function S(e,t){var r=M(e=Math.max(-1e9,Math.min(on,e)),t=Math.max(-1e9,Math.min(on,t)));if(u&&d.push([e,t]),y)f=e,h=t,p=r,y=!1,r&&(s.lineStart(),s.point(e,t));else if(r&&m)s.point(e,t);else{var n={a:{x:g,y:v},b:{x:e,y:t}};w(n)?(m||(s.lineStart(),s.point(n.a.x,n.a.y)),s.point(n.b.x,n.b.y),r||s.lineEnd(),x=!1):r&&(s.lineStart(),s.point(e,t),x=!1)}g=e,v=t,m=r}return k}}function sn(e){var t=0,r=Ae/3,n=zn(e),a=n(t,r);return a.parallels=function(e){return arguments.length?n(t=e[0]*Ae/180,r=e[1]*Ae/180):[t/Ae*180,r/Ae*180]},a}function cn(e,t){var r=Math.sin(e),n=(r+Math.sin(t))/2,a=1+r*(2*n-r),i=Math.sqrt(a)/n;function o(e,t){var r=Math.sqrt(a-2*n*Math.sin(t))/n;return[r*Math.sin(e*=n),i-r*Math.cos(e)]}return o.invert=function(e,t){var r=i-t;return[Math.atan2(e,r)/n,je((a-(e*e+r*r)*n*n)/(2*n))]},o}t.geo.clipExtent=function(){var e,t,r,n,a,i,o={stream:function(e){return a&&(a.valid=!1),(a=i(e)).valid=!0,a},extent:function(l){return arguments.length?(i=ln(e=+l[0][0],t=+l[0][1],r=+l[1][0],n=+l[1][1]),a&&(a.valid=!1,a=null),o):[[e,t],[r,n]]}};return o.extent([[0,0],[960,500]])},(t.geo.conicEqualArea=function(){return sn(cn)}).raw=cn,t.geo.albers=function(){return t.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},t.geo.albersUsa=function(){var e,r,n,a,i=t.geo.albers(),o=t.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=t.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(t,r){e=[t,r]}};function c(t){var i=t[0],o=t[1];return e=null,r(i,o),e||(n(i,o),e)||a(i,o),e}return c.invert=function(e){var t=i.scale(),r=i.translate(),n=(e[0]-r[0])/t,a=(e[1]-r[1])/t;return(a>=.12&&a<.234&&n>=-.425&&n<-.214?o:a>=.166&&a<.234&&n>=-.214&&n<-.115?l:i).invert(e)},c.stream=function(e){var t=i.stream(e),r=o.stream(e),n=l.stream(e);return{point:function(e,a){t.point(e,a),r.point(e,a),n.point(e,a)},sphere:function(){t.sphere(),r.sphere(),n.sphere()},lineStart:function(){t.lineStart(),r.lineStart(),n.lineStart()},lineEnd:function(){t.lineEnd(),r.lineEnd(),n.lineEnd()},polygonStart:function(){t.polygonStart(),r.polygonStart(),n.polygonStart()},polygonEnd:function(){t.polygonEnd(),r.polygonEnd(),n.polygonEnd()}}},c.precision=function(e){return arguments.length?(i.precision(e),o.precision(e),l.precision(e),c):i.precision()},c.scale=function(e){return arguments.length?(i.scale(e),o.scale(.35*e),l.scale(e),c.translate(i.translate())):i.scale()},c.translate=function(e){if(!arguments.length)return i.translate();var t=i.scale(),u=+e[0],d=+e[1];return r=i.translate(e).clipExtent([[u-.455*t,d-.238*t],[u+.455*t,d+.238*t]]).stream(s).point,n=o.translate([u-.307*t,d+.201*t]).clipExtent([[u-.425*t+Te,d+.12*t+Te],[u-.214*t-Te,d+.234*t-Te]]).stream(s).point,a=l.translate([u-.205*t,d+.212*t]).clipExtent([[u-.214*t+Te,d+.166*t+Te],[u-.115*t-Te,d+.234*t-Te]]).stream(s).point,c},c.scale(1070)};var un,dn,fn,hn,pn,gn,vn={point:P,lineStart:P,lineEnd:P,polygonStart:function(){dn=0,vn.lineStart=mn},polygonEnd:function(){vn.lineStart=vn.lineEnd=vn.point=P,un+=y(dn/2)}};function mn(){var e,t,r,n;function a(e,t){dn+=n*e-r*t,r=e,n=t}vn.point=function(i,o){vn.point=a,e=r=i,t=n=o},vn.lineEnd=function(){a(e,t)}}var yn={point:function(e,t){epn&&(pn=e);tgn&&(gn=t)},lineStart:P,lineEnd:P,polygonStart:P,polygonEnd:P};function xn(){var e=bn(4.5),t=[],r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=l},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(t){return e=bn(t),r},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function n(r,n){t.push("M",r,",",n,e)}function a(e,n){t.push("M",e,",",n),r.point=i}function i(e,r){t.push("L",e,",",r)}function o(){r.point=n}function l(){t.push("Z")}return r}function bn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var _n,wn={point:kn,lineStart:Tn,lineEnd:Mn,polygonStart:function(){wn.lineStart=An},polygonEnd:function(){wn.point=kn,wn.lineStart=Tn,wn.lineEnd=Mn}};function kn(e,t){_r+=e,wr+=t,++kr}function Tn(){var e,t;function r(r,n){var a=r-e,i=n-t,o=Math.sqrt(a*a+i*i);Tr+=o*(e+r)/2,Mr+=o*(t+n)/2,Ar+=o,kn(e=r,t=n)}wn.point=function(n,a){wn.point=r,kn(e=n,t=a)}}function Mn(){wn.point=kn}function An(){var e,t,r,n;function a(e,t){var a=e-r,i=t-n,o=Math.sqrt(a*a+i*i);Tr+=o*(r+e)/2,Mr+=o*(n+t)/2,Ar+=o,Sr+=(o=n*e-r*t)*(r+e),Lr+=o*(n+t),Cr+=3*o,kn(r=e,n=t)}wn.point=function(i,o){wn.point=a,kn(e=r=i,t=n=o)},wn.lineEnd=function(){a(e,t)}}function Sn(e){var t=4.5,r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=l},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(e){return t=e,r},result:P};function n(r,n){e.moveTo(r+t,n),e.arc(r,n,t,0,Se)}function a(t,n){e.moveTo(t,n),r.point=i}function i(t,r){e.lineTo(t,r)}function o(){r.point=n}function l(){e.closePath()}return r}function Ln(e){var t=.5,r=Math.cos(30*Ie),n=16;function a(e){return(n?o:i)(e)}function i(t){return On(t,(function(r,n){r=e(r,n),t.point(r[0],r[1])}))}function o(t){var r,a,i,o,s,c,u,d,f,h,p,g,v={point:m,lineStart:y,lineEnd:b,polygonStart:function(){t.polygonStart(),v.lineStart=_},polygonEnd:function(){t.polygonEnd(),v.lineStart=y}};function m(r,n){r=e(r,n),t.point(r[0],r[1])}function y(){d=NaN,v.point=x,t.lineStart()}function x(r,a){var i=zr([r,a]),o=e(r,a);l(d,f,u,h,p,g,d=o[0],f=o[1],u=r,h=i[0],p=i[1],g=i[2],n,t),t.point(d,f)}function b(){v.point=m,t.lineEnd()}function _(){y(),v.point=w,v.lineEnd=k}function w(e,t){x(r=e,t),a=d,i=f,o=h,s=p,c=g,v.point=x}function k(){l(d,f,u,h,p,g,a,i,r,o,s,c,n,t),v.lineEnd=b,b()}return v}function l(n,a,i,o,s,c,u,d,f,h,p,g,v,m){var x=u-n,b=d-a,_=x*x+b*b;if(_>4*t&&v--){var w=o+h,k=s+p,T=c+g,M=Math.sqrt(w*w+k*k+T*T),A=Math.asin(T/=M),S=y(y(T)-1)t||y((x*O+b*D)/_-.5)>.3||o*h+s*p+c*g0&&16,a):Math.sqrt(t)},a}function Cn(e){var t=Ln((function(t,r){return e([t*Oe,r*Oe])}));return function(e){return Pn(t(e))}}function In(e){this.stream=e}function On(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function Dn(e){return zn((function(){return e}))()}function zn(e){var r,n,a,i,o,l,s=Ln((function(e,t){return[(e=r(e,t))[0]*c+i,o-e[1]*c]})),c=150,u=480,d=250,f=0,h=0,p=0,g=0,v=0,m=rn,y=I,x=null,b=null;function _(e){return[(e=a(e[0]*Ie,e[1]*Ie))[0]*c+i,o-e[1]*c]}function w(e){return(e=a.invert((e[0]-i)/c,(o-e[1])/c))&&[e[0]*Oe,e[1]*Oe]}function k(){a=Zr(n=Rn(p,g,v),r);var e=r(f,h);return i=u-e[0]*c,o=d+e[1]*c,T()}function T(){return l&&(l.valid=!1,l=null),_}return _.stream=function(e){return l&&(l.valid=!1),(l=Pn(m(n,s(y(e))))).valid=!0,l},_.clipAngle=function(e){return arguments.length?(m=null==e?(x=e,rn):nn((x=+e)*Ie),T()):x},_.clipExtent=function(e){return arguments.length?(b=e,y=e?ln(e[0][0],e[0][1],e[1][0],e[1][1]):I,T()):b},_.scale=function(e){return arguments.length?(c=+e,k()):c},_.translate=function(e){return arguments.length?(u=+e[0],d=+e[1],k()):[u,d]},_.center=function(e){return arguments.length?(f=e[0]%360*Ie,h=e[1]%360*Ie,k()):[f*Oe,h*Oe]},_.rotate=function(e){return arguments.length?(p=e[0]%360*Ie,g=e[1]%360*Ie,v=e.length>2?e[2]%360*Ie:0,k()):[p*Oe,g*Oe,v*Oe]},t.rebind(_,s,"precision"),function(){return r=e.apply(this,arguments),_.invert=r.invert&&w,k()}}function Pn(e){return On(e,(function(t,r){e.point(t*Ie,r*Ie)}))}function jn(e,t){return[e,t]}function En(e,t){return[e>Ae?e-Se:e<-Ae?e+Se:e,t]}function Rn(e,t,r){return e?t||r?Zr(Fn(e),Hn(t,r)):Fn(e):t||r?Hn(t,r):En}function Nn(e){return function(t,r){return[(t+=e)>Ae?t-Se:t<-Ae?t+Se:t,r]}}function Fn(e){var t=Nn(e);return t.invert=Nn(-e),t}function Hn(e,t){var r=Math.cos(e),n=Math.sin(e),a=Math.cos(t),i=Math.sin(t);function o(e,t){var o=Math.cos(t),l=Math.cos(e)*o,s=Math.sin(e)*o,c=Math.sin(t),u=c*r+l*n;return[Math.atan2(s*a-u*i,l*r-c*n),je(u*a+s*i)]}return o.invert=function(e,t){var o=Math.cos(t),l=Math.cos(e)*o,s=Math.sin(e)*o,c=Math.sin(t),u=c*a-s*i;return[Math.atan2(s*a+c*i,l*r+u*n),je(u*r-l*n)]},o}function Bn(e,t){var r=Math.cos(e),n=Math.sin(e);return function(a,i,o,l){var s=o*t;null!=a?(a=Un(r,a),i=Un(r,i),(o>0?ai)&&(a+=o*Se)):(a=e+o*Se,i=e-.5*s);for(var c,u=a;o>0?u>i:u2?e[2]*Ie:0),t.invert=function(t){return(t=e.invert(t[0]*Ie,t[1]*Ie))[0]*=Oe,t[1]*=Oe,t},t},En.invert=jn,t.geo.circle=function(){var e,t,r=[0,0],n=6;function a(){var e="function"==typeof r?r.apply(this,arguments):r,n=Rn(-e[0]*Ie,-e[1]*Ie,0).invert,a=[];return t(null,null,1,{point:function(e,t){a.push(e=n(e,t)),e[0]*=Oe,e[1]*=Oe}}),{type:"Polygon",coordinates:[a]}}return a.origin=function(e){return arguments.length?(r=e,a):r},a.angle=function(r){return arguments.length?(t=Bn((e=+r)*Ie,n*Ie),a):e},a.precision=function(r){return arguments.length?(t=Bn(e*Ie,(n=+r)*Ie),a):n},a.angle(90)},t.geo.distance=function(e,t){var r,n=(t[0]-e[0])*Ie,a=e[1]*Ie,i=t[1]*Ie,o=Math.sin(n),l=Math.cos(n),s=Math.sin(a),c=Math.cos(a),u=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((r=d*o)*r+(r=c*u-s*d*l)*r),s*u+c*d*l)},t.geo.graticule=function(){var e,r,n,a,i,o,l,s,c,u,d,f,h=10,p=h,g=90,v=360,m=2.5;function x(){return{type:"MultiLineString",coordinates:b()}}function b(){return t.range(Math.ceil(a/g)*g,n,g).map(d).concat(t.range(Math.ceil(s/v)*v,l,v).map(f)).concat(t.range(Math.ceil(r/h)*h,e,h).filter((function(e){return y(e%g)>Te})).map(c)).concat(t.range(Math.ceil(o/p)*p,i,p).filter((function(e){return y(e%v)>Te})).map(u))}return x.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},x.outline=function(){return{type:"Polygon",coordinates:[d(a).concat(f(l).slice(1),d(n).reverse().slice(1),f(s).reverse().slice(1))]}},x.extent=function(e){return arguments.length?x.majorExtent(e).minorExtent(e):x.minorExtent()},x.majorExtent=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],s=+e[0][1],l=+e[1][1],a>n&&(e=a,a=n,n=e),s>l&&(e=s,s=l,l=e),x.precision(m)):[[a,s],[n,l]]},x.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],o=+t[0][1],i=+t[1][1],r>e&&(t=r,r=e,e=t),o>i&&(t=o,o=i,i=t),x.precision(m)):[[r,o],[e,i]]},x.step=function(e){return arguments.length?x.majorStep(e).minorStep(e):x.minorStep()},x.majorStep=function(e){return arguments.length?(g=+e[0],v=+e[1],x):[g,v]},x.minorStep=function(e){return arguments.length?(h=+e[0],p=+e[1],x):[h,p]},x.precision=function(t){return arguments.length?(m=+t,c=qn(o,i,90),u=Vn(r,e,m),d=qn(s,l,90),f=Vn(a,n,m),x):m},x.majorExtent([[-180,-90+Te],[180,90-Te]]).minorExtent([[-180,-80-Te],[180,80+Te]])},t.geo.greatArc=function(){var e,r,n=Yn,a=Gn;function i(){return{type:"LineString",coordinates:[e||n.apply(this,arguments),r||a.apply(this,arguments)]}}return i.distance=function(){return t.geo.distance(e||n.apply(this,arguments),r||a.apply(this,arguments))},i.source=function(t){return arguments.length?(n=t,e="function"==typeof t?null:t,i):n},i.target=function(e){return arguments.length?(a=e,r="function"==typeof e?null:e,i):a},i.precision=function(){return arguments.length?i:0},i},t.geo.interpolate=function(e,t){return r=e[0]*Ie,n=e[1]*Ie,a=t[0]*Ie,i=t[1]*Ie,o=Math.cos(n),l=Math.sin(n),s=Math.cos(i),c=Math.sin(i),u=o*Math.cos(r),d=o*Math.sin(r),f=s*Math.cos(a),h=s*Math.sin(a),p=2*Math.asin(Math.sqrt(Re(i-n)+o*s*Re(a-r))),g=1/Math.sin(p),(v=p?function(e){var t=Math.sin(e*=p)*g,r=Math.sin(p-e)*g,n=r*u+t*f,a=r*d+t*h,i=r*l+t*c;return[Math.atan2(a,n)*Oe,Math.atan2(i,Math.sqrt(n*n+a*a))*Oe]}:function(){return[r*Oe,n*Oe]}).distance=p,v;var r,n,a,i,o,l,s,c,u,d,f,h,p,g,v},t.geo.length=function(e){return _n=0,t.geo.stream(e,Zn),_n};var Zn={sphere:P,point:P,lineStart:function(){var e,t,r;function n(n,a){var i=Math.sin(a*=Ie),o=Math.cos(a),l=y((n*=Ie)-e),s=Math.cos(l);_n+=Math.atan2(Math.sqrt((l=o*Math.sin(l))*l+(l=r*i-t*o*s)*l),t*i+r*o*s),e=n,t=i,r=o}Zn.point=function(a,i){e=a*Ie,t=Math.sin(i*=Ie),r=Math.cos(i),Zn.point=n},Zn.lineEnd=function(){Zn.point=Zn.lineEnd=P}},lineEnd:P,polygonStart:P,polygonEnd:P};function Wn(e,t){function r(t,r){var n=Math.cos(t),a=Math.cos(r),i=e(n*a);return[i*a*Math.sin(t),i*Math.sin(r)]}return r.invert=function(e,r){var n=Math.sqrt(e*e+r*r),a=t(n),i=Math.sin(a),o=Math.cos(a);return[Math.atan2(e*i,n*o),Math.asin(n&&r*i/n)]},r}var Xn=Wn((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(t.geo.azimuthalEqualArea=function(){return Dn(Xn)}).raw=Xn;var Qn=Wn((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),I);function Jn(e,t){var r=Math.cos(e),n=function(e){return Math.tan(Ae/4+e/2)},a=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(n(t)/n(e)),i=r*Math.pow(n(e),a)/a;if(!a)return ea;function o(e,t){i>0?t<-Ce+Te&&(t=-Ce+Te):t>Ce-Te&&(t=Ce-Te);var r=i/Math.pow(n(t),a);return[r*Math.sin(a*e),i-r*Math.cos(a*e)]}return o.invert=function(e,t){var r=i-t,n=De(a)*Math.sqrt(e*e+r*r);return[Math.atan2(e,r)/a,2*Math.atan(Math.pow(i/n,1/a))-Ce]},o}function Kn(e,t){var r=Math.cos(e),n=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),a=r/n+e;if(y(n)1&&ze(e[r[n-2]],e[r[n-1]],e[a])<=0;)--n;r[n++]=a}return r.slice(0,n)}function sa(e,t){return e[0]-t[0]||e[1]-t[1]}(t.geo.stereographic=function(){return Dn(na)}).raw=na,aa.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ce]},(t.geo.transverseMercator=function(){var e=ta(aa),t=e.center,r=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?r([e[0],e[1],e.length>2?e[2]+90:90]):[(e=r())[0],e[1],e[2]-90]},r([0,0,90])}).raw=aa,t.geom={},t.geom.hull=function(e){var t=ia,r=oa;if(arguments.length)return n(e);function n(e){if(e.length<3)return[];var n,a=vt(t),i=vt(r),o=e.length,l=[],s=[];for(n=0;n=0;--n)h.push(e[l[c[n]][2]]);for(n=+d;nTe)l=l.L;else{if(!((a=i-Aa(l,o))>Te)){n>-Te?(t=l.P,r=l):a>-Te?(t=l,r=l.N):t=r=l;break}if(!l.R){t=l;break}l=l.R}var s=_a(e);if(ga.insert(t,s),t||r){if(t===r)return Oa(t),r=_a(t.site),ga.insert(s,r),s.edge=r.edge=Pa(t.site,s.site),Ia(t),void Ia(r);if(r){Oa(t),Oa(r);var c=t.site,u=c.x,d=c.y,f=e.x-u,h=e.y-d,p=r.site,g=p.x-u,v=p.y-d,m=2*(f*v-h*g),y=f*f+h*h,x=g*g+v*v,b={x:(v*y-h*x)/m+u,y:(f*x-g*y)/m+d};Ea(r.edge,c,p,b),s.edge=Pa(c,e,null,b),r.edge=Pa(e,p,null,b),Ia(t),Ia(r)}else s.edge=Pa(t.site,s.site)}}function Ma(e,t){var r=e.site,n=r.x,a=r.y,i=a-t;if(!i)return n;var o=e.P;if(!o)return-1/0;var l=(r=o.site).x,s=r.y,c=s-t;if(!c)return l;var u=l-n,d=1/i-1/c,f=u/c;return d?(-f+Math.sqrt(f*f-2*d*(u*u/(-2*c)-s+c/2+a-i/2)))/d+n:(n+l)/2}function Aa(e,t){var r=e.N;if(r)return Ma(r,t);var n=e.site;return n.y===t?n.x:1/0}function Sa(e){this.site=e,this.edges=[]}function La(e,t){return t.angle-e.angle}function Ca(){Fa(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ia(e){var t=e.P,r=e.N;if(t&&r){var n=t.site,a=e.site,i=r.site;if(n!==i){var o=a.x,l=a.y,s=n.x-o,c=n.y-l,u=i.x-o,d=2*(s*(v=i.y-l)-c*u);if(!(d>=-Me)){var f=s*s+c*c,h=u*u+v*v,p=(v*f-c*h)/d,g=(s*h-u*f)/d,v=g+l,m=xa.pop()||new Ca;m.arc=e,m.site=a,m.x=p+o,m.y=v+Math.sqrt(p*p+g*g),m.cy=v,e.circle=m;for(var y=null,x=ma._;x;)if(m.y=l)return;if(f>p){if(i){if(i.y>=c)return}else i={x:v,y:s};r={x:v,y:c}}else{if(i){if(i.y1)if(f>p){if(i){if(i.y>=c)return}else i={x:(s-a)/n,y:s};r={x:(c-a)/n,y:c}}else{if(i){if(i.y=l)return}else i={x:o,y:n*o+a};r={x:l,y:n*l+a}}else{if(i){if(i.xTe||y(a-r)>Te)&&(l.splice(o,0,new Ra(ja(i.site,u,y(n-d)Te?{x:d,y:y(t-d)Te?{x:y(r-p)Te?{x:f,y:y(t-f)Te?{x:y(r-h)=r&&c.x<=a&&c.y>=n&&c.y<=o?[[r,o],[a,o],[a,n],[r,n]]:[]).point=e[l]})),t}function l(e){return e.map((function(e,t){return{x:Math.round(n(e,t)/Te)*Te,y:Math.round(a(e,t)/Te)*Te,i:t}}))}return o.links=function(e){return qa(l(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},o.triangles=function(e){var t=[];return qa(l(e)).cells.forEach((function(r,n){for(var a,i,o,l,s=r.site,c=r.edges.sort(La),u=-1,d=c.length,f=c[d-1].edge,h=f.l===s?f.r:f.l;++ui||d>o||f=_)<<1|t>=b,k=w+4;wi&&(a=t.slice(i,a),l[o]?l[o]+=a:l[++o]=a),(r=r[0])===(n=n[0])?l[o]?l[o]+=n:l[++o]=n:(l[++o]=null,s.push({i:o,x:Ka(r,n)})),i=ti.lastIndex;return ig&&(g=s.x),s.y>v&&(v=s.y),c.push(s.x),u.push(s.y);else for(d=0;dg&&(g=b),_>v&&(v=_),c.push(b),u.push(_)}var w=g-h,k=v-p;function T(e,t,r,n,a,i,o,l){if(!isNaN(r)&&!isNaN(n))if(e.leaf){var s=e.x,c=e.y;if(null!=s)if(y(s-r)+y(c-n)<.01)M(e,t,r,n,a,i,o,l);else{var u=e.point;e.x=e.y=e.point=null,M(e,u,s,c,a,i,o,l),M(e,t,r,n,a,i,o,l)}else e.x=r,e.y=n,e.point=t}else M(e,t,r,n,a,i,o,l)}function M(e,t,r,n,a,i,o,l){var s=.5*(a+o),c=.5*(i+l),u=r>=s,d=n>=c,f=d<<1|u;e.leaf=!1,u?a=s:o=s,d?i=c:l=c,T(e=e.nodes[f]||(e.nodes[f]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,r,n,a,i,o,l)}w>k?v=p+w:g=h+k;var A={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){T(A,e,+m(e,++d),+x(e,d),h,p,g,v)},visit:function(e){Wa(e,A,h,p,g,v)},find:function(e){return Xa(A,e[0],e[1],h,p,g,v)}};if(d=-1,null==t){for(;++d=0&&!(n=t.interpolators[a](e,r)););return n}function ni(e,t){var r,n=[],a=[],i=e.length,o=t.length,l=Math.min(e.length,t.length);for(r=0;r=1?1:e(t)}}function si(e){return function(t){return 1-e(1-t)}}function ci(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function ui(e){return e*e}function di(e){return e*e*e}function fi(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}function hi(e){return 1-Math.cos(e*Ce)}function pi(e){return Math.pow(2,10*(e-1))}function gi(e){return 1-Math.sqrt(1-e*e)}function vi(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function mi(e,t){return t-=e,function(r){return Math.round(e+t*r)}}function yi(e){var t,r,n,a=[e.a,e.b],i=[e.c,e.d],o=bi(a),l=xi(a,i),s=bi(((t=i)[0]+=(n=-l)*(r=a)[0],t[1]+=n*r[1],t))||0;a[0]*i[1]=0?e.slice(0,t):e,a=t>=0?e.slice(t+1):"in";return n=ii.get(n)||ai,li((a=oi.get(a)||I)(n.apply(null,r.call(arguments,1))))},t.interpolateHcl=function(e,r){e=t.hcl(e),r=t.hcl(r);var n=e.h,a=e.c,i=e.l,o=r.h-n,l=r.c-a,s=r.l-i;isNaN(l)&&(l=0,a=isNaN(a)?r.c:a);isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360);return function(e){return We(n+o*e,a+l*e,i+s*e)+""}},t.interpolateHsl=function(e,r){e=t.hsl(e),r=t.hsl(r);var n=e.h,a=e.s,i=e.l,o=r.h-n,l=r.s-a,s=r.l-i;isNaN(l)&&(l=0,a=isNaN(a)?r.s:a);isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360);return function(e){return Ye(n+o*e,a+l*e,i+s*e)+""}},t.interpolateLab=function(e,r){e=t.lab(e),r=t.lab(r);var n=e.l,a=e.a,i=e.b,o=r.l-n,l=r.a-a,s=r.b-i;return function(e){return et(n+o*e,a+l*e,i+s*e)+""}},t.interpolateRound=mi,t.transform=function(e){var r=a.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(e){if(null!=e){r.setAttribute("transform",e);var t=r.transform.baseVal.consolidate()}return new yi(t?t.matrix:_i)})(e)},yi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var _i={a:1,b:0,c:0,d:1,e:0,f:0};function wi(e){return e.length?e.pop()+",":""}function ki(e,r){var n=[],a=[];return e=t.transform(e),r=t.transform(r),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push("translate(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else(t[0]||t[1])&&r.push("translate("+t+")")}(e.translate,r.translate,n,a),function(e,t,r,n){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),n.push({i:r.push(wi(r)+"rotate(",null,")")-2,x:Ka(e,t)})):t&&r.push(wi(r)+"rotate("+t+")")}(e.rotate,r.rotate,n,a),function(e,t,r,n){e!==t?n.push({i:r.push(wi(r)+"skewX(",null,")")-2,x:Ka(e,t)}):t&&r.push(wi(r)+"skewX("+t+")")}(e.skew,r.skew,n,a),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push(wi(r)+"scale(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else 1===t[0]&&1===t[1]||r.push(wi(r)+"scale("+t+")")}(e.scale,r.scale,n,a),e=r=null,function(e){for(var t,r=-1,i=a.length;++r0?n=t:(e.c=null,e.t=NaN,e=null,s.end({type:"end",alpha:n=0})):t>0&&(s.start({type:"start",alpha:n=t}),e=Tt(l.tick)),l):n},l.start=function(){var e,t,r,n=m.length,s=y.length,u=c[0],p=c[1];for(e=0;e=0;)r.push(a[n])}function Ni(e,t){for(var r=[e],n=[];null!=(e=r.pop());)if(n.push(e),(i=e.children)&&(a=i.length))for(var a,i,o=-1;++o=0;)o.push(u=c[s]),u.parent=i,u.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(n,i,i.depth)||0),delete i.children;return Ni(a,(function(t){var n,a;e&&(n=t.children)&&n.sort(e),r&&(a=t.parent)&&(a.value+=t.value)})),l}return n.sort=function(t){return arguments.length?(e=t,n):e},n.children=function(e){return arguments.length?(t=e,n):t},n.value=function(e){return arguments.length?(r=e,n):r},n.revalue=function(e){return r&&(Ri(e,(function(e){e.children&&(e.value=0)})),Ni(e,(function(e){var t;e.children||(e.value=+r.call(n,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},n},t.layout.partition=function(){var e=t.layout.hierarchy(),r=[1,1];function n(e,t,r,a){var i=e.children;if(e.x=t,e.y=e.depth*a,e.dx=r,e.dy=a,i&&(o=i.length)){var o,l,s,c=-1;for(r=e.value?r/e.value:0;++cl&&(l=n),o.push(n)}for(r=0;ra&&(n=r,a=t);return n}function Ki(e){return e.reduce($i,0)}function $i(e,t){return e+t[1]}function eo(e,t){return to(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function to(e,t){for(var r=-1,n=+e[0],a=(e[1]-n)/t,i=[];++r<=t;)i[r]=a*r+n;return i}function ro(e){return[t.min(e),t.max(e)]}function no(e,t){return e.value-t.value}function ao(e,t){var r=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=r,r._pack_prev=t}function io(e,t){e._pack_next=t,t._pack_prev=e}function oo(e,t){var r=t.x-e.x,n=t.y-e.y,a=e.r+t.r;return.999*a*a>r*r+n*n}function lo(e){if((t=e.children)&&(s=t.length)){var t,r,n,a,i,o,l,s,c=1/0,u=-1/0,d=1/0,f=-1/0;if(t.forEach(so),(r=t[0]).x=-r.r,r.y=0,x(r),s>1&&((n=t[1]).x=n.r,n.y=0,x(n),s>2))for(fo(r,n,a=t[2]),x(a),ao(r,a),r._pack_prev=a,ao(a,n),n=r._pack_next,i=3;i0)for(o=-1;++o=d[0]&&s<=d[1]&&((l=c[t.bisect(f,s,1,p)-1]).y+=g,l.push(i[o]));return c}return i.value=function(e){return arguments.length?(r=e,i):r},i.range=function(e){return arguments.length?(n=vt(e),i):n},i.bins=function(e){return arguments.length?(a="number"==typeof e?function(t){return to(t,e)}:vt(e),i):a},i.frequency=function(t){return arguments.length?(e=!!t,i):e},i},t.layout.pack=function(){var e,r=t.layout.hierarchy().sort(no),n=0,a=[1,1];function i(t,i){var o=r.call(this,t,i),l=o[0],s=a[0],c=a[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(l.x=l.y=0,Ni(l,(function(e){e.r=+u(e.value)})),Ni(l,lo),n){var d=n*(e?1:Math.max(2*l.r/s,2*l.r/c))/2;Ni(l,(function(e){e.r+=d})),Ni(l,lo),Ni(l,(function(e){e.r-=d}))}return uo(l,s/2,c/2,e?1:1/Math.max(2*l.r/s,2*l.r/c)),o}return i.size=function(e){return arguments.length?(a=e,i):a},i.radius=function(t){return arguments.length?(e=null==t||"function"==typeof t?t:+t,i):e},i.padding=function(e){return arguments.length?(n=+e,i):n},Ei(i,r)},t.layout.tree=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=null;function i(t,i){var c=e.call(this,t,i),u=c[0],d=function(e){var t,r={A:null,children:[e]},n=[r];for(;null!=(t=n.pop());)for(var a,i=t.children,o=0,l=i.length;oh.x&&(h=e),e.depth>p.depth&&(p=e)}));var g=r(f,h)/2-f.x,v=n[0]/(h.x+r(h,f)/2+g),m=n[1]/(p.depth||1);Ri(u,(function(e){e.x=(e.x+g)*v,e.y=e.depth*m}))}return c}function o(e){var t=e.children,n=e.parent.children,a=e.i?n[e.i-1]:null;if(t.length){!function(e){var t,r=0,n=0,a=e.children,i=a.length;for(;--i>=0;)(t=a[i]).z+=r,t.m+=r,r+=t.s+(n+=t.c)}(e);var i=(t[0].z+t[t.length-1].z)/2;a?(e.z=a.z+r(e._,a._),e.m=e.z-i):e.z=i}else a&&(e.z=a.z+r(e._,a._));e.parent.A=function(e,t,n){if(t){for(var a,i=e,o=e,l=t,s=i.parent.children[0],c=i.m,u=o.m,d=l.m,f=s.m;l=go(l),i=po(i),l&&i;)s=po(s),(o=go(o)).a=e,(a=l.z+d-i.z-c+r(l._,i._))>0&&(vo(mo(l,e,n),e,a),c+=a,u+=a),d+=l.m,c+=i.m,f+=s.m,u+=o.m;l&&!go(o)&&(o.t=l,o.m+=d-u),i&&!po(s)&&(s.t=i,s.m+=c-f,n=e)}return n}(e,a,e.parent.A||n[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=n[0],e.y=e.depth*n[1]}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e)?s:null,i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null==(n=e)?null:s,i):a?n:null},Ei(i,e)},t.layout.cluster=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=!1;function i(i,o){var l,s=e.call(this,i,o),c=s[0],u=0;Ni(c,(function(e){var n=e.children;n&&n.length?(e.x=function(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}(n),e.y=function(e){return 1+t.max(e,(function(e){return e.y}))}(n)):(e.x=l?u+=r(e,l):0,e.y=0,l=e)}));var d=yo(c),f=xo(c),h=d.x-r(d,f)/2,p=f.x+r(f,d)/2;return Ni(c,a?function(e){e.x=(e.x-c.x)*n[0],e.y=(c.y-e.y)*n[1]}:function(e){e.x=(e.x-h)/(p-h)*n[0],e.y=(1-(c.y?e.y/c.y:1))*n[1]}),s}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e),i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null!=(n=e),i):a?n:null},Ei(i,e)},t.layout.treemap=function(){var e,r=t.layout.hierarchy(),n=Math.round,a=[1,1],i=null,o=bo,l=!1,s="squarify",c=.5*(1+Math.sqrt(5));function u(e,t){for(var r,n,a=-1,i=e.length;++a0;)l.push(r=c[a-1]),l.area+=r.area,"squarify"!==s||(n=h(l,g))<=f?(c.pop(),f=n):(l.area-=l.pop().area,p(l,g,i,!1),g=Math.min(i.dx,i.dy),l.length=l.area=0,f=1/0);l.length&&(p(l,g,i,!0),l.length=l.area=0),t.forEach(d)}}function f(e){var t=e.children;if(t&&t.length){var r,n=o(e),a=t.slice(),i=[];for(u(a,n.dx*n.dy/e.value),i.area=0;r=a.pop();)i.push(r),i.area+=r.area,null!=r.z&&(p(i,r.z?n.dx:n.dy,n,!a.length),i.length=i.area=0);t.forEach(f)}}function h(e,t){for(var r,n=e.area,a=0,i=1/0,o=-1,l=e.length;++oa&&(a=r));return t*=t,(n*=n)?Math.max(t*a*c/n,n/(t*i*c)):1/0}function p(e,t,r,a){var i,o=-1,l=e.length,s=r.x,c=r.y,u=t?n(e.area/t):0;if(t==r.dx){for((a||u>r.dy)&&(u=r.dy);++or.dx)&&(u=r.dx);++o1);return e+t*r*Math.sqrt(-2*Math.log(a)/a)}},logNormal:function(){var e=t.random.normal.apply(t,arguments);return function(){return Math.exp(e())}},bates:function(e){var r=t.random.irwinHall(e);return function(){return r()/e}},irwinHall:function(e){return function(){for(var t=0,r=0;r2?Lo:To,s=n?Mi:Ti;return a=o(e,t,s,r),i=o(t,e,s,ri),l}function l(e){return a(e)}return l.invert=function(e){return i(e)},l.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},l.range=function(e){return arguments.length?(t=e,o()):t},l.rangeRound=function(e){return l.range(e).interpolate(mi)},l.clamp=function(e){return arguments.length?(n=e,o()):n},l.interpolate=function(e){return arguments.length?(r=e,o()):r},l.ticks=function(t){return zo(e,t)},l.tickFormat=function(t,r){return Po(e,t,r)},l.nice=function(t){return Oo(e,t),o()},l.copy=function(){return Co(e,t,r,n)},o()}function Io(e,r){return t.rebind(e,r,"range","rangeRound","interpolate","clamp")}function Oo(e,t){return Mo(e,Ao(Do(e,t)[2])),Mo(e,Ao(Do(e,t)[2])),e}function Do(e,t){null==t&&(t=10);var r=wo(e),n=r[1]-r[0],a=Math.pow(10,Math.floor(Math.log(n/t)/Math.LN10)),i=t/n*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),r[0]=Math.ceil(r[0]/a)*a,r[1]=Math.floor(r[1]/a)*a+.5*a,r[2]=a,r}function zo(e,r){return t.range.apply(t,Do(e,r))}function Po(e,r,n){var a=Do(e,r);if(n){var i=Ot.exec(n);if(i.shift(),"s"===i[8]){var o=t.formatPrefix(Math.max(y(a[0]),y(a[1])));return i[7]||(i[7]="."+Eo(o.scale(a[2]))),i[8]="f",n=t.format(i.join("")),function(e){return n(o.scale(e))+o.symbol}}i[7]||(i[7]="."+function(e,t){var r=Eo(t[2]);return e in jo?Math.abs(r-Eo(Math.max(y(t[0]),y(t[1]))))+ +("e"!==e):r-2*("%"===e)}(i[8],a)),n=i.join("")}else n=",."+Eo(a[2])+"f";return t.format(n)}t.scale.linear=function(){return Co([0,1],[0,1],ri,!1)};var jo={s:1,g:1,p:1,r:1,e:1};function Eo(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function Ro(e,r,n,a){function i(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(r)}function o(e){return n?Math.pow(r,e):-Math.pow(r,-e)}function l(t){return e(i(t))}return l.invert=function(t){return o(e.invert(t))},l.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((a=t.map(Number)).map(i)),l):a},l.base=function(t){return arguments.length?(r=+t,e.domain(a.map(i)),l):r},l.nice=function(){var t=Mo(a.map(i),n?Math:Fo);return e.domain(t),a=t.map(o),l},l.ticks=function(){var e=wo(a),t=[],l=e[0],s=e[1],c=Math.floor(i(l)),u=Math.ceil(i(s)),d=r%1?2:r;if(isFinite(u-c)){if(n){for(;c0;f--)t.push(o(c)*f);for(c=0;t[c]s;u--);t=t.slice(c,u)}return t},l.tickFormat=function(e,n){if(!arguments.length)return No;arguments.length<2?n=No:"function"!=typeof n&&(n=t.format(n));var a=Math.max(1,r*e/l.ticks().length);return function(e){var t=e/o(Math.round(i(e)));return t*r0?n[t-1]:e[0],td?0:1;if(c=Le)return s(c,h)+(l?s(l,1-h):"")+"Z";var p,g,v,m,y,x,b,_,w,k,T,M,A=0,S=0,L=[];if((m=(+o.apply(this,arguments)||0)/2)&&(v=n===Ko?Math.sqrt(l*l+c*c):+n.apply(this,arguments),h||(S*=-1),c&&(S=je(v/c*Math.sin(m))),l&&(A=je(v/l*Math.sin(m)))),c){y=c*Math.cos(u+S),x=c*Math.sin(u+S),b=c*Math.cos(d-S),_=c*Math.sin(d-S);var C=Math.abs(d-u-2*S)<=Ae?0:1;if(S&&al(y,x,b,_)===h^C){var I=(u+d)/2;y=c*Math.cos(I),x=c*Math.sin(I),b=_=null}}else y=x=0;if(l){w=l*Math.cos(d-A),k=l*Math.sin(d-A),T=l*Math.cos(u+A),M=l*Math.sin(u+A);var O=Math.abs(u-d+2*A)<=Ae?0:1;if(A&&al(w,k,T,M)===1-h^O){var D=(u+d)/2;w=l*Math.cos(D),k=l*Math.sin(D),T=M=null}}else w=k=0;if(f>Te&&(p=Math.min(Math.abs(c-l)/2,+r.apply(this,arguments)))>.001){g=l0?0:1}function il(e,t,r,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=(a?n:-n)/Math.sqrt(i*i+o*o),s=l*o,c=-l*i,u=e[0]+s,d=e[1]+c,f=t[0]+s,h=t[1]+c,p=(u+f)/2,g=(d+h)/2,v=f-u,m=h-d,y=v*v+m*m,x=r-n,b=u*h-f*d,_=(m<0?-1:1)*Math.sqrt(Math.max(0,x*x*y-b*b)),w=(b*m-v*_)/y,k=(-b*v-m*_)/y,T=(b*m+v*_)/y,M=(-b*v+m*_)/y,A=w-p,S=k-g,L=T-p,C=M-g;return A*A+S*S>L*L+C*C&&(w=T,k=M),[[w-s,k-c],[w*r/x,k*r/x]]}function ol(e){var t=ia,r=oa,n=Wr,a=sl,i=a.key,o=.7;function l(i){var l,s=[],c=[],u=-1,d=i.length,f=vt(t),h=vt(r);function p(){s.push("M",a(e(c),o))}for(;++u1&&a.push("H",n[0]);return a.join("")},"step-before":ul,"step-after":dl,basis:pl,"basis-open":function(e){if(e.length<4)return sl(e);var t,r=[],n=-1,a=e.length,i=[0],o=[0];for(;++n<3;)t=e[n],i.push(t[0]),o.push(t[1]);r.push(gl(yl,i)+","+gl(yl,o)),--n;for(;++n9&&(a=3*t/Math.sqrt(a),o[l]=a*r,o[l+1]=a*n);l=-1;for(;++l<=s;)a=(e[Math.min(s,l+1)][0]-e[Math.max(0,l-1)][0])/(6*(1+o[l]*o[l])),i.push([a||0,o[l]*a||0]);return i}(e))}});function sl(e){return e.length>1?e.join("L"):e+"Z"}function cl(e){return e.join("L")+"Z"}function ul(e){for(var t=0,r=e.length,n=e[0],a=[n[0],",",n[1]];++t1){l=t[1],i=e[s],s++,n+="C"+(a[0]+o[0])+","+(a[1]+o[1])+","+(i[0]-l[0])+","+(i[1]-l[1])+","+i[0]+","+i[1];for(var c=2;cAe)+",1 "+t}function s(e,t,r,n){return"Q 0,0 "+n}return i.radius=function(e){return arguments.length?(r=vt(e),i):r},i.source=function(t){return arguments.length?(e=vt(t),i):e},i.target=function(e){return arguments.length?(t=vt(e),i):t},i.startAngle=function(e){return arguments.length?(n=vt(e),i):n},i.endAngle=function(e){return arguments.length?(a=vt(e),i):a},i},t.svg.diagonal=function(){var e=Yn,t=Gn,r=Tl;function n(n,a){var i=e.call(this,n,a),o=t.call(this,n,a),l=(i.y+o.y)/2,s=[i,{x:i.x,y:l},{x:o.x,y:l},o];return"M"+(s=s.map(r))[0]+"C"+s[1]+" "+s[2]+" "+s[3]}return n.source=function(t){return arguments.length?(e=vt(t),n):e},n.target=function(e){return arguments.length?(t=vt(e),n):t},n.projection=function(e){return arguments.length?(r=e,n):r},n},t.svg.diagonal.radial=function(){var e=t.svg.diagonal(),r=Tl,n=e.projection;return e.projection=function(e){return arguments.length?n(Ml(r=e)):r},e},t.svg.symbol=function(){var e=Sl,t=Al;function r(r,n){return(Cl.get(e.call(this,r,n))||Ll)(t.call(this,r,n))}return r.type=function(t){return arguments.length?(e=vt(t),r):e},r.size=function(e){return arguments.length?(t=vt(e),r):t},r};var Cl=t.map({circle:Ll,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Ol)),r=t*Ol;return"M0,"+-t+"L"+r+",0 0,"+t+" "+-r+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Il),r=t*Il/2;return"M0,"+r+"L"+t+","+-r+" "+-t+","+-r+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Il),r=t*Il/2;return"M0,"+-r+"L"+t+","+r+" "+-t+","+r+"Z"}});t.svg.symbolTypes=Cl.keys();var Il=Math.sqrt(3),Ol=Math.tan(30*Ie);G.transition=function(e){for(var t,r,n=jl||++Nl,a=Bl(e),i=[],o=El||{time:Date.now(),ease:fi,delay:0,duration:250},l=-1,s=this.length;++l0;)c[--f].call(e,o);if(i>=1)return d.event&&d.event.end.call(e,e.__data__,t),--u.count?delete u[n]:delete e[r],1}d||(i=a.time,o=Tt((function(e){var t=d.delay;if(o.t=t+i,t<=e)return f(e-t);o.c=f}),0,i),d=u[n]={tween:new _,time:i,timer:o,delay:a.delay,duration:a.duration,ease:a.ease,index:t},a=null,++u.count)}Rl.call=G.call,Rl.empty=G.empty,Rl.node=G.node,Rl.size=G.size,t.transition=function(e,r){return e&&e.transition?jl?e.transition(r):e:t.selection().transition(e)},t.transition.prototype=Rl,Rl.select=function(e){var t,r,n,a=this.id,i=this.namespace,o=[];e=Z(e);for(var l=-1,s=this.length;++lrect,.s>rect").attr("width",l[1]-l[0])}function g(e){e.select(".extent").attr("y",s[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function v(){var d,v,m=this,y=t.select(t.event.target),x=n.of(m,arguments),b=t.select(m),_=y.datum(),w=!/^(n|s)$/.test(_)&&a,k=!/^(e|w)$/.test(_)&&i,T=y.classed("extent"),M=be(m),A=t.mouse(m),S=t.select(o(m)).on("keydown.brush",I).on("keyup.brush",O);if(t.event.changedTouches?S.on("touchmove.brush",D).on("touchend.brush",P):S.on("mousemove.brush",D).on("mouseup.brush",P),b.interrupt().selectAll("*").interrupt(),T)A[0]=l[0]-A[0],A[1]=s[0]-A[1];else if(_){var L=+/w$/.test(_),C=+/^n/.test(_);v=[l[1-L]-A[0],s[1-C]-A[1]],A[0]=l[L],A[1]=s[C]}else t.event.altKey&&(d=A.slice());function I(){32==t.event.keyCode&&(T||(d=null,A[0]-=l[1],A[1]-=s[1],T=2),R())}function O(){32==t.event.keyCode&&2==T&&(A[0]+=l[1],A[1]+=s[1],T=0,R())}function D(){var e=t.mouse(m),r=!1;v&&(e[0]+=v[0],e[1]+=v[1]),T||(t.event.altKey?(d||(d=[(l[0]+l[1])/2,(s[0]+s[1])/2]),A[0]=l[+(e[0]1?{floor:function(t){for(;l(t=e.floor(t));)t=es(t-1);return t},ceil:function(t){for(;l(t=e.ceil(t));)t=es(+t+1);return t}}:e))},a.ticks=function(e,t){var r=wo(a.domain()),n=null==e?i(r,10):"number"==typeof e?i(r,e):!e.range&&[{range:e},t];return n&&(e=n[0],t=n[1]),e.range(r[0],es(+r[1]+1),t<1?1:t)},a.tickFormat=function(){return n},a.copy=function(){return $l(e.copy(),r,n)},Io(a,e)}function es(e){return new Date(e)}Xl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Kl:Jl,Kl.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Kl.toString=Jl.toString,Pt.second=Nt((function(e){return new jt(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),Pt.seconds=Pt.second.range,Pt.seconds.utc=Pt.second.utc.range,Pt.minute=Nt((function(e){return new jt(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),Pt.minutes=Pt.minute.range,Pt.minutes.utc=Pt.minute.utc.range,Pt.hour=Nt((function(e){var t=e.getTimezoneOffset()/60;return new jt(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),Pt.hours=Pt.hour.range,Pt.hours.utc=Pt.hour.utc.range,Pt.month=Nt((function(e){return(e=Pt.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),Pt.months=Pt.month.range,Pt.months.utc=Pt.month.utc.range;var ts=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],rs=[[Pt.second,1],[Pt.second,5],[Pt.second,15],[Pt.second,30],[Pt.minute,1],[Pt.minute,5],[Pt.minute,15],[Pt.minute,30],[Pt.hour,1],[Pt.hour,3],[Pt.hour,6],[Pt.hour,12],[Pt.day,1],[Pt.day,2],[Pt.week,1],[Pt.month,1],[Pt.month,3],[Pt.year,1]],ns=Xl.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",Wr]]),as={range:function(e,r,n){return t.range(Math.ceil(e/n)*n,+r,n).map(es)},floor:I,ceil:I};rs.year=Pt.year,Pt.scale=function(){return $l(t.scale.linear(),rs,ns)};var is=rs.map((function(e){return[e[0].utc,e[1]]})),os=Ql.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",Wr]]);function ls(e){return JSON.parse(e.responseText)}function ss(e){var t=a.createRange();return t.selectNode(a.body),t.createContextualFragment(e.responseText)}is.year=Pt.year.utc,Pt.scale.utc=function(){return $l(t.scale.linear(),is,os)},t.text=mt((function(e){return e.responseText})),t.json=function(e,t){return yt(e,"application/json",ls,t)},t.html=function(e,t){return yt(e,"text/html",ss,t)},t.xml=mt((function(e){return e.responseXML})),"function"==typeof define&&define.amd?(this.d3=t,define(t)):e.exports?e.exports=t:this.d3=t}()})),i.register("6jof9",(function(e,r){t(e.exports,"utcFormat",(()=>o)),t(e.exports,"timeFormat",(()=>a));var n,a,o,l,s=i("1Zeei");l={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"]},n=s.default(l),a=n.format,n.parse,o=n.utcFormat,n.utcParse})),i.register("1Zeei",(function(e,r){t(e.exports,"default",(()=>h));var n=i("4kVgh"),a=i("7iI8g"),o=i("4RR5X"),l=i("6xy94"),s=i("1GweQ"),c=i("3r5Rv");function u(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 d(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 f(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function h(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,c=e.days,h=e.shortDays,g=e.months,v=e.shortMonths,m=b(i),y=_(i),x=b(c),$=_(c),xe=b(h),Oe=_(h),De=b(g),ze=_(g),Pe=b(v),je=_(v),Ee={a:function(e){return h[e.getDay()]},A:function(e){return c[e.getDay()]},b:function(e){return v[e.getMonth()]},B:function(e){return g[e.getMonth()]},c:null,d:U,e:U,f:Z,g:ae,G:oe,H:q,I:V,j:Y,L:G,m:W,M:X,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ce,s:Ie,S:Q,u:J,U:K,V:ee,w:te,W:re,x:null,X:null,y:ne,Y:ie,Z:le,"%":Le},Re={a:function(e){return h[e.getUTCDay()]},A:function(e){return c[e.getUTCDay()]},b:function(e){return v[e.getUTCMonth()]},B:function(e){return g[e.getUTCMonth()]},c:null,d:se,e:se,f:he,g:Te,G:Ae,H:ce,I:ue,j:de,L:fe,m:pe,M:ge,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ce,s:Ie,S:ve,u:me,U:ye,V:be,w:_e,W:we,x:null,X:null,y:ke,Y:Me,Z:Se,"%":Le},Ne={a:function(e,t,r){var n=xe.exec(t.slice(r));return n?(e.w=Oe[n[0].toLowerCase()],r+n[0].length):-1},A:function(e,t,r){var n=x.exec(t.slice(r));return n?(e.w=$[n[0].toLowerCase()],r+n[0].length):-1},b:function(e,t,r){var n=Pe.exec(t.slice(r));return n?(e.m=je[n[0].toLowerCase()],r+n[0].length):-1},B:function(e,t,r){var n=De.exec(t.slice(r));return n?(e.m=ze[n[0].toLowerCase()],r+n[0].length):-1},c:function(e,r,n){return Be(e,t,r,n)},d:D,e:D,f:N,g:L,G:S,H:P,I:P,j:z,L:R,m:O,M:j,p:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.p=y[n[0].toLowerCase()],r+n[0].length):-1},q:I,Q:H,s:B,S:E,u:k,U:T,V:M,w:w,W:A,x:function(e,t,n){return Be(e,r,t,n)},X:function(e,t,r){return Be(e,n,t,r)},y:L,Y:S,Z:C,"%":F};function Fe(e,t){return function(r){var n,a,i,o=[],l=-1,s=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++l53)return null;"w"in c||(c.w=1),"Z"in c?(i=(n=d(f(c.y,0,1))).getUTCDay(),n=i>4||0===i?o.utcMonday.ceil(n):o.utcMonday(n),n=s.default.offset(n,7*(c.V-1)),c.y=n.getUTCFullYear(),c.m=n.getUTCMonth(),c.d=n.getUTCDate()+(c.w+6)%7):(i=(n=u(f(c.y,0,1))).getDay(),n=i>4||0===i?a.monday.ceil(n):a.monday(n),n=l.default.offset(n,7*(c.V-1)),c.y=n.getFullYear(),c.m=n.getMonth(),c.d=n.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),i="Z"in c?d(f(c.y,0,1)).getUTCDay():u(f(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(i+5)%7:c.w+7*c.U-(i+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,d(c)):u(c)}}function Be(e,t,r,n){for(var a,i,o=0,l=t.length,s=r.length;o=s)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=Ne[a in p?t.charAt(o++):a])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}return Ee.x=Fe(r,Ee),Ee.X=Fe(n,Ee),Ee.c=Fe(t,Ee),Re.x=Fe(r,Re),Re.X=Fe(n,Re),Re.c=Fe(t,Re),{format:function(e){var t=Fe(e+="",Ee);return t.toString=function(){return e},t},parse:function(e){var t=He(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=Fe(e+="",Re);return t.toString=function(){return e},t},utcParse:function(e){var t=He(e+="",!0);return t.toString=function(){return e},t}}}var p={"-":"",_:" ",0:"0"},g=/^\s*\d+/,v=/^%/,m=/[\\^$*+?|[\]().{}]/g;function y(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+n[0].length):-1}function C(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function I(e,t,r){var n=g.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function O(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function D(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function z(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function P(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function j(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function E(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function R(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function N(e,t,r){var n=g.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function F(e,t,r){var n=v.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function H(e,t,r){var n=g.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function B(e,t,r){var n=g.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function U(e,t){return y(e.getDate(),t,2)}function q(e,t){return y(e.getHours(),t,2)}function V(e,t){return y(e.getHours()%12||12,t,2)}function Y(e,t){return y(1+l.default.count(n.default(e),e),t,3)}function G(e,t){return y(e.getMilliseconds(),t,3)}function Z(e,t){return G(e,t)+"000"}function W(e,t){return y(e.getMonth()+1,t,2)}function X(e,t){return y(e.getMinutes(),t,2)}function Q(e,t){return y(e.getSeconds(),t,2)}function J(e){var t=e.getDay();return 0===t?7:t}function K(e,t){return y(a.sunday.count(n.default(e)-1,e),t,2)}function $(e){var t=e.getDay();return t>=4||0===t?a.thursday(e):a.thursday.ceil(e)}function ee(e,t){return e=$(e),y(a.thursday.count(n.default(e),e)+(4===n.default(e).getDay()),t,2)}function te(e){return e.getDay()}function re(e,t){return y(a.monday.count(n.default(e)-1,e),t,2)}function ne(e,t){return y(e.getFullYear()%100,t,2)}function ae(e,t){return y((e=$(e)).getFullYear()%100,t,2)}function ie(e,t){return y(e.getFullYear()%1e4,t,4)}function oe(e,t){var r=e.getDay();return y((e=r>=4||0===r?a.thursday(e):a.thursday.ceil(e)).getFullYear()%1e4,t,4)}function le(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+y(t/60|0,"0",2)+y(t%60,"0",2)}function se(e,t){return y(e.getUTCDate(),t,2)}function ce(e,t){return y(e.getUTCHours(),t,2)}function ue(e,t){return y(e.getUTCHours()%12||12,t,2)}function de(e,t){return y(1+s.default.count(c.default(e),e),t,3)}function fe(e,t){return y(e.getUTCMilliseconds(),t,3)}function he(e,t){return fe(e,t)+"000"}function pe(e,t){return y(e.getUTCMonth()+1,t,2)}function ge(e,t){return y(e.getUTCMinutes(),t,2)}function ve(e,t){return y(e.getUTCSeconds(),t,2)}function me(e){var t=e.getUTCDay();return 0===t?7:t}function ye(e,t){return y(o.utcSunday.count(c.default(e)-1,e),t,2)}function xe(e){var t=e.getUTCDay();return t>=4||0===t?o.utcThursday(e):o.utcThursday.ceil(e)}function be(e,t){return e=xe(e),y(o.utcThursday.count(c.default(e),e)+(4===c.default(e).getUTCDay()),t,2)}function _e(e){return e.getUTCDay()}function we(e,t){return y(o.utcMonday.count(c.default(e)-1,e),t,2)}function ke(e,t){return y(e.getUTCFullYear()%100,t,2)}function Te(e,t){return y((e=xe(e)).getUTCFullYear()%100,t,2)}function Me(e,t){return y(e.getUTCFullYear()%1e4,t,4)}function Ae(e,t){var r=e.getUTCDay();return y((e=r>=4||0===r?o.utcThursday(e):o.utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function Se(){return"+0000"}function Le(){return"%"}function Ce(e){return+e}function Ie(e){return Math.floor(+e/1e3)}})),i.register("6xy94",(function(e,r){t(e.exports,"default",(()=>l));var n=i("4YTe1"),a=i("423HX"),o=n.default((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())*a.durationMinute)/a.durationDay}),(function(e){return e.getDate()-1})),l=o;o.range})),i.register("4YTe1",(function(e,r){t(e.exports,"default",(()=>i));var n=new Date,a=new Date;function i(e,t,r,o){function l(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return l.floor=function(t){return e(t=new Date(+t)),t},l.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},l.round=function(e){var t=l(e),r=l.ceil(e);return e-t0))return o;do{o.push(i=new Date(+r)),t(r,a),e(r)}while(i=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(l.count=function(t,i){return n.setTime(+t),a.setTime(+i),e(n),e(a),Math.floor(r(n,a))},l.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?l.filter(o?function(t){return o(t)%e==0}:function(t){return l.count(0,t)%e==0}):l:null}),l}})),i.register("423HX",(function(e,r){t(e.exports,"durationWeek",(()=>i)),t(e.exports,"durationDay",(()=>a)),t(e.exports,"durationMinute",(()=>n));var n=6e4,a=864e5,i=6048e5})),i.register("7iI8g",(function(e,r){t(e.exports,"monday",(()=>s)),t(e.exports,"sunday",(()=>l)),t(e.exports,"thursday",(()=>d));var n=i("4YTe1"),a=i("423HX");function o(e){return n.default((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())*a.durationMinute)/a.durationWeek}))}var l=o(0),s=o(1),c=o(2),u=o(3),d=o(4),f=o(5),h=o(6);l.range,s.range,c.range,u.range,d.range,f.range,h.range})),i.register("4kVgh",(function(e,r){t(e.exports,"default",(()=>o));var n=i("4YTe1"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var o=a;a.range})),i.register("1GweQ",(function(e,r){t(e.exports,"default",(()=>l));var n=i("4YTe1"),a=i("423HX"),o=n.default((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/a.durationDay}),(function(e){return e.getUTCDate()-1})),l=o;o.range})),i.register("4RR5X",(function(e,r){t(e.exports,"utcSunday",(()=>l)),t(e.exports,"utcThursday",(()=>d)),t(e.exports,"utcMonday",(()=>s));var n=i("4YTe1"),a=i("423HX");function o(e){return n.default((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)/a.durationWeek}))}var l=o(0),s=o(1),c=o(2),u=o(3),d=o(4),f=o(5),h=o(6);l.range,s.range,c.range,u.range,d.range,f.range,h.range})),i.register("3r5Rv",(function(e,r){t(e.exports,"default",(()=>o));var n=i("4YTe1"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var o=a;a.range})),i.register("6qr5h",(function(e,t){"use strict";var r=i("3d0NJ");e.exports=function(e){var t=typeof e;if("string"===t){var n=e;if(0===(e=+e)&&r(n))return!1}else if("number"!==t)return!1;return e-e<1}})),i.register("3d0NJ",(function(e,t){"use strict";e.exports=function(e){for(var t,r=e.length,n=0;n13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}})),i.register("10TEj",(function(e,t){"use strict";e.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"โˆ’"}})),i.register("2Tkfd",(function(e,t){"use strict";var r=i("6qr5h"),n=i("1nElS").isArrayOrTypedArray;function a(e,t){return function(){var r,i,o,l,s,c=e;for(l=0;la),(e=>a=e)),t(e.exports,"maxRowLength",(()=>i),(e=>i=e)),t(e.exports,"minRowLength",(()=>o),(e=>o=e)),t(e.exports,"isArrayOrTypedArray",(()=>n),(e=>n=e)),t(e.exports,"ensureArray",(()=>s),(e=>s=e)),t(e.exports,"isArray1D",(()=>l),(e=>l=e)),t(e.exports,"concat",(()=>c),(e=>c=e));var u=Array.isArray,d="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},f="undefined"==typeof DataView?function(){}:DataView;function h(e){return d.isView(e)&&!(e instanceof f)}function p(e){return u(e)||h(e)}function g(e,t,r){if(p(e)){if(p(e[0])){for(var n=r,a=0;a2)return c[t]=2|c[t],f.set(e,null);if(d){for(o=t;o0)return Math.log(e)/Math.LN10;var n=Math.log(Math.min(t[0],t[1]))/Math.LN10;return r(n)||(n=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),n}})),i.register("CXorH",(function(e,t){"use strict";var r=i("1nElS").isArrayOrTypedArray,n=i("2bwwe");e.exports=function e(t,a){for(var i in a){var o=a[i],l=t[i];if(l!==o)if("_"===i.charAt(0)||"function"==typeof o){if(i in t)continue;t[i]=o}else if(r(o)&&r(l)&&n(o[0])){if("customdata"===i||"ids"===i)continue;for(var s=Math.min(o.length,l.length),c=0;ct/2?e-Math.round(e/t)*t:e}}})),i.register("2YEcf",(function(e,r){var n,a,o,l,s,c,u;t(e.exports,"coerce2",(()=>u),(e=>u=e)),t(e.exports,"coerceSelectionMarkerOpacity",(()=>c),(e=>c=e)),t(e.exports,"validate",(()=>n),(e=>n=e)),t(e.exports,"coerceHoverinfo",(()=>s),(e=>s=e)),t(e.exports,"valObjectMeta",(()=>l),(e=>l=e)),t(e.exports,"coerce",(()=>o),(e=>o=e)),t(e.exports,"coerceFont",(()=>a),(e=>a=e));var d=i("6qr5h"),f=i("3Twc4"),h=i("5zAUi"),p=i("5Tt6Z"),g=i("5NzBR").DESELECTDIM,v=i("2Tkfd"),m=i("3ImU3").counter,y=i("5DnzT").modHalf,x=i("1nElS").isArrayOrTypedArray;function b(e,t){var r=l[t.valType];if(t.arrayOk&&x(e))return!0;if(r.validateFunction)return r.validateFunction(e,t);var n={},a=n,i={set:function(e){a=e}};return r.coerceFunction(e,i,n,t),a!==n}l={data_array:{description:["An {array} of data.","The value MUST be an {array}, or we ignore it.","Note that typed arrays (e.g. Float32Array) are supported."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){x(e)?t.set(e):void 0!==r&&t.set(r)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(e,t,r,n){n.coerceNumber&&(e=+e),-1===n.values.indexOf(e)?t.set(r):t.set(e)},validateFunction:function(e,t){t.coerceNumber&&(e=+e);for(var r=t.values,n=0;nn.max?t.set(r):t.set(+e)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(e,t,r,n){e%1||!d(e)||void 0!==n.min&&en.max?t.set(r):t.set(+e)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,t,r,n){if("string"!=typeof e){var a="number"==typeof e;!0!==n.strict&&a?t.set(String(e)):t.set(r)}else n.noBlank&&!e?t.set(r):t.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,r){f(e).isValid()?t.set(e):t.set(r)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){Array.isArray(e)&&e.length&&e.every((function(e){return f(e).isValid()}))?t.set(e):t.set(r)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(p.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){t.set(p.get(e,r))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){"auto"===e?t.set("auto"):d(e)?t.set(y(+e,360)):t.set(r)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(e,t,r,n){var a=n.regex||m(r);"string"==typeof e&&a.test(e)?t.set(e):t.set(r)},validateFunction:function(e,t){var r=t.dflt;return e===r||"string"==typeof e&&!!m(r).test(e)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,t,r,n){if("string"==typeof e)if(-1===(n.extras||[]).indexOf(e)){for(var a=e.split("+"),i=0;i1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=I(e,360),t=I(t,100),r=I(r,100),0===t)n=a=i=r;else{var l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;n=o(s,l,e+1/3),a=o(s,l,e),i=o(s,l,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,s,u),d=!0,f="hsl"),e.hasOwnProperty("a")&&(i=e.a));var h,p,g;return i=C(i),{ok:d,format:e.format||f,r:o(255,l(a.r,0)),g:o(255,l(a.g,0)),b:o(255,l(a.b,0)),a:i}}(e);this._originalInput=e,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=i(100*this._a)/100,this._format=s.format||u.format,this._gradientType=s.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=u.ok,this._tc_id=a++}function u(e,t,r){e=I(e,255),t=I(t,255),r=I(r,255);var n,a,i=l(e,t,r),s=o(e,t,r),c=(i+s)/2;if(i==s)n=a=0;else{var u=i-s;switch(a=c>.5?u/(2-i-s):u/(i+s),i){case e:n=(t-r)/u+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(c(n));return i}function A(e,t){t=t||6;for(var r=c(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],l=1/t;t--;)o.push(c({h:n,s:a,v:i})),i=(i+l)%1;return o}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,n,a=this.toRgb();return e=a.r/255,r=a.g/255,n=a.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=C(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=d(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16)),z(j(n))];return a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*I(this._r,255))+"%",g:i(100*I(this._g,255))+"%",b:i(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*I(this._r,255))+"%, "+i(100*I(this._g,255))+"%, "+i(100*I(this._b,255))+"%)":"rgba("+i(100*I(this._r,255))+"%, "+i(100*I(this._g,255))+"%, "+i(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(L[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=c(e);r="#"+h(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:P(e[n]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})},c.mix=function(e,t,r){r=0===r?0:r||50;var n=c(e).toRgb(),a=c(t).toRgb(),i=r/100;return c({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},c.readability=function(e,r){var n=c(e),a=c(r);return(t.max(n.getLuminance(),a.getLuminance())+.05)/(t.min(n.getLuminance(),a.getLuminance())+.05)},c.isReadable=function(e,t,r){var n,a,i=c.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},c.mostReadable=function(e,t,r){var n,a,i,o,l=null,s=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var u=0;us&&(s=n,l=c(t[u]));return c.isReadable(e,l,{level:i,size:o})||!a?l:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var S=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(S);function C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=o(r,l(0,parseFloat(e))),n&&(e=parseInt(e*r,10)/100),t.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function O(e){return o(1,l(0,e))}function D(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function j(e){return t.round(255*parseFloat(e)).toString(16)}function E(e){return D(e)/255}var R,N,F,H=(N="[\\s|\\(]+("+(R="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",F="[\\s|\\(]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",{CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+N),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+N),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+N),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function B(e){return!!H.CSS_UNIT.exec(e)}e.exports?e.exports=c:"function"==typeof define&&define.amd?define((function(){return c})):window.tinycolor=c}(Math)})),i.register("5zAUi",(function(e,t){"use strict";var r=i("tikJy");e.exports={type:{valType:"enumerated",role:"info",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],role:"info",dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",role:"info",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",role:"info",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",role:"info",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",role:"info",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",role:"info",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",role:"info",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:r.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,role:"info",editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,role:"info",editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}})),i.register("tikJy",(function(e,t){"use strict";var r=i("10Nlb"),n=i("1U5js").hoverlabel,a=i("1ZM4z").extendFlat;e.exports={hoverlabel:{bgcolor:a({},n.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:a({},n.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:r({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:a({},n.align,{arrayOk:!0}),namelength:a({},n.namelength,{arrayOk:!0}),editType:"none"}}})),i.register("10Nlb",(function(e,t){"use strict";e.exports=function(e){var t=e.editType,r=e.colorEditType;void 0===r&&(r=t);var n={family:{valType:"string",role:"style",noBlank:!0,strict:!0,editType:t,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",role:"style",min:1,editType:t},color:{valType:"color",role:"style",editType:r},editType:t,description:""+(e.description||"")};return e.arrayOk&&(n.family.arrayOk=!0,n.size.arrayOk=!0,n.color.arrayOk=!0),n}})),i.register("1U5js",(function(e,t){"use strict";var r=i("1Qgov"),n=i("10Nlb")({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});n.family.dflt=r.HOVERFONT,n.size.dflt=r.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",role:"info",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",role:"info",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",role:"info",values:["x","y","closest",!1,"x unified","y unified"],editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled.","If `clickmode` includes the *select* flag,","`hovermode` defaults to *closest*.","If `clickmode` lacks the *select* flag,","it defaults to *x* or *y* (depending on the trace's","`orientation` value) for plots based on","cartesian coordinates. For anything else the default","value is *closest*."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",role:"style",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:n,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",role:"style",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,role:"style",editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",role:"info",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}})),i.register("1Qgov",(function(e,t){"use strict";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}})),i.register("1ZM4z",(function(e,r){var n,a,o,l;t(e.exports,"extendDeep",(()=>a),(e=>a=e)),t(e.exports,"extendDeepAll",(()=>o),(e=>o=e)),t(e.exports,"extendFlat",(()=>n),(e=>n=e)),t(e.exports,"extendDeepNoArrays",(()=>l),(e=>l=e));var s=i("2bwwe"),c=Array.isArray;function u(e,t,r,n){var a,i,o,l,d,f,h=e[0],p=e.length;if(2===p&&c(h)&&c(e[1])&&0===h.length){if(function(e,t){var r,n;for(r=0;rn),(e=>n=e)),n=function(e,t,r,n){var a=(t||"")+(r?"":"$"),i=!1===n?"":"^";return"xy"===e?new RegExp(i+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+a):new RegExp(i+e+"([2-9]|[1-9][0-9]+)?"+a)}})),i.register("4Jreh",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v;t(e.exports,"dateTick0",(()=>v),(e=>v=e)),t(e.exports,"isDateTime",(()=>l),(e=>l=e)),t(e.exports,"dfltRange",(()=>n),(e=>n=e)),t(e.exports,"formatDate",(()=>s),(e=>s=e)),t(e.exports,"ms2DateTime",(()=>a),(e=>a=e)),t(e.exports,"isJSDate",(()=>c),(e=>c=e)),t(e.exports,"ms2DateTimeLocal",(()=>o),(e=>o=e)),t(e.exports,"cleanDate",(()=>d),(e=>d=e)),t(e.exports,"findExactDates",(()=>h),(e=>h=e)),t(e.exports,"MAX_MS",(()=>u),(e=>u=e)),t(e.exports,"dateTime2ms",(()=>p),(e=>p=e)),t(e.exports,"MIN_MS",(()=>g),(e=>g=e)),t(e.exports,"incrementMonth",(()=>f),(e=>f=e));var m,y,x=i("6jof9").timeFormat,b=i("6qr5h"),_=i("1NWKZ"),w=i("5DnzT").mod,k=i("10TEj"),T=k.BADNUM,M=k.ONEDAY,A=k.ONEHOUR,S=k.ONEMIN,L=k.ONESEC,C=k.EPOCHJD,I=i("4Hxcc"),O=i("6jof9").utcFormat,D=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,z=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,P=(new Date).getFullYear()-70;function j(e){return e&&I.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function E(e,t){return String(e+Math.pow(10,t)).substr(1)}v=function(e,t){var r=function(e,t){return j(e)?t?I.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:I.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"}(e,!!t);if(t<2)return r;var n=p(r,e);return a(n+=M*(t-1),0,e)},n=function(e){return j(e)?I.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},c=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime},m=g=(p=function(e,t){if(c(e)){var r=e.getTimezoneOffset()*S,n=(e.getUTCMinutes()-e.getMinutes())*S+(e.getUTCSeconds()-e.getSeconds())*L+(e.getUTCMilliseconds()-e.getMilliseconds());if(n){var a=3*S;r=r-a/2+w(n-r+a/2,a)}return(e=Number(e)-r)>=m&&e<=y?e:T}if("string"!=typeof e&&"number"!=typeof e)return T;e=String(e);var i=j(t),o=e.charAt(0);!i||"G"!==o&&"g"!==o||(e=e.substr(1),t="");var l=i&&"chinese"===t.substr(0,7),s=e.match(l?z:D);if(!s)return T;var u=s[1],d=s[3]||"1",f=Number(s[5]||1),h=Number(s[7]||0),p=Number(s[9]||0),g=Number(s[11]||0);if(i){if(2===u.length)return T;var v;u=Number(u);try{var x=I.getComponentMethod("calendars","getCal")(t);if(l){var b="i"===d.charAt(d.length-1);d=parseInt(d,10),v=x.newDate(u,x.toMonthIndex(u,d,b),f)}else v=x.newDate(u,Number(d),f)}catch(e){return T}return v?(v.toJD()-C)*M+h*A+p*S+g*L:T}u=2===u.length?(Number(u)+2e3-P)%100+P:Number(u),d-=1;var _=new Date(Date.UTC(2e3,d,f,h,p));return _.setUTCFullYear(u),_.getUTCMonth()!==d||_.getUTCDate()!==f?T:_.getTime()+g*L})("-9999"),y=u=p("9999-12-31 23:59:59.9999"),l=function(e,t){return p(e,t)!==T};var R=90*M,N=3*A,F=5*S;function H(e,t,r,n,a){if((t||r||n||a)&&(e+=" "+E(t,2)+":"+E(r,2),(n||a)&&(e+=":"+E(n,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+="."+E(a,i)}return e}a=function(e,t,r){if("number"!=typeof e||!(e>=m&&e<=y))return T;t||(t=0);var n,a,i,o,l,s,c=Math.floor(10*w(e+.05,1)),u=Math.round(e-c/10);if(j(r)){var d=Math.floor(u/M)+C,f=Math.floor(w(e,M));try{n=I.getComponentMethod("calendars","getCal")(r).fromJD(d).formatDate("yyyy-mm-dd")}catch(e){n=O("G%Y-%m-%d")(new Date(u))}if("-"===n.charAt(0))for(;n.length<11;)n="-0"+n.substr(1);else for(;n.length<10;)n="0"+n;a=t=m+M&&e<=y-M))return T;var t=Math.floor(10*w(e+.05,1)),r=new Date(Math.round(e-t/10));return H(x("%Y-%m-%d")(r),r.getHours(),r.getMinutes(),r.getSeconds(),10*r.getUTCMilliseconds()+t)},d=function(e,t,r){if(e===T)return t;if(c(e)||"number"==typeof e&&isFinite(e)){if(j(r))return _.error("JS Dates and milliseconds are incompatible with world calendars",e),t;if(!(e=o(+e))&&void 0!==t)return t}else if(!l(e,r))return _.error("unrecognized date",e),t;return e};var B=/%\d?f/g;function U(e,t,r,n){e=e.replace(B,(function(e){var r=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0"}));var a=new Date(Math.floor(t+.05));if(j(n))try{e=I.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return r(e)(a)}var q=[59,59.9,59.99,59.999,59.9999];s=function(e,t,r,n,a,i){if(a=j(a)&&a,!t)if("y"===r)t=i.year;else if("m"===r)t=i.month;else{if("d"!==r)return function(e,t){var r=w(e+.05,M),n=E(Math.floor(r/A),2)+":"+E(w(Math.floor(r/S),60),2);if("M"!==t){b(t)||(t=0);var a=(100+Math.min(w(e/L,60),q[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),n+=":"+a}return n}(e,r)+"\n"+U(i.dayMonthYear,e,n,a);t=i.dayMonth+"\n"+i.year}return U(t,e,n,a)};var V=3*M;f=function(e,t,r){r=j(r)&&r;var n=w(e,M);if(e=Math.round(e-n),r)try{var a=Math.round(e/M)+C,i=I.getComponentMethod("calendars","getCal")(r),o=i.fromJD(a);return t%12?i.add(o,t,"m"):i.add(o,t/12,"y"),(o.toJD()-C)*M+n}catch(t){_.error("invalid ms "+e+" in calendar "+r)}var l=new Date(e+V);return l.setUTCMonth(l.getUTCMonth()+t)+n-V},h=function(e,t){for(var r,n,a=0,i=0,o=0,l=0,s=j(t)&&I.getComponentMethod("calendars","getCal")(t),c=0;c1){var t=["LOG:"];for(e=0;e1){var a=[];for(e=0;e"),"long")}},a.warn=function(){var e;if(r.logging>0){var t=["WARN:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}},a.error=function(){var e;if(r.logging>0){var t=["ERROR:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}}})),i.register("24AkC",(function(e,t){"use strict";var r={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v2, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo and mapbox subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo and mapbox) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},n={};!function e(t,r){for(var n in t){var a=t[n];a.valType?r[n]=a.dflt:(r[n]||(r[n]={}),e(a,r[n]))}}(r,n),e.exports={configAttributes:r,dfltConfig:n}})),i.register("7gpnI",(function(e,t){"use strict";var r=i("4Wia9"),n=i("6qr5h"),a=[];e.exports=function(e,t){if(-1===a.indexOf(e)){a.push(e);var i=1e3;n(t)?i=t:"long"===t&&(i=3e3);var o=r.select("body").selectAll(".plotly-notifier").data([0]);o.enter().append("div").classed("plotly-notifier",!0),o.selectAll(".notifier-note").data(a).enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(e){var n=r.select(this);n.append("button").classed("notifier-close",!0).html("×").on("click",(function(){n.transition().call(l)}));for(var a=n.append("p"),o=e.split(//g),s=0;ss),(e=>s=e)),t(e.exports,"componentsRegistry",(()=>c),(e=>c=e)),t(e.exports,"allCategories",(()=>o),(e=>o=e)),t(e.exports,"call",(()=>f),(e=>f=e)),t(e.exports,"hasTransform",(()=>m),(e=>m=e)),t(e.exports,"transformsRegistry",(()=>a),(e=>a=e)),t(e.exports,"modules",(()=>n),(e=>n=e)),t(e.exports,"getModule",(()=>_),(e=>_=e)),t(e.exports,"getComponentMethod",(()=>l),(e=>l=e)),t(e.exports,"subplotsRegistry",(()=>g),(e=>g=e)),t(e.exports,"layoutArrayContainers",(()=>y),(e=>y=e)),t(e.exports,"apiMethodRegistry",(()=>w),(e=>w=e)),t(e.exports,"collectableSubplotTypes",(()=>x),(e=>x=e)),t(e.exports,"localeRegistry",(()=>d),(e=>d=e)),t(e.exports,"layoutArrayRegexes",(()=>v),(e=>v=e)),t(e.exports,"traceLayoutAttributes",(()=>h),(e=>h=e)),t(e.exports,"register",(()=>u),(e=>u=e)),t(e.exports,"traceIs",(()=>p),(e=>p=e)),t(e.exports,"getTransformIndices",(()=>b),(e=>b=e));var k=i("1NWKZ"),T=i("77Ix4"),M=i("5c3WY"),A=i("2bwwe"),S=i("44pv8").addStyleRule,L=i("1ZM4z"),C=i("5zAUi"),I=i("5axlk"),O=L.extendFlat,D=L.extendDeepAll;function z(e){var t=e.name,r=e.categories,a=e.meta;if(n[t])k.log("Type "+t+" already registered");else{g[e.basePlotModule.name]||function(e){var t=e.name;if(g[t])return void k.log("Plot type "+t+" already registered.");for(var r in R(e),g[t]=e,c)H(r,e.name)}(e.basePlotModule);for(var i={},l=0;lp),(e=>p=e)),t(e.exports,"init2dArray",(()=>a),(e=>a=e)),t(e.exports,"convertCssMatrix",(()=>l),(e=>l=e)),t(e.exports,"apply3DTransform",(()=>h),(e=>h=e)),t(e.exports,"rotationMatrix",(()=>u),(e=>u=e)),t(e.exports,"dot",(()=>c),(e=>c=e)),t(e.exports,"rotationXYMatrix",(()=>f),(e=>f=e)),t(e.exports,"transposeRagged",(()=>d),(e=>d=e)),t(e.exports,"apply2DTransform",(()=>n),(e=>n=e)),t(e.exports,"inverseTransformMatrix",(()=>s),(e=>s=e)),t(e.exports,"apply2DTransform2",(()=>o),(e=>o=e));var g=i("3hqxv");a=function(e,t){for(var r=new Array(e),n=0;nn),(e=>n=e)),t(e.exports,"lightLine",(()=>s),(e=>s=e)),t(e.exports,"background",(()=>a),(e=>a=e)),t(e.exports,"lightFraction",(()=>o),(e=>o=e)),t(e.exports,"defaults",(()=>i),(e=>i=e)),t(e.exports,"defaultLine",(()=>l),(e=>l=e)),i=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],l="#444",s="#eee",a="#fff",n="#BEC8D9",o=90.9090909090909})),i.register("2VcmX",(function(e,t){"use strict";var r=i("5wAu8").dash,n=i("1ZM4z").extendFlat;e.exports={newshape:{line:{color:{valType:"color",editType:"none",role:"info",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,role:"info",editType:"none",description:"Sets the line width (in px)."},dash:n({},r,{dflt:"solid",editType:"none"}),role:"info",editType:"none"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"none",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"none",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"none",description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"none",description:"Specifies whether new shapes are drawn below or above traces."},drawdirection:{valType:"enumerated",role:"info",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",editType:"none",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},editType:"none"},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",role:"style",editType:"none",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,role:"info",editType:"none",description:"Sets the opacity of the active shape."},editType:"none"}}})),i.register("5wAu8",(function(e,r){var n;t(e.exports,"dash",(()=>n),(e=>n=e)),n={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",role:"style",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")}})),i.register("5zrJR",(function(e,t){"use strict";e.exports=function(e){var t=e.editType;return{t:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}})),i.register("5LcuG",(function(e,r){var n,a,o,l,s,c,u;t(e.exports,"distinctVals",(()=>c),(e=>c=e)),t(e.exports,"sorterDes",(()=>l),(e=>l=e)),t(e.exports,"sorterAsc",(()=>s),(e=>s=e)),t(e.exports,"findBin",(()=>o),(e=>o=e)),t(e.exports,"findIndexOfMin",(()=>a),(e=>a=e)),t(e.exports,"roundUp",(()=>u),(e=>u=e)),t(e.exports,"sort",(()=>n),(e=>n=e));var d=i("6qr5h"),f=i("1NWKZ"),h=i("4Qyoa"),p=i("10TEj").BADNUM,g=1e-9;function v(e,t){return et}function x(e,t){return e>=t}o=function(e,t,r){if(d(t.start))return r?Math.ceil((e-t.start)/t.size-g)-1:Math.floor((e-t.start)/t.size+g);var n,a,i=0,o=t.length,l=0,s=o>1?(t[o-1]-t[0])/(o-1):1;for(a=s>=0?r?v:m:r?x:y,e+=s*g*(r?-1:1)*(s>=0?1:-1);i90&&f.log("Long binary search..."),i-1},s=function(e,t){return e-t},l=function(e,t){return t-e},c=function(e,t){var r,n=(t||{}).unitMinDiff,a=e.slice();for(a.sort(s),r=a.length-1;r>-1&&a[r]===p;r--);var i=1;n||(i=a[r]-a[0]||1);for(var o,l=i/(r||1)/1e4,c=[],u=0;u<=r;u++){var d=a[u],f=d-o;void 0===o?(c.push(d),o=d):f>l&&(i=Math.min(i,f),c.push(d),o=d)}return{vals:c,minDiff:i}},u=function(e,t,r){for(var n,a=0,i=t.length-1,o=0,l=r?0:1,s=r?1:0,c=r?Math.ceil:Math.floor;a0&&(n=1),r&&n)return e.sort(t)}return n?e:e.reverse()},a=function(e,t){t=t||h;for(var r,n=1/0,a=0;ac),(e=>c=e)),t(e.exports,"interp",(()=>l),(e=>l=e)),t(e.exports,"stdev",(()=>s),(e=>s=e)),t(e.exports,"mean",(()=>d),(e=>d=e)),t(e.exports,"midRange",(()=>u),(e=>u=e)),t(e.exports,"aggNums",(()=>n),(e=>n=e)),t(e.exports,"len",(()=>o),(e=>o=e)),t(e.exports,"median",(()=>a),(e=>a=e));var f=i("6qr5h"),h=i("1nElS").isArrayOrTypedArray;n=function(e,t,r,a){var i,o;if((!a||a>r.length)&&(a=r.length),f(t)||(t=!1),h(r[0])){for(o=new Array(a),i=0;ie.length-1)return e[e.length-1];var r=t%1;return r*e[Math.ceil(t)]+(1-r)*e[Math.floor(t)]}})),i.register("3TZVB",(function(e,t){"use strict";var r=i("5DnzT"),n=r.mod,a=r.modHalf,o=Math.PI,l=2*o;function s(e){return Math.abs(e[1]-e[0])>l-1e-14}function c(e,t){return a(t-e,l)}function u(e,t){if(s(t))return!0;var r,a;t[0](a=n(a,l))&&(a+=l);var i=n(e,l),o=i+l;return i>=r&&i<=a||o>=r&&o<=a}function d(e,t,r,n,a,i,c){a=a||0,i=i||0;var u,d,f,h,p,g=s([r,n]);function v(e,t){return[e*Math.cos(t)+a,i-e*Math.sin(t)]}g?(u=0,d=o,f=l):r=a&&e<=i);var a,i},pathArc:function(e,t,r,n,a){return d(null,e,t,r,n,a,0)},pathSector:function(e,t,r,n,a){return d(null,e,t,r,n,a,1)},pathAnnulus:function(e,t,r,n,a,i){return d(e,t,r,n,a,i,1)}}})),i.register("36x9Z",(function(e,r){var n,a,i,o,l,s;t(e.exports,"isBottomAnchor",(()=>a),(e=>a=e)),t(e.exports,"isCenterAnchor",(()=>n),(e=>n=e)),t(e.exports,"isRightAnchor",(()=>s),(e=>s=e)),t(e.exports,"isTopAnchor",(()=>i),(e=>i=e)),t(e.exports,"isMiddleAnchor",(()=>l),(e=>l=e)),t(e.exports,"isLeftAnchor",(()=>o),(e=>o=e)),o=function(e){return"left"===e.xanchor||"auto"===e.xanchor&&e.x<=1/3},n=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},s=function(e){return"right"===e.xanchor||"auto"===e.xanchor&&e.x>=2/3},i=function(e){return"top"===e.yanchor||"auto"===e.yanchor&&e.y>=2/3},l=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3},a=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3}})),i.register("6yIsr",(function(e,r){var n,a,o,l,s,c;t(e.exports,"findPointOnPath",(()=>a),(e=>a=e)),t(e.exports,"segmentDistance",(()=>o),(e=>o=e)),t(e.exports,"segmentsIntersect",(()=>l),(e=>l=e)),t(e.exports,"getVisibleSegment",(()=>c),(e=>c=e)),t(e.exports,"getTextLocation",(()=>s),(e=>s=e)),t(e.exports,"clearLocationCache",(()=>n),(e=>n=e));var u,d,f,h=i("5DnzT").mod;function p(e,t,r,n,a,i,o,l){var s=r-e,c=a-e,u=o-a,d=n-t,f=i-t,h=l-i,p=s*h-u*d;if(0===p)return null;var g=(c*h-u*f)/p,v=(c*d-s*f)/p;return v<0||v>1||g<0||g>1?null:{x:e+s*g,y:t+d*g}}function g(e,t,r,n,a){var i=n*e+a*t;if(i<0)return n*n+a*a;if(i>r){var o=n-e,l=a-t;return o*o+l*l}var s=n*t-a*e;return s*s/r}l=p,o=function(e,t,r,n,a,i,o,l){if(p(e,t,r,n,a,i,o,l))return 0;var s=r-e,c=n-t,u=o-a,d=l-i,f=s*s+c*c,h=u*u+d*d,v=Math.min(g(s,c,f,a-e,i-t),g(s,c,f,o-e,l-t),g(u,d,h,e-a,t-i),g(u,d,h,r-a,n-i));return Math.sqrt(v)},s=function(e,t,r,n){if(e===d&&n===f||(u={},d=e,f=n),u[r])return u[r];var a=e.getPointAtLength(h(r-n/2,t)),i=e.getPointAtLength(h(r+n/2,t)),o=Math.atan((i.y-a.y)/(i.x-a.x)),l=e.getPointAtLength(h(r,t)),s={x:(4*l.x+a.x+i.x)/6,y:(4*l.y+a.y+i.y)/6,theta:o};return u[r]=s,s},n=function(){d=null},c=function(e,t,r){var n,a,i=t.left,o=t.right,l=t.top,s=t.bottom,c=0,u=e.getTotalLength(),d=u;function f(t){var r=e.getPointAtLength(t);0===t?n=r:t===u&&(a=r);var c=r.xo?r.x-o:0,d=r.ys?r.y-s:0;return Math.sqrt(c*c+d*d)}for(var h=f(c);h;){if((c+=h+r)>d)return;h=f(c)}for(h=f(d);h;){if(c>(d-=h+r))return;h=f(d)}return{min:c,max:d,len:d-c,total:u,isClosed:0===c&&d===u&&Math.abs(n.x-a.x)<.1&&Math.abs(n.y-a.y)<.1}},a=function(e,t,r,n){for(var a,i,o,l=(n=n||{}).pathLength||e.getTotalLength(),s=n.tolerance||.001,c=n.iterationLimit||30,u=e.getPointAtLength(0)[r]>e.getPointAtLength(l)[r]?-1:1,d=0,f=0,h=l;d0?h=a:f=a,d++}return i}})),i.register("3RMbo",(function(e,r){var n,a,i;t(e.exports,"throttle",(()=>a),(e=>a=e)),t(e.exports,"clear",(()=>i),(e=>i=e)),t(e.exports,"done",(()=>n),(e=>n=e));var o={};function l(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}a=function(e,t,r){var n=o[e],a=Date.now();if(!n){for(var i in o)o[i].tsn.ts+t?s():n.timer=setTimeout((function(){s(),n.timer=null}),t)},n=function(e){var t=o[e];return t&&t.timer?new Promise((function(e){var r=t.onDone;t.onDone=function(){r&&r(),e(),t.onDone=null}})):Promise.resolve()},i=function(e){if(e)l(o[e]),delete o[e];else for(var t in o)i(t)}})),i.register("6Jehm",(function(e,t){"use strict";e.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener("resize",e._responsiveChartHandler),delete e._responsiveChartHandler)}})),i.register("72aYm",(function(e,t){"use strict";var r=i("6qr5h"),n=i("7hBrI");e.exports=function(e){var t;if("string"!=typeof(t=e&&e.hasOwnProperty("userAgent")?e.userAgent:function(){var e;"undefined"!=typeof navigator&&(e=navigator.userAgent);e&&e.headers&&"string"==typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]);return e}()))return!0;var a=n({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!a)for(var i=t.split(" "),o=1;o-1;l--){var s=i[l];if("Version/"===s.substr(0,8)){var c=s.substr(8).split(".")[0];if(r(c)&&(c=+c),c>=13)return!0}}}return a}})),i.register("7hBrI",(function(e,t){"use strict";e.exports=a,e.exports.isMobile=a,e.exports.default=a;var r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function a(e){e||(e={});var t=e.ua;if(t||"undefined"==typeof navigator||(t=navigator.userAgent),t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"!=typeof t)return!1;var a=e.tablet?n.test(t):r.test(t);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf("Macintosh")&&-1!==t.indexOf("Safari")&&(a=!0),a}})),i.register("4dVMu",(function(e,t){"use strict";var r=i("4Wia9");e.exports=function(e,t,n){var a=e.selectAll("g."+n.replace(/\s/g,".")).data(t,(function(e){return e[0].trace.uid}));a.exit().remove(),a.enter().append("g").attr("class",n),a.order();var i=e.classed("rangeplot")?"nodeRangePlot3":"node3";return a.each((function(e){e[0][i]=r.select(this)})),a}})),i.register("5Ifkm",(function(e,t){"use strict";var r=i("4Hxcc");e.exports=function(e,t){for(var n=e._context.locale,a=0;a<2;a++){for(var i=e._context.locales,o=0;o<2;o++){var l=(i[n]||{}).dictionary;if(l){var s=l[t];if(s)return s}i=r.localeRegistry}var c=n.split("-")[0];if(c===n)break;n=c}return t}})),i.register("7iNPF",(function(e,t){"use strict";e.exports=function(e){for(var t={},r=[],n=0,a=0;a1?(r*e+r*t)/r:e+t,a=String(n).length;if(a>16){var i=String(t).length;if(a>=String(e).length+i){var o=parseFloat(n).toPrecision(12);-1===o.indexOf("e+")&&(n=+o)}}return n}})),i.register("7HeyY",(function(e,t){"use strict";var r=i("6qr5h"),n=i("10TEj").BADNUM,a=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;e.exports=function(e){return"string"==typeof e&&(e=e.replace(a,"")),r(e)?Number(e):n}})),i.register("1Jk5J",(function(e,t){"use strict";e.exports=function(){"undefined"!=typeof MathJax&&("local"!==(window.PlotlyConfig||{}).MathJaxConfig&&(MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured()))}})),i.register("3L5lN",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S,L,C;t(e.exports,"animate",(()=>o),(e=>o=e)),t(e.exports,"setPlotConfig",(()=>n),(e=>n=e)),t(e.exports,"redraw",(()=>h),(e=>h=e)),t(e.exports,"addFrames",(()=>c),(e=>c=e)),t(e.exports,"_guiUpdate",(()=>l),(e=>l=e)),t(e.exports,"relayout",(()=>p),(e=>p=e)),t(e.exports,"addTraces",(()=>d),(e=>d=e)),t(e.exports,"restyle",(()=>S),(e=>S=e)),t(e.exports,"downloadImage",(()=>x),(e=>x=e)),t(e.exports,"validate",(()=>v),(e=>v=e)),t(e.exports,"prependTraces",(()=>M),(e=>M=e)),t(e.exports,"makeTemplate",(()=>m),(e=>m=e)),t(e.exports,"extendTraces",(()=>b),(e=>b=e)),t(e.exports,"plot",(()=>f),(e=>f=e)),t(e.exports,"moveTraces",(()=>T),(e=>T=e)),t(e.exports,"validateTemplate",(()=>a),(e=>a=e)),t(e.exports,"purge",(()=>L),(e=>L=e)),t(e.exports,"update",(()=>A),(e=>A=e)),t(e.exports,"react",(()=>u),(e=>u=e)),t(e.exports,"_guiRestyle",(()=>_),(e=>_=e)),t(e.exports,"deleteTraces",(()=>s),(e=>s=e)),t(e.exports,"deleteFrames",(()=>C),(e=>C=e)),t(e.exports,"_guiRelayout",(()=>w),(e=>w=e)),t(e.exports,"toImage",(()=>g),(e=>g=e)),t(e.exports,"newPlot",(()=>y),(e=>y=e)),t(e.exports,"_storeDirectGUIEdit",(()=>k),(e=>k=e));var I=i("7GMb5");f=I.plot,y=I.newPlot,S=I.restyle,p=I.relayout,h=I.redraw,A=I.update,_=I._guiRestyle,w=I._guiRelayout,l=I._guiUpdate,k=I._storeDirectGUIEdit,u=I.react,b=I.extendTraces,M=I.prependTraces,d=I.addTraces,s=I.deleteTraces,T=I.moveTraces,L=I.purge,c=I.addFrames,C=I.deleteFrames,o=I.animate,n=I.setPlotConfig,g=i("28GEY"),v=i("1B45K"),x=i("4egvB");var O=i("2SHXB");m=O.makeTemplate,a=O.validateTemplate})),i.register("7GMb5",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;t(e.exports,"setPlotConfig",(()=>m),(e=>m=e)),t(e.exports,"purge",(()=>f),(e=>f=e)),t(e.exports,"redraw",(()=>h),(e=>h=e)),t(e.exports,"newPlot",(()=>_),(e=>_=e)),t(e.exports,"_storeDirectGUIEdit",(()=>d),(e=>d=e)),t(e.exports,"plot",(()=>T),(e=>T=e)),t(e.exports,"deleteTraces",(()=>x),(e=>x=e)),t(e.exports,"_guiRelayout",(()=>o),(e=>o=e)),t(e.exports,"addTraces",(()=>g),(e=>g=e)),t(e.exports,"restyle",(()=>p),(e=>p=e)),t(e.exports,"react",(()=>y),(e=>y=e)),t(e.exports,"relayout",(()=>k),(e=>k=e)),t(e.exports,"update",(()=>c),(e=>c=e)),t(e.exports,"_guiRestyle",(()=>n),(e=>n=e)),t(e.exports,"extendTraces",(()=>s),(e=>s=e)),t(e.exports,"animate",(()=>u),(e=>u=e)),t(e.exports,"addFrames",(()=>a),(e=>a=e)),t(e.exports,"prependTraces",(()=>b),(e=>b=e)),t(e.exports,"_guiUpdate",(()=>l),(e=>l=e)),t(e.exports,"deleteFrames",(()=>v),(e=>v=e)),t(e.exports,"moveTraces",(()=>w),(e=>w=e));var M=i("4Wia9"),A=i("6qr5h"),S=i("5aT4w"),L=i("1nIvY"),C=L.nestedProperty,I=i("5yBVq"),O=i("7mZiM"),D=i("4Hxcc"),z=i("4UWmi"),P=i("3BndS"),j=i("6G7Mf"),E=i("1nE8l"),R=i("7jar4"),N=i("3N5m7"),F=i("1Cu9q").initInteractions,H=i("ipXll"),B=i("49Q6h"),U=i("7KokU").clearSelect,q=i("24AkC").dfltConfig,V=i("6cUxK"),Y=i("70FGl"),G=i("4wnLB"),Z=i("1bSCj"),W=i("5Lafm").AX_NAME_PATTERN,X=0;function Q(e){var t=e._fullLayout;t._redrawFromAutoMarginCount?t._redrawFromAutoMarginCount--:e.emit("plotly_afterplot")}function J(e,t){try{e._fullLayout._paper.style("background",t)}catch(e){L.error(e)}}function K(e,t){J(e,N.combine(t,"white"))}function $(e,t){if(!e._context){e._context=L.extendDeep({},q);var r=M.select("base");e._context._baseUrl=r.size()&&r.attr("href")?window.location.href.split("#")[0]:""}var n,a,i,o=e._context;if(t){for(a=Object.keys(t),n=0;n=e.data.length||a<-e.data.length)throw new Error(r+" must be valid indices for gd.data.");if(t.indexOf(a,n+1)>-1||a>=0&&t.indexOf(-e.data.length+a)>-1||a<0&&t.indexOf(e.data.length+a)>-1)throw new Error("each index in "+r+" must be unique.")}}function re(e,t,r){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),te(e,t,"currentIndices"),void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&te(e,r,"newIndices"),void 0!==r&&t.length!==r.length)throw new Error("current and new indices must be of equal length.")}function ne(e,t,r,n,a){!function(e,t,r,n){var a=L.isPlainObject(n);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!L.isPlainObject(t))throw new Error("update must be a key:value object");if(void 0===r)throw new Error("indices must be an integer or array of integers");for(var i in te(e,r,"indices"),t){if(!Array.isArray(t[i])||t[i].length!==r.length)throw new Error("attribute "+i+" must be an array of length equal to indices array length");if(a&&(!(i in n)||!Array.isArray(n[i])||n[i].length!==t[i].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(e,t,r,n);for(var i=function(e,t,r,n){var a,i,o,l,s,c=L.isPlainObject(n),u=[];for(var d in Array.isArray(r)||(r=[r]),r=ee(r,e.data.length-1),t)for(var f=0;f-1?l(r,r.replace("titlefont","title.font")):r.indexOf("titleposition")>-1?l(r,r.replace("titleposition","title.position")):r.indexOf("titleside")>-1?l(r,r.replace("titleside","title.side")):r.indexOf("titleoffset")>-1&&l(r,r.replace("titleoffset","title.offset")):l(r,r.replace("title","title.text"));function l(t,r){e[r]=e[t],delete e[t]}}function de(e,t,r){if(e=L.getGraphDiv(e),Y.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);var n={};if("string"==typeof t)n[t]=r;else{if(!L.isPlainObject(t))return L.warn("Relayout fail.",t,r),Promise.reject();n=L.extendFlat({},t)}Object.keys(n).length&&(e.changed=!0);var a=me(e,n),i=a.flags;i.calc&&(e.calcdata=void 0);var o=[P.previousPromises];i.layoutReplot?o.push(G.layoutReplot):Object.keys(n).length&&(fe(e,i,a)||P.supplyDefaults(e),i.legend&&o.push(G.doLegend),i.layoutstyle&&o.push(G.layoutStyles),i.axrange&&he(o,a.rangesAltered),i.ticks&&o.push(G.doTicksRelayout),i.modebar&&o.push(G.doModeBar),i.camera&&o.push(G.doCamera),i.colorbars&&o.push(G.doColorBars),o.push(Q)),o.push(P.rehover,P.redrag),O.add(e,de,[e,a.undoit],de,[e,a.redoit]);var l=L.syncOrAsync(o,e);return l&&l.then||(l=Promise.resolve(e)),l.then((function(){return e.emit("plotly_relayout",a.eventData),e}))}function fe(e,t,r){var n=e._fullLayout;if(!t.axrange)return!1;for(var a in t)if("axrange"!==a&&t[a])return!1;for(var i in r.rangesAltered){var o=E.id2name(i),l=e.layout[o],s=n[o];if(s.autorange=l.autorange,l.range&&(s.range=l.range.slice()),s.cleanRange(),s._matchGroup)for(var c in s._matchGroup)if(c!==i){var u=n[E.id2name(c)];u.autorange=s.autorange,u.range=s.range.slice(),u._input.range=s.range.slice()}}return!0}function he(e,t){var r=t?function(e){var r=[],n=!0;for(var a in t){var i=E.getFromId(e,a);if(r.push(a),-1!==(i.ticklabelposition||"").indexOf("inside")&&i._anchorAxis&&r.push(i._anchorAxis._id),i._matchGroup)for(var o in i._matchGroup)t[o]||r.push(o);i.automargin&&(n=!1)}return E.draw(e,r,{skipTitle:n})}:function(e){return E.draw(e,"redraw")};e.push(U,G.doAutoRangeAndConstraints,r,G.drawData,G.finalDraw)}var pe=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,ge=/^[xyz]axis[0-9]*\.autorange$/,ve=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function me(e,t){var r,n,a,i=e.layout,o=e._fullLayout,l=o._guiEditing,s=le(o._preGUI,l),c=Object.keys(t),u=E.list(e),d=L.extendDeepAll({},t),f={};for(ue(t),c=Object.keys(t),n=0;n0&&"string"!=typeof T.parts[A];)A--;var S=T.parts[A],I=T.parts[A-1]+"."+S,O=T.parts.slice(0,A).join("."),P=C(e.layout,O).get(),j=C(o,O).get(),R=T.get();if(void 0!==M){m[k]=M,y[k]="reverse"===S?M:oe(R);var N=z.getLayoutValObject(o,T.parts);if(N&&N.impliedEdits&&null!==M)for(var F in N.impliedEdits)x(L.relativeAttr(k,F),N.impliedEdits[F]);if(-1!==["width","height"].indexOf(k))if(M){x("autosize",null);var H="height"===k?"width":"height";x(H,o[H])}else o[k]=e._initialAutoSize[k];else if("autosize"===k)x("width",M?null:o.width),x("height",M?null:o.height);else if(I.match(pe))w(I),C(o,O+"._inputRange").set(null);else if(I.match(ge)){w(I),C(o,O+"._inputRange").set(null);var B=C(o,O).get();B._inputDomain&&(B._input.domain=B._inputDomain.slice())}else I.match(ve)&&C(o,O+"._inputDomain").set(null);if("type"===S){b=P;var U="linear"===j.type&&"log"===M,q="log"===j.type&&"linear"===M;if(U||q){if(b&&b.range)if(j.autorange)U&&(b.range=b.range[1]>b.range[0]?[1,2]:[2,1]);else{var G=b.range[0],X=b.range[1];U?(G<=0&&X<=0&&x(O+".autorange",!0),G<=0?G=X/1e6:X<=0&&(X=G/1e6),x(O+".range[0]",Math.log(G)/Math.LN10),x(O+".range[1]",Math.log(X)/Math.LN10)):(x(O+".range[0]",Math.pow(10,G)),x(O+".range[1]",Math.pow(10,X)))}else x(O+".autorange",!0);Array.isArray(o._subplots.polar)&&o._subplots.polar.length&&o[T.parts[0]]&&"radialaxis"===T.parts[1]&&delete o[T.parts[0]]._subplot.viewInitial["radialaxis.range"],D.getComponentMethod("annotations","convertCoords")(e,j,M,x),D.getComponentMethod("images","convertCoords")(e,j,M,x)}else x(O+".autorange",!0),x(O+".range",null);C(o,O+"._inputRange").set(null)}else if(S.match(W)){var Q=C(o,k).get(),J=(M||{}).type;J&&"-"!==J||(J="linear"),D.getComponentMethod("annotations","convertCoords")(e,Q,J,x),D.getComponentMethod("images","convertCoords")(e,Q,J,x)}var K=V.containerArrayMatch(k);if(K){r=K.array,n=K.index;var $=K.property,ee=N||{editType:"calc"};""!==n&&""===$&&(V.isAddVal(M)?y[k]=null:V.isRemoveVal(M)?y[k]=(C(i,r).get()||[])[n]:L.warn("unrecognized full object value",t)),Z.update(v,ee),f[r]||(f[r]={});var te=f[r][n];te||(te=f[r][n]={}),te[$]=M,delete t[k]}else"reverse"===S?(P.range?P.range.reverse():(x(O+".autorange",!0),P.range=[1,0]),j.autorange?v.calc=!0:v.plot=!0):(o._has("scatter-like")&&o._has("regl")&&"dragmode"===k&&("lasso"===M||"select"===M)&&"lasso"!==R&&"select"!==R||o._has("gl2d")?v.plot=!0:N?Z.update(v,N):v.calc=!0,T.set(M))}}for(r in f){V.applyContainerArrayChanges(e,s(i,r),f[r],v,s)||(v.plot=!0)}for(var re in _){var ne=(b=E.getFromId(e,re))&&b._constraintGroup;if(ne)for(var ae in v.calc=!0,ne)_[ae]||(E.getFromId(e,ae)._constraintShrinkable=!0)}return(ye(e)||t.height||t.width)&&(v.plot=!0),(v.plot||v.calc)&&(v.layoutReplot=!0),{flags:v,rangesAltered:_,undoit:y,redoit:m,eventData:d}}function ye(e){var t=e._fullLayout,r=t.width,n=t.height;return e.layout.autosize&&P.plotAutoSize(e,e.layout,t),t.width!==r||t.height!==n}function xe(e,t,r,n){if(e=L.getGraphDiv(e),Y.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);L.isPlainObject(t)||(t={}),L.isPlainObject(r)||(r={}),Object.keys(t).length&&(e.changed=!0),Object.keys(r).length&&(e.changed=!0);var a=Y.coerceTraceIndices(e,n),i=ce(e,L.extendFlat({},t),a),o=i.flags,l=me(e,L.extendFlat({},r)),s=l.flags;(o.calc||s.calc)&&(e.calcdata=void 0),o.clearAxisTypes&&Y.clearAxisTypes(e,a,r);var c=[];s.layoutReplot?c.push(G.layoutReplot):o.fullReplot?c.push(T):(c.push(P.previousPromises),fe(e,s,l)||P.supplyDefaults(e),o.style&&c.push(G.doTraceStyle),(o.colorbars||s.colorbars)&&c.push(G.doColorBars),s.legend&&c.push(G.doLegend),s.layoutstyle&&c.push(G.layoutStyles),s.axrange&&he(c,l.rangesAltered),s.ticks&&c.push(G.doTicksRelayout),s.modebar&&c.push(G.doModeBar),s.camera&&c.push(G.doCamera),c.push(Q)),c.push(P.rehover,P.redrag),O.add(e,xe,[e,i.undoit,l.undoit,i.traces],xe,[e,i.redoit,l.redoit,i.traces]);var u=L.syncOrAsync(c,e);return u&&u.then||(u=Promise.resolve(e)),u.then((function(){return e.emit("plotly_update",{data:i.eventData,layout:l.eventData}),e}))}function be(e){return function(t){t._fullLayout._guiEditing=!0;var r=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,r}}var _e=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],we=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function ke(e,t){for(var r=0;r1;)if(n.pop(),void 0!==(r=C(t,n.join(".")+".uirevision").get()))return r;return t.uirevision}function Me(e,t){for(var r=0;r=a.length?a[0]:a[e]:a}function l(e){return Array.isArray(i)?e>=i.length?i[0]:i[e]:i}function s(e,t){var r=0;return function(){if(e&&++r===t)return e()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise((function(i,c){function u(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var t=n._currentFrame=n._frameQueue.shift();if(t){var r=t.name?t.name.toString():null;e._fullLayout._currentFrame=r,n._lastFrameAt=Date.now(),n._timeToNext=t.frameOpts.duration,P.transition(e,t.frame.data,t.frame.layout,Y.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then((function(){t.onComplete&&t.onComplete()})),e.emit("plotly_animatingframe",{name:r,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}function d(){e.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var t=function(){n._animationRaf=window.requestAnimationFrame(t),Date.now()-n._lastFrameAt>n._timeToNext&&u()};t()}var f,h,p=0;function g(e){return Array.isArray(a)?p>=a.length?e.transitionOpts=a[p]:e.transitionOpts=a[0]:e.transitionOpts=a,p++,e}var v=[],m=null==t,y=Array.isArray(t);if(!m&&!y&&L.isPlainObject(t))v.push({type:"object",data:g(L.extendFlat({},t))});else if(m||-1!==["string","number"].indexOf(typeof t))for(f=0;f0&&__)&&w.push(h);v=w}}v.length>0?function(t){if(0!==t.length){for(var a=0;a=0;n--)if(L.isPlainObject(t[n])){var f=t[n].name,h=(s[f]||d[f]||{}).name,p=t[n].name,g=s[h]||d[h];h&&p&&"number"==typeof p&&g&&X<5&&(X++,L.warn('addFrames: overwriting frame "'+(s[h]||d[h]).name+'" with a frame whose name of type "number" also equates to "'+h+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===X&&L.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),d[f]={name:f},u.push({frame:P.supplyFrameDefaults(t[n]),index:r&&void 0!==r[n]&&null!==r[n]?r[n]:c+n})}u.sort((function(e,t){return e.index>t.index?-1:e.index=0;n--){if("number"==typeof(a=u[n].frame).name&&L.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;s[a.name="frame "+e._transitionData._counter++];);if(s[a.name]){for(i=0;i=0;r--)n=t[r],i.push({type:"delete",index:n}),o.unshift({type:"insert",index:n,value:a[n]});var l=P.modifyFrames,s=P.modifyFrames,c=[e,o],u=[e,i];return O&&O.add(e,l,c,s,u),P.modifyFrames(e,i)},g=function e(t,r,n){t=L.getGraphDiv(t);var a,i,o=[],l=x,s=e,c=[t,o],u=[t,r];for(function(e,t,r){var n,a;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),n=0;n=0&&r=0&&r0&&o.length>a&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,l=u,console&&console.warn&&console.warn(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=d.bind(n);return a.listener=r,n.wrapFn=a,a}function h(e,t,r){var n=e._events;if(void 0===n)return[];var a=n[t];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(o=t[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)a(s,this,t);else{var c=s.length,u=g(s,c);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){o=r[i].listener,a=i;break}if(a<0)return this;0===a?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}})),i.register("7mZiM",(function(e,t){"use strict";var r=i("1nIvY"),n=i("24AkC").dfltConfig;var a={add:function(e,t,r,a,i){var o,l;e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},l=e.undoQueue.index,e.autoplay?e.undoQueue.inSequence||(e.autoplay=!1):(!e.undoQueue.sequence||e.undoQueue.beginSequence?(o={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(l,e.undoQueue.queue.length-l,o),e.undoQueue.index+=1):o=e.undoQueue.queue[l-1],e.undoQueue.beginSequence=!1,o&&(o.undo.calls.unshift(t),o.undo.args.unshift(r),o.redo.calls.push(a),o.redo.args.push(i)),e.undoQueue.queue.length>n.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var t,r;if(e.framework&&e.framework.isPolar)e.framework.undo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;rf),(e=>f=e)),t(e.exports,"isValObject",(()=>a),(e=>a=e)),t(e.exports,"UNDERSCORE_ATTRS",(()=>u),(e=>u=e)),t(e.exports,"get",(()=>h),(e=>h=e)),t(e.exports,"getLayoutValObject",(()=>d),(e=>d=e)),t(e.exports,"IS_LINKED_TO_ARRAY",(()=>n),(e=>n=e)),t(e.exports,"IS_SUBPLOT_OBJ",(()=>c),(e=>c=e)),t(e.exports,"crawl",(()=>l),(e=>l=e)),t(e.exports,"getTraceValObject",(()=>s),(e=>s=e)),t(e.exports,"DEPRECATED",(()=>o),(e=>o=e));var p=i("4Hxcc"),g=i("1nIvY"),v=i("5zAUi"),m=i("5axlk"),y=i("6zb5J"),x=i("69Oag"),b=i("24AkC").configAttributes,_=i("3EgrR"),w=i("2QmIR"),k=i("1bSCj"),T=g.extendFlat,M=g.extendDeepAll,A=g.isPlainObject,S=g.isArrayOrTypedArray,L=g.nestedProperty,C=g.valObjectMeta,I="_isSubplotObj",O="_isLinkedToArray",D="_deprecated",z=[I,O,"_arrayAttrRegexps",D];function P(e,t,r){if(!e)return!1;if(e._isLinkedToArray)if(j(t[r]))r++;else if(r=i.length)return!1;if(2===e.dimensions){if(r++,t.length===r)return e;var o=t[r];if(!j(o))return!1;e=i[a][o]}else e=i[a]}else e=i}}return e}function j(e){return e===Math.round(e)&&e>=0}function E(){var e,t,r={};for(e in M(r,m),p.subplotsRegistry){if((t=p.subplotsRegistry[e]).layoutAttributes)if(Array.isArray(t.attr))for(var n=0;n=o.length)return!1;n=(r=(p.transformsRegistry[o[l].type]||{}).attributes)&&r[t[2]],i=3}else if("area"===e.type)n=_[a];else{var s=e._module;if(s||(s=(p.modules[e.type||v.type.dflt]||{})._module),!s)return!1;if(!(n=(r=s.attributes)&&r[a])){var c=s.basePlotModule;c&&c.attributes&&(n=c.attributes[a])}n||(n=v[a])}return P(n,t,i)},d=function(e,t){return P(function(e,t){var r,n,a,i,o=e._basePlotModules;if(o){var l;for(r=0;r* on the "+e+" axis.","Special values in the form of *M* could be used to declare","the number of months. In this case `n` must be a positive integer."].join(" ")}}function f(e){return{valType:"any",role:"info",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the base for period positioning in milliseconds or date string on the "+e+" axis.","When `"+e+"period` is round number of weeks,","the `"+e+"period0` by default would be on a Sunday i.e. 2000-01-02,","otherwise it would be at 2000-01-01."].join(" ")}}function h(e){return{valType:"enumerated",values:["start","middle","end"],dflt:"middle",role:"style",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the alignment of data points on the "+e+" axis."].join(" ")}}e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the x coordinates."},x0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `x`.","Builds a linear space of x coordinates.","Use with `dx`","where `x0` is the starting coordinate and `dx` the step."].join(" ")},dx:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the x coordinate step.","See `x0` for more info."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the y coordinates."},y0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `y`.","Builds a linear space of y coordinates.","Use with `dy`","where `y0` is the starting coordinate and `dy` the step."].join(" ")},dy:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the y coordinate step.","See `y0` for more info."].join(" ")},xperiod:d("x"),yperiod:d("y"),xperiod0:f("x0"),yperiod0:f("y0"),xperiodalignment:h("x"),yperiodalignment:h("y"),stackgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several scatter traces (on the same subplot) to the same","stackgroup in order to add their y values (or their x values if","`orientation` is *h*). If blank or omitted this trace will not be","stacked. Stacking also turns `fill` on by default, using *tonexty*","(*tonextx*) if `orientation` is *h* (*v*) and sets the default","`mode` to *lines* irrespective of point count.","You can only stack on a numeric (linear or log) axis.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`orientation` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`. Sets the","stacking direction. With *v* (*h*), the y (x) values of subsequent","traces are added. Also affects the default value of `fill`."].join(" ")},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`groupnorm` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Sets the normalization for the sum of this `stackgroup`.","With *fraction*, the value of each trace at each location is","divided by the sum of all trace values at that location.","*percent* is the same but multiplied by 100 to show percentages.","If there are multiple subplots, or multiple `stackgroup`s on one","subplot, each will be normalized within its own set."].join(" ")},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`stackgaps` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Determines how we handle locations at which other traces in this","group have data but this one does not.","With *infer zero* we insert a zero at these locations.","With *interpolate* we linearly interpolate between existing","values, and extrapolate a constant beyond the existing values."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},texttemplate:r({},{}),hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],role:"info",editType:"calc",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover.","If there are less than "+c.PTS_LINESONLY+" points","and the trace is not stacked","then the default is *lines+markers*. Otherwise, *lines*."].join(" ")},hoveron:{valType:"flaglist",flags:["points","fills"],role:"info",editType:"style",description:["Do the hover effects highlight individual points (markers or","line points) or do they highlight filled regions?","If the fill is *toself* or *tonext* and there are no markers","or text, then the default is *fills*, otherwise it is *points*."].join(" ")},hovertemplate:n({},{keys:c.eventDataKeys}),line:{color:{valType:"color",role:"style",editType:"style",anim:!0,description:"Sets the line color."},width:{valType:"number",min:0,dflt:2,role:"style",editType:"style",anim:!0,description:"Sets the line width (in px)."},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",role:"style",editType:"plot",description:["Determines the line shape.","With *spline* the lines are drawn using spline interpolation.","The other available values correspond to step-wise line shapes."].join(" ")},smoothing:{valType:"number",min:0,max:1.3,dflt:1,role:"style",editType:"plot",description:["Has an effect only if `shape` is set to *spline*","Sets the amount of smoothing.","*0* corresponds to no smoothing (equivalent to a *linear* shape)."].join(" ")},dash:u({},l,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Simplifies lines by removing nearly-collinear points. When transitioning","lines, it may be desirable to disable this so that the number of points","along the resulting SVG path is unaffected."].join(" ")},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the provided data arrays are connected."].join(" ")},cliponaxis:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines whether or not markers and text nodes","are clipped about the subplot axes.","To show markers and text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],role:"style",editType:"calc",description:["Sets the area to fill with a solid color.","Defaults to *none* unless this trace is stacked, then it gets","*tonexty* (*tonextx*) if `orientation` is *v* (*h*)","Use with `fillcolor` if not *none*.","*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.","*tonextx* and *tonexty* fill between the endpoints of this","trace and the endpoints of the trace before it, connecting those","endpoints with straight lines (to make a stacked area graph);","if there is no trace before it, they behave like *tozerox* and","*tozeroy*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},fillcolor:{valType:"color",role:"style",editType:"style",anim:!0,description:["Sets the fill color.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},marker:u({symbol:{valType:"enumerated",values:s.symbolList,dflt:"circle",arrayOk:!0,role:"style",editType:"style",description:["Sets the marker symbol type.","Adding 100 is equivalent to appending *-open* to a symbol name.","Adding 200 is equivalent to appending *-dot* to a symbol name.","Adding 300 is equivalent to appending *-open-dot*","or *dot-open* to a symbol name."].join(" ")},opacity:{valType:"number",min:0,max:1,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the marker opacity."},size:{valType:"number",min:0,dflt:6,arrayOk:!0,role:"style",editType:"calc",anim:!0,description:"Sets the marker size (in px)."},maxdisplayed:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:["Sets a maximum number of points to be drawn on the graph.","*0* corresponds to no limit."].join(" ")},sizeref:{valType:"number",dflt:1,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the scale factor used to determine the rendered size of","marker points. Use with `sizemin` and `sizemode`."].join(" ")},sizemin:{valType:"number",min:0,dflt:0,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the minimum size (in px) of the rendered marker points."].join(" ")},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",role:"info",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the rule for which the data in `size` is converted","to pixels."].join(" ")},line:u({width:{valType:"number",min:0,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the width (in px) of the lines bounding the marker points."},editType:"calc"},a("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",role:"style",editType:"calc",description:["Sets the type of gradient used to fill the markers"].join(" ")},color:{valType:"color",arrayOk:!0,role:"style",editType:"calc",description:["Sets the final color of the gradient fill:","the center color for radial, the right for horizontal,","or the bottom for vertical."].join(" ")},editType:"calc"},editType:"calc"},a("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of selected points."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of selected points."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of selected points."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of selected points."},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of unselected points, applied only when a selection exists."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of unselected points, applied only when a selection exists."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of unselected points, applied only when a selection exists."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of unselected points, applied only when a selection exists."},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,role:"style",editType:"calc",description:["Sets the positions of the `text` elements","with respects to the (x,y) coordinates."].join(" ")},textfont:o({editType:"calc",colorEditType:"style",arrayOk:!0,description:"Sets the text font."}),r:{valType:"data_array",editType:"calc",description:["r coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the radial coordinates","for legacy polar chart only."].join("")},t:{valType:"data_array",editType:"calc",description:["t coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the angular coordinates","for legacy polar chart only."].join("")}}})),i.register("61PQn",(function(e,r){var n,a;t(e.exports,"texttemplateAttrs",(()=>a),(e=>a=e)),t(e.exports,"hovertemplateAttrs",(()=>n),(e=>n=e));var o=['Variables are inserted using %{variable}, for example "y: %{y}".','Numbers are formatted using d3-format\'s syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".',i("01iJJ").FORMAT_LINK,"for details on the formatting syntax.",'Dates are formatted using d3-time-format\'s syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".',i("01iJJ").DATE_FORMAT_LINK,"for details on the date formatting syntax."].join(" ");function l(e){var t=e.description?" "+e.description:"",r=e.keys||[];if(r.length>0){for(var n=[],a=0;a` is displayed in the secondary box, for example "{fullData.name}".',"To hide the secondary box completely, use an empty tag ``."].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n},a=function(e,t){e=e||{};var r=l(t=t||{}),n={valType:"string",role:"info",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",o,"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n}})),i.register("01iJJ",(function(e,t){"use strict";e.exports={FORMAT_LINK:"https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format#locale_format"}})),i.register("3Lcu9",(function(e,t){"use strict";var r=i("37lMN"),n=i("3ImU3").counter,a=i("5Tt6Z").scales,o=Object.keys(a);function l(e){return"`"+e+"`"}e.exports=function(e,t){e=e||"";var i,s,c=(t=t||{}).cLetter||"c",u="onlyIfNumerical"in t?t.onlyIfNumerical:Boolean(e),d="noScale"in t?t.noScale:"marker.line"===e,f="showScaleDflt"in t?t.showScaleDflt:"z"===c,h="string"==typeof t.colorscaleDflt?a[t.colorscaleDflt]:null,p=t.editTypeOverride||"",g=e?e+".":"";"colorAttr"in t?(i=t.colorAttr,s=t.colorAttr):s="in "+l(g+(i={z:"z",c:"color"}[c]));var v=u?" Has an effect only if "+s+"is set to a numerical array.":"",m=c+"auto",y=c+"min",x=c+"max",b=c+"mid",_=l(g+m),w=l(g+y),k=l(g+x),T=w+" and "+k,M={};M[y]=M[x]=void 0;var A={};A[m]=!1;var S={};return"color"===i&&(S.color={valType:"color",arrayOk:!0,role:"style",editType:p||"style",description:["Sets the",e,"color."," It accepts either a specific color"," or an array of numbers that are mapped to the colorscale"," relative to the max and min values of the array or relative to"," "+T+" if set."].join("")},t.anim&&(S.color.anim=!0)),S[m]={valType:"boolean",role:"info",dflt:!0,editType:"calc",impliedEdits:M,description:["Determines whether or not the color domain is computed"," with respect to the input data (here "+s+") or the bounds set in"," ",T," ",v," Defaults to `false` when ",T," are set by the user."].join("")},S[y]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:A,description:["Sets the lower bound of the color domain.",v," Value should have the same units as ",s," and if set, ",k," must be set as well."].join("")},S[x]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:A,description:["Sets the upper bound of the color domain.",v," Value should have the same units as ",s," and if set, ",w," must be set as well."].join("")},S[b]={valType:"number",role:"info",dflt:null,editType:"calc",impliedEdits:M,description:["Sets the mid-point of the color domain by scaling ",w," and/or ",k," to be equidistant to this point.",v," Value should have the same units as ",s,". ","Has no effect when ",_," is `false`."].join("")},S.colorscale={valType:"colorscale",role:"style",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1},description:["Sets the colorscale.",v," The colorscale must be an array containing"," arrays mapping a normalized value to an"," rgb, rgba, hex, hsl, hsv, or named color string."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`."," To control the bounds of the colorscale in color space,"," use",T,"."," Alternatively, `colorscale` may be a palette name string"," of the following list: "+o+"."].join("")},S.autocolorscale={valType:"boolean",role:"style",dflt:!1!==t.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0},description:["Determines whether the colorscale is a default palette (`autocolorscale: true`)"," or the palette determined by ",l(g+"colorscale"),".",v," In case `colorscale` is unspecified or `autocolorscale` is true, the default "," palette will be chosen according to whether numbers in the `color` array are"," all positive, all negative or mixed."].join("")},S.reversescale={valType:"boolean",role:"style",dflt:!1,editType:"plot",description:["Reverses the color mapping if true.",v," If true, ",w," will correspond to the last color"," in the array and ",k," will correspond to the first color."].join("")},d||(S.showscale={valType:"boolean",role:"info",dflt:f,editType:"calc",description:["Determines whether or not a colorbar is displayed for this trace.",v].join("")},S.colorbar=r),t.noColorAxis||(S.coloraxis={valType:"subplotid",role:"info",regex:n("coloraxis"),dflt:null,editType:"calc",description:["Sets a reference to a shared color axis.","References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc.","Settings for these shared color axes are set in the layout, under","`layout.coloraxis`, `layout.coloraxis2`, etc.","Note that multiple color scales can be linked to the same color axis."].join(" ")}),S}})),i.register("37lMN",(function(e,t){"use strict";var r=i("1bJQq"),n=i("10Nlb"),a=i("1ZM4z").extendFlat,o=i("1bSCj").overrideAll;e.exports=o({thicknessmode:{valType:"enumerated",values:["fraction","pixels"],role:"style",dflt:"pixels",description:["Determines whether this color bar's thickness","(i.e. the measure in the constant color direction)","is set in units of plot *fraction* or in *pixels*.","Use `thickness` to set the value."].join(" ")},thickness:{valType:"number",role:"style",min:0,dflt:30,description:["Sets the thickness of the color bar","This measure excludes the size of the padding, ticks and labels."].join(" ")},lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this color bar's length","(i.e. the measure in the color variation direction)","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the color bar","This measure excludes the padding of both ends.","That is, the color bar length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",dflt:1.02,min:-2,max:3,role:"style",description:["Sets the x position of the color bar (in plot fraction)."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"style",description:["Sets this color bar's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the color bar."].join(" ")},xpad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the x direction."},y:{valType:"number",role:"style",dflt:.5,min:-2,max:3,description:["Sets the y position of the color bar (in plot fraction)."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],role:"style",dflt:"middle",description:["Sets this color bar's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the color bar."].join(" ")},ypad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the y direction."},outlinecolor:r.linecolor,outlinewidth:r.linewidth,bordercolor:r.linecolor,borderwidth:{valType:"number",role:"style",min:0,dflt:0,description:["Sets the width (in px) or the border enclosing this color bar."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:"rgba(0,0,0,0)",description:"Sets the color of padded area."},tickmode:r.tickmode,nticks:r.nticks,tick0:r.tick0,dtick:r.dtick,tickvals:r.tickvals,ticktext:r.ticktext,ticks:a({},r.ticks,{dflt:""}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside bottom","inside bottom"],dflt:"outside",role:"info",description:["Determines where tick labels are drawn."].join(" ")},ticklen:r.ticklen,tickwidth:r.tickwidth,tickcolor:r.tickcolor,showticklabels:r.showticklabels,tickfont:n({description:"Sets the color bar's tick label font"}),tickangle:r.tickangle,tickformat:r.tickformat,tickformatstops:r.tickformatstops,tickprefix:r.tickprefix,showtickprefix:r.showtickprefix,ticksuffix:r.ticksuffix,showticksuffix:r.showticksuffix,separatethousands:r.separatethousands,exponentformat:r.exponentformat,minexponent:r.minexponent,showexponent:r.showexponent,title:{text:{valType:"string",role:"info",description:["Sets the title of the color bar.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({description:["Sets this color bar's title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),side:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:["Determines the location of color bar's title","with respect to the color bar.","Note that the title's location used to be set","by the now deprecated `titleside` attribute."].join(" ")}},_deprecated:{title:{valType:"string",role:"info",description:["Deprecated in favor of color bar's `title.text`.","Note that value of color bar's `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:n({description:"Deprecated in favor of color bar's `title.font`."}),titleside:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:"Deprecated in favor of color bar's `title.side`."}}},"colorbars","from-root")})),i.register("1bJQq",(function(e,t){"use strict";var r=i("10Nlb"),n=i("4f6io"),a=i("5wAu8").dash,o=i("1ZM4z").extendFlat,l=i("1IyjK").templatedArray,s=i("01iJJ").FORMAT_LINK,c=i("01iJJ").DATE_FORMAT_LINK,u=i("10TEj").ONEDAY,d=i("5Lafm"),f=d.HOUR_PATTERN,h=d.WEEKDAY_PATTERN;e.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",role:"info",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:r({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",role:"info",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",role:"info",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","Defaults to layout.autotypenumbers."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"info",editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"info",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},scaleanchor:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range*, or by decreasing the *domain*.","Default is *domain* for axes containing image traces, *range* otherwise."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},rangebreaks:l("rangebreak",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether this axis rangebreak is enabled or disabled.","Please note that `rangebreaks` only work for *date* axis type."].join(" ")},bounds:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc",description:["Sets the lower and upper bounds of this axis rangebreak.","Can be used with `pattern`."].join(" ")},pattern:{valType:"enumerated",values:[h,f,""],role:"info",editType:"calc",description:["Determines a pattern on the time line that generates breaks.","If *"+h+"* - days of the week in English e.g. 'Sunday' or `sun`","(matching is case-insensitive and considers only the first three characters),","as well as Sunday-based integers between 0 and 6.","If *"+f+"* - hour (24-hour clock) as decimal numbers between 0 and 24.","for more info.","Examples:","- { pattern: '"+h+"', bounds: [6, 1] }"," or simply { bounds: ['sat', 'mon'] }"," breaks from Saturday to Monday (i.e. skips the weekends).","- { pattern: '"+f+"', bounds: [17, 8] }"," breaks from 5pm to 8am (i.e. skips non-work hours)."].join(" ")},values:{valType:"info_array",freeLength:!0,role:"info",editType:"calc",items:{valType:"any",editType:"calc"},description:["Sets the coordinate values corresponding to the rangebreaks.","An alternative to `bounds`.","Use `dvalue` to set the size of the values along the axis."].join(" ")},dvalue:{valType:"number",role:"info",editType:"calc",min:0,dflt:u,description:["Sets the size of each `values` item.","The default is one day in milliseconds."].join(" ")},editType:"calc"}),tickmode:{valType:"enumerated",values:["auto","linear","array"],role:"info",editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tick0:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],role:"style",editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],role:"info",dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",role:"info",editType:"ticks",description:["Determines where tick labels are drawn with respect to their","corresponding ticks and grid lines.","Only has an effect for axes of `type` *date*","When set to *period*, tick labels are drawn in the middle of the period","between ticks."].join(" ")},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",role:"info",editType:"calc",description:["Determines where tick labels are drawn with respect to the axis","Please note that","top or bottom has no effect on x axes or when `ticklabelmode` is set to *period*.","Similarly","left or right has no effect on y axes or when `ticklabelmode` is set to *period*.","Has no effect on *multicategory* axes or when `tickson` is set to *boundaries*.","When used on axes linked by `matches` or `scaleanchor`,","no extra padding for inside labels would be added by autorange,","so that the scales could match."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,role:"style",editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,role:"style",editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,role:"style",editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,role:"style",editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:o({},a,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],role:"style",dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"data",role:"style",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:r({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,role:"style",editType:"ticks",description:["Hide SI prefix for 10^n if |n| is below this number.","This only has an effect when `tickformat` is *SI* or *B*."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",s,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:l("tickformatstop",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",role:"info",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",s,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:n.lightLine,role:"style",editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",role:"info",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",role:"info",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",role:"info",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",role:"info",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:r({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}})),i.register("1IyjK",(function(e,r){var n,a,o,l,s,c;t(e.exports,"arrayTemplater",(()=>n),(e=>n=e)),t(e.exports,"templatedArray",(()=>l),(e=>l=e)),t(e.exports,"traceTemplater",(()=>s),(e=>s=e)),t(e.exports,"arrayEditor",(()=>c),(e=>c=e)),t(e.exports,"newContainer",(()=>o),(e=>o=e)),t(e.exports,"arrayDefaultKey",(()=>a),(e=>a=e));var u=i("1nIvY"),d=i("5zAUi"),f={name:{valType:"string",role:"style",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function h(e){return e&&"string"==typeof e}function p(e){var t=e.length-1;return"s"!==e.charAt(t)&&u.warn("bad argument to arrayDefaultKey: "+e),e.substr(0,e.length-1)+"defaults"}f.templateitemname={valType:"string",role:"info",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},l=function(e,t){return t._isLinkedToArray=e,t.name=f.name,t.templateitemname=f.templateitemname,t},s=function(e){var t,r,n={};for(t in e)r=e[t],Array.isArray(r)&&r.length&&(n[t]=0);return{newTrace:function(a){var i={type:t=u.coerce(a,{},d,"type"),_template:null};if(t in n){r=e[t];var o=n[t]%r.length;n[t]++,i._template=r[o]}return i}}},o=function(e,t,r){var n=e._template,a=n&&(n[t]||r&&n[r]);return u.isPlainObject(a)||(a=null),e[t]={_template:a}},n=function(e,t,r){var n=e._template,a=n&&n[p(t)],i=n&&n[t];Array.isArray(i)&&i.length||(i=[]);var o={};return{newItem:function(e){var t={name:e.name,_input:e},n=t.templateitemname=e.templateitemname;if(!h(n))return t._template=a,t;for(var l=0;l=n&&(r._input||{})._templateitemname;i&&(a=n);var o,l=t+"["+a+"]";function s(){o={},i&&(o[l]={},o[l].templateitemname=i)}function c(e,t){i?u.nestedProperty(o[l],e).set(t):o[l+"."+e]=t}function d(){var e=o;return s(),e}return s(),{modifyBase:function(e,t){o[e]=t},modifyItem:c,getUpdateObj:d,applyUpdate:function(t,r){t&&c(t,r);var n=d();for(var a in n)u.nestedProperty(e,a).set(n[a])}}}})),i.register("5Lafm",(function(e,t){"use strict";var r=i("3ImU3").counter;e.exports={idRegex:{x:r("x","( domain)?"),y:r("y","( domain)?")},attrRegex:r("[xy]axis"),xAxisMatch:r("xaxis"),yAxisMatch:r("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}})),i.register("1bSCj",(function(e,t){"use strict";var r=i("1nIvY"),n=r.extendFlat,a=r.isPlainObject,o={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},l={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},s=o.flags.slice().concat(["fullReplot"]),c=l.flags.slice().concat("layoutReplot");function u(e){for(var t={},r=0;r=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}y.symbolNumber=function(e){if(n(e))e=+e;else if("string"==typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),(e=y.symbolNames.indexOf(e))>=0&&(e+=t)}return e%100>=b||e>=400?0:Math.floor(Math.max(e,0))};var w={x1:1,x2:0,y1:0,y2:0},k={x1:0,x2:0,y1:1,y2:0},T=r.format("~.1f"),M={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:w},horizontalreversed:{node:"linearGradient",attrs:w,reversed:!0},vertical:{node:"linearGradient",attrs:k},verticalreversed:{node:"linearGradient",attrs:k,reversed:!0}};y.gradient=function(e,t,n,i,o,s){for(var u=o.length,d=M[i],f=new Array(u),h=0;h"+m(e);p._gradientUrlQueryParts[y]=1},y.initGradients=function(e){var t=e._fullLayout;c.ensureSingle(t._defs,"g","gradients").selectAll("linearGradient,radialGradient").remove(),t._gradientUrlQueryParts={}},y.pointStyle=function(e,t,n){if(e.size()){var a=y.makePointStyleFns(t);e.each((function(e){y.singlePointStyle(e,r.select(this),t,a,n)}))}},y.singlePointStyle=function(e,t,r,n,a){var i=r.marker,o=i.line;if(t.style("opacity",n.selectedOpacityFn?n.selectedOpacityFn(e):void 0===e.mo?i.opacity:e.mo),n.ms2mrc){var s;s="various"===e.ms||"various"===i.size?3:n.ms2mrc(e.ms),e.mrc=s,n.selectedSizeFn&&(s=e.mrc=n.selectedSizeFn(e));var u=y.symbolNumber(e.mx||i.symbol)||0;e.om=u%200>=100,t.attr("d",_(u,s))}var d,f,h,p=!1;if(e.so)h=o.outlierwidth,f=o.outliercolor,d=i.outliercolor;else{var g=(o||{}).width;h=(e.mlw+1||g+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,f="mlc"in e?e.mlcc=n.lineScale(e.mlc):c.isArrayOrTypedArray(o.color)?l.defaultLine:o.color,c.isArrayOrTypedArray(i.color)&&(d=l.defaultLine,p=!0),d="mc"in e?e.mcc=n.markerScale(e.mc):i.color||"rgba(0,0,0,0)",n.selectedColorFn&&(d=n.selectedColorFn(e))}if(e.om)t.call(l.stroke,d).style({"stroke-width":(h||1)+"px",fill:"none"});else{t.style("stroke-width",(e.isBlank?0:h)+"px");var v=i.gradient,m=e.mgt;if(m?p=!0:m=v&&v.type,Array.isArray(m)&&(m=m[0],M[m]||(m=0)),m&&"none"!==m){var x=e.mgc;x?p=!0:x=v.color;var b=r.uid;p&&(b+="-"+e.i),y.gradient(t,a,b,m,[[0,x],[1,d]],"fill")}else l.fill(t,d);h&&l.stroke(t,f)}},y.makePointStyleFns=function(e){var t={},r=e.marker;return t.markerScale=y.tryColorscale(r,""),t.lineScale=y.tryColorscale(r,"line"),o.traceIs(e,"symbols")&&(t.ms2mrc=g.isBubble(e)?v(e):function(){return(r.size||6)/2}),e.selectedpoints&&c.extendFlat(t,y.makeSelectedPointStyleFns(e)),t},y.makeSelectedPointStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.marker||{},i=r.marker||{},l=n.marker||{},s=a.opacity,u=i.opacity,d=l.opacity,f=void 0!==u,h=void 0!==d;(c.isArrayOrTypedArray(s)||f||h)&&(t.selectedOpacityFn=function(e){var t=void 0===e.mo?a.opacity:e.mo;return e.selected?f?u:t:h?d:p*t});var g=a.color,v=i.color,m=l.color;(v||m)&&(t.selectedColorFn=function(e){var t=e.mcc||g;return e.selected?v||t:m||t});var y=a.size,x=i.size,b=l.size,_=void 0!==x,w=void 0!==b;return o.traceIs(e,"symbols")&&(_||w)&&(t.selectedSizeFn=function(e){var t=e.mrc||y/2;return e.selected?_?x/2:t:w?b/2:t}),t},y.makeSelectedTextStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.textfont||{},i=r.textfont||{},o=n.textfont||{},s=a.color,c=i.color,u=o.color;return t.selectedTextColorFn=function(e){var t=e.tc||s;return e.selected?c||t:u||(c?t:l.addOpacity(t,p))},t},y.selectedPointStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedPointStyleFns(t),a=t.marker||{},i=[];n.selectedOpacityFn&&i.push((function(e,t){e.style("opacity",n.selectedOpacityFn(t))})),n.selectedColorFn&&i.push((function(e,t){l.fill(e,n.selectedColorFn(t))})),n.selectedSizeFn&&i.push((function(e,t){var r=t.mx||a.symbol||0,i=n.selectedSizeFn(t);e.attr("d",_(y.symbolNumber(r),i)),t.mrc2=i})),i.length&&e.each((function(e){for(var t=r.select(this),n=0;n0?r:0}y.textPointStyle=function(e,t,n){if(e.size()){var a;if(t.selectedpoints){var i=y.makeSelectedTextStyleFns(t);a=i.selectedTextColorFn}var o=t.texttemplate,l=n._fullLayout;e.each((function(e){var i=r.select(this),s=o?c.extractOption(e,t,"txt","texttemplate"):c.extractOption(e,t,"tx","text");if(s||0===s){if(o){var u=t._module.formatLabels?t._module.formatLabels(e,t,l):{},f={};m(f,t,e.i);var h=t._meta||{};s=c.texttemplateString(s,u,l._d3locale,f,e,h)}var p=e.tp||t.textposition,g=L(e,t),v=a?a(e):e.tc||t.textfont.color;i.call(y.font,e.tf||t.textfont.family,g,v).text(s).call(d.convertToTspans,n).call(S,p,g,e.mrc)}else i.remove()}))}},y.selectedTextStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedTextStyleFns(t);e.each((function(e){var a=r.select(this),i=n.selectedTextColorFn(e),o=e.tp||t.textposition,s=L(e,t);l.fill(a,i),S(a,o,s,e.mrc2||e.mrc)}))}};function C(e,t,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=n[0]-t[0],s=n[1]-t[1],c=Math.pow(i*i+o*o,.25),u=Math.pow(l*l+s*s,.25),d=(u*u*i-c*c*l)*a,f=(u*u*o-c*c*s)*a,h=3*u*(c+u),p=3*c*(c+u);return[[r.round(t[0]+(h&&d/h),2),r.round(t[1]+(h&&f/h),2)],[r.round(t[0]-(p&&d/p),2),r.round(t[1]-(p&&f/p),2)]]}y.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var r,n="M"+e[0],a=[];for(r=1;r=1e4&&(y.savedBBoxes={},D=0),n&&(y.savedBBoxes[n]=v),D++,c.extendFlat({},v)},y.setClipUrl=function(e,t,r){e.attr("clip-path",P(t,r))},y.getTranslate=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||0,y:+t[1]||0}},y.setTranslate=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||0,r=r||0,i=i.replace(/(\btranslate\(.*?\);?)/,"").trim(),i=(i+=u(t,r)).trim(),e[a]("transform",i),i},y.getScale=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||1,y:+t[1]||1}},y.setScale=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||1,r=r||1,i=i.replace(/(\bscale\(.*?\);?)/,"").trim(),i=(i+="scale("+t+","+r+")").trim(),e[a]("transform",i),i};var j=/\s*sc.*/;y.setPointGroupScale=function(e,t,r){if(t=t||1,r=r||1,e){var n=1===t&&1===r?"":"scale("+t+","+r+")";e.each((function(){var e=(this.getAttribute("transform")||"").replace(j,"");e=(e+=n).trim(),this.setAttribute("transform",e)}))}};var E=/translate\([^)]*\)\s*$/;y.setTextPointsScale=function(e,t,n){e&&e.each((function(){var e,a=r.select(this),i=a.select("text");if(i.node()){var o=parseFloat(i.attr("x")||0),l=parseFloat(i.attr("y")||0),s=(a.attr("transform")||"").match(E);e=1===t&&1===n?[]:[u(o,l),"scale("+t+","+n+")",u(-o,-l)],s&&e.push(s),a.attr("transform",e.join(""))}}))}})),i.register("3N5m7",(function(e,t){"use strict";var r=i("3Twc4"),n=i("6qr5h"),a=e.exports={},o=i("4f6io");a.defaults=o.defaults;var l=a.defaultLine=o.defaultLine;a.lightLine=o.lightLine;var s=a.background=o.background;function c(e){if(n(e)||"string"!=typeof e)return e;var t=e.trim();if("rgb"!==t.substr(0,3))return e;var r=t.match(/^rgba?\s*\(([^()]*)\)$/);if(!r)return e;var a=r[1].trim().split(/\s*[\s,]\s*/),i="a"===t.charAt(3)&&4===a.length;if(!i&&3!==a.length)return e;for(var o=0;o=0))return e;if(3===o)a[o]>1&&(a[o]=1);else if(a[o]>=1)return e}var l=Math.round(255*a[0])+", "+Math.round(255*a[1])+", "+Math.round(255*a[2]);return i?"rgba("+l+", "+a[3]+")":"rgb("+l+")"}a.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},a.rgb=function(e){return a.tinyRGB(r(e))},a.opacity=function(e){return e?r(e).getAlpha():0},a.addOpacity=function(e,t){var n=r(e).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+t+")"},a.combine=function(e,t){var n=r(e).toRgb();if(1===n.a)return r(e).toRgbString();var a=r(t||s).toRgb(),i=1===a.a?a:{r:255*(1-a.a)+a.r*a.a,g:255*(1-a.a)+a.g*a.a,b:255*(1-a.a)+a.b*a.a},o={r:i.r*(1-n.a)+n.r*n.a,g:i.g*(1-n.a)+n.g*n.a,b:i.b*(1-n.a)+n.b*n.a};return r(o).toRgbString()},a.contrast=function(e,t,n){var i=r(e);return 1!==i.getAlpha()&&(i=r(a.combine(e,s))),(i.isDark()?t?i.lighten(t):s:n?i.darken(n):l).toString()},a.stroke=function(e,t){var n=r(t);e.style({stroke:a.tinyRGB(n),"stroke-opacity":n.getAlpha()})},a.fill=function(e,t){var n=r(t);e.style({fill:a.tinyRGB(n),"fill-opacity":n.getAlpha()})},a.clean=function(e){if(e&&"object"==typeof e){var t,r,n,i,o=Object.keys(e);for(t=0;t=0;n--,a++){var i=e[n];r[a]=[1-i[0],i[1]]}return r}function p(e,t){t=t||{};for(var i=e.domain,o=e.range,s=o.length,c=new Array(s),u=0;ua),(e=>a=e)),t(e.exports,"tick0",(()=>n),(e=>n=e));var o=i("6qr5h"),l=i("1nIvY"),s=i("10TEj"),c=s.ONEDAY,u=s.ONEWEEK;a=function(e,t){var r="log"===t,n="date"===t,a="category"===t,i=n?c:1;if(!e)return i;if(o(e))return(e=Number(e))<=0?i:a?Math.max(1,Math.round(e)):n?Math.max(.1,e):e;if("string"!=typeof e||!n&&!r)return i;var l=e.charAt(0),s=e.substr(1);return(s=o(s)?Number(s):0)<=0||!(n&&"M"===l&&s===Math.round(s)||r&&"L"===l||r&&"D"===l&&(1===s||2===s))?i:e},n=function(e,t,r,n){return"date"===t?l.cleanDate(e,l.dateTick0(r,n%u==0?1:0)):"D1"!==n&&"D2"!==n?o(e)?Number(e):0:void 0}})),i.register("1NvHy",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1bJQq");e.exports=function(e,t,a,i){var o=r.coerce2(e,t,n,"ticklen"),l=r.coerce2(e,t,n,"tickwidth"),s=r.coerce2(e,t,n,"tickcolor",t.color);a("ticks",i.outerTicks||o||l||s?"outside":"")||(delete t.ticklen,delete t.tickwidth,delete t.tickcolor)}})),i.register("1YSll",(function(e,t){"use strict";var r=i("1nIvY"),n=i("3N5m7").contrast,a=i("1bJQq"),o=i("6pAgU");function l(e){var t=["showexponent","showtickprefix","showticksuffix"].filter((function(t){return void 0!==e[t]}));if(t.every((function(r){return e[r]===e[t[0]]}))||1===t.length)return e[t[0]]}function s(e,t){function n(n,i){return r.coerce(e,t,a.tickformatstops,n,i)}n("enabled")&&(n("dtickrange"),n("value"))}e.exports=function(e,t,i,c,u,d){d&&1!==d.pass||function(e,t,r,n,a){var i=l(e);r("tickprefix")&&r("showtickprefix",i);r("ticksuffix",a.tickSuffixDflt)&&r("showticksuffix",i)}(e,0,i,0,u),d&&2!==d.pass||function(e,t,i,c,u){var d=l(e);i("tickprefix")&&i("showtickprefix",d);i("ticksuffix",u.tickSuffixDflt)&&i("showticksuffix",d);if(i("showticklabels")){var f=u.font||{},h=t.color,p=-1!==(t.ticklabelposition||"").indexOf("inside")?n(u.bgColor):h&&h!==a.color.dflt?h:f.color;if(r.coerceFont(i,"tickfont",{family:f.family,size:f.size,color:p}),i("tickangle"),"category"!==c){var g=i("tickformat");o(e,t,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:s}),t.tickformatstops.length||delete t.tickformatstops,g||"date"===c||(i("showexponent",d),i("exponentformat"),i("minexponent"),i("separatethousands"))}}}(e,t,i,c,u)}})),i.register("6pAgU",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1IyjK");e.exports=function(e,t,a){var i,o,l=a.name,s=a.inclusionAttr||"visible",c=t[l],u=r.isArrayOrTypedArray(e[l])?e[l]:[],d=t[l]=[],f=n.arrayTemplater(t,l,s);for(i=0;ig-h?h=g-(p-g):p-g=0?l.colorscale.sequential:l.colorscale.sequentialminus,d._sync("colorscale",o))}})),i.register("49Q6h",(function(e,r){var n,a,o,l,s,c;t(e.exports,"positionText",(()=>c),(e=>c=e)),t(e.exports,"makeEditable",(()=>o),(e=>o=e)),t(e.exports,"lineCount",(()=>n),(e=>n=e)),t(e.exports,"convertToTspans",(()=>s),(e=>s=e)),t(e.exports,"plainText",(()=>a),(e=>a=e)),t(e.exports,"BR_TAG_ALL",(()=>l),(e=>l=e));var u=i("4Wia9"),d=i("1nIvY"),f=d.strTranslate,h=i("ipXll"),p=i("5n2uh").LINE_SPACING;function g(e,t){return e.node().getBoundingClientRect()[t]}var v=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;s=function(e,t,r){var n=e.text(),a=!e.attr("data-notex")&&"undefined"!=typeof MathJax&&n.match(v),i=u.select(e.node().parentNode);if(!i.empty()){var o=e.attr("class")?e.attr("class").split(" ")[0]:"text";return o+="-math",i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove(),e.style("display",null).attr({"data-unformatted":n,"data-math":"N"}),a?(t&&t._promises||[]).push(new Promise((function(t){e.style("display","none");var s=parseInt(e.node().style.fontSize,10),c={fontSize:s};!function(e,t,r){var n,a,i,o;MathJax.Hub.Queue((function(){return a=d.extendDeepAll({},MathJax.Hub.config),i=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})}),(function(){if("SVG"!==(n=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")}),(function(){var r="math-output-"+d.randstr({},64);return o=u.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":t.fontSize+"px"}).text(e.replace(m,"\\lt ").replace(y,"\\gt ")),MathJax.Hub.Typeset(o.node())}),(function(){var t=u.select("body").select("#MathJax_SVG_glyphs");if(o.select(".MathJax_SVG").empty()||!o.select("svg").node())d.log("There was an error in the tex syntax.",e),r();else{var a=o.select("svg").node().getBoundingClientRect();r(o.select(".MathJax_SVG"),t,a)}if(o.remove(),"SVG"!==n)return MathJax.Hub.setRenderer(n)}),(function(){return void 0!==i&&(MathJax.Hub.processSectionDelay=i),MathJax.Hub.Config(a)}))}(a[2],c,(function(a,c,u){i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove();var d=a&&a.select("svg");if(!d||!d.node())return l(),void t();var h=i.append("g").classed(o+"-group",!0).attr({"pointer-events":"none","data-unformatted":n,"data-math":"Y"});h.node().appendChild(d.node()),c&&c.node()&&d.node().insertBefore(c.node().cloneNode(!0),d.node().firstChild),d.attr({class:o,height:u.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var p=e.node().style.fill||"black",v=d.select("g");v.attr({fill:p,stroke:p});var m=g(v,"width"),y=g(v,"height"),x=+e.attr("x")-m*{start:0,middle:.5,end:1}[e.attr("text-anchor")||"start"],b=-(s||g(e,"height"))/4;"y"===o[0]?(h.attr({transform:"rotate("+[-90,+e.attr("x"),+e.attr("y")]+")"+f(-m/2,b-y/2)}),d.attr({x:+e.attr("x"),y:+e.attr("y")})):"l"===o[0]?d.attr({x:e.attr("x"),y:b-y/2}):"a"===o[0]&&0!==o.indexOf("atitle")?d.attr({x:0,y:b}):d.attr({x:x,y:+e.attr("y")+b-y/2}),r&&r.call(e,h),t(h)}))}))):l(),e}function l(){i.empty()||(o=e.attr("class")+"-math",i.select("svg."+o).remove()),e.text("").style("white-space","pre"),function(e,t){t=t.replace(T," ");var r,n=!1,a=[],i=-1;function o(){i++;var t=document.createElementNS(h.svg,"tspan");u.select(t).attr({class:"line",dy:i*p+"em"}),e.appendChild(t),r=t;var n=a;if(a=[{node:t}],n.length>1)for(var o=1;o doesnt match end tag <"+e+">. Pretending it did match.",t),r=a[a.length-1].node}else d.log("Ignoring unexpected end tag .",t)}S.test(t)?o():(r=e,a=[{node:e}]);for(var f=t.split(M),g=0;g|>|>)/g;var x={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},b={sub:"0.3em",sup:"-0.6em"},_={sub:"-0.21em",sup:"0.42em"},w="โ€‹",k=["http:","https:","mailto:","",void 0,":"],T=/(\r\n?|\n)/g,M=/(<[^<>]*>)/,A=/<(\/?)([^ >]*)(\s+(.*))?>/i,S=//i;l=//gi;var L=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,C=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,I=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,O=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function D(e,t){if(!e)return null;var r=e.match(t),n=r&&(r[3]||r[4]);return n&&E(n)}var z=/(^|;)\s*color:/;a=function(e,t){for(var r=void 0!==(t=t||{}).len&&-1!==t.len?t.len:1/0,n=void 0!==t.allowedTags?t.allowedTags:["br"],a="...".length,i=e.split(M),o=[],l="",s=0,c=0;ca?o.push(u.substr(0,p-a)+"..."):o.push(u.substr(0,p));break}l=""}}return o.join("")};var P={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร—",plusmn:"ยฑ",deg:"ยฐ"},j=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function E(e){return e.replace(j,(function(e,t){return("#"===t.charAt(0)?function(e){if(e>1114111)return;var t=String.fromCodePoint;if(t)return t(e);var r=String.fromCharCode;return e<=65535?r(e):r(55232+(e>>10),e%1024+56320)}("x"===t.charAt(1)?parseInt(t.substr(2),16):parseInt(t.substr(1),10)):P[t])||e}))}function R(e,t,r){var n,a,i,o=r.horizontalAlign,l=r.verticalAlign||"top",s=e.node().getBoundingClientRect(),c=t.node().getBoundingClientRect();return a="bottom"===l?function(){return s.bottom-n.height}:"middle"===l?function(){return s.top+(s.height-n.height)/2}:function(){return s.top},i="right"===o?function(){return s.right-n.width}:"center"===o?function(){return s.left+(s.width-n.width)/2}:function(){return s.left},function(){n=this.node().getBoundingClientRect();var e=i()-c.left,t=a()-c.top,o=r.gd||{};if(r.gd){o._fullLayout._calcInverseTransform(o);var l=d.apply3DTransform(o._fullLayout._invTransform)(e,t);e=l[0],t=l[1]}return this.style({top:t+"px",left:e+"px","z-index":1e3}),this}}n=function(e){return e.selectAll("tspan.line").size()||1},c=function(e,t,r){return e.each((function(){var e=u.select(this);function n(t,r){return void 0===r?null===(r=e.attr(t))&&(e.attr(t,0),r=0):e.attr(t,r),r}var a=n("x",t),i=n("y",r);"text"===this.nodeName&&e.selectAll("tspan.line").attr({x:a,y:i})}))},o=function(e,t){var r=t.gd,n=t.delegate,a=u.dispatch("edit","input","cancel"),i=n||e;if(e.style({"pointer-events":n?"none":"all"}),1!==e.size())throw new Error("boo");function o(){!function(){var n=u.select(r).select(".svg-container"),i=n.append("div"),o=e.node().style,s=parseFloat(o.fontSize||12),c=t.text;void 0===c&&(c=e.attr("data-unformatted"));i.classed("plugin-editable editable",!0).style({position:"absolute","font-family":o.fontFamily||"Arial","font-size":s,color:t.fill||o.fill||"black",opacity:1,"background-color":t.background||"transparent",outline:"#ffffff33 1px solid",margin:[-s/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(c).call(R(e,n,t)).on("blur",(function(){r._editing=!1,e.text(this.textContent).style({opacity:1});var t,n=u.select(this).attr("class");(t=n?"."+n.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(t).style({opacity:0});var i=this.textContent;u.select(this).transition().duration(0).remove(),u.select(document).on("mouseup",null),a.edit.call(e,i)})).on("focus",(function(){var e=this;r._editing=!0,u.select(document).on("mouseup",(function(){if(u.event.target===e)return!1;document.activeElement===i.node()&&i.node().blur()}))})).on("keyup",(function(){27===u.event.which?(r._editing=!1,e.style({opacity:1}),u.select(this).style({opacity:0}).on("blur",(function(){return!1})).transition().remove(),a.cancel.call(e,this.textContent)):(a.input.call(e,this.textContent),u.select(this).call(R(e,n,t)))})).on("keydown",(function(){13===u.event.which&&this.blur()})).call(l)}(),e.style({opacity:0});var n,o=i.attr("class");(n=o?"."+o.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(n).style({opacity:0})}function l(e){var t=e.node(),r=document.createRange();r.selectNodeContents(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(r),t.focus()}return t.immediate?o():i.on("click",o),u.rebind(e,a,"on")}})),i.register("ipXll",(function(e,r){var n,a,i,o;t(e.exports,"xlink",(()=>o),(e=>o=e)),t(e.exports,"svg",(()=>i),(e=>i=e)),t(e.exports,"xmlns",(()=>a),(e=>a=e)),t(e.exports,"svgAttrs",(()=>n),(e=>n=e)),a="http://www.w3.org/2000/xmlns/",n={xmlns:i="http://www.w3.org/2000/svg","xmlns:xlink":o="http://www.w3.org/1999/xlink"}})),i.register("5n2uh",(function(e,t){"use strict";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}})),i.register("5EGfs",(function(e,t){"use strict";var r=i("1nIvY");e.exports={hasLines:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("lines")},hasMarkers:function(e){return e.visible&&(e.mode&&-1!==e.mode.indexOf("markers")||"splom"===e.type)},hasText:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("text")},isBubble:function(e){return r.isPlainObject(e.marker)&&r.isArrayOrTypedArray(e.marker.size)}}})),i.register("2hpTa",(function(e,t){"use strict";var r=i("6qr5h");e.exports=function(e){var t=e.marker,n=t.sizeref||1,a=t.sizemin||0,i="area"===t.sizemode?function(e){return Math.sqrt(e/n)}:function(e){return e/n};return function(e){var t=i(e/2);return r(t)&&t>0?Math.max(t,a):0}}})),i.register("2MtC7",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v;t(e.exports,"isXYhover",(()=>d),(e=>d=e)),t(e.exports,"quadrature",(()=>o),(e=>o=e)),t(e.exports,"appendArrayPointValue",(()=>h),(e=>h=e)),t(e.exports,"inbox",(()=>g),(e=>g=e)),t(e.exports,"isUnifiedHover",(()=>u),(e=>u=e)),t(e.exports,"p2c",(()=>n),(e=>n=e)),t(e.exports,"getDistanceFunction",(()=>f),(e=>f=e)),t(e.exports,"flat",(()=>a),(e=>a=e)),t(e.exports,"makeEventData",(()=>l),(e=>l=e)),t(e.exports,"isTraceInSubplots",(()=>p),(e=>p=e)),t(e.exports,"getClosest",(()=>s),(e=>s=e)),t(e.exports,"getSubplot",(()=>v),(e=>v=e)),t(e.exports,"appendArrayMultiPointValues",(()=>c),(e=>c=e));var m=i("1nIvY");v=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo},p=function(e,t){if("splom"===e.type){for(var r=e.xaxes||[],n=e.yaxes||[],a=0;a=0&&r.index=t.width-20?(i["text-anchor"]="start",i.x=5):(i["text-anchor"]="end",i.x=t._paper.attr("width")-7),n.attr(i);var o=n.select(".js-link-to-tool"),l=n.select(".js-link-spacer"),s=n.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&function(e,t){t.text("");var r=t.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(e._context.linkText+" "+String.fromCharCode(187));if(e._context.sendData)r.on("click",(function(){x.sendDataToCloud(e)}));else{var n=window.location.pathname.split("/"),a=window.location.search;r.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+n[2].split(".")[0]+"/"+n[1]+a})}}(e,o),l.text(o.text()&&s.text()?" - ":"")}},x.sendDataToCloud=function(e){var t=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(t){e.emit("plotly_beforeexport");var n=r.select(e).append("div").attr("id","hiddenform").style("display","none"),a=n.append("form").attr({action:t+"/external",method:"post",target:"_blank"});return a.append("input").attr({type:"text",name:"data"}).node().value=x.graphJson(e,!1,"keepdata"),a.node().submit(),n.remove(),e.emit("plotly_afterexport"),!1}};var w=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],k=["year","month","dayMonth","dayMonthYear"];function T(e,t){var r=e._context.locale;r||(r="en-US");var n=!1,a={};function i(e){for(var r=!0,i=0;i1&&P.length>1){for(o.getComponentMethod("grid","sizeDefaults")(u,s),l=0;l15&&P.length>15&&0===s.shapes.length&&0===s.images.length,s._hasCartesian=s._has("cartesian"),s._hasGeo=s._has("geo"),s._hasGL3D=s._has("gl3d"),s._hasGL2D=s._has("gl2d"),s._hasTernary=s._has("ternary"),s._hasPie=s._has("pie"),x.linkSubplots(f,s,d,i),x.cleanPlot(f,s,d,i);var F=!(!i._has||!i._has("gl2d")),H=!(!s._has||!s._has("gl2d")),B=!(!i._has||!i._has("cartesian"))||F,U=!(!s._has||!s._has("cartesian"))||H;B&&!U?i._bgLayer.remove():U&&!B&&(s._shouldCreateBgLayer=!0),i._zoomlayer&&!e._dragging&&h({_fullLayout:i}),function(e,t){var r,n=[];t.meta&&(r=t._meta={meta:t.meta,layout:{meta:t.meta}});for(var a=0;a0){var d=1-2*l;n=Math.round(d*n),i=Math.round(d*i)}}var f=x.layoutAttributes.width.min,h=x.layoutAttributes.height.min;n1,g=!t.height&&Math.abs(r.height-i)>1;(g||p)&&(p&&(r.width=n),g&&(r.height=i)),e._initialAutoSize||(e._initialAutoSize={width:n,height:i}),x.sanitizeMargins(r)},x.supplyLayoutModuleDefaults=function(e,t,r,n){var a,i,l,s=o.componentsRegistry,u=t._basePlotModules,d=o.subplotsRegistry.cartesian;for(a in s)(l=s[a]).includeBasePlot&&l.includeBasePlot(e,t);for(var f in u.length||u.push(d),t._has("cartesian")&&(o.getComponentMethod("grid","contentDefaults")(e,t),d.finalizeSubplots(e,t)),t._subplots)t._subplots[f].sort(c.subplotSort);for(i=0;i1&&(r.l/=g,r.r/=g)}if(d){var v=(r.t+r.b)/d;v>1&&(r.t/=v,r.b/=v)}var m=void 0!==r.xl?r.xl:r.x,y=void 0!==r.xr?r.xr:r.x,b=void 0!==r.yt?r.yt:r.y,_=void 0!==r.yb?r.yb:r.y;f[t]={l:{val:m,size:r.l+p},r:{val:y,size:r.r+p},b:{val:_,size:r.b+p},t:{val:b,size:r.t+p}},h[t]=1}else delete f[t],delete h[t];if(!n._replotting)return x.doAutoMargin(e)}},x.doAutoMargin=function(e){var t=e._fullLayout,r=t.width,n=t.height;t._size||(t._size={}),C(t);var i=t._size,l=t.margin,s=c.extendFlat({},i),u=l.l,d=l.r,h=l.t,p=l.b,g=t._pushmargin,v=t._pushmarginIds;if(!1!==t.margin.autoexpand){for(var m in g)v[m]||delete g[m];for(var y in g.base={l:{val:0,size:u},r:{val:1,size:d},t:{val:1,size:h},b:{val:0,size:p}},g){var b=g[y].l||{},_=g[y].b||{},w=b.val,k=b.size,T=_.val,M=_.size;for(var A in g){if(a(k)&&g[A].r){var S=g[A].r.val,L=g[A].r.size;if(S>w){var I=(k*S+(L-r)*w)/(S-w),O=(L*(1-w)+(k-r)*(1-S))/(S-w);I+O>u+d&&(u=I,d=O)}}if(a(M)&&g[A].t){var D=g[A].t.val,z=g[A].t.size;if(D>T){var P=(M*D+(z-n)*T)/(D-T),j=(z*(1-T)+(M-n)*(1-D))/(D-T);P+j>p+h&&(p=P,h=j)}}}}}var E=c.constrain(r-l.l-l.r,2,64),R=c.constrain(n-l.t-l.b,2,64),N=Math.max(0,r-E),F=Math.max(0,n-R);if(N){var H=(u+d)/N;H>1&&(u/=H,d/=H)}if(F){var B=(p+h)/F;B>1&&(p/=B,h/=B)}if(i.l=Math.round(u),i.r=Math.round(d),i.t=Math.round(h),i.b=Math.round(p),i.p=Math.round(l.pad),i.w=Math.round(r)-i.l-i.r,i.h=Math.round(n)-i.t-i.b,!t._replotting&&x.didMarginChange(s,i)){"_redrawFromAutoMarginCount"in t?t._redrawFromAutoMarginCount++:t._redrawFromAutoMarginCount=1;var U=3*(1+Object.keys(v).length);if(t._redrawFromAutoMarginCount0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push((function(){n=!0})),r.redraw&&e._transitionData._interruptCallbacks.push((function(){return o.call("redraw",e)})),e._transitionData._interruptCallbacks.push((function(){e.emit("plotly_transitioninterrupted",[])}));var i=0,l=0;function s(){return i++,function(){l++,n||l!==i||function(t){if(!e._transitionData)return;(function(e){if(e)for(;e.length;)e.shift()})(e._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(r.redraw)return o.call("redraw",e)})).then((function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])})).then(t)}(a)}}r.runFn(s),setTimeout(s())}))}],i=c.syncOrAsync(a,e);return i&&i.then||(i=Promise.resolve()),i.then((function(){return e}))}x.didMarginChange=function(e,t){for(var r=0;r1)return!0}return!1},x.graphJson=function(e,t,r,n,a,i){(a&&t&&!e._fullData||a&&!t&&!e._fullLayout)&&x.supplyDefaults(e);var o=a?e._fullData:e.data,l=a?e._fullLayout:e.layout,s=(e._transitionData||{})._frames;function u(e,t){if("function"==typeof e)return t?"_function_":null;if(c.isPlainObject(e)){var n,a={};return Object.keys(e).sort().forEach((function(i){if(-1===["_","["].indexOf(i.charAt(0)))if("function"!=typeof e[i]){if("keepdata"===r){if("src"===i.substr(i.length-3))return}else if("keepstream"===r){if("string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0&&!c.isPlainObject(e.stream))return}else if("keepall"!==r&&"string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0)return;a[i]=u(e[i],t)}else t&&(a[i]="_function")})),a}return Array.isArray(e)?e.map((function(e){return u(e,t)})):c.isTypedArray(e)?c.simpleMap(e,c.identity):c.isJSDate(e)?c.ms2DateTimeLocal(+e):e}var d={data:(o||[]).map((function(e){var r=u(e);return t&&delete r.fit,r}))};if(!t&&(d.layout=u(l),a)){var f=l._size;d.layout.computed={margin:{b:f.b,l:f.l,r:f.r,t:f.t}}}return e.framework&&e.framework.isPolar&&(d=e.framework.getConfig()),s&&(d.frames=u(s)),i&&(d.config=u(e._context,!0)),"object"===n?d:JSON.stringify(d)},x.modifyFrames=function(e,t){var r,n,a,i=e._transitionData._frames,o=e._transitionData._frameHash;for(r=0;r=0;i--)if(l[i].enabled){r._indexToPoints=l[i]._indexToPoints;break}n&&n.calc&&(o=n.calc(e,r))}Array.isArray(o)&&o[0]||(o=[{x:d,y:d}]),o[0].t||(o[0].t={}),o[0].trace=r,p[t]=o}}for(z(s,u,h),a=0;ac),(e=>c=e)),t(e.exports,"getFromTrace",(()=>h),(e=>h=e)),t(e.exports,"name2id",(()=>u),(e=>u=e)),t(e.exports,"listIds",(()=>l),(e=>l=e)),t(e.exports,"isLinked",(()=>o),(e=>o=e)),t(e.exports,"idSort",(()=>a),(e=>a=e)),t(e.exports,"cleanId",(()=>d),(e=>d=e)),t(e.exports,"id2name",(()=>s),(e=>s=e)),t(e.exports,"ref2id",(()=>n),(e=>n=e)),t(e.exports,"getFromId",(()=>f),(e=>f=e));var p=i("4Hxcc"),g=i("5Lafm");function v(e,t){if(t&&t.length)for(var r=0;rn?1:-1:+(e.substr(1)||1)-+(t.substr(1)||1)},n=function(e){return!!/^[xyz]/.test(e)&&e.split(" ")[0]},o=function(e,t){return v(t,e._axisMatchGroups)||v(t,e._axisConstraintGroups)}})),i.register("6VTTP",(function(e,t){"use strict";e.exports={clearOutlineControllers:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".outline-controllers").remove()},clearSelect:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".select-outline").remove(),e._fullLayout._drawing=!1}}})),i.register("CkVc5",(function(e,r){var n;t(e.exports,"getModuleCalcData",(()=>n),(e=>n=e));var a=i("4Hxcc"),o=i("5Lafm").SUBPLOT_PATTERN;n=function(e,t){var r,n=[],i=[];if(!(r="string"==typeof t?a.getModule(t).plot:"function"==typeof t?t:t.plot))return[n,e];for(var o=0;oa),(e=>a=e)),t(e.exports,"executeAPICommand",(()=>l),(e=>l=e)),t(e.exports,"hasSimpleAPICommandBindings",(()=>n),(e=>n=e)),t(e.exports,"manageCommandObserver",(()=>o),(e=>o=e));var s=i("4Hxcc"),c=i("1nIvY");function u(e,t,r){var n,a,i,o=!1;if("data"===t.type)n=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;n=e._fullLayout}return a=c.nestedProperty(n,t.prop).get(),(i=r[t.type]=r[t.type]||{}).hasOwnProperty(t.prop)&&i[t.prop]!==a&&(o=!0),i[t.prop]=a,{changed:o,value:a}}function d(e,t){var r=[],n=t[0],a={};if("string"==typeof n)a[n]=t[1];else{if(!c.isPlainObject(n))return r;a=n}return h(a,(function(e,t,n){r.push({type:"layout",prop:e,value:n})}),"",0),r}function f(e,t){var r,n,a,i,o=[];if(n=t[0],a=t[1],r=t[2],i={},"string"==typeof n)i[n]=a;else{if(!c.isPlainObject(n))return o;i=n,void 0===r&&(r=a)}return void 0===r&&(r=null),h(i,(function(t,n,a){var i,l;if(Array.isArray(a)){l=a.slice();var s=Math.min(l.length,e.data.length);r&&(s=Math.min(s,r.length)),i=[];for(var c=0;c0?".":"")+a;c.isPlainObject(i)?h(i,t,o,n+1):t(o,a,i)}}))}o=function(e,t,r,a){var i={},o=!0;t&&t._commandObserver&&(i=t._commandObserver),i.cache||(i.cache={}),i.lookupTable={};var l=n(e,r,i.lookupTable);if(t&&t._commandObserver){if(l)return i;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,i}if(l){u(e,l,i.cache),i.check=function(){if(o){var t=u(e,l,i.cache);return t.changed&&a&&void 0!==i.lookupTable[t.value]&&(i.disable(),Promise.resolve(a({value:t.value,type:l.type,prop:l.prop,traces:l.traces,index:i.lookupTable[t.value]})).then(i.enable,i.enable)),t.changed}};for(var s=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d=0?f.angularAxis.domain:r.extent(k),L=Math.abs(k[1]-k[0]);M&&!T&&(L=0);var C=S.slice();A&&T&&(C[1]+=L);var I=f.angularAxis.ticksCount||4;I>8&&(I=I/(I/8)+I%8),f.angularAxis.ticksStep&&(I=(C[1]-C[0])/I);var O=f.angularAxis.ticksStep||(C[1]-C[0])/(I*(f.minorTicks+1));w&&(O=Math.max(Math.round(O),1)),C[2]||(C[2]=O);var D=r.range.apply(this,C);if(D=D.map((function(e,t){return parseFloat(e.toPrecision(12))})),l=r.scale.linear().domain(C.slice(0,2)).range("clockwise"===f.direction?[0,360]:[360,0]),u.layout.angularAxis.domain=l.domain(),u.layout.angularAxis.endPadding=A?L:0,void 0===(e=r.select(this).select("svg.chart-root"))||e.empty()){var z=(new DOMParser).parseFromString("' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '","application/xml"),P=this.appendChild(this.ownerDocument.importNode(z.documentElement,!0));e=r.select(P)}e.select(".guides-group").style({"pointer-events":"none"}),e.select(".angular.axis-group").style({"pointer-events":"none"}),e.select(".radial.axis-group").style({"pointer-events":"none"});var j,E=e.select(".chart-group"),R={fill:"none",stroke:f.tickColor},N={"font-size":f.font.size,"font-family":f.font.family,fill:f.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map((function(e,t){return" "+e+" 0 "+f.font.outlineColor})).join(",")};if(f.showLegend){j=e.select(".legend-group").attr({transform:"translate("+[x,f.margin.top]+")"}).style({display:"block"});var F=h.map((function(e,t){var r=o.util.cloneJson(e);return r.symbol="DotPlot"===e.geometry?e.dotType||"circle":"LinePlot"!=e.geometry?"square":"line",r.visibleInLegend=void 0===e.visibleInLegend||e.visibleInLegend,r.color="LinePlot"===e.geometry?e.strokeColor:e.color,r}));o.Legend().config({data:h.map((function(e,t){return e.name||"Element"+t})),legendConfig:n({},o.Legend.defaultConfig().legendConfig,{container:j,elements:F,reverseOrder:f.legend.reverseOrder})})();var H=j.node().getBBox();x=Math.min(f.width-H.width-f.margin.left-f.margin.right,f.height-f.margin.top-f.margin.bottom)/2,x=Math.max(10,x),_=[f.margin.left+x,f.margin.top+x],i.range([0,x]),u.layout.radialAxis.domain=i.domain(),j.attr("transform","translate("+[_[0]+x,_[1]-x]+")")}else j=e.select(".legend-group").style({display:"none"});e.attr({width:f.width,height:f.height}).style({opacity:f.opacity}),E.attr("transform","translate("+_+")").style({cursor:"crosshair"});var B=[(f.width-(f.margin.left+f.margin.right+2*x+(H?H.width:0)))/2,(f.height-(f.margin.top+f.margin.bottom+2*x))/2];if(B[0]=Math.max(0,B[0]),B[1]=Math.max(0,B[1]),e.select(".outer-group").attr("transform","translate("+B+")"),f.title&&f.title.text){var U=e.select("g.title-group text").style(N).text(f.title.text),q=U.node().getBBox();U.attr({x:_[0]-q.width/2,y:_[1]-x-20})}var V=e.select(".radial.axis-group");if(f.radialAxis.gridLinesVisible){var Y=V.selectAll("circle.grid-circle").data(i.ticks(5));Y.enter().append("circle").attr({class:"grid-circle"}).style(R),Y.attr("r",i),Y.exit().remove()}V.select("circle.outside-circle").attr({r:x}).style(R);var G=e.select("circle.background-circle").attr({r:x}).style({fill:f.backgroundColor,stroke:f.stroke});function Z(e,t){return l(e)%360+f.orientation}if(f.radialAxis.visible){var W=r.svg.axis().scale(i).ticks(5).tickSize(5);V.call(W).attr({transform:"rotate("+f.radialAxis.orientation+")"}),V.selectAll(".domain").style(R),V.selectAll("g>text").text((function(e,t){return this.textContent+f.radialAxis.ticksSuffix})).style(N).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(e,t){return"horizontal"===f.radialAxis.tickOrientation?"rotate("+-f.radialAxis.orientation+") translate("+[0,N["font-size"]]+")":"translate("+[0,N["font-size"]]+")"}}),V.selectAll("g>line").style({stroke:"black"})}var X=e.select(".angular.axis-group").selectAll("g.angular-tick").data(D),Q=X.enter().append("g").classed("angular-tick",!0);X.attr({transform:function(e,t){return"rotate("+Z(e)+")"}}).style({display:f.angularAxis.visible?"block":"none"}),X.exit().remove(),Q.append("line").classed("grid-line",!0).classed("major",(function(e,t){return t%(f.minorTicks+1)==0})).classed("minor",(function(e,t){return!(t%(f.minorTicks+1)==0)})).style(R),Q.selectAll(".minor").style({stroke:f.minorTickColor}),X.select("line.grid-line").attr({x1:f.tickLength?x-f.tickLength:0,x2:x}).style({display:f.angularAxis.gridLinesVisible?"block":"none"}),Q.append("text").classed("axis-text",!0).style(N);var J=X.select("text.axis-text").attr({x:x+f.labelOffset,dy:a+"em",transform:function(e,t){var r=Z(e),n=x+f.labelOffset,a=f.angularAxis.tickOrientation;return"horizontal"==a?"rotate("+-r+" "+n+" 0)":"radial"==a?r<270&&r>90?"rotate(180 "+n+" 0)":null:"rotate("+(r<=180&&r>0?-90:90)+" "+n+" 0)"}}).style({"text-anchor":"middle",display:f.angularAxis.labelsVisible?"block":"none"}).text((function(e,t){return t%(f.minorTicks+1)!=0?"":w?w[e]+f.angularAxis.ticksSuffix:e+f.angularAxis.ticksSuffix})).style(N);f.angularAxis.rewriteTicks&&J.text((function(e,t){return t%(f.minorTicks+1)!=0?"":f.angularAxis.rewriteTicks(this.textContent,t)}));var K=r.max(E.selectAll(".angular-tick text")[0].map((function(e,t){return e.getCTM().e+e.getBBox().width})));j.attr({transform:"translate("+[x+K,f.margin.top]+")"});var $=e.select("g.geometry-group").selectAll("g").size()>0,ee=e.select("g.geometry-group").selectAll("g.geometry").data(h);if(ee.enter().append("g").attr({class:function(e,t){return"geometry geometry"+t}}),ee.exit().remove(),h[0]||$){var te=[];h.forEach((function(e,t){var r={};r.radialScale=i,r.angularScale=l,r.container=ee.filter((function(e,r){return r==t})),r.geometry=e.geometry,r.orientation=f.orientation,r.direction=f.direction,r.index=t,te.push({data:e,geometryConfig:r})}));var re=r.nest().key((function(e,t){return void 0!==e.data.groupId||"unstacked"})).entries(te),ne=[];re.forEach((function(e,t){"unstacked"===e.key?ne=ne.concat(e.values.map((function(e,t){return[e]}))):ne.push(e.values)})),ne.forEach((function(e,t){var r;r=Array.isArray(e)?e[0].geometryConfig.geometry:e.geometryConfig.geometry;var a=e.map((function(e,t){return n(o[r].defaultConfig(),e)}));o[r]().config(a)()}))}var ae,ie,oe=e.select(".guides-group"),le=e.select(".tooltips-group"),se=o.tooltipPanel().config({container:le,fontSize:8})(),ce=o.tooltipPanel().config({container:le,fontSize:8})(),ue=o.tooltipPanel().config({container:le,hasTick:!0})();if(!T){var de=oe.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});E.on("mousemove.angular-guide",(function(e,t){var r=o.util.getMousePos(G).angle;de.attr({x2:-x,transform:"rotate("+r+")"}).style({opacity:.5});var n=(r+180+360-f.orientation)%360;ae=l.invert(n);var a=o.util.convertToCartesian(x+12,r+180);se.text(o.util.round(ae)).move([a[0]+_[0],a[1]+_[1]])})).on("mouseout.angular-guide",(function(e,t){oe.select("line").style({opacity:0})}))}var fe=oe.select("circle").style({stroke:"grey",fill:"none"});E.on("mousemove.radial-guide",(function(e,t){var r=o.util.getMousePos(G).radius;fe.attr({r:r}).style({opacity:.5}),ie=i.invert(o.util.getMousePos(G).radius);var n=o.util.convertToCartesian(r,f.radialAxis.orientation);ce.text(o.util.round(ie)).move([n[0]+_[0],n[1]+_[1]])})).on("mouseout.radial-guide",(function(e,t){fe.style({opacity:0}),ue.hide(),se.hide(),ce.hide()})),e.selectAll(".geometry-group .mark").on("mouseover.tooltip",(function(t,n){var a=r.select(this),i=this.style.fill,l="black",s=this.style.opacity||1;if(a.attr({"data-opacity":s}),i&&"none"!==i){a.attr({"data-fill":i}),l=r.hsl(i).darker().toString(),a.style({fill:l,opacity:1});var c={t:o.util.round(t[0]),r:o.util.round(t[1])};T&&(c.t=w[t[0]]);var u="t: "+c.t+", r: "+c.r,d=this.getBoundingClientRect(),f=e.node().getBoundingClientRect(),h=[d.left+d.width/2-B[0]-f.left,d.top+d.height/2-B[1]-f.top];ue.config({color:l}).text(u),ue.move(h)}else i=this.style.stroke||"black",a.attr({"data-stroke":i}),l=r.hsl(i).darker().toString(),a.style({stroke:l,opacity:1})})).on("mousemove.tooltip",(function(e,t){if(0!=r.event.which)return!1;r.select(this).attr("data-fill")&&ue.show()})).on("mouseout.tooltip",(function(e,t){ue.hide();var n=r.select(this),a=n.attr("data-fill");a?n.style({fill:a,opacity:n.attr("data-opacity")}):n.style({stroke:n.attr("data-stroke"),opacity:n.attr("data-opacity")})}))}))}(c),this},f.config=function(e){if(!arguments.length)return s;var t=o.util.cloneJson(e);return t.data.forEach((function(e,t){s.data[t]||(s.data[t]={}),n(s.data[t],o.Axis.defaultConfig().data[0]),n(s.data[t],e)})),n(s.layout,o.Axis.defaultConfig().layout),n(s.layout,t.layout),this},f.getLiveConfig=function(){return u},f.getinputConfig=function(){return c},f.radialScale=function(e){return i},f.angularScale=function(e){return l},f.svg=function(){return e},r.rebind(f,d,"on"),f},o.Axis.defaultConfig=function(e,t){return{data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:r.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}}},o.util={},o.DATAEXTENT="dataExtent",o.AREA="AreaChart",o.LINE="LinePlot",o.DOT="DotPlot",o.BAR="BarChart",o.util._override=function(e,t){for(var r in e)r in t&&(t[r]=e[r])},o.util._extend=function(e,t){for(var r in e)t[r]=e[r]},o.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},o.util.dataFromEquation2=function(e,t){var n=t||6;return r.range(0,360+n,n).map((function(t,r){var n=t*Math.PI/180;return[t,e(n)]}))},o.util.dataFromEquation=function(e,t,n){var a=t||6,i=[],o=[];r.range(0,360+a,a).forEach((function(t,r){var n=t*Math.PI/180,a=e(n);i.push(t),o.push(a)}));var l={t:i,r:o};return n&&(l.name=n),l},o.util.ensureArray=function(e,t){if(void 0===e)return null;var n=[].concat(e);return r.range(t).map((function(e,t){return n[t]||n[0]}))},o.util.fillArrays=function(e,t,r){return t.forEach((function(t,n){e[t]=o.util.ensureArray(e[t],r)})),e},o.util.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},o.util.validateKeys=function(e,t){"string"==typeof t&&(t=t.split("."));var r=t.shift();return e[r]&&(!t.length||objHasKeys(e[r],t))},o.util.sumArrays=function(e,t){return r.zip(e,t).map((function(e,t){return r.sum(e)}))},o.util.arrayLast=function(e){return e[e.length-1]},o.util.arrayEqual=function(e,t){for(var r=Math.max(e.length,t.length,1);r-- >=0&&e[r]===t[r];);return-2===r},o.util.flattenArray=function(e){for(var t=[];!o.util.arrayEqual(t,e);)t=e,e=[].concat.apply([],e);return e},o.util.deduplicate=function(e){return e.filter((function(e,t,r){return r.indexOf(e)==t}))},o.util.convertToCartesian=function(e,t){var r=t*Math.PI/180;return[e*Math.cos(r),e*Math.sin(r)]},o.util.round=function(e,t){var r=t||2,n=Math.pow(10,r);return Math.round(e*n)/n},o.util.getMousePos=function(e){var t=r.mouse(e.node()),n=t[0],a=t[1],i={};return i.x=n,i.y=a,i.pos=t,i.angle=180*(Math.atan2(a,n)+Math.PI)/Math.PI,i.radius=Math.sqrt(n*n+a*a),i},o.util.duplicatesCount=function(e){for(var t,r={},n={},a=0,i=e.length;a0)){var s=r.select(this.parentNode).selectAll("path.line").data([0]);s.enter().insert("path"),s.attr({class:"line",d:u(l),transform:function(e,r){return"rotate("+(t.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(e,t){return p.fill(n,a,i)},"fill-opacity":0,stroke:function(e,t){return p.stroke(n,a,i)},"stroke-width":function(e,t){return p["stroke-width"](n,a,i)},"stroke-dasharray":function(e,t){return p["stroke-dasharray"](n,a,i)},opacity:function(e,t){return p.opacity(n,a,i)},display:function(e,t){return p.display(n,a,i)}})}};var d=t.angularScale.range(),f=Math.abs(d[1]-d[0])/o[0].length*Math.PI/180,h=r.svg.arc().startAngle((function(e){return-f/2})).endAngle((function(e){return f/2})).innerRadius((function(e){return t.radialScale(s+(e[2]||0))})).outerRadius((function(e){return t.radialScale(s+(e[2]||0))+t.radialScale(e[1])}));c.arc=function(e,n,a){r.select(this).attr({class:"mark arc",d:h,transform:function(e,r){return"rotate("+(t.orientation+l(e[0])+90)+")"}})};var p={fill:function(t,r,n){return e[n].data.color},stroke:function(t,r,n){return e[n].data.strokeColor},"stroke-width":function(t,r,n){return e[n].data.strokeSize+"px"},"stroke-dasharray":function(t,r,n){return a[e[n].data.strokeDash]},opacity:function(t,r,n){return e[n].data.opacity},display:function(t,r,n){return void 0===e[n].data.visible||e[n].data.visible?"block":"none"}},g=r.select(this).selectAll("g.layer").data(o);g.enter().append("g").attr({class:"layer"});var v=g.selectAll("path.mark").data((function(e,t){return e}));v.enter().append("path").attr({class:"mark"}),v.style(p).each(c[t.geometryType]),v.exit().remove(),g.exit().remove()}))}return i.config=function(t){return arguments.length?(t.forEach((function(t,r){e[r]||(e[r]={}),n(e[r],o.PolyChart.defaultConfig()),n(e[r],t)})),this):e},i.getColorScale=function(){},r.rebind(i,t,"on"),i},o.PolyChart.defaultConfig=function(){return{data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:r.scale.category20()}}},o.BarChart=function(){return o.PolyChart()},o.BarChart.defaultConfig=function(){return{geometryConfig:{geometryType:"bar"}}},o.AreaChart=function(){return o.PolyChart()},o.AreaChart.defaultConfig=function(){return{geometryConfig:{geometryType:"arc"}}},o.DotPlot=function(){return o.PolyChart()},o.DotPlot.defaultConfig=function(){return{geometryConfig:{geometryType:"dot",dotType:"circle"}}},o.LinePlot=function(){return o.PolyChart()},o.LinePlot.defaultConfig=function(){return{geometryConfig:{geometryType:"line"}}},o.Legend=function(){var e=o.Legend.defaultConfig(),t=r.dispatch("hover");function a(){var t=e.legendConfig,i=e.data.map((function(e,r){return[].concat(e).map((function(e,a){var i=n({},t.elements[r]);return i.name=e,i.color=[].concat(t.elements[r].color)[a],i}))})),o=r.merge(i);o=o.filter((function(e,r){return t.elements[r]&&(t.elements[r].visibleInLegend||void 0===t.elements[r].visibleInLegend)})),t.reverseOrder&&(o=o.reverse());var l=t.container;("string"==typeof l||l.nodeName)&&(l=r.select(l));var s=o.map((function(e,t){return e.color})),c=t.fontSize,u=null==t.isContinuous?"number"==typeof o[0]:t.isContinuous,d=u?t.height:c*o.length,f=l.classed("legend-group",!0).selectAll("svg").data([0]),h=f.enter().append("svg").attr({width:300,height:d+c,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});h.append("g").classed("legend-axis",!0),h.append("g").classed("legend-marks",!0);var p=r.range(o.length),g=r.scale[u?"linear":"ordinal"]().domain(p).range(s),v=r.scale[u?"linear":"ordinal"]().domain(p)[u?"range":"rangePoints"]([0,d]);if(u){var m=f.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(s);m.enter().append("stop"),m.attr({offset:function(e,t){return t/(s.length-1)*100+"%"}}).style({"stop-color":function(e,t){return e}}),f.append("rect").classed("legend-mark",!0).attr({height:t.height,width:t.colorBandWidth,fill:"url(#grad1)"})}else{var y=f.select(".legend-marks").selectAll("path.legend-mark").data(o);y.enter().append("path").classed("legend-mark",!0),y.attr({transform:function(e,t){return"translate("+[c/2,v(t)+c/2]+")"},d:function(e,t){var n,a,i,o=e.symbol;return i=3*(a=c),"line"===(n=o)?"M"+[[-a/2,-a/12],[a/2,-a/12],[a/2,a/12],[-a/2,a/12]]+"Z":-1!=r.svg.symbolTypes.indexOf(n)?r.svg.symbol().type(n).size(i)():r.svg.symbol().type("square").size(i)()},fill:function(e,t){return g(t)}}),y.exit().remove()}var x=r.svg.axis().scale(v).orient("right"),b=f.select("g.legend-axis").attr({transform:"translate("+[u?t.colorBandWidth:c,c/2]+")"}).call(x);return b.selectAll(".domain").style({fill:"none",stroke:"none"}),b.selectAll("line").style({fill:"none",stroke:u?t.textColor:"none"}),b.selectAll("text").style({fill:t.textColor,"font-size":t.fontSize}).text((function(e,t){return o[t].name})),a}return a.config=function(t){return arguments.length?(n(e,t),this):e},r.rebind(a,t,"on"),a},o.Legend.defaultConfig=function(e,t){return{data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}}},o.tooltipPanel=function(){var e,t,a,i={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},l="tooltip-"+o.tooltipPanel.uid++,s=10,c=function(){var r=(e=i.container.selectAll("g."+l).data([0])).enter().append("g").classed(l,!0).style({"pointer-events":"none",display:"none"});return a=r.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),t=r.append("text").attr({dx:i.padding+s,dy:.3*+i.fontSize}),c};return c.text=function(n){var o=r.hsl(i.color).l,l=o>=.5?"#aaa":"white",u=o>=.5?"black":"white",d=n||"";t.style({fill:u,"font-size":i.fontSize+"px"}).text(d);var f=i.padding,h=t.node().getBBox(),p={fill:i.color,stroke:l,"stroke-width":"2px"},g=h.width+2*f+s,v=h.height+2*f;return a.attr({d:"M"+[[s,-v/2],[s,-v/4],[i.hasTick?0:s,0],[s,v/4],[s,v/2],[g,v/2],[g,-v/2]].join("L")+"Z"}).style(p),e.attr({transform:"translate("+[s,-v/2+2*f]+")"}),e.style({display:"block"}),c},c.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),c},c.hide=function(){if(e)return e.style({display:"none"}),c},c.show=function(){if(e)return e.style({display:"block"}),c},c.config=function(e){return n(i,e),c},c},o.tooltipPanel.uid=1,o.adapter={},o.adapter.plotly=function(){var e={convert:function(e,t){var a={};if(e.data&&(a.data=e.data.map((function(e,r){var a=n({},e);return[[a,["marker","color"],["color"]],[a,["marker","opacity"],["opacity"]],[a,["marker","line","color"],["strokeColor"]],[a,["marker","line","dash"],["strokeDash"]],[a,["marker","line","width"],["strokeSize"]],[a,["marker","symbol"],["dotType"]],[a,["marker","size"],["dotSize"]],[a,["marker","barWidth"],["barWidth"]],[a,["line","interpolation"],["lineInterpolation"]],[a,["showlegend"],["visibleInLegend"]]].forEach((function(e,r){o.util.translator.apply(null,e.concat(t))})),t||delete a.marker,t&&delete a.groupId,t?("LinePlot"===a.geometry?(a.type="scatter",!0===a.dotVisible?(delete a.dotVisible,a.mode="lines+markers"):a.mode="lines"):"DotPlot"===a.geometry?(a.type="scatter",a.mode="markers"):"AreaChart"===a.geometry?a.type="area":"BarChart"===a.geometry&&(a.type="bar"),delete a.geometry):("scatter"===a.type?"lines"===a.mode?a.geometry="LinePlot":"markers"===a.mode?a.geometry="DotPlot":"lines+markers"===a.mode&&(a.geometry="LinePlot",a.dotVisible=!0):"area"===a.type?a.geometry="AreaChart":"bar"===a.type&&(a.geometry="BarChart"),delete a.mode,delete a.type),a})),!t&&e.layout&&"stack"===e.layout.barmode)){var i=o.util.duplicates(a.data.map((function(e,t){return e.geometry})));a.data.forEach((function(e,t){var r=i.indexOf(e.geometry);-1!=r&&(a.data[t].groupId=r)}))}if(e.layout){var l=n({},e.layout);if([[l,["plot_bgcolor"],["backgroundColor"]],[l,["showlegend"],["showLegend"]],[l,["radialaxis"],["radialAxis"]],[l,["angularaxis"],["angularAxis"]],[l.angularaxis,["showline"],["gridLinesVisible"]],[l.angularaxis,["showticklabels"],["labelsVisible"]],[l.angularaxis,["nticks"],["ticksCount"]],[l.angularaxis,["tickorientation"],["tickOrientation"]],[l.angularaxis,["ticksuffix"],["ticksSuffix"]],[l.angularaxis,["range"],["domain"]],[l.angularaxis,["endpadding"],["endPadding"]],[l.radialaxis,["showline"],["gridLinesVisible"]],[l.radialaxis,["tickorientation"],["tickOrientation"]],[l.radialaxis,["ticksuffix"],["ticksSuffix"]],[l.radialaxis,["range"],["domain"]],[l.angularAxis,["showline"],["gridLinesVisible"]],[l.angularAxis,["showticklabels"],["labelsVisible"]],[l.angularAxis,["nticks"],["ticksCount"]],[l.angularAxis,["tickorientation"],["tickOrientation"]],[l.angularAxis,["ticksuffix"],["ticksSuffix"]],[l.angularAxis,["range"],["domain"]],[l.angularAxis,["endpadding"],["endPadding"]],[l.radialAxis,["showline"],["gridLinesVisible"]],[l.radialAxis,["tickorientation"],["tickOrientation"]],[l.radialAxis,["ticksuffix"],["ticksSuffix"]],[l.radialAxis,["range"],["domain"]],[l.font,["outlinecolor"],["outlineColor"]],[l.legend,["traceorder"],["reverseOrder"]],[l,["labeloffset"],["labelOffset"]],[l,["defaultcolorrange"],["defaultColorRange"]]].forEach((function(e,r){o.util.translator.apply(null,e.concat(t))})),t?(void 0!==l.tickLength&&(l.angularaxis.ticklen=l.tickLength,delete l.tickLength),l.tickColor&&(l.angularaxis.tickcolor=l.tickColor,delete l.tickColor)):(l.angularAxis&&void 0!==l.angularAxis.ticklen&&(l.tickLength=l.angularAxis.ticklen),l.angularAxis&&void 0!==l.angularAxis.tickcolor&&(l.tickColor=l.angularAxis.tickcolor)),l.legend&&"boolean"!=typeof l.legend.reverseOrder&&(l.legend.reverseOrder="normal"!=l.legend.reverseOrder),l.legend&&"boolean"==typeof l.legend.traceorder&&(l.legend.traceorder=l.legend.traceorder?"reversed":"normal",delete l.legend.reverseOrder),l.margin&&void 0!==l.margin.t){var s=["t","r","b","l","pad"],c=["top","right","bottom","left","pad"],u={};r.entries(l.margin).forEach((function(e,t){u[c[s.indexOf(e.key)]]=e.value})),l.margin=u}t&&(delete l.needsEndSpacing,delete l.minorTickColor,delete l.minorTicks,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksStep,delete l.angularaxis.rewriteTicks,delete l.angularaxis.nticks,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksStep,delete l.radialaxis.rewriteTicks,delete l.radialaxis.nticks),a.layout=l}return a}};return e}})),i.register("7gS77",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY"),a=i("3N5m7"),o=i("45RDT"),l=i("3CVjn"),s=n.extendDeepAll,c=e.exports={};c.framework=function(e){var t,n,a,i,u,d=new l;function f(n,l){return l&&(u=l),r.select(r.select(u).node().parentNode).selectAll(".svg-container>*:not(.chart-root)").remove(),t=t?s(t,n):n,a||(a=o.Axis()),i=o.adapter.plotly().convert(t),a.config(i).render(u),e.data=t.data,e.layout=t.layout,c.fillLayout(e),t}return f.isPolar=!0,f.svg=function(){return a.svg()},f.getConfig=function(){return t},f.getLiveConfig=function(){return o.adapter.plotly().convert(a.getLiveConfig(),!0)},f.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},f.setUndoPoint=function(){var e,r,a=this,i=o.util.cloneJson(t);e=i,r=n,d.add({undo:function(){r&&a(r)},redo:function(){a(e)}}),n=o.util.cloneJson(i)},f.undo=function(){d.undo()},f.redo=function(){d.redo()},f},c.fillLayout=function(e){var t=r.select(e).selectAll(".plot-container"),n=t.selectAll(".svg-container"),i=e.framework&&e.framework.svg&&e.framework.svg(),o={width:800,height:600,paper_bgcolor:a.background,_container:t,_paperdiv:n,_paper:i};e._fullLayout=s(o,e.layout)}})),i.register("3CVjn",(function(e,t){"use strict";e.exports=function(){var e,t=[],r=-1,n=!1;function a(e,t){return e?(n=!0,e[t](),n=!1,this):this}return{add:function(e){return n||(t.splice(r+1,t.length-r),t.push(e),r=t.length-1),this},setCallback:function(t){e=t},undo:function(){var n=t[r];return n?(a(n,"undo"),r-=1,e&&e(n.undo),this):this},redo:function(){var n=t[r+1];return n?(a(n,"redo"),r+=1,e&&e(n.redo),this):this},clear:function(){t=[],r=-1},hasUndo:function(){return-1!==r},hasRedo:function(){return r2e-6||((r-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},N.saveRangeInitial=function(e,t){for(var r=N.list(e,"",!0),n=!1,a=0;a.3*f||u(a)||u(i))){var h=r.dtick/2;e+=e+ho){var s=Number(r.substr(1));i.exactYears>o&&s%12==0?e=N.tickIncrement(e,"M6","reverse")+1.5*A:i.exactMonths>o?e=N.tickIncrement(e,"M1","reverse")+15.5*A:e-=S;var c=N.tickIncrement(e,r);if(c<=n)return c}return e}(y,e,m,c,i)),v=y,0;v<=u;)v=N.tickIncrement(v,m,!1,i);return{start:t.c2r(y,0,i),end:t.c2r(v,0,i),size:m,_dataSpan:u-c}},N.prepTicks=function(e,t){var r=l.simpleMap(e.range,e.r2l,void 0,void 0,t);if(e._dtickInit=e.dtick,e._tick0Init=e.tick0,"auto"===e.tickmode||!e.dtick){var a,i=e.nticks;i||("category"===e.type||"multicategory"===e.type?(a=e.tickfont?1.2*(e.tickfont.size||12):15,i=e._length/a):(a="y"===e._id.charAt(0)?40:80,i=l.constrain(e._length/a,4,9)+1),"radialaxis"===e._name&&(i*=2)),"array"===e.tickmode&&(i*=100),e._roughDTick=Math.abs(r[1]-r[0])/i,N.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}"period"===e.ticklabelmode&&function(e){var t;function r(){return!(n(e.dtick)||"M"!==e.dtick.charAt(0))}var a=r(),i=N.getTickFormat(e);if(i){var o=e._dtickInit!==e.dtick;/%[fLQsSMX]/.test(i)||(/%[HI]/.test(i)?(t=L,o&&!a&&e.dticki&&d=o:h<=o;h=N.tickIncrement(h,e.dtick,s,e.calendar)){if(e.rangebreaks&&!s){if(h=u)break}if(C.length>g||h===I)break;I=h;var O=!1;d&&h!==(0|h)&&(O=!0),C.push({minor:O,value:h})}if(f&&function(e,t,r){for(var n=0;n0?(i=n-1,o=n):(i=n,o=n);var l,s=e[i].value,c=e[o].value,u=Math.abs(c-s),d=r||u,f=0;d>=y?f=u>=y&&u<=v?u:m:r===b&&d>=_?f=u>=_&&u<=x?u:b:d>=T?f=u>=T&&u<=w?u:k:r===M&&d>=M?f=M:d>=A?f=A:r===S&&d>=S?f=S:r===L&&d>=L&&(f=L),f>=u&&(f=u,l=!0);var h=a+f;if(t.rangebreaks&&f>0){for(var p=0,g=0;g<84;g++){var C=(g+.5)/84;t.maskBreaks(a*(1-C)+C*h)!==D&&p++}(f*=p/84)||(e[n].drop=!0),l&&u>M&&(f=u)}(f>0||0===n)&&(e[n].periodX=a+f/2)}}(C,e,e._definedDelta),e.rangebreaks){var z="y"===e._id.charAt(0),P=1;"auto"===e.tickmode&&(P=e.tickfont?e.tickfont.size:12);var j=NaN;for(p=C.length-1;p>-1;p--)if(C[p].drop)C.splice(p,1);else{C[p].value=we(C[p].value,e);var E=e.c2p(C[p].value);(z?j>E-P:ju||Fu&&(R.periodX=u),F10||"01-01"!==a.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12==0?"y":"m";else if(t>=A&&i<=10||t>=15*A)e._tickround="d";else if(t>=C&&i<=16||t>=L)e._tickround="M";else if(t>=I&&i<=19||t>=C)e._tickround="S";else{var o=e.l2r(r+t).replace(/^-/,"").length;e._tickround=Math.max(i,o)-20,e._tickround<0&&(e._tickround=4)}}else if(n(t)||"L"===t.charAt(0)){var l=e.range.map(e.r2d||Number);n(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var s=Math.max(Math.abs(l[0]),Math.abs(l[1])),c=Math.floor(Math.log(s)/Math.LN10+.01),u=void 0===e.minexponent?3:e.minexponent;Math.abs(c)>u&&(oe(e.exponentformat)&&!le(c)?e._tickexponent=3*Math.round((c-1)/3):e._tickexponent=c)}else e._tickround=null}function ae(e,t,r){var n=e.tickfont||{};return{x:t,dx:0,dy:0,text:r||"",fontSize:n.size,font:n.family,fontColor:n.color}}N.autoTicks=function(e,t){var r;function a(e){return Math.pow(e,Math.floor(Math.log(t)/Math.LN10))}if("date"===e.type){e.tick0=l.dateTick0(e.calendar,0);var i=2*t;if(i>m)t/=m,r=a(10),e.dtick="M"+12*re(t,r,X);else if(i>k)t/=k,e.dtick="M"+re(t,1,Q);else if(i>A){e.dtick=re(t,A,e._hasDayOfWeekBreaks?[1,2,7,14]:K);var o=N.getTickFormat(e),s="period"===e.ticklabelmode;s&&(e._rawTick0=e.tick0),/%[uVW]/.test(o)?e.tick0=l.dateTick0(e.calendar,2):e.tick0=l.dateTick0(e.calendar,1),s&&(e._dowTick0=e.tick0)}else i>L?e.dtick=re(t,L,Q):i>C?e.dtick=re(t,C,J):i>I?e.dtick=re(t,I,J):(r=a(10),e.dtick=re(t,r,X))}else if("log"===e.type){e.tick0=0;var c=l.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(c[1]-c[0])<1){var u=1.5*Math.abs((c[1]-c[0])/t);t=Math.abs(Math.pow(10,c[1])-Math.pow(10,c[0]))/u,r=a(10),e.dtick="L"+re(t,r,X)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type||"multicategory"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):_e(e)?(e.tick0=0,r=1,e.dtick=re(t,r,te)):(e.tick0=0,r=a(10),e.dtick=re(t,r,X));if(0===e.dtick&&(e.dtick=1),!n(e.dtick)&&"string"!=typeof e.dtick){var d=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(d)}},N.tickIncrement=function(e,t,a,i){var o=a?-1:1;if(n(t))return l.increment(e,o*t);var s=t.charAt(0),c=o*Number(t.substr(1));if("M"===s)return l.incrementMonth(e,c,i);if("L"===s)return Math.log(Math.pow(10,e)+c)/Math.LN10;if("D"===s){var u="D2"===t?ee:$,d=e+.01*o,f=l.roundUp(l.mod(d,1),u,a);return Math.floor(d)+Math.log(r.round(Math.pow(10,f),1))/Math.LN10}throw"unrecognized dtick "+String(t)},N.tickFirst=function(e,t){var a=e.r2l||Number,i=l.simpleMap(e.range,a,void 0,void 0,t),o=i[1] ")}else e._prevDateHead=s,c+="
"+s;t.text=c}(e,o,r,c):"log"===u?function(e,t,r,a,i){var o=e.dtick,s=t.x,c=e.tickformat,u="string"==typeof o&&o.charAt(0);"never"===i&&(i="");a&&"L"!==u&&(o="L3",u="L");if(c||"L"===u)t.text=se(Math.pow(10,s),e,i,a);else if(n(o)||"D"===u&&l.mod(s+.01,1)<.1){var d=Math.round(s),f=Math.abs(d),h=e.exponentformat;"power"===h||oe(h)&&le(d)?(t.text=0===d?1:1===d?"10":"10"+(d>1?"":O)+f+"",t.fontSize*=1.25):("e"===h||"E"===h)&&f>2?t.text="1"+h+(d>0?"+":O)+f:(t.text=se(Math.pow(10,s),e,"","fakehover"),"D1"===o&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6))}else{if("D"!==u)throw"unrecognized dtick "+String(o);t.text=String(Math.round(Math.pow(10,l.mod(s,1)))),t.fontSize*=.75}if("D1"===e.dtick){var p=String(t.text).charAt(0);"0"!==p&&"1"!==p||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(s<0?.5:.25)))}}(e,o,0,c,g):"category"===u?function(e,t){var r=e._categories[Math.round(t.x)];void 0===r&&(r="");t.text=String(r)}(e,o):"multicategory"===u?function(e,t,r){var n=Math.round(t.x),a=e._categories[n]||[],i=void 0===a[1]?"":String(a[1]),o=void 0===a[0]?"":String(a[0]);r?t.text=o+" - "+i:(t.text=i,t.text2=o)}(e,o,r):_e(e)?function(e,t,r,n,a){if("radians"!==e.thetaunit||r)t.text=se(t.x,e,a,n);else{var i=t.x/180;if(0===i)t.text="0";else{var o=function(e){function t(e,t){return Math.abs(e-t)<=1e-6}function r(e,n){return t(n,0)?e:r(n,e%n)}function n(e){for(var r=1;!t(Math.round(e*r)/r,e);)r*=10;return r}var a=n(e),i=e*a,o=Math.abs(r(i,a));return[Math.round(i/o),Math.round(a/o)]}(i);if(o[1]>=100)t.text=se(l.deg2rad(t.x),e,a,n);else{var s=t.x<0;1===o[1]?1===o[0]?t.text="ฯ€":t.text=o[0]+"ฯ€":t.text=["",o[0],"","โ„","",o[1],"","ฯ€"].join(""),s&&(t.text=O+t.text)}}}}(e,o,r,c,g):function(e,t,r,n,a){"never"===a?a="":"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(a="hide");t.text=se(t.x,e,a,n)}(e,o,0,c,g),a||(e.tickprefix&&!p(e.showtickprefix)&&(o.text=e.tickprefix+o.text),e.ticksuffix&&!p(e.showticksuffix)&&(o.text+=e.ticksuffix)),"boundaries"===e.tickson||e.showdividers){var v=function(t){var r=e.l2p(t);return r>=0&&r<=e._length?t:null};o.xbnd=[v(o.x-.5),v(o.x+e.dtick-.5)]}return o},N.hoverLabelText=function(e,t,r){if(r!==D&&r!==t)return N.hoverLabelText(e,t)+" - "+N.hoverLabelText(e,r);var n="log"===e.type&&t<=0,a=N.tickText(e,e.c2l(n?-t:t),"hover").text;return n?0===t?"0":O+a:a};var ie=["f","p","n","ฮผ","m","","k","M","G","T"];function oe(e){return"SI"===e||"B"===e}function le(e){return e>14||e<-15}function se(e,t,r,a){var i=e<0,o=t._tickround,s=r||t.exponentformat||"B",c=t._tickexponent,u=N.getTickFormat(t),d=t.separatethousands;if(a){var f={exponentformat:s,minexponent:t.minexponent,dtick:"none"===t.showexponent?t.dtick:n(e)&&Math.abs(e)||1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};ne(f),o=(Number(f._tickround)||0)+4,c=f._tickexponent,t.hoverformat&&(u=t.hoverformat)}if(u)return t._numFormat(u)(e).replace(/-/g,O);var h,p=Math.pow(10,-o)/2;if("none"===s&&(c=0),(e=Math.abs(e))"+h+"
":"B"===s&&9===c?e+="B":oe(s)&&(e+=ie[c/3+5]));return i?O+e:e}function ce(e,t){for(var r=[],n={},a=0;a1&&r=a.min&&e=0,i=u(e,t[1])<=0;return(r||a)&&(n||i)}if(e.tickformatstops&&e.tickformatstops.length>0)switch(e.type){case"date":case"linear":for(t=0;t=o(a)))){r=n;break}break;case"log":for(t=0;t0?r.bottom-d:0,f)))),t.automargin){n={x:0,y:0,r:0,l:0,t:0,b:0};var h=[0,1];if("x"===p){if("b"===s?n[s]=t._depth:(n[s]=t._depth=Math.max(r.width>0?d-r.top:0,f),h.reverse()),r.width>0){var v=r.right-(t._offset+t._length);v>0&&(n.xr=1,n.r=v);var m=t._offset-r.left;m>0&&(n.xl=0,n.l=m)}}else if("l"===s?n[s]=t._depth=Math.max(r.height>0?d-r.left:0,f):(n[s]=t._depth=Math.max(r.height>0?r.right-d:0,f),h.reverse()),r.height>0){var y=r.bottom-(t._offset+t._length);y>0&&(n.yb=0,n.b=y);var x=t._offset-r.top;x>0&&(n.yt=1,n.t=x)}n[g]="free"===t.anchor?t.position:t._anchorAxis.domain[h[0]],t.title.text!==c._dfltTitle[p]&&(n[s]+=fe(t)+(t.title.standoff||0)),t.mirror&&"free"!==t.anchor&&((i={x:0,y:0,r:0,l:0,t:0,b:0})[u]=t.linewidth,t.mirror&&!0!==t.mirror&&(i[u]+=f),!0===t.mirror||"ticks"===t.mirror?i[g]=t._anchorAxis.domain[h[1]]:"all"!==t.mirror&&"allticks"!==t.mirror||(i[g]=[t._counterDomainMin,t._counterDomainMax][h[1]]))}J&&(l=o.getComponentMethod("rangeslider","autoMarginOpts")(e,t)),a.autoMargin(e,ge(t),n),a.autoMargin(e,ve(t),i),a.autoMargin(e,me(t),l)})),r.skipTitle||J&&"bottom"===t.side||X.push((function(){return function(e,t){var r,n=e._fullLayout,a=t._id,i=a.charAt(0),o=t.title.font.size;if(t.title.hasOwnProperty("standoff"))r=t._depth+t.title.standoff+fe(t);else{var l=-1!==(t.ticklabelposition||"").indexOf("inside");if("multicategory"===t.type)r=t._depth;else{var s=1.5*o;l&&(s=.5*o,"outside"===t.ticks&&(s+=t.ticklen)),r=10+s+(t.linewidth?t.linewidth-1:0)}l||(r+="x"===i?"top"===t.side?o*(t.showticklabels?1:0):o*(t.showticklabels?1.5:.5):"right"===t.side?o*(t.showticklabels?1:.5):o*(t.showticklabels?.5:0))}var c,d,h,p,g=N.getPxPosition(e,t);"x"===i?(d=t._offset+t._length/2,h="top"===t.side?g-r:g+r):(h=t._offset+t._length/2,d="right"===t.side?g+r:g-r,c={rotate:"-90",offset:0});if("multicategory"!==t.type){var v=t._selections[t._id+"tick"];if(p={selection:v,side:t.side},v&&v.node()&&v.node().parentNode){var m=f.getTranslate(v.node().parentNode);p.offsetLeft=m.x,p.offsetTop=m.y}t.title.hasOwnProperty("standoff")&&(p.pad=0)}return u.draw(e,a+"title",{propContainer:t,propName:t._name+".title.text",placeholder:n._dfltTitle[i],avoid:p,transform:c,attributes:{x:d,y:h,"text-anchor":"middle"}})}(e,t)})),l.syncOrAsync(X)}}function K(e){var r=h+(e||"tick");return w[r]||(w[r]=function(e,t){var r,n,a,i;e._selections[t].size()?(r=1/0,n=-1/0,a=1/0,i=-1/0,e._selections[t].each((function(){var e=pe(this),t=f.bBox(e.node().parentNode);r=Math.min(r,t.top),n=Math.max(n,t.bottom),a=Math.min(a,t.left),i=Math.max(i,t.right)}))):(r=0,n=0,a=0,i=0);return{top:r,bottom:n,left:a,right:i,height:n-r,width:i-a}}(t,r)),w[r]}},N.getTickSigns=function(e){var t=e._id.charAt(0),r={x:"top",y:"right"}[t],n=e.side===r?1:-1,a=[-1,1,n,-n];return"inside"!==e.ticks==("x"===t)&&(a=a.map((function(e){return-e}))),e.side&&a.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),a},N.makeTransTickFn=function(e){return"x"===e._id.charAt(0)?function(t){return s(e._offset+e.l2p(t.x),0)}:function(t){return s(0,e._offset+e.l2p(t.x))}},N.makeTransTickLabelFn=function(e){var t=function(e){var t=e.ticklabelposition||"",r=function(e){return-1!==t.indexOf(e)},n=r("top"),a=r("left"),i=r("right"),o=r("bottom"),l=r("inside"),s=o||a||n||i;if(!s&&!l)return[0,0];var c=e.side,u=s?(e.tickwidth||0)/2:0,d=3,f=e.tickfont?e.tickfont.size:12;(o||n)&&(u+=f*j,d+=(e.linewidth||0)/2);(a||i)&&(u+=(e.linewidth||0)/2,d+=3);l&&"top"===c&&(d-=f*(1-j));(a||n)&&(u=-u);"bottom"!==c&&"right"!==c||(d=-d);return[s?u:0,l?d:0]}(e),r=t[0],n=t[1];return"x"===e._id.charAt(0)?function(t){return s(r+e._offset+e.l2p(ue(t)),n)}:function(t){return s(n,r+e._offset+e.l2p(ue(t)))}},N.makeTickPath=function(e,t,r,n){n=void 0!==n?n:e.ticklen;var a=e._id.charAt(0),i=(e.linewidth||1)/2;return"x"===a?"M0,"+(t+i*r)+"v"+n*r:"M"+(t+i*r)+",0h"+n*r},N.makeLabelFns=function(e,t,r){var a=e.ticklabelposition||"",i=function(e){return-1!==a.indexOf(e)},o=i("top"),s=i("left"),c=i("right"),u=i("bottom")||s||o||c,d=i("inside"),f="inside"===a&&"inside"===e.ticks||!d&&"outside"===e.ticks&&"boundaries"!==e.tickson,h=0,p=0,g=f?e.ticklen:0;if(d?g*=-1:u&&(g=0),f&&(h+=g,r)){var v=l.deg2rad(r);h=g*Math.cos(v)+1,p=g*Math.sin(v)}e.showticklabels&&(f||e.showline)&&(h+=.2*e.tickfont.size);var m,y,x,b,_,w={labelStandoff:h+=(e.linewidth||1)/2*(d?-1:1),labelShift:p},k=0,T=e.side,M=e._id.charAt(0),A=e.tickangle;if("x"===M)b=(_=!d&&"bottom"===T||d&&"top"===T)?1:-1,d&&(b*=-1),m=p*b,y=t+h*b,x=_?1:-.2,90===Math.abs(A)&&(d?x+=P:x=-90===A&&"bottom"===T?j:90===A&&"top"===T?P:.5,k=P/2*(A/90)),w.xFn=function(e){return e.dx+m+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*x},w.anchorFn=function(e,t){if(u){if(s)return"end";if(c)return"start"}return n(t)&&0!==t&&180!==t?t*b<0!==d?"end":"start":"middle"},w.heightFn=function(t,r,n){return r<-60||r>60?-.5*n:"top"===e.side!==d?-n:0};else if("y"===M){if(b=(_=!d&&"left"===T||d&&"right"===T)?1:-1,d&&(b*=-1),m=h,y=p*b,x=0,d||90!==Math.abs(A)||(x=-90===A&&"left"===T||90===A&&"right"===T?j:.5),d){var S=n(A)?+A:0;if(0!==S){var L=l.deg2rad(S);k=Math.abs(Math.sin(L))*j*b,x=0}}w.xFn=function(e){return e.dx+t-(m+e.fontSize*x)*b+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*P},w.anchorFn=function(e,t){return n(t)&&90===Math.abs(t)?"middle":_?"end":"start"},w.heightFn=function(t,r,n){return"right"===e.side&&(r*=-1),r<-30?-n:r<30?-.5*n:0}}return w},N.drawTicks=function(e,t,r){r=r||{};var n=t._id+"tick",a=r.vals;"period"===t.ticklabelmode&&(a=a.slice()).shift();var i=r.layer.selectAll("path."+n).data(t.ticks?a:[],de);i.exit().remove(),i.enter().append("path").classed(n,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(d.stroke,t.tickcolor).style("stroke-width",f.crispRound(e,t.tickwidth,1)+"px").attr("d",r.path),i.attr("transform",r.transFn)},N.drawGrid=function(e,t,r){r=r||{};var n=t._id+"grid",a=r.vals,i=r.counterAxis;if(!1===t.showgrid)a=[];else if(i&&N.shouldShowZeroLine(e,t,i))for(var o="array"===t.tickmode,l=0;lo||a.lefto||a.top+(t.tickangle?0:e.fontSize/4)1)for(n=1;n0||f<0){var m={left:[-p,0],right:[p,0],top:[0,-p],bottom:[0,p]}[b.side];t.attr("transform",s(m[0],m[1]))}}}return j.call(E),z&&(L?j.on(".opacity",null):(M=0,A=!0,j.text(y).on("mouseover.opacity",(function(){r.select(this).transition().duration(f.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){r.select(this).transition().duration(f.HIDE_PLACEHOLDER).style("opacity",0)}))),j.call(d.makeEditable,{gd:e}).on("edit",(function(t){void 0!==x?o.call("_guiRestyle",e,m,t,x):o.call("_guiRelayout",e,m,t)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(E)})).on("input",(function(e){this.text(e||" ").call(d.positionText,_.x,_.y)}))),j.classed("js-placeholder",A),k}}})),i.register("7cQhP",(function(e,t){"use strict";var r=i("4Wia9"),n=i("6jof9").utcFormat,a=i("6qr5h"),o=i("1nIvY"),l=o.cleanNumber,s=o.ms2DateTime,c=o.dateTime2ms,u=o.ensureNumber,d=o.isArrayOrTypedArray,f=i("10TEj"),h=f.FP_SAFE,p=f.BADNUM,g=f.LOG_CLIP,v=f.ONEWEEK,m=f.ONEDAY,y=f.ONEHOUR,x=f.ONEMIN,b=f.ONESEC,_=i("22HUI"),w=i("5Lafm"),k=w.HOUR_PATTERN,T=w.WEEKDAY_PATTERN;function M(e){return Math.pow(10,e)}function A(e){return null!=e}e.exports=function(e,t){t=t||{};var i=e._id||"x",f=i.charAt(0);function S(t,r){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&r&&e.range&&2===e.range.length){var n=e.range[0],a=e.range[1];return.5*(n+a-2*g*Math.abs(n-a))}return p}function L(t,r,n,i){if((i||{}).msUTC&&a(t))return+t;var l=c(t,n||e.calendar);if(l===p){if(!a(t))return p;t=+t;var s=Math.floor(10*o.mod(t+.05,1)),u=Math.round(t-s/10);l=c(new Date(u))+s/10}return l}function C(t,r,n){return s(t,r,n||e.calendar)}function I(t){return e._categories[Math.round(t)]}function O(t){if(A(t)){if(void 0===e._categoriesMap&&(e._categoriesMap={}),void 0!==e._categoriesMap[t])return e._categoriesMap[t];e._categories.push("number"==typeof t?String(t):t);var r=e._categories.length-1;return e._categoriesMap[t]=r,r}return p}function D(t){if(e._categoriesMap)return e._categoriesMap[t]}function z(e){var t=D(e);return void 0!==t?t:a(e)?+e:void 0}function P(e){return a(e)?+e:D(e)}function j(e,t,n){return r.round(n+t*e,2)}function E(e,t,r){return(e-r)/t}var R=function(t){return a(t)?j(t,e._m,e._b):p},N=function(t){return E(t,e._m,e._b)};if(e.rangebreaks){var F="y"===f;R=function(t){if(!a(t))return p;var r=e._rangebreaks.length;if(!r)return j(t,e._m,e._b);var n=F;e.range[0]>e.range[1]&&(n=!n);for(var i=n?-1:1,o=i*t,l=0,s=0;su)){l=o<(c+u)/2?s:s+1;break}l=s+1}var d=e._B[l]||0;return isFinite(d)?j(t,e._m2,d):0},N=function(t){var r=e._rangebreaks.length;if(!r)return E(t,e._m,e._b);for(var n=0,a=0;ae._rangebreaks[a].pmax&&(n=a+1);return E(t,e._m2,e._B[n])}}e.c2l="log"===e.type?S:u,e.l2c="log"===e.type?M:u,e.l2p=R,e.p2l=N,e.c2p="log"===e.type?function(e,t){return R(S(e,t))}:R,e.p2c="log"===e.type?function(e){return M(N(e))}:N,-1!==["linear","-"].indexOf(e.type)?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=l,e.c2d=e.c2r=e.l2d=e.l2r=u,e.d2p=e.r2p=function(t){return e.l2p(l(t))},e.p2d=e.p2r=N,e.cleanPos=u):"log"===e.type?(e.d2r=e.d2l=function(e,t){return S(l(e),t)},e.r2d=e.r2c=function(e){return M(l(e))},e.d2c=e.r2l=l,e.c2d=e.l2r=u,e.c2r=S,e.l2d=M,e.d2p=function(t,r){return e.l2p(e.d2r(t,r))},e.p2d=function(e){return M(N(e))},e.r2p=function(t){return e.l2p(l(t))},e.p2r=N,e.cleanPos=u):"date"===e.type?(e.d2r=e.r2d=o.identity,e.d2c=e.r2c=e.d2l=e.r2l=L,e.c2d=e.c2r=e.l2d=e.l2r=C,e.d2p=e.r2p=function(t,r,n){return e.l2p(L(t,0,n))},e.p2d=e.p2r=function(e,t,r){return C(N(e),t,r)},e.cleanPos=function(t){return o.cleanDate(t,p,e.calendar)}):"category"===e.type?(e.d2c=e.d2l=O,e.r2d=e.c2d=e.l2d=I,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=P(t);return void 0!==r?r:e.fraction2r(.5)},e.l2r=e.c2r=u,e.r2l=P,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return I(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return"string"==typeof e&&""!==e?e:u(e)}):"multicategory"===e.type&&(e.r2d=e.c2d=e.l2d=I,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=z(t);return void 0!==r?r:e.fraction2r(.5)},e.r2c_just_indices=D,e.l2r=e.c2r=u,e.r2l=z,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return I(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return Array.isArray(e)||"string"==typeof e&&""!==e?e:u(e)},e.setupMultiCategory=function(r){var n,a,l=e._traceIndices,s=e._matchGroup;if(s&&0===e._categories.length)for(var c in s)if(c!==i){var u=t[_.id2name(c)];l=l.concat(u._traceIndices)}var h=[[0,{}],[0,{}]],p=[];for(n=0;nh&&(l[n]=h),l[0]===l[1]){var c=Math.max(1,Math.abs(1e-6*l[0]));l[0]-=c,l[1]+=c}}else o.nestedProperty(e,t).set(i)},e.setScale=function(r){var n=t._size;if(e.overlaying){var a=_.getFromId({_fullLayout:t},e.overlaying);e.domain=a.domain}var i=r&&e._r?"_r":"range",o=e.calendar;e.cleanRange(i);var l,s,c=e.r2l(e[i][0],o),u=e.r2l(e[i][1],o),d="y"===f;if((d?(e._offset=n.t+(1-e.domain[1])*n.h,e._length=n.h*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u):(e._offset=n.l+e.domain[0]*n.w,e._length=n.w*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c),e._rangebreaks=[],e._lBreaks=0,e._m2=0,e._B=[],e.rangebreaks)&&(e._rangebreaks=e.locateBreaks(Math.min(c,u),Math.max(c,u)),e._rangebreaks.length)){for(l=0;lu&&(h=!h),h&&e._rangebreaks.reverse();var p=h?-1:1;for(e._m2=p*e._length/(Math.abs(u-c)-e._lBreaks),e._B.push(-e._m2*(d?u:c)),l=0;la&&(a+=7,ia&&(a+=24,i=n&&i=n&&t=l.min&&(el.max&&(l.max=n),a=!1)}a&&c.push({min:e,max:n})}};for(n=0;n2*o}(i,t))return"date";var v="strict"!==n.autotypenumbers;return function(e,t){for(var r=e.length,n=d(r),i=0,o=0,l={},u=0;u2*i}(i,v)?"category":function(e,t){for(var r=e.length,n=0;n0&&((k=L-l(x)-s(b))>C?T/k>I&&(_=x,w=b,I=T/k):T/L>I&&(_={val:x.val,nopad:1},w={val:b.val,nopad:1},I=T/L));if(g===v){var O=g-1,D=g+1;if(A)if(0===g)i=[0,1];else{var z=(g>0?p:u).reduce((function(e,t){return Math.max(e,s(t))}),0),P=g/(1-Math.min(.5,z/L));i=g>0?[0,P]:[P,0]}else i=S?[Math.max(0,O),Math.max(1,D)]:[O,D]}else A?(_.val>=0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:0,nopad:1})):S&&(_.val-I*l(_)<0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:1,nopad:1})),I=(w.val-_.val-d(t,x.val,b.val))/(L-l(_)-s(w)),i=[_.val-I*l(_),w.val+I*s(w)];return m&&i.reverse(),n.simpleMap(i,t.l2r||Number)}function d(e,t,r){var n=0;if(e.rangebreaks)for(var a=e.locateBreaks(t,r),i=0;i0?n.ppadplus:n.ppadminus)||n.ppad||0),S=M((e._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),L=M(n.vpadplus||n.vpad),C=M(n.vpadminus||n.vpad);if(!k){if(f=1/0,h=-1/0,w)for(i=0;i0&&(f=o),o>h&&o-a&&(f=o),o>h&&o=D;i--)O(i);return{min:v,max:y,opts:n}},concatExtremes:h};function h(e,t,r){var n,a,i,o=t._id,l=e._fullData,c=e._fullLayout,u=[],d=[];function f(e,t){for(n=0;n=r&&(c.extrapad||!o)){l=!1;break}a(t,c.val)&&c.pad<=r&&(o||!c.extrapad)&&(e.splice(s,1),s--)}if(l){var u=i&&0===t;e.push({val:t,pad:u?0:r,extrapad:!u&&o})}}function m(e){return r(e)&&Math.abs(e)=t}})),i.register("1Cu9q",(function(e,r){var n,a;t(e.exports,"initInteractions",(()=>n),(e=>n=e)),t(e.exports,"updateFx",(()=>a),(e=>a=e));var o=i("4Wia9"),l=i("FNU2H"),s=i("NlhQs"),c=i("3kB5v"),u=i("JiqFZ").makeDragBox,d=i("5Lafm").DRAGGERSIZE;n=function(e){var t=e._fullLayout;if(e._context.staticPlot)o.select(e).selectAll(".drag").remove();else if(t._has("cartesian")||t._has("splom")){Object.keys(t._plots||{}).sort((function(e,r){if((t._plots[e].mainplot&&!0)===(t._plots[r].mainplot&&!0)){var n=e.split("y"),a=r.split("y");return n[0]===a[0]?Number(n[1]||1)-Number(a[1]||1):Number(n[0]||1)-Number(a[0]||1)}return t._plots[e].mainplot?1:-1})).forEach((function(r){var n=t._plots[r],a=n.xaxis,i=n.yaxis;if(!n.mainplot){var o=u(e,n,a._offset,i._offset,a._length,i._length,"ns","ew");o.onmousemove=function(t){e._fullLayout._rehover=function(){e._fullLayout._hoversubplot===r&&e._fullLayout._plots[r]&&l.hover(e,t,r)},l.hover(e,t,r),e._fullLayout._lasthover=o,e._fullLayout._hoversubplot=r},o.onmouseout=function(t){e._dragging||(e._fullLayout._hoversubplot=null,s.unhover(e,t))},e._context.showAxisDragHandles&&(u(e,n,a._offset-d,i._offset-d,d,d,"n","w"),u(e,n,a._offset+a._length,i._offset-d,d,d,"n","e"),u(e,n,a._offset-d,i._offset+i._length,d,d,"s","w"),u(e,n,a._offset+a._length,i._offset+i._length,d,d,"s","e"))}if(e._context.showAxisDragHandles){if(r===a._mainSubplot){var c=a._mainLinePosition;"top"===a.side&&(c-=d),u(e,n,a._offset+.1*a._length,c,.8*a._length,d,"","ew"),u(e,n,a._offset,c,.1*a._length,d,"","w"),u(e,n,a._offset+.9*a._length,c,.1*a._length,d,"","e")}if(r===i._mainSubplot){var f=i._mainLinePosition;"right"!==i.side&&(f-=d),u(e,n,f,i._offset+.1*i._length,d,.8*i._length,"ns",""),u(e,n,f,i._offset+.9*i._length,d,.1*i._length,"s",""),u(e,n,f,i._offset,d,.1*i._length,"n","")}}}));var r=t._hoverlayer.node();r.onmousemove=function(r){r.target=e._fullLayout._lasthover,l.hover(e,r,t._hoversubplot)},r.onclick=function(t){t.target=e._fullLayout._lasthover,l.click(e,t)},r.onmousedown=function(t){e._fullLayout._lasthover.onmousedown(t)},a(e)}},a=function(e){var t=e._fullLayout,r="pan"===t.dragmode?"move":"crosshair";c(t._draggers,r)}})),i.register("FNU2H",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY"),a=i("NlhQs"),o=i("2MtC7"),l=i("1U5js"),s=i("28DIj");e.exports={moduleType:"component",name:"fx",constants:i("1Qgov"),schema:{layout:l},attributes:i("tikJy"),layoutAttributes:l,supplyLayoutGlobalDefaults:i("3yYrT"),supplyDefaults:i("Vckba"),supplyLayoutDefaults:i("RJwVS"),calc:i("1CcKf"),getDistanceFunction:o.getDistanceFunction,getClosest:o.getClosest,inbox:o.inbox,quadrature:o.quadrature,appendArrayPointValue:o.appendArrayPointValue,castHoverOption:function(e,t,r){return n.castOption(e,t,"hoverlabel."+r)},castHoverinfo:function(e,t,r){return n.castOption(e,r,"hoverinfo",(function(r){return n.coerceHoverinfo({hoverinfo:r},{_module:e._module},t)}))},hover:s.hover,unhover:a.unhover,loneHover:s.loneHover,loneUnhover:function(e){var t=n.isD3Selection(e)?e:r.select(e);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()},click:i("7myOX")}})),i.register("NlhQs",(function(e,t){"use strict";var r=i("4PI1I"),n=i("5aT4w"),a=i("3waiA"),o=i("1nIvY").removeElement,l=i("5Lafm"),s=e.exports={};s.align=i("59oIZ"),s.getCursor=i("3cTuS");var c=i("4HygO");function u(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function d(e){return r(e.changedTouches?e.changedTouches[0]:e,document.body)}s.unhover=c.wrapped,s.unhoverRaw=c.raw,s.init=function(e){var t,r,i,c,f,h,p,g,v=e.gd,m=1,y=v._context.doubleClickDelay,x=e.element;v._mouseDownTime||(v._mouseDownTime=0),x.style.pointerEvents="all",x.onmousedown=_,a?(x._ontouchstart&&x.removeEventListener("touchstart",x._ontouchstart),x._ontouchstart=_,x.addEventListener("touchstart",_,{passive:!1})):x.ontouchstart=_;var b=e.clampFn||function(e,t,r){return Math.abs(e)y&&(m=Math.max(m-1,1)),v._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(m,h),!g){var r;try{r=new MouseEvent("click",t)}catch(e){var a=d(t);(r=document.createEvent("MouseEvents")).initMouseEvent("click",t.bubbles,t.cancelable,t.view,t.detail,t.screenX,t.screenY,a[0],a[1],t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget)}p.dispatchEvent(r)}v._dragging=!1,v._dragged=!1}else v._dragged=!1}},s.coverSlip=u})),i.register("4PI1I",(function(e,t){var r={left:0,top:0};e.exports=function(e,t,n){t=t||e.currentTarget||e.srcElement,Array.isArray(n)||(n=[0,0]);var a=e.clientX||0,i=e.clientY||0,o=(l=t,l===window||l===document||l===document.body?r:l.getBoundingClientRect());var l;return n[0]=a-o.left,n[1]=i-o.top,n}})),i.register("3waiA",(function(e,t){"use strict";var r=i("6nPAE");e.exports=r&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return e}()})),i.register("59oIZ",(function(e,t){"use strict";e.exports=function(e,t,r,n,a){var i=(e-r)/(n-r),o=i+t/(n-r),l=(i+o)/2;return"left"===a||"bottom"===a?i:"center"===a||"middle"===a?l:"right"===a||"top"===a?o:i<2/3-l?i:o>4/3-l?o:l}})),i.register("3cTuS",(function(e,t){"use strict";var r=i("1nIvY"),n=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];e.exports=function(e,t,a,i){return e="left"===a?0:"center"===a?1:"right"===a?2:r.constrain(Math.floor(3*e),0,2),t="bottom"===i?0:"middle"===i?1:"top"===i?2:r.constrain(Math.floor(3*t),0,2),n[t][e]}})),i.register("4HygO",(function(e,t){"use strict";var r=i("5yBVq"),n=i("3RMbo"),a=i("44pv8").getGraphDiv,o=i("1Qgov"),l=e.exports={};l.wrapped=function(e,t,r){(e=a(e))._fullLayout&&n.clear(e._fullLayout._uid+o.HOVERID),l.raw(e,t,r)},l.raw=function(e,t){var n=e._fullLayout,a=e._hoverdata;t||(t={}),t.target&&!1===r.triggerHandler(e,"plotly_beforehover",t)||(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),e._hoverdata=void 0,t.target&&a&&e.emit("plotly_unhover",{event:t,points:a}))}})),i.register("28DIj",(function(e,r){var n,a;t(e.exports,"loneHover",(()=>a),(e=>a=e)),t(e.exports,"hover",(()=>n),(e=>n=e));var o=i("4Wia9"),l=i("6qr5h"),s=i("3Twc4"),c=i("1nIvY"),u=c.strTranslate,d=c.strRotate,f=i("5yBVq"),h=i("49Q6h"),p=i("7tQKZ"),g=i("7jar4"),v=i("3N5m7"),m=i("NlhQs"),y=i("1nE8l"),x=i("4Hxcc"),b=i("2MtC7"),_=i("1Qgov"),w=i("3YXj5"),k=i("Zg88i"),T=_.YANGLE,M=Math.PI*T/180,A=1/Math.sin(M),S=Math.cos(M),L=Math.sin(M),C=_.HOVERARROWSIZE,I=_.HOVERTEXTPAD;function O(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa,e.ya||""].join(",")}n=function(e,t,r,n){e=c.getGraphDiv(e),c.throttle(e._fullLayout._uid+_.HOVERID,_.HOVERMINTIME,(function(){!function(e,t,r,n){r||(r="xy");var a=Array.isArray(r)?r:[r],i=e._fullLayout,s=i._plots||[],u=s[r],d=i._has("cartesian");if(u){var h=u.overlays.map((function(e){return e.id}));a=a.concat(h)}for(var g=a.length,y=new Array(g),_=new Array(g),w=!1,k=0;ky[0]._length||ee<0||ee>_[0]._length)return m.unhoverRaw(e,t)}if(t.pointerX=$+y[0]._offset,t.pointerY=ee+_[0]._offset,L="xval"in t?b.flat(a,t.xval):b.p2c(y,$),C="yval"in t?b.flat(a,t.yval):b.p2c(_,ee),!l(L[0])||!l(C[0]))return c.warn("Fx.hover failed",t,e),m.unhoverRaw(e,t)}var ne=1/0;function ae(e,r){for(D=0;DG&&(X.splice(0,G),ne=X[0].distance),d&&0!==W&&0===X.length){Y.distance=W,Y.index=!1;var f=F._module.hoverPoints(Y,q,V,"closest",i._hoverlayer);if(f&&(f=f.filter((function(e){return e.spikeDistance<=W}))),f&&f.length){var h,p=f.filter((function(e){return e.xa.showspikes&&"hovered data"!==e.xa.spikesnap}));if(p.length){var g=p[0];l(g.x0)&&l(g.y0)&&(h=oe(g),(!J.vLinePoint||J.vLinePoint.spikeDistance>h.spikeDistance)&&(J.vLinePoint=h))}var m=f.filter((function(e){return e.ya.showspikes&&"hovered data"!==e.ya.spikesnap}));if(m.length){var x=m[0];l(x.x0)&&l(x.y0)&&(h=oe(x),(!J.hLinePoint||J.hLinePoint.spikeDistance>h.spikeDistance)&&(J.hLinePoint=h))}}}}}function ie(e,t){for(var r,n=null,a=1/0,i=0;i1||X.length>1)||"closest"===S&&K&&X.length>1,Ae=v.combine(i.plot_bgcolor||v.background,i.paper_bgcolor),Se={hovermode:S,rotateLabels:Me,bgColor:Ae,container:i._hoverlayer,outerContainer:i._paperdiv,commonLabelOpts:i.hoverlabel,hoverdistance:i.hoverdistance},Le=z(X,Se,e);b.isUnifiedHover(S)||(!function(e,t,r){var n,a,i,o,l,s,c,u=0,d=1,f=e.size(),h=new Array(f),p=0;function g(e){var t=e[0],r=e[e.length-1];if(a=t.pmin-t.pos-t.dp+t.size,i=r.pos+r.dp+r.size-t.pmax,a>.01){for(l=e.length-1;l>=0;l--)e[l].dp+=a;n=!1}if(!(i<.01)){if(a<-.01){for(l=e.length-1;l>=0;l--)e[l].dp-=i;n=!1}if(n){var c=0;for(o=0;ot.pmax&&c++;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos>t.pmax-1&&(s.del=!0,c--);for(o=0;o=0;l--)e[l].dp-=i;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos+s.dp+s.size>t.pmax&&(s.del=!0,c--)}}}e.each((function(e){var n=e[t],a="x"===n._id.charAt(0),i=n.range;0===p&&i&&i[0]>i[1]!==a&&(d=-1),h[p++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(a?A:1)/2,pmin:0,pmax:a?r.width:r.height}]})),h.sort((function(e,t){return e[0].posref-t[0].posref||d*(t[0].traceIndex-e[0].traceIndex)}));for(;!n&&u<=f;){for(u++,n=!0,o=0;o.01&&y.pmin===x.pmin&&y.pmax===x.pmax){for(l=m.length-1;l>=0;l--)m[l].dp+=a;for(v.push.apply(v,m),h.splice(o+1,1),c=0,l=v.length-1;l>=0;l--)c+=v[l].dp;for(i=c/v.length,l=v.length-1;l>=0;l--)v[l].dp-=i;n=!1}else o++}h.forEach(g)}for(o=h.length-1;o>=0;o--){var b=h[o];for(l=b.length-1;l>=0;l--){var _=b[l],w=_.datum;w.offset=_.dp,w.del=_.del}}}(Le,Me?"xa":"ya",i),j(Le,Me,i._invScaleX,i._invScaleY));if(t.target&&t.target.tagName){var Ce=x.getComponentMethod("annotations","hasClickToShow")(e,_e);p(o.select(t.target),Ce?"pointer":"")}if(!t.target||n||!function(e,t,r){if(!r||r.length!==e._hoverdata.length)return!0;for(var n=r.length-1;n>=0;n--){var a=r[n],i=e._hoverdata[n];if(a.curveNumber!==i.curveNumber||String(a.pointNumber)!==String(i.pointNumber)||String(a.pointNumbers)!==String(i.pointNumbers))return!0}return!1}(e,0,be))return;be&&e.emit("plotly_unhover",{event:t,points:be});e.emit("plotly_hover",{event:t,points:e._hoverdata,xaxes:y,yaxes:_,xvals:L,yvals:C})}(e,t,r,n)}))},a=function(e,t){var r=!0;Array.isArray(e)||(r=!1,e=[e]);var n=e.map((function(e){return{color:e.color||v.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,eventData:e.eventData||!1,hovertemplateLabels:e.hovertemplateLabels||!1}})),a=o.select(t.container),i=t.outerContainer?o.select(t.outerContainer):a,l={hovermode:"closest",rotateLabels:!1,bgColor:t.bgColor||v.background,container:a,outerContainer:i},s=z(n,l,t.gd),c=0,u=0;s.sort((function(e,t){return e.y0-t.y0})).each((function(e,r){var n=e.y0-e.by/2;e.offset=n-5([\s\S]*)<\/extra>/;function z(e,t,r){var n=r._fullLayout,a=t.hovermode,i=t.rotateLabels,l=t.bgColor,s=t.container,f=t.outerContainer,p=t.commonLabelOpts||{},m=t.fontFamily||_.HOVERFONT,y=t.fontSize||_.HOVERFONTSIZE,x=e[0],M=x.xa,A=x.ya,S="y"===a.charAt(0)?"yLabel":"xLabel",L=x[S],D=(String(L)||"").split(" ")[0],z=f.node().getBoundingClientRect(),j=z.top,E=z.width,R=z.height,N=void 0!==L&&x.distance<=t.hoverdistance&&("x"===a||"y"===a);if(N){var F,H,B=!0;for(F=0;Fn.width-S?(_=n.width-S,i.attr("d","M"+(S-C)+",0L"+S+","+T+C+"v"+T+(2*I+k.height)+"H-"+S+"V"+T+C+"H"+(S-2*C)+"Z")):i.attr("d","M0,0L"+C+","+T+C+"H"+(I+k.width/2)+"v"+T+(2*I+k.height)+"H-"+(I+k.width/2)+"V"+T+C+"H-"+C+"Z")}else{var O,D,z;"right"===A.side?(O="start",D=1,z="",_=M._offset+M._length):(O="end",D=-1,z="-",_=M._offset),w=A._offset+(x.y0+x.y1)/2,l.attr("text-anchor",O),i.attr("d","M0,0L"+z+C+","+C+"V"+(I+k.height/2)+"h"+z+(2*I+k.width)+"V-"+(I+k.height/2)+"H"+z+C+"V-"+C+"Z");var P,E=k.height/2,R=j-k.top-E,N="clip"+n._uid+"commonlabel"+A._id;if(_=0?te-=ae:te+=2*I;var ie=ne.height+2*I,oe=ee+ie>=R;return ie<=R&&(ee<=j?ee=A._offset+2*I:oe&&(ee=R-ie)),re.attr("transform",u(te,ee)),re}var le=s.selectAll("g.hovertext").data(e,(function(e){return O(e)}));return le.enter().append("g").classed("hovertext",!0).each((function(){var e=o.select(this);e.append("rect").call(v.fill,v.addOpacity(l,.8)),e.append("text").classed("name",!0),e.append("path").style("stroke-width","1px"),e.append("text").classed("nums",!0).call(g.font,m,y)})),le.exit().remove(),le.each((function(e){var t=o.select(this).attr("transform",""),s=e.color;Array.isArray(s)&&(s=s[e.eventData[0].pointNumber]);var c=e.bgcolor||s,f=v.combine(v.opacity(c)?c:v.defaultLine,l),p=v.combine(v.opacity(s)?s:v.defaultLine,l),x=e.borderColor||v.contrast(f),b=P(e,N,a,n,L,t),_=b[0],w=b[1],k=t.select("text.nums").call(g.font,e.fontFamily||m,e.fontSize||y,e.fontColor||x).text(_).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r),M=t.select("text.name"),A=0,S=0;if(w&&w!==_){M.call(g.font,e.fontFamily||m,e.fontSize||y,p).text(w).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r);var O=M.node().getBoundingClientRect();A=O.width+2*I,S=O.height+2*I}else M.remove(),t.select("rect").remove();t.select("path").style({fill:f,stroke:x});var D,z,F=k.node().getBoundingClientRect(),H=e.xa._offset+(e.x0+e.x1)/2,B=e.ya._offset+(e.y0+e.y1)/2,U=Math.abs(e.x1-e.x0),q=Math.abs(e.y1-e.y0),V=F.width+C+I+A;if(e.ty0=j-F.top,e.bx=F.width+2*I,e.by=Math.max(F.height+2*I,S),e.anchor="start",e.txwidth=F.width,e.tx2width=A,e.offset=0,i)e.pos=H,D=B+q/2+V<=R,z=B-q/2-V>=0,"top"!==e.idealAlign&&D||!z?D?(B+=q/2,e.anchor="start"):e.anchor="middle":(B-=q/2,e.anchor="end");else if(e.pos=B,D=H+U/2+V<=E,z=H-U/2-V>=0,"left"!==e.idealAlign&&D||!z)if(D)H+=U/2,e.anchor="start";else{e.anchor="middle";var Y=V/2,G=H+Y-E,Z=H-Y;G>0&&(H-=G),Z<0&&(H+=-Z)}else H-=U/2,e.anchor="end";k.attr("text-anchor",e.anchor),A&&M.attr("text-anchor",e.anchor),t.attr("transform",u(H,B)+(i?d(T):""))})),le}function P(e,t,r,n,a,i){var o="",l="";void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&(e.trace._meta&&(e.name=c.templateString(e.name,e.trace._meta)),o=F(e.name,e.nameLength)),void 0!==e.zLabel?(void 0!==e.xLabel&&(l+="x: "+e.xLabel+"
"),void 0!==e.yLabel&&(l+="y: "+e.yLabel+"
"),"choropleth"!==e.trace.type&&"choroplethmapbox"!==e.trace.type&&(l+=(l?"z: ":"")+e.zLabel)):t&&e[r.charAt(0)+"Label"]===a?l=e[("x"===r.charAt(0)?"y":"x")+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&"scattercarpet"!==e.trace.type&&(l=e.yLabel):l=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",!e.text&&0!==e.text||Array.isArray(e.text)||(l+=(l?"
":"")+e.text),void 0!==e.extraText&&(l+=(l?"
":"")+e.extraText),i&&""===l&&!e.hovertemplate&&(""===o&&i.remove(),l=o);var s=n._d3locale,u=e.hovertemplate||!1,d=e.hovertemplateLabels||e,f=e.eventData[0]||{};return u&&(l=(l=c.hovertemplateString(u,d,s,f,e.trace._meta)).replace(D,(function(t,r){return o=F(r,e.nameLength),""}))),[l,o]}function j(e,t,r,n){var a=function(e){return e*r},i=function(e){return e*n};e.each((function(e){var r=o.select(this);if(e.del)return r.remove();var n=r.select("text.nums"),l=e.anchor,s="end"===l?-1:1,c={start:1,end:-1,middle:0}[l],u=c*(C+I),d=u+c*(e.txwidth+I),f=0,p=e.offset,v="middle"===l;v&&(u-=e.tx2width/2,d+=e.txwidth/2+I),t&&(p*=-L,f=e.offset*S),r.select("path").attr("d",v?"M-"+a(e.bx/2+e.tx2width/2)+","+i(p-e.by/2)+"h"+a(e.bx)+"v"+i(e.by)+"h-"+a(e.bx)+"Z":"M0,0L"+a(s*C+f)+","+i(C+p)+"v"+i(e.by/2-C)+"h"+a(s*e.bx)+"v-"+i(e.by)+"H"+a(s*C+f)+"V"+i(p-C)+"Z");var m=f+u,y=p+e.ty0-e.by/2+I,x=e.textAlign||"auto";"auto"!==x&&("left"===x&&"start"!==l?(n.attr("text-anchor","start"),m=v?-e.bx/2-e.tx2width/2+I:-e.bx-I):"right"===x&&"end"!==l&&(n.attr("text-anchor","end"),m=v?e.bx/2-e.tx2width/2-I:e.bx+I)),n.call(h.positionText,a(m),i(y)),e.tx2width&&(r.select("text.name").call(h.positionText,a(d+c*I+f),i(p+e.ty0-e.by/2+I)),r.select("rect").call(g.setRect,a(d+(c-1)*e.tx2width/2+f),i(p-e.by/2-1),a(e.tx2width),i(e.by+2)))}))}function E(e,t){var r=e.index,n=e.trace||{},a=e.cd[0],i=e.cd[r]||{};function o(e){return e||l(e)&&0===e}var s=Array.isArray(r)?function(e,t){var i=c.castOption(a,r,e);return o(i)?i:c.extractOption({},n,"",t)}:function(e,t){return c.extractOption(i,n,e,t)};function u(t,r,n){var a=s(r,n);o(a)&&(e[t]=a)}if(u("hoverinfo","hi","hoverinfo"),u("bgcolor","hbg","hoverlabel.bgcolor"),u("borderColor","hbc","hoverlabel.bordercolor"),u("fontFamily","htf","hoverlabel.font.family"),u("fontSize","hts","hoverlabel.font.size"),u("fontColor","htc","hoverlabel.font.color"),u("nameLength","hnl","hoverlabel.namelength"),u("textAlign","hta","hoverlabel.align"),e.posref="y"===t||"closest"===t&&"h"===n.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=c.constrain(e.x0,0,e.xa._length),e.x1=c.constrain(e.x1,0,e.xa._length),e.y0=c.constrain(e.y0,0,e.ya._length),e.y1=c.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel="xLabel"in e?e.xLabel:y.hoverLabelText(e.xa,e.xLabelVal),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel="yLabel"in e?e.yLabel:y.hoverLabelText(e.ya,e.yLabelVal),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!(isNaN(e.xerr)||"log"===e.xa.type&&e.xerr<=0)){var d=y.tickText(e.xa,e.xa.c2l(e.xerr),"hover").text;void 0!==e.xerrneg?e.xLabel+=" +"+d+" / -"+y.tickText(e.xa,e.xa.c2l(e.xerrneg),"hover").text:e.xLabel+=" ยฑ "+d,"x"===t&&(e.distance+=1)}if(!(isNaN(e.yerr)||"log"===e.ya.type&&e.yerr<=0)){var f=y.tickText(e.ya,e.ya.c2l(e.yerr),"hover").text;void 0!==e.yerrneg?e.yLabel+=" +"+f+" / -"+y.tickText(e.ya,e.ya.c2l(e.yerrneg),"hover").text:e.yLabel+=" ยฑ "+f,"y"===t&&(e.distance+=1)}var h=e.hoverinfo||e.trace.hoverinfo;return h&&"all"!==h&&(-1===(h=Array.isArray(h)?h:h.split("+")).indexOf("x")&&(e.xLabel=void 0),-1===h.indexOf("y")&&(e.yLabel=void 0),-1===h.indexOf("z")&&(e.zLabel=void 0),-1===h.indexOf("text")&&(e.text=void 0),-1===h.indexOf("name")&&(e.name=void 0)),e}function R(e,t,r){var n,a,i=r.container,o=r.fullLayout,l=o._size,c=r.event,u=!!t.hLinePoint,d=!!t.vLinePoint;if(i.selectAll(".spikeline").remove(),d||u){var f=v.combine(o.plot_bgcolor,o.paper_bgcolor);if(u){var h,p,m=t.hLinePoint;n=m&&m.xa,"cursor"===(a=m&&m.ya).spikesnap?(h=c.pointerX,p=c.pointerY):(h=n._offset+m.x,p=a._offset+m.y);var x,b,_=s.readability(m.color,f)<1.5?v.contrast(f):m.color,w=a.spikemode,k=a.spikethickness,T=a.spikecolor||_,M=y.getPxPosition(e,a);if(-1!==w.indexOf("toaxis")||-1!==w.indexOf("across")){if(-1!==w.indexOf("toaxis")&&(x=M,b=h),-1!==w.indexOf("across")){var A=a._counterDomainMin,S=a._counterDomainMax;"free"===a.anchor&&(A=Math.min(A,a.position),S=Math.max(S,a.position)),x=l.l+A*l.w,b=l.l+S*l.w}i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k,stroke:T,"stroke-dasharray":g.dashStyle(a.spikedash,k)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==w.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:M+("right"!==a.side?k:-k),cy:p,r:k,fill:T}).classed("spikeline",!0)}if(d){var L,C,I=t.vLinePoint;n=I&&I.xa,a=I&&I.ya,"cursor"===n.spikesnap?(L=c.pointerX,C=c.pointerY):(L=n._offset+I.x,C=a._offset+I.y);var O,D,z=s.readability(I.color,f)<1.5?v.contrast(f):I.color,P=n.spikemode,j=n.spikethickness,E=n.spikecolor||z,R=y.getPxPosition(e,n);if(-1!==P.indexOf("toaxis")||-1!==P.indexOf("across")){if(-1!==P.indexOf("toaxis")&&(O=R,D=C),-1!==P.indexOf("across")){var N=n._counterDomainMin,F=n._counterDomainMax;"free"===n.anchor&&(N=Math.min(N,n.position),F=Math.max(F,n.position)),O=l.t+(1-F)*l.h,D=l.t+(1-N)*l.h}i.insert("line",":first-child").attr({x1:L,x2:L,y1:O,y2:D,"stroke-width":j,stroke:E,"stroke-dasharray":g.dashStyle(n.spikedash,j)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:L,x2:L,y1:O,y2:D,"stroke-width":j+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==P.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:L,cy:R-("top"!==n.side?j:-j),r:j,fill:E}).classed("spikeline",!0)}}}function N(e,t){return!t||(t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint)}function F(e,t){return h.plainText(e||"",{len:t,allowedTags:["br","sub","sup","b","i","em"]})}})),i.register("7tQKZ",(function(e,t){"use strict";var r=i("3kB5v"),n="data-savedcursor";e.exports=function(e,t){var a=e.attr(n);if(t){if(!a){for(var i=(e.attr("class")||"").split(" "),o=0;o1);if(!1!==g||c.uirevision){var v=a.newContainer(t,"legend");if(_("uirevision",t.uirevision),!1!==g){_("bgcolor",t.paper_bgcolor),_("bordercolor"),_("borderwidth"),n.coerceFont(_,"font",t.font);var m,y,x,b=_("orientation");"h"===b?(m=0,r.getComponentMethod("rangeslider","isVisible")(e.xaxis)?(y=1.1,x="bottom"):(y=-.1,x="top")):(m=1.02,y=1,x="auto"),_("traceorder",f),s.isGrouped(t.legend)&&_("tracegroupgap"),_("itemsizing"),_("itemwidth"),_("itemclick"),_("itemdoubleclick"),_("x",m),_("xanchor"),_("y",y),_("yanchor",x),_("valign"),n.noneOrAll(c,v,["x","y"]),_("title.text")&&(_("title.side","h"===b?"left":"top"),n.coerceFont(_,"title.font",t.font))}}function _(e,t){return n.coerce(c,v,o,e,t)}}})),i.register("1rDLs",(function(e,t){"use strict";var r=i("10Nlb"),n=i("4f6io");e.exports={bgcolor:{valType:"color",role:"style",editType:"legend",description:["Sets the legend background color.","Defaults to `layout.paper_bgcolor`."].join(" ")},bordercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"legend",description:"Sets the color of the border enclosing the legend."},borderwidth:{valType:"number",min:0,dflt:0,role:"style",editType:"legend",description:"Sets the width (in px) of the border enclosing the legend."},font:r({editType:"legend",description:"Sets the font used to text the legend items."}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",role:"info",editType:"legend",description:"Sets the orientation of the legend."},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],role:"style",editType:"legend",description:["Determines the order at which the legend items are displayed.","If *normal*, the items are displayed top-to-bottom in the same","order as the input data.","If *reversed*, the items are displayed in the opposite order","as *normal*.","If *grouped*, the items are displayed in groups","(when a trace `legendgroup` is provided).","if *grouped+reversed*, the items are displayed in the opposite order","as *grouped*."].join(" ")},tracegroupgap:{valType:"number",min:0,dflt:10,role:"style",editType:"legend",description:["Sets the amount of vertical space (in px) between legend groups."].join(" ")},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",role:"style",editType:"legend",description:["Determines if the legend items symbols scale with their corresponding *trace* attributes","or remain *constant* independent of the symbol size on the graph."].join(" ")},itemwidth:{valType:"number",min:30,dflt:30,role:"style",editType:"legend",description:"Sets the width (in px) of the legend item symbols (the part other than the title.text)."},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",role:"info",editType:"legend",description:["Determines the behavior on legend item click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item click interactions."].join(" ")},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",role:"info",editType:"legend",description:["Determines the behavior on legend item double-click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item double-click interactions."].join(" ")},x:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the x position (in normalized coordinates) of the legend.","Defaults to *1.02* for vertical legends and","defaults to *0* for horizontal legends."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",editType:"legend",description:["Sets the legend's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the legend.","Value *auto* anchors legends to the right for `x` values greater than or equal to 2/3,","anchors legends to the left for `x` values less than or equal to 1/3 and","anchors legends with respect to their center otherwise."].join(" ")},y:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the y position (in normalized coordinates) of the legend.","Defaults to *1* for vertical legends,","defaults to *-0.1* for horizontal legends on graphs w/o range sliders and","defaults to *1.1* for horizontal legends on graph with one or multiple range sliders."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],role:"info",editType:"legend",description:["Sets the legend's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the legend.","Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,","anchors legends to at their top for `y` values greater than or equal to 2/3 and","anchors legends with respect to their middle otherwise."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of legend-driven changes in trace and pie label","visibility. Defaults to `layout.uirevision`."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"legend",description:["Sets the vertical alignment of the symbols with respect to their associated text."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"legend",description:["Sets the title of the legend."].join(" ")},font:r({editType:"legend",description:["Sets this legend's title font."].join(" ")}),side:{valType:"enumerated",values:["top","left","top left"],role:"style",editType:"legend",description:["Determines the location of legend's title","with respect to the legend items.","Defaulted to *top* with `orientation` is *h*.","Defaulted to *left* with `orientation` is *v*.","The *top left* options could be used to expand","legend area in both x and y sides."].join(" ")},editType:"legend"},editType:"legend"}})),i.register("64g8Y",(function(e,r){var n,a,i;t(e.exports,"isVertical",(()=>i),(e=>i=e)),t(e.exports,"isReversed",(()=>n),(e=>n=e)),t(e.exports,"isGrouped",(()=>a),(e=>a=e)),a=function(e){return-1!==(e.traceorder||"").indexOf("grouped")},i=function(e){return"h"!==e.orientation},n=function(e){return-1!==(e.traceorder||"").indexOf("reversed")}})),i.register("Zg88i",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY"),a=i("3BndS"),o=i("4Hxcc"),l=i("5yBVq"),s=i("NlhQs"),c=i("7jar4"),u=i("3N5m7"),d=i("49Q6h"),f=i("gz6YF"),h=i("2eUTF"),p=i("5n2uh"),g=p.LINE_SPACING,v=p.FROM_TL,m=p.FROM_BR,y=i("3ov00"),x=i("1RGiq"),b=i("64g8Y");function _(e,t,r,n,a){var i=r.data()[0][0].trace,s={event:a,node:r.node(),curveNumber:i.index,expandedIndex:i._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};if(i._group&&(s.group=i._group),o.traceIs(i,"pie-like")&&(s.label=r.datum()[0].label),!1!==l.triggerHandler(e,"plotly_legendclick",s))if(1===n)t._clickTimeout=setTimeout((function(){f(r,e,n)}),e._context.doubleClickDelay);else if(2===n){t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==l.triggerHandler(e,"plotly_legenddoubleclick",s)&&f(r,e,n)}}function w(e,t,r){var a,i=e.data()[0][0],l=i.trace,s=o.traceIs(l,"pie-like"),u=l.index,f=r._main&&t._context.edits.legendText&&!s,p=r._maxNameLength;r.entries?a=i.text:(a=s?i.label:l.name,l._meta&&(a=n.templateString(a,l._meta)));var g=n.ensureSingle(e,"text","legendtext");g.attr("text-anchor","start").call(c.font,r.font).text(f?k(a,p):a);var v=r.itemwidth+2*h.itemGap;d.positionText(g,v,0),f?g.call(d.makeEditable,{gd:t,text:a}).call(M,e,t,r).on("edit",(function(a){this.text(k(a,p)).call(M,e,t,r);var l=i.trace._fullInput||{},s={};if(o.hasTransform(l,"groupby")){var c=o.getTransformIndices(l,"groupby"),d=c[c.length-1],f=n.keyedContainer(l,"transforms["+d+"].styles","target","value.name");f.set(i.trace._group,a),s=f.constructUpdate()}else s.name=a;return o.call("_guiRestyle",t,s,u)})):M(g,e,t,r)}function k(e,t){var r=Math.max(4,t);if(e&&e.trim().length>=r/2)return e;for(var n=r-(e=e||"").length;n>0;n--)e+=" ";return e}function T(e,t){var a,i=t._context.doubleClickDelay,o=1,l=n.ensureSingle(e,"rect","legendtoggle",(function(e){t._context.staticPlot||e.style("cursor","pointer").attr("pointer-events","all"),e.call(u.fill,"rgba(0,0,0,0)")}));t._context.staticPlot||(l.on("mousedown",(function(){(a=(new Date).getTime())-t._legendMouseDownTimei&&(o=Math.max(o-1,1)),_(t,n,e,o,r.event)}})))}function M(e,t,r,n){n._main||e.attr("data-notex",!0),d.convertToTspans(e,r,(function(){!function(e,t,r){var n=e.data()[0][0];if(r._main&&n&&!n.trace.showlegend)return void e.remove();var a=e.select("g[class*=math-group]"),i=a.node();r||(r=t._fullLayout.legend);var o,l,s=r.borderwidth,u=(n?r:r.title).font.size*g;if(i){var f=c.bBox(i);o=f.height,l=f.width,n?c.setTranslate(a,0,.25*o):c.setTranslate(a,s,.75*o+s)}else{var p=e.select(n?".legendtext":".legendtitletext"),v=d.lineCount(p),m=p.node();o=u*v,l=m?c.bBox(m).width:0;var y=u*((v-1)/2-.3);if(n){var x=r.itemwidth+2*h.itemGap;d.positionText(p,x,-y)}else d.positionText(p,h.titlePad+s,u+s)}n?(n.lineHeight=u,n.height=Math.max(o,16)+3,n.width=l):(r._titleWidth=l,r._titleHeight=o)}(t,r,n)}))}function A(e){return n.isRightAnchor(e)?"right":n.isCenterAnchor(e)?"center":"left"}function S(e){return n.isBottomAnchor(e)?"bottom":n.isMiddleAnchor(e)?"middle":"top"}e.exports=function(e,t){var i,l=e._fullLayout,d="legend"+l._uid;if(t?(i=t.layer,d+="-hover"):((t=l.legend||{})._main=!0,i=l._infolayer),i){var f;if(e._legendMouseDownTime||(e._legendMouseDownTime=0),t._main){if(!e.calcdata)return;f=l.showlegend&&y(e.calcdata,t)}else{if(!t.entries)return;f=y(t.entries,t)}var p=l.hiddenlabels||[];if(t._main&&(!l.showlegend||!f.length))return i.selectAll(".legend").remove(),l._topdefs.select("#"+d).remove(),a.autoMargin(e,"legend");var g=n.ensureSingle(i,"g","legend",(function(e){t._main&&e.attr("pointer-events","all")})),k=n.ensureSingleById(l._topdefs,"clipPath",d,(function(e){e.append("rect")})),L=n.ensureSingle(g,"rect","bg",(function(e){e.attr("shape-rendering","crispEdges")}));L.call(u.stroke,t.bordercolor).call(u.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var C=n.ensureSingle(g,"g","scrollbox"),I=t.title;if(t._titleWidth=0,t._titleHeight=0,I.text){var O=n.ensureSingle(C,"text","legendtitletext");O.attr("text-anchor","start").call(c.font,I.font).text(I.text),M(O,C,e,t)}else C.selectAll(".legendtitletext").remove();var D=n.ensureSingle(g,"rect","scrollbar",(function(e){e.attr(h.scrollBarEnterAttrs).call(u.fill,h.scrollBarColor)})),z=C.selectAll("g.groups").data(f);z.enter().append("g").attr("class","groups"),z.exit().remove();var P=z.selectAll("g.traces").data(n.identity);P.enter().append("g").attr("class","traces"),P.exit().remove(),P.style("opacity",(function(e){var t=e[0].trace;return o.traceIs(t,"pie-like")?-1!==p.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1})).each((function(){r.select(this).call(w,e,t)})).call(x,e,t).each((function(){t._main&&r.select(this).call(T,e)})),n.syncOrAsync([a.previousPromises,function(){return function(e,t,n,a){var i=e._fullLayout;a||(a=i.legend);var o=i._size,l=b.isVertical(a),s=b.isGrouped(a),u=a.borderwidth,d=2*u,f=h.itemGap,p=a.itemwidth+2*f,g=2*(u+f),v=S(a),m=a.y<0||0===a.y&&"top"===v,y=a.y>1||1===a.y&&"bottom"===v;a._maxHeight=Math.max(m||y?i.height/2:o.h,30);var x=0;a._width=0,a._height=0;var _=function(e){var t=0,r=0,n=e.title.side;n&&(-1!==n.indexOf("left")&&(t=e._titleWidth),-1!==n.indexOf("top")&&(r=e._titleHeight));return[t,r]}(a);if(l)n.each((function(e){var t=e[0].height;c.setTranslate(this,u+_[0],u+_[1]+a._height+t/2+f),a._height+=t,a._width=Math.max(a._width,e[0].width)})),x=p+a._width,a._width+=f+p+d,a._height+=g,s&&(t.each((function(e,t){c.setTranslate(this,0,t*a.tracegroupgap)})),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var w=A(a),k=a.x<0||0===a.x&&"right"===w,T=a.x>1||1===a.x&&"left"===w,M=y||m,L=i.width/2;a._maxWidth=Math.max(k?M&&"left"===w?o.l+o.w:L:T?M&&"right"===w?o.r+o.w:L:o.w,2*p);var C=0,I=0;n.each((function(e){var t=e[0].width+p;C=Math.max(C,t),I+=t})),x=null;var O=0;if(s){var D=0,z=0,P=0;t.each((function(){var e=0,t=0;r.select(this).selectAll("g.traces").each((function(r){var n=r[0].height;c.setTranslate(this,_[0],_[1]+u+f+n/2+t),t+=n,e=Math.max(e,p+r[0].width)})),D=Math.max(D,t);var n=e+f;n+u+z>a._maxWidth&&(O=Math.max(O,z),z=0,P+=D+a.tracegroupgap,D=t),c.setTranslate(this,z,P),z+=n})),a._width=Math.max(O,z)+u,a._height=P+D+g}else{var j=n.size(),E=I+d+(j-1)*f=a._maxWidth&&(O=Math.max(O,H),N=0,F+=R,a._height+=R,R=0),c.setTranslate(this,_[0]+u+N,_[1]+u+F+t/2+f),H=N+r+f,N+=n,R=Math.max(R,t)})),E?(a._width=N+d,a._height=R+g):(a._width=Math.max(O,H)+d,a._height+=R+g)}}a._width=Math.ceil(Math.max(a._width+_[0],a._titleWidth+2*(u+h.titlePad))),a._height=Math.ceil(Math.max(a._height+_[1],a._titleHeight+2*(u+h.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var B=e._context.edits,U=B.legendText||B.legendPosition;n.each((function(e){var t=r.select(this).select(".legendtoggle"),n=e[0].height,a=U?p:x||p+e[0].width;l||(a+=f/2),c.setRect(t,0,-n/2,a,n)}))}(e,z,P,t)},function(){if(!t._main||!function(e){var t=e._fullLayout.legend,r=A(t),n=S(t);return a.autoMargin(e,"legend",{x:t.x,y:t.y,l:t._width*v[r],r:t._width*m[r],b:t._effHeight*m[n],t:t._effHeight*v[n]})}(e)){var u,f,p,y,x=l._size,b=t.borderwidth,w=x.l+x.w*t.x-v[A(t)]*t._width,T=x.t+x.h*(1-t.y)-v[S(t)]*t._effHeight;if(t._main&&l.margin.autoexpand){var M=w,I=T;w=n.constrain(w,0,l.width-t._width),T=n.constrain(T,0,l.height-t._effHeight),w!==M&&n.log("Constrain legend.x to make legend fit inside graph"),T!==I&&n.log("Constrain legend.y to make legend fit inside graph")}if(t._main&&c.setTranslate(g,w,T),D.on(".drag",null),g.on("wheel",null),!t._main||t._height<=t._maxHeight||e._context.staticPlot){var O=t._effHeight;t._main||(O=t._height),L.attr({width:t._width-b,height:O-b,x:b/2,y:b/2}),c.setTranslate(C,0,0),k.select("rect").attr({width:t._width-2*b,height:O-2*b,x:b,y:b}),c.setClipUrl(C,d,e),c.setRect(D,0,0,0,0),delete t._scrollY}else{var z,P,j,E=Math.max(h.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),R=t._effHeight-E-2*h.scrollBarMargin,N=t._height-t._effHeight,F=R/N,H=Math.min(t._scrollY||0,N);L.attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-b,x:b/2,y:b/2}),k.select("rect").attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-2*b,x:b,y:b+H}),c.setClipUrl(C,d,e),q(H,E,F),g.on("wheel",(function(){q(H=n.constrain(t._scrollY+r.event.deltaY/R*N,0,N),E,F),0!==H&&H!==N&&r.event.preventDefault()}));var B=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;z="touchstart"===e.type?e.changedTouches[0].clientY:e.clientY,j=H})).on("drag",(function(){var e,t=r.event.sourceEvent;2===t.buttons||t.ctrlKey||(P="touchmove"===t.type?t.changedTouches[0].clientY:t.clientY,e=(P-z)/F+j,q(H=n.constrain(e,0,N),E,F))}));D.call(B);var U=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;"touchstart"===e.type&&(z=e.changedTouches[0].clientY,j=H)})).on("drag",(function(){var e,t=r.event.sourceEvent;"touchmove"===t.type&&(P=t.changedTouches[0].clientY,e=(z-P)/F+j,q(H=n.constrain(e,0,N),E,F))}));C.call(U)}if(e._context.edits.legendPosition)g.classed("cursor-move",!0),s.init({element:g.node(),gd:e,prepFn:function(){var e=c.getTranslate(g);p=e.x,y=e.y},moveFn:function(e,r){var n=p+e,a=y+r;c.setTranslate(g,n,a),u=s.align(n,0,x.l,x.l+x.w,t.xanchor),f=s.align(a,0,x.t+x.h,x.t,t.yanchor)},doneFn:function(){void 0!==u&&void 0!==f&&o.call("_guiRelayout",e,{"legend.x":u,"legend.y":f})},clickFn:function(t,r){var n=i.selectAll("g.traces").filter((function(){var e=this.getBoundingClientRect();return r.clientX>=e.left&&r.clientX<=e.right&&r.clientY>=e.top&&r.clientY<=e.bottom}));n.size()>0&&_(e,g,n,t,r)}})}function q(r,n,a){t._scrollY=e._fullLayout.legend._scrollY=r,c.setTranslate(C,0,-r),c.setRect(D,t._width,h.scrollBarMargin+r*a,h.scrollBarWidth,n),k.select("rect").attr("y",b+r)}}],e)}}})),i.register("gz6YF",(function(e,t){"use strict";var r=i("1nIvY"),n=i("4Hxcc"),a=!0;e.exports=function(e,t,i){var o=t._fullLayout;if(!t._dragged&&!t._editing){var l,s=o.legend.itemclick,c=o.legend.itemdoubleclick;if(1===i&&"toggle"===s&&"toggleothers"===c&&a&&t.data&&t._context.showTips?(r.notifier(r._(t,"Double-click on legend to isolate one trace"),"long"),a=!1):a=!1,1===i?l=s:2===i&&(l=c),l){var u,d,f,h,p,g=o.hiddenlabels?o.hiddenlabels.slice():[],v=e.data()[0][0],m=t._fullData,y=v.trace,x=y.legendgroup,b={},_=[],w=[],k=[];if(n.traceIs(y,"pie-like")){var T=v.label,M=g.indexOf(T);"toggle"===l?-1===M?g.push(T):g.splice(M,1):"toggleothers"===l&&(g=[],t.calcdata[0].forEach((function(e){T!==e.label&&g.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===g.length&&-1===M&&(g=[])),n.call("_guiRelayout",t,"hiddenlabels",g)}else{var A,S=x&&x.length,L=[];if(S)for(u=0;u0))return 0;a=t.width}return v?n:Math.min(a,r)};function _(e,t,a){var i=e[0].trace,o=i.marker||{},l=o.line||{},c=a?i.visible&&i.type===a:n.traceIs(i,"bar"),u=r.select(t).select("g.legendpoints").selectAll("path.legend"+a).data(c?[e]:[]);u.enter().append("path").classed("legend"+a,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),u.exit().remove(),u.each((function(e){var t=r.select(this),n=e[0],a=b(n.mlw,o.line,5,2);t.style("stroke-width",a+"px").call(s.fill,n.mc||o.color),a&&s.stroke(t,n.mlc||l.color)}))}function w(e,t,i){var o=e[0],l=o.trace,s=i?l.visible&&l.type===i:n.traceIs(l,i),c=r.select(t).select("g.legendpoints").selectAll("path.legend"+i).data(s?[e]:[]);if(c.enter().append("path").classed("legend"+i,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),c.exit().remove(),c.size()){var u=(l.marker||{}).line,h=b(f(u.width,o.pts),u,5,2),p=a.minExtend(l,{marker:{line:{width:h}}});p.marker.line.color=u.color;var g=a.minExtend(o,{trace:p});d(c,g,p)}}e.each((function(e){var t=r.select(this),n=a.ensureSingle(t,"g","layers");n.style("opacity",e[0].trace.opacity);var l=i.valign,s=e[0].lineHeight,c=e[0].height;if("middle"!==l&&s&&c){var u={top:1,bottom:-1}[l]*(.5*(s-c+3));n.attr("transform",o(0,u))}else n.attr("transform",null);n.selectAll("g.legendfill").data([e]).enter().append("g").classed("legendfill",!0),n.selectAll("g.legendlines").data([e]).enter().append("g").classed("legendlines",!0);var d=n.selectAll("g.legendsymbols").data([e]);d.enter().append("g").classed("legendsymbols",!0),d.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)})).each((function(e){var n,i=e[0].trace,o=[];if(i.visible)switch(i.type){case"histogram2d":case"heatmap":o=[["M-15,-2V4H15V-2Z"]],n=!0;break;case"choropleth":case"choroplethmapbox":o=[["M-6,-6V6H6V-6Z"]],n=!0;break;case"densitymapbox":o=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],n="radial";break;case"cone":o=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],n=!1;break;case"streamtube":o=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],n=!1;break;case"surface":o=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],n=!0;break;case"mesh3d":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!1;break;case"volume":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!0;break;case"isosurface":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],n=!1}var u=r.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(o);u.enter().append("path").classed("legend3dandfriends",!0).attr("transform",x).style("stroke-miterlimit",1),u.exit().remove(),u.each((function(e,o){var u,d=r.select(this),f=c(i),h=f.colorscale,g=f.reversescale;if(h){if(!n){var v=h.length;u=0===o?h[g?v-1:0][1]:1===o?h[g?0:v-1][1]:h[Math.floor((v-1)/2)][1]}}else{var m=i.vertexcolor||i.facecolor||i.color;u=a.isArrayOrTypedArray(m)?m[o]||m[0]:m}d.attr("d",e[0]),u?d.call(s.fill,u):d.call((function(e){if(e.size()){var r="legendfill-"+i.uid;l.gradient(e,t,r,p(g,"radial"===n),h,"fill")}}))}))})).each((function(e){var t=e[0].trace,n="waterfall"===t.type;if(e[0]._distinct&&n){var a=e[0].trace[e[0].dir].marker;return e[0].mc=a.color,e[0].mlw=a.line.width,e[0].mlc=a.line.color,_(e,this,"waterfall")}var i=[];t.visible&&n&&(i=e[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var o=r.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(i);o.enter().append("path").classed("legendwaterfall",!0).attr("transform",x).style("stroke-miterlimit",1),o.exit().remove(),o.each((function(e){var n=r.select(this),a=t[e[0]].marker,i=b(void 0,a.line,5,2);n.attr("d",e[1]).style("stroke-width",i+"px").call(s.fill,a.color),i&&n.call(s.stroke,a.line.color)}))})).each((function(e){_(e,this,"funnel")})).each((function(e){_(e,this)})).each((function(e){var i=e[0].trace,o=r.select(this).select("g.legendpoints").selectAll("path.legendbox").data(i.visible&&n.traceIs(i,"box-violin")?[e]:[]);o.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),o.exit().remove(),o.each((function(){var e=r.select(this);if("all"!==i.boxpoints&&"all"!==i.points||0!==s.opacity(i.fillcolor)||0!==s.opacity((i.line||{}).color)){var n=b(void 0,i.line,5,2);e.style("stroke-width",n+"px").call(s.fill,i.fillcolor),n&&s.stroke(e,i.line.color)}else{var c=a.minExtend(i,{marker:{size:v?12:a.constrain(i.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});o.call(l.pointStyle,c,t)}}))})).each((function(e){w(e,this,"funnelarea")})).each((function(e){w(e,this,"pie")})).each((function(e){var n,i,o=e[0],s=o.trace,d=s.visible&&s.fill&&"none"!==s.fill,f=u.hasLines(s),h=s.contours,g=!1,v=!1,y=c(s),x=y.colorscale,_=y.reversescale;if(h){var w=h.coloring;"lines"===w?g=!0:f="none"===w||"heatmap"===w||h.showlines,"constraint"===h.type?d="="!==h._operation:"fill"!==w&&"heatmap"!==w||(v=!0)}var k=u.hasMarkers(s)||u.hasText(s),T=d||v,M=f||g,A=k||!T?"M5,0":M?"M5,-2":"M5,-3",S=r.select(this),L=S.select(".legendfill").selectAll("path").data(d||v?[e]:[]);if(L.enter().append("path").classed("js-fill",!0),L.exit().remove(),L.attr("d",A+"h"+m+"v6h-"+m+"z").call(d?l.fillGroupStyle:function(e){if(e.size()){var r="legendfill-"+s.uid;l.gradient(e,t,r,p(_),x,"fill")}}),f||g){var C=b(void 0,s.line,10,5);i=a.minExtend(s,{line:{width:C}}),n=[a.minExtend(o,{trace:i})]}var I=S.select(".legendlines").selectAll("path").data(f||g?[n]:[]);I.enter().append("path").classed("js-line",!0),I.exit().remove(),I.attr("d",A+(g?"l"+m+",0.0001":"h"+m)).call(f?l.lineGroupStyle:function(e){if(e.size()){var r="legendline-"+s.uid;l.lineGroupStyle(e),l.gradient(e,t,r,p(_),x,"stroke")}})})).each((function(e){var n,i,o=e[0],s=o.trace,c=u.hasMarkers(s),d=u.hasText(s),f=u.hasLines(s);function h(e,t,r,n){var i=a.nestedProperty(s,e).get(),o=a.isArrayOrTypedArray(i)&&t?t(i):i;if(v&&o&&void 0!==n&&(o=n),r){if(or[1])return r[1]}return o}function p(e){return o._distinct&&o.index&&e[o.index]?e[o.index]:e[0]}if(c||d||f){var g={},m={};if(c){g.mc=h("marker.color",p),g.mx=h("marker.symbol",p),g.mo=h("marker.opacity",a.mean,[.2,1]),g.mlc=h("marker.line.color",p),g.mlw=h("marker.line.width",a.mean,[0,5],2),m.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var y=h("marker.size",a.mean,[2,16],12);g.ms=y,m.marker.size=y}f&&(m.line={width:h("line.width",p,[0,10],5)}),d&&(g.tx="Aa",g.tp=h("textposition",p),g.ts=10,g.tc=h("textfont.color",p),g.tf=h("textfont.family",p)),n=[a.minExtend(o,g)],(i=a.minExtend(s,m)).selectedpoints=null,i.texttemplate=null}var b=r.select(this).select("g.legendpoints"),_=b.selectAll("path.scatterpts").data(c?n:[]);_.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",x),_.exit().remove(),_.call(l.pointStyle,i,t),c&&(n[0].mrc=3);var w=b.selectAll("g.pointtext").data(d?n:[]);w.enter().append("g").classed("pointtext",!0).append("text").attr("transform",x),w.exit().remove(),w.selectAll("text").call(l.textPointStyle,i,t)})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(t.visible&&"candlestick"===t.type?[e,e]:[]);n.enter().append("path").classed("legendcandle",!0).attr("d",(function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",x).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],o=b(void 0,i.line,5,2);a.style("stroke-width",o+"px").call(s.fill,i.fillcolor),o&&s.stroke(a,i.line.color)}))})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(t.visible&&"ohlc"===t.type?[e,e]:[]);n.enter().append("path").classed("legendohlc",!0).attr("d",(function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",x).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],o=b(void 0,i.line,5,2);a.style("fill","none").call(l.dashLine,i.line.dash,o),o&&s.stroke(a,i.line.color)}))}))}})),i.register("7832T",(function(e,t){"use strict";var r=i("3N5m7"),n=i("4Izpx").castOption;e.exports=function(e,t,a){var i=a.marker.line,o=n(i.color,t.pts)||r.defaultLine,l=n(i.width,t.pts)||0;e.style("stroke-width",l).call(r.fill,t.color).call(r.stroke,o)}})),i.register("4Izpx",(function(e,r){var n,a,o,l,s;t(e.exports,"getFirstFilled",(()=>n),(e=>n=e)),t(e.exports,"getRotationAngle",(()=>s),(e=>s=e)),t(e.exports,"formatPiePercent",(()=>a),(e=>a=e)),t(e.exports,"formatPieValue",(()=>l),(e=>l=e)),t(e.exports,"castOption",(()=>o),(e=>o=e));var c=i("1nIvY");function u(e){return-1!==e.indexOf("e")?e.replace(/[.]?0+e/,"e"):-1!==e.indexOf(".")?e.replace(/[.]?0+$/,""):e}a=function(e,t){var r=u((100*e).toPrecision(3));return c.numSeparate(r,t)+"%"},l=function(e,t){var r=u(e.toPrecision(10));return c.numSeparate(r,t)},n=function(e,t){if(Array.isArray(e))for(var r=0;r-1?o="closest":(t._isHoriz=function(e,t){for(var r=t._scatterStackOpts||{},n=0;n=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function N(e,t,r,n,a){return e.append("path").attr("class","zoombox").style({fill:t>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",s(r,n)).attr("d",a+"Z")}function F(e,t,r){return e.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",s(t,r)).attr("d","M0,0Z")}function H(e,t,r,n,a,i){e.attr("d",n+"M"+r.l+","+r.t+"v"+r.h+"h"+r.w+"v-"+r.h+"h-"+r.w+"Z"),B(e,t,a,i)}function B(e,t,r,n){r||(e.transition().style("fill",n>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}function U(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function q(e){O&&e.data&&e._context.showTips&&(l.notifier(l._(e,"Double-click to zoom back out"),"long"),O=!1)}function V(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,I)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}function Y(e,t,r,n,a){for(var i,o,s,c,u=!1,d={},f={},h=(a||{}).xaHash,p=(a||{}).yaHash,g=0;g=0)i._fullLayout._deactivateShape(i);else{var l=i._fullLayout.clickmode;if(U(i),2!==n||ve||function(){if(e._transitioningWithDuration)return;var t=e._context.doubleClick,r=[];ne&&(r=r.concat(X));ae&&(r=r.concat(Q));re.xaxes&&(r=r.concat(re.xaxes));re.yaxes&&(r=r.concat(re.yaxes));var n,a,i,l={};if("reset+autosize"===t)for(t="autosize",a=0;a-1&&A(a,i,X,Q,t.id,Ie),l.indexOf("event")>-1&&f.click(i,a,t.id);else if(1===n&&ve){var s=p?D:O,u="s"===p||"w"===v?0:1,d=s._name+".range["+u+"]",h=function(e,t){var n,a=e.range[t],i=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,r.format("."+n+"g")(Math.pow(10,a))):(n=Math.floor(Math.log(Math.abs(a))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(s,u),g="left",m="middle";if(s.fixedrange)return;p?(m="n"===p?"top":"bottom","right"===s.side&&(g="right")):"e"===v&&(g="right"),i._context.showAxisRangeEntryBoxes&&r.select(xe).call(c.makeEditable,{gd:i,immediate:!0,background:i._fullLayout.paper_bgcolor,text:String(h),fill:s.tickfont?s.tickfont.color:"#444",horizontalAlign:g,verticalAlign:m}).on("edit",(function(e){var t=s.d2r(e);void 0!==t&&o.call("_guiRelayout",i,d,t)}))}}}function ze(t,r){if(e._transitioningWithDuration)return!1;var n=Math.max(0,Math.min($,fe*t+be)),a=Math.max(0,Math.min(ee,he*r+_e)),i=Math.abs(n-be),o=Math.abs(a-_e);function l(){Ae="",we.r=we.l,we.t=we.b,Le.attr("d","M0,0Z")}if(we.l=Math.min(be,n),we.r=Math.max(be,n),we.t=Math.min(_e,a),we.b=Math.max(_e,a),te.isSubplotConstrained)i>I||o>I?(Ae="xy",i/$>o/ee?(o=i*ee/$,_e>a?we.t=_e-o:we.b=_e+o):(i=o*$/ee,be>n?we.l=be-i:we.r=be+i),Le.attr("d",V(we))):l();else if(re.isSubplotConstrained)if(i>I||o>I){Ae="xy";var s=Math.min(we.l/$,(ee-we.b)/ee),c=Math.max(we.r/$,(ee-we.t)/ee);we.l=s*$,we.r=c*$,we.b=(1-s)*ee,we.t=(1-c)*ee,Le.attr("d",V(we))}else l();else!ae||o0){var u;if(re.isSubplotConstrained||!ne&&1===ae.length){for(u=0;ui),(e=>i=e)),t(e.exports,"openMode",(()=>a),(e=>a=e)),t(e.exports,"rectMode",(()=>o),(e=>o=e)),t(e.exports,"freeMode",(()=>n),(e=>n=e)),t(e.exports,"selectingOrDrawing",(()=>l),(e=>l=e)),t(e.exports,"selectMode",(()=>s),(e=>s=e)),s=function(e){return"lasso"===e||"select"===e},i=function(e){return"drawclosedpath"===e||"drawopenpath"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},a=function(e){return"drawline"===e||"drawopenpath"===e},o=function(e){return"select"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},n=function(e){return"lasso"===e||"drawclosedpath"===e||"drawopenpath"===e},l=function(e){return n(e)||o(e)}})),i.register("34rTi",(function(e,t){"use strict";e.exports=function(e){var t=e._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each((function(e){e.regl&&e.regl.clear({color:!0,depth:!0})}))}})),i.register("4wnLB",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v,m;t(e.exports,"redrawReglTraces",(()=>d),(e=>d=e)),t(e.exports,"layoutStyles",(()=>o),(e=>o=e)),t(e.exports,"layoutReplot",(()=>c),(e=>c=e)),t(e.exports,"drawData",(()=>n),(e=>n=e)),t(e.exports,"doAutoRangeAndConstraints",(()=>f),(e=>f=e)),t(e.exports,"finalDraw",(()=>h),(e=>h=e)),t(e.exports,"doLegend",(()=>u),(e=>u=e)),t(e.exports,"doColorBars",(()=>a),(e=>a=e)),t(e.exports,"doTraceStyle",(()=>p),(e=>p=e)),t(e.exports,"doTicksRelayout",(()=>m),(e=>m=e)),t(e.exports,"doModeBar",(()=>g),(e=>g=e)),t(e.exports,"doCamera",(()=>v),(e=>v=e)),t(e.exports,"drawMarginPushers",(()=>l),(e=>l=e)),t(e.exports,"drawMainTitle",(()=>s),(e=>s=e));var y=i("4Wia9"),x=i("4Hxcc"),b=i("3BndS"),_=i("1nIvY"),w=i("34rTi"),k=i("3N5m7"),T=i("7jar4"),M=i("4m0W1"),A=i("1N5Ij"),S=i("1nE8l"),L=i("5n2uh"),C=i("6SFfg"),I=C.enforce,O=C.clean,D=i("7vf7z").doAutoRange,z="start",P="middle",j="end";function E(e,t,r){for(var n=0;n=e[1]||a[1]<=e[0])&&(i[0]t[0]))return!0}return!1}function R(e){var t,r,n,a,i,o,l=e._fullLayout,c=l._size,u=c.p,d=S.list(e,"",!0);if(l._paperdiv.style({width:e._context.responsive&&l.autosize&&!e._context._hasZeroWidth&&!e.layout.width?"100%":l.width+"px",height:e._context.responsive&&l.autosize&&!e._context._hasZeroHeight&&!e.layout.height?"100%":l.height+"px"}).selectAll(".main-svg").call(T.setSize,l.width,l.height),e._context.setBackground(e,l.paper_bgcolor),s(e),A.manage(e),!l._has("cartesian"))return b.previousPromises(e);function f(e,t,r){var n=e._lw/2;return"x"===e._id.charAt(0)?t?"top"===r?t._offset-u-n:t._offset+t._length+u+n:c.t+c.h*(1-(e.position||0))+n%1:t?"right"===r?t._offset+t._length+u+n:t._offset-u-n:c.l+c.w*(e.position||0)+n%1}for(t=0;tn),(e=>n=e)),n=i("6hgLL")})),i.register("6hgLL",(function(e,t){"use strict";var r=i("22HUI"),n=i("5EGfs"),a=i("4Hxcc"),o=i("2MtC7").isUnifiedHover,l=i("7alov"),s=i("5Nr3A");e.exports=function(e){var t=e._fullLayout,i=e._context,u=t._modeBar;if(i.displayModeBar||i.watermark){if(!Array.isArray(i.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(i.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var d,f=i.modeBarButtons;d=Array.isArray(f)&&f.length?function(e){for(var t=0;t1?(L=["toggleHover"],C=["resetViews"]):p?(S=["zoomInGeo","zoomOutGeo"],L=["hoverClosestGeo"],C=["resetGeo"]):h?(L=["hoverClosest3d"],C=["resetCameraDefault3d","resetCameraLastSave3d"]):x?(S=["zoomInMapbox","zoomOutMapbox"],L=["toggleHover"],C=["resetViewMapbox"]):m?L=["hoverClosestGl2d"]:g?L=["hoverClosestPie"]:_?(L=["hoverClosestCartesian","hoverCompareCartesian"],C=["resetViewSankey"]):L=["toggleHover"];f&&(L=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]);(function(e){for(var t=0;tplotly-logomark"}}})),i.register("5Nr3A",(function(e,t){"use strict";var r=i("4Hxcc"),n=i("3BndS"),a=i("22HUI"),o=i("7KALf"),l=i("2zBj0").eraseActiveShape,s=i("1nIvY"),c=s._,u=e.exports={};function d(e,t){var n,i,o=t.currentTarget,l=o.getAttribute("data-attr"),s=o.getAttribute("data-val")||!0,c=e._fullLayout,u={},d=a.list(e,null,!0),f=c._cartesianSpikesEnabled;if("zoom"===l){var h,p="in"===s?.5:2,g=(1+p)/2,v=(1-p)/2;for(i=0;iP&&i>j&&!r.shiftKey?f.getCursor(o/a,1-l/i):"move";h(t,s),z=s.split("-")[0]}}function ee(r){m(e)||(E&&(x=Y(i.xanchor)),R&&(k=G(i.yanchor)),"path"===i.type?D=i.path:(c=E?i.x0:Y(i.x0),d=R?i.y0:G(i.y0),v=E?i.x1:Y(i.x1),y=R?i.y1:G(i.y1)),cy?(T=d,L="y0",M=y,C="y1"):(T=y,L="y1",M=d,C="y0"),$(r),ie(l,i),le(t,i,e),Q.moveFn="move"===z?ne:ae,Q.altKey=r.altKey)}function te(){m(e)||(h(t),oe(l),b(t,e,i),r.call("_guiRelayout",e,s.getUpdateObj()))}function re(){m(e)||oe(l)}function ne(r,n){if("path"===i.type){var a=function(e){return e},o=a,s=a;E?H("xanchor",i.xanchor=Z(x+r)):(o=function(e){return Z(Y(e)+r)},B&&"date"===B.type&&(o=g.encodeDate(o))),R?H("yanchor",i.yanchor=W(k+n)):(s=function(e){return W(G(e)+n)},q&&"date"===q.type&&(s=g.encodeDate(s))),H("path",i.path=w(D,o,s))}else E?H("xanchor",i.xanchor=Z(x+r)):(H("x0",i.x0=Z(c+r)),H("x1",i.x1=Z(v+r))),R?H("yanchor",i.yanchor=W(k+n)):(H("y0",i.y0=W(d+n)),H("y1",i.y1=W(y+n)));t.attr("d",_(e,i)),ie(l,i)}function ae(r,n){if(F){var a=function(e){return e},o=a,s=a;E?H("xanchor",i.xanchor=Z(x+r)):(o=function(e){return Z(Y(e)+r)},B&&"date"===B.type&&(o=g.encodeDate(o))),R?H("yanchor",i.yanchor=W(k+n)):(s=function(e){return W(G(e)+n)},q&&"date"===q.type&&(s=g.encodeDate(s))),H("path",i.path=w(D,o,s))}else if(N){if("resize-over-start-point"===z){var u=c+r,f=R?d-n:d+n;H("x0",i.x0=E?u:Z(u)),H("y0",i.y0=R?f:W(f))}else if("resize-over-end-point"===z){var h=v+r,p=R?y-n:y+n;H("x1",i.x1=E?h:Z(h)),H("y1",i.y1=R?p:W(p))}}else{var m=function(e){return-1!==z.indexOf(e)},b=m("n"),U=m("s"),V=m("w"),X=m("e"),Q=b?T+n:T,J=U?M+n:M,K=V?A+r:A,$=X?S+r:S;R&&(b&&(Q=T-n),U&&(J=M-n)),(!R&&J-Q>j||R&&Q-J>j)&&(H(L,i[L]=R?Q:W(Q)),H(C,i[C]=R?J:W(J))),$-K>P&&(H(I,i[I]=E?K:Z(K)),H(O,i[O]=E?$:Z($)))}t.attr("d",_(e,i)),ie(l,i)}function ie(e,t){function r(){var r="path"!==t.type,a=e.selectAll(".visual-cue").data([0]),i=1;a.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":i}).classed("visual-cue",!0);var o=Y(E?t.xanchor:n.midRange(r?[t.x0,t.x1]:g.extractPathCoords(t.path,p.paramIsX))),l=G(R?t.yanchor:n.midRange(r?[t.y0,t.y1]:g.extractPathCoords(t.path,p.paramIsY)));if(o=g.roundPositionForSharpStrokeRendering(o,i),l=g.roundPositionForSharpStrokeRendering(l,i),E&&R){var s="M"+(o-1-i)+","+(l-1-i)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";a.attr("d",s)}else if(E){var c="M"+(o-1-i)+","+(l-9-i)+"v18 h2 v-18 Z";a.attr("d",c)}else{var u="M"+(o-9-i)+","+(l-1-i)+"h18 v2 h-18 Z";a.attr("d",u)}}(E||R)&&r()}function oe(e){e.selectAll(".visual-cue").remove()}function le(e,t,r){var n=t.xref,i=t.yref,o=a.getFromId(r,n),l=a.getFromId(r,i),s="";"paper"===n||o.autorange||(s+=n),"paper"===i||l.autorange||(s+=i),u.setClipUrl(e,s?"clip"+r._fullLayout._uid+s:null,r)}f.init(Q),X.node().onmousemove=$}(e,P,s,t,i,z):!0===s.editable&&P.style("pointer-events",O||c.opacity(S)*A<=.5?"stroke":"all");P.node().addEventListener("click",(function(){return function(e,t){if(!y(e))return;var r=+t.node().getAttribute("data-index");if(r>=0){if(r===e._fullLayout._activeShapeIndex)return void k(e);e._fullLayout._activeShapeIndex=r,e._fullLayout._deactivateShape=k,v(e)}}(e,P)}))}}function b(e,t,r){var n=(r.xref+r.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(e,n?"clip"+t._fullLayout._uid+n:null,t)}function _(e,t){var r,i,o,l,s,c,u,d,f=t.type,h=a.getRefType(t.xref),v=a.getRefType(t.yref),m=a.getFromId(e,t.xref),y=a.getFromId(e,t.yref),x=e._fullLayout._size;if(m?"domain"===h?i=function(e){return m._offset+m._length*e}:(r=g.shapePositionToRange(m),i=function(e){return m._offset+m.r2p(r(e,!0))}):i=function(e){return x.l+x.w*e},y?"domain"===v?l=function(e){return y._offset+y._length*(1-e)}:(o=g.shapePositionToRange(y),l=function(e){return y._offset+y.r2p(o(e,!0))}):l=function(e){return x.t+x.h*(1-e)},"path"===f)return m&&"date"===m.type&&(i=g.decodeDate(i)),y&&"date"===y.type&&(l=g.decodeDate(l)),function(e,t,r){var a=e.path,i=e.xsizemode,o=e.ysizemode,l=e.xanchor,s=e.yanchor;return a.replace(p.segmentRE,(function(e){var a=0,c=e.charAt(0),u=p.paramIsX[c],d=p.paramIsY[c],f=p.numParams[c],h=e.substr(1).replace(p.paramRE,(function(e){return u[a]?e="pixel"===i?t(l)+Number(e):t(e):d[a]&&(e="pixel"===o?r(s)-Number(e):r(e)),++a>f&&(e="X"),e}));return a>f&&(h=h.replace(/[\s,]*X.*/,""),n.log("Ignoring extra params in segment "+e)),c+h}))}(t,i,l);if("pixel"===t.xsizemode){var b=i(t.xanchor);s=b+t.x0,c=b+t.x1}else s=i(t.x0),c=i(t.x1);if("pixel"===t.ysizemode){var _=l(t.yanchor);u=_-t.y0,d=_-t.y1}else u=l(t.y0),d=l(t.y1);if("line"===f)return"M"+s+","+u+"L"+c+","+d;if("rect"===f)return"M"+s+","+u+"H"+c+"V"+d+"H"+s+"Z";var w=(s+c)/2,k=(u+d)/2,T=Math.abs(w-s),M=Math.abs(k-u),A="A"+T+","+M,S=w+T+","+k;return"M"+S+A+" 0 1,1 "+(w+","+(k-M))+A+" 0 0,1 "+S+"Z"}function w(e,t,r){return e.replace(p.segmentRE,(function(e){var n=0,a=e.charAt(0),i=p.paramIsX[a],o=p.paramIsY[a],l=p.numParams[a];return a+e.substr(1).replace(p.paramRE,(function(e){return n>=l||(i[n]?e=t(e):o[n]&&(e=r(e)),n++),e}))}))}function k(e){y(e)&&(e._fullLayout._activeShapeIndex>=0&&(s(e),delete e._fullLayout._activeShapeIndex,v(e)))}e.exports={draw:v,drawOne:x,eraseActiveShape:function(e){if(!y(e))return;s(e);var t=e._fullLayout._activeShapeIndex,n=(e.layout||{}).shapes||[];if(tl),(e=>l=e)),t(e.exports,"pointsShapeEllipse",(()=>c),(e=>c=e)),t(e.exports,"readPaths",(()=>o),(e=>o=e)),t(e.exports,"pointsShapeRectangle",(()=>a),(e=>a=e)),t(e.exports,"handleEllipse",(()=>s),(e=>s=e)),t(e.exports,"ellipseOver",(()=>n),(e=>n=e));var u=i("2zUNe"),d=i("7uwNx"),f=d.CIRCLE_SIDES,h=d.SQRT2,p=i("6JNER"),g=p.p2r,v=p.r2p,m=[0,3,4,5,6,1,2],y=[0,3,4,1,2];function x(e,t){return Math.abs(e-t)<=1e-6}function b(e,t){var r=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+n*n)}l=function(e){var t=e.length;if(!t)return"M0,0Z";for(var r="",n=0;n0&&s2&&(t.push([n].concat(i.splice(0,2))),o="l",n="m"==n?"l":"L");;){if(i.length==r[o])return i.unshift(n),t.push(i);if(i.length=0&&d(m),i.attr("d",g(t)),M&&!f)&&(T=function(e,t){for(var r=0;r1&&(2!==e.length||"Z"!==e[1][0])&&(0===k&&(e[0][0]="M"),t[w]=e,y(),x())}}()}}function D(e,r){!function(e,r){if(t.length)for(var n=0;nf),(e=>f=e)),t(e.exports,"encodeDate",(()=>d),(e=>d=e)),t(e.exports,"decodeDate",(()=>u),(e=>u=e)),t(e.exports,"roundPositionForSharpStrokeRendering",(()=>s),(e=>s=e)),t(e.exports,"shapePositionToRange",(()=>c),(e=>c=e)),t(e.exports,"rangeToShapePosition",(()=>a),(e=>a=e)),t(e.exports,"extractPathCoords",(()=>n),(e=>n=e)),t(e.exports,"getPixelToData",(()=>l),(e=>l=e)),t(e.exports,"getDataToPixel",(()=>o),(e=>o=e));var h=i("fN6X1"),p=i("1nIvY");a=function(e){return"log"===e.type?e.r2d:function(e){return e}},c=function(e){return"log"===e.type?e.d2r:function(e){return e}},u=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},d=function(e){return function(t){return e(t).replace(" ","_")}},n=function(e,t){var r=[];return e.match(h.segmentRE).forEach((function(e){var n=t[e.charAt(0)].drawn;if(void 0!==n){var a=e.substr(1).match(h.paramRE);!a||a.lengtho),(e=>o=e)),t(e.exports,"handleDefaults",(()=>l),(e=>l=e)),t(e.exports,"getAxisGroup",(()=>n),(e=>n=e)),t(e.exports,"enforce",(()=>a),(e=>a=e));var s=i("1nIvY"),c=i("7vf7z"),u=i("22HUI").id2name,d=i("1bJQq"),f=i("2OLXb"),h=i("7cQhP"),p=i("10TEj").ALMOST_EQUAL,g=i("5n2uh").FROM_BL;function v(e,t,r){var n=r.axIds,a=r.layoutOut,i=r.hasImage,o=a._axisConstraintGroups,l=a._axisMatchGroups,c=t._id,f=c.charAt(0),h=((a._splomAxes||{})[f]||{})[c]||{},p=t._id,g="x"===p.charAt(0);function v(r,n){return s.coerce(e,t,d,r,n)}t._matchGroup=null,t._constraintGroup=null,v("constrain",i?"domain":"range"),s.coerce(e,t,{constraintoward:{valType:"enumerated",values:g?["left","center","right"]:["bottom","middle","top"],dflt:g?"center":"middle"}},"constraintoward");var b,_,w=t.type,k=[];for(b=0;bn?a.substr(n):i.substr(r))+o:a+i+e*t:o}function _(e,t){for(var r=t._size,n=r.h/r.w,a={},i=Object.keys(e),o=0;op*m)||k)for(r=0;rz&&RO&&(O=R);s/=(O-I)/(2*D),I=i.l2r(I),O=i.l2r(O),i.range=i._input.range=S-1,b=[];if(function(e){return e&&Array.isArray(e)&&!0!==e[0].hoverOnBox}(y)){R(e,t,i);var _=function(e,t){var r,n,a=e[0],i=-1,o=[];for(n=0;n0?function(e,t){var r,n,a,i=[];for(a=0;a0&&i.push(r);if(1===i.length&&i[0]===t.searchInfo&&(n=t.searchInfo.cd[0].trace).selectedpoints.length===t.pointNumbers.length){for(a=0;a1)return!1;if((n+=t.selectedpoints.length)>1)return!1}return 1===n}(l)&&(f=H(_))){for(o&&o.remove(),m=0;m=0&&a._fullLayout._deactivateShape(a),f(t)){var i=a._fullLayout._zoomlayer.selectAll(".select-outline-"+r.id);if(i&&a._fullLayout._drawing){var o=m(i,e);o&&n.call("_guiRelayout",a,{shapes:o}),a._fullLayout._drawing=!1}}r.selection={},r.selection.selectionDefs=e.selectionDefs=[],r.selection.mergedPolygons=e.mergedPolygons=[]}function F(e,t,r,n){var a,i,o,l=[],s=t.map((function(e){return e._id})),c=r.map((function(e){return e._id}));for(o=0;o0?n[0]:r;return!!t.selectedpoints&&t.selectedpoints.indexOf(a)>-1}function B(e,t,r){var a,i,o,l;for(a=0;a=0)C._fullLayout._deactivateShape(C);else if(!_){var r=P.clickmode;b.done(ge).then((function(){if(b.clear(ge),2===e){for(de.remove(),$=0;$-1&&z(t,C,i.xaxes,i.yaxes,i.subplot,i,de),"event"===r&&C.emit("plotly_selected",void 0);l.click(C,t)})).catch(y.error)}},i.doneFn=function(){pe.remove(),b.done(ge).then((function(){b.clear(ge),i.gd.emit("plotly_selected",te),K&&i.selectionDefs&&(K.subtract=ue,i.selectionDefs.push(K),i.mergedPolygons.length=0,[].push.apply(i.mergedPolygons,J)),i.doneFnCompleted&&i.doneFnCompleted(ve)})).catch(y.error),_&&N(i)}},clearSelect:L,clearSelectionsCache:N,selectOnClick:z}})),i.register("6yBJp",(function(e,t){var r,n=i("1u60H"),a=i("ZBoaZ"),o=i("2Sjtx"),l=i("4kIhQ"),s=i("4bxXj"),c=i("5A95j"),u=!1,d=a();function f(e,t,n){var a=r.segments(e),i=r.segments(t),o=n(r.combine(a,i));return r.polygon(o)}r={buildLog:function(e){return!0===e?u=n():!1===e&&(u=!1),!1!==u&&u.list},epsilon:function(e){return d.epsilon(e)},segments:function(e){var t=o(!0,d,u);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){return{combined:o(!1,d,u).calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:s.union(e.combined,u),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:s.intersect(e.combined,u),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:s.difference(e.combined,u),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:s.differenceRev(e.combined,u),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:s.xor(e.combined,u),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:l(e.segments,d,u),inverted:e.inverted}},polygonFromGeoJSON:function(e){return c.toPolygon(r,e)},polygonToGeoJSON:function(e){return c.fromPolygon(r,d,e)},union:function(e,t){return f(e,t,r.selectUnion)},intersect:function(e,t){return f(e,t,r.selectIntersect)},difference:function(e,t){return f(e,t,r.selectDifference)},differenceRev:function(e,t){return f(e,t,r.selectDifferenceRev)},xor:function(e,t){return f(e,t,r.selectXor)}},"object"==typeof window&&(window.PolyBool=r),e.exports=r})),i.register("1u60H",(function(e,t){e.exports=function(){var e,t=0,r=!1;function n(t,r){return e.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return n("check",{seg1:e,seg2:t})},segmentChop:function(e,t){return n("div_seg",{seg:e,pt:t}),n("chop",{seg:e,pt:t})},statusRemove:function(e){return n("pop_seg",{seg:e})},segmentUpdate:function(e){return n("seg_update",{seg:e})},segmentNew:function(e,t){return n("new_seg",{seg:e,primary:t})},segmentRemove:function(e){return n("rem_seg",{seg:e})},tempStatus:function(e,t,r){return n("temp_status",{seg:e,above:t,below:r})},rewind:function(e){return n("rewind",{seg:e})},status:function(e,t,r){return n("status",{seg:e,above:t,below:r})},vert:function(t){return t===r?e:(r=t,n("vert",{x:t}))},log:function(e){return"string"!=typeof e&&(e=JSON.stringify(e,!1," ")),n("log",{txt:e})},reset:function(){return n("reset")},selected:function(e){return n("selected",{segs:e})},chainStart:function(e){return n("chain_start",{seg:e})},chainRemoveHead:function(e,t){return n("chain_rem_head",{index:e,pt:t})},chainRemoveTail:function(e,t){return n("chain_rem_tail",{index:e,pt:t})},chainNew:function(e,t){return n("chain_new",{pt1:e,pt2:t})},chainMatch:function(e){return n("chain_match",{index:e})},chainClose:function(e){return n("chain_close",{index:e})},chainAddHead:function(e,t){return n("chain_add_head",{index:e,pt:t})},chainAddTail:function(e,t){return n("chain_add_tail",{index:e,pt:t})},chainConnect:function(e,t){return n("chain_con",{index1:e,index2:t})},chainReverse:function(e){return n("chain_rev",{index:e})},chainJoin:function(e,t){return n("chain_join",{index1:e,index2:t})},done:function(){return n("done")}}}})),i.register("ZBoaZ",(function(e,t){e.exports=function(e){"number"!=typeof e&&(e=1e-10);var t={epsilon:function(t){return"number"==typeof t&&(e=t),e},pointAboveOrOnLine:function(t,r,n){var a=r[0],i=r[1],o=n[0],l=n[1],s=t[0];return(o-a)*(t[1]-i)-(l-i)*(s-a)>=-e},pointBetween:function(t,r,n){var a=t[1]-r[1],i=n[0]-r[0],o=t[0]-r[0],l=n[1]-r[1],s=o*i+a*l;return!(s-e)},pointsSameX:function(t,r){return Math.abs(t[0]-r[0])e!=o-a>e&&(i-c)*(a-u)/(o-u)+c-n>e&&(l=!l),i=c,o=u}return l}};return t}})),i.register("2Sjtx",(function(e,t){var r=i("6XBww");e.exports=function(e,t,n){function a(e,t,r){return{id:n?n.segmentId():-1,start:e,end:t,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var i=r.create();function o(e,r){i.insertBefore(e,(function(n){return function(e,r,n,a,i,o){var l=t.pointsCompare(r,i);return 0!==l?l:t.pointsSame(n,o)?0:e!==a?e?1:-1:t.pointAboveOrOnLine(n,a?i:o,a?o:i)?1:-1}(e.isStart,e.pt,r,n.isStart,n.pt,n.other.pt)<0}))}function l(e,t){var n=function(e,t){var n=r.node({isStart:!0,pt:e.start,seg:e,primary:t,other:null,status:null});return o(n,e.end),n}(e,t);return function(e,t,n){var a=r.node({isStart:!1,pt:t.end,seg:t,primary:n,other:e,status:null});e.other=a,o(a,e.pt)}(n,e,t),n}function s(e,t){var r=a(t,e.seg.end,e.seg);return function(e,t){n&&n.segmentChop(e.seg,t),e.other.remove(),e.seg.end=t,e.other.pt=t,o(e.other,e.pt)}(e,t),l(r,e.primary)}function c(a,o){var l=r.create();function c(e){return l.findTransition((function(r){var n,a,i,o,l,s;return(n=e,a=r.ev,i=n.seg.start,o=n.seg.end,l=a.seg.start,s=a.seg.end,t.pointsCollinear(i,l,s)?t.pointsCollinear(o,l,s)||t.pointAboveOrOnLine(o,l,s)?1:-1:t.pointAboveOrOnLine(i,l,s)?1:-1)>0}))}function u(e,r){var a=e.seg,i=r.seg,o=a.start,l=a.end,c=i.start,u=i.end;n&&n.checkIntersection(a,i);var d=t.linesIntersect(o,l,c,u);if(!1===d){if(!t.pointsCollinear(o,l,c))return!1;if(t.pointsSame(o,u)||t.pointsSame(l,c))return!1;var f=t.pointsSame(o,c),h=t.pointsSame(l,u);if(f&&h)return r;var p=!f&&t.pointBetween(o,c,u),g=!h&&t.pointBetween(l,c,u);if(f)return g?s(r,l):s(e,u),r;p&&(h||(g?s(r,l):s(e,u)),s(r,o))}else 0===d.alongA&&(-1===d.alongB?s(e,c):0===d.alongB?s(e,d.pt):1===d.alongB&&s(e,u)),0===d.alongB&&(-1===d.alongA?s(r,o):0===d.alongA?s(r,d.pt):1===d.alongA&&s(r,l));return!1}for(var d=[];!i.isEmpty();){var f=i.getHead();if(n&&n.vert(f.pt[0]),f.isStart){n&&n.segmentNew(f.seg,f.primary);var h=c(f),p=h.before?h.before.ev:null,g=h.after?h.after.ev:null;function v(){if(p){var e=u(f,p);if(e)return e}return!!g&&u(f,g)}n&&n.tempStatus(f.seg,!!p&&p.seg,!!g&&g.seg);var m=v();if(m){var y;if(e)(y=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below)&&(m.seg.myFill.above=!m.seg.myFill.above);else m.seg.otherFill=f.seg.myFill;n&&n.segmentUpdate(m.seg),f.other.remove(),f.remove()}if(i.getHead()!==f){n&&n.rewind(f.seg);continue}if(e)y=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below,f.seg.myFill.below=g?g.seg.myFill.above:a,f.seg.myFill.above=y?!f.seg.myFill.below:f.seg.myFill.below;else if(null===f.seg.otherFill){var x;x=g?f.primary===g.primary?g.seg.otherFill.above:g.seg.myFill.above:f.primary?o:a,f.seg.otherFill={above:x,below:x}}n&&n.status(f.seg,!!p&&p.seg,!!g&&g.seg),f.other.status=h.insert(r.node({ev:f}))}else{var b=f.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(l.exists(b.prev)&&l.exists(b.next)&&u(b.prev.ev,b.next.ev),n&&n.statusRemove(b.ev.seg),b.remove(),!f.primary){var _=f.seg.myFill;f.seg.myFill=f.seg.otherFill,f.seg.otherFill=_}d.push(f.seg)}i.getHead().remove()}return n&&n.done(),d}return e?{addRegion:function(e){for(var r,a,i,o=e[e.length-1],s=0;si||c===n||cl)&&(!t||!s(e))}:function(e,t){var s=e[0],c=e[1];if(s===n||si||c===n||cl)return!1;var u,d,f,h,p,g=r.length,v=r[0][0],m=r[0][1],y=0;for(u=1;uMath.max(d,v)||c>Math.max(f,m)))if(cu||Math.abs(r(o,f))>a)return!0;return!1},a.filter=function(e,t){var r=[e[0]],n=0,i=0;function o(o){e.push(o);var l=r.length,s=n;r.splice(i+1);for(var c=s+1;c1&&o(e.pop());return{addPt:o,raw:e,filtered:r}}})),i.register("6cUxK",(function(e,r){var n,a,o,l;t(e.exports,"containerArrayMatch",(()=>o),(e=>o=e)),t(e.exports,"isAddVal",(()=>l),(e=>l=e)),t(e.exports,"applyContainerArrayChanges",(()=>n),(e=>n=e)),t(e.exports,"isRemoveVal",(()=>a),(e=>a=e));var s=i("2bwwe"),c=i("77Ix4"),u=i("1NWKZ"),d=i("5LcuG").sorterAsc,f=i("4Hxcc");o=i("cnH6u");var h=l=function(e){return"add"===e||s(e)},p=a=function(e){return null===e||"remove"===e};n=function(e,t,r,n,a){var i=t.astr,o=f.getComponentMethod(i,"supplyLayoutDefaults"),l=f.getComponentMethod(i,"draw"),s=f.getComponentMethod(i,"drawOne"),g=n.replot||n.recalc||o===c||l===c,v=e.layout,m=e._fullLayout;if(r[""]){Object.keys(r).length>1&&u.warn("Full array edits are incompatible with other edits",i);var y=r[""][""];if(p(y))t.set(null);else{if(!Array.isArray(y))return u.warn("Unrecognized full array edit value",i,y),!0;t.set(y)}return!g&&(o(v,m),l(e),!0)}var x,b,_,w,k,T,M,A,S=Object.keys(r).map(Number).sort(d),L=t.get(),C=L||[],I=a(m,i).get(),O=[],D=-1,z=C.length;for(x=0;xC.length-(M?0:1))u.warn("index out of range",i,_);else if(void 0!==T)k.length>1&&u.warn("Insertion & removal are incompatible with edits to the same index.",i,_),p(T)?O.push(_):M?("add"===T&&(T={}),C.splice(_,0,T),I&&I.splice(_,0,{})):u.warn("Unrecognized full object edit value",i,_,T),-1===D&&(D=_);else for(b=0;b=0;x--)C.splice(O[x],1),I&&I.splice(O[x],1);if(C.length?L||t.set(C):t.set(null),g)return!1;if(o(v,m),s!==c){var P;if(-1===D)P=S;else{for(z=Math.max(C.length,z),P=[],x=0;x=D);x++)P.push(_);for(x=D;xo),(e=>o=e)),t(e.exports,"manageArrayContainers",(()=>c),(e=>c=e)),t(e.exports,"clearPromiseQueue",(()=>d),(e=>d=e)),t(e.exports,"cleanData",(()=>n),(e=>n=e)),t(e.exports,"clearAxisTypes",(()=>l),(e=>l=e)),t(e.exports,"hasParent",(()=>a),(e=>a=e)),t(e.exports,"swapXYData",(()=>u),(e=>u=e)),t(e.exports,"coerceTraceIndices",(()=>s),(e=>s=e));var f=i("6qr5h"),h=i("5tz2B"),p=i("4Hxcc"),g=i("1nIvY"),v=i("3BndS"),m=i("22HUI"),y=i("3N5m7"),x=m.cleanId,b=m.getFromTrace,_=p.traceIs;function w(e,t){var r=e[t],n=t.charAt(0);r&&"paper"!==r&&(e[t]=x(r,n,!0))}function k(e){function t(t,r){var n=e[t],a=e.title&&e.title[r];n&&!a&&(e.title||(e.title={}),e.title[r]=e[t],delete e[t])}e&&("string"!=typeof e.title&&"number"!=typeof e.title||(e.title={text:e.title}),t("titlefont","font"),t("titleposition","position"),t("titleside","side"),t("titleoffset","offset"))}function T(e){if(!g.isPlainObject(e))return!1;var t=e.name;return delete e.name,delete e.showlegend,("string"==typeof t||"number"==typeof t)&&String(t)}function M(e,t,r,n){if(r&&!n)return e;if(n&&!r)return t;if(!e.trim())return t;if(!t.trim())return e;var a,i=Math.min(e.length,t.length);for(a=0;a0&&g.log("Clearing previous rejected promises from queue."),e._promises=[]},o=function(e){var t,r;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var n=(v.subplotsRegistry.cartesian||{}).attrRegex,a=(v.subplotsRegistry.polar||{}).attrRegex,i=(v.subplotsRegistry.ternary||{}).attrRegex,l=(v.subplotsRegistry.gl3d||{}).attrRegex,s=Object.keys(e);for(t=0;t3?(z.x=1.02,z.xanchor="left"):z.x<-2&&(z.x=-.02,z.xanchor="right"),z.y>3?(z.y=1.02,z.yanchor="bottom"):z.y<-2&&(z.y=-.02,z.yanchor="top")),k(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),y.clean(e),e.template&&e.template.layout&&o(e.template.layout),e},n=function(e){for(var t=0;t0)return e.substr(0,t)}a=function(e,t){for(var r=C(t);r;){if(r in e)return!0;r=C(r)}return!1};var I=["x","y","z"];l=function(e,t,r){for(var n=0;nu),(e=>u=e)),t(e.exports,"MSG_IE_BAD_FORMAT",(()=>c),(e=>c=e)),t(e.exports,"revokeObjectURL",(()=>a),(e=>a=e)),t(e.exports,"encodeSVG",(()=>f),(e=>f=e)),t(e.exports,"encodeJSON",(()=>n),(e=>n=e)),t(e.exports,"createBlob",(()=>l),(e=>l=e)),t(e.exports,"octetStream",(()=>d),(e=>d=e)),t(e.exports,"getDelay",(()=>s),(e=>s=e)),t(e.exports,"createObjectURL",(()=>o),(e=>o=e)),t(e.exports,"IMAGE_URL_PREFIX",(()=>h),(e=>h=e));var p=i("4Hxcc");s=function(e){return e._has&&(e._has("gl3d")||e._has("gl2d")||e._has("mapbox"))?500:0},u=function(e){return function(){var t=e._fullLayout||{};!(t._has&&t._has("polar"))&&e.data&&e.data[0]&&e.data[0].r||p.getComponentMethod("colorbar","draw")(e)}},f=function(e){return"data:image/svg+xml,"+encodeURIComponent(e)},n=function(e){return"data:application/json,"+encodeURIComponent(e)};var g=window.URL||window.webkitURL;o=function(e){return g.createObjectURL(e)},a=function(e){return g.revokeObjectURL(e)},l=function(e,t){if("svg"===t)return new window.Blob([e],{type:"image/svg+xml;charset=utf-8"});if("full-json"===t)return new window.Blob([e],{type:"application/json;charset=utf-8"});var r=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),a=0;a")?"":t.html(e).text()}));return t.remove(),n}(T),T=(T=T.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(u,"'"),n.isIE()&&(T=(T=(T=T.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),T}})),i.register("5B7kc",(function(e,t){"use strict";var r=i("1nIvY"),n=i("4jc2y").EventEmitter,a=i("3N1mF");e.exports=function(e){var t=e.emitter||new n,i=new Promise((function(n,o){var l=window.Image,s=e.svg,c=e.format||"png";if(r.isIE()&&"svg"!==c){var u=new Error(a.MSG_IE_BAD_FORMAT);return o(u),e.promise?i:t.emit("error",u)}var d,f,h=e.canvas,p=e.scale||1,g=e.width||300,v=e.height||150,m=p*g,y=p*v,x=h.getContext("2d"),b=new l;"svg"===c||r.isIE9orBelow()||r.isSafari()?f=a.encodeSVG(s):(d=a.createBlob(s,"svg"),f=a.createObjectURL(d)),h.width=m,h.height=y,b.onload=function(){var r;switch(d=null,a.revokeObjectURL(f),"svg"!==c&&x.drawImage(b,0,0,m,y),c){case"jpeg":r=h.toDataURL("image/jpeg");break;case"png":r=h.toDataURL("image/png");break;case"webp":r=h.toDataURL("image/webp");break;case"svg":r=f;break;default:var i="Image format is not jpeg, png, svg or webp.";if(o(new Error(i)),!e.promise)return t.emit("error",i)}n(r),e.promise||t.emit("success",r)},b.onerror=function(r){if(d=null,a.revokeObjectURL(f),o(r),!e.promise)return t.emit("error",r)},b.src=f}));return e.promise?i:t}})),i.register("1B45K",(function(e,t){"use strict";var r=i("1nIvY"),n=i("3BndS"),a=i("4UWmi"),o=i("24AkC").dfltConfig,l=r.isPlainObject,s=Array.isArray,c=r.isArrayOrTypedArray;function u(e,t,n,a,i,o){o=o||[];for(var d=Object.keys(e),f=0;fx.length&&a.push(p("unused",i,m.concat(x.length)));var M,A,S,L,C,I=x.length,O=Array.isArray(T);if(O&&(I=Math.min(I,T.length)),2===b.dimensions)for(A=0;Ax[A].length&&a.push(p("unused",i,m.concat(A,x[A].length)));var D=x[A].length;for(M=0;M<(O?Math.min(D,T[A].length):D);M++)S=O?T[A][M]:T,L=y[A][M],C=x[A][M],r.validate(L,S)?C!==L&&C!==+L&&a.push(p("dynamic",i,m.concat(A,M),L,C)):a.push(p("value",i,m.concat(A,M),L))}else a.push(p("array",i,m.concat(A),y[A]));else for(A=0;A1&&h.push(p("object","layout"))),n.supplyDefaults(g);for(var v=g._fullData,m=i.length,y=0;ya),(e=>a=e)),t(e.exports,"validateTemplate",(()=>n),(e=>n=e));var o=i("1nIvY"),l=o.isPlainObject,s=i("4UWmi"),c=i("3BndS"),u=i("5zAUi"),d=i("1IyjK"),f=i("24AkC").dfltConfig;function h(e,t){e=o.extendDeep({},e);var r,n,a=Object.keys(e).sort();function i(t,r,a){if(l(r)&&l(t))h(t,r);else if(Array.isArray(r)&&Array.isArray(t)){var i=d.arrayTemplater({_template:e},a);for(n=0;nk?s.push({code:"unused",traceType:g,templateCount:w,dataCount:k}):k>w&&s.push({code:"reused",traceType:g,templateCount:w,dataCount:k})}}else s.push({code:"data"});if(function e(t,r){for(var n in t)if("_"!==n.charAt(0)){var a=t[n],i=y(t,n,r);l(a)?(Array.isArray(t)&&!1===a._template&&a.templateitemname&&s.push({code:"missing",path:i,templateitemname:a.templateitemname}),e(a,i)):Array.isArray(a)&&x(a)&&e(a,i)}}({data:d,layout:u},""),s.length)return s.map(b)}})),i.register("2IDEe",(function(e,t){"use strict";var r=i("5EGfs");e.exports={hasLines:r.hasLines,hasMarkers:r.hasMarkers,hasText:r.hasText,isBubble:r.isBubble,attributes:i("2oxdA"),supplyDefaults:i("27xl1"),crossTraceDefaults:i("5V1gf"),calc:i("ERg3I").calc,crossTraceCalc:i("NNNef"),arraysToCalcdata:i("5SII0"),plot:i("5d1Gr"),colorbar:i("6mMRq"),formatLabels:i("1inVk"),style:i("1AGAa").style,styleOnSelect:i("1AGAa").styleOnSelect,hoverPoints:i("6W6HN"),selectPoints:i("4f7ZS"),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:i("44dhM"),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{description:["The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts.","The data visualized as scatter point or lines is set in `x` and `y`.","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}})),i.register("27xl1",(function(e,t){"use strict";var r=i("1nIvY"),n=i("4Hxcc"),a=i("2oxdA"),o=i("4We8O"),l=i("5EGfs"),s=i("3ziEk"),c=i("42Vbv"),u=i("5c4u8"),d=i("6MkR1"),f=i("6pFg0"),h=i("3HWE8"),p=i("6JOEF"),g=i("74Fe5");e.exports=function(e,t,i,v){function m(n,i){return r.coerce(e,t,a,n,i)}var y=s(e,t,v,m);if(y||(t.visible=!1),t.visible){c(e,t,v,m);var x=u(e,t,v,m),b=!x&&y=0;a--){var i=e[a];if("scatter"===i.type&&i.xaxis===r.xaxis&&i.yaxis===r.yaxis){i.opacity=void 0;break}}}}}})),i.register("ERg3I",(function(e,t){"use strict";var r=i("6qr5h"),n=i("1nIvY"),a=i("1nE8l"),o=i("1Lgaj"),l=i("10TEj").BADNUM,s=i("5EGfs"),c=i("1DEwk"),u=i("5SII0"),d=i("6LyZ0");function f(e,t,r,n,i,o,l){var c=t._length,u=e._fullLayout,d=r._id,f=n._id,h=u._firstScatter[g(t)]===t.uid,p=(v(t,u,r,n)||{}).orientation,m=t.fill;r._minDtick=0,n._minDtick=0;var y={padded:!0},x={padded:!0};l&&(y.ppad=x.ppad=l);var b=c<2||i[0]!==i[c-1]||o[0]!==o[c-1];b&&("tozerox"===m||"tonextx"===m&&(h||"h"===p))?y.tozero=!0:(t.error_y||{}).visible||"tonexty"!==m&&"tozeroy"!==m&&(s.hasMarkers(t)||s.hasText(t))||(y.padded=!1,y.ppad=0),b&&("tozeroy"===m||"tonexty"===m&&(h||"v"===p))?x.tozero=!0:"tonextx"!==m&&"tozerox"!==m||(x.padded=!1),d&&(t._extremes[d]=a.findExtremes(r,i,y)),f&&(t._extremes[f]=a.findExtremes(n,o,x))}function h(e,t){if(s.hasMarkers(e)){var r,i=e.marker,o=1.6*(e.marker.sizeref||1);if(r="area"===e.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/o),3)}:function(e){return Math.max((e||0)/o,3)},n.isArrayOrTypedArray(i.size)){var l={type:"linear"};a.setConvert(l);for(var c=l.makeCalcdata(e.marker,"size"),u=new Array(t),d=0;ds&&L[m].gap;)m--;for(x=L[m].s,g=L.length-1;g>m;g--)L[g].s=x;for(;s0&&Math.round(d)===d))return i;c=d}for(var f=t.calendar,h="start"===s,p="end"===s,g=e[n+"period0"],v=a(g,f)||0,m=[],y=i.length,x=0;xk;)w=o(w,-c,f);for(;w<=k;)w=o(w,c,f);_=o(w,-c,f)}else{for(w=v+(b=Math.round((k-v)/u))*u;w>k;)w-=u;for(;w<=k;)w+=u;_=w-u}m[x]=h?_:p?w:(_+w)/2}return m}})),i.register("1DEwk",(function(e,t){"use strict";var r=i("hpg1L").hasColorscale,n=i("3RzCY"),a=i("5EGfs");e.exports=function(e,t){a.hasLines(t)&&r(t,"line")&&n(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),a.hasMarkers(t)&&(r(t,"marker")&&n(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),r(t,"marker.line")&&n(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}})),i.register("5SII0",(function(e,t){"use strict";var r=i("1nIvY");e.exports=function(e,t){for(var n=0;nA[u]&&u=u[0]&&e.x<=u[1]&&e.y>=d[0]&&e.y<=d[1]})),g=Math.ceil(p.length/h),v=0;o.forEach((function(e,r){var n=e[0].trace;c.hasMarkers(n)&&n.marker.maxdisplayed>0&&r0;function y(e){return m?e.transition():e}var x=i.xaxis,b=i.yaxis,_=d[0].trace,w=_.line,k=r.select(p),T=o(k,"g","errorbars"),M=o(k,"g","lines"),A=o(k,"g","points"),S=o(k,"g","text");if(n.getComponentMethod("errorbars","plot")(e,T,i,g),!0===_.visible){var L,C;y(k).style("opacity",_.opacity);var I=_.fill.charAt(_.fill.length-1);"x"!==I&&"y"!==I&&(I=""),d[0][i.isRangePlot?"nodeRangePlot3":"node3"]=k;var O,D,z="",P=[],j=_._prevtrace;j&&(z=j._prevRevpath||"",C=j._nextFill,P=j._polygons);var E,R,N,F,H,B,U,q="",V="",Y=[],G=a.noop;if(L=_._ownFill,c.hasLines(_)||"none"!==_.fill){for(C&&C.datum(d),-1!==["hv","vh","hvh","vhv"].indexOf(w.shape)?(E=s.steps(w.shape),R=s.steps(w.shape.split("").reverse().join(""))):E=R="spline"===w.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?s.smoothclosed(e.slice(1),w.smoothing):s.smoothopen(e,w.smoothing)}:function(e){return"M"+e.join("L")},N=function(e){return R(e.reverse())},Y=u(d,{xaxis:x,yaxis:b,connectGaps:_.connectgaps,baseTolerance:Math.max(w.width||1,3)/4,shape:w.shape,simplify:w.simplify,fill:_.fill}),U=_._polygons=new Array(Y.length),v=0;v1){var n=r.select(this);if(n.datum(d),e)y(n.style("opacity",0).attr("d",O).call(s.lineGroupStyle)).style("opacity",1);else{var a=y(n);a.attr("d",O),s.singleLineStyle(d,a)}}}}}var Z=M.selectAll(".js-line").data(Y);y(Z.exit()).style("opacity",0).remove(),Z.each(G(!1)),Z.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(s.lineGroupStyle).each(G(!0)),s.setClipUrl(Z,i.layerClipId,e),Y.length?(L?(L.datum(d),F&&B&&(I?("y"===I?F[1]=B[1]=b.c2p(0,!0):"x"===I&&(F[0]=B[0]=x.c2p(0,!0)),y(L).attr("d","M"+B+"L"+F+"L"+q.substr(1)).call(s.singleFillStyle)):y(L).attr("d",q+"Z").call(s.singleFillStyle))):C&&("tonext"===_.fill.substr(0,6)&&q&&z?("tonext"===_.fill?y(C).attr("d",q+"Z"+z+"Z").call(s.singleFillStyle):y(C).attr("d",q+"L"+z.substr(1)+"Z").call(s.singleFillStyle),_._polygons=_._polygons.concat(P)):(X(C),_._polygons=null)),_._prevRevpath=V,_._prevPolygons=U):(L?X(L):C&&X(C),_._polygons=_._prevRevpath=_._prevPolygons=null),A.datum(d),S.datum(d),function(t,n,a){var o,u=a[0].trace,d=c.hasMarkers(u),f=c.hasText(u),h=function(e){if(e.ids)return $}(u),p=ee,g=ee;if(d||f){var v=l,_=u.stackgroup,w=_&&"infer zero"===e._fullLayout._scatterStackOpts[x._id+b._id][_].stackgaps;u.marker.maxdisplayed||u._needsCull?v=w?J:Q:_&&!w&&(v=K),d&&(p=v),f&&(g=v)}var k,T=(o=t.selectAll("path.point").data(p,h)).enter().append("path").classed("point",!0);m&&T.call(s.pointStyle,u,e).call(s.translatePoints,x,b).style("opacity",0).transition().style("opacity",1),o.order(),d&&(k=s.makePointStyleFns(u)),o.each((function(t){var n=r.select(this),a=y(n);s.translatePoint(t,a,x,b)?(s.singlePointStyle(t,a,u,k,e),i.layerClipId&&s.hideOutsideRangePoint(t,a,x,b,u.xcalendar,u.ycalendar),u.customdata&&n.classed("plotly-customdata",null!==t.data&&void 0!==t.data)):a.remove()})),m?o.exit().transition().style("opacity",0).remove():o.exit().remove(),(o=n.selectAll("g").data(g,h)).enter().append("g").classed("textpoint",!0).append("text"),o.order(),o.each((function(e){var t=r.select(this),n=y(t.select("text"));s.translatePoint(e,n,x,b)?i.layerClipId&&s.hideOutsideRangePoint(e,t,x,b,u.xcalendar,u.ycalendar):t.remove()})),o.selectAll("text").call(s.textPointStyle,u,e).each((function(e){var t=x.c2p(e.x),n=b.c2p(e.y);r.select(this).selectAll("tspan.line").each((function(){y(r.select(this)).attr({x:t,y:n})}))})),o.exit().remove()}(A,S,d);var W=!1===_.cliponaxis?null:i.layerClipId;s.setClipUrl(A,W,e),s.setClipUrl(S,W,e)}function X(e){y(e).attr("d","M0,0Z")}function Q(e){return e.filter((function(e){return!e.gap&&e.vis}))}function J(e){return e.filter((function(e){return e.vis}))}function K(e){return e.filter((function(e){return!e.gap}))}function $(e){return e.id}function ee(){return!1}}e.exports=function(e,t,n,a,i,c){var u,f,p=!i,g=!!i&&i.duration>0,v=d(e,t,n);((u=a.selectAll("g.trace").data(v,(function(e){return e[0].trace.uid}))).enter().append("g").attr("class",(function(e){return"trace scatter trace"+e[0].trace.uid})).style("stroke-miterlimit",2),u.order(),function(e,t,n){t.each((function(t){var a=o(r.select(this),"g","fills");s.setClipUrl(a,n.layerClipId,e);var i=t[0].trace,c=[];i._ownfill&&c.push("_ownFill"),i._nexttrace&&c.push("_nextFill");var u=a.selectAll("g").data(c,l);u.enter().append("g"),u.exit().each((function(e){i[e]=null})).remove(),u.order().each((function(e){i[e]=o(r.select(this),"path","js-fill")}))}))}(e,u,t),g)?(c&&(f=c()),r.transition().duration(i.duration).ease(i.easing).each("end",(function(){f&&f()})).each("interrupt",(function(){f&&f()})).each((function(){a.selectAll("g.trace").each((function(r,n){h(e,n,t,r,v,this,i)}))}))):u.each((function(r,n){h(e,n,t,r,v,this,i)}));p&&u.exit().remove(),a.selectAll("path:not([d])").remove()}})),i.register("3s7Io",(function(e,t){"use strict";var r=i("10TEj"),n=r.BADNUM,a=r.LOG_CLIP,o=a+.5,l=a-.5,s=i("1nIvY"),c=s.segmentsIntersect,u=s.constrain,d=i("4We8O");e.exports=function(e,t){var r,a,i,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S=t.xaxis,L=t.yaxis,C="log"===S.type,I="log"===L.type,O=S._length,D=L._length,z=t.connectGaps,P=t.baseTolerance,j=t.shape,E="linear"===j,R=t.fill&&"none"!==t.fill,N=[],F=d.minTolerance,H=e.length,B=new Array(H),U=0;function q(r){var a=e[r];if(!a)return!1;var i=t.linearized?S.l2p(a.x):S.c2p(a.x),s=t.linearized?L.l2p(a.y):L.c2p(a.y);if(i===n){if(C&&(i=S.c2p(a.x,!0)),i===n)return!1;I&&s===n&&(i*=Math.abs(S._m*D*(S._m>0?o:l)/(L._m*O*(L._m>0?o:l)))),i*=1e3}if(s===n){if(I&&(s=L.c2p(a.y,!0)),s===n)return!1;s*=1e3}return[i,s]}function V(e,t,r,n){var a=r-e,i=n-t,o=.5-e,l=.5-t,s=a*a+i*i,c=a*o+i*l;if(c>0&&cre||e[1]ae)return[u(e[0],te,re),u(e[1],ne,ae)]}function le(e,t){return e[0]===t[0]&&(e[0]===te||e[0]===re)||(e[1]===t[1]&&(e[1]===ne||e[1]===ae)||void 0)}function se(e,t,r){return function(n,a){var i=oe(n),o=oe(a),l=[];if(i&&o&&le(i,o))return l;i&&l.push(i),o&&l.push(o);var c=2*s.constrain((n[e]+a[e])/2,t,r)-((i||n)[e]+(o||a)[e]);c&&((i&&o?c>0==i[e]>o[e]?i:o:i||o)[e]+=c);return l}}function ce(e){var t=e[0],r=e[1],n=t===B[U-1][0],a=r===B[U-1][1];if(!n||!a)if(U>1){var i=t===B[U-2][0],o=r===B[U-2][1];n&&(t===te||t===re)&&i?o?U--:B[U-1]=e:a&&(r===ne||r===ae)&&o?i?U--:B[U-1]=e:B[U++]=e}else B[U++]=e}function ue(e){B[U-1][0]!==e[0]&&B[U-1][1]!==e[1]&&ce([X,Q]),ce(e),J=null,X=Q=0}function de(e){if(M=e[0]/O,A=e[1]/D,Z=e[0]re?re:0,W=e[1]ae?ae:0,Z||W){if(U)if(J){var t=$(J,e);t.length>1&&(ue(t[0]),B[U++]=t[1])}else K=$(B[U-1],e)[0],B[U++]=K;else B[U++]=[Z||e[0],W||e[1]];var r=B[U-1];Z&&W&&(r[0]!==Z||r[1]!==W)?(J&&(X!==Z&&Q!==W?ce(X&&Q?(n=J,i=(a=e)[0]-n[0],o=(a[1]-n[1])/i,(n[1]*a[0]-a[1]*n[0])/i>0?[o>0?te:re,ae]:[o>0?re:te,ne]):[X||Z,Q||W]):X&&Q&&ce([X,Q])),ce([Z,W])):X-Z&&Q-W&&ce([Z||X,W||Q]),J=e,X=Z,Q=W}else J&&ue($(J,e)[0]),B[U++]=e;var n,a,i,o}for("linear"===j||"spline"===j?$=function(e,t){for(var r=[],n=0,a=0;a<4;a++){var i=ie[a],o=c(e[0],e[1],t[0],t[1],i[0],i[1],i[2],i[3]);o&&(!n||Math.abs(o.x-r[0][0])>1||Math.abs(o.y-r[0][1])>1)&&(o=[o.x,o.y],n&&G(o,e)Y(p,fe))break;i=p,(_=m[0]*v[0]+m[1]*v[1])>x?(x=_,f=p,g=!1):_=e.length||!p)break;de(p),a=p}}else de(f)}J&&ce([X||J[0],Q||J[1]]),N.push(B.slice(0,U))}return N}})),i.register("S2Ypv",(function(e,t){"use strict";var r={tonextx:1,tonexty:1,tonext:1};e.exports=function(e,t,n){var a,i,o,l,s,c={},u=!1,d=-1,f=0,h=-1;for(i=0;i=0?s=h:(s=h=f,f++),sY!=(R=D[I][1])>=Y&&(P=D[I-1][0],j=D[I][0],R-E&&(z=P+(j-P)*(Y-E)/(R-E),B=Math.min(B,z),U=Math.max(U,z)));B=Math.max(B,0),U=Math.min(U,f._length);var G=l.defaultLine;return l.opacity(d.fillcolor)?G=d.fillcolor:l.opacity((d.line||{}).color)&&(G=d.line.color),r.extendFlat(e,{distance:e.maxHoverDistance,x0:B,x1:U,y0:Y,y1:Y,color:G,hovertemplate:!1}),delete e.index,d.text&&!Array.isArray(d.text)?e.text=String(d.text):e.text=d.name,[e]}}}})),i.register("6iH0j",(function(e,t){"use strict";var r=i("3N5m7"),n=i("5EGfs");e.exports=function(e,t){var a,i;if("lines"===e.mode)return(a=e.line.color)&&r.opacity(a)?a:e.fillcolor;if("none"===e.mode)return e.fill?e.fillcolor:"";var o=t.mcc||(e.marker||{}).color,l=t.mlcc||((e.marker||{}).line||{}).color;return(i=o&&r.opacity(o)?o:l&&r.opacity(l)&&(t.mlw||((e.marker||{}).line||{}).width)?l:"")?r.opacity(i)<.3?r.addOpacity(i,.3):i:(a=(e.line||{}).color)&&r.opacity(a)&&n.hasLines(e)&&e.line.width?a:e.fillcolor}})),i.register("4f7ZS",(function(e,t){"use strict";var r=i("5EGfs");e.exports=function(e,t){var n,a,i,o,l=e.cd,s=e.xaxis,c=e.yaxis,u=[],d=l[0].trace;if(!r.hasMarkers(d)&&!r.hasText(d))return[];if(!1===t)for(n=0;nd),(e=>d=e)),t(e.exports,"transitionAxes",(()=>u),(e=>u=e)),t(e.exports,"attr",(()=>x),(e=>x=e)),t(e.exports,"rangePlot",(()=>s),(e=>s=e)),t(e.exports,"idRoot",(()=>n),(e=>n=e)),t(e.exports,"idRegex",(()=>f),(e=>f=e)),t(e.exports,"clean",(()=>v),(e=>v=e)),t(e.exports,"drawFramework",(()=>m),(e=>m=e)),t(e.exports,"name",(()=>y),(e=>y=e)),t(e.exports,"attributes",(()=>o),(e=>o=e)),t(e.exports,"layoutAttributes",(()=>g),(e=>g=e)),t(e.exports,"supplyLayoutDefaults",(()=>a),(e=>a=e)),t(e.exports,"finalizeSubplots",(()=>l),(e=>l=e)),t(e.exports,"updateFx",(()=>h),(e=>h=e)),t(e.exports,"toSVG",(()=>c),(e=>c=e)),t(e.exports,"plot",(()=>p),(e=>p=e));var b=i("4Wia9"),_=i("4Hxcc"),w=i("1nIvY"),k=i("3BndS"),T=i("7jar4"),M=i("CkVc5").getModuleCalcData,A=i("22HUI"),S=i("5Lafm"),L=i("ipXll"),C=w.ensureSingle;function I(e,t,r){return w.ensureSingle(e,t,r,(function(e){e.datum(r)}))}function O(e,t,r,n,a){for(var i,o,l,s=S.traceLayerClasses,c=e._fullLayout,u=c._modules,d=[],f=[],h=0;h0&&(a["_"+r+"axes"]||{})[t])return a;if((a[r+"axis"]||r)===t){if(o(a,r))return a;if((a[r]||[]).length||a[r+"0"])return a}}}(t,l,s);if(!c)return;if("histogram"===c.type&&s==={v:"y",h:"x"}[c.orientation||"v"])return void(e.type="linear");var u=s+"calendar",d=c[u],f={noMultiCategory:!r(c,"cartesian")||r(c,"noMultiCategory")};"box"===c.type&&c._hasPreCompStats&&s==={h:"x",v:"y"}[c.orientation||"v"]&&(f.noMultiCategory=!0);if(f.autotypenumbers=e.autotypenumbers,o(c,s)){var h=a(c),p=[];for(i=0;i=2){var s,c,u="";if(2===o.length)for(s=0;s<2;s++)if(c=y(o[s])){u=p;break}var d=i("pattern",u);if(d===p)for(s=0;s<2;s++)(c=y(o[s]))&&(t.bounds[s]=o[s]=c-1);if(d)for(s=0;s<2;s++)switch(c=o[s],d){case p:if(!r(c))return void(t.enabled=!1);if((c=+c)!==Math.floor(c)||c<0||c>=7)return void(t.enabled=!1);t.bounds[s]=o[s]=c;break;case g:if(!r(c))return void(t.enabled=!1);if((c=+c)<0||c>24)return void(t.enabled=!1);t.bounds[s]=o[s]=c}if(!1===n.autorange){var f=n.range;if(f[0]f[1])return void(t.enabled=!1)}else if(o[0]>f[0]&&o[1]0;o&&(a="array");var l,s=r("categoryorder",a);"array"===s&&(l=r("categoryarray")),o||"array"!==s||(s=t.categoryorder="trace"),"trace"===s?t._initialCategories=[]:"array"===s?t._initialCategories=l.slice():(l=function(e,t){var r,n,a,i=t.dataAttr||e._id.charAt(0),o={};if(t.axData)r=t.axData;else for(r=[],n=0;ng[1]-1/4096&&(t.domain=l),n.noneOrAll(e.domain,t.domain,l)}return a("layer"),t}})),i.register("51dhs",(function(e,t){"use strict";var r=i("4Wia9"),n=i("4Hxcc"),a=i("1nIvY"),o=i("7jar4"),l=i("1nE8l");e.exports=function(e,t,i,s){var c=e._fullLayout;if(0!==t.length){var u,d,f,h;s&&(u=s());var p=r.ease(i.easing);return e._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(h),h=null,function(){for(var r={},a=0;ai.duration?(!function(){for(var r={},a=0;a rect").call(o.setTranslate,0,0).call(o.setScale,1,1),e.plot.call(o.setTranslate,t._offset,r._offset).call(o.setScale,1,1);var n=e.plot.selectAll(".scatterlayer .trace");n.selectAll(".point").call(o.setPointGroupScale,1,1),n.selectAll(".textpoint").call(o.setTextPointsScale,1,1),n.call(o.hideOutsideRangePoints,e)}function v(t,r){var n=t.plotinfo,i=n.xaxis,s=n.yaxis,c=i._length,u=s._length,d=!!t.xr1,f=!!t.yr1,h=[];if(d){var p=a.simpleMap(t.xr0,i.r2l),g=a.simpleMap(t.xr1,i.r2l),v=p[1]-p[0],m=g[1]-g[0];h[0]=(p[0]*(1-r)+r*g[0]-p[0])/(p[1]-p[0])*c,h[2]=c*(1-r+r*m/v),i.range[0]=i.l2r(p[0]*(1-r)+r*g[0]),i.range[1]=i.l2r(p[1]*(1-r)+r*g[1])}else h[0]=0,h[2]=c;if(f){var y=a.simpleMap(t.yr0,s.r2l),x=a.simpleMap(t.yr1,s.r2l),b=y[1]-y[0],_=x[1]-x[0];h[1]=(y[1]*(1-r)+r*x[1]-y[1])/(y[0]-y[1])*u,h[3]=u*(1-r+r*_/b),s.range[0]=i.l2r(y[0]*(1-r)+r*x[0]),s.range[1]=s.l2r(y[1]*(1-r)+r*x[1])}else h[1]=0,h[3]=u;l.drawOne(e,i,{skipTitle:!0}),l.drawOne(e,s,{skipTitle:!0}),l.redrawComponents(e,[i._id,s._id]);var w=d?c/h[2]:1,k=f?u/h[3]:1,T=d?h[0]:0,M=f?h[1]:0,A=d?h[0]/h[2]*c:0,S=f?h[1]/h[3]*u:0,L=i._offset-A,C=s._offset-S;n.clipRect.call(o.setTranslate,T,M).call(o.setScale,1/w,1/k),n.plot.call(o.setTranslate,L,C).call(o.setScale,w,k),o.setPointGroupScale(n.zoomScalePts,1/w,1/k),o.setTextPointsScale(n.zoomScaleTxt,1/w,1/k)}l.redrawComponents(e)}})),i.register("5ORhk",(function(e,t){"use strict";e.exports={moduleType:"component",name:"legend",layoutAttributes:i("1rDLs"),supplyLayoutDefaults:i("3YXj5"),draw:i("Zg88i"),style:i("1RGiq")}})),i.register("6sYXG",(function(e,t){"use strict";var r=i("16smZ"),n=i("grj1e");e.exports={moduleType:"component",name:"annotations",layoutAttributes:i("561nh"),supplyLayoutDefaults:i("4TIVN"),includeBasePlot:i("1084d")("annotations"),calcAutorange:i("1RAko"),draw:r.draw,drawOne:r.drawOne,drawRaw:r.drawRaw,hasClickToShow:n.hasClickToShow,onClick:n.onClick,convertCoords:i("5qB2n")}})),i.register("16smZ",(function(e,t){"use strict";var r=i("4Wia9"),n=i("4Hxcc"),a=i("3BndS"),o=i("1nIvY"),l=o.strTranslate,s=i("1nE8l"),c=i("3N5m7"),u=i("7jar4"),d=i("FNU2H"),f=i("49Q6h"),h=i("3kB5v"),p=i("NlhQs"),g=i("1IyjK").arrayEditor,v=i("1riSa");function m(e,t){var r=e._fullLayout.annotations[t]||{},n=s.getFromId(e,r.xref),a=s.getFromId(e,r.yref);n&&n.setScale(),a&&a.setScale(),x(e,r,t,!1,n,a)}function y(e,t,r,n,a){var i=a[r],o=a[r+"ref"],l=-1!==r.indexOf("y"),c="domain"===s.getRefType(o),u=l?n.h:n.w;return e?c?i+(l?-t:t)/e._length:e.p2r(e.r2p(i)+t):i+(l?-t:t)/u}function x(e,t,a,i,m,x){var b,_,w=e._fullLayout,k=e._fullLayout._size,T=e._context.edits;i?(b="annotation-"+i,_=i+".annotations"):(b="annotation",_="annotations");var M=g(e.layout,_,t),A=M.modifyBase,S=M.modifyItem,L=M.getUpdateObj;w._infolayer.selectAll("."+b+'[data-index="'+a+'"]').remove();var C="clip"+w._uid+"_ann"+a;if(t._input&&!1!==t.visible){var I={x:{},y:{}},O=+t.textangle||0,D=w._infolayer.append("g").classed(b,!0).attr("data-index",String(a)).style("opacity",t.opacity),z=D.append("g").classed("annotation-text-g",!0),P=T[t.showarrow?"annotationTail":"annotationPosition"],j=t.captureevents||T.annotationText||P,E=z.append("g").style("pointer-events",j?"all":null).call(h,"pointer").on("click",(function(){e._dragging=!1,e.emit("plotly_clickannotation",G(r.event))}));t.hovertext&&E.on("mouseover",(function(){var r=t.hoverlabel,n=r.font,a=this.getBoundingClientRect(),i=e.getBoundingClientRect();d.loneHover({x0:a.left-i.left,x1:a.right-i.left,y:(a.top+a.bottom)/2-i.top,text:t.hovertext,color:r.bgcolor,borderColor:r.bordercolor,fontFamily:n.family,fontSize:n.size,fontColor:n.color},{container:w._hoverlayer.node(),outerContainer:w._paper.node(),gd:e})})).on("mouseout",(function(){d.loneUnhover(w._hoverlayer.node())}));var R=t.borderwidth,N=t.borderpad,F=R+N,H=E.append("rect").attr("class","bg").style("stroke-width",R+"px").call(c.stroke,t.bordercolor).call(c.fill,t.bgcolor),B=t.width||t.height,U=w._topclips.selectAll("#"+C).data(B?[0]:[]);U.enter().append("clipPath").classed("annclip",!0).attr("id",C).append("rect"),U.exit().remove();var q=t.font,V=w._meta?o.templateString(t.text,w._meta):t.text,Y=E.append("text").classed("annotation-text",!0).text(V);T.annotationText?Y.call(f.makeEditable,{delegate:E,gd:e}).call(Z).on("edit",(function(r){t.text=r,this.call(Z),S("text",r),m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0),n.call("_guiRelayout",e,L())})):Y.call(Z)}else r.selectAll("#"+C).remove();function G(e){var r={index:a,annotation:t._input,fullAnnotation:t,event:e};return i&&(r.subplotId=i),r}function Z(r){return r.call(u.font,q).attr({"text-anchor":{left:"start",right:"end"}[t.align]||"middle"}),f.convertToTspans(r,e,W),r}function W(){var r=Y.selectAll("a");1===r.size()&&r.text()===Y.text()&&E.insert("a",":first-child").attr({"xlink:xlink:href":r.attr("xlink:href"),"xlink:xlink:show":r.attr("xlink:show")}).style({cursor:"pointer"}).node().appendChild(H.node());var a=E.select(".annotation-text-math-group"),d=!a.empty(),g=u.bBox((d?a:Y).node()),b=g.width,_=g.height,M=t.width||b,j=t.height||_,N=Math.round(M+2*F),q=Math.round(j+2*F);function V(e,t){return"auto"===t&&(t=e<1/3?"left":e>2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}for(var Z=!1,W=["x","y"],X=0;X1)&&(ne===re?((he=ae.r2fraction(t["a"+te]))<0||he>1)&&(Z=!0):Z=!0),Q=ae._offset+ae.r2p(t[te]),$=.5}else{var pe="domain"===fe;"x"===te?(K=t[te],Q=pe?ae._offset+ae._length*K:Q=k.l+k.w*K):(K=1-t[te],Q=pe?ae._offset+ae._length*K:Q=k.t+k.h*K),$=t.showarrow?.5:K}if(t.showarrow){de.head=Q;var ge=t["a"+te];if(ee=oe*V(.5,t.xanchor)-le*V(.5,t.yanchor),ne===re){var ve=s.getRefType(ne);"domain"===ve?("y"===te&&(ge=1-ge),de.tail=ae._offset+ae._length*ge):"paper"===ve?"y"===te?(ge=1-ge,de.tail=k.t+k.h*ge):de.tail=k.l+k.w*ge:de.tail=ae._offset+ae.r2p(ge),J=ee}else de.tail=Q+ge,J=ee+ge;de.text=de.tail+ee;var me=w["x"===te?"width":"height"];if("paper"===re&&(de.head=o.constrain(de.head,1,me-1)),"pixel"===ne){var ye=-Math.max(de.tail-3,de.text),xe=Math.min(de.tail+3,de.text)-me;ye>0?(de.tail+=ye,de.text+=ye):xe>0&&(de.tail-=xe,de.text-=xe)}de.tail+=ue,de.head+=ue}else J=ee=se*V($,ce),de.text=Q+ee;de.text+=ue,ee+=ue,J+=ue,t["_"+te+"padplus"]=se/2+J,t["_"+te+"padminus"]=se/2-J,t["_"+te+"size"]=se,t["_"+te+"shift"]=ee}if(Z)E.remove();else{var be=0,_e=0;if("left"!==t.align&&(be=(M-b)*("center"===t.align?.5:1)),"top"!==t.valign&&(_e=(j-_)*("middle"===t.valign?.5:1)),d)a.select("svg").attr({x:F+be-1,y:F+_e}).call(u.setClipUrl,B?C:null,e);else{var we=F+_e-g.top,ke=F+be-g.left;Y.call(f.positionText,ke,we).call(u.setClipUrl,B?C:null,e)}U.select("rect").call(u.setRect,F,F,M,j),H.call(u.setRect,R/2,R/2,N-R,q-R),E.call(u.setTranslate,Math.round(I.x.text-N/2),Math.round(I.y.text-q/2)),z.attr({transform:"rotate("+O+","+I.x.text+","+I.y.text+")"});var Te,Me=function(r,a){D.selectAll(".annotation-arrow-g").remove();var s=I.x.head,d=I.y.head,f=I.x.tail+r,h=I.y.tail+a,g=I.x.text+r,b=I.y.text+a,_=o.rotationXYMatrix(O,g,b),w=o.apply2DTransform(_),M=o.apply2DTransform2(_),C=+H.attr("width"),P=+H.attr("height"),j=g-.5*C,R=j+C,N=b-.5*P,F=N+P,B=[[j,N,j,F],[j,F,R,F],[R,F,R,N],[R,N,j,N]].map(M);if(!B.reduce((function(e,t){return e^!!o.segmentsIntersect(s,d,s+1e6,d+1e6,t[0],t[1],t[2],t[3])}),!1)){B.forEach((function(e){var t=o.segmentsIntersect(f,h,s,d,e[0],e[1],e[2],e[3]);t&&(f=t.x,h=t.y)}));var U=t.arrowwidth,q=t.arrowcolor,V=t.arrowside,Y=D.append("g").style({opacity:c.opacity(q)}).classed("annotation-arrow-g",!0),G=Y.append("path").attr("d","M"+f+","+h+"L"+s+","+d).style("stroke-width",U+"px").call(c.stroke,c.rgb(q));if(v(G,V,t),T.annotationPosition&&G.node().parentNode&&!i){var Z=s,W=d;if(t.standoff){var X=Math.sqrt(Math.pow(s-f,2)+Math.pow(d-h,2));Z+=t.standoff*(f-s)/X,W+=t.standoff*(h-d)/X}var Q,J,K=Y.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(f-Z)+","+(h-W),transform:l(Z,W)}).style("stroke-width",U+6+"px").call(c.stroke,"rgba(0,0,0,0)").call(c.fill,"rgba(0,0,0,0)");p.init({element:K.node(),gd:e,prepFn:function(){var e=u.getTranslate(E);Q=e.x,J=e.y,m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0)},moveFn:function(e,r){var n=w(Q,J),a=n[0]+e,i=n[1]+r;E.call(u.setTranslate,a,i),S("x",y(m,e,"x",k,t)),S("y",y(x,r,"y",k,t)),t.axref===t.xref&&S("ax",y(m,e,"ax",k,t)),t.ayref===t.yref&&S("ay",y(x,r,"ay",k,t)),Y.attr("transform",l(e,r)),z.attr({transform:"rotate("+O+","+a+","+i+")"})},doneFn:function(){n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}};if(t.showarrow&&Me(0,0),P)p.init({element:E.node(),gd:e,prepFn:function(){Te=z.attr("transform")},moveFn:function(e,r){var n="pointer";if(t.showarrow)t.axref===t.xref?S("ax",y(m,e,"ax",k,t)):S("ax",t.ax+e),t.ayref===t.yref?S("ay",y(x,r,"ay",k.w,t)):S("ay",t.ay+r),Me(e,r);else{if(i)return;var a,o;if(m)a=y(m,e,"x",k,t);else{var s=t._xsize/k.w,c=t.x+(t._xshift-t.xshift)/k.w-s/2;a=p.align(c+e/k.w,s,0,1,t.xanchor)}if(x)o=y(x,r,"y",k,t);else{var u=t._ysize/k.h,d=t.y-(t._yshift+t.yshift)/k.h-u/2;o=p.align(d-r/k.h,u,0,1,t.yanchor)}S("x",a),S("y",o),m&&x||(n=p.getCursor(m?.5:a,x?.5:o,t.xanchor,t.yanchor))}z.attr({transform:l(e,r)+Te}),h(E,n)},clickFn:function(r,n){t.captureevents&&e.emit("plotly_clickannotation",G(n))},doneFn:function(){h(E),n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}}e.exports={draw:function(e){var t=e._fullLayout;t._infolayer.selectAll(".annotation").remove();for(var r=0;r=0,x=t.indexOf("end")>=0,b=p.backoff*v+i.standoff,_=g.backoff*m+i.startstandoff;if("line"===h.nodeName){o={x:+e.attr("x1"),y:+e.attr("y1")},u={x:+e.attr("x2"),y:+e.attr("y2")};var w=o.x-u.x,k=o.y-u.y;if(f=(d=Math.atan2(k,w))+Math.PI,b&&_&&b+_>Math.sqrt(w*w+k*k))return void P();if(b){if(b*b>w*w+k*k)return void P();var T=b*Math.cos(d),M=b*Math.sin(d);u.x+=T,u.y+=M,e.attr({x2:u.x,y2:u.y})}if(_){if(_*_>w*w+k*k)return void P();var A=_*Math.cos(d),S=_*Math.sin(d);o.x-=A,o.y-=S,e.attr({x1:o.x,y1:o.y})}}else if("path"===h.nodeName){var L=h.getTotalLength(),C="";if(L0||r.explicitOff.length>0},onClick:function(e,t){var i,l,s=o(e,t),c=s.on,u=s.off.concat(s.explicitOff),d={},f=e._fullLayout.annotations;if(!c.length&&!u.length)return;for(i=0;i), bold (), italics (),","hyperlinks (). Tags , , "," are also supported."].join(" ")},textangle:{valType:"angle",dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets the angle at which the `text` is drawn","with respect to the horizontal."].join(" ")},font:n({editType:"calc+arraydraw",colorEditType:"arraydraw",description:"Sets the annotation text font."}),width:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit width for the text box. null (default) lets the","text set the box width. Wider text will be clipped.","There is no automatic wrapping; use
to start a new line."].join(" ")},height:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit height for the text box. null (default) lets the","text set the box height. Taller text will be clipped."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"style",editType:"arraydraw",description:"Sets the opacity of the annotation (text + arrow)."},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",role:"style",editType:"arraydraw",description:["Sets the horizontal alignment of the `text` within the box.","Has an effect only if `text` spans two or more lines","(i.e. `text` contains one or more
HTML tags) or if an","explicit width is set to override the text width."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"arraydraw",description:["Sets the vertical alignment of the `text` within the box.","Has an effect only if an explicit height is set to override","the text height."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:"Sets the background color of the annotation."},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:["Sets the color of the border enclosing the annotation `text`."].join(" ")},borderpad:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the padding (in px) between the `text`","and the enclosing border."].join(" ")},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the width (in px) of the border enclosing","the annotation `text`."].join(" ")},showarrow:{valType:"boolean",dflt:!0,role:"style",editType:"calc+arraydraw",description:["Determines whether or not the annotation is drawn with an arrow.","If *true*, `text` is placed near the arrow's tail.","If *false*, `text` lines up with the `x` and `y` provided."].join(" ")},arrowcolor:{valType:"color",role:"style",editType:"arraydraw",description:"Sets the color of the annotation arrow."},arrowhead:{valType:"integer",min:0,max:r.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the end annotation arrow head style."},startarrowhead:{valType:"integer",min:0,max:r.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the start annotation arrow head style."},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",role:"style",editType:"arraydraw",description:"Sets the annotation arrow head position."},arrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the end annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},startarrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the start annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},arrowwidth:{valType:"number",min:.1,role:"style",editType:"calc+arraydraw",description:"Sets the width (in px) of annotation arrow line."},standoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the end arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},startstandoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the start arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},ax:{valType:"any",role:"info",editType:"calc+arraydraw",description:[c("x","left","right")].join(" ")},ay:{valType:"any",role:"info",editType:"calc+arraydraw",description:[c("y","top","bottom")].join(" ")},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",l.axisRefDescription("ax","left","right"),s("x")].join(" ")},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",l.axisRefDescription("ay","bottom","top"),s("y")].join(" ")},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],role:"info",editType:"calc",description:["Sets the annotation's x coordinate axis.",l.axisRefDescription("x","left","right")].join(" ")},x:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's x position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's horizontal position anchor","This anchor binds the `x` position to the *left*, *center*","or *right* of the annotation.","For example, if `x` is set to 1, `xref` to *paper* and","`xanchor` to *right* then the right-most portion of the","annotation lines up with the right-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *center* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},xshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow to the","right (positive) or left (negative) by this many pixels."].join(" ")},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],role:"info",editType:"calc",description:["Sets the annotation's y coordinate axis.",l.axisRefDescription("y","bottom","top")].join(" ")},y:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's y position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the annotation.","For example, if `y` is set to 1, `yref` to *paper* and","`yanchor` to *top* then the top-most portion of the","annotation lines up with the top-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *middle* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},yshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow up","(positive) or down (negative) by this many pixels."].join(" ")},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,role:"style",editType:"arraydraw",description:["Makes this annotation respond to clicks on the plot.","If you click a data point that exactly matches the `x` and `y`","values of this annotation, and it is hidden (visible: false),","it will appear. In *onoff* mode, you must click the same point","again to make it disappear, so if you click multiple points,","you can show multiple annotations. In *onout* mode, a click","anywhere else in the plot (on another data point or not) will","hide this annotation.","If you need to show/hide this annotation in response to different","`x` or `y` values, you can set `xclick` and/or `yclick`. This is","useful for example to label the side of a bar. To label markers","though, `standoff` is preferred over `xclick` and `yclick`."].join(" ")},xclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `x` value","is `xclick` rather than the annotation's `x` value."].join(" ")},yclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `y` value","is `yclick` rather than the annotation's `y` value."].join(" ")},hovertext:{valType:"string",role:"info",editType:"arraydraw",description:["Sets text to appear when hovering over this annotation.","If omitted or blank, no hover label will appear."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the background color of the hover label.","By default uses the annotation's `bgcolor` made opaque,","or white if it was transparent."].join(" ")},bordercolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the border color of the hover label.","By default uses either dark grey or white, for maximum","contrast with `hoverlabel.bgcolor`."].join(" ")},font:n({editType:"arraydraw",description:["Sets the hover label text font.","By default uses the global hover font and size,","with color from `hoverlabel.bordercolor`."].join(" ")}),editType:"arraydraw"},captureevents:{valType:"boolean",role:"info",editType:"arraydraw",description:["Determines whether the annotation text box captures mouse move","and click events, or allows those events to pass through to data","points in the plot that may be behind the annotation. By default","`captureevents` is *false* unless `hovertext` is provided.","If you use the event `plotly_clickannotation` without `hovertext`","you must explicitly enable `captureevents`."].join(" ")},editType:"calc",_deprecated:{ref:{valType:"string",role:"info",editType:"calc",description:["Obsolete. Set `xref` and `yref` separately instead."].join(" ")}}})})),i.register("6WOiC",(function(e,t){"use strict";e.exports={axisRefDescription:function(e,t,r){return["If set to a",e,"axis id (e.g. *"+e+"* or","*"+e+"2*), the `"+e+"` position refers to a",e,"coordinate. If set to *paper*, the `"+e+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+r+"). If set to a",e,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+e+"2 domain* refers to the domain of the second",e," axis and a",e,"position of 0.5 refers to the","point between the",t,"and the",r,"of the domain of the","second",e,"axis."].join(" ")}}})),i.register("4TIVN",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1nE8l"),a=i("6pAgU"),o=i("3oYmn"),l=i("561nh");function s(e,t,a){function i(n,a){return r.coerce(e,t,l,n,a)}var s=i("visible"),c=i("clicktoshow");if(s||c){o(e,t,a,i);for(var u=t.showarrow,d=["x","y"],f=[-10,-30],h={_fullLayout:a},p=0;p<2;p++){var g=d[p],v=n.coerceRef(e,t,h,g,"","paper");if("paper"!==v)n.getFromId(h,v)._annIndices.push(t._index);if(n.coercePosition(t,h,i,v,g,.5),u){var m="a"+g,y=n.coerceRef(e,t,h,m,"pixel",["pixel","paper"]);"pixel"!==y&&y!==v&&(y=t[m]="pixel");var x="pixel"===y?f[p]:.4;n.coercePosition(t,h,i,y,m,x)}i(g+"anchor"),i(g+"shift")}if(r.noneOrAll(e,t,["x","y"]),u&&r.noneOrAll(e,t,["ax","ay"]),c){var b=i("xclick"),_=i("yclick");t._xclick=void 0===b?t.x:n.cleanPosition(b,h,t.xref),t._yclick=void 0===_?t.y:n.cleanPosition(_,h,t.yref)}}}e.exports=function(e,t){a(e,t,{name:"annotations",handleItemDefaults:s})}})),i.register("3oYmn",(function(e,t){"use strict";var r=i("1nIvY"),n=i("3N5m7");e.exports=function(e,t,a,i){i("opacity");var o=i("bgcolor"),l=i("bordercolor"),s=n.opacity(l);i("borderpad");var c=i("borderwidth"),u=i("showarrow");if(i("text",u?" ":a._dfltTitle.annotation),i("textangle"),r.coerceFont(i,"font",a.font),i("width"),i("align"),i("height")&&i("valign"),u){var d,f,h=i("arrowside");-1!==h.indexOf("end")&&(d=i("arrowhead"),f=i("arrowsize")),-1!==h.indexOf("start")&&(i("startarrowhead",d),i("startarrowsize",f)),i("arrowcolor",s?t.bordercolor:n.defaultLine),i("arrowwidth",2*(s&&c||1)),i("standoff"),i("startstandoff")}var p=i("hovertext"),g=a.hoverlabel||{};if(p){var v=i("hoverlabel.bgcolor",g.bgcolor||(n.opacity(o)?n.rgb(o):n.defaultLine)),m=i("hoverlabel.bordercolor",g.bordercolor||n.contrast(v));r.coerceFont(i,"hoverlabel.font",{family:g.font.family,size:g.font.size,color:g.font.color||m})}i("captureevents",!!p)}})),i.register("1084d",(function(e,t){"use strict";var r=i("4Hxcc"),n=i("1nIvY"),a=i("22HUI");e.exports=function(e){return function(t,i){var o=t[e];if(Array.isArray(o))for(var l=r.subplotsRegistry.cartesian,s=l.idRegex,c=i._subplots,u=c.xaxis,d=c.yaxis,f=c.cartesian,h=i._has("cartesian")||i._has("gl2d"),p=0;p1){c=!0;break}}c?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+l+'"]').remove():(s._pdata=n(e.glplot.cameraParams,[t.xaxis.r2l(s.x)*i[0],t.yaxis.r2l(s.y)*i[1],t.zaxis.r2l(s.z)*i[2]]),r(e.graphDiv,s,l,e.id,s._xa,s._ya))}}})),i.register("2uHIJ",(function(e,t){"use strict";function r(e,t){var r,n,a=[0,0,0,0];for(r=0;r<4;++r)for(n=0;n<4;++n)a[n]+=e[4*r+n]*t[r];return a}e.exports=function(e,t){return r(e.projection,r(e.view,r(e.model,[t[0],t[1],t[2],1])))}})),i.register("3PzhP",(function(e,t){"use strict";var r=i("2zBj0");e.exports={moduleType:"component",name:"shapes",layoutAttributes:i("6RBR1"),supplyLayoutDefaults:i("6NGbH"),supplyDrawNewShapeDefaults:i("7Bm2t"),includeBasePlot:i("1084d")("shapes"),calcAutorange:i("7fcSN"),draw:r.draw,drawOne:r.drawOne}})),i.register("6RBR1",(function(e,t){"use strict";var r=i("561nh"),n=i("2oxdA").line,a=i("5wAu8").dash,o=i("1ZM4z").extendFlat,l=i("1IyjK").templatedArray,s=i("6WOiC");e.exports=l("shape",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this shape is visible."].join(" ")},type:{valType:"enumerated",values:["circle","rect","path","line"],role:"info",editType:"calc+arraydraw",description:["Specifies the shape type to be drawn.","If *line*, a line is drawn from (`x0`,`y0`) to (`x1`,`y1`)","with respect to the axes' sizing mode.","If *circle*, a circle is drawn from","((`x0`+`x1`)/2, (`y0`+`y1`)/2))","with radius","(|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|)","with respect to the axes' sizing mode.","If *rect*, a rectangle is drawn linking","(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)","with respect to the axes' sizing mode.","If *path*, draw a custom SVG path using `path`.","with respect to the axes' sizing mode."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:"Specifies whether shapes are drawn below or above traces."},xref:o({},r.xref,{description:["Sets the shape's x coordinate axis.",s.axisRefDescription("x","left","right"),"If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, then you must convert","the date to unix time in milliseconds."].join(" ")}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the x axis.","If set to *scaled*, `x0`, `x1` and x coordinates within `path` refer to","data values on the x axis or a fraction of the plot area's width","(`xref` set to *paper*).","If set to *pixel*, `xanchor` specifies the x position in terms","of data or plot fraction but `x0`, `x1` and x coordinates within `path`","are pixels relative to `xanchor`. This way, the shape can have","a fixed width while maintaining a position relative to data or","plot fraction."].join(" ")},xanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `xsizemode` set to *pixel*.","Specifies the anchor point on the x axis to which `x0`, `x1`","and x coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `xsizemode` not set to *pixel*."].join(" ")},x0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting x position.","See `type` and `xsizemode` for more info."].join(" ")},x1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end x position.","See `type` and `xsizemode` for more info."].join(" ")},yref:o({},r.yref,{description:["Sets the annotation's y coordinate axis.",s.axisRefDescription("y","bottom","top")].join(" ")}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the y axis.","If set to *scaled*, `y0`, `y1` and y coordinates within `path` refer to","data values on the y axis or a fraction of the plot area's height","(`yref` set to *paper*).","If set to *pixel*, `yanchor` specifies the y position in terms","of data or plot fraction but `y0`, `y1` and y coordinates within `path`","are pixels relative to `yanchor`. This way, the shape can have","a fixed height while maintaining a position relative to data or","plot fraction."].join(" ")},yanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `ysizemode` set to *pixel*.","Specifies the anchor point on the y axis to which `y0`, `y1`","and y coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `ysizemode` not set to *pixel*."].join(" ")},y0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting y position.","See `type` and `ysizemode` for more info."].join(" ")},y1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end y position.","See `type` and `ysizemode` for more info."].join(" ")},path:{valType:"string",role:"info",editType:"calc+arraydraw",description:["For `type` *path* - a valid SVG path with the pixel values","replaced by data values in `xsizemode`/`ysizemode` being *scaled*","and taken unmodified as pixels relative to `xanchor` and `yanchor`","in case of *pixel* size mode.","There are a few restrictions / quirks","only absolute instructions, not relative. So the allowed segments","are: M, L, H, V, Q, C, T, S, and Z","arcs (A) are not allowed because radius rx and ry are relative.","In the future we could consider supporting relative commands,","but we would have to decide on how to handle date and log axes.","Note that even as is, Q and C Bezier paths that are smooth on","linear axes may not be smooth on log, and vice versa.",'no chained "polybezier" commands - specify the segment type for',"each one.","On category axes, values are numbers scaled to the serial numbers","of categories because using the categories themselves there would","be no way to describe fractional positions","On data axes: because space and T are both normal components of path","strings, we can't use either to separate date from time parts.","Therefore we'll use underscore for this purpose:","2015-02-21_13:45:56.789"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"arraydraw",description:"Sets the opacity of the shape."},line:{color:o({},n.color,{editType:"arraydraw"}),width:o({},n.width,{editType:"calc+arraydraw"}),dash:o({},a,{editType:"arraydraw"}),role:"info",editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"arraydraw",description:["Sets the color filling the shape's interior. Only applies to closed shapes."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"arraydraw",description:["Determines which regions of complex paths constitute the interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},editable:{valType:"boolean",role:"info",dflt:!1,editType:"calc+arraydraw",description:["Determines whether the shape could be activated for edit or not.","Has no effect when the older editable shapes mode is enabled via","`config.editable` or `config.edits.shapePosition`."].join(" ")},editType:"arraydraw"})})),i.register("6NGbH",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1nE8l"),a=i("6pAgU"),o=i("6RBR1"),l=i("6VQ7W");function s(e,t,a){function i(n,a){return r.coerce(e,t,o,n,a)}if(i("visible")){var s=i("path"),c=i("type",s?"path":"rect");"path"!==t.type&&delete t.path,i("editable"),i("layer"),i("opacity"),i("fillcolor"),i("fillrule"),i("line.width")&&(i("line.color"),i("line.dash"));for(var u=i("xsizemode"),d=i("ysizemode"),f=["x","y"],h=0;h<2;h++){var p,g,v,m=f[h],y=m+"anchor",x="x"===m?u:d,b={_fullLayout:a},_=n.coerceRef(e,t,b,m,void 0,"paper");if("range"===n.getRefType(_)?((p=n.getFromId(b,_))._shapeIndices.push(t._index),v=l.rangeToShapePosition(p),g=l.shapePositionToRange(p)):g=v=r.identity,"path"!==c){var w=m+"0",k=m+"1",T=e[w],M=e[k];e[w]=g(e[w],!0),e[k]=g(e[k],!0),"pixel"===x?(i(w,0),i(k,10)):(n.coercePosition(t,b,i,_,w,.25),n.coercePosition(t,b,i,_,k,.75)),t[w]=v(t[w]),t[k]=v(t[k]),e[w]=T,e[k]=M}if("pixel"===x){var A=e[y];e[y]=g(e[y],!0),n.coercePosition(t,b,i,_,y,.25),t[y]=v(t[y]),e[y]=A}}"path"===c?i("path"):r.noneOrAll(e,t,["x0","x1","y0","y1"])}}e.exports=function(e,t){a(e,t,{name:"shapes",handleItemDefaults:s})}})),i.register("7Bm2t",(function(e,t){"use strict";var r=i("3N5m7");e.exports=function(e,t,n){if(n("newshape.drawdirection"),n("newshape.layer"),n("newshape.fillcolor"),n("newshape.fillrule"),n("newshape.opacity"),n("newshape.line.width")){var a=(e||{}).plot_bgcolor||"#FFF";n("newshape.line.color",r.contrast(a)),n("newshape.line.dash")}n("activeshape.fillcolor"),n("activeshape.opacity")}})),i.register("7fcSN",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1nE8l"),a=i("fN6X1"),o=i("6VQ7W");function l(e){return c(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function s(e){return c(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function c(e,t,n,i,l,s){var c=e/2,u=s;if("pixel"===t){var d=l?o.extractPathCoords(l,s?a.paramIsY:a.paramIsX):[n,i],f=r.aggNums(Math.max,null,d),h=r.aggNums(Math.min,null,d),p=h<0?Math.abs(h)+c:c,g=f>0?f+c:c;return{ppad:c,ppadplus:u?p:g,ppadminus:u?g:p}}return{ppad:c}}function u(e,t,r,n,i){var l="category"===e.type||"multicategory"===e.type?e.r2c:e.d2c;if(void 0!==t)return[l(t),l(r)];if(n){var s,c,u,d,f=1/0,h=-1/0,p=n.match(a.segmentRE);for("date"===e.type&&(l=o.decodeDate(l)),s=0;sh&&(h=d)));return h>=f?[f,h]:void 0}}e.exports=function(e){var t=e._fullLayout,i=r.filterVisible(t.shapes);if(i.length&&e._fullData.length)for(var o=0;o0)&&(o("active"),o("direction"),o("type"),o("showactive"),o("x"),o("y"),r.noneOrAll(e,t,["x","y"]),o("xanchor"),o("yanchor"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),r.coerceFont(o,"font",i.font),o("bgcolor",i.paper_bgcolor),o("bordercolor"),o("borderwidth"))}function c(e,t){function n(n,a){return r.coerce(e,t,l,n,a)}n("visible","skip"===e.method||Array.isArray(e.args))&&(n("method"),n("args"),n("args2"),n("label"),n("execute"))}e.exports=function(e,t){n(e,t,{name:o,handleItemDefaults:s})}})),i.register("4QIlc",(function(e,t){"use strict";var r=i("4Wia9"),n=i("3BndS"),a=i("3N5m7"),o=i("7jar4"),l=i("1nIvY"),s=i("49Q6h"),c=i("1IyjK").arrayEditor,u=i("5n2uh").LINE_SPACING,d=i("2FbQ1"),f=i("2KBfh");function h(e){return e._index}function p(e,t){return+e.attr(d.menuIndexAttrName)===t._index}function g(e,t,r,n,a,i,o,l){t.active=o,c(e.layout,d.name,t).applyUpdate("active",o),"buttons"===t.type?m(e,n,null,null,t):"dropdown"===t.type&&(a.attr(d.menuIndexAttrName,"-1"),v(e,n,a,i,t),l||m(e,n,a,i,t))}function v(e,t,r,n,a){var i=l.ensureSingle(t,"g",d.headerClassName,(function(e){e.style("pointer-events","all")})),s=a._dims,c=a.active,u=a.buttons[c]||d.blankHeaderOpts,f={y:a.pad.t,yPad:0,x:a.pad.l,xPad:0,index:0},h={width:s.headerWidth,height:s.headerHeight};i.call(y,a,u,e).call(A,a,f,h),l.ensureSingle(t,"text",d.headerArrowClassName,(function(e){e.attr("text-anchor","end").call(o.font,a.font).text(d.arrowSymbol[a.direction])})).attr({x:s.headerWidth-d.arrowOffsetX+a.pad.l,y:s.headerHeight/2+d.textOffsetY+a.pad.t}),i.on("click",(function(){r.call(S,String(p(r,a)?-1:a._index)),m(e,t,r,n,a)})),i.on("mouseover",(function(){i.call(w)})),i.on("mouseout",(function(){i.call(k,a)})),o.setTranslate(t,s.lx,s.ly)}function m(e,t,a,i,o){a||(a=t).attr("pointer-events","all");var s=function(e){return-1==+e.attr(d.menuIndexAttrName)}(a)&&"buttons"!==o.type?[]:o.buttons,c="dropdown"===o.type?d.dropdownButtonClassName:d.buttonClassName,u=a.selectAll("g."+c).data(l.filterVisible(s)),f=u.enter().append("g").classed(c,!0),h=u.exit();"dropdown"===o.type?(f.attr("opacity","0").transition().attr("opacity","1"),h.transition().attr("opacity","0").remove()):h.remove();var p=0,v=0,m=o._dims,x=-1!==["up","down"].indexOf(o.direction);"dropdown"===o.type&&(x?v=m.headerHeight+d.gapButtonHeader:p=m.headerWidth+d.gapButtonHeader),"dropdown"===o.type&&"up"===o.direction&&(v=-d.gapButtonHeader+d.gapButton-m.openHeight),"dropdown"===o.type&&"left"===o.direction&&(p=-d.gapButtonHeader+d.gapButton-m.openWidth);var b={x:m.lx+p+o.pad.l,y:m.ly+v+o.pad.t,yPad:d.gapButton,xPad:d.gapButton,index:0},T={l:b.x+o.borderwidth,t:b.y+o.borderwidth};u.each((function(l,s){var c=r.select(this);c.call(y,o,l,e).call(A,o,b),c.on("click",(function(){r.event.defaultPrevented||(l.execute&&(l.args2&&o.active===s?(g(e,o,0,t,a,i,-1),n.executeAPICommand(e,l.method,l.args2)):(g(e,o,0,t,a,i,s),n.executeAPICommand(e,l.method,l.args))),e.emit("plotly_buttonclicked",{menu:o,button:l,active:o.active}))})),c.on("mouseover",(function(){c.call(w)})),c.on("mouseout",(function(){c.call(k,o),u.call(_,o)}))})),u.call(_,o),x?(T.w=Math.max(m.openWidth,m.headerWidth),T.h=b.y-T.t):(T.w=b.x-T.l,T.h=Math.max(m.openHeight,m.headerHeight)),T.direction=o.direction,i&&(u.size()?function(e,t,r,n,a,i){var o,l,s,c=a.direction,u="up"===c||"down"===c,f=a._dims,h=a.active;if(u)for(l=0,s=0;s0?[0]:[]);if(o.enter().append("g").classed(d.containerClassName,!0).style("cursor","pointer"),o.exit().each((function(){r.select(this).selectAll("g."+d.headerGroupClassName).each(i)})).remove(),0!==a.length){var s=o.selectAll("g."+d.headerGroupClassName).data(a,h);s.enter().append("g").classed(d.headerGroupClassName,!0);for(var c=l.ensureSingle(o,"g",d.dropdownButtonGroupClassName,(function(e){e.style("pointer-events","all")})),u=0;uw,M=l.barLength+2*l.barPad,A=l.barWidth+2*l.barPad,S=p,L=v+m;L+A>c&&(L=c-A);var C=this.container.selectAll("rect.scrollbar-horizontal").data(T?[0]:[]);C.exit().on(".drag",null).remove(),C.enter().append("rect").classed("scrollbar-horizontal",!0).call(n.fill,l.barColor),T?(this.hbar=C.attr({rx:l.barRadius,ry:l.barRadius,x:S,y:L,width:M,height:A}),this._hbarXMin=S+M/2,this._hbarTranslateMax=w-M):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var I=m>k,O=l.barWidth+2*l.barPad,D=l.barLength+2*l.barPad,z=p+g,P=v;z+O>s&&(z=s-O);var j=this.container.selectAll("rect.scrollbar-vertical").data(I?[0]:[]);j.exit().on(".drag",null).remove(),j.enter().append("rect").classed("scrollbar-vertical",!0).call(n.fill,l.barColor),I?(this.vbar=j.attr({rx:l.barRadius,ry:l.barRadius,x:z,y:P,width:O,height:D}),this._vbarYMin=P+D/2,this._vbarTranslateMax=k-D):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var E=this.id,R=u-.5,N=I?d+O+.5:d+.5,F=f-.5,H=T?h+A+.5:h+.5,B=o._topdefs.selectAll("#"+E).data(T||I?[0]:[]);if(B.exit().remove(),B.enter().append("clipPath").attr("id",E).append("rect"),T||I?(this._clipRect=B.select("rect").attr({x:Math.floor(R),y:Math.floor(F),width:Math.ceil(N)-Math.floor(R),height:Math.ceil(H)-Math.floor(F)}),this.container.call(a.setClipUrl,E,this.gd),this.bg.attr({x:p,y:v,width:g,height:m})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),T||I){var U=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(U);var q=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault(),r.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));T&&this.hbar.on(".drag",null).call(q),I&&this.vbar.on(".drag",null).call(q)}this.setTranslate(t,i)},l.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},l.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=r.event.dx),this.vbar&&(t-=r.event.dy),this.setTranslate(e,t)},l.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=r.event.deltaY),this.vbar&&(t+=r.event.deltaY),this.setTranslate(e,t)},l.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var n=e+this._hbarXMin,a=n+this._hbarTranslateMax;e=(o.constrain(r.event.x,n,a)-n)/(a-n)*(this.position.w-this._box.w)}if(this.vbar){var i=t+this._vbarYMin,l=i+this._vbarTranslateMax;t=(o.constrain(r.event.y,i,l)-i)/(l-i)*(this.position.h-this._box.h)}this.setTranslate(e,t)},l.prototype.setTranslate=function(e,t){var r=this.position.w-this._box.w,n=this.position.h-this._box.h;if(e=o.constrain(e||0,0,r),t=o.constrain(t||0,0,n),this.translateX=e,this.translateY=t,this.container.call(a.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var i=e/r;this.hbar.call(a.setTranslate,e+i*this._hbarTranslateMax,t)}if(this.vbar){var l=t/n;this.vbar.call(a.setTranslate,e,t+l*this._vbarTranslateMax)}}})),i.register("6LgZ4",(function(e,t){"use strict";var r=i("6jqeg");e.exports={moduleType:"component",name:r.name,layoutAttributes:i("5OgGA"),supplyLayoutDefaults:i("6cUFq"),draw:i("hPtd4")}})),i.register("6jqeg",(function(e,t){"use strict";e.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}})),i.register("5OgGA",(function(e,t){"use strict";var r=i("10Nlb"),n=i("5zrJR"),a=i("1ZM4z").extendDeepAll,o=i("1bSCj").overrideAll,l=i("69Oag"),s=i("1IyjK").templatedArray,c=i("6jqeg"),u=s("step",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not this step is included in the slider."].join(" ")},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",role:"info",description:["Sets the Plotly method to be called when the slider value is changed.","If the `skip` method is used, the API slider will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","slider events manually via JavaScript."].join(" ")},args:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on slide."].join(" ")},label:{valType:"string",role:"info",description:"Sets the text label to appear on the slider"},value:{valType:"string",role:"info",description:["Sets the value of the slider step, used to refer to the step programatically.","Defaults to the slider label if not provided."].join(" ")},execute:{valType:"boolean",role:"info",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_sliderchange` method and executing the API command manually without losing","the benefit of the slider automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=o(s("slider",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not the slider is visible."].join(" ")},active:{valType:"number",role:"info",min:0,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this slider length","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the slider","This measure excludes the padding of both ends.","That is, the slider's length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the x position (in normalized coordinates) of the slider."},pad:a(n({editType:"arraydraw"}),{description:"Set the padding of the slider component along each side."},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",description:["Sets the slider's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the y position (in normalized coordinates) of the slider."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",role:"info",description:["Sets the slider's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},transition:{duration:{valType:"number",role:"info",min:0,dflt:150,description:"Sets the duration of the slider transition"},easing:{valType:"enumerated",values:l.transition.easing.values,role:"info",dflt:"cubic-in-out",description:"Sets the easing function of the slider transition"}},currentvalue:{visible:{valType:"boolean",role:"info",dflt:!0,description:["Shows the currently-selected value above the slider."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"info",description:["The alignment of the value readout relative to the length of the slider."].join(" ")},offset:{valType:"number",dflt:10,role:"info",description:["The amount of space, in pixels, between the current value label","and the slider."].join(" ")},prefix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the prefix of the label."},suffix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the suffix of the label."},font:r({description:"Sets the font of the current value label text."})},font:r({description:"Sets the font of the slider step labels."}),activebgcolor:{valType:"color",role:"style",dflt:c.gripBgActiveColor,description:["Sets the background color of the slider grip","while dragging."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:c.railBgColor,description:"Sets the background color of the slider."},bordercolor:{valType:"color",dflt:c.railBorderColor,role:"style",description:"Sets the color of the border enclosing the slider."},borderwidth:{valType:"number",min:0,dflt:c.railBorderWidth,role:"style",description:"Sets the width (in px) of the border enclosing the slider."},ticklen:{valType:"number",min:0,dflt:c.tickLength,role:"style",description:"Sets the length in pixels of step tick marks"},tickcolor:{valType:"color",dflt:c.tickColor,role:"style",description:"Sets the color of the border enclosing the slider."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",description:"Sets the tick width (in px)."},minorticklen:{valType:"number",min:0,dflt:c.minorTickLength,role:"style",description:"Sets the length in pixels of minor step tick marks"}}),"arraydraw","from-root")})),i.register("6cUFq",(function(e,t){"use strict";var r=i("1nIvY"),n=i("6pAgU"),a=i("5OgGA"),o=i("6jqeg").name,l=a.steps;function s(e,t,i){function o(n,i){return r.coerce(e,t,a,n,i)}for(var l=n(e,t,{name:"steps",handleItemDefaults:c}),s=0,u=0;u0&&(l=l.transition().duration(t.transition.duration).ease(t.transition.easing)),l.attr("transform",s(o-.5*d.gripWidth,t._dims.currentValueTotalHeight))}}function L(e,t){var r=e._dims;return r.inputAreaStart+d.stepInset+(r.inputAreaLength-2*d.stepInset)*Math.min(1,Math.max(0,t))}function C(e,t){var r=e._dims;return Math.min(1,Math.max(0,(t-d.stepInset-r.inputAreaStart)/(r.inputAreaLength-2*d.stepInset-2*r.inputAreaStart)))}function I(e,t,r){var n=r._dims,i=l.ensureSingle(e,"rect",d.railTouchRectClass,(function(n){n.call(M,t,e,r).style("pointer-events","all")}));i.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,d.tickOffset+r.ticklen+n.labelHeight)}).call(a.fill,r.bgcolor).attr("opacity",0),o.setTranslate(i,0,n.currentValueTotalHeight)}function O(e,t){var r=t._dims,n=r.inputAreaLength-2*d.railInset,i=l.ensureSingle(e,"rect",d.railRectClass);i.attr({width:n,height:d.railWidth,rx:d.railRadius,ry:d.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,t.bordercolor).call(a.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),o.setTranslate(i,d.railInset,.5*(r.inputAreaWidth-d.railWidth)+r.currentValueTotalHeight)}e.exports=function(e){var t=e._fullLayout,a=function(e,t){for(var r=e[d.name],n=[],a=0;a0?[0]:[]);function l(t){t._commandObserver&&(t._commandObserver.remove(),delete t._commandObserver),n.autoMargin(e,v(t))}if(i.enter().append("g").classed(d.containerClassName,!0).style("cursor","ew-resize"),i.exit().each((function(){r.select(this).selectAll("g."+d.groupClassName).each(l)})).remove(),0!==a.length){var s=i.selectAll("g."+d.groupClassName).data(a,m);s.enter().append("g").classed(d.groupClassName,!0),s.exit().each(l).remove();for(var c=0;cn),(e=>n=e)),t(e.exports,"makeData",(()=>o),(e=>o=e)),t(e.exports,"isVisible",(()=>a),(e=>a=e));var l=i("22HUI"),s=i("49Q6h"),c=i("38b57"),u=i("5n2uh").LINE_SPACING,d=c.name;function f(e){var t=e&&e[d];return t&&t.visible}a=f,o=function(e){var t=l.list({_fullLayout:e},"x",!0),r=e.margin,n=[];if(!e._has("gl2d"))for(var a=0;a=n.max)t=R[r+1];else if(e=n.pmax)t=R[r+1];else if(e0)){var g=function(e,t,r){for(var n=r.filter((function(r){return t[r].anchor===e._id})),a=0,i=0;i1){if(!f&&!h&&!p)"independent"===T("pattern")&&(f=!0);v._hasSubplotGrid=f;var x,b,_="top to bottom"===T("roworder"),w=f?.2:.1,k=f?.3:.1;g&&t._splomGridDflt&&(x=t._splomGridDflt.xside,b=t._splomGridDflt.yside),v._domains={x:u("x",T,w,x,y),y:u("y",T,k,b,m,_)}}else delete t.grid}function T(e,t){return r.coerce(n,v,s,e,t)}},contentDefaults:function(e,t){var r=t.grid;if(r&&r._domains){var n,a,i,o,l,s,u,f=e.grid||{},h=t._subplots,p=r._hasSubplotGrid,g=r.rows,v=r.columns,m="independent"===r.pattern,y=r._axisMap={};if(p){var x=f.subplots||[];s=r.subplots=new Array(g);var b=1;for(n=0;nn),(e=>n=e)),t(e.exports,"defaults",(()=>a),(e=>a=e));var o=i("1ZM4z").extendFlat;n=function(e,t){t=t||{};var r={valType:"info_array",role:"info",editType:(e=e||{}).editType,items:[{valType:"number",min:0,max:1,editType:e.editType},{valType:"number",min:0,max:1,editType:e.editType}],dflt:[0,1]},n=e.name?e.name+" ":"",a=e.trace?"trace ":"subplot ",i=t.description?" "+t.description:"",l={x:o({},r,{description:["Sets the horizontal domain of this ",n,a,"(in plot fraction).",i].join("")}),y:o({},r,{description:["Sets the vertical domain of this ",n,a,"(in plot fraction).",i].join("")}),editType:e.editType};return e.noGridCell||(l.row={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this row in the grid for this ",n,a,".",i].join("")},l.column={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this column in the grid for this ",n,a,".",i].join("")}),l},a=function(e,t,r,n){var a=n&&n.x||[0,1],i=n&&n.y||[0,1],o=t.grid;if(o){var l=r("domain.column");void 0!==l&&(l0;t.each((function(t){var d,f=t[0].trace,h=f.error_x||{},p=f.error_y||{};f.ids&&(d=function(e){return e.id});var g=o.hasMarkers(f)&&f.marker.maxdisplayed>0;p.visible||h.visible||(t=[]);var v=r.select(this).selectAll("g.errorbar").data(t,d);if(v.exit().remove(),t.length){h.visible||v.selectAll("path.xerror").remove(),p.visible||v.selectAll("path.yerror").remove(),v.style("opacity",1);var m=v.enter().append("g").classed("errorbar",!0);u&&m.style("opacity",0).transition().duration(l.duration).style("opacity",1),a.setClipUrl(v,i.layerClipId,e),v.each((function(e){var t=r.select(this),a=function(e,t,r){var a={x:t.c2p(e.x),y:r.c2p(e.y)};void 0!==e.yh&&(a.yh=r.c2p(e.yh),a.ys=r.c2p(e.ys),n(a.ys)||(a.noYS=!0,a.ys=r.c2p(e.ys,!0)));void 0!==e.xh&&(a.xh=t.c2p(e.xh),a.xs=t.c2p(e.xs),n(a.xs)||(a.noXS=!0,a.xs=t.c2p(e.xs,!0)));return a}(e,s,c);if(!g||e.vis){var i,o=t.select("path.yerror");if(p.visible&&n(a.x)&&n(a.yh)&&n(a.ys)){var d=p.width;i="M"+(a.x-d)+","+a.yh+"h"+2*d+"m-"+d+",0V"+a.ys,a.noYS||(i+="m-"+d+",0h"+2*d),!o.size()?o=t.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0):u&&(o=o.transition().duration(l.duration).ease(l.easing)),o.attr("d",i)}else o.remove();var f=t.select("path.xerror");if(h.visible&&n(a.y)&&n(a.xh)&&n(a.xs)){var v=(h.copy_ystyle?p:h).width;i="M"+a.xh+","+(a.y-v)+"v"+2*v+"m0,-"+v+"H"+a.xs,a.noXS||(i+="m0,-"+v+"v"+2*v),!f.size()?f=t.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0):u&&(f=f.transition().duration(l.duration).ease(l.easing)),f.attr("d",i)}else f.remove()}}))}}))}})),i.register("4trVw",(function(e,t){"use strict";var r=i("4Wia9"),n=i("3N5m7");e.exports=function(e){e.each((function(e){var t=e[0].trace,a=t.error_y||{},i=t.error_x||{},o=r.select(this);o.selectAll("path.yerror").style("stroke-width",a.thickness+"px").call(n.stroke,a.color),i.copy_ystyle&&(i=a),o.selectAll("path.xerror").style("stroke-width",i.thickness+"px").call(n.stroke,i.color)}))}})),i.register("5vWG9",(function(e,t){"use strict";e.exports={moduleType:"component",name:"colorbar",attributes:i("37lMN"),supplyDefaults:i("71mSL"),draw:i("HgR8O").draw,hasColorbar:i("2ef6h")}})),i.register("HgR8O",(function(e,t){"use strict";var r=i("4Wia9"),n=i("3Twc4"),a=i("3BndS"),o=i("4Hxcc"),l=i("1nE8l"),s=i("NlhQs"),c=i("1nIvY"),u=c.strTranslate,d=i("1ZM4z").extendFlat,f=i("3kB5v"),h=i("7jar4"),p=i("3N5m7"),g=i("4m0W1"),v=i("49Q6h"),m=i("hpg1L").flipScale,y=i("5HbOA"),x=i("4rJX8"),b=i("1bJQq"),_=i("5n2uh"),w=_.LINE_SPACING,k=_.FROM_TL,T=_.FROM_BR,M=i("5Kf37").cn;e.exports={draw:function(e){var t=e._fullLayout._infolayer.selectAll("g."+M.colorbar).data(function(e){var t,r,n,a,i=e._fullLayout,o=e.calcdata,l=[];function s(e){return d(e,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function c(){"function"==typeof a.calc?a.calc(e,n,t):(t._fillgradient=r.reversescale?m(r.colorscale):r.colorscale,t._zrange=[r[a.min],r[a.max]])}for(var u=0;u0?n>=s:n<=s));a++)n>u&&n0?n>=s:n<=s));a++)n>r[0]&&n1){var Q=Math.pow(10,Math.floor(Math.log(X)/Math.LN10));Z*=Q*c.roundUp(X/Q,[2,5,10]),(Math.abs(I.start)/I.size+1e-6)%1<2e-6&&(G.tick0=0)}G.dtick=Z}G.domain=[q+H,q+R-H],G.setScale(),e.attr("transform",u(Math.round(s.l),Math.round(s.t)));var J,K=e.select("."+M.cbtitleunshift).attr("transform",u(-Math.round(s.l),-Math.round(s.t))),$=e.select("."+M.cbaxis),ee=0;function te(r,n){var a={propContainer:G,propName:t._propPrefix+"title",traceIndex:t._traceIndex,_meta:t._meta,placeholder:o._dfltTitle.colorbar,containerGroup:e.select("."+M.cbtitle)},l="h"===r.charAt(0)?r.substr(1):"h"+r;e.selectAll("."+l+",."+l+"-math-group").remove(),g.draw(i,r,d(a,n||{}))}function re(){if(-1!==["top","bottom"].indexOf(A)){var e,r=s.l+(t.x+N)*s.w,n=G.title.font.size;e="top"===A?(1-(q+R-H))*s.h+s.t+3+.75*n:(1-(q+H))*s.h+s.t-3-.25*n,te(G._id+"title",{attributes:{x:r,y:e,"text-anchor":"start"}})}}function ne(){if(-1===["top","bottom"].indexOf(A)){var e=G.title.font.size,t=G._offset+G._length/2,n=s.l+(G.position||0)*s.w+("right"===G.side?10+e*(G.showticklabels?1:.5):-10-e*(G.showticklabels?.5:0));te("h"+G._id+"title",{avoid:{selection:r.select(i).selectAll("g."+G._id+"tick"),side:A,offsetLeft:s.l,offsetTop:0,maxShift:o.width},attributes:{x:n,y:t,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}}function ae(){if(-1!==["top","bottom"].indexOf(A)){var a=e.select("."+M.cbtitle),o=a.select("text"),d=[-t.outlinewidth/2,t.outlinewidth/2],f=a.select(".h"+G._id+"title-math-group").node(),p=15.6;if(o.node()&&(p=parseInt(o.node().style.fontSize,10)*w),f?(ee=h.bBox(f).height)>p&&(d[1]-=(ee-p)/2):o.node()&&!o.classed(M.jsPlaceholder)&&(ee=h.bBox(o.node()).height),ee){if(ee+=5,"top"===A)G.domain[1]-=ee/s.h,d[1]*=-1;else{G.domain[0]+=ee/s.h;var g=v.lineCount(o);d[1]+=(1-g)*p}a.attr("transform",u(d[0],d[1])),G.setScale()}}e.selectAll("."+M.cbfills+",."+M.cblines).attr("transform",u(0,Math.round(s.h*(1-G.domain[1])))),$.attr("transform",u(0,Math.round(-s.t)));var y=e.select("."+M.cbfills).selectAll("rect."+M.cbfill).attr("style","").data(D);y.enter().append("rect").classed(M.cbfill,!0).style("stroke","none"),y.exit().remove();var x=S.map(G.c2p).map(Math.round).sort((function(e,t){return e-t}));y.each((function(e,a){var o=[0===a?S[0]:(D[a]+D[a-1])/2,a===D.length-1?S[1]:(D[a]+D[a+1])/2].map(G.c2p).map(Math.round);o[1]=c.constrain(o[1]+(o[1]>o[0])?1:-1,x[0],x[1]);var l=r.select(this).attr({x:B,width:Math.max(P,2),y:r.min(o),height:Math.max(r.max(o)-r.min(o),2)});if(t._fillgradient)h.gradient(l,i,t._id,"vertical",t._fillgradient,"fill");else{var s=C(e).replace("e-","");l.attr("fill",n(s).toHexString())}}));var b=e.select("."+M.cblines).selectAll("path."+M.cbline).data(m.color&&m.width?z:[]);b.enter().append("path").classed(M.cbline,!0),b.exit().remove(),b.each((function(e){r.select(this).attr("d","M"+B+","+(Math.round(G.c2p(e))+m.width/2%1)+"h"+P).call(h.lineGroupStyle,m.width,L(e),m.dash)})),$.selectAll("g."+G._id+"tick,path").remove();var _=B+P+(t.outlinewidth||0)/2-("outside"===t.ticks?1:0),k=l.calcTicks(G),T=l.getTickSigns(G)[2];return l.drawTicks(i,G,{vals:"inside"===G.ticks?l.clipEnds(G,k):k,layer:$,path:l.makeTickPath(G,_,T),transFn:l.makeTransTickFn(G)}),l.drawLabels(i,G,{vals:k,layer:$,transFn:l.makeTransTickLabelFn(G),labelFns:l.makeLabelFns(G,_)})}function ie(){var r=P+t.outlinewidth/2;if(-1===G.ticklabelposition.indexOf("inside")&&(r+=h.bBox($.node()).width),(J=K.select("text")).node()&&!J.classed(M.jsPlaceholder)){var n,o=K.select(".h"+G._id+"title-math-group").node();n=o&&-1!==["top","bottom"].indexOf(A)?h.bBox(o).width:h.bBox(K.node()).right-B-s.l,r=Math.max(r,n)}var l=2*t.xpad+r+t.borderwidth+t.outlinewidth/2,c=V-Y;e.select("."+M.cbbg).attr({x:B-t.xpad-(t.borderwidth+t.outlinewidth)/2,y:Y-F,width:Math.max(l,2),height:Math.max(c+2*F,2)}).call(p.fill,t.bgcolor).call(p.stroke,t.bordercolor).style("stroke-width",t.borderwidth),e.selectAll("."+M.cboutline).attr({x:B,y:Y+t.ypad+("top"===A?ee:0),width:Math.max(P,2),height:Math.max(c-2*t.ypad-ee,2)}).call(p.stroke,t.outlinecolor).style({fill:"none","stroke-width":t.outlinewidth});var d=({center:.5,right:1}[t.xanchor]||0)*l;e.attr("transform",u(s.l-d,s.t));var f={},g=k[t.yanchor],v=T[t.yanchor];"pixels"===t.lenmode?(f.y=t.y,f.t=c*g,f.b=c*v):(f.t=f.b=0,f.yt=t.y+t.len*g,f.yb=t.y-t.len*v);var m=k[t.xanchor],y=T[t.xanchor];if("pixels"===t.thicknessmode)f.x=t.x,f.l=l*m,f.r=l*y;else{var x=l-P;f.l=x*m,f.r=x*y,f.xl=t.x-t.thickness*m,f.xr=t.x+t.thickness*y}a.autoMargin(i,t._id,f)}return c.syncOrAsync([a.previousPromises,re,ae,ne,a.previousPromises,ie],i)}(i,t,e);m&&m.then&&(e._promises||[]).push(m),e._context.edits.colorbarPosition&&function(e,t,r){var n,a,i,l=r._fullLayout._size;s.init({element:e.node(),gd:r,prepFn:function(){n=e.attr("transform"),f(e)},moveFn:function(r,o){e.attr("transform",n+u(r,o)),a=s.align(t._xLeftFrac+r/l.w,t._thickFrac,0,1,t.xanchor),i=s.align(t._yBottomFrac-o/l.h,t._lenFrac,0,1,t.yanchor);var c=s.getCursor(a,i,t.xanchor,t.yanchor);f(e,c)},doneFn:function(){if(f(e),void 0!==a&&void 0!==i){var n={};n[t._propPrefix+"x"]=a,n[t._propPrefix+"y"]=i,void 0!==t._traceIndex?o.call("_guiRestyle",r,n,t._traceIndex):o.call("_guiRelayout",r,n)}}})}(i,t,e)})),t.exit().each((function(t){a.autoMargin(e,t._id)})).remove(),t.order()}}})),i.register("5Kf37",(function(e,t){"use strict";e.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}})),i.register("55OOg",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{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"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}})),i.register("4Fx1P",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}})),i.register("7w5U2",(function(e,t){"use strict";var r=i("3N1mF"),n={getDelay:r.getDelay,getRedrawFunc:r.getRedrawFunc,clone:i("7MLlS"),toSVG:i("7sX8s"),svgToImg:i("5B7kc"),toImage:i("5z8U2"),downloadImage:i("4egvB")};e.exports=n})),i.register("7MLlS",(function(e,t){"use strict";var r=i("4Hxcc"),n=i("1nIvY"),a=n.extendFlat,o=n.extendDeep;function l(e){var t;switch(e){case"themes__thumb":t={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":t={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:t={}}return t}e.exports=function(e,t){var n;e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var i,s=e.data,c=e.layout,u=o([],s),d=o({},c,l(t.tileClass)),f=e._context||{};if(t.width&&(d.width=t.width),t.height&&(d.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){d.annotations=[];var h=Object.keys(d);for(n=0;n-1&&(d[h[n]].title={text:""});for(n=0;nn),(e=>n=e)),t(e.exports,"plot",(()=>a),(e=>a=e)),t(e.exports,"clean",(()=>o),(e=>o=e));var l=i("3BndS");n="treemap",a=function(e,t,r,a){l.plotBasePlot(n,e,t,r,a)},o=function(e,t,r,a){l.cleanBasePlot(n,e,t,r,a)}})),i.register("21rGq",(function(e,t){"use strict";var r=i("61PQn").hovertemplateAttrs,n=i("61PQn").texttemplateAttrs,a=i("3Lcu9"),o=i("6wryo").attributes,l=i("5yBH0"),s=i("1m4Rp"),c=i("4EUdN"),u=i("1ZM4z").extendFlat;e.exports={labels:s.labels,parents:s.parents,values:s.values,branchvalues:s.branchvalues,count:s.count,level:s.level,maxdepth:s.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",role:"info",editType:"plot",description:["Determines d3 treemap solver.","For more info please refer to https://github.com/d3/d3-hierarchy#treemap-tiling"].join(" ")},squarifyratio:{valType:"number",role:"info",min:1,dflt:1,editType:"plot",description:["When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio","this option specifies the desired aspect ratio of the generated rectangles.","The ratio must be specified as a number greater than or equal to one.","Note that the orientation of the generated rectangles (tall or wide)","is not implied by the ratio; for example, a ratio of two will attempt","to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2.","When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034,","Plotly applies 1 to increase squares in treemap layouts."].join(" ")},flip:{valType:"flaglist",role:"info",flags:["x","y"],dflt:"",editType:"plot",description:["Determines if the positions obtained from solver are flipped on each axis."].join(" ")},pad:{valType:"number",role:"style",min:0,dflt:3,editType:"plot",description:["Sets the inner padding (in px)."].join(" ")},editType:"calc"},marker:u({pad:{t:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the top (in px)."].join(" ")},l:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the left (in px)."].join(" ")},r:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the right (in px)."].join(" ")},b:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the bottom (in px)."].join(" ")},editType:"calc"},colors:s.marker.colors,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style",role:"style",description:["Determines if the sector colors are faded towards","the background from the leaves up to the headers.","This option is unavailable when a `colorscale` is present,","defaults to false when `marker.colors` is set,","but otherwise defaults to true.","When set to *reversed*, the fading direction is inverted,","that is the top elements within hierarchy are drawn with fully saturated colors","while the leaves are faded towards the background color."].join(" ")},line:s.marker.line,editType:"calc"},a("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if the path bar is drawn","i.e. outside the trace `domain` and","with one pixel gap."].join(" ")},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",role:"info",editType:"plot",description:["Determines on which side of the the treemap the","`pathbar` should be presented."].join(" ")},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",role:"style",editType:"plot",description:["Determines which shape is used for edges between `barpath` labels."].join(" ")},thickness:{valType:"number",min:12,role:"info",editType:"plot",description:["Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used","with 3 pixles extra padding on each side."].join(" ")},textfont:u({},l.textfont,{description:"Sets the font used inside `pathbar`."}),editType:"calc"},text:l.text,textinfo:s.textinfo,texttemplate:n({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:l.hovertext,hoverinfo:s.hoverinfo,hovertemplate:r({},{keys:c.eventDataKeys}),textfont:l.textfont,insidetextfont:l.insidetextfont,outsidetextfont:u({},l.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented on top left corner of a treemap graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",role:"style",editType:"plot",description:["Sets the positions of the `text` elements."].join(" ")},sort:l.sort,root:s.root,domain:o({name:"treemap",trace:!0,editType:"calc"})}})),i.register("5yBH0",(function(e,t){"use strict";var r=i("5zAUi"),n=i("6wryo").attributes,a=i("10Nlb"),o=i("4f6io"),l=i("61PQn").hovertemplateAttrs,s=i("61PQn").texttemplateAttrs,c=i("1ZM4z").extendFlat,u=a({editType:"plot",arrayOk:!0,colorEditType:"plot",description:"Sets the font used for `textinfo`."});e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the sector labels.","If `labels` entries are duplicated, we sum associated `values`","or simply count occurrences if `values` is not provided.","For other array attributes (including color) we use the first","non-empty entry among all occurrences of the label."].join(" ")},label0:{valType:"number",role:"info",dflt:0,editType:"calc",description:["Alternate to `labels`.","Builds a numeric set of labels.","Use with `dlabel`","where `label0` is the starting label and `dlabel` the step."].join(" ")},dlabel:{valType:"number",role:"info",dflt:1,editType:"calc",description:"Sets the label step. See `label0` for more info."},values:{valType:"data_array",editType:"calc",description:["Sets the values of the sectors.","If omitted, we count occurrences of each label."].join(" ")},marker:{colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:{valType:"color",role:"style",dflt:o.defaultLine,arrayOk:!0,editType:"style",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",role:"style",min:0,dflt:0,arrayOk:!0,editType:"style",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot",description:["Sets text elements associated with each sector.","If trace `textinfo` contains a *text* flag, these elements will be seen","on the chart.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each sector.","If a single string, the same string appears for","all data points.","If an array of string, the items are mapped in order of","this trace's sectors.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},scalegroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["If there are multiple pie charts that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")},textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","percent"],extras:["none"],editType:"calc",description:["Determines which trace information appear on the graph."].join(" ")},hoverinfo:c({},r.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:l({},{keys:["label","color","value","percent","text"]}),texttemplate:s({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot",description:["Specifies the location of the `textinfo`."].join(" ")},textfont:c({},u,{description:"Sets the font used for `textinfo`."}),insidetextorientation:{valType:"enumerated",role:"info",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot",description:["Controls the orientation of the text inside chart sectors.","When set to *auto*, text may be oriented in any direction in order","to be as big as possible in the middle of a sector.","The *horizontal* option orients text to be parallel with the bottom","of the chart, and may make text smaller in order to achieve that goal.","The *radial* option orients text along the radius of the sector.","The *tangential* option orients text perpendicular to the radius of the sector."].join(" ")},insidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying inside the sector."}),outsidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying outside the sector."}),automargin:{valType:"boolean",dflt:!1,role:"info",editType:"plot",description:["Determines whether outside text labels can push the margins."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets the title of the chart.","If it is empty, no title is displayed.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:c({},u,{description:["Sets the font used for `title`.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"plot",description:["Specifies the location of the `title`.","Note that the title's position used to be set","by the now deprecated `titleposition` attribute."].join(" ")},editType:"plot"},domain:n({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",role:"style",min:0,max:1,dflt:0,editType:"calc",description:["Sets the fraction of the radius to cut out of the pie.","Use this to make a donut chart."].join(" ")},sort:{valType:"boolean",role:"style",dflt:!0,editType:"calc",description:["Determines whether or not the sectors are reordered","from largest to smallest."].join(" ")},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"style",dflt:"counterclockwise",editType:"calc",description:["Specifies the direction at which succeeding sectors follow","one another."].join(" ")},rotation:{valType:"number",role:"style",min:-360,max:360,dflt:0,editType:"calc",description:["Instead of the first slice starting at 12 o'clock,","rotate to some other angle."].join(" ")},pull:{valType:"number",role:"style",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc",description:["Sets the fraction of larger radius to pull the sectors","out from the center. This can be a constant","to pull all slices apart from each other equally","or an array to highlight one or more slices."].join(" ")},_deprecated:{title:{valType:"string",dflt:"",role:"info",editType:"calc",description:["Deprecated in favor of `title.text`.","Note that value of `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:c({},u,{description:"Deprecated in favor of `title.font`."}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"calc",description:"Deprecated in favor of `title.position`."}}}})),i.register("1m4Rp",(function(e,t){"use strict";var r=i("5zAUi"),n=i("61PQn").hovertemplateAttrs,a=i("61PQn").texttemplateAttrs,o=i("3Lcu9"),l=i("6wryo").attributes,s=i("5yBH0"),c=i("7BRjT"),u=i("1ZM4z").extendFlat;e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the labels of each of the sectors."].join(" ")},parents:{valType:"data_array",editType:"calc",description:["Sets the parent sectors for each of the sectors.","Empty string items '' are understood to reference","the root node in the hierarchy.",'If `ids` is filled, `parents` items are understood to be "ids" themselves.',"When `ids` is not set, plotly attempts to find matching items in `labels`,","but beware they must be unique."].join(" ")},values:{valType:"data_array",editType:"calc",description:["Sets the values associated with each of the sectors.","Use with `branchvalues` to determine how the values are summed."].join(" ")},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc",role:"info",description:["Determines how the items in `values` are summed.","When set to *total*, items in `values` are taken to be value of all its descendants.","When set to *remainder*, items in `values` corresponding to the root and the branches sectors","are taken to be the extra part not part of the sum of the values at their leaves."].join(" ")},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc",role:"info",description:["Determines default for `values` when it is not provided,","by inferring a 1 for each of the *leaves* and/or *branches*, otherwise 0."].join(" ")},level:{valType:"any",editType:"plot",anim:!0,role:"info",description:["Sets the level from which this trace hierarchy is rendered.","Set `level` to `''` to start from the root node in the hierarchy.",'Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching',"item in `labels`."].join(" ")},maxdepth:{valType:"integer",editType:"plot",role:"info",dflt:-1,description:["Sets the number of rendered sectors from any given `level`.","Set `maxdepth` to *-1* to render all the levels in the hierarchy."].join(" ")},marker:u({colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector of this trace.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:u({},s.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:u({},s.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},o("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",role:"style",min:0,max:1,description:["Sets the opacity of the leaves. With colorscale","it is defaulted to 1; otherwise it is defaulted to 0.7"].join(" ")},editType:"plot"},text:s.text,textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot",description:["Determines which trace information appear on the graph."].join(" ")},texttemplate:a({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:u({},r.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:n({},{keys:c.eventDataKeys}),textfont:s.textfont,insidetextorientation:s.insidetextorientation,insidetextfont:s.insidetextfont,outsidetextfont:u({},s.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented at the center of a sunburst graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),rotation:{valType:"angle",role:"style",dflt:0,editType:"plot",description:["Rotates the whole diagram counterclockwise by some angle.","By default the first slice starts at 3 o'clock."].join(" ")},sort:s.sort,root:{color:{valType:"color",editType:"calc",role:"style",dflt:"rgba(0,0,0,0)",description:["sets the color of the root node for a sunburst or a treemap trace.","this has no effect when a colorscale is used to set the markers."].join(" ")},editType:"calc"},domain:l({name:"sunburst",trace:!0,editType:"calc"})}})),i.register("7BRjT",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}})),i.register("4EUdN",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}})),i.register("3QjAp",(function(e,t){"use strict";e.exports={treemapcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default treemap slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendtreemapcolors`."].join(" ")},extendtreemapcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the treemap slice colors (whether given by `treemapcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}})),i.register("1PKRy",(function(e,t){"use strict";var r=i("1nIvY"),n=i("21rGq"),a=i("3N5m7"),o=i("6wryo").defaults,l=i("5A6xq").handleText,s=i("1Pgm8").TEXTPAD,c=i("3foDh"),u=c.hasColorscale,d=c.handleDefaults;e.exports=function(e,t,i,c){function f(a,i){return r.coerce(e,t,n,a,i)}var h=f("labels"),p=f("parents");if(h&&h.length&&p&&p.length){var g=f("values");g&&g.length?f("branchvalues"):f("count"),f("level"),f("maxdepth"),"squarify"===f("tiling.packing")&&f("tiling.squarifyratio"),f("tiling.flip"),f("tiling.pad");var v=f("text");f("texttemplate"),t.texttemplate||f("textinfo",Array.isArray(v)?"text+label":"label"),f("hovertext"),f("hovertemplate");var m=f("pathbar.visible");l(e,t,c,f,"auto",{hasPathbar:m,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),f("textposition");var y=-1!==t.textposition.indexOf("bottom");f("marker.line.width")&&f("marker.line.color",c.paper_bgcolor);var x=f("marker.colors"),b=t._hasColorscale=u(e,"marker","colors")||(e.marker||{}).coloraxis;b?d(e,t,c,f,{prefix:"marker.",cLetter:"c"}):f("marker.depthfade",!(x||[]).length);var _=2*t.textfont.size;f("marker.pad.t",y?_/4:_),f("marker.pad.l",_/4),f("marker.pad.r",_/4),f("marker.pad.b",y?_:_/4),b&&d(e,t,c,f,{prefix:"marker.",cLetter:"c"}),t._hovered={marker:{line:{width:2,color:a.contrast(c.paper_bgcolor)}}},m&&(f("pathbar.thickness",t.pathbar.textfont.size+2*s),f("pathbar.side"),f("pathbar.edgeshape")),f("sort"),f("root.color"),o(t,c,f),t._length=null}else t.visible=!1}})),i.register("5A6xq",(function(e,t){"use strict";var r=i("1nIvY"),n=i("3N5m7"),a=i("4Hxcc"),o=i("3ziEk"),l=i("42Vbv"),s=i("6H9Fh"),c=i("6SFfg").getAxisGroup,u=i("18s15"),d=r.coerceFont;function f(e,t,r,n){var a=t.orientation,i=t[{v:"x",h:"y"}[a]+"axis"],o=c(r,i)+a,l=r._alignmentOpts||{},s=n("alignmentgroup"),u=l[o];u||(u=l[o]={});var d=u[s];d?d.traces.push(t):d=u[s]={traces:[t],alignmentIndex:Object.keys(u).length,offsetGroups:{}};var f=n("offsetgroup"),h=d.offsetGroups,p=h[f];f&&(p||(p=h[f]={offsetIndex:Object.keys(h).length}),t._offsetIndex=p.offsetIndex)}function h(e,t,n,a,i,o){var l=!(!1===(o=o||{}).moduleHasSelected),s=!(!1===o.moduleHasUnselected),c=!(!1===o.moduleHasConstrain),u=!(!1===o.moduleHasCliponaxis),f=!(!1===o.moduleHasTextangle),h=!(!1===o.moduleHasInsideanchor),p=!!o.hasPathbar,g=Array.isArray(i)||"auto"===i,v=g||"inside"===i,m=g||"outside"===i;if(v||m){var y=d(a,"textfont",n.font),x=r.extendFlat({},y),b=!(e.textfont&&e.textfont.color);if(b&&delete x.color,d(a,"insidetextfont",x),p){var _=r.extendFlat({},y);b&&delete _.color,d(a,"pathbar.textfont",_)}m&&d(a,"outsidetextfont",y),l&&a("selected.textfont.color"),s&&a("unselected.textfont.color"),c&&a("constraintext"),u&&a("cliponaxis"),f&&a("textangle"),a("texttemplate")}v&&h&&a("insidetextanchor")}e.exports={supplyDefaults:function(e,t,i,c){function d(n,a){return r.coerce(e,t,u,n,a)}if(o(e,t,c,d)){l(e,t,c,d),d("orientation",t.x&&!t.y?"h":"v"),d("base"),d("offset"),d("width"),d("text"),d("hovertext"),d("hovertemplate");var f=d("textposition");h(e,t,c,d,f,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),s(e,t,d,i,c);var p=(t.marker.line||{}).color,g=a.getComponentMethod("errorbars","supplyDefaults");g(e,t,p||n.defaultLine,{axis:"y"}),g(e,t,p||n.defaultLine,{axis:"x",inherit:"y"}),r.coerceSelectionMarkerOpacity(t,d)}else t.visible=!1},crossTraceDefaults:function(e,t){var n;function a(e){return r.coerce(n._input,n,u,e)}if("group"===t.barmode)for(var i=0;in),(e=>n=e)),t(e.exports,"crossTraceCalc",(()=>a),(e=>a=e));var o=i("3qimv");n=function(e,t){return o.calc(e,t)},a=function(e){return o._runCrossTraceCalc("treemap",e)}})),i.register("3qimv",(function(e,r){var n,a;t(e.exports,"calc",(()=>n),(e=>n=e)),t(e.exports,"_runCrossTraceCalc",(()=>a),(e=>a=e));var o=i("7KONc"),l=i("5Zjzn"),s=i("6qr5h"),c=i("1nIvY"),u=i("3foDh").makeColorScaleFuncFromTrace,d=i("3Luav").makePullColorFn,f=i("3Luav").generateExtendedColors,h=i("3foDh").calc,p=i("10TEj").ALMOST_EQUAL,g={},v={};function m(e,t,r){var n=0,a=e.children;if(a){for(var i=a.length,o=0;o=0};x?(r=Math.min(y.length,_.length),n=function(e){return S(y[e])&&L(e)},a=function(e){return String(y[e])}):(r=Math.min(b.length,_.length),n=function(e){return S(b[e])&&L(e)},a=function(e){return String(b[e])}),k&&(r=Math.min(r,w.length));for(var C=0;C1){for(var z=c.randstr(),P=0;Pg)),t(e.exports,"computeHeight",(()=>y)),t(e.exports,"Node",(()=>x));var n=i("1NL5X"),a=i("1yJ7q"),o=i("4u4dX"),l=i("szBXt"),s=i("3AcEY"),c=i("565Wq"),u=i("5zfO7"),d=i("4XTFz"),f=i("2qC1m"),h=i("5vvX3"),p=i("25PBC");function g(e,t){var r,n,a,i,o,l=new x(e),s=+e.value&&(l.value=e.value),c=[l];for(null==t&&(t=v);r=c.pop();)if(s&&(r.value=+r.data.value),(a=t(r.data))&&(o=a.length))for(r.children=new Array(o),i=o-1;i>=0;--i)c.push(n=r.children[i]=new x(a[i])),n.parent=r,n.depth=r.depth+1;return l.eachBefore(y)}function v(e){return e.children}function m(e){e.data=e.data.data}function y(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function x(e){this.data=e,this.depth=this.height=0,this.parent=null}x.prototype=g.prototype={constructor:x,count:n.default,each:a.default,eachAfter:l.default,eachBefore:o.default,sum:s.default,sort:c.default,path:u.default,ancestors:d.default,descendants:f.default,leaves:h.default,links:p.default,copy:function(){return g(this).eachBefore(m)}}})),i.register("1NL5X",(function(e,r){function n(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function a(){return this.eachAfter(n)}t(e.exports,"default",(()=>a))})),i.register("1yJ7q",(function(e,r){function n(e){var t,r,n,a,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),r=i.children)for(n=0,a=r.length;nn))})),i.register("4u4dX",(function(e,r){function n(e){for(var t,r,n=this,a=[n];n=a.pop();)if(e(n),t=n.children)for(r=t.length-1;r>=0;--r)a.push(t[r]);return this}t(e.exports,"default",(()=>n))})),i.register("szBXt",(function(e,r){function n(e){for(var t,r,n,a=this,i=[a],o=[];a=i.pop();)if(o.push(a),t=a.children)for(r=0,n=t.length;rn))})),i.register("3AcEY",(function(e,r){function n(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,a=n&&n.length;--a>=0;)r+=n[a].value;t.value=r}))}t(e.exports,"default",(()=>n))})),i.register("565Wq",(function(e,r){function n(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))}t(e.exports,"default",(()=>n))})),i.register("5zfO7",(function(e,r){function n(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),a=null;e=r.pop(),t=n.pop();for(;e===t;)a=e,e=r.pop(),t=n.pop();return a}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var a=n.length;e!==r;)n.splice(a,0,e),e=e.parent;return n}t(e.exports,"default",(()=>n))})),i.register("4XTFz",(function(e,r){function n(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}t(e.exports,"default",(()=>n))})),i.register("2qC1m",(function(e,r){function n(){var e=[];return this.each((function(t){e.push(t)})),e}t(e.exports,"default",(()=>n))})),i.register("5vvX3",(function(e,r){function n(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e}t(e.exports,"default",(()=>n))})),i.register("25PBC",(function(e,r){function n(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t}t(e.exports,"default",(()=>n))})),i.register("1s0mG",(function(e,r){t(e.exports,"default",(()=>o));var n=i("4pLTG"),a=i("4DtOe");function o(){var e=1,t=1,r=0,i=!1;function o(o){var l=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/l,o.eachBefore(function(e,t){return function(n){n.children&&a.default(n,n.x0,e*(n.depth+1)/t,n.x1,e*(n.depth+2)/t);var i=n.x0,o=n.y0,l=n.x1-r,s=n.y1-r;ln))})),i.register("4DtOe",(function(e,r){function n(e,t,r,n,a){for(var i,o=e.children,l=-1,s=o.length,c=e.value&&(n-t)/e.value;++ln))})),i.register("7KONc",(function(e,r){t(e.exports,"default",(()=>u));var n=i("7vCdx"),a=i("5Zjzn"),o={depth:-1},l={};function s(e){return e.id}function c(e){return e.parentId}function u(){var e=s,t=c;function r(r){var n,i,s,c,u,d,f=r.length,h=new Array(f),p={};for(i=0;i0)throw new Error("cycle");return s}return r.id=function(t){return arguments.length?(e=n.required(t),r):e},r.parentId=function(e){return arguments.length?(t=n.required(e),r):t},r}})),i.register("7vCdx",(function(e,r){function n(e){if("function"!=typeof e)throw new Error;return e}t(e.exports,"required",(()=>n))})),i.register("7GUcL",(function(e,r){t(e.exports,"default",(()=>s));var n=i("4pLTG"),a=i("4zes5"),o=i("7vCdx"),l=i("Z4KRE");function s(){var e=a.default,t=!1,r=1,i=1,s=[0],c=l.constantZero,u=l.constantZero,d=l.constantZero,f=l.constantZero,h=l.constantZero;function p(e){return e.x0=e.y0=0,e.x1=r,e.y1=i,e.eachBefore(g),s=[0],t&&e.eachBefore(n.default),e}function g(t){var r=s[t.depth],n=t.x0+r,a=t.y0+r,i=t.x1-r,o=t.y1-r;io));var n=i("4DtOe"),a=i("2xsRI");var o=function e(t){function r(e,r,i,o,l){!function(e,t,r,i,o,l){for(var s,c,u,d,f,h,p,g,v,m,y,x=[],b=t.children,_=0,w=0,k=b.length,T=t.value;_p&&(p=c),y=f*f*m,(g=Math.max(p/y,y/h))>v){f-=c;break}v=g}x.push(s={value:f,dice:u1?t:1)},r}((1+Math.sqrt(5))/2)})),i.register("2xsRI",(function(e,r){function n(e,t,r,n,a){for(var i,o=e.children,l=-1,s=o.length,c=e.value&&(a-r)/e.value;++ln))})),i.register("Z4KRE",(function(e,r){function n(){return 0}function a(e){return function(){return e}}t(e.exports,"default",(()=>a)),t(e.exports,"constantZero",(()=>n))})),i.register("1ff94",(function(e,r){function n(e,t,r,n,a){var i,o,l=e.children,s=l.length,c=new Array(s+1);for(c[0]=o=i=0;i=r-1){var u=l[t];return u.x0=a,u.y0=i,u.x1=o,void(u.y1=s)}var d=c[t],f=n/2+d,h=t+1,p=r-1;for(;h>>1;c[g]s-i){var y=(a*m+o*v)/n;e(t,h,v,a,i,y,s),e(h,r,m,y,i,o,s)}else{var x=(i*m+s*v)/n;e(t,h,v,a,i,o,x),e(h,r,m,a,x,o,s)}}(0,s,e.value,t,r,n,a)}t(e.exports,"default",(()=>n))})),i.register("7wauO",(function(e,r){t(e.exports,"default",(()=>o));var n=i("4DtOe"),a=i("2xsRI");function o(e,t,r,i,o){(1&e.depth?a.default:n.default)(e,t,r,i,o)}})),i.register("3Luav",(function(e,t){"use strict";var r=i("6qr5h"),n=i("3Twc4"),a=i("3N5m7"),o={};function l(e){return function(t,r){return!!t&&(!!(t=n(t)).isValid()&&(t=a.addOpacity(t,t.getAlpha()),e[r]||(e[r]=t),t))}}function s(e,t){var r,a=JSON.stringify(e),i=t[a];if(!i){for(i=e.slice(),r=0;r-1?L+O:-(I+O):0,z={x0:C,x1:C,y0:D,y1:D+I},P=function(e,t,r){var n=v.tiling.pad,a=function(e){return e-n<=t.x0},i=function(e){return e+n>=t.x1},o=function(e){return e-n<=t.y0},l=function(e){return e+n>=t.y1};return{x0:a(e.x0-n)?0:i(e.x0-n)?r[0]:e.x0,x1:a(e.x1+n)?0:i(e.x1+n)?r[0]:e.x1,y0:o(e.y0-n)?0:l(e.y0-n)?r[1]:e.y0,y1:o(e.y1+n)?0:l(e.y1+n)?r[1]:e.y1}},j=null,E={},R={},N=null,F=function(e,t){return t?E[g(e)]:R[g(e)]},H=function(e,t,r,n){if(t)return E[g(m)]||z;var a=R[v.level]||r;return function(e){return e.data.depth-y.data.depth=(n-=m.r-o)){var y=(r+n)/2;r=y,n=y}var x;f?a<(x=i-m.b)&&x"===K?(s.x-=i,c.x-=i,u.x-=i,d.x-=i):"/"===K?(u.x-=i,d.x-=i,o.x-=i/2,l.x-=i/2):"\\"===K?(s.x-=i,c.x-=i,o.x-=i/2,l.x-=i/2):"<"===K&&(o.x-=i,l.x-=i),J(s),J(d),J(o),J(c),J(u),J(l),"M"+X(s.x,s.y)+"L"+X(c.x,c.y)+"L"+X(l.x,l.y)+"L"+X(u.x,u.y)+"L"+X(d.x,d.y)+"L"+X(o.x,o.y)+"Z"},toMoveInsideSlice:$,makeUpdateSliceInterpolator:te,makeUpdateTextInterpolator:re,handleSlicesExit:ne,hasTransition:k,strTransform:ae}):b.remove()}e.exports=function(e,t,a,i){var o,l,s=e._fullLayout,c=s._treemaplayer,f=!a;(u("treemap",s),(o=c.selectAll("g.trace.treemap").data(t,(function(e){return e[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("treemap",!0),o.order(),!s.uniformtext.mode&&n.hasTransition(a))?(i&&(l=i()),r.transition().duration(a.duration).ease(a.easing).each("end",(function(){l&&l()})).each("interrupt",(function(){l&&l()})).each((function(){c.selectAll("g.trace").each((function(t){v(e,t,this,a)}))}))):(o.each((function(t){v(e,t,this,a)})),s.uniformtext.mode&&d(e,s._treemaplayer.selectAll(".trace"),"treemap"));f&&o.exit().remove()}})),i.register("6qi5c",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;t(e.exports,"getParent",(()=>n),(e=>n=e)),t(e.exports,"isLeaf",(()=>_),(e=>_=e)),t(e.exports,"getValue",(()=>g),(e=>g=e)),t(e.exports,"isHierarchyRoot",(()=>s),(e=>s=e)),t(e.exports,"hasTransition",(()=>p),(e=>p=e)),t(e.exports,"determineTextFont",(()=>o),(e=>o=e)),t(e.exports,"getMaxDepth",(()=>d),(e=>d=e)),t(e.exports,"getPath",(()=>a),(e=>a=e)),t(e.exports,"isOutsideText",(()=>x),(e=>x=e)),t(e.exports,"getOutsideTextFontKey",(()=>f),(e=>f=e)),t(e.exports,"setSliceCursor",(()=>u),(e=>u=e)),t(e.exports,"getInsideTextFontKey",(()=>v),(e=>v=e)),t(e.exports,"getPtId",(()=>T),(e=>T=e)),t(e.exports,"getPtLabel",(()=>b),(e=>b=e)),t(e.exports,"formatValue",(()=>y),(e=>y=e)),t(e.exports,"formatPercent",(()=>w),(e=>w=e)),t(e.exports,"listPath",(()=>m),(e=>m=e)),t(e.exports,"findEntryWithLevel",(()=>k),(e=>k=e)),t(e.exports,"findEntryWithChild",(()=>c),(e=>c=e)),t(e.exports,"isHeader",(()=>h),(e=>h=e)),t(e.exports,"isEntry",(()=>l),(e=>l=e));var M=i("1nIvY"),A=i("3N5m7"),S=i("3kB5v"),L=i("4Izpx");function C(e){return e.data.data.pid}k=function(e,t){var r;return t&&e.eachAfter((function(e){if(T(e)===t)return r=e.copy()})),r||e},c=function(e,t){var r;return e.eachAfter((function(e){for(var n=e.children||[],a=0;a0)},d=function(e){return e.maxdepth>=0?e.maxdepth:1/0},h=function(e,t){return!(_(e)||e.depth===t._maxDepth-1)},n=function(e,t){return k(e,C(t))},m=function(e,t){var r=e.parent;if(!r)return[];var n=t?[r.data[t]]:[r];return m(r,t).concat(n)},a=function(e){return m(e,"label").join("/")+"/"},y=L.formatPieValue,w=function(e,t){var r=M.formatPercent(e,0);return"0%"===r&&(r=L.formatPiePercent(e,t)),r}})),i.register("6smWF",(function(e,t){"use strict";var r=i("4Wia9"),n=i("6qr5h"),a=i("1nIvY"),o=i("49Q6h"),l=i("3N5m7"),s=i("7jar4"),c=i("4Hxcc"),u=i("1nE8l").tickText,d=i("4U9iW"),f=d.recordMinTextSize,h=d.clearMinTextSize,p=i("4dC6V"),g=i("6u7m7"),v=i("1Pgm8"),m=i("18s15"),y=m.text,x=m.textposition,b=i("2MtC7").appendArrayPointValue,_=v.TEXTPAD;function w(e){return e.id}function k(e,t){return e0}function A(e){return"auto"===e?0:e}function S(e,t){var r=Math.PI/180*t,n=Math.abs(Math.sin(r)),a=Math.abs(Math.cos(r));return{x:e.width*a+e.height*n,y:e.width*n+e.height*a}}function L(e,t,r,n,a,i){var o=!!i.isHorizontal,l=!!i.constrained,s=i.angle||0,c=i.anchor||"end",u="end"===c,d="start"===c,f=((i.leftToRight||0)+1)/2,h=1-f,p=a.width,g=a.height,v=Math.abs(t-e),m=Math.abs(n-r),y=v>2*_&&m>2*_?_:0;v-=2*y,m-=2*y;var x=A(s);"auto"!==s||p<=v&&g<=m||!(p>v||g>m)||(p>m||g>v)&&p.01?V:function(e,t,r){return r&&e===t?e:Math.abs(e-t)>=2?V(e):e>t?Math.ceil(e):Math.floor(e)};N=Y(N,F,j),F=Y(F,N,j),H=Y(H,B,!j),B=Y(B,H,!j)}var G=T(a.ensureSingle(D,"path"),O,v,m);if(G.style("vector-effect","non-scaling-stroke").attr("d",isNaN((F-N)*(B-H))||U&&e._context.staticPlot?"M0,0Z":"M"+N+","+H+"V"+B+"H"+F+"V"+H+"Z").call(s.setClipUrl,t.layerClipId,e),!O.uniformtext.mode&&E){var Z=s.makePointStyleFns(d);s.singlePointStyle(c,G,d,Z,e)}!function(e,t,r,n,i,l,c,d,h,v,m){var w,M=t.xaxis,C=t.yaxis,I=e._fullLayout;function O(t,r,n){return a.ensureSingle(t,"text").text(r).attr({class:"bartext bartext-"+w,"text-anchor":"middle","data-notex":1}).call(s.font,n).call(o.convertToTspans,e)}var D=n[0].trace,z="h"===D.orientation,P=function(e,t,r,n,i){var o,l=t[0].trace;o=l.texttemplate?function(e,t,r,n,i){var o=t[0].trace,l=a.castOption(o,r,"texttemplate");if(!l)return"";var s,c,d,f,h="waterfall"===o.type,p="funnel"===o.type;"h"===o.orientation?(s="y",c=i,d="x",f=n):(s="x",c=n,d="y",f=i);function g(e){return u(c,e,!0).text}function v(e){return u(f,+e,!0).text}var m=t[r],y={};y.label=m.p,y.labelLabel=y[s+"Label"]=g(m.p);var x=a.castOption(o,m.i,"text");(0===x||x)&&(y.text=x);y.value=m.s,y.valueLabel=y[d+"Label"]=v(m.s);var _={};b(_,o,m.i),h&&(y.delta=+m.rawS||m.s,y.deltaLabel=v(y.delta),y.final=m.v,y.finalLabel=v(y.final),y.initial=y.final-y.delta,y.initialLabel=v(y.initial));p&&(y.value=m.s,y.valueLabel=v(y.value),y.percentInitial=m.begR,y.percentInitialLabel=a.formatPercent(m.begR),y.percentPrevious=m.difR,y.percentPreviousLabel=a.formatPercent(m.difR),y.percentTotal=m.sumR,y.percenTotalLabel=a.formatPercent(m.sumR));var w=a.castOption(o,m.i,"customdata");w&&(y.customdata=w);return a.texttemplateString(l,y,e._d3locale,_,y,o._meta||{})}(e,t,r,n,i):l.textinfo?function(e,t,r,n){var i=e[0].trace,o="h"===i.orientation,l="waterfall"===i.type,s="funnel"===i.type;function c(e){return u(o?n:r,e,!0).text}function d(e){return u(o?r:n,+e,!0).text}var f,h=i.textinfo,p=e[t],g=h.split("+"),v=[],m=function(e){return-1!==g.indexOf(e)};m("label")&&v.push(c(e[t].p));m("text")&&(0===(f=a.castOption(i,p.i,"text"))||f)&&v.push(f);if(l){var y=+p.rawS||p.s,x=p.v,b=x-y;m("initial")&&v.push(d(b)),m("delta")&&v.push(d(y)),m("final")&&v.push(d(x))}if(s){m("value")&&v.push(d(p.s));var _=0;m("percent initial")&&_++,m("percent previous")&&_++,m("percent total")&&_++;var w=_>1;m("percent initial")&&(f=a.formatPercent(p.begR),w&&(f+=" of initial"),v.push(f)),m("percent previous")&&(f=a.formatPercent(p.difR),w&&(f+=" of previous"),v.push(f)),m("percent total")&&(f=a.formatPercent(p.sumR),w&&(f+=" of total"),v.push(f))}return v.join("
")}(t,r,n,i):g.getValue(l.text,r);return g.coerceString(y,o)}(I,n,i,M,C);w=function(e,t){var r=g.getValue(e.textposition,t);return g.coerceEnumerated(x,r)}(D,i);var j="stack"===v.mode||"relative"===v.mode,E=n[i],R=!j||E._outmost;if(!P||"none"===w||(E.isBlank||l===c||d===h)&&("auto"===w||"inside"===w))return void r.select("text").remove();var N=I.font,F=p.getBarColor(n[i],D),H=p.getInsideTextFont(D,i,N,F),B=p.getOutsideTextFont(D,i,N),U=r.datum();z?"log"===M.type&&U.s0<=0&&(l=M.range[0]0&&G>0&&(Y<=W&&G<=X||Y<=X&&G<=W||(z?W>=Y*(X/G):X>=G*(W/Y)))?w="inside":(w="outside",q.remove(),q=null);else w="inside"}if(!q){var Q=(q=O(r,P,Z=a.ensureUniformFontSize(e,"outside"===w?B:H))).attr("transform");if(q.attr("transform",""),Y=(V=s.bBox(q.node())).width,G=V.height,q.attr("transform",Q),Y<=0||G<=0)return void q.remove()}var J,K=D.textangle;J="outside"===w?function(e,t,r,n,a,i){var o,l=!!i.isHorizontal,s=!!i.constrained,c=i.angle||0,u=a.width,d=a.height,f=Math.abs(t-e),h=Math.abs(n-r);o=l?h>2*_?_:0:f>2*_?_:0;var p=1;s&&(p=l?Math.min(1,h/d):Math.min(1,f/u));var g=A(c),v=S(a,g),m=(l?v.x:v.y)/2,y=(a.left+a.right)/2,x=(a.top+a.bottom)/2,b=(e+t)/2,w=(r+n)/2,T=0,M=0,L=l?k(t,e):k(r,n);l?(b=t-L*o,T=L*m):(w=n+L*o,M=-L*m);return{textX:y,textY:x,targetX:b,targetY:w,anchorX:T,anchorY:M,scale:p,rotate:g}}(l,c,d,h,V,{isHorizontal:z,constrained:"both"===D.constraintext||"outside"===D.constraintext,angle:K}):L(l,c,d,h,V,{isHorizontal:z,constrained:"both"===D.constraintext||"inside"===D.constraintext,angle:K,anchor:D.insidetextanchor});J.fontSize=Z.size,f(D.type,J,I),E.transform=J,T(q,I,v,m).attr("transform",a.getTextTransform(J))}(e,t,D,i,h,N,F,H,B,v,m),t.layerClipId&&s.hideOutsideRangePoint(c,D.select("text"),C,I,d.xcalendar,d.ycalendar)}));var H=!1===d.cliponaxis;s.setClipUrl(c,H?null:t.layerClipId,e)}));c.getComponentMethod("errorbars","plot")(e,D,t,v)},toMoveInsideBar:L}})),i.register("4U9iW",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY");function a(e){return"_"+e+"Text_minsize"}e.exports={recordMinTextSize:function(e,t,r){if(r.uniformtext.mode){var n=a(e),i=r.uniformtext.minsize,o=t.scale*t.fontSize;t.hide=o1||0===a.bargap&&0===a.bargroupgap&&!e[0].trace.marker.line.width)&&r.select(this).attr("shape-rendering","crispEdges")})),t.selectAll("g.points").each((function(t){p(r.select(this),t[0].trace,e)})),l.getComponentMethod("errorbars","style")(t)},styleTextPoints:g,styleOnSelect:function(e,t,n){var i=t[0].trace;i.selectedpoints?function(e,t,n){a.selectedPointStyle(e.selectAll("path"),t),function(e,t,n){e.each((function(e){var i,l=r.select(this);if(e.selected){i=o.ensureUniformFontSize(n,v(l,e,t,n));var s=t.selected.textfont&&t.selected.textfont.color;s&&(i.color=s),a.font(l,i)}else a.selectedTextStyle(l,t)}))}(e.selectAll("text"),t,n)}(n,i,e):(p(n,i,e),l.getComponentMethod("errorbars","style")(n))},getInsideTextFont:y,getOutsideTextFont:x,getBarColor:_,resizeText:s}})),i.register("6u7m7",(function(e,r){var n,a,o,l,s,c;t(e.exports,"coerceNumber",(()=>c),(e=>c=e)),t(e.exports,"coerceColor",(()=>o),(e=>o=e)),t(e.exports,"coerceEnumerated",(()=>s),(e=>s=e)),t(e.exports,"coerceString",(()=>n),(e=>n=e)),t(e.exports,"getValue",(()=>l),(e=>l=e)),t(e.exports,"getLineWidth",(()=>a),(e=>a=e));var u=i("6qr5h"),d=i("3Twc4"),f=i("1nIvY").isArrayOrTypedArray;n=function(e,t,r){if("string"==typeof t){if(t||!e.noBlank)return t}else if(("number"==typeof t||!0===t)&&!e.strict)return String(t);return void 0!==r?r:e.dflt},c=function(e,t,r){if(u(t)){t=+t;var n=e.min,a=e.max;if(!(void 0!==n&&ta))return t}return void 0!==r?r:e.dflt},o=function(e,t,r){return d(t).isValid()?t:void 0!==r?r:e.dflt},s=function(e,t,r){return e.coerceNumber&&(t=+t),-1!==e.values.indexOf(t)?t:void 0!==r?r:e.dflt},l=function(e,t){var r;return Array.isArray(e)?t-1,flipY:C.tiling.flip.indexOf("y")>-1,pad:{inner:C.tiling.pad,top:C.marker.pad.t,left:C.marker.pad.l,right:C.marker.pad.r,bottom:C.marker.pad.b}}).descendants(),j=1/0,E=-1/0;P.forEach((function(e){var t=e.depth;t>=C._maxDepth?(e.x0=e.x1=(e.x0+e.x1)/2,e.y0=e.y1=(e.y0+e.y1)/2):(j=Math.min(j,t),E=Math.max(E,t))})),p=p.data(P,u.getPtId),C._maxVisibleLayers=isFinite(E)?E-j+1:0,p.enter().append("g").classed("slice",!0),T(p,h,{},[v,m],b),p.order();var R=null;if(k&&S){var N=u.getPtId(S);p.each((function(e){null===R&&u.getPtId(e)===N&&(R={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})}))}var F=function(){return R||{x0:0,x1:v,y0:0,y1:m}},H=p;return k&&(H=H.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),H.each((function(l){var p=u.isHeader(l,C);l._hoverX=y(l.x1-C.marker.pad.r),l._hoverY=x(D?l.y1-C.marker.pad.b/2:l.y0+C.marker.pad.t/2);var g=r.select(this),T=n.ensureSingle(g,"path","surface",(function(e){e.style("pointer-events","all")}));k?T.transition().attrTween("d",(function(e){var t=M(e,h,F(),[v,m]);return function(e){return b(t(e))}})):T.attr("d",b),g.call(d,i,e,t,{styleOne:s,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{isTransitioning:e._transitioning}),T.call(s,l,C,{hovered:!1}),l.x0===l.x1||l.y0===l.y1?l._text="":l._text=p?z?"":u.getPtLabel(l)||"":f(l,i,C,t,L)||"";var S=n.ensureSingle(g,"g","slicetext"),P=n.ensureSingle(S,"text","",(function(e){e.attr("data-notex",1)})),j=n.ensureUniformFontSize(e,u.determineTextFont(C,l,L.font));P.text(l._text||" ").classed("slicetext",!0).attr("text-anchor",O?"end":I||p?"start":"middle").call(a.font,j).call(o.convertToTspans,e),l.textBB=a.bBox(P.node()),l.transform=_(l,{fontSize:j.size,isHeader:p}),l.transform.fontSize=j.size,k?P.transition().attrTween("transform",(function(e){var t=A(e,h,F(),[v,m]);return function(e){return w(t(e))}})):P.attr("transform",w(l))})),R}})),i.register("7mvKb",(function(e,t){"use strict";var r=i("1ff94"),n=i("4DtOe"),a=i("2xsRI"),o=i("7GUcL"),l=i("4zes5"),s=i("7wauO");function c(e,t,r){var n;r.swapXY&&(n=e.x0,e.x0=e.y0,e.y0=n,n=e.x1,e.x1=e.y1,e.y1=n),r.flipX&&(n=e.x0,e.x0=t[0]-e.x1,e.x1=t[0]-n),r.flipY&&(n=e.y0,e.y0=t[1]-e.y1,e.y1=t[1]-n);var a=e.children;if(a)for(var i=0;i0)for(var x=0;x"),name:T||z("name")?s.name:void 0,color:k("hoverlabel.bgcolor")||y.color,borderColor:k("hoverlabel.bordercolor"),fontFamily:k("hoverlabel.font.family"),fontSize:k("hoverlabel.font.size"),fontColor:k("hoverlabel.font.color"),nameLength:k("hoverlabel.namelength"),textAlign:k("hoverlabel.align"),hovertemplate:T,hovertemplateLabels:I,eventData:[d(n,s,f.eventDataKeys)]};v&&(E.x0=S-n.rInscribed*n.rpx1,E.x1=S+n.rInscribed*n.rpx1,E.idealAlign=n.pxmid[0]<0?"left":"right"),m&&(E.x=S,E.idealAlign=S<0?"left":"right"),o.loneHover(E,{container:i._hoverlayer.node(),outerContainer:i._paper.node(),gd:a}),p._hasHoverLabel=!0}if(m){var R=e.select("path.surface");f.styleOne(R,n,s,{hovered:!0})}p._hasHoverEvent=!0,a.emit("plotly_hover",{points:[d(n,s,f.eventDataKeys)],event:r.event})}})),e.on("mouseout",(function(t){var n=a._fullLayout,i=a._fullData[p.index],l=r.select(this).datum();if(p._hasHoverEvent&&(t.originalEvent=r.event,a.emit("plotly_unhover",{points:[d(l,i,f.eventDataKeys)],event:r.event}),p._hasHoverEvent=!1),p._hasHoverLabel&&(o.loneUnhover(n._hoverlayer.node()),p._hasHoverLabel=!1),m){var s=e.select("path.surface");f.styleOne(s,l,i,{hovered:!1})}})),e.on("click",(function(e){var t=a._fullLayout,i=a._fullData[p.index],l=v&&(c.isHierarchyRoot(e)||c.isLeaf(e)),u=c.getPtId(e),h=c.isEntry(e)?c.findEntryWithChild(g,u):c.findEntryWithLevel(g,u),m=c.getPtId(h),y={points:[d(e,i,f.eventDataKeys)],event:r.event};l||(y.nextLevel=m);var x=s.triggerHandler(a,"plotly_"+p.type+"click",y);if(!1!==x&&t.hovermode&&(a._hoverdata=[d(e,i,f.eventDataKeys)],o.click(a,r.event)),!l&&!1!==x&&!a._dragging&&!a._transitioning){n.call("_storeDirectGUIEdit",i,t._tracePreGUI[i.uid],{level:i.level});var b={data:[{level:m}],traces:[p.index]},_={frame:{redraw:!1,duration:f.transitionTime},transition:{duration:f.transitionTime,easing:f.transitionEasing},mode:"immediate",fromcurrent:!0};o.loneUnhover(t._hoverlayer.node()),n.call("animate",a,b,_)}}))}})),i.register("27qVD",(function(e,r){var n;t(e.exports,"formatSliceLabel",(()=>n),(e=>n=e));var a=i("4Wia9"),o=i("1s0mG"),l=i("7jar4"),s=i("1nIvY"),c=i("49Q6h"),u=i("4U9iW"),d=u.recordMinTextSize,f=u.clearMinTextSize,h=i("2y90T"),p=i("4Izpx").getRotationAngle,g=h.computeTransform,v=h.transformInsideText,m=i("3EV3A").styleOne,y=i("4dC6V").resizeText,x=i("1rpMS"),b=i("7BRjT"),_=i("6qi5c");function w(e,t,r,i){var u=e._fullLayout,f=!u.uniformtext.mode&&_.hasTransition(i),h=a.select(r).selectAll("g.slice"),y=t[0],w=y.trace,T=y.hierarchy,M=_.findEntryWithLevel(T,w.level),A=_.getMaxDepth(w),S=u._size,L=w.domain,C=S.w*(L.x[1]-L.x[0]),I=S.h*(L.y[1]-L.y[0]),O=.5*Math.min(C,I),D=y.cx=S.l+S.w*(L.x[1]+L.x[0])/2,z=y.cy=S.t+S.h*(1-L.y[0])-I/2;if(!M)return h.remove();var P=null,j={};f&&h.each((function(e){j[_.getPtId(e)]={rpx0:e.rpx0,rpx1:e.rpx1,x0:e.x0,x1:e.x1,transform:e.transform},!P&&_.isEntry(e)&&e}));var E=function(e){return o.default().size([2*Math.PI,e.height+1])(e)}(M).descendants(),R=M.height+1,N=0,F=A;y.hasMultipleRoots&&_.isHierarchyRoot(M)&&(E.slice(1),1,1,1),E.filter((function(e){return e.y1<=F}));var H=p(w.rotation);H&&E.forEach((function(e){e.x0+=H,e.x1+=H}));var B=Math.min(R,A),U=function(e){return(e-N)/B*O},q=function(e,t){return[e*Math.cos(t),-e*Math.sin(t)]},V=function(e){return s.pathAnnulus(e.rpx0,e.rpx1,e.x0,e.x1,D,z)},Y=function(e){return D+k(e)[0]*(e.transform.rCenter||0)+(e.transform.x||0)},G=function(e){return z+k(e)[1]*(e.transform.rCenter||0)+(e.transform.y||0)};h.data(E,_.getPtId).enter().append("g").classed("slice",!0),f?h.exit().transition().each((function(){var e=a.select(this);e.select("path.surface").transition().attrTween("d",(function(e){var t=function(e){var t,r=_.getPtId(e),n=j[r],i=j[_.getPtId(M)];if(i){var o=(e.x1>i.x1?2*Math.PI:0)+H;e.rpx1Z?2*Math.PI:0)+H;({x0:i,x1:i})}else({rpx0:O,rpx1:O}),s.extendFlat(t,Q(e));else({rpx0:0,rpx1:0});else({x0:H,x1:H});return a.interpolate(t,n)}(e);return function(e){return V(t(e))}})):o.attr("d",V),i.call(x,M,e,t,{eventDataKeys:b.eventDataKeys,transitionTime:b.CLICK_TRANSITION_TIME,transitionEasing:b.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:e._transitioning}),o.call(m,r,w);var h=s.ensureSingle(i,"g","slicetext"),p=s.ensureSingle(h,"text","",(function(e){e.attr("data-notex",1)})),k=s.ensureUniformFontSize(e,_.determineTextFont(w,r,u.font));p.text(n(r,M,w,t,u)).classed("slicetext",!0).attr("text-anchor","middle").call(l.font,k).call(c.convertToTspans,e);var T=l.bBox(p.node());r.transform=v(T,r,y),r.transform.targetX=Y(r),r.transform.targetY=G(r);var A=function(e,t){var r=e.transform;return g(r,t),r.fontSize=k.size,d(w.type,r,u),s.getTextTransform(r)};f?p.transition().attrTween("transform",(function(e){var t=function(e){var t,r=j[_.getPtId(e)],n=e.transform;if(r)r;else if({rpx1:e.rpx1,transform:{textPosAngle:n.textPosAngle,scale:0,rotate:n.rotate,rCenter:n.rCenter,x:n.x,y:n.y}},P)if(e.parent)if(Z){var i=e.x1>Z?2*Math.PI:0;t.x0=t.x1=i}else s.extendFlat(t,Q(e));else t.x0=t.x1=H;else t.x0=t.x1=H;var o=a.interpolate(t.transform.textPosAngle,e.transform.textPosAngle),l=a.interpolate(t.rpx1,e.rpx1),c=a.interpolate(t.x0,e.x0),f=a.interpolate(t.x1,e.x1),h=a.interpolate(t.transform.scale,n.scale),p=a.interpolate(t.transform.rotate,n.rotate),g=0===n.rCenter?3:0===t.transform.rCenter?1/3:1,v=a.interpolate(t.transform.rCenter,n.rCenter),m=function(e){return v(Math.pow(e,g))};return function(e){var t=l(e),r=c(e),a=f(e),i=m(e),s={pxmid:q(t,(r+a)/2),rpx1:t,transform:{textPosAngle:o(e),rCenter:i,x:n.x,y:n.y}};return d(w.type,n,u),{transform:{targetX:Y(s),targetY:G(s),scale:h(e),rotate:p(e),rCenter:i}}}}(e);return function(e){return A(t(e),T)}})):p.attr("transform",A(r,T))}))}function k(e){return e.rpx1,e.transform.textPosAngle,[t*Math.sin(r),-t*Math.cos(r)];var t,r}n=function(e,t,r,n,a){var i=r.texttemplate,o=r.textinfo;if(!(i||o&&"none"!==o))return"";var l=a.separators,c=n[0],u=e.data.data,d=c.hierarchy,f=_.isHierarchyRoot(e),h=_.getParent(d,e),p=_.getValue(e);if(!i){var g,v=o.split("+"),m=function(e){return-1!==v.indexOf(e)},y=[];if(m("label")&&u.label&&y.push(u.label),u.hasOwnProperty("v")&&m("value")&&y.push(_.formatValue(u.v,l)),!f){m("current path")&&y.push(_.getPath(e.data));var x=0;m("percent parent")&&x++,m("percent entry")&&x++,m("percent root")&&x++;var b=x>1;if(x){var w,k=function(e){g=_.formatPercent(w,l),b&&(g+=" of "+e),y.push(g)};m("percent parent")&&!f&&(w=p/_.getValue(h),k("parent")),m("percent entry")&&(w=p/_.getValue(t),k("entry")),m("percent root")&&(w=p/_.getValue(d),k("root"))}}return m("text")&&(g=s.castOption(r,u.i,"text"),s.isValidTextValue(g)&&y.push(g)),y.join("
")}var T=s.castOption(r,u.i,"texttemplate");if(!T)return"";var M={};u.label&&(M.label=u.label),u.hasOwnProperty("v")&&(M.value=u.v,M.valueLabel=_.formatValue(u.v,l)),M.currentPath=_.getPath(e.data),f||(M.percentParent=p/_.getValue(h),M.percentParentLabel=_.formatPercent(M.percentParent,l),M.parent=_.getPtLabel(h)),M.percentEntry=p/_.getValue(t),M.percentEntryLabel=_.formatPercent(M.percentEntry,l),M.entry=_.getPtLabel(t),M.percentRoot=p/_.getValue(d),M.percentRootLabel=_.formatPercent(M.percentRoot,l),M.root=_.getPtLabel(d),u.hasOwnProperty("color")&&(M.color=u.color);var A=s.castOption(r,u.i,"text");return(s.isValidTextValue(A)||""===A)&&(M.text=A),M.customdata=s.castOption(r,u.i,"customdata"),s.texttemplateString(T,M,a._d3locale,M,r._meta||{})}})),i.register("2y90T",(function(e,t){"use strict";var r,n=i("4Wia9"),a=i("3BndS"),o=i("FNU2H"),l=i("3N5m7"),s=i("7jar4"),c=(r=i("1nIvY")).strScale,u=r.strTranslate,d=i("49Q6h"),f=i("4U9iW"),h=f.recordMinTextSize,p=f.clearMinTextSize,g=i("1Pgm8").TEXTPAD,v=i("4Izpx"),m=i("39oaf"),y=(r=i("1nIvY")).isValidTextValue;function x(e,t,a){var i=a[0],l=i.trace,s=i.cx,c=i.cy;"_hasHoverLabel"in l||(l._hasHoverLabel=!1),"_hasHoverEvent"in l||(l._hasHoverEvent=!1),e.on("mouseover",(function(e){var a=t._fullLayout,u=t._fullData[l.index];if(!t._dragging&&!1!==a.hovermode){var d=u.hoverinfo;if(Array.isArray(d)&&(d=o.castHoverinfo({hoverinfo:[v.castOption(d,e.pts)],_module:l._module},a,0)),"all"===d&&(d="label+text+value+percent+name"),u.hovertemplate||"none"!==d&&"skip"!==d&&d){var f=e.rInscribed||0,h=s+e.pxmid[0]*(1-f),p=c+e.pxmid[1]*(1-f),g=a.separators,y=[];if(d&&-1!==d.indexOf("label")&&y.push(e.label),e.text=v.castOption(u.hovertext||u.text,e.pts),d&&-1!==d.indexOf("text")){var x=e.text;r.isValidTextValue(x)&&y.push(x)}e.value=e.v,e.valueLabel=v.formatPieValue(e.v,g),d&&-1!==d.indexOf("value")&&y.push(e.valueLabel),e.percent=e.v/i.vTotal,e.percentLabel=v.formatPiePercent(e.percent,g),d&&-1!==d.indexOf("percent")&&y.push(e.percentLabel);var b=u.hoverlabel,_=b.font;o.loneHover({trace:l,x0:h-f*i.r,x1:h+f*i.r,y:p,text:y.join("
"),name:u.hovertemplate||-1!==d.indexOf("name")?u.name:void 0,idealAlign:e.pxmid[0]<0?"left":"right",color:v.castOption(b.bgcolor,e.pts)||e.color,borderColor:v.castOption(b.bordercolor,e.pts),fontFamily:v.castOption(_.family,e.pts),fontSize:v.castOption(_.size,e.pts),fontColor:v.castOption(_.color,e.pts),nameLength:v.castOption(b.namelength,e.pts),textAlign:v.castOption(b.align,e.pts),hovertemplate:v.castOption(u.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[m(e,u)]},{container:a._hoverlayer.node(),outerContainer:a._paper.node(),gd:t}),l._hasHoverLabel=!0}l._hasHoverEvent=!0,t.emit("plotly_hover",{points:[m(e,u)],event:n.event})}})),e.on("mouseout",(function(e){var r=t._fullLayout,a=t._fullData[l.index],i=n.select(this).datum();l._hasHoverEvent&&(e.originalEvent=n.event,t.emit("plotly_unhover",{points:[m(i,a)],event:n.event}),l._hasHoverEvent=!1),l._hasHoverLabel&&(o.loneUnhover(r._hoverlayer.node()),l._hasHoverLabel=!1)})),e.on("click",(function(e){var r=t._fullLayout,a=t._fullData[l.index];t._dragging||!1===r.hovermode||(t._hoverdata=[m(e,a)],o.click(t,n.event))}))}function b(e,t,r){var n=v.castOption(e.insidetextfont.color,t.pts);!n&&e._input.textfont&&(n=v.castOption(e._input.textfont.color,t.pts));var a=v.castOption(e.insidetextfont.family,t.pts)||v.castOption(e.textfont.family,t.pts)||r.family,i=v.castOption(e.insidetextfont.size,t.pts)||v.castOption(e.textfont.size,t.pts)||r.size;return{color:n||l.contrast(t.color),family:a,size:i}}function _(e,t){for(var n,a,i=0;it&&t>n||r=-4;v-=2)m(Math.PI*v,"tan");for(v=4;v>=-4;v-=2)m(Math.PI*(v+1),"tan")}if(d||h){for(v=4;v>=-4;v-=2)m(Math.PI*(v+1.5),"rad");for(v=4;v>=-4;v-=2)m(Math.PI*(v+.5),"rad")}}if(l||p||d){var y=Math.sqrt(e.width*e.width+e.height*e.height);if((i={scale:a*n*2/y,rCenter:1-a,rotate:0}).textPosAngle=(t.startangle+t.stopangle)/2,i.scale>=1)return i;g.push(i)}(p||h)&&((i=k(e,n,o,s,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i)),(p||f)&&((i=T(e,n,o,s,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i));for(var x=0,b=0,_=0;_=1)break}return g[x]}function k(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.width/e.height,o=S(i,n,t,r);return{scale:2*o/e.height,rCenter:M(i,o/t),rotate:A(a)}}function T(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.height/e.width,o=S(i,n,t,r);return{scale:2*o/e.width,rCenter:M(i,o/t),rotate:A(a+Math.PI/2)}}function M(e,t){return Math.cos(t)-e*t}function A(e){return(180/Math.PI*e+720)%180-90}function S(e,t,r,n){var a=e+1/(2*Math.tan(t));return r*Math.min(1/(Math.sqrt(a*a+.5)+a),n/(Math.sqrt(e*e+n/2)+e))}function L(e,t){return e.v!==t.vTotal||t.trace.hole?Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2):1}function C(e,t){var r=t.pxmid[0],n=t.pxmid[1],a=e.width/2,i=e.height/2;return r<0&&(a*=-1),n<0&&(i*=-1),{scale:1,rCenter:1,rotate:0,x:a+Math.abs(i)*(a>0?1:-1)/2,y:i/(1+r*r/(n*n)),outside:!0}}function I(e,t){var r,n,a,i=e.trace,o={x:e.cx,y:e.cy},l={tx:0,ty:0};l.ty+=i.title.font.size,a=D(i),-1!==i.title.position.indexOf("top")?(o.y-=(1+a)*e.r,l.ty-=e.titleBox.height):-1!==i.title.position.indexOf("bottom")&&(o.y+=(1+a)*e.r);var s,c,u=(s=e.r,c=e.trace.aspectratio,s/(void 0===c?1:c)),d=t.w*(i.domain.x[1]-i.domain.x[0])/2;return-1!==i.title.position.indexOf("left")?(d+=u,o.x-=(1+a)*u,l.tx+=e.titleBox.width/2):-1!==i.title.position.indexOf("center")?d*=2:-1!==i.title.position.indexOf("right")&&(d+=u,o.x+=(1+a)*u,l.tx-=e.titleBox.width/2),r=d/e.titleBox.width,n=O(e,t)/e.titleBox.height,{x:o.x,y:o.y,scale:Math.min(r,n),tx:l.tx,ty:l.ty}}function O(e,t){var r=e.trace,n=t.h*(r.domain.y[1]-r.domain.y[0]);return Math.min(e.titleBox.height,n/2)}function D(e){var t,r=e.pull;if(!r)return 0;if(Array.isArray(r))for(r=0,t=0;tr&&(r=e.pull[t]);return r}function z(e,t){for(var r=[],n=0;n1?u=(c=r.r)/a.aspectratio:c=(u=r.r)*a.aspectratio,s=(c*=(1+a.baseratio)/2)*u}o=Math.min(o,s/r.vTotal)}for(n=0;n")}if(l){var b=r.castOption(o,t.i,"texttemplate");if(b){var _={label:(a=t).label,value:a.v,valueLabel:v.formatPieValue(a.v,i.separators),percent:a.v/n.vTotal,percentLabel:v.formatPiePercent(a.v/n.vTotal,i.separators),color:a.color,text:a.text,customdata:r.castOption(o,a.i,"customdata")},w=v.getFirstFilled(o.text,t.pts);(y(w)||""===w)&&(_.text=w),t.text=r.texttemplateString(b,_,e._fullLayout._d3locale,_,o._meta||{})}else t.text=""}}function E(e,t){var r=e.rotate*Math.PI/180,n=Math.cos(r),a=Math.sin(r),i=(t.left+t.right)/2,o=(t.top+t.bottom)/2;e.textX=i*n-o*a,e.textY=i*a+o*n,e.noCenter=!0}e.exports={plot:function(e,t){var i=e._fullLayout,o=i._size;p("pie",i),_(t,e),z(t,o);var f=r.makeTraceGroups(i._pielayer,t,"trace").each((function(t){var f=n.select(this),p=t[0],g=p.trace;!function(e){var t,r,n,a=e[0],i=a.r,o=a.trace,l=v.getRotationAngle(o.rotation),s=2*Math.PI/a.vTotal,c="px0",u="px1";if("counterclockwise"===o.direction){for(t=0;ta.vTotal/2?1:0,r.halfangle=Math.PI*Math.min(r.v/a.vTotal,.5),r.ring=1-o.hole,r.rInscribed=L(r,a))}(t),f.attr("stroke-linejoin","round"),f.each((function(){var m=n.select(this).selectAll("g.slice").data(t);m.enter().append("g").classed("slice",!0),m.exit().remove();var y=[[[],[]],[[],[]]],_=!1;m.each((function(a,o){if(a.hidden)n.select(this).selectAll("path,g").remove();else{a.pointNumber=a.i,a.curveNumber=g.index,y[a.pxmid[1]<0?0:1][a.pxmid[0]<0?0:1].push(a);var l=p.cx,c=p.cy,u=n.select(this),f=u.selectAll("path.surface").data([a]);if(f.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),u.call(x,e,t),g.pull){var m=+v.castOption(g.pull,a.pts)||0;m>0&&(l+=m*a.pxmid[0],c+=m*a.pxmid[1])}a.cxFinal=l,a.cyFinal=c;var k=g.hole;if(a.v===p.vTotal){var T="M"+(l+a.px0[0])+","+(c+a.px0[1])+I(a.px0,a.pxmid,!0,1)+I(a.pxmid,a.px0,!0,1)+"Z";k?f.attr("d","M"+(l+k*a.px0[0])+","+(c+k*a.px0[1])+I(a.px0,a.pxmid,!1,k)+I(a.pxmid,a.px0,!1,k)+"Z"+T):f.attr("d",T)}else{var M=I(a.px0,a.px1,!0,1);if(k){var A=1-k;f.attr("d","M"+(l+k*a.px1[0])+","+(c+k*a.px1[1])+I(a.px1,a.px0,!1,k)+"l"+A*a.px0[0]+","+A*a.px0[1]+M+"Z")}else f.attr("d","M"+l+","+c+"l"+a.px0[0]+","+a.px0[1]+M+"Z")}j(e,a,p);var S=v.castOption(g.textposition,a.pts),L=u.selectAll("g.slicetext").data(a.text&&"none"!==S?[0]:[]);L.enter().append("g").classed("slicetext",!0),L.exit().remove(),L.each((function(){var u=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),f=r.ensureUniformFontSize(e,"outside"===S?function(e,t,r){var n=v.castOption(e.outsidetextfont.color,t.pts)||v.castOption(e.textfont.color,t.pts)||r.color,a=v.castOption(e.outsidetextfont.family,t.pts)||v.castOption(e.textfont.family,t.pts)||r.family,i=v.castOption(e.outsidetextfont.size,t.pts)||v.castOption(e.textfont.size,t.pts)||r.size;return{color:n,family:a,size:i}}(g,a,i.font):b(g,a,i.font));u.text(a.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(s.font,f).call(d.convertToTspans,e);var m,y=s.bBox(u.node());if("outside"===S)m=C(y,a);else if(m=w(y,a,p),"auto"===S&&m.scale<1){var x=r.ensureUniformFontSize(e,g.outsidetextfont);u.call(s.font,x),m=C(y=s.bBox(u.node()),a)}var k=m.textPosAngle,T=void 0===k?a.pxmid:P(p.r,k);if(m.targetX=l+T[0]*m.rCenter+(m.x||0),m.targetY=c+T[1]*m.rCenter+(m.y||0),E(m,y),m.outside){var M=m.targetY;a.yLabelMin=M-y.height/2,a.yLabelMid=M,a.yLabelMax=M+y.height/2,a.labelExtraX=0,a.labelExtraY=0,_=!0}m.fontSize=f.size,h(g.type,m,i),t[o].transform=m,u.attr("transform",r.getTextTransform(m))}))}function I(e,t,r,n){var i=n*(t[0]-e[0]),o=n*(t[1]-e[1]);return"a"+n*p.r+","+n*p.r+" 0 "+a.largeArc+(r?" 1 ":" 0 ")+i+","+o}}));var k=n.select(this).selectAll("g.titletext").data(g.title.text?[0]:[]);if(k.enter().append("g").classed("titletext",!0),k.exit().remove(),k.each((function(){var t,a=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),i=g.title.text;g._meta&&(i=r.templateString(i,g._meta)),a.text(i).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(s.font,g.title.font).call(d.convertToTspans,e),t="middle center"===g.title.position?function(e){var t=Math.sqrt(e.titleBox.width*e.titleBox.width+e.titleBox.height*e.titleBox.height);return{x:e.cx,y:e.cy,scale:e.trace.hole*e.r*2/t,tx:0,ty:-e.titleBox.height/2+e.trace.title.font.size}}(p):I(p,o),a.attr("transform",u(t.x,t.y)+c(Math.min(1,t.scale))+u(t.tx,t.ty))})),_&&function(e,t){var r,n,a,i,o,l,s,c,u,d,f,h,p;function g(e,t){return e.pxmid[1]-t.pxmid[1]}function m(e,t){return t.pxmid[1]-e.pxmid[1]}function y(e,r){r||(r={});var a,c,u,f,h=r.labelExtraY+(n?r.yLabelMax:r.yLabelMin),p=n?e.yLabelMin:e.yLabelMax,g=n?e.yLabelMax:e.yLabelMin,m=e.cyFinal+o(e.px0[1],e.px1[1]),y=h-p;if(y*s>0&&(e.labelExtraY=y),Array.isArray(t.pull))for(c=0;c=(v.castOption(t.pull,u.pts)||0)||((e.pxmid[1]-u.pxmid[1])*s>0?(y=u.cyFinal+o(u.px0[1],u.px1[1])-p-e.labelExtraY)*s>0&&(e.labelExtraY+=y):(g+e.labelExtraY-m)*s>0&&(a=3*l*Math.abs(c-d.indexOf(e)),(f=u.cxFinal+i(u.px0[0],u.px1[0])+a-(e.cxFinal+e.pxmid[0])-e.labelExtraX)*l>0&&(e.labelExtraX+=f)))}for(n=0;n<2;n++)for(a=n?g:m,o=n?Math.max:Math.min,s=n?1:-1,r=0;r<2;r++){for(i=r?Math.max:Math.min,l=r?1:-1,(c=e[n][r]).sort(a),u=e[1-n][r],d=u.concat(c),h=[],f=0;fMath.abs(d)?s+="l"+d*e.pxmid[0]/e.pxmid[1]+","+d+"H"+(o+e.labelExtraX+c):s+="l"+e.labelExtraX+","+u+"v"+(d-u)+"h"+c}else s+="V"+(e.yLabelMid+e.labelExtraY)+"h"+c;r.ensureSingle(a,"path","textline").call(l.stroke,t.outsidetextfont.color).attr({"stroke-width":Math.min(2,t.outsidetextfont.size/8),d:s,fill:"none"})}else a.select("path.textline").remove()}))}(m,g),_&&g.automargin){var T=s.bBox(f.node()),M=g.domain,A=o.w*(M.x[1]-M.x[0]),S=o.h*(M.y[1]-M.y[0]),L=(.5*A-p.r)/o.w,O=(.5*S-p.r)/o.h;a.autoMargin(e,"pie."+g.uid+".automargin",{xl:M.x[0]-L,xr:M.x[1]+L,yb:M.y[0]-O,yt:M.y[1]+O,l:Math.max(p.cx-p.r-T.left,0),r:Math.max(T.right-(p.cx+p.r),0),b:Math.max(T.bottom-(p.cy+p.r),0),t:Math.max(p.cy-p.r-T.top,0),pad:5})}}))}));setTimeout((function(){f.selectAll("tspan").each((function(){var e=n.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))}))}),0)},formatSliceLabel:j,transformInsideText:w,determineInsideTextFont:b,positionTitleOutside:I,prerenderTitles:_,layoutAreas:z,attachFxHandlers:x,computeTransform:E}})),i.register("39oaf",(function(e,t){"use strict";var r=i("2MtC7").appendArrayMultiPointValues;e.exports=function(e,t){var n={curveNumber:t.index,pointNumbers:e.pts,data:t._input,fullData:t,label:e.label,color:e.color,value:e.v,percent:e.percent,text:e.text,v:e.v};return 1===e.pts.length&&(n.pointNumber=n.i=e.pts[0]),r(n,t,e.pts),"funnelarea"===t.type&&(delete n.v,delete n.i),n}})),i.register("3EV3A",(function(e,t){"use strict";var r=i("4Wia9"),n=i("3N5m7"),a=i("1nIvY"),o=i("4U9iW").resizeText;function l(e,t,r){var i=t.data.data,o=!t.children,l=i.i,s=a.castOption(r,l,"marker.line.color")||n.defaultLine,c=a.castOption(r,l,"marker.line.width")||0;e.style("stroke-width",c).call(n.fill,i.color).call(n.stroke,s).style("opacity",o?r.leaf.opacity:null)}e.exports={style:function(e){var t=e._fullLayout._sunburstlayer.selectAll(".trace");o(e,t,"sunburst"),t.each((function(e){var t=r.select(this),n=e[0].trace;t.style("opacity",n.opacity),t.selectAll("path.surface").each((function(e){r.select(this).call(l,e,n)}))}))},styleOne:l}})),i.register("4OYqK",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY"),a=i("7jar4"),o=i("49Q6h"),l=i("7mvKb"),s=i("iexgK").styleOne,c=i("4EUdN"),u=i("6qi5c"),d=i("1rpMS"),f=!0;e.exports=function(e,t,i,h,p){var g=p.barDifY,v=p.width,m=p.height,y=p.viewX,x=p.viewY,b=p.pathSlice,_=p.toMoveInsideSlice,w=p.strTransform,k=p.hasTransition,T=p.handleSlicesExit,M=p.makeUpdateSliceInterpolator,A=p.makeUpdateTextInterpolator,S={},L=e._fullLayout,C=t[0],I=C.trace,O=C.hierarchy,D=v/I._entryDepth,z=u.listPath(i.data,"id"),P=l(O.copy(),[v,m],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(P=P.filter((function(e){var t=z.indexOf(e.data.id);return-1!==t&&(e.x0=D*t,e.x1=D*(t+1),e.y0=g,e.y1=g+m,e.onPathbar=!0,!0)}))).reverse(),(h=h.data(P,u.getPtId)).enter().append("g").classed("pathbar",!0),T(h,f,S,[v,m],b),h.order();var j=h;k&&(j=j.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),j.each((function(l){l._hoverX=y(l.x1-Math.min(v,m)/2),l._hoverY=x(l.y1-m/2);var h=r.select(this),p=n.ensureSingle(h,"path","surface",(function(e){e.style("pointer-events","all")}));k?p.transition().attrTween("d",(function(e){var t=M(e,f,S,[v,m]);return function(e){return b(t(e))}})):p.attr("d",b),h.call(d,i,e,t,{styleOne:s,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:e._transitioning}),p.call(s,l,I,{hovered:!1}),l._text=(u.getPtLabel(l)||"").split("
").join(" ")||"";var g=n.ensureSingle(h,"g","slicetext"),T=n.ensureSingle(g,"text","",(function(e){e.attr("data-notex",1)})),C=n.ensureUniformFontSize(e,u.determineTextFont(I,l,L.font,{onPathbar:!0}));T.text(l._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(a.font,C).call(o.convertToTspans,e),l.textBB=a.bBox(T.node()),l.transform=_(l,{fontSize:C.size,onPathbar:!0}),l.transform.fontSize=C.size,k?T.transition().attrTween("transform",(function(e){var t=A(e,f,S,[v,m]);return function(e){return w(t(e))}})):T.attr("transform",w(l))}))}})),l=i("6DnoW"),e(o).register([e(l)]),window.Plotly=e(o)}(); \ No newline at end of file diff --git a/hugo/package.json b/hugo/package.json index 3a5b9a6..8a84796 100644 --- a/hugo/package.json +++ b/hugo/package.json @@ -6,5 +6,10 @@ "scripts": { "build-plotly": "NODE_ENV=production ./node_modules/.bin/parcel build --dist-dir assets/js --no-source-maps assets/js/plotly.js" }, - "default": "plotly.custom.min.js" + "default": "plotly.custom.min.js", + "targets": { + "default": { + "distDir": "assets/js" + } + } } From c3c056857d2dbac85e539161bd1123180ed0f980 Mon Sep 17 00:00:00 2001 From: Gerald Pape Date: Tue, 22 Jun 2021 20:55:41 +0200 Subject: [PATCH 3/5] upgrade once more --- hugo/assets/js/plotly.custom.min.js | 7 +- hugo/package-lock.json | 5102 +++++++-------------------- hugo/package.json | 4 +- 3 files changed, 1224 insertions(+), 3889 deletions(-) diff --git a/hugo/assets/js/plotly.custom.min.js b/hugo/assets/js/plotly.custom.min.js index 71ba7dc..30c9c46 100644 --- a/hugo/assets/js/plotly.custom.min.js +++ b/hugo/assets/js/plotly.custom.min.js @@ -1 +1,6 @@ -!function(){function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},n={},a={},i=r.parcelRequire427e;null==i&&((i=function(e){if(e in n)return n[e].exports;if(e in a){let t=a[e];delete a[e];let r={id:e,exports:{}};return n[e]=r,t.call(r.exports,r,r.exports),r.exports}var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}).register=function(e,t){a[e]=t},r.parcelRequire427e=i);var o;i.register("ibSRw",(function(e,t){"use strict";e.exports.version=i("4EeDN").version,i("4W9Is").polyfill();i("4aHJL");i("1Jk5J")();for(var r=i("4Hxcc"),n=e.exports.register=r.register,a=i("3L5lN"),o=Object.keys(a),l=0;ln),(e=>n=e)),n="1.58.4"})),i.register("4W9Is",(function(e,t){var n=i("3JAaW");!function(t,r){"object"==typeof e.exports?e.exports=r():"function"==typeof define&&define.amd?define(r):t.ES6Promise=r()}(e.exports,(function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=0,i=void 0,o=void 0,l=function(e,t){p[a]=e,p[a+1]=t,2===(a+=2)&&(o?o(g):b())};var s="undefined"!=typeof window?window:void 0,c=s||{},u=c.MutationObserver||c.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==n&&"[object process]"==={}.toString.call(n),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(g,1)}}var p=new Array(1e3);function g(){for(var e=0;e1)for(var r=1;r:not(.watermark)":"opacity:0;-webkit-transition:opacity 0.3s ease 0s;-moz-transition:opacity 0.3s ease 0s;-ms-transition:opacity 0.3s ease 0s;-o-transition:opacity 0.3s ease 0s;transition:opacity 0.3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":"content:'';position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;","X [data-title]:after":"content:attr(data-title);background:#69738a;color:white;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:white;","X .select-outline-2":"stroke:black;stroke-dasharray:2px 2px;",Y:"font-family:'Open Sans', verdana, arial, sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;","Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,0.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:0.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in n){var o=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");r.addStyleRule(o,n[a])}})),i.register("1nIvY",(function(e,t){"use strict";var r=i("4Wia9"),n=i("6jof9").utcFormat,a=i("6qr5h"),o=i("10TEj"),l=o.FP_SAFE,s=o.BADNUM,c=e.exports={};c.nestedProperty=i("2Tkfd"),c.keyedContainer=i("6DYhf"),c.relativeAttr=i("7wVo2"),c.isPlainObject=i("2bwwe"),c.toLogRange=i("2UjBK"),c.relinkPrivateKeys=i("CXorH");var u=i("1nElS");c.isTypedArray=u.isTypedArray,c.isArrayOrTypedArray=u.isArrayOrTypedArray,c.isArray1D=u.isArray1D,c.ensureArray=u.ensureArray,c.concat=u.concat,c.maxRowLength=u.maxRowLength,c.minRowLength=u.minRowLength;var d=i("5DnzT");c.mod=d.mod,c.modHalf=d.modHalf;var f=i("2YEcf");c.valObjectMeta=f.valObjectMeta,c.coerce=f.coerce,c.coerce2=f.coerce2,c.coerceFont=f.coerceFont,c.coerceHoverinfo=f.coerceHoverinfo,c.coerceSelectionMarkerOpacity=f.coerceSelectionMarkerOpacity,c.validate=f.validate;var h=i("4Jreh");c.dateTime2ms=h.dateTime2ms,c.isDateTime=h.isDateTime,c.ms2DateTime=h.ms2DateTime,c.ms2DateTimeLocal=h.ms2DateTimeLocal,c.cleanDate=h.cleanDate,c.isJSDate=h.isJSDate,c.formatDate=h.formatDate,c.incrementMonth=h.incrementMonth,c.dateTick0=h.dateTick0,c.dfltRange=h.dfltRange,c.findExactDates=h.findExactDates,c.MIN_MS=h.MIN_MS,c.MAX_MS=h.MAX_MS;var p=i("5LcuG");c.findBin=p.findBin,c.sorterAsc=p.sorterAsc,c.sorterDes=p.sorterDes,c.distinctVals=p.distinctVals,c.roundUp=p.roundUp,c.sort=p.sort,c.findIndexOfMin=p.findIndexOfMin;var g=i("23CtA");c.aggNums=g.aggNums,c.len=g.len,c.mean=g.mean,c.median=g.median,c.midRange=g.midRange,c.variance=g.variance,c.stdev=g.stdev,c.interp=g.interp;var v=i("2paJ6");c.init2dArray=v.init2dArray,c.transposeRagged=v.transposeRagged,c.dot=v.dot,c.translationMatrix=v.translationMatrix,c.rotationMatrix=v.rotationMatrix,c.rotationXYMatrix=v.rotationXYMatrix,c.apply3DTransform=v.apply3DTransform,c.apply2DTransform=v.apply2DTransform,c.apply2DTransform2=v.apply2DTransform2,c.convertCssMatrix=v.convertCssMatrix,c.inverseTransformMatrix=v.inverseTransformMatrix;var m=i("3TZVB");c.deg2rad=m.rad2deg,c.rad2deg=m.rad2deg,c.angleDelta=m.angleDelta,c.angleDist=m.angleDist,c.isFullCircle=m.isFullCircle,c.isAngleInsideSector=m.isAngleInsideSector,c.isPtInsideSector=m.isPtInsideSector,c.pathArc=m.pathArc,c.pathSector=m.pathSector,c.pathAnnulus=m.pathAnnulus;var y=i("36x9Z");c.isLeftAnchor=y.isLeftAnchor,c.isCenterAnchor=y.isCenterAnchor,c.isRightAnchor=y.isRightAnchor,c.isTopAnchor=y.isTopAnchor,c.isMiddleAnchor=y.isMiddleAnchor,c.isBottomAnchor=y.isBottomAnchor;var x=i("6yIsr");c.segmentsIntersect=x.segmentsIntersect,c.segmentDistance=x.segmentDistance,c.getTextLocation=x.getTextLocation,c.clearLocationCache=x.clearLocationCache,c.getVisibleSegment=x.getVisibleSegment,c.findPointOnPath=x.findPointOnPath;var b=i("1ZM4z");c.extendFlat=b.extendFlat,c.extendDeep=b.extendDeep,c.extendDeepAll=b.extendDeepAll,c.extendDeepNoArrays=b.extendDeepNoArrays;var _=i("1NWKZ");c.log=_.log,c.warn=_.warn,c.error=_.error;var w=i("3ImU3");c.counterRegex=w.counter;var k=i("3RMbo");c.throttle=k.throttle,c.throttleDone=k.done,c.clearThrottle=k.clear;var T=i("44pv8");function M(e){var t={};for(var r in e)for(var n=e[r],a=0;al?s:a(e)?Number(e):s:s},c.isIndex=function(e,t){return!(void 0!==t&&e>=t)&&(a(e)&&e>=0&&e%1==0)},c.noop=i("77Ix4"),c.identity=i("4Qyoa"),c.repeat=function(e,t){for(var r=new Array(t),n=0;nr?Math.max(r,Math.min(t,e)):Math.max(t,Math.min(r,e))},c.bBoxIntersect=function(e,t,r){return r=r||0,e.left<=t.right+r&&t.left<=e.right+r&&e.top<=t.bottom+r&&t.top<=e.bottom+r},c.simpleMap=function(e,t,r,n,a){for(var i=e.length,o=new Array(i),l=0;l=Math.pow(2,r)?a>10?(c.warn("randstr failed uniqueness"),s):e(t,r,n,(a||0)+1):s},c.OptionControl=function(e,t){e||(e={}),t||(t="opt");var r={optionList:[],_newoption:function(n){n[t]=e,r[n.name]=n,r.optionList.push(n)}};return r["_"+t]=e,r},c.smooth=function(e,t){if((t=Math.round(t)||0)<2)return e;var r,n,a,i,o=e.length,l=2*o,s=2*t-1,c=new Array(s),u=new Array(o);for(r=0;r=l&&(a-=l*Math.floor(a/l)),a<0?a=-1-a:a>=o&&(a=l-1-a),i+=e[a]*c[n];u[r]=i}return u},c.syncOrAsync=function(e,t,r){var n;function a(){return c.syncOrAsync(e,t,r)}for(;e.length;)if((n=(0,e.splice(0,1)[0])(t))&&n.then)return n.then(a).then(void 0,c.promiseError);return r&&r(t)},c.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},c.noneOrAll=function(e,t,r){if(e){var n,a=!1,i=!0;for(n=0;n0?t:0}))},c.fillArray=function(e,t,r,n){if(n=n||c.identity,c.isArrayOrTypedArray(e))for(var a=0;a1?a+o[1]:"";if(i&&(o.length>1||l.length>4||r))for(;n.test(l);)l=l.replace(n,"$1"+i+"$2");return l+s},c.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var O=/^\w*$/;c.templateString=function(e,t){var r={};return e.replace(c.TEMPLATE_STRING_REGEX,(function(e,n){var a;return O.test(n)?a=t[n]:(r[n]=r[n]||c.nestedProperty(t,n).get,a=r[n]()),c.isValidTextValue(a)?a:""}))};var D={max:10,count:0,name:"hovertemplate"};c.hovertemplateString=function(){return j.apply(D,arguments)};var z={max:10,count:0,name:"texttemplate"};c.texttemplateString=function(){return j.apply(z,arguments)};var P=/^[:|\|]/;function j(e,t,a){var i=this,o=arguments;t||(t={});var l={};return e.replace(c.TEMPLATE_STRING_REGEX,(function(e,s,u){var d,f,h,p;for(h=3;h=48&&o<=57,c=l>=48&&l<=57;if(s&&(n=10*n+o-48),c&&(a=10*a+l-48),!s||!c){if(n!==a)return n-a;if(o!==l)return o-l}}return a-n};var E=2e9;c.seedPseudoRandom=function(){E=2e9},c.pseudoRandom=function(){var e=E;return E=(69069*E+1)%4294967296,Math.abs(E-e)<429496729?c.pseudoRandom():E/4294967296},c.fillText=function(e,t,r){var n=Array.isArray(r)?function(e){r.push(e)}:function(e){r.text=e},a=c.extractOption(e,t,"htx","hovertext");if(c.isValidTextValue(a))return n(a);var i=c.extractOption(e,t,"tx","text");return c.isValidTextValue(i)?n(i):void 0},c.isValidTextValue=function(e){return e||0===e},c.formatPercent=function(e,t){t=t||0;for(var r=(Math.round(100*e*Math.pow(10,t))*Math.pow(.1,t)).toFixed(t)+"%",n=0;n1&&(u=1):u=0,c.strTranslate(a-u*(r+o),i-u*(n+l))+c.strScale(u)+(s?"rotate("+s+(t?"":" "+r+" "+n)+")":"")},c.ensureUniformFontSize=function(e,t){var r=c.extendFlat({},t);return r.size=Math.max(t.size,e._fullLayout.uniformtext.minsize||0),r},c.join2=function(e,t,r){var n=e.length;return n>1?e.slice(0,-1).join(t)+r+e[n-1]:e.join(t)}})),i.register("4Wia9",(function(e,t){!function(){var t={version:"3.5.17"},r=[].slice,n=function(e){return r.call(e)},a=this.document;function i(e){return e&&(e.ownerDocument||e.document||e).documentElement}function o(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(a)try{n(a.documentElement.childNodes)[0].nodeType}catch(e){n=function(e){for(var t=e.length,r=new Array(t);t--;)r[t]=e[t];return r}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var l=this.Element.prototype,s=l.setAttribute,c=l.setAttributeNS,u=this.CSSStyleDeclaration.prototype,d=u.setProperty;l.setAttribute=function(e,t){s.call(this,e,t+"")},l.setAttributeNS=function(e,t,r){c.call(this,e,t,r+"")},u.setProperty=function(e,t,r){d.call(this,e,t+"",r)}}function f(e,t){return et?1:e>=t?0:NaN}function h(e){return null===e?NaN:+e}function p(e){return!isNaN(e)}function g(e){return{left:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)<0?n=i+1:a=i}return n},right:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)>0?a=i:n=i+1}return n}}}t.ascending=f,t.descending=function(e,t){return te?1:t>=e?0:NaN},t.min=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++an&&(r=n)}else{for(;++a=n){r=n;break}for(;++an&&(r=n)}return r},t.max=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++ar&&(r=n)}else{for(;++a=n){r=n;break}for(;++ar&&(r=n)}return r},t.extent=function(e,t){var r,n,a,i=-1,o=e.length;if(1===arguments.length){for(;++i=n){r=a=n;break}for(;++in&&(r=n),a=n){r=a=n;break}for(;++in&&(r=n),a1)return o/(s-1)},t.deviation=function(){var e=t.variance.apply(this,arguments);return e?Math.sqrt(e):e};var v=g(f);function m(e){return e.length}t.bisectLeft=v.left,t.bisect=t.bisectRight=v.right,t.bisector=function(e){return g(1===e.length?function(t,r){return f(e(t),r)}:e)},t.shuffle=function(e,t,r){(i=arguments.length)<3&&(r=e.length,i<2&&(t=0));for(var n,a,i=r-t;i;)a=Math.random()*i--|0,n=e[i+t],e[i+t]=e[a+t],e[a+t]=n;return e},t.permute=function(e,t){for(var r=t.length,n=new Array(r);r--;)n[r]=e[t[r]];return n},t.pairs=function(e){for(var t=0,r=e.length-1,n=e[0],a=new Array(r<0?0:r);t=0;)for(t=(n=e[a]).length;--t>=0;)r[--o]=n[t];return r};var y=Math.abs;function x(e){for(var t=1;e*t%1;)t*=10;return t}function b(e,t){for(var r in t)Object.defineProperty(e.prototype,r,{value:t[r],enumerable:!1})}function _(){this._=Object.create(null)}t.range=function(e,t,r){if(arguments.length<3&&(r=1,arguments.length<2&&(t=e,e=0)),(t-e)/r==1/0)throw new Error("infinite range");var n,a=[],i=x(y(r)),o=-1;if(e*=i,t*=i,(r*=i)<0)for(;(n=e+r*++o)>t;)a.push(n/i);else for(;(n=e+r*++o)=a.length)return r?r.call(n,i):e?i.sort(e):i;for(var s,c,u,d,f=-1,h=i.length,p=a[l++],g=new _;++f=a.length)return e;var r=[],n=i[t++];return e.forEach((function(e,n){r.push({key:e,values:l(n,t)})})),n?r.sort((function(e,t){return n(e.key,t.key)})):r}return n.map=function(e,t){return o(t,e,0)},n.entries=function(e){return l(o(t.map,e,0),0)},n.key=function(e){return a.push(e),n},n.sortKeys=function(e){return i[a.length-1]=e,n},n.sortValues=function(t){return e=t,n},n.rollup=function(e){return r=e,n},n},t.set=function(e){var t=new C;if(e)for(var r=0,n=e.length;r=0&&(n=e.slice(r+1),e=e.slice(0,r)),e)return arguments.length<2?this[e].on(n):this[e].on(n,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(n,null);return this}},t.event=null,t.requote=function(e){return e.replace(H,"\\$&")};var H=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,B={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)e[r]=t[r]};function U(e){return B(e,G),e}var q=function(e,t){return t.querySelector(e)},V=function(e,t){return t.querySelectorAll(e)},Y=function(e,t){var r=e.matches||e[D(e,"matchesSelector")];return(Y=function(e,t){return r.call(e,t)})(e,t)};"function"==typeof Sizzle&&(q=function(e,t){return Sizzle(e,t)[0]||null},V=Sizzle,Y=Sizzle.matchesSelector),t.selection=function(){return t.select(a.documentElement)};var G=t.selection.prototype=[];function Z(e){return"function"==typeof e?e:function(){return q(e,this)}}function W(e){return"function"==typeof e?e:function(){return V(e,this)}}G.select=function(e){var t,r,n,a,i=[];e=Z(e);for(var o=-1,l=this.length;++o=0&&"xmlns"!==(r=e.slice(0,t))&&(e=e.slice(t+1)),Q.hasOwnProperty(r)?{space:Q[r],local:e}:e}},G.attr=function(e,r){if(arguments.length<2){if("string"==typeof e){var n=this.node();return(e=t.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(r in e)this.each(J(r,e[r]));return this}return this.each(J(e,r))},G.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var r=this.node(),n=(e=ee(e)).length,a=-1;if(t=r.classList){for(;++a=0;)(r=n[a])&&(i&&i!==r.nextSibling&&i.parentNode.insertBefore(r,i),i=r);return this},G.sort=function(e){e=ce.apply(this,arguments);for(var t=-1,r=this.length;++t=t&&(t=a+1);!(o=l[t])&&++t0&&(e=e.slice(0,o));var s=ge.get(e);function c(){var t=this[i];t&&(this.removeEventListener(e,t,t.$),delete this[i])}return s&&(e=s,l=me),o?r?function(){var t=l(r,n(arguments));c.call(this),this.addEventListener(e,this[i]=t,t.$=a),t._=r}:c:r?P:function(){var r,n=new RegExp("^__on([^.]+)"+t.requote(e)+"$");for(var a in this)if(r=a.match(n)){var i=this[a];this.removeEventListener(r[1],i,i.$),delete this[a]}}}t.selection.enter=de,t.selection.enter.prototype=fe,fe.append=G.append,fe.empty=G.empty,fe.node=G.node,fe.call=G.call,fe.size=G.size,fe.select=function(e){for(var t,r,n,a,i,o=[],l=-1,s=this.length;++l0?1:e<0?-1:0}function ze(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(t[1]-e[1])*(r[0]-e[0])}function Pe(e){return e>1?0:e<-1?Ae:Math.acos(e)}function je(e){return e>1?Ce:e<-1?-Ce:Math.asin(e)}function Ee(e){return((e=Math.exp(e))+1/e)/2}function Re(e){return(e=Math.sin(e/2))*e}var Ne=Math.SQRT2;t.interpolateZoom=function(e,t){var r,n,a=e[0],i=e[1],o=e[2],l=t[0],s=t[1],c=t[2],u=l-a,d=s-i,f=u*u+d*d;if(f0&&(e=e.transition().duration(g)),e.call(w.event)}function S(){c&&c.domain(s.range().map((function(e){return(e-f.x)/f.k})).map(s.invert)),d&&d.domain(u.range().map((function(e){return(e-f.y)/f.k})).map(u.invert))}function L(e){v++||e({type:"zoomstart"})}function C(e){S(),e({type:"zoom",scale:f.k,translate:[f.x,f.y]})}function I(e){--v||(e({type:"zoomend"}),r=null)}function O(){var e=this,r=_.of(e,arguments),n=0,a=t.select(o(e)).on(y,s).on(x,c),i=k(t.mouse(e)),l=be(e);function s(){n=1,M(t.mouse(e),i),C(r)}function c(){a.on(y,null).on(x,null),l(n),I(r)}Dl.call(e),L(r)}function D(){var e,r=this,n=_.of(r,arguments),a={},i=0,o=".zoom-"+t.event.changedTouches[0].identifier,s="touchmove"+o,c="touchend"+o,u=[],d=t.select(r),h=be(r);function p(){var n=t.touches(r);return e=f.k,n.forEach((function(e){e.identifier in a&&(a[e.identifier]=k(e))})),n}function g(){var e=t.event.target;t.select(e).on(s,v).on(c,y),u.push(e);for(var n=t.event.changedTouches,o=0,d=n.length;o1){m=h[0];var x=h[1],b=m[0]-x[0],_=m[1]-x[1];i=b*b+_*_}}function v(){var o,s,c,u,d=t.touches(r);Dl.call(r);for(var f=0,h=d.length;f360?e-=360:e<0&&(e+=360),e<60?n+(a-n)*e/60:e<180?a:e<240?n+(a-n)*(240-e)/60:n}(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,n=2*(r=r<0?0:r>1?1:r)-(a=r<=.5?r*(1+t):r+t-r*t),new it(i(e+120),i(e),i(e-120))}function Ge(e,r,n){return this instanceof Ge?(this.h=+e,this.c=+r,void(this.l=+n)):arguments.length<2?e instanceof Ge?new Ge(e.h,e.c,e.l):tt(e instanceof Xe?e.l:(e=ft((e=t.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Ge(e,r,n)}Ve.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new qe(this.h,this.s,this.l/e)},Ve.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new qe(this.h,this.s,e*this.l)},Ve.rgb=function(){return Ye(this.h,this.s,this.l)},t.hcl=Ge;var Ze=Ge.prototype=new Ue;function We(e,t,r){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Xe(r,Math.cos(e*=Ie)*t,Math.sin(e)*t)}function Xe(e,t,r){return this instanceof Xe?(this.l=+e,this.a=+t,void(this.b=+r)):arguments.length<2?e instanceof Xe?new Xe(e.l,e.a,e.b):e instanceof Ge?We(e.h,e.c,e.l):ft((e=it(e)).r,e.g,e.b):new Xe(e,t,r)}Ze.brighter=function(e){return new Ge(this.h,this.c,Math.min(100,this.l+Qe*(arguments.length?e:1)))},Ze.darker=function(e){return new Ge(this.h,this.c,Math.max(0,this.l-Qe*(arguments.length?e:1)))},Ze.rgb=function(){return We(this.h,this.c,this.l).rgb()},t.lab=Xe;var Qe=18,Je=.95047,Ke=1.08883,$e=Xe.prototype=new Ue;function et(e,t,r){var n=(e+16)/116,a=n+t/500,i=n-r/200;return new it(at(3.2404542*(a=rt(a)*Je)-1.5371385*(n=1*rt(n))-.4985314*(i=rt(i)*Ke)),at(-.969266*a+1.8760108*n+.041556*i),at(.0556434*a-.2040259*n+1.0572252*i))}function tt(e,t,r){return e>0?new Ge(Math.atan2(r,t)*Oe,Math.sqrt(t*t+r*r),e):new Ge(NaN,NaN,e)}function rt(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function nt(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function at(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function it(e,t,r){return this instanceof it?(this.r=~~e,this.g=~~t,void(this.b=~~r)):arguments.length<2?e instanceof it?new it(e.r,e.g,e.b):ut(""+e,it,Ye):new it(e,t,r)}function ot(e){return new it(e>>16,e>>8&255,255&e)}function lt(e){return ot(e)+""}$e.brighter=function(e){return new Xe(Math.min(100,this.l+Qe*(arguments.length?e:1)),this.a,this.b)},$e.darker=function(e){return new Xe(Math.max(0,this.l-Qe*(arguments.length?e:1)),this.a,this.b)},$e.rgb=function(){return et(this.l,this.a,this.b)},t.rgb=it;var st=it.prototype=new Ue;function ct(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function ut(e,t,r){var n,a,i,o=0,l=0,s=0;if(n=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(a=n[2].split(","),n[1]){case"hsl":return r(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return t(pt(a[0]),pt(a[1]),pt(a[2]))}return(i=gt.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&i)>>4,o|=o>>4,l=240&i,l|=l>>4,s=15&i,s|=s<<4):7===e.length&&(o=(16711680&i)>>16,l=(65280&i)>>8,s=255&i)),t(o,l,s))}function dt(e,t,r){var n,a,i=Math.min(e/=255,t/=255,r/=255),o=Math.max(e,t,r),l=o-i,s=(o+i)/2;return l?(a=s<.5?l/(o+i):l/(2-o-i),n=e==o?(t-r)/l+(t0&&s<1?0:n),new qe(n,a,s)}function ft(e,t,r){var n=nt((.4124564*(e=ht(e))+.3575761*(t=ht(t))+.1804375*(r=ht(r)))/Je),a=nt((.2126729*e+.7151522*t+.072175*r)/1);return Xe(116*a-16,500*(n-a),200*(a-nt((.0193339*e+.119192*t+.9503041*r)/Ke)))}function ht(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function pt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}st.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,r=this.g,n=this.b,a=30;return t||r||n?(t&&t=200&&t<300||304===t){try{e=a.call(o,c)}catch(e){return void l.error.call(o,e)}l.load.call(o,e)}else l.error.call(o,c)}return this.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(e)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=d:c.onreadystatechange=function(){c.readyState>3&&d()},c.onprogress=function(e){var r=t.event;t.event=e;try{l.progress.call(o,c)}finally{t.event=r}},o.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?s[e]:(null==t?delete s[e]:s[e]=t+"",o)},o.mimeType=function(e){return arguments.length?(r=null==e?null:e+"",o):r},o.responseType=function(e){return arguments.length?(u=e,o):u},o.response=function(e){return a=e,o},["get","post"].forEach((function(e){o[e]=function(){return o.send.apply(o,[e].concat(n(arguments)))}})),o.send=function(t,n,a){if(2===arguments.length&&"function"==typeof n&&(a=n,n=null),c.open(t,e,!0),null==r||"accept"in s||(s.accept=r+",*/*"),c.setRequestHeader)for(var i in s)c.setRequestHeader(i,s[i]);return null!=r&&c.overrideMimeType&&c.overrideMimeType(r),null!=u&&(c.responseType=u),null!=a&&o.on("error",a).on("load",(function(e){a(null,e)})),l.beforesend.call(o,c),c.send(null==n?null:n),o},o.abort=function(){return c.abort(),o},t.rebind(o,l,"on"),null==i?o:o.get(function(e){return 1===e.length?function(t,r){e(null==t?r:null)}:e}(i))}gt.forEach((function(e,t){gt.set(e,ot(t))})),t.functor=vt,t.xhr=mt(I),t.dsv=function(e,t){var r=new RegExp('["'+e+"\n]"),n=e.charCodeAt(0);function a(e,r,n){arguments.length<3&&(n=r,r=null);var a=yt(e,t,null==r?i:o(r),n);return a.row=function(e){return arguments.length?a.response(null==(r=e)?i:o(e)):r},a}function i(e){return a.parse(e.responseText)}function o(e){return function(t){return a.parse(t.responseText,e)}}function l(t){return t.map(s).join(e)}function s(e){return r.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return a.parse=function(e,t){var r;return a.parseRows(e,(function(e,n){if(r)return r(e,n-1);var a=new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}");r=t?function(e,r){return t(a(e),r)}:a}))},a.parseRows=function(e,t){var r,a,i={},o={},l=[],s=e.length,c=0,u=0;function d(){if(c>=s)return o;if(a)return a=!1,i;var t=c;if(34===e.charCodeAt(t)){for(var r=t;r++24?(isFinite(t)&&(clearTimeout(wt),wt=setTimeout(Mt,t)),_t=0):(_t=1,kt(Mt))}function At(){for(var e=Date.now(),t=xt;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function St(){for(var e,t=xt,r=1/0;t;)t.c?(t.t8?function(e){return e/r}:function(e){return e*r},symbol:e}}));function It(e){var r=e.decimal,n=e.thousands,a=e.grouping,i=e.currency,o=a&&n?function(e,t){for(var r=e.length,i=[],o=0,l=a[0],s=0;r>0&&l>0&&(s+l+1>t&&(l=Math.max(1,t-s)),i.push(e.substring(r-=l,r+l)),!((s+=l+1)>t));)l=a[o=(o+1)%a.length];return i.reverse().join(n)}:I;return function(e){var n=Ot.exec(e),a=n[1]||" ",l=n[2]||">",s=n[3]||"-",c=n[4]||"",u=n[5],d=+n[6],f=n[7],h=n[8],p=n[9],g=1,v="",m="",y=!1,x=!0;switch(h&&(h=+h.substring(1)),(u||"0"===a&&"="===l)&&(u=a="0",l="="),p){case"n":f=!0,p="g";break;case"%":g=100,m="%",p="f";break;case"p":g=100,m="%",p="r";break;case"b":case"o":case"x":case"X":"#"===c&&(v="0"+p.toLowerCase());case"c":x=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===c&&(v=i[0],m=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=Dt.get(p)||zt;var b=u&&f;return function(e){var n=m;if(y&&e%1)return"";var i=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===s?"":s;if(g<0){var c=t.formatPrefix(e,h);e=c.scale(e),n=c.symbol+m}else e*=g;var _,w,k=(e=p(e,h)).lastIndexOf(".");if(k<0){var T=x?e.lastIndexOf("e"):-1;T<0?(_=e,w=""):(_=e.substring(0,T),w=e.substring(T))}else _=e.substring(0,k),w=r+e.substring(k+1);!u&&f&&(_=o(_,1/0));var M=v.length+_.length+w.length+(b?0:i.length),A=M"===l?A+i+e:"^"===l?A.substring(0,M>>=1)+i+e+A.substring(M):i+(b?e:A+e))+n}}}t.formatPrefix=function(e,r){var n=0;return(e=+e)&&(e<0&&(e*=-1),r&&(e=t.round(e,Lt(e,r))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Ct[8+n/3]};var Ot=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Dt=t.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,r){return(e=t.round(e,Lt(e,r))).toFixed(Math.max(0,Math.min(20,Lt(e*(1+1e-15),r))))}});function zt(e){return e+""}var Pt=t.time={},jt=Date;function Et(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Et.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Rt.setUTCDate.apply(this._,arguments)},setDay:function(){Rt.setUTCDay.apply(this._,arguments)},setFullYear:function(){Rt.setUTCFullYear.apply(this._,arguments)},setHours:function(){Rt.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Rt.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Rt.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Rt.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Rt.setUTCSeconds.apply(this._,arguments)},setTime:function(){Rt.setTime.apply(this._,arguments)}};var Rt=Date.prototype;function Nt(e,t,r){function n(t){var r=e(t),n=i(r,1);return t-r1)for(;o=c)return-1;if(37===(a=t.charCodeAt(l++))){if(o=t.charAt(l++),!(i=w[o in Bt?t.charAt(l++):o])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}u.utc=function(e){var t=u(e);function r(e){try{var r=new(jt=Et);return r._=e,t(r)}finally{jt=Date}}return r.parse=function(e){try{jt=Et;var r=t.parse(e);return r&&r._}finally{jt=Date}},r.toString=t.toString,r},u.multi=u.utc.multi=sr;var f=t.map(),h=Yt(o),p=Gt(o),g=Yt(l),v=Gt(l),m=Yt(s),y=Gt(s),x=Yt(c),b=Gt(c);i.forEach((function(e,t){f.set(e.toLowerCase(),t)}));var _={a:function(e){return l[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:u(r),d:function(e,t){return Vt(e.getDate(),t,2)},e:function(e,t){return Vt(e.getDate(),t,2)},H:function(e,t){return Vt(e.getHours(),t,2)},I:function(e,t){return Vt(e.getHours()%12||12,t,2)},j:function(e,t){return Vt(1+Pt.dayOfYear(e),t,3)},L:function(e,t){return Vt(e.getMilliseconds(),t,3)},m:function(e,t){return Vt(e.getMonth()+1,t,2)},M:function(e,t){return Vt(e.getMinutes(),t,2)},p:function(e){return i[+(e.getHours()>=12)]},S:function(e,t){return Vt(e.getSeconds(),t,2)},U:function(e,t){return Vt(Pt.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Vt(Pt.mondayOfYear(e),t,2)},x:u(n),X:u(a),y:function(e,t){return Vt(e.getFullYear()%100,t,2)},Y:function(e,t){return Vt(e.getFullYear()%1e4,t,4)},Z:or,"%":function(){return"%"}},w={a:function(e,t,r){g.lastIndex=0;var n=g.exec(t.slice(r));return n?(e.w=v.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){h.lastIndex=0;var n=h.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){x.lastIndex=0;var n=x.exec(t.slice(r));return n?(e.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){m.lastIndex=0;var n=m.exec(t.slice(r));return n?(e.m=y.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,t,r){return d(e,_.c.toString(),t,r)},d:er,e:er,H:rr,I:rr,j:tr,L:ir,m:$t,M:nr,p:function(e,t,r){var n=f.get(t.slice(r,r+=2).toLowerCase());return null==n?-1:(e.p=n,r)},S:ar,U:Wt,w:Zt,W:Xt,x:function(e,t,r){return d(e,_.x.toString(),t,r)},X:function(e,t,r){return d(e,_.X.toString(),t,r)},y:Jt,Y:Qt,Z:Kt,"%":lr};return u}Pt.year=Nt((function(e){return(e=Pt.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),Pt.years=Pt.year.range,Pt.years.utc=Pt.year.utc.range,Pt.day=Nt((function(e){var t=new jt(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),Pt.days=Pt.day.range,Pt.days.utc=Pt.day.utc.range,Pt.dayOfYear=function(e){var t=Pt.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var r=Pt[e]=Nt((function(e){return(e=Pt.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var r=Pt.year(e).getDay();return Math.floor((Pt.dayOfYear(e)+(r+t)%7)/7)-(r!==t)}));Pt[e+"s"]=r.range,Pt[e+"s"].utc=r.utc.range,Pt[e+"OfYear"]=function(e){var r=Pt.year(e).getDay();return Math.floor((Pt.dayOfYear(e)+(r+t)%7)/7)}})),Pt.week=Pt.sunday,Pt.weeks=Pt.sunday.range,Pt.weeks.utc=Pt.sunday.utc.range,Pt.weekOfYear=Pt.sundayOfYear;var Bt={"-":"",_:" ",0:"0"},Ut=/^\s*\d+/,qt=/^%/;function Vt(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+a[0].length):-1}function Kt(e,t,r){return/^[+-]\d{4}$/.test(t=t.slice(r,r+5))?(e.Z=-t,r+5):-1}function $t(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function er(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function tr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.j=+n[0],r+n[0].length):-1}function rr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function nr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function ar(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function ir(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function or(e){var t=e.getTimezoneOffset(),r=t>0?"-":"+",n=y(t)/60|0,a=y(t)%60;return r+Vt(n,"0",2)+Vt(a,"0",2)}function lr(e,t,r){qt.lastIndex=0;var n=qt.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function sr(e){for(var t=e.length,r=-1;++r=0?1:-1,l=o*i,s=Math.cos(t),c=Math.sin(t),u=a*c,d=n*s+u*Math.cos(l),f=u*o*Math.sin(l);Ir.add(Math.atan2(f,d)),r=e,n=s,a=c}Or.point=function(o,l){Or.point=i,r=(e=o)*Ie,n=Math.cos(l=(t=l)*Ie/2+Ae/4),a=Math.sin(l)},Or.lineEnd=function(){i(e,t)}}function zr(e){var t=e[0],r=e[1],n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}function Pr(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function jr(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Er(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Rr(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Nr(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Fr(e){return[Math.atan2(e[1],e[0]),je(e[2])]}function Hr(e,t){return y(e[0]-t[0])Te?a=90:c<-Te&&(r=-90),d[0]=e,d[1]=n}};function h(t,i){u.push(d=[e=t,n=t]),ia&&(a=i)}function p(t,o){var l=zr([t*Ie,o*Ie]);if(s){var c=jr(s,l),u=jr([c[1],-c[0],0],c);Nr(u),u=Fr(u);var d=t-i,f=d>0?1:-1,p=u[0]*Oe*f,g=y(d)>180;if(g^(f*ia&&(a=v);else if(g^(f*i<(p=(p+360)%360-180)&&pa&&(a=o);g?t_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t):n>=e?(tn&&(n=t)):t>i?_(e,t)>_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t)}else h(t,o);s=l,i=t}function g(){f.point=p}function v(){d[0]=e,d[1]=n,f.point=h,s=null}function m(e,t){if(s){var r=e-i;c+=y(r)>180?r+(r>0?360:-360):r}else o=e,l=t;Or.point(e,t),p(e,t)}function x(){Or.lineStart()}function b(){m(o,l),Or.lineEnd(),y(c)>Te&&(e=-(n=180)),d[0]=e,d[1]=n,s=null}function _(e,t){return(t-=e)<0?t+360:t}function w(e,t){return e[0]-t[0]}function k(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e_(g[0],g[1])&&(g[1]=h[1]),_(h[0],g[1])>_(g[0],g[1])&&(g[0]=h[0])):l.push(g=h);for(var s,c,h,p=-1/0,g=(o=0,l[c=l.length-1]);o<=c;g=h,++o)h=l[o],(s=_(g[1],h[0]))>p&&(p=s,e=h[0],n=g[1])}return u=d=null,e===1/0||r===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,r],[n,a]]}}(),t.geo.centroid=function(e){xr=br=_r=wr=kr=Tr=Mr=Ar=Sr=Lr=Cr=0,t.geo.stream(e,Br);var r=Sr,n=Lr,a=Cr,i=r*r+n*n+a*a;return i=0;--l)a.point((d=u[l])[0],d[1]);else n(h.x,h.p.x,-1,a);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);a.lineEnd()}}}function Qr(e){if(t=e.length){for(var t,r,n=0,a=e[0];++n=0?1:-1,k=w*_,T=k>Ae,M=p*x;if(Ir.add(Math.atan2(M*w*Math.sin(k),g*b+M*Math.cos(k))),i+=T?_+w*Se:_,T^f>=r^m>=r){var A=jr(zr(d),zr(e));Nr(A);var S=jr(a,A);Nr(S);var L=(T^_>=0?-1:1)*je(S[2]);(n>L||n===L&&(A[0]||A[1]))&&(o+=T^_>=0?1:-1)}if(!v++)break;f=m,p=x,g=b,d=e}}return(i<-Te||i0){for(x||(o.polygonStart(),x=!0),o.lineStart();++i1&&2&t&&r.push(r.pop().concat(r.shift())),l.push(r.filter($r))}return u}}function $r(e){return e.length>1}function en(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,r){e.push([t,r])},lineEnd:P,buffer:function(){var r=t;return t=[],e=null,r},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function tn(e,t){return((e=e.x)[0]<0?e[1]-Ce-Te:Ce-e[1])-((t=t.x)[0]<0?t[1]-Ce-Te:Ce-t[1])}var rn=Kr(Wr,(function(e){var t,r=NaN,n=NaN,a=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,o){var l=i>0?Ae:-Ae,s=y(i-r);y(s-Ae)0?Ce:-Ce),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(l,n),e.point(i,n),t=0):a!==l&&s>=Ae&&(y(r-a)Te?Math.atan((Math.sin(t)*(i=Math.cos(n))*Math.sin(r)-Math.sin(n)*(a=Math.cos(t))*Math.sin(e))/(a*i*o)):(t+n)/2}(r,n,i,o),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(l,n),t=0),e.point(r=i,n=o),a=l},lineEnd:function(){e.lineEnd(),r=n=NaN},clean:function(){return 2-t}}}),(function(e,t,r,n){var a;if(null==e)a=r*Ce,n.point(-Ae,a),n.point(0,a),n.point(Ae,a),n.point(Ae,0),n.point(Ae,-a),n.point(0,-a),n.point(-Ae,-a),n.point(-Ae,0),n.point(-Ae,a);else if(y(e[0]-t[0])>Te){var i=e[0]0,n=y(t)>Te;function a(e,r){return Math.cos(e)*Math.cos(r)>t}function i(e,r,n){var a=[1,0,0],i=jr(zr(e),zr(r)),o=Pr(i,i),l=i[0],s=o-l*l;if(!s)return!n&&e;var c=t*o/s,u=-t*l/s,d=jr(a,i),f=Rr(a,c);Er(f,Rr(i,u));var h=d,p=Pr(f,h),g=Pr(h,h),v=p*p-g*(Pr(f,f)-1);if(!(v<0)){var m=Math.sqrt(v),x=Rr(h,(-p-m)/g);if(Er(x,f),x=Fr(x),!n)return x;var b,_=e[0],w=r[0],k=e[1],T=r[1];w<_&&(b=_,_=w,w=b);var M=w-_,A=y(M-Ae)0^x[1]<(y(x[0]-_)Ae^(_<=x[0]&&x[0]<=w)){var S=Rr(h,(-p+m)/g);return Er(S,f),[x,Fr(S)]}}}function o(t,n){var a=r?e:Ae-e,i=0;return t<-a?i|=1:t>a&&(i|=2),n<-a?i|=4:n>a&&(i|=8),i}return Kr(a,(function(e){var t,l,s,c,u;return{lineStart:function(){c=s=!1,u=1},point:function(d,f){var h,p=[d,f],g=a(d,f),v=r?g?0:o(d,f):g?o(d+(d<0?Ae:-Ae),f):0;if(!t&&(c=s=g)&&e.lineStart(),g!==s&&(h=i(t,p),(Hr(t,h)||Hr(p,h))&&(p[0]+=Te,p[1]+=Te,g=a(p[0],p[1]))),g!==s)u=0,g?(e.lineStart(),h=i(p,t),e.point(h[0],h[1])):(h=i(t,p),e.point(h[0],h[1]),e.lineEnd()),t=h;else if(n&&t&&r^g){var m;v&l||!(m=i(p,t,!0))||(u=0,r?(e.lineStart(),e.point(m[0][0],m[0][1]),e.point(m[1][0],m[1][1]),e.lineEnd()):(e.point(m[1][0],m[1][1]),e.lineEnd(),e.lineStart(),e.point(m[0][0],m[0][1])))}!g||t&&Hr(t,p)||e.point(p[0],p[1]),t=p,s=g,l=v},lineEnd:function(){s&&e.lineEnd(),t=null},clean:function(){return u|(c&&s)<<1}}}),Bn(e,6*Ie),r?[0,-e]:[-Ae,e-Ae])}function an(e,t,r,n){return function(a){var i,o=a.a,l=a.b,s=o.x,c=o.y,u=0,d=1,f=l.x-s,h=l.y-c;if(i=e-s,f||!(i>0)){if(i/=f,f<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=r-s,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>u&&(u=i)}else if(f>0){if(i0)){if(i/=h,h<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=n-c,h||!(i<0)){if(i/=h,h<0){if(i>d)return;i>u&&(u=i)}else if(h>0){if(i0&&(a.a={x:s+u*f,y:c+u*h}),d<1&&(a.b={x:s+d*f,y:c+d*h}),a}}}}}}var on=1e9;function ln(e,r,n,a){function i(t,a){return y(t[0]-e)0?0:3:y(t[0]-n)0?2:1:y(t[1]-r)0?1:0:a>0?3:2}function o(e,t){return l(e.x,t.x)}function l(e,t){var r=i(e,1),n=i(t,1);return r!==n?r-n:0===r?t[1]-e[1]:1===r?e[0]-t[0]:2===r?e[1]-t[1]:t[0]-e[0]}return function(s){var c,u,d,f,h,p,g,v,m,y,x,b=s,_=en(),w=an(e,r,n,a),k={point:A,lineStart:function(){k.point=S,u&&u.push(d=[]);y=!0,m=!1,g=v=NaN},lineEnd:function(){c&&(S(f,h),p&&m&&_.rejoin(),c.push(_.buffer()));k.point=A,m&&s.lineEnd()},polygonStart:function(){s=_,c=[],u=[],x=!0},polygonEnd:function(){s=b,c=t.merge(c);var r=function(e){for(var t=0,r=u.length,n=e[1],a=0;an&&ze(c,i,e)>0&&++t:i[1]<=n&&ze(c,i,e)<0&&--t,c=i;return 0!==t}([e,a]),n=x&&r,i=c.length;(n||i)&&(s.polygonStart(),n&&(s.lineStart(),T(null,null,1,s),s.lineEnd()),i&&Xr(c,o,r,T,s),s.polygonEnd()),c=u=d=null}};function T(t,o,s,c){var u=0,d=0;if(null==t||(u=i(t,s))!==(d=i(o,s))||l(t,o)<0^s>0)do{c.point(0===u||3===u?e:n,u>1?a:r)}while((u=(u+s+4)%4)!==d);else c.point(o[0],o[1])}function M(t,i){return e<=t&&t<=n&&r<=i&&i<=a}function A(e,t){M(e,t)&&s.point(e,t)}function S(e,t){var r=M(e=Math.max(-1e9,Math.min(on,e)),t=Math.max(-1e9,Math.min(on,t)));if(u&&d.push([e,t]),y)f=e,h=t,p=r,y=!1,r&&(s.lineStart(),s.point(e,t));else if(r&&m)s.point(e,t);else{var n={a:{x:g,y:v},b:{x:e,y:t}};w(n)?(m||(s.lineStart(),s.point(n.a.x,n.a.y)),s.point(n.b.x,n.b.y),r||s.lineEnd(),x=!1):r&&(s.lineStart(),s.point(e,t),x=!1)}g=e,v=t,m=r}return k}}function sn(e){var t=0,r=Ae/3,n=zn(e),a=n(t,r);return a.parallels=function(e){return arguments.length?n(t=e[0]*Ae/180,r=e[1]*Ae/180):[t/Ae*180,r/Ae*180]},a}function cn(e,t){var r=Math.sin(e),n=(r+Math.sin(t))/2,a=1+r*(2*n-r),i=Math.sqrt(a)/n;function o(e,t){var r=Math.sqrt(a-2*n*Math.sin(t))/n;return[r*Math.sin(e*=n),i-r*Math.cos(e)]}return o.invert=function(e,t){var r=i-t;return[Math.atan2(e,r)/n,je((a-(e*e+r*r)*n*n)/(2*n))]},o}t.geo.clipExtent=function(){var e,t,r,n,a,i,o={stream:function(e){return a&&(a.valid=!1),(a=i(e)).valid=!0,a},extent:function(l){return arguments.length?(i=ln(e=+l[0][0],t=+l[0][1],r=+l[1][0],n=+l[1][1]),a&&(a.valid=!1,a=null),o):[[e,t],[r,n]]}};return o.extent([[0,0],[960,500]])},(t.geo.conicEqualArea=function(){return sn(cn)}).raw=cn,t.geo.albers=function(){return t.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},t.geo.albersUsa=function(){var e,r,n,a,i=t.geo.albers(),o=t.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=t.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),s={point:function(t,r){e=[t,r]}};function c(t){var i=t[0],o=t[1];return e=null,r(i,o),e||(n(i,o),e)||a(i,o),e}return c.invert=function(e){var t=i.scale(),r=i.translate(),n=(e[0]-r[0])/t,a=(e[1]-r[1])/t;return(a>=.12&&a<.234&&n>=-.425&&n<-.214?o:a>=.166&&a<.234&&n>=-.214&&n<-.115?l:i).invert(e)},c.stream=function(e){var t=i.stream(e),r=o.stream(e),n=l.stream(e);return{point:function(e,a){t.point(e,a),r.point(e,a),n.point(e,a)},sphere:function(){t.sphere(),r.sphere(),n.sphere()},lineStart:function(){t.lineStart(),r.lineStart(),n.lineStart()},lineEnd:function(){t.lineEnd(),r.lineEnd(),n.lineEnd()},polygonStart:function(){t.polygonStart(),r.polygonStart(),n.polygonStart()},polygonEnd:function(){t.polygonEnd(),r.polygonEnd(),n.polygonEnd()}}},c.precision=function(e){return arguments.length?(i.precision(e),o.precision(e),l.precision(e),c):i.precision()},c.scale=function(e){return arguments.length?(i.scale(e),o.scale(.35*e),l.scale(e),c.translate(i.translate())):i.scale()},c.translate=function(e){if(!arguments.length)return i.translate();var t=i.scale(),u=+e[0],d=+e[1];return r=i.translate(e).clipExtent([[u-.455*t,d-.238*t],[u+.455*t,d+.238*t]]).stream(s).point,n=o.translate([u-.307*t,d+.201*t]).clipExtent([[u-.425*t+Te,d+.12*t+Te],[u-.214*t-Te,d+.234*t-Te]]).stream(s).point,a=l.translate([u-.205*t,d+.212*t]).clipExtent([[u-.214*t+Te,d+.166*t+Te],[u-.115*t-Te,d+.234*t-Te]]).stream(s).point,c},c.scale(1070)};var un,dn,fn,hn,pn,gn,vn={point:P,lineStart:P,lineEnd:P,polygonStart:function(){dn=0,vn.lineStart=mn},polygonEnd:function(){vn.lineStart=vn.lineEnd=vn.point=P,un+=y(dn/2)}};function mn(){var e,t,r,n;function a(e,t){dn+=n*e-r*t,r=e,n=t}vn.point=function(i,o){vn.point=a,e=r=i,t=n=o},vn.lineEnd=function(){a(e,t)}}var yn={point:function(e,t){epn&&(pn=e);tgn&&(gn=t)},lineStart:P,lineEnd:P,polygonStart:P,polygonEnd:P};function xn(){var e=bn(4.5),t=[],r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=l},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(t){return e=bn(t),r},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function n(r,n){t.push("M",r,",",n,e)}function a(e,n){t.push("M",e,",",n),r.point=i}function i(e,r){t.push("L",e,",",r)}function o(){r.point=n}function l(){t.push("Z")}return r}function bn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var _n,wn={point:kn,lineStart:Tn,lineEnd:Mn,polygonStart:function(){wn.lineStart=An},polygonEnd:function(){wn.point=kn,wn.lineStart=Tn,wn.lineEnd=Mn}};function kn(e,t){_r+=e,wr+=t,++kr}function Tn(){var e,t;function r(r,n){var a=r-e,i=n-t,o=Math.sqrt(a*a+i*i);Tr+=o*(e+r)/2,Mr+=o*(t+n)/2,Ar+=o,kn(e=r,t=n)}wn.point=function(n,a){wn.point=r,kn(e=n,t=a)}}function Mn(){wn.point=kn}function An(){var e,t,r,n;function a(e,t){var a=e-r,i=t-n,o=Math.sqrt(a*a+i*i);Tr+=o*(r+e)/2,Mr+=o*(n+t)/2,Ar+=o,Sr+=(o=n*e-r*t)*(r+e),Lr+=o*(n+t),Cr+=3*o,kn(r=e,n=t)}wn.point=function(i,o){wn.point=a,kn(e=r=i,t=n=o)},wn.lineEnd=function(){a(e,t)}}function Sn(e){var t=4.5,r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=l},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(e){return t=e,r},result:P};function n(r,n){e.moveTo(r+t,n),e.arc(r,n,t,0,Se)}function a(t,n){e.moveTo(t,n),r.point=i}function i(t,r){e.lineTo(t,r)}function o(){r.point=n}function l(){e.closePath()}return r}function Ln(e){var t=.5,r=Math.cos(30*Ie),n=16;function a(e){return(n?o:i)(e)}function i(t){return On(t,(function(r,n){r=e(r,n),t.point(r[0],r[1])}))}function o(t){var r,a,i,o,s,c,u,d,f,h,p,g,v={point:m,lineStart:y,lineEnd:b,polygonStart:function(){t.polygonStart(),v.lineStart=_},polygonEnd:function(){t.polygonEnd(),v.lineStart=y}};function m(r,n){r=e(r,n),t.point(r[0],r[1])}function y(){d=NaN,v.point=x,t.lineStart()}function x(r,a){var i=zr([r,a]),o=e(r,a);l(d,f,u,h,p,g,d=o[0],f=o[1],u=r,h=i[0],p=i[1],g=i[2],n,t),t.point(d,f)}function b(){v.point=m,t.lineEnd()}function _(){y(),v.point=w,v.lineEnd=k}function w(e,t){x(r=e,t),a=d,i=f,o=h,s=p,c=g,v.point=x}function k(){l(d,f,u,h,p,g,a,i,r,o,s,c,n,t),v.lineEnd=b,b()}return v}function l(n,a,i,o,s,c,u,d,f,h,p,g,v,m){var x=u-n,b=d-a,_=x*x+b*b;if(_>4*t&&v--){var w=o+h,k=s+p,T=c+g,M=Math.sqrt(w*w+k*k+T*T),A=Math.asin(T/=M),S=y(y(T)-1)t||y((x*O+b*D)/_-.5)>.3||o*h+s*p+c*g0&&16,a):Math.sqrt(t)},a}function Cn(e){var t=Ln((function(t,r){return e([t*Oe,r*Oe])}));return function(e){return Pn(t(e))}}function In(e){this.stream=e}function On(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function Dn(e){return zn((function(){return e}))()}function zn(e){var r,n,a,i,o,l,s=Ln((function(e,t){return[(e=r(e,t))[0]*c+i,o-e[1]*c]})),c=150,u=480,d=250,f=0,h=0,p=0,g=0,v=0,m=rn,y=I,x=null,b=null;function _(e){return[(e=a(e[0]*Ie,e[1]*Ie))[0]*c+i,o-e[1]*c]}function w(e){return(e=a.invert((e[0]-i)/c,(o-e[1])/c))&&[e[0]*Oe,e[1]*Oe]}function k(){a=Zr(n=Rn(p,g,v),r);var e=r(f,h);return i=u-e[0]*c,o=d+e[1]*c,T()}function T(){return l&&(l.valid=!1,l=null),_}return _.stream=function(e){return l&&(l.valid=!1),(l=Pn(m(n,s(y(e))))).valid=!0,l},_.clipAngle=function(e){return arguments.length?(m=null==e?(x=e,rn):nn((x=+e)*Ie),T()):x},_.clipExtent=function(e){return arguments.length?(b=e,y=e?ln(e[0][0],e[0][1],e[1][0],e[1][1]):I,T()):b},_.scale=function(e){return arguments.length?(c=+e,k()):c},_.translate=function(e){return arguments.length?(u=+e[0],d=+e[1],k()):[u,d]},_.center=function(e){return arguments.length?(f=e[0]%360*Ie,h=e[1]%360*Ie,k()):[f*Oe,h*Oe]},_.rotate=function(e){return arguments.length?(p=e[0]%360*Ie,g=e[1]%360*Ie,v=e.length>2?e[2]%360*Ie:0,k()):[p*Oe,g*Oe,v*Oe]},t.rebind(_,s,"precision"),function(){return r=e.apply(this,arguments),_.invert=r.invert&&w,k()}}function Pn(e){return On(e,(function(t,r){e.point(t*Ie,r*Ie)}))}function jn(e,t){return[e,t]}function En(e,t){return[e>Ae?e-Se:e<-Ae?e+Se:e,t]}function Rn(e,t,r){return e?t||r?Zr(Fn(e),Hn(t,r)):Fn(e):t||r?Hn(t,r):En}function Nn(e){return function(t,r){return[(t+=e)>Ae?t-Se:t<-Ae?t+Se:t,r]}}function Fn(e){var t=Nn(e);return t.invert=Nn(-e),t}function Hn(e,t){var r=Math.cos(e),n=Math.sin(e),a=Math.cos(t),i=Math.sin(t);function o(e,t){var o=Math.cos(t),l=Math.cos(e)*o,s=Math.sin(e)*o,c=Math.sin(t),u=c*r+l*n;return[Math.atan2(s*a-u*i,l*r-c*n),je(u*a+s*i)]}return o.invert=function(e,t){var o=Math.cos(t),l=Math.cos(e)*o,s=Math.sin(e)*o,c=Math.sin(t),u=c*a-s*i;return[Math.atan2(s*a+c*i,l*r+u*n),je(u*r-l*n)]},o}function Bn(e,t){var r=Math.cos(e),n=Math.sin(e);return function(a,i,o,l){var s=o*t;null!=a?(a=Un(r,a),i=Un(r,i),(o>0?ai)&&(a+=o*Se)):(a=e+o*Se,i=e-.5*s);for(var c,u=a;o>0?u>i:u2?e[2]*Ie:0),t.invert=function(t){return(t=e.invert(t[0]*Ie,t[1]*Ie))[0]*=Oe,t[1]*=Oe,t},t},En.invert=jn,t.geo.circle=function(){var e,t,r=[0,0],n=6;function a(){var e="function"==typeof r?r.apply(this,arguments):r,n=Rn(-e[0]*Ie,-e[1]*Ie,0).invert,a=[];return t(null,null,1,{point:function(e,t){a.push(e=n(e,t)),e[0]*=Oe,e[1]*=Oe}}),{type:"Polygon",coordinates:[a]}}return a.origin=function(e){return arguments.length?(r=e,a):r},a.angle=function(r){return arguments.length?(t=Bn((e=+r)*Ie,n*Ie),a):e},a.precision=function(r){return arguments.length?(t=Bn(e*Ie,(n=+r)*Ie),a):n},a.angle(90)},t.geo.distance=function(e,t){var r,n=(t[0]-e[0])*Ie,a=e[1]*Ie,i=t[1]*Ie,o=Math.sin(n),l=Math.cos(n),s=Math.sin(a),c=Math.cos(a),u=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((r=d*o)*r+(r=c*u-s*d*l)*r),s*u+c*d*l)},t.geo.graticule=function(){var e,r,n,a,i,o,l,s,c,u,d,f,h=10,p=h,g=90,v=360,m=2.5;function x(){return{type:"MultiLineString",coordinates:b()}}function b(){return t.range(Math.ceil(a/g)*g,n,g).map(d).concat(t.range(Math.ceil(s/v)*v,l,v).map(f)).concat(t.range(Math.ceil(r/h)*h,e,h).filter((function(e){return y(e%g)>Te})).map(c)).concat(t.range(Math.ceil(o/p)*p,i,p).filter((function(e){return y(e%v)>Te})).map(u))}return x.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},x.outline=function(){return{type:"Polygon",coordinates:[d(a).concat(f(l).slice(1),d(n).reverse().slice(1),f(s).reverse().slice(1))]}},x.extent=function(e){return arguments.length?x.majorExtent(e).minorExtent(e):x.minorExtent()},x.majorExtent=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],s=+e[0][1],l=+e[1][1],a>n&&(e=a,a=n,n=e),s>l&&(e=s,s=l,l=e),x.precision(m)):[[a,s],[n,l]]},x.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],o=+t[0][1],i=+t[1][1],r>e&&(t=r,r=e,e=t),o>i&&(t=o,o=i,i=t),x.precision(m)):[[r,o],[e,i]]},x.step=function(e){return arguments.length?x.majorStep(e).minorStep(e):x.minorStep()},x.majorStep=function(e){return arguments.length?(g=+e[0],v=+e[1],x):[g,v]},x.minorStep=function(e){return arguments.length?(h=+e[0],p=+e[1],x):[h,p]},x.precision=function(t){return arguments.length?(m=+t,c=qn(o,i,90),u=Vn(r,e,m),d=qn(s,l,90),f=Vn(a,n,m),x):m},x.majorExtent([[-180,-90+Te],[180,90-Te]]).minorExtent([[-180,-80-Te],[180,80+Te]])},t.geo.greatArc=function(){var e,r,n=Yn,a=Gn;function i(){return{type:"LineString",coordinates:[e||n.apply(this,arguments),r||a.apply(this,arguments)]}}return i.distance=function(){return t.geo.distance(e||n.apply(this,arguments),r||a.apply(this,arguments))},i.source=function(t){return arguments.length?(n=t,e="function"==typeof t?null:t,i):n},i.target=function(e){return arguments.length?(a=e,r="function"==typeof e?null:e,i):a},i.precision=function(){return arguments.length?i:0},i},t.geo.interpolate=function(e,t){return r=e[0]*Ie,n=e[1]*Ie,a=t[0]*Ie,i=t[1]*Ie,o=Math.cos(n),l=Math.sin(n),s=Math.cos(i),c=Math.sin(i),u=o*Math.cos(r),d=o*Math.sin(r),f=s*Math.cos(a),h=s*Math.sin(a),p=2*Math.asin(Math.sqrt(Re(i-n)+o*s*Re(a-r))),g=1/Math.sin(p),(v=p?function(e){var t=Math.sin(e*=p)*g,r=Math.sin(p-e)*g,n=r*u+t*f,a=r*d+t*h,i=r*l+t*c;return[Math.atan2(a,n)*Oe,Math.atan2(i,Math.sqrt(n*n+a*a))*Oe]}:function(){return[r*Oe,n*Oe]}).distance=p,v;var r,n,a,i,o,l,s,c,u,d,f,h,p,g,v},t.geo.length=function(e){return _n=0,t.geo.stream(e,Zn),_n};var Zn={sphere:P,point:P,lineStart:function(){var e,t,r;function n(n,a){var i=Math.sin(a*=Ie),o=Math.cos(a),l=y((n*=Ie)-e),s=Math.cos(l);_n+=Math.atan2(Math.sqrt((l=o*Math.sin(l))*l+(l=r*i-t*o*s)*l),t*i+r*o*s),e=n,t=i,r=o}Zn.point=function(a,i){e=a*Ie,t=Math.sin(i*=Ie),r=Math.cos(i),Zn.point=n},Zn.lineEnd=function(){Zn.point=Zn.lineEnd=P}},lineEnd:P,polygonStart:P,polygonEnd:P};function Wn(e,t){function r(t,r){var n=Math.cos(t),a=Math.cos(r),i=e(n*a);return[i*a*Math.sin(t),i*Math.sin(r)]}return r.invert=function(e,r){var n=Math.sqrt(e*e+r*r),a=t(n),i=Math.sin(a),o=Math.cos(a);return[Math.atan2(e*i,n*o),Math.asin(n&&r*i/n)]},r}var Xn=Wn((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(t.geo.azimuthalEqualArea=function(){return Dn(Xn)}).raw=Xn;var Qn=Wn((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),I);function Jn(e,t){var r=Math.cos(e),n=function(e){return Math.tan(Ae/4+e/2)},a=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(n(t)/n(e)),i=r*Math.pow(n(e),a)/a;if(!a)return ea;function o(e,t){i>0?t<-Ce+Te&&(t=-Ce+Te):t>Ce-Te&&(t=Ce-Te);var r=i/Math.pow(n(t),a);return[r*Math.sin(a*e),i-r*Math.cos(a*e)]}return o.invert=function(e,t){var r=i-t,n=De(a)*Math.sqrt(e*e+r*r);return[Math.atan2(e,r)/a,2*Math.atan(Math.pow(i/n,1/a))-Ce]},o}function Kn(e,t){var r=Math.cos(e),n=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),a=r/n+e;if(y(n)1&&ze(e[r[n-2]],e[r[n-1]],e[a])<=0;)--n;r[n++]=a}return r.slice(0,n)}function sa(e,t){return e[0]-t[0]||e[1]-t[1]}(t.geo.stereographic=function(){return Dn(na)}).raw=na,aa.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ce]},(t.geo.transverseMercator=function(){var e=ta(aa),t=e.center,r=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?r([e[0],e[1],e.length>2?e[2]+90:90]):[(e=r())[0],e[1],e[2]-90]},r([0,0,90])}).raw=aa,t.geom={},t.geom.hull=function(e){var t=ia,r=oa;if(arguments.length)return n(e);function n(e){if(e.length<3)return[];var n,a=vt(t),i=vt(r),o=e.length,l=[],s=[];for(n=0;n=0;--n)h.push(e[l[c[n]][2]]);for(n=+d;nTe)l=l.L;else{if(!((a=i-Aa(l,o))>Te)){n>-Te?(t=l.P,r=l):a>-Te?(t=l,r=l.N):t=r=l;break}if(!l.R){t=l;break}l=l.R}var s=_a(e);if(ga.insert(t,s),t||r){if(t===r)return Oa(t),r=_a(t.site),ga.insert(s,r),s.edge=r.edge=Pa(t.site,s.site),Ia(t),void Ia(r);if(r){Oa(t),Oa(r);var c=t.site,u=c.x,d=c.y,f=e.x-u,h=e.y-d,p=r.site,g=p.x-u,v=p.y-d,m=2*(f*v-h*g),y=f*f+h*h,x=g*g+v*v,b={x:(v*y-h*x)/m+u,y:(f*x-g*y)/m+d};Ea(r.edge,c,p,b),s.edge=Pa(c,e,null,b),r.edge=Pa(e,p,null,b),Ia(t),Ia(r)}else s.edge=Pa(t.site,s.site)}}function Ma(e,t){var r=e.site,n=r.x,a=r.y,i=a-t;if(!i)return n;var o=e.P;if(!o)return-1/0;var l=(r=o.site).x,s=r.y,c=s-t;if(!c)return l;var u=l-n,d=1/i-1/c,f=u/c;return d?(-f+Math.sqrt(f*f-2*d*(u*u/(-2*c)-s+c/2+a-i/2)))/d+n:(n+l)/2}function Aa(e,t){var r=e.N;if(r)return Ma(r,t);var n=e.site;return n.y===t?n.x:1/0}function Sa(e){this.site=e,this.edges=[]}function La(e,t){return t.angle-e.angle}function Ca(){Fa(this),this.x=this.y=this.arc=this.site=this.cy=null}function Ia(e){var t=e.P,r=e.N;if(t&&r){var n=t.site,a=e.site,i=r.site;if(n!==i){var o=a.x,l=a.y,s=n.x-o,c=n.y-l,u=i.x-o,d=2*(s*(v=i.y-l)-c*u);if(!(d>=-Me)){var f=s*s+c*c,h=u*u+v*v,p=(v*f-c*h)/d,g=(s*h-u*f)/d,v=g+l,m=xa.pop()||new Ca;m.arc=e,m.site=a,m.x=p+o,m.y=v+Math.sqrt(p*p+g*g),m.cy=v,e.circle=m;for(var y=null,x=ma._;x;)if(m.y=l)return;if(f>p){if(i){if(i.y>=c)return}else i={x:v,y:s};r={x:v,y:c}}else{if(i){if(i.y1)if(f>p){if(i){if(i.y>=c)return}else i={x:(s-a)/n,y:s};r={x:(c-a)/n,y:c}}else{if(i){if(i.y=l)return}else i={x:o,y:n*o+a};r={x:l,y:n*l+a}}else{if(i){if(i.xTe||y(a-r)>Te)&&(l.splice(o,0,new Ra(ja(i.site,u,y(n-d)Te?{x:d,y:y(t-d)Te?{x:y(r-p)Te?{x:f,y:y(t-f)Te?{x:y(r-h)=r&&c.x<=a&&c.y>=n&&c.y<=o?[[r,o],[a,o],[a,n],[r,n]]:[]).point=e[l]})),t}function l(e){return e.map((function(e,t){return{x:Math.round(n(e,t)/Te)*Te,y:Math.round(a(e,t)/Te)*Te,i:t}}))}return o.links=function(e){return qa(l(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},o.triangles=function(e){var t=[];return qa(l(e)).cells.forEach((function(r,n){for(var a,i,o,l,s=r.site,c=r.edges.sort(La),u=-1,d=c.length,f=c[d-1].edge,h=f.l===s?f.r:f.l;++ui||d>o||f=_)<<1|t>=b,k=w+4;wi&&(a=t.slice(i,a),l[o]?l[o]+=a:l[++o]=a),(r=r[0])===(n=n[0])?l[o]?l[o]+=n:l[++o]=n:(l[++o]=null,s.push({i:o,x:Ka(r,n)})),i=ti.lastIndex;return ig&&(g=s.x),s.y>v&&(v=s.y),c.push(s.x),u.push(s.y);else for(d=0;dg&&(g=b),_>v&&(v=_),c.push(b),u.push(_)}var w=g-h,k=v-p;function T(e,t,r,n,a,i,o,l){if(!isNaN(r)&&!isNaN(n))if(e.leaf){var s=e.x,c=e.y;if(null!=s)if(y(s-r)+y(c-n)<.01)M(e,t,r,n,a,i,o,l);else{var u=e.point;e.x=e.y=e.point=null,M(e,u,s,c,a,i,o,l),M(e,t,r,n,a,i,o,l)}else e.x=r,e.y=n,e.point=t}else M(e,t,r,n,a,i,o,l)}function M(e,t,r,n,a,i,o,l){var s=.5*(a+o),c=.5*(i+l),u=r>=s,d=n>=c,f=d<<1|u;e.leaf=!1,u?a=s:o=s,d?i=c:l=c,T(e=e.nodes[f]||(e.nodes[f]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,r,n,a,i,o,l)}w>k?v=p+w:g=h+k;var A={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){T(A,e,+m(e,++d),+x(e,d),h,p,g,v)},visit:function(e){Wa(e,A,h,p,g,v)},find:function(e){return Xa(A,e[0],e[1],h,p,g,v)}};if(d=-1,null==t){for(;++d=0&&!(n=t.interpolators[a](e,r)););return n}function ni(e,t){var r,n=[],a=[],i=e.length,o=t.length,l=Math.min(e.length,t.length);for(r=0;r=1?1:e(t)}}function si(e){return function(t){return 1-e(1-t)}}function ci(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function ui(e){return e*e}function di(e){return e*e*e}function fi(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}function hi(e){return 1-Math.cos(e*Ce)}function pi(e){return Math.pow(2,10*(e-1))}function gi(e){return 1-Math.sqrt(1-e*e)}function vi(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function mi(e,t){return t-=e,function(r){return Math.round(e+t*r)}}function yi(e){var t,r,n,a=[e.a,e.b],i=[e.c,e.d],o=bi(a),l=xi(a,i),s=bi(((t=i)[0]+=(n=-l)*(r=a)[0],t[1]+=n*r[1],t))||0;a[0]*i[1]=0?e.slice(0,t):e,a=t>=0?e.slice(t+1):"in";return n=ii.get(n)||ai,li((a=oi.get(a)||I)(n.apply(null,r.call(arguments,1))))},t.interpolateHcl=function(e,r){e=t.hcl(e),r=t.hcl(r);var n=e.h,a=e.c,i=e.l,o=r.h-n,l=r.c-a,s=r.l-i;isNaN(l)&&(l=0,a=isNaN(a)?r.c:a);isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360);return function(e){return We(n+o*e,a+l*e,i+s*e)+""}},t.interpolateHsl=function(e,r){e=t.hsl(e),r=t.hsl(r);var n=e.h,a=e.s,i=e.l,o=r.h-n,l=r.s-a,s=r.l-i;isNaN(l)&&(l=0,a=isNaN(a)?r.s:a);isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360);return function(e){return Ye(n+o*e,a+l*e,i+s*e)+""}},t.interpolateLab=function(e,r){e=t.lab(e),r=t.lab(r);var n=e.l,a=e.a,i=e.b,o=r.l-n,l=r.a-a,s=r.b-i;return function(e){return et(n+o*e,a+l*e,i+s*e)+""}},t.interpolateRound=mi,t.transform=function(e){var r=a.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(e){if(null!=e){r.setAttribute("transform",e);var t=r.transform.baseVal.consolidate()}return new yi(t?t.matrix:_i)})(e)},yi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var _i={a:1,b:0,c:0,d:1,e:0,f:0};function wi(e){return e.length?e.pop()+",":""}function ki(e,r){var n=[],a=[];return e=t.transform(e),r=t.transform(r),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push("translate(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else(t[0]||t[1])&&r.push("translate("+t+")")}(e.translate,r.translate,n,a),function(e,t,r,n){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),n.push({i:r.push(wi(r)+"rotate(",null,")")-2,x:Ka(e,t)})):t&&r.push(wi(r)+"rotate("+t+")")}(e.rotate,r.rotate,n,a),function(e,t,r,n){e!==t?n.push({i:r.push(wi(r)+"skewX(",null,")")-2,x:Ka(e,t)}):t&&r.push(wi(r)+"skewX("+t+")")}(e.skew,r.skew,n,a),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push(wi(r)+"scale(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else 1===t[0]&&1===t[1]||r.push(wi(r)+"scale("+t+")")}(e.scale,r.scale,n,a),e=r=null,function(e){for(var t,r=-1,i=a.length;++r0?n=t:(e.c=null,e.t=NaN,e=null,s.end({type:"end",alpha:n=0})):t>0&&(s.start({type:"start",alpha:n=t}),e=Tt(l.tick)),l):n},l.start=function(){var e,t,r,n=m.length,s=y.length,u=c[0],p=c[1];for(e=0;e=0;)r.push(a[n])}function Ni(e,t){for(var r=[e],n=[];null!=(e=r.pop());)if(n.push(e),(i=e.children)&&(a=i.length))for(var a,i,o=-1;++o=0;)o.push(u=c[s]),u.parent=i,u.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(n,i,i.depth)||0),delete i.children;return Ni(a,(function(t){var n,a;e&&(n=t.children)&&n.sort(e),r&&(a=t.parent)&&(a.value+=t.value)})),l}return n.sort=function(t){return arguments.length?(e=t,n):e},n.children=function(e){return arguments.length?(t=e,n):t},n.value=function(e){return arguments.length?(r=e,n):r},n.revalue=function(e){return r&&(Ri(e,(function(e){e.children&&(e.value=0)})),Ni(e,(function(e){var t;e.children||(e.value=+r.call(n,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},n},t.layout.partition=function(){var e=t.layout.hierarchy(),r=[1,1];function n(e,t,r,a){var i=e.children;if(e.x=t,e.y=e.depth*a,e.dx=r,e.dy=a,i&&(o=i.length)){var o,l,s,c=-1;for(r=e.value?r/e.value:0;++cl&&(l=n),o.push(n)}for(r=0;ra&&(n=r,a=t);return n}function Ki(e){return e.reduce($i,0)}function $i(e,t){return e+t[1]}function eo(e,t){return to(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function to(e,t){for(var r=-1,n=+e[0],a=(e[1]-n)/t,i=[];++r<=t;)i[r]=a*r+n;return i}function ro(e){return[t.min(e),t.max(e)]}function no(e,t){return e.value-t.value}function ao(e,t){var r=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=r,r._pack_prev=t}function io(e,t){e._pack_next=t,t._pack_prev=e}function oo(e,t){var r=t.x-e.x,n=t.y-e.y,a=e.r+t.r;return.999*a*a>r*r+n*n}function lo(e){if((t=e.children)&&(s=t.length)){var t,r,n,a,i,o,l,s,c=1/0,u=-1/0,d=1/0,f=-1/0;if(t.forEach(so),(r=t[0]).x=-r.r,r.y=0,x(r),s>1&&((n=t[1]).x=n.r,n.y=0,x(n),s>2))for(fo(r,n,a=t[2]),x(a),ao(r,a),r._pack_prev=a,ao(a,n),n=r._pack_next,i=3;i0)for(o=-1;++o=d[0]&&s<=d[1]&&((l=c[t.bisect(f,s,1,p)-1]).y+=g,l.push(i[o]));return c}return i.value=function(e){return arguments.length?(r=e,i):r},i.range=function(e){return arguments.length?(n=vt(e),i):n},i.bins=function(e){return arguments.length?(a="number"==typeof e?function(t){return to(t,e)}:vt(e),i):a},i.frequency=function(t){return arguments.length?(e=!!t,i):e},i},t.layout.pack=function(){var e,r=t.layout.hierarchy().sort(no),n=0,a=[1,1];function i(t,i){var o=r.call(this,t,i),l=o[0],s=a[0],c=a[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(l.x=l.y=0,Ni(l,(function(e){e.r=+u(e.value)})),Ni(l,lo),n){var d=n*(e?1:Math.max(2*l.r/s,2*l.r/c))/2;Ni(l,(function(e){e.r+=d})),Ni(l,lo),Ni(l,(function(e){e.r-=d}))}return uo(l,s/2,c/2,e?1:1/Math.max(2*l.r/s,2*l.r/c)),o}return i.size=function(e){return arguments.length?(a=e,i):a},i.radius=function(t){return arguments.length?(e=null==t||"function"==typeof t?t:+t,i):e},i.padding=function(e){return arguments.length?(n=+e,i):n},Ei(i,r)},t.layout.tree=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=null;function i(t,i){var c=e.call(this,t,i),u=c[0],d=function(e){var t,r={A:null,children:[e]},n=[r];for(;null!=(t=n.pop());)for(var a,i=t.children,o=0,l=i.length;oh.x&&(h=e),e.depth>p.depth&&(p=e)}));var g=r(f,h)/2-f.x,v=n[0]/(h.x+r(h,f)/2+g),m=n[1]/(p.depth||1);Ri(u,(function(e){e.x=(e.x+g)*v,e.y=e.depth*m}))}return c}function o(e){var t=e.children,n=e.parent.children,a=e.i?n[e.i-1]:null;if(t.length){!function(e){var t,r=0,n=0,a=e.children,i=a.length;for(;--i>=0;)(t=a[i]).z+=r,t.m+=r,r+=t.s+(n+=t.c)}(e);var i=(t[0].z+t[t.length-1].z)/2;a?(e.z=a.z+r(e._,a._),e.m=e.z-i):e.z=i}else a&&(e.z=a.z+r(e._,a._));e.parent.A=function(e,t,n){if(t){for(var a,i=e,o=e,l=t,s=i.parent.children[0],c=i.m,u=o.m,d=l.m,f=s.m;l=go(l),i=po(i),l&&i;)s=po(s),(o=go(o)).a=e,(a=l.z+d-i.z-c+r(l._,i._))>0&&(vo(mo(l,e,n),e,a),c+=a,u+=a),d+=l.m,c+=i.m,f+=s.m,u+=o.m;l&&!go(o)&&(o.t=l,o.m+=d-u),i&&!po(s)&&(s.t=i,s.m+=c-f,n=e)}return n}(e,a,e.parent.A||n[0])}function l(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function s(e){e.x*=n[0],e.y=e.depth*n[1]}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e)?s:null,i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null==(n=e)?null:s,i):a?n:null},Ei(i,e)},t.layout.cluster=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=!1;function i(i,o){var l,s=e.call(this,i,o),c=s[0],u=0;Ni(c,(function(e){var n=e.children;n&&n.length?(e.x=function(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}(n),e.y=function(e){return 1+t.max(e,(function(e){return e.y}))}(n)):(e.x=l?u+=r(e,l):0,e.y=0,l=e)}));var d=yo(c),f=xo(c),h=d.x-r(d,f)/2,p=f.x+r(f,d)/2;return Ni(c,a?function(e){e.x=(e.x-c.x)*n[0],e.y=(c.y-e.y)*n[1]}:function(e){e.x=(e.x-h)/(p-h)*n[0],e.y=(1-(c.y?e.y/c.y:1))*n[1]}),s}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e),i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null!=(n=e),i):a?n:null},Ei(i,e)},t.layout.treemap=function(){var e,r=t.layout.hierarchy(),n=Math.round,a=[1,1],i=null,o=bo,l=!1,s="squarify",c=.5*(1+Math.sqrt(5));function u(e,t){for(var r,n,a=-1,i=e.length;++a0;)l.push(r=c[a-1]),l.area+=r.area,"squarify"!==s||(n=h(l,g))<=f?(c.pop(),f=n):(l.area-=l.pop().area,p(l,g,i,!1),g=Math.min(i.dx,i.dy),l.length=l.area=0,f=1/0);l.length&&(p(l,g,i,!0),l.length=l.area=0),t.forEach(d)}}function f(e){var t=e.children;if(t&&t.length){var r,n=o(e),a=t.slice(),i=[];for(u(a,n.dx*n.dy/e.value),i.area=0;r=a.pop();)i.push(r),i.area+=r.area,null!=r.z&&(p(i,r.z?n.dx:n.dy,n,!a.length),i.length=i.area=0);t.forEach(f)}}function h(e,t){for(var r,n=e.area,a=0,i=1/0,o=-1,l=e.length;++oa&&(a=r));return t*=t,(n*=n)?Math.max(t*a*c/n,n/(t*i*c)):1/0}function p(e,t,r,a){var i,o=-1,l=e.length,s=r.x,c=r.y,u=t?n(e.area/t):0;if(t==r.dx){for((a||u>r.dy)&&(u=r.dy);++or.dx)&&(u=r.dx);++o1);return e+t*r*Math.sqrt(-2*Math.log(a)/a)}},logNormal:function(){var e=t.random.normal.apply(t,arguments);return function(){return Math.exp(e())}},bates:function(e){var r=t.random.irwinHall(e);return function(){return r()/e}},irwinHall:function(e){return function(){for(var t=0,r=0;r2?Lo:To,s=n?Mi:Ti;return a=o(e,t,s,r),i=o(t,e,s,ri),l}function l(e){return a(e)}return l.invert=function(e){return i(e)},l.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},l.range=function(e){return arguments.length?(t=e,o()):t},l.rangeRound=function(e){return l.range(e).interpolate(mi)},l.clamp=function(e){return arguments.length?(n=e,o()):n},l.interpolate=function(e){return arguments.length?(r=e,o()):r},l.ticks=function(t){return zo(e,t)},l.tickFormat=function(t,r){return Po(e,t,r)},l.nice=function(t){return Oo(e,t),o()},l.copy=function(){return Co(e,t,r,n)},o()}function Io(e,r){return t.rebind(e,r,"range","rangeRound","interpolate","clamp")}function Oo(e,t){return Mo(e,Ao(Do(e,t)[2])),Mo(e,Ao(Do(e,t)[2])),e}function Do(e,t){null==t&&(t=10);var r=wo(e),n=r[1]-r[0],a=Math.pow(10,Math.floor(Math.log(n/t)/Math.LN10)),i=t/n*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),r[0]=Math.ceil(r[0]/a)*a,r[1]=Math.floor(r[1]/a)*a+.5*a,r[2]=a,r}function zo(e,r){return t.range.apply(t,Do(e,r))}function Po(e,r,n){var a=Do(e,r);if(n){var i=Ot.exec(n);if(i.shift(),"s"===i[8]){var o=t.formatPrefix(Math.max(y(a[0]),y(a[1])));return i[7]||(i[7]="."+Eo(o.scale(a[2]))),i[8]="f",n=t.format(i.join("")),function(e){return n(o.scale(e))+o.symbol}}i[7]||(i[7]="."+function(e,t){var r=Eo(t[2]);return e in jo?Math.abs(r-Eo(Math.max(y(t[0]),y(t[1]))))+ +("e"!==e):r-2*("%"===e)}(i[8],a)),n=i.join("")}else n=",."+Eo(a[2])+"f";return t.format(n)}t.scale.linear=function(){return Co([0,1],[0,1],ri,!1)};var jo={s:1,g:1,p:1,r:1,e:1};function Eo(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function Ro(e,r,n,a){function i(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(r)}function o(e){return n?Math.pow(r,e):-Math.pow(r,-e)}function l(t){return e(i(t))}return l.invert=function(t){return o(e.invert(t))},l.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((a=t.map(Number)).map(i)),l):a},l.base=function(t){return arguments.length?(r=+t,e.domain(a.map(i)),l):r},l.nice=function(){var t=Mo(a.map(i),n?Math:Fo);return e.domain(t),a=t.map(o),l},l.ticks=function(){var e=wo(a),t=[],l=e[0],s=e[1],c=Math.floor(i(l)),u=Math.ceil(i(s)),d=r%1?2:r;if(isFinite(u-c)){if(n){for(;c0;f--)t.push(o(c)*f);for(c=0;t[c]s;u--);t=t.slice(c,u)}return t},l.tickFormat=function(e,n){if(!arguments.length)return No;arguments.length<2?n=No:"function"!=typeof n&&(n=t.format(n));var a=Math.max(1,r*e/l.ticks().length);return function(e){var t=e/o(Math.round(i(e)));return t*r0?n[t-1]:e[0],td?0:1;if(c=Le)return s(c,h)+(l?s(l,1-h):"")+"Z";var p,g,v,m,y,x,b,_,w,k,T,M,A=0,S=0,L=[];if((m=(+o.apply(this,arguments)||0)/2)&&(v=n===Ko?Math.sqrt(l*l+c*c):+n.apply(this,arguments),h||(S*=-1),c&&(S=je(v/c*Math.sin(m))),l&&(A=je(v/l*Math.sin(m)))),c){y=c*Math.cos(u+S),x=c*Math.sin(u+S),b=c*Math.cos(d-S),_=c*Math.sin(d-S);var C=Math.abs(d-u-2*S)<=Ae?0:1;if(S&&al(y,x,b,_)===h^C){var I=(u+d)/2;y=c*Math.cos(I),x=c*Math.sin(I),b=_=null}}else y=x=0;if(l){w=l*Math.cos(d-A),k=l*Math.sin(d-A),T=l*Math.cos(u+A),M=l*Math.sin(u+A);var O=Math.abs(u-d+2*A)<=Ae?0:1;if(A&&al(w,k,T,M)===1-h^O){var D=(u+d)/2;w=l*Math.cos(D),k=l*Math.sin(D),T=M=null}}else w=k=0;if(f>Te&&(p=Math.min(Math.abs(c-l)/2,+r.apply(this,arguments)))>.001){g=l0?0:1}function il(e,t,r,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=(a?n:-n)/Math.sqrt(i*i+o*o),s=l*o,c=-l*i,u=e[0]+s,d=e[1]+c,f=t[0]+s,h=t[1]+c,p=(u+f)/2,g=(d+h)/2,v=f-u,m=h-d,y=v*v+m*m,x=r-n,b=u*h-f*d,_=(m<0?-1:1)*Math.sqrt(Math.max(0,x*x*y-b*b)),w=(b*m-v*_)/y,k=(-b*v-m*_)/y,T=(b*m+v*_)/y,M=(-b*v+m*_)/y,A=w-p,S=k-g,L=T-p,C=M-g;return A*A+S*S>L*L+C*C&&(w=T,k=M),[[w-s,k-c],[w*r/x,k*r/x]]}function ol(e){var t=ia,r=oa,n=Wr,a=sl,i=a.key,o=.7;function l(i){var l,s=[],c=[],u=-1,d=i.length,f=vt(t),h=vt(r);function p(){s.push("M",a(e(c),o))}for(;++u1&&a.push("H",n[0]);return a.join("")},"step-before":ul,"step-after":dl,basis:pl,"basis-open":function(e){if(e.length<4)return sl(e);var t,r=[],n=-1,a=e.length,i=[0],o=[0];for(;++n<3;)t=e[n],i.push(t[0]),o.push(t[1]);r.push(gl(yl,i)+","+gl(yl,o)),--n;for(;++n9&&(a=3*t/Math.sqrt(a),o[l]=a*r,o[l+1]=a*n);l=-1;for(;++l<=s;)a=(e[Math.min(s,l+1)][0]-e[Math.max(0,l-1)][0])/(6*(1+o[l]*o[l])),i.push([a||0,o[l]*a||0]);return i}(e))}});function sl(e){return e.length>1?e.join("L"):e+"Z"}function cl(e){return e.join("L")+"Z"}function ul(e){for(var t=0,r=e.length,n=e[0],a=[n[0],",",n[1]];++t1){l=t[1],i=e[s],s++,n+="C"+(a[0]+o[0])+","+(a[1]+o[1])+","+(i[0]-l[0])+","+(i[1]-l[1])+","+i[0]+","+i[1];for(var c=2;cAe)+",1 "+t}function s(e,t,r,n){return"Q 0,0 "+n}return i.radius=function(e){return arguments.length?(r=vt(e),i):r},i.source=function(t){return arguments.length?(e=vt(t),i):e},i.target=function(e){return arguments.length?(t=vt(e),i):t},i.startAngle=function(e){return arguments.length?(n=vt(e),i):n},i.endAngle=function(e){return arguments.length?(a=vt(e),i):a},i},t.svg.diagonal=function(){var e=Yn,t=Gn,r=Tl;function n(n,a){var i=e.call(this,n,a),o=t.call(this,n,a),l=(i.y+o.y)/2,s=[i,{x:i.x,y:l},{x:o.x,y:l},o];return"M"+(s=s.map(r))[0]+"C"+s[1]+" "+s[2]+" "+s[3]}return n.source=function(t){return arguments.length?(e=vt(t),n):e},n.target=function(e){return arguments.length?(t=vt(e),n):t},n.projection=function(e){return arguments.length?(r=e,n):r},n},t.svg.diagonal.radial=function(){var e=t.svg.diagonal(),r=Tl,n=e.projection;return e.projection=function(e){return arguments.length?n(Ml(r=e)):r},e},t.svg.symbol=function(){var e=Sl,t=Al;function r(r,n){return(Cl.get(e.call(this,r,n))||Ll)(t.call(this,r,n))}return r.type=function(t){return arguments.length?(e=vt(t),r):e},r.size=function(e){return arguments.length?(t=vt(e),r):t},r};var Cl=t.map({circle:Ll,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Ol)),r=t*Ol;return"M0,"+-t+"L"+r+",0 0,"+t+" "+-r+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Il),r=t*Il/2;return"M0,"+r+"L"+t+","+-r+" "+-t+","+-r+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Il),r=t*Il/2;return"M0,"+-r+"L"+t+","+r+" "+-t+","+r+"Z"}});t.svg.symbolTypes=Cl.keys();var Il=Math.sqrt(3),Ol=Math.tan(30*Ie);G.transition=function(e){for(var t,r,n=jl||++Nl,a=Bl(e),i=[],o=El||{time:Date.now(),ease:fi,delay:0,duration:250},l=-1,s=this.length;++l0;)c[--f].call(e,o);if(i>=1)return d.event&&d.event.end.call(e,e.__data__,t),--u.count?delete u[n]:delete e[r],1}d||(i=a.time,o=Tt((function(e){var t=d.delay;if(o.t=t+i,t<=e)return f(e-t);o.c=f}),0,i),d=u[n]={tween:new _,time:i,timer:o,delay:a.delay,duration:a.duration,ease:a.ease,index:t},a=null,++u.count)}Rl.call=G.call,Rl.empty=G.empty,Rl.node=G.node,Rl.size=G.size,t.transition=function(e,r){return e&&e.transition?jl?e.transition(r):e:t.selection().transition(e)},t.transition.prototype=Rl,Rl.select=function(e){var t,r,n,a=this.id,i=this.namespace,o=[];e=Z(e);for(var l=-1,s=this.length;++lrect,.s>rect").attr("width",l[1]-l[0])}function g(e){e.select(".extent").attr("y",s[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",s[1]-s[0])}function v(){var d,v,m=this,y=t.select(t.event.target),x=n.of(m,arguments),b=t.select(m),_=y.datum(),w=!/^(n|s)$/.test(_)&&a,k=!/^(e|w)$/.test(_)&&i,T=y.classed("extent"),M=be(m),A=t.mouse(m),S=t.select(o(m)).on("keydown.brush",I).on("keyup.brush",O);if(t.event.changedTouches?S.on("touchmove.brush",D).on("touchend.brush",P):S.on("mousemove.brush",D).on("mouseup.brush",P),b.interrupt().selectAll("*").interrupt(),T)A[0]=l[0]-A[0],A[1]=s[0]-A[1];else if(_){var L=+/w$/.test(_),C=+/^n/.test(_);v=[l[1-L]-A[0],s[1-C]-A[1]],A[0]=l[L],A[1]=s[C]}else t.event.altKey&&(d=A.slice());function I(){32==t.event.keyCode&&(T||(d=null,A[0]-=l[1],A[1]-=s[1],T=2),R())}function O(){32==t.event.keyCode&&2==T&&(A[0]+=l[1],A[1]+=s[1],T=0,R())}function D(){var e=t.mouse(m),r=!1;v&&(e[0]+=v[0],e[1]+=v[1]),T||(t.event.altKey?(d||(d=[(l[0]+l[1])/2,(s[0]+s[1])/2]),A[0]=l[+(e[0]1?{floor:function(t){for(;l(t=e.floor(t));)t=es(t-1);return t},ceil:function(t){for(;l(t=e.ceil(t));)t=es(+t+1);return t}}:e))},a.ticks=function(e,t){var r=wo(a.domain()),n=null==e?i(r,10):"number"==typeof e?i(r,e):!e.range&&[{range:e},t];return n&&(e=n[0],t=n[1]),e.range(r[0],es(+r[1]+1),t<1?1:t)},a.tickFormat=function(){return n},a.copy=function(){return $l(e.copy(),r,n)},Io(a,e)}function es(e){return new Date(e)}Xl.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Kl:Jl,Kl.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Kl.toString=Jl.toString,Pt.second=Nt((function(e){return new jt(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),Pt.seconds=Pt.second.range,Pt.seconds.utc=Pt.second.utc.range,Pt.minute=Nt((function(e){return new jt(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),Pt.minutes=Pt.minute.range,Pt.minutes.utc=Pt.minute.utc.range,Pt.hour=Nt((function(e){var t=e.getTimezoneOffset()/60;return new jt(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),Pt.hours=Pt.hour.range,Pt.hours.utc=Pt.hour.utc.range,Pt.month=Nt((function(e){return(e=Pt.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),Pt.months=Pt.month.range,Pt.months.utc=Pt.month.utc.range;var ts=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],rs=[[Pt.second,1],[Pt.second,5],[Pt.second,15],[Pt.second,30],[Pt.minute,1],[Pt.minute,5],[Pt.minute,15],[Pt.minute,30],[Pt.hour,1],[Pt.hour,3],[Pt.hour,6],[Pt.hour,12],[Pt.day,1],[Pt.day,2],[Pt.week,1],[Pt.month,1],[Pt.month,3],[Pt.year,1]],ns=Xl.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",Wr]]),as={range:function(e,r,n){return t.range(Math.ceil(e/n)*n,+r,n).map(es)},floor:I,ceil:I};rs.year=Pt.year,Pt.scale=function(){return $l(t.scale.linear(),rs,ns)};var is=rs.map((function(e){return[e[0].utc,e[1]]})),os=Ql.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",Wr]]);function ls(e){return JSON.parse(e.responseText)}function ss(e){var t=a.createRange();return t.selectNode(a.body),t.createContextualFragment(e.responseText)}is.year=Pt.year.utc,Pt.scale.utc=function(){return $l(t.scale.linear(),is,os)},t.text=mt((function(e){return e.responseText})),t.json=function(e,t){return yt(e,"application/json",ls,t)},t.html=function(e,t){return yt(e,"text/html",ss,t)},t.xml=mt((function(e){return e.responseXML})),"function"==typeof define&&define.amd?(this.d3=t,define(t)):e.exports?e.exports=t:this.d3=t}()})),i.register("6jof9",(function(e,r){t(e.exports,"utcFormat",(()=>o)),t(e.exports,"timeFormat",(()=>a));var n,a,o,l,s=i("1Zeei");l={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"]},n=s.default(l),a=n.format,n.parse,o=n.utcFormat,n.utcParse})),i.register("1Zeei",(function(e,r){t(e.exports,"default",(()=>h));var n=i("4kVgh"),a=i("7iI8g"),o=i("4RR5X"),l=i("6xy94"),s=i("1GweQ"),c=i("3r5Rv");function u(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 d(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 f(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function h(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,c=e.days,h=e.shortDays,g=e.months,v=e.shortMonths,m=b(i),y=_(i),x=b(c),$=_(c),xe=b(h),Oe=_(h),De=b(g),ze=_(g),Pe=b(v),je=_(v),Ee={a:function(e){return h[e.getDay()]},A:function(e){return c[e.getDay()]},b:function(e){return v[e.getMonth()]},B:function(e){return g[e.getMonth()]},c:null,d:U,e:U,f:Z,g:ae,G:oe,H:q,I:V,j:Y,L:G,m:W,M:X,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Ce,s:Ie,S:Q,u:J,U:K,V:ee,w:te,W:re,x:null,X:null,y:ne,Y:ie,Z:le,"%":Le},Re={a:function(e){return h[e.getUTCDay()]},A:function(e){return c[e.getUTCDay()]},b:function(e){return v[e.getUTCMonth()]},B:function(e){return g[e.getUTCMonth()]},c:null,d:se,e:se,f:he,g:Te,G:Ae,H:ce,I:ue,j:de,L:fe,m:pe,M:ge,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Ce,s:Ie,S:ve,u:me,U:ye,V:be,w:_e,W:we,x:null,X:null,y:ke,Y:Me,Z:Se,"%":Le},Ne={a:function(e,t,r){var n=xe.exec(t.slice(r));return n?(e.w=Oe[n[0].toLowerCase()],r+n[0].length):-1},A:function(e,t,r){var n=x.exec(t.slice(r));return n?(e.w=$[n[0].toLowerCase()],r+n[0].length):-1},b:function(e,t,r){var n=Pe.exec(t.slice(r));return n?(e.m=je[n[0].toLowerCase()],r+n[0].length):-1},B:function(e,t,r){var n=De.exec(t.slice(r));return n?(e.m=ze[n[0].toLowerCase()],r+n[0].length):-1},c:function(e,r,n){return Be(e,t,r,n)},d:D,e:D,f:N,g:L,G:S,H:P,I:P,j:z,L:R,m:O,M:j,p:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.p=y[n[0].toLowerCase()],r+n[0].length):-1},q:I,Q:H,s:B,S:E,u:k,U:T,V:M,w:w,W:A,x:function(e,t,n){return Be(e,r,t,n)},X:function(e,t,r){return Be(e,n,t,r)},y:L,Y:S,Z:C,"%":F};function Fe(e,t){return function(r){var n,a,i,o=[],l=-1,s=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++l53)return null;"w"in c||(c.w=1),"Z"in c?(i=(n=d(f(c.y,0,1))).getUTCDay(),n=i>4||0===i?o.utcMonday.ceil(n):o.utcMonday(n),n=s.default.offset(n,7*(c.V-1)),c.y=n.getUTCFullYear(),c.m=n.getUTCMonth(),c.d=n.getUTCDate()+(c.w+6)%7):(i=(n=u(f(c.y,0,1))).getDay(),n=i>4||0===i?a.monday.ceil(n):a.monday(n),n=l.default.offset(n,7*(c.V-1)),c.y=n.getFullYear(),c.m=n.getMonth(),c.d=n.getDate()+(c.w+6)%7)}else("W"in c||"U"in c)&&("w"in c||(c.w="u"in c?c.u%7:"W"in c?1:0),i="Z"in c?d(f(c.y,0,1)).getUTCDay():u(f(c.y,0,1)).getDay(),c.m=0,c.d="W"in c?(c.w+6)%7+7*c.W-(i+5)%7:c.w+7*c.U-(i+6)%7);return"Z"in c?(c.H+=c.Z/100|0,c.M+=c.Z%100,d(c)):u(c)}}function Be(e,t,r,n){for(var a,i,o=0,l=t.length,s=r.length;o=s)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=Ne[a in p?t.charAt(o++):a])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}return Ee.x=Fe(r,Ee),Ee.X=Fe(n,Ee),Ee.c=Fe(t,Ee),Re.x=Fe(r,Re),Re.X=Fe(n,Re),Re.c=Fe(t,Re),{format:function(e){var t=Fe(e+="",Ee);return t.toString=function(){return e},t},parse:function(e){var t=He(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=Fe(e+="",Re);return t.toString=function(){return e},t},utcParse:function(e){var t=He(e+="",!0);return t.toString=function(){return e},t}}}var p={"-":"",_:" ",0:"0"},g=/^\s*\d+/,v=/^%/,m=/[\\^$*+?|[\]().{}]/g;function y(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+n[0].length):-1}function C(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function I(e,t,r){var n=g.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function O(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function D(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function z(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function P(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function j(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function E(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function R(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function N(e,t,r){var n=g.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function F(e,t,r){var n=v.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function H(e,t,r){var n=g.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function B(e,t,r){var n=g.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function U(e,t){return y(e.getDate(),t,2)}function q(e,t){return y(e.getHours(),t,2)}function V(e,t){return y(e.getHours()%12||12,t,2)}function Y(e,t){return y(1+l.default.count(n.default(e),e),t,3)}function G(e,t){return y(e.getMilliseconds(),t,3)}function Z(e,t){return G(e,t)+"000"}function W(e,t){return y(e.getMonth()+1,t,2)}function X(e,t){return y(e.getMinutes(),t,2)}function Q(e,t){return y(e.getSeconds(),t,2)}function J(e){var t=e.getDay();return 0===t?7:t}function K(e,t){return y(a.sunday.count(n.default(e)-1,e),t,2)}function $(e){var t=e.getDay();return t>=4||0===t?a.thursday(e):a.thursday.ceil(e)}function ee(e,t){return e=$(e),y(a.thursday.count(n.default(e),e)+(4===n.default(e).getDay()),t,2)}function te(e){return e.getDay()}function re(e,t){return y(a.monday.count(n.default(e)-1,e),t,2)}function ne(e,t){return y(e.getFullYear()%100,t,2)}function ae(e,t){return y((e=$(e)).getFullYear()%100,t,2)}function ie(e,t){return y(e.getFullYear()%1e4,t,4)}function oe(e,t){var r=e.getDay();return y((e=r>=4||0===r?a.thursday(e):a.thursday.ceil(e)).getFullYear()%1e4,t,4)}function le(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+y(t/60|0,"0",2)+y(t%60,"0",2)}function se(e,t){return y(e.getUTCDate(),t,2)}function ce(e,t){return y(e.getUTCHours(),t,2)}function ue(e,t){return y(e.getUTCHours()%12||12,t,2)}function de(e,t){return y(1+s.default.count(c.default(e),e),t,3)}function fe(e,t){return y(e.getUTCMilliseconds(),t,3)}function he(e,t){return fe(e,t)+"000"}function pe(e,t){return y(e.getUTCMonth()+1,t,2)}function ge(e,t){return y(e.getUTCMinutes(),t,2)}function ve(e,t){return y(e.getUTCSeconds(),t,2)}function me(e){var t=e.getUTCDay();return 0===t?7:t}function ye(e,t){return y(o.utcSunday.count(c.default(e)-1,e),t,2)}function xe(e){var t=e.getUTCDay();return t>=4||0===t?o.utcThursday(e):o.utcThursday.ceil(e)}function be(e,t){return e=xe(e),y(o.utcThursday.count(c.default(e),e)+(4===c.default(e).getUTCDay()),t,2)}function _e(e){return e.getUTCDay()}function we(e,t){return y(o.utcMonday.count(c.default(e)-1,e),t,2)}function ke(e,t){return y(e.getUTCFullYear()%100,t,2)}function Te(e,t){return y((e=xe(e)).getUTCFullYear()%100,t,2)}function Me(e,t){return y(e.getUTCFullYear()%1e4,t,4)}function Ae(e,t){var r=e.getUTCDay();return y((e=r>=4||0===r?o.utcThursday(e):o.utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function Se(){return"+0000"}function Le(){return"%"}function Ce(e){return+e}function Ie(e){return Math.floor(+e/1e3)}})),i.register("6xy94",(function(e,r){t(e.exports,"default",(()=>l));var n=i("4YTe1"),a=i("423HX"),o=n.default((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())*a.durationMinute)/a.durationDay}),(function(e){return e.getDate()-1})),l=o;o.range})),i.register("4YTe1",(function(e,r){t(e.exports,"default",(()=>i));var n=new Date,a=new Date;function i(e,t,r,o){function l(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return l.floor=function(t){return e(t=new Date(+t)),t},l.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},l.round=function(e){var t=l(e),r=l.ceil(e);return e-t0))return o;do{o.push(i=new Date(+r)),t(r,a),e(r)}while(i=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(l.count=function(t,i){return n.setTime(+t),a.setTime(+i),e(n),e(a),Math.floor(r(n,a))},l.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?l.filter(o?function(t){return o(t)%e==0}:function(t){return l.count(0,t)%e==0}):l:null}),l}})),i.register("423HX",(function(e,r){t(e.exports,"durationWeek",(()=>i)),t(e.exports,"durationDay",(()=>a)),t(e.exports,"durationMinute",(()=>n));var n=6e4,a=864e5,i=6048e5})),i.register("7iI8g",(function(e,r){t(e.exports,"monday",(()=>s)),t(e.exports,"sunday",(()=>l)),t(e.exports,"thursday",(()=>d));var n=i("4YTe1"),a=i("423HX");function o(e){return n.default((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())*a.durationMinute)/a.durationWeek}))}var l=o(0),s=o(1),c=o(2),u=o(3),d=o(4),f=o(5),h=o(6);l.range,s.range,c.range,u.range,d.range,f.range,h.range})),i.register("4kVgh",(function(e,r){t(e.exports,"default",(()=>o));var n=i("4YTe1"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var o=a;a.range})),i.register("1GweQ",(function(e,r){t(e.exports,"default",(()=>l));var n=i("4YTe1"),a=i("423HX"),o=n.default((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/a.durationDay}),(function(e){return e.getUTCDate()-1})),l=o;o.range})),i.register("4RR5X",(function(e,r){t(e.exports,"utcSunday",(()=>l)),t(e.exports,"utcThursday",(()=>d)),t(e.exports,"utcMonday",(()=>s));var n=i("4YTe1"),a=i("423HX");function o(e){return n.default((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)/a.durationWeek}))}var l=o(0),s=o(1),c=o(2),u=o(3),d=o(4),f=o(5),h=o(6);l.range,s.range,c.range,u.range,d.range,f.range,h.range})),i.register("3r5Rv",(function(e,r){t(e.exports,"default",(()=>o));var n=i("4YTe1"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var o=a;a.range})),i.register("6qr5h",(function(e,t){"use strict";var r=i("3d0NJ");e.exports=function(e){var t=typeof e;if("string"===t){var n=e;if(0===(e=+e)&&r(n))return!1}else if("number"!==t)return!1;return e-e<1}})),i.register("3d0NJ",(function(e,t){"use strict";e.exports=function(e){for(var t,r=e.length,n=0;n13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}})),i.register("10TEj",(function(e,t){"use strict";e.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"โˆ’"}})),i.register("2Tkfd",(function(e,t){"use strict";var r=i("6qr5h"),n=i("1nElS").isArrayOrTypedArray;function a(e,t){return function(){var r,i,o,l,s,c=e;for(l=0;la),(e=>a=e)),t(e.exports,"maxRowLength",(()=>i),(e=>i=e)),t(e.exports,"minRowLength",(()=>o),(e=>o=e)),t(e.exports,"isArrayOrTypedArray",(()=>n),(e=>n=e)),t(e.exports,"ensureArray",(()=>s),(e=>s=e)),t(e.exports,"isArray1D",(()=>l),(e=>l=e)),t(e.exports,"concat",(()=>c),(e=>c=e));var u=Array.isArray,d="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}},f="undefined"==typeof DataView?function(){}:DataView;function h(e){return d.isView(e)&&!(e instanceof f)}function p(e){return u(e)||h(e)}function g(e,t,r){if(p(e)){if(p(e[0])){for(var n=r,a=0;a2)return c[t]=2|c[t],f.set(e,null);if(d){for(o=t;o0)return Math.log(e)/Math.LN10;var n=Math.log(Math.min(t[0],t[1]))/Math.LN10;return r(n)||(n=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),n}})),i.register("CXorH",(function(e,t){"use strict";var r=i("1nElS").isArrayOrTypedArray,n=i("2bwwe");e.exports=function e(t,a){for(var i in a){var o=a[i],l=t[i];if(l!==o)if("_"===i.charAt(0)||"function"==typeof o){if(i in t)continue;t[i]=o}else if(r(o)&&r(l)&&n(o[0])){if("customdata"===i||"ids"===i)continue;for(var s=Math.min(o.length,l.length),c=0;ct/2?e-Math.round(e/t)*t:e}}})),i.register("2YEcf",(function(e,r){var n,a,o,l,s,c,u;t(e.exports,"coerce2",(()=>u),(e=>u=e)),t(e.exports,"coerceSelectionMarkerOpacity",(()=>c),(e=>c=e)),t(e.exports,"validate",(()=>n),(e=>n=e)),t(e.exports,"coerceHoverinfo",(()=>s),(e=>s=e)),t(e.exports,"valObjectMeta",(()=>l),(e=>l=e)),t(e.exports,"coerce",(()=>o),(e=>o=e)),t(e.exports,"coerceFont",(()=>a),(e=>a=e));var d=i("6qr5h"),f=i("3Twc4"),h=i("5zAUi"),p=i("5Tt6Z"),g=i("5NzBR").DESELECTDIM,v=i("2Tkfd"),m=i("3ImU3").counter,y=i("5DnzT").modHalf,x=i("1nElS").isArrayOrTypedArray;function b(e,t){var r=l[t.valType];if(t.arrayOk&&x(e))return!0;if(r.validateFunction)return r.validateFunction(e,t);var n={},a=n,i={set:function(e){a=e}};return r.coerceFunction(e,i,n,t),a!==n}l={data_array:{description:["An {array} of data.","The value MUST be an {array}, or we ignore it.","Note that typed arrays (e.g. Float32Array) are supported."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){x(e)?t.set(e):void 0!==r&&t.set(r)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(e,t,r,n){n.coerceNumber&&(e=+e),-1===n.values.indexOf(e)?t.set(r):t.set(e)},validateFunction:function(e,t){t.coerceNumber&&(e=+e);for(var r=t.values,n=0;nn.max?t.set(r):t.set(+e)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(e,t,r,n){e%1||!d(e)||void 0!==n.min&&en.max?t.set(r):t.set(+e)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,t,r,n){if("string"!=typeof e){var a="number"==typeof e;!0!==n.strict&&a?t.set(String(e)):t.set(r)}else n.noBlank&&!e?t.set(r):t.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,r){f(e).isValid()?t.set(e):t.set(r)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){Array.isArray(e)&&e.length&&e.every((function(e){return f(e).isValid()}))?t.set(e):t.set(r)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(p.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){t.set(p.get(e,r))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){"auto"===e?t.set("auto"):d(e)?t.set(y(+e,360)):t.set(r)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(e,t,r,n){var a=n.regex||m(r);"string"==typeof e&&a.test(e)?t.set(e):t.set(r)},validateFunction:function(e,t){var r=t.dflt;return e===r||"string"==typeof e&&!!m(r).test(e)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,t,r,n){if("string"==typeof e)if(-1===(n.extras||[]).indexOf(e)){for(var a=e.split("+"),i=0;i1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=I(e,360),t=I(t,100),r=I(r,100),0===t)n=a=i=r;else{var l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;n=o(s,l,e+1/3),a=o(s,l,e),i=o(s,l,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,s,u),d=!0,f="hsl"),e.hasOwnProperty("a")&&(i=e.a));var h,p,g;return i=C(i),{ok:d,format:e.format||f,r:o(255,l(a.r,0)),g:o(255,l(a.g,0)),b:o(255,l(a.b,0)),a:i}}(e);this._originalInput=e,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=i(100*this._a)/100,this._format=s.format||u.format,this._gradientType=s.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=u.ok,this._tc_id=a++}function u(e,t,r){e=I(e,255),t=I(t,255),r=I(r,255);var n,a,i=l(e,t,r),s=o(e,t,r),c=(i+s)/2;if(i==s)n=a=0;else{var u=i-s;switch(a=c>.5?u/(2-i-s):u/(i+s),i){case e:n=(t-r)/u+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(c(n));return i}function A(e,t){t=t||6;for(var r=c(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],l=1/t;t--;)o.push(c({h:n,s:a,v:i})),i=(i+l)%1;return o}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,n,a=this.toRgb();return e=a.r/255,r=a.g/255,n=a.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=C(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=d(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16)),z(j(n))];return a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*I(this._r,255))+"%",g:i(100*I(this._g,255))+"%",b:i(100*I(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*I(this._r,255))+"%, "+i(100*I(this._g,255))+"%, "+i(100*I(this._b,255))+"%)":"rgba("+i(100*I(this._r,255))+"%, "+i(100*I(this._g,255))+"%, "+i(100*I(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(L[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=c(e);r="#"+h(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:P(e[n]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:s(),g:s(),b:s()})},c.mix=function(e,t,r){r=0===r?0:r||50;var n=c(e).toRgb(),a=c(t).toRgb(),i=r/100;return c({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},c.readability=function(e,r){var n=c(e),a=c(r);return(t.max(n.getLuminance(),a.getLuminance())+.05)/(t.min(n.getLuminance(),a.getLuminance())+.05)},c.isReadable=function(e,t,r){var n,a,i=c.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},c.mostReadable=function(e,t,r){var n,a,i,o,l=null,s=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var u=0;us&&(s=n,l=c(t[u]));return c.isReadable(e,l,{level:i,size:o})||!a?l:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var S=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(S);function C(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function I(e,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=o(r,l(0,parseFloat(e))),n&&(e=parseInt(e*r,10)/100),t.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function O(e){return o(1,l(0,e))}function D(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function j(e){return t.round(255*parseFloat(e)).toString(16)}function E(e){return D(e)/255}var R,N,F,H=(N="[\\s|\\(]+("+(R="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",F="[\\s|\\(]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")[,|\\s]+("+R+")\\s*\\)?",{CSS_UNIT:new RegExp(R),rgb:new RegExp("rgb"+N),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+N),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+N),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function B(e){return!!H.CSS_UNIT.exec(e)}e.exports?e.exports=c:"function"==typeof define&&define.amd?define((function(){return c})):window.tinycolor=c}(Math)})),i.register("5zAUi",(function(e,t){"use strict";var r=i("tikJy");e.exports={type:{valType:"enumerated",role:"info",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],role:"info",dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",role:"info",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",role:"info",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},opacity:{valType:"number",role:"style",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",role:"info",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",role:"info",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,role:"info",editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",role:"info",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",role:"info",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:r.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,role:"info",editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,role:"info",editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}})),i.register("tikJy",(function(e,t){"use strict";var r=i("10Nlb"),n=i("1U5js").hoverlabel,a=i("1ZM4z").extendFlat;e.exports={hoverlabel:{bgcolor:a({},n.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:a({},n.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:r({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:a({},n.align,{arrayOk:!0}),namelength:a({},n.namelength,{arrayOk:!0}),editType:"none"}}})),i.register("10Nlb",(function(e,t){"use strict";e.exports=function(e){var t=e.editType,r=e.colorEditType;void 0===r&&(r=t);var n={family:{valType:"string",role:"style",noBlank:!0,strict:!0,editType:t,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",role:"style",min:1,editType:t},color:{valType:"color",role:"style",editType:r},editType:t,description:""+(e.description||"")};return e.arrayOk&&(n.family.arrayOk=!0,n.size.arrayOk=!0,n.color.arrayOk=!0),n}})),i.register("1U5js",(function(e,t){"use strict";var r=i("1Qgov"),n=i("10Nlb")({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});n.family.dflt=r.HOVERFONT,n.size.dflt=r.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",role:"info",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",role:"info",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",role:"info",values:["x","y","closest",!1,"x unified","y unified"],editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled.","If `clickmode` includes the *select* flag,","`hovermode` defaults to *closest*.","If `clickmode` lacks the *select* flag,","it defaults to *x* or *y* (depending on the trace's","`orientation` value) for plots based on","cartesian coordinates. For anything else the default","value is *closest*."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:20,role:"info",editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",role:"style",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:n,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",role:"style",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,role:"style",editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",role:"info",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}})),i.register("1Qgov",(function(e,t){"use strict";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}})),i.register("1ZM4z",(function(e,r){var n,a,o,l;t(e.exports,"extendDeep",(()=>a),(e=>a=e)),t(e.exports,"extendDeepAll",(()=>o),(e=>o=e)),t(e.exports,"extendFlat",(()=>n),(e=>n=e)),t(e.exports,"extendDeepNoArrays",(()=>l),(e=>l=e));var s=i("2bwwe"),c=Array.isArray;function u(e,t,r,n){var a,i,o,l,d,f,h=e[0],p=e.length;if(2===p&&c(h)&&c(e[1])&&0===h.length){if(function(e,t){var r,n;for(r=0;rn),(e=>n=e)),n=function(e,t,r,n){var a=(t||"")+(r?"":"$"),i=!1===n?"":"^";return"xy"===e?new RegExp(i+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+a):new RegExp(i+e+"([2-9]|[1-9][0-9]+)?"+a)}})),i.register("4Jreh",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v;t(e.exports,"dateTick0",(()=>v),(e=>v=e)),t(e.exports,"isDateTime",(()=>l),(e=>l=e)),t(e.exports,"dfltRange",(()=>n),(e=>n=e)),t(e.exports,"formatDate",(()=>s),(e=>s=e)),t(e.exports,"ms2DateTime",(()=>a),(e=>a=e)),t(e.exports,"isJSDate",(()=>c),(e=>c=e)),t(e.exports,"ms2DateTimeLocal",(()=>o),(e=>o=e)),t(e.exports,"cleanDate",(()=>d),(e=>d=e)),t(e.exports,"findExactDates",(()=>h),(e=>h=e)),t(e.exports,"MAX_MS",(()=>u),(e=>u=e)),t(e.exports,"dateTime2ms",(()=>p),(e=>p=e)),t(e.exports,"MIN_MS",(()=>g),(e=>g=e)),t(e.exports,"incrementMonth",(()=>f),(e=>f=e));var m,y,x=i("6jof9").timeFormat,b=i("6qr5h"),_=i("1NWKZ"),w=i("5DnzT").mod,k=i("10TEj"),T=k.BADNUM,M=k.ONEDAY,A=k.ONEHOUR,S=k.ONEMIN,L=k.ONESEC,C=k.EPOCHJD,I=i("4Hxcc"),O=i("6jof9").utcFormat,D=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,z=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,P=(new Date).getFullYear()-70;function j(e){return e&&I.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function E(e,t){return String(e+Math.pow(10,t)).substr(1)}v=function(e,t){var r=function(e,t){return j(e)?t?I.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:I.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"}(e,!!t);if(t<2)return r;var n=p(r,e);return a(n+=M*(t-1),0,e)},n=function(e){return j(e)?I.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},c=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime},m=g=(p=function(e,t){if(c(e)){var r=e.getTimezoneOffset()*S,n=(e.getUTCMinutes()-e.getMinutes())*S+(e.getUTCSeconds()-e.getSeconds())*L+(e.getUTCMilliseconds()-e.getMilliseconds());if(n){var a=3*S;r=r-a/2+w(n-r+a/2,a)}return(e=Number(e)-r)>=m&&e<=y?e:T}if("string"!=typeof e&&"number"!=typeof e)return T;e=String(e);var i=j(t),o=e.charAt(0);!i||"G"!==o&&"g"!==o||(e=e.substr(1),t="");var l=i&&"chinese"===t.substr(0,7),s=e.match(l?z:D);if(!s)return T;var u=s[1],d=s[3]||"1",f=Number(s[5]||1),h=Number(s[7]||0),p=Number(s[9]||0),g=Number(s[11]||0);if(i){if(2===u.length)return T;var v;u=Number(u);try{var x=I.getComponentMethod("calendars","getCal")(t);if(l){var b="i"===d.charAt(d.length-1);d=parseInt(d,10),v=x.newDate(u,x.toMonthIndex(u,d,b),f)}else v=x.newDate(u,Number(d),f)}catch(e){return T}return v?(v.toJD()-C)*M+h*A+p*S+g*L:T}u=2===u.length?(Number(u)+2e3-P)%100+P:Number(u),d-=1;var _=new Date(Date.UTC(2e3,d,f,h,p));return _.setUTCFullYear(u),_.getUTCMonth()!==d||_.getUTCDate()!==f?T:_.getTime()+g*L})("-9999"),y=u=p("9999-12-31 23:59:59.9999"),l=function(e,t){return p(e,t)!==T};var R=90*M,N=3*A,F=5*S;function H(e,t,r,n,a){if((t||r||n||a)&&(e+=" "+E(t,2)+":"+E(r,2),(n||a)&&(e+=":"+E(n,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+="."+E(a,i)}return e}a=function(e,t,r){if("number"!=typeof e||!(e>=m&&e<=y))return T;t||(t=0);var n,a,i,o,l,s,c=Math.floor(10*w(e+.05,1)),u=Math.round(e-c/10);if(j(r)){var d=Math.floor(u/M)+C,f=Math.floor(w(e,M));try{n=I.getComponentMethod("calendars","getCal")(r).fromJD(d).formatDate("yyyy-mm-dd")}catch(e){n=O("G%Y-%m-%d")(new Date(u))}if("-"===n.charAt(0))for(;n.length<11;)n="-0"+n.substr(1);else for(;n.length<10;)n="0"+n;a=t=m+M&&e<=y-M))return T;var t=Math.floor(10*w(e+.05,1)),r=new Date(Math.round(e-t/10));return H(x("%Y-%m-%d")(r),r.getHours(),r.getMinutes(),r.getSeconds(),10*r.getUTCMilliseconds()+t)},d=function(e,t,r){if(e===T)return t;if(c(e)||"number"==typeof e&&isFinite(e)){if(j(r))return _.error("JS Dates and milliseconds are incompatible with world calendars",e),t;if(!(e=o(+e))&&void 0!==t)return t}else if(!l(e,r))return _.error("unrecognized date",e),t;return e};var B=/%\d?f/g;function U(e,t,r,n){e=e.replace(B,(function(e){var r=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0"}));var a=new Date(Math.floor(t+.05));if(j(n))try{e=I.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return r(e)(a)}var q=[59,59.9,59.99,59.999,59.9999];s=function(e,t,r,n,a,i){if(a=j(a)&&a,!t)if("y"===r)t=i.year;else if("m"===r)t=i.month;else{if("d"!==r)return function(e,t){var r=w(e+.05,M),n=E(Math.floor(r/A),2)+":"+E(w(Math.floor(r/S),60),2);if("M"!==t){b(t)||(t=0);var a=(100+Math.min(w(e/L,60),q[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),n+=":"+a}return n}(e,r)+"\n"+U(i.dayMonthYear,e,n,a);t=i.dayMonth+"\n"+i.year}return U(t,e,n,a)};var V=3*M;f=function(e,t,r){r=j(r)&&r;var n=w(e,M);if(e=Math.round(e-n),r)try{var a=Math.round(e/M)+C,i=I.getComponentMethod("calendars","getCal")(r),o=i.fromJD(a);return t%12?i.add(o,t,"m"):i.add(o,t/12,"y"),(o.toJD()-C)*M+n}catch(t){_.error("invalid ms "+e+" in calendar "+r)}var l=new Date(e+V);return l.setUTCMonth(l.getUTCMonth()+t)+n-V},h=function(e,t){for(var r,n,a=0,i=0,o=0,l=0,s=j(t)&&I.getComponentMethod("calendars","getCal")(t),c=0;c1){var t=["LOG:"];for(e=0;e1){var a=[];for(e=0;e"),"long")}},a.warn=function(){var e;if(r.logging>0){var t=["WARN:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}},a.error=function(){var e;if(r.logging>0){var t=["ERROR:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}}})),i.register("24AkC",(function(e,t){"use strict";var r={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v2, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo and mapbox subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo and mapbox) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},n={};!function e(t,r){for(var n in t){var a=t[n];a.valType?r[n]=a.dflt:(r[n]||(r[n]={}),e(a,r[n]))}}(r,n),e.exports={configAttributes:r,dfltConfig:n}})),i.register("7gpnI",(function(e,t){"use strict";var r=i("4Wia9"),n=i("6qr5h"),a=[];e.exports=function(e,t){if(-1===a.indexOf(e)){a.push(e);var i=1e3;n(t)?i=t:"long"===t&&(i=3e3);var o=r.select("body").selectAll(".plotly-notifier").data([0]);o.enter().append("div").classed("plotly-notifier",!0),o.selectAll(".notifier-note").data(a).enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(e){var n=r.select(this);n.append("button").classed("notifier-close",!0).html("×").on("click",(function(){n.transition().call(l)}));for(var a=n.append("p"),o=e.split(//g),s=0;ss),(e=>s=e)),t(e.exports,"componentsRegistry",(()=>c),(e=>c=e)),t(e.exports,"allCategories",(()=>o),(e=>o=e)),t(e.exports,"call",(()=>f),(e=>f=e)),t(e.exports,"hasTransform",(()=>m),(e=>m=e)),t(e.exports,"transformsRegistry",(()=>a),(e=>a=e)),t(e.exports,"modules",(()=>n),(e=>n=e)),t(e.exports,"getModule",(()=>_),(e=>_=e)),t(e.exports,"getComponentMethod",(()=>l),(e=>l=e)),t(e.exports,"subplotsRegistry",(()=>g),(e=>g=e)),t(e.exports,"layoutArrayContainers",(()=>y),(e=>y=e)),t(e.exports,"apiMethodRegistry",(()=>w),(e=>w=e)),t(e.exports,"collectableSubplotTypes",(()=>x),(e=>x=e)),t(e.exports,"localeRegistry",(()=>d),(e=>d=e)),t(e.exports,"layoutArrayRegexes",(()=>v),(e=>v=e)),t(e.exports,"traceLayoutAttributes",(()=>h),(e=>h=e)),t(e.exports,"register",(()=>u),(e=>u=e)),t(e.exports,"traceIs",(()=>p),(e=>p=e)),t(e.exports,"getTransformIndices",(()=>b),(e=>b=e));var k=i("1NWKZ"),T=i("77Ix4"),M=i("5c3WY"),A=i("2bwwe"),S=i("44pv8").addStyleRule,L=i("1ZM4z"),C=i("5zAUi"),I=i("5axlk"),O=L.extendFlat,D=L.extendDeepAll;function z(e){var t=e.name,r=e.categories,a=e.meta;if(n[t])k.log("Type "+t+" already registered");else{g[e.basePlotModule.name]||function(e){var t=e.name;if(g[t])return void k.log("Plot type "+t+" already registered.");for(var r in R(e),g[t]=e,c)H(r,e.name)}(e.basePlotModule);for(var i={},l=0;lp),(e=>p=e)),t(e.exports,"init2dArray",(()=>a),(e=>a=e)),t(e.exports,"convertCssMatrix",(()=>l),(e=>l=e)),t(e.exports,"apply3DTransform",(()=>h),(e=>h=e)),t(e.exports,"rotationMatrix",(()=>u),(e=>u=e)),t(e.exports,"dot",(()=>c),(e=>c=e)),t(e.exports,"rotationXYMatrix",(()=>f),(e=>f=e)),t(e.exports,"transposeRagged",(()=>d),(e=>d=e)),t(e.exports,"apply2DTransform",(()=>n),(e=>n=e)),t(e.exports,"inverseTransformMatrix",(()=>s),(e=>s=e)),t(e.exports,"apply2DTransform2",(()=>o),(e=>o=e));var g=i("3hqxv");a=function(e,t){for(var r=new Array(e),n=0;nn),(e=>n=e)),t(e.exports,"lightLine",(()=>s),(e=>s=e)),t(e.exports,"background",(()=>a),(e=>a=e)),t(e.exports,"lightFraction",(()=>o),(e=>o=e)),t(e.exports,"defaults",(()=>i),(e=>i=e)),t(e.exports,"defaultLine",(()=>l),(e=>l=e)),i=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],l="#444",s="#eee",a="#fff",n="#BEC8D9",o=90.9090909090909})),i.register("2VcmX",(function(e,t){"use strict";var r=i("5wAu8").dash,n=i("1ZM4z").extendFlat;e.exports={newshape:{line:{color:{valType:"color",editType:"none",role:"info",description:["Sets the line color.","By default uses either dark grey or white","to increase contrast with background color."].join(" ")},width:{valType:"number",min:0,dflt:4,role:"info",editType:"none",description:"Sets the line width (in px)."},dash:n({},r,{dflt:"solid",editType:"none"}),role:"info",editType:"none"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"none",description:["Sets the color filling new shapes' interior.","Please note that if using a fillcolor with alpha greater than half,","drag inside the active shape starts moving the shape underneath,","otherwise a new shape could be started over."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"none",description:["Determines the path's interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"none",description:"Sets the opacity of new shapes."},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"none",description:"Specifies whether new shapes are drawn below or above traces."},drawdirection:{valType:"enumerated",role:"info",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal",editType:"none",description:["When `dragmode` is set to *drawrect*, *drawline* or *drawcircle*","this limits the drag to be horizontal, vertical or diagonal.","Using *diagonal* there is no limit e.g. in drawing lines in any direction.","*ortho* limits the draw to be either horizontal or vertical.","*horizontal* allows horizontal extend.","*vertical* allows vertical extend."].join(" ")},editType:"none"},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",role:"style",editType:"none",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5,role:"info",editType:"none",description:"Sets the opacity of the active shape."},editType:"none"}}})),i.register("5wAu8",(function(e,r){var n;t(e.exports,"dash",(()=>n),(e=>n=e)),n={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",role:"style",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")}})),i.register("5zrJR",(function(e,t){"use strict";e.exports=function(e){var t=e.editType;return{t:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,role:"style",editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}})),i.register("5LcuG",(function(e,r){var n,a,o,l,s,c,u;t(e.exports,"distinctVals",(()=>c),(e=>c=e)),t(e.exports,"sorterDes",(()=>l),(e=>l=e)),t(e.exports,"sorterAsc",(()=>s),(e=>s=e)),t(e.exports,"findBin",(()=>o),(e=>o=e)),t(e.exports,"findIndexOfMin",(()=>a),(e=>a=e)),t(e.exports,"roundUp",(()=>u),(e=>u=e)),t(e.exports,"sort",(()=>n),(e=>n=e));var d=i("6qr5h"),f=i("1NWKZ"),h=i("4Qyoa"),p=i("10TEj").BADNUM,g=1e-9;function v(e,t){return et}function x(e,t){return e>=t}o=function(e,t,r){if(d(t.start))return r?Math.ceil((e-t.start)/t.size-g)-1:Math.floor((e-t.start)/t.size+g);var n,a,i=0,o=t.length,l=0,s=o>1?(t[o-1]-t[0])/(o-1):1;for(a=s>=0?r?v:m:r?x:y,e+=s*g*(r?-1:1)*(s>=0?1:-1);i90&&f.log("Long binary search..."),i-1},s=function(e,t){return e-t},l=function(e,t){return t-e},c=function(e,t){var r,n=(t||{}).unitMinDiff,a=e.slice();for(a.sort(s),r=a.length-1;r>-1&&a[r]===p;r--);var i=1;n||(i=a[r]-a[0]||1);for(var o,l=i/(r||1)/1e4,c=[],u=0;u<=r;u++){var d=a[u],f=d-o;void 0===o?(c.push(d),o=d):f>l&&(i=Math.min(i,f),c.push(d),o=d)}return{vals:c,minDiff:i}},u=function(e,t,r){for(var n,a=0,i=t.length-1,o=0,l=r?0:1,s=r?1:0,c=r?Math.ceil:Math.floor;a0&&(n=1),r&&n)return e.sort(t)}return n?e:e.reverse()},a=function(e,t){t=t||h;for(var r,n=1/0,a=0;ac),(e=>c=e)),t(e.exports,"interp",(()=>l),(e=>l=e)),t(e.exports,"stdev",(()=>s),(e=>s=e)),t(e.exports,"mean",(()=>d),(e=>d=e)),t(e.exports,"midRange",(()=>u),(e=>u=e)),t(e.exports,"aggNums",(()=>n),(e=>n=e)),t(e.exports,"len",(()=>o),(e=>o=e)),t(e.exports,"median",(()=>a),(e=>a=e));var f=i("6qr5h"),h=i("1nElS").isArrayOrTypedArray;n=function(e,t,r,a){var i,o;if((!a||a>r.length)&&(a=r.length),f(t)||(t=!1),h(r[0])){for(o=new Array(a),i=0;ie.length-1)return e[e.length-1];var r=t%1;return r*e[Math.ceil(t)]+(1-r)*e[Math.floor(t)]}})),i.register("3TZVB",(function(e,t){"use strict";var r=i("5DnzT"),n=r.mod,a=r.modHalf,o=Math.PI,l=2*o;function s(e){return Math.abs(e[1]-e[0])>l-1e-14}function c(e,t){return a(t-e,l)}function u(e,t){if(s(t))return!0;var r,a;t[0](a=n(a,l))&&(a+=l);var i=n(e,l),o=i+l;return i>=r&&i<=a||o>=r&&o<=a}function d(e,t,r,n,a,i,c){a=a||0,i=i||0;var u,d,f,h,p,g=s([r,n]);function v(e,t){return[e*Math.cos(t)+a,i-e*Math.sin(t)]}g?(u=0,d=o,f=l):r=a&&e<=i);var a,i},pathArc:function(e,t,r,n,a){return d(null,e,t,r,n,a,0)},pathSector:function(e,t,r,n,a){return d(null,e,t,r,n,a,1)},pathAnnulus:function(e,t,r,n,a,i){return d(e,t,r,n,a,i,1)}}})),i.register("36x9Z",(function(e,r){var n,a,i,o,l,s;t(e.exports,"isBottomAnchor",(()=>a),(e=>a=e)),t(e.exports,"isCenterAnchor",(()=>n),(e=>n=e)),t(e.exports,"isRightAnchor",(()=>s),(e=>s=e)),t(e.exports,"isTopAnchor",(()=>i),(e=>i=e)),t(e.exports,"isMiddleAnchor",(()=>l),(e=>l=e)),t(e.exports,"isLeftAnchor",(()=>o),(e=>o=e)),o=function(e){return"left"===e.xanchor||"auto"===e.xanchor&&e.x<=1/3},n=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},s=function(e){return"right"===e.xanchor||"auto"===e.xanchor&&e.x>=2/3},i=function(e){return"top"===e.yanchor||"auto"===e.yanchor&&e.y>=2/3},l=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3},a=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3}})),i.register("6yIsr",(function(e,r){var n,a,o,l,s,c;t(e.exports,"findPointOnPath",(()=>a),(e=>a=e)),t(e.exports,"segmentDistance",(()=>o),(e=>o=e)),t(e.exports,"segmentsIntersect",(()=>l),(e=>l=e)),t(e.exports,"getVisibleSegment",(()=>c),(e=>c=e)),t(e.exports,"getTextLocation",(()=>s),(e=>s=e)),t(e.exports,"clearLocationCache",(()=>n),(e=>n=e));var u,d,f,h=i("5DnzT").mod;function p(e,t,r,n,a,i,o,l){var s=r-e,c=a-e,u=o-a,d=n-t,f=i-t,h=l-i,p=s*h-u*d;if(0===p)return null;var g=(c*h-u*f)/p,v=(c*d-s*f)/p;return v<0||v>1||g<0||g>1?null:{x:e+s*g,y:t+d*g}}function g(e,t,r,n,a){var i=n*e+a*t;if(i<0)return n*n+a*a;if(i>r){var o=n-e,l=a-t;return o*o+l*l}var s=n*t-a*e;return s*s/r}l=p,o=function(e,t,r,n,a,i,o,l){if(p(e,t,r,n,a,i,o,l))return 0;var s=r-e,c=n-t,u=o-a,d=l-i,f=s*s+c*c,h=u*u+d*d,v=Math.min(g(s,c,f,a-e,i-t),g(s,c,f,o-e,l-t),g(u,d,h,e-a,t-i),g(u,d,h,r-a,n-i));return Math.sqrt(v)},s=function(e,t,r,n){if(e===d&&n===f||(u={},d=e,f=n),u[r])return u[r];var a=e.getPointAtLength(h(r-n/2,t)),i=e.getPointAtLength(h(r+n/2,t)),o=Math.atan((i.y-a.y)/(i.x-a.x)),l=e.getPointAtLength(h(r,t)),s={x:(4*l.x+a.x+i.x)/6,y:(4*l.y+a.y+i.y)/6,theta:o};return u[r]=s,s},n=function(){d=null},c=function(e,t,r){var n,a,i=t.left,o=t.right,l=t.top,s=t.bottom,c=0,u=e.getTotalLength(),d=u;function f(t){var r=e.getPointAtLength(t);0===t?n=r:t===u&&(a=r);var c=r.xo?r.x-o:0,d=r.ys?r.y-s:0;return Math.sqrt(c*c+d*d)}for(var h=f(c);h;){if((c+=h+r)>d)return;h=f(c)}for(h=f(d);h;){if(c>(d-=h+r))return;h=f(d)}return{min:c,max:d,len:d-c,total:u,isClosed:0===c&&d===u&&Math.abs(n.x-a.x)<.1&&Math.abs(n.y-a.y)<.1}},a=function(e,t,r,n){for(var a,i,o,l=(n=n||{}).pathLength||e.getTotalLength(),s=n.tolerance||.001,c=n.iterationLimit||30,u=e.getPointAtLength(0)[r]>e.getPointAtLength(l)[r]?-1:1,d=0,f=0,h=l;d0?h=a:f=a,d++}return i}})),i.register("3RMbo",(function(e,r){var n,a,i;t(e.exports,"throttle",(()=>a),(e=>a=e)),t(e.exports,"clear",(()=>i),(e=>i=e)),t(e.exports,"done",(()=>n),(e=>n=e));var o={};function l(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}a=function(e,t,r){var n=o[e],a=Date.now();if(!n){for(var i in o)o[i].tsn.ts+t?s():n.timer=setTimeout((function(){s(),n.timer=null}),t)},n=function(e){var t=o[e];return t&&t.timer?new Promise((function(e){var r=t.onDone;t.onDone=function(){r&&r(),e(),t.onDone=null}})):Promise.resolve()},i=function(e){if(e)l(o[e]),delete o[e];else for(var t in o)i(t)}})),i.register("6Jehm",(function(e,t){"use strict";e.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener("resize",e._responsiveChartHandler),delete e._responsiveChartHandler)}})),i.register("72aYm",(function(e,t){"use strict";var r=i("6qr5h"),n=i("7hBrI");e.exports=function(e){var t;if("string"!=typeof(t=e&&e.hasOwnProperty("userAgent")?e.userAgent:function(){var e;"undefined"!=typeof navigator&&(e=navigator.userAgent);e&&e.headers&&"string"==typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]);return e}()))return!0;var a=n({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!a)for(var i=t.split(" "),o=1;o-1;l--){var s=i[l];if("Version/"===s.substr(0,8)){var c=s.substr(8).split(".")[0];if(r(c)&&(c=+c),c>=13)return!0}}}return a}})),i.register("7hBrI",(function(e,t){"use strict";e.exports=a,e.exports.isMobile=a,e.exports.default=a;var r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function a(e){e||(e={});var t=e.ua;if(t||"undefined"==typeof navigator||(t=navigator.userAgent),t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"!=typeof t)return!1;var a=e.tablet?n.test(t):r.test(t);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf("Macintosh")&&-1!==t.indexOf("Safari")&&(a=!0),a}})),i.register("4dVMu",(function(e,t){"use strict";var r=i("4Wia9");e.exports=function(e,t,n){var a=e.selectAll("g."+n.replace(/\s/g,".")).data(t,(function(e){return e[0].trace.uid}));a.exit().remove(),a.enter().append("g").attr("class",n),a.order();var i=e.classed("rangeplot")?"nodeRangePlot3":"node3";return a.each((function(e){e[0][i]=r.select(this)})),a}})),i.register("5Ifkm",(function(e,t){"use strict";var r=i("4Hxcc");e.exports=function(e,t){for(var n=e._context.locale,a=0;a<2;a++){for(var i=e._context.locales,o=0;o<2;o++){var l=(i[n]||{}).dictionary;if(l){var s=l[t];if(s)return s}i=r.localeRegistry}var c=n.split("-")[0];if(c===n)break;n=c}return t}})),i.register("7iNPF",(function(e,t){"use strict";e.exports=function(e){for(var t={},r=[],n=0,a=0;a1?(r*e+r*t)/r:e+t,a=String(n).length;if(a>16){var i=String(t).length;if(a>=String(e).length+i){var o=parseFloat(n).toPrecision(12);-1===o.indexOf("e+")&&(n=+o)}}return n}})),i.register("7HeyY",(function(e,t){"use strict";var r=i("6qr5h"),n=i("10TEj").BADNUM,a=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;e.exports=function(e){return"string"==typeof e&&(e=e.replace(a,"")),r(e)?Number(e):n}})),i.register("1Jk5J",(function(e,t){"use strict";e.exports=function(){"undefined"!=typeof MathJax&&("local"!==(window.PlotlyConfig||{}).MathJaxConfig&&(MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured()))}})),i.register("3L5lN",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S,L,C;t(e.exports,"animate",(()=>o),(e=>o=e)),t(e.exports,"setPlotConfig",(()=>n),(e=>n=e)),t(e.exports,"redraw",(()=>h),(e=>h=e)),t(e.exports,"addFrames",(()=>c),(e=>c=e)),t(e.exports,"_guiUpdate",(()=>l),(e=>l=e)),t(e.exports,"relayout",(()=>p),(e=>p=e)),t(e.exports,"addTraces",(()=>d),(e=>d=e)),t(e.exports,"restyle",(()=>S),(e=>S=e)),t(e.exports,"downloadImage",(()=>x),(e=>x=e)),t(e.exports,"validate",(()=>v),(e=>v=e)),t(e.exports,"prependTraces",(()=>M),(e=>M=e)),t(e.exports,"makeTemplate",(()=>m),(e=>m=e)),t(e.exports,"extendTraces",(()=>b),(e=>b=e)),t(e.exports,"plot",(()=>f),(e=>f=e)),t(e.exports,"moveTraces",(()=>T),(e=>T=e)),t(e.exports,"validateTemplate",(()=>a),(e=>a=e)),t(e.exports,"purge",(()=>L),(e=>L=e)),t(e.exports,"update",(()=>A),(e=>A=e)),t(e.exports,"react",(()=>u),(e=>u=e)),t(e.exports,"_guiRestyle",(()=>_),(e=>_=e)),t(e.exports,"deleteTraces",(()=>s),(e=>s=e)),t(e.exports,"deleteFrames",(()=>C),(e=>C=e)),t(e.exports,"_guiRelayout",(()=>w),(e=>w=e)),t(e.exports,"toImage",(()=>g),(e=>g=e)),t(e.exports,"newPlot",(()=>y),(e=>y=e)),t(e.exports,"_storeDirectGUIEdit",(()=>k),(e=>k=e));var I=i("7GMb5");f=I.plot,y=I.newPlot,S=I.restyle,p=I.relayout,h=I.redraw,A=I.update,_=I._guiRestyle,w=I._guiRelayout,l=I._guiUpdate,k=I._storeDirectGUIEdit,u=I.react,b=I.extendTraces,M=I.prependTraces,d=I.addTraces,s=I.deleteTraces,T=I.moveTraces,L=I.purge,c=I.addFrames,C=I.deleteFrames,o=I.animate,n=I.setPlotConfig,g=i("28GEY"),v=i("1B45K"),x=i("4egvB");var O=i("2SHXB");m=O.makeTemplate,a=O.validateTemplate})),i.register("7GMb5",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;t(e.exports,"setPlotConfig",(()=>m),(e=>m=e)),t(e.exports,"purge",(()=>f),(e=>f=e)),t(e.exports,"redraw",(()=>h),(e=>h=e)),t(e.exports,"newPlot",(()=>_),(e=>_=e)),t(e.exports,"_storeDirectGUIEdit",(()=>d),(e=>d=e)),t(e.exports,"plot",(()=>T),(e=>T=e)),t(e.exports,"deleteTraces",(()=>x),(e=>x=e)),t(e.exports,"_guiRelayout",(()=>o),(e=>o=e)),t(e.exports,"addTraces",(()=>g),(e=>g=e)),t(e.exports,"restyle",(()=>p),(e=>p=e)),t(e.exports,"react",(()=>y),(e=>y=e)),t(e.exports,"relayout",(()=>k),(e=>k=e)),t(e.exports,"update",(()=>c),(e=>c=e)),t(e.exports,"_guiRestyle",(()=>n),(e=>n=e)),t(e.exports,"extendTraces",(()=>s),(e=>s=e)),t(e.exports,"animate",(()=>u),(e=>u=e)),t(e.exports,"addFrames",(()=>a),(e=>a=e)),t(e.exports,"prependTraces",(()=>b),(e=>b=e)),t(e.exports,"_guiUpdate",(()=>l),(e=>l=e)),t(e.exports,"deleteFrames",(()=>v),(e=>v=e)),t(e.exports,"moveTraces",(()=>w),(e=>w=e));var M=i("4Wia9"),A=i("6qr5h"),S=i("5aT4w"),L=i("1nIvY"),C=L.nestedProperty,I=i("5yBVq"),O=i("7mZiM"),D=i("4Hxcc"),z=i("4UWmi"),P=i("3BndS"),j=i("6G7Mf"),E=i("1nE8l"),R=i("7jar4"),N=i("3N5m7"),F=i("1Cu9q").initInteractions,H=i("ipXll"),B=i("49Q6h"),U=i("7KokU").clearSelect,q=i("24AkC").dfltConfig,V=i("6cUxK"),Y=i("70FGl"),G=i("4wnLB"),Z=i("1bSCj"),W=i("5Lafm").AX_NAME_PATTERN,X=0;function Q(e){var t=e._fullLayout;t._redrawFromAutoMarginCount?t._redrawFromAutoMarginCount--:e.emit("plotly_afterplot")}function J(e,t){try{e._fullLayout._paper.style("background",t)}catch(e){L.error(e)}}function K(e,t){J(e,N.combine(t,"white"))}function $(e,t){if(!e._context){e._context=L.extendDeep({},q);var r=M.select("base");e._context._baseUrl=r.size()&&r.attr("href")?window.location.href.split("#")[0]:""}var n,a,i,o=e._context;if(t){for(a=Object.keys(t),n=0;n=e.data.length||a<-e.data.length)throw new Error(r+" must be valid indices for gd.data.");if(t.indexOf(a,n+1)>-1||a>=0&&t.indexOf(-e.data.length+a)>-1||a<0&&t.indexOf(e.data.length+a)>-1)throw new Error("each index in "+r+" must be unique.")}}function re(e,t,r){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),te(e,t,"currentIndices"),void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&te(e,r,"newIndices"),void 0!==r&&t.length!==r.length)throw new Error("current and new indices must be of equal length.")}function ne(e,t,r,n,a){!function(e,t,r,n){var a=L.isPlainObject(n);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!L.isPlainObject(t))throw new Error("update must be a key:value object");if(void 0===r)throw new Error("indices must be an integer or array of integers");for(var i in te(e,r,"indices"),t){if(!Array.isArray(t[i])||t[i].length!==r.length)throw new Error("attribute "+i+" must be an array of length equal to indices array length");if(a&&(!(i in n)||!Array.isArray(n[i])||n[i].length!==t[i].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(e,t,r,n);for(var i=function(e,t,r,n){var a,i,o,l,s,c=L.isPlainObject(n),u=[];for(var d in Array.isArray(r)||(r=[r]),r=ee(r,e.data.length-1),t)for(var f=0;f-1?l(r,r.replace("titlefont","title.font")):r.indexOf("titleposition")>-1?l(r,r.replace("titleposition","title.position")):r.indexOf("titleside")>-1?l(r,r.replace("titleside","title.side")):r.indexOf("titleoffset")>-1&&l(r,r.replace("titleoffset","title.offset")):l(r,r.replace("title","title.text"));function l(t,r){e[r]=e[t],delete e[t]}}function de(e,t,r){if(e=L.getGraphDiv(e),Y.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);var n={};if("string"==typeof t)n[t]=r;else{if(!L.isPlainObject(t))return L.warn("Relayout fail.",t,r),Promise.reject();n=L.extendFlat({},t)}Object.keys(n).length&&(e.changed=!0);var a=me(e,n),i=a.flags;i.calc&&(e.calcdata=void 0);var o=[P.previousPromises];i.layoutReplot?o.push(G.layoutReplot):Object.keys(n).length&&(fe(e,i,a)||P.supplyDefaults(e),i.legend&&o.push(G.doLegend),i.layoutstyle&&o.push(G.layoutStyles),i.axrange&&he(o,a.rangesAltered),i.ticks&&o.push(G.doTicksRelayout),i.modebar&&o.push(G.doModeBar),i.camera&&o.push(G.doCamera),i.colorbars&&o.push(G.doColorBars),o.push(Q)),o.push(P.rehover,P.redrag),O.add(e,de,[e,a.undoit],de,[e,a.redoit]);var l=L.syncOrAsync(o,e);return l&&l.then||(l=Promise.resolve(e)),l.then((function(){return e.emit("plotly_relayout",a.eventData),e}))}function fe(e,t,r){var n=e._fullLayout;if(!t.axrange)return!1;for(var a in t)if("axrange"!==a&&t[a])return!1;for(var i in r.rangesAltered){var o=E.id2name(i),l=e.layout[o],s=n[o];if(s.autorange=l.autorange,l.range&&(s.range=l.range.slice()),s.cleanRange(),s._matchGroup)for(var c in s._matchGroup)if(c!==i){var u=n[E.id2name(c)];u.autorange=s.autorange,u.range=s.range.slice(),u._input.range=s.range.slice()}}return!0}function he(e,t){var r=t?function(e){var r=[],n=!0;for(var a in t){var i=E.getFromId(e,a);if(r.push(a),-1!==(i.ticklabelposition||"").indexOf("inside")&&i._anchorAxis&&r.push(i._anchorAxis._id),i._matchGroup)for(var o in i._matchGroup)t[o]||r.push(o);i.automargin&&(n=!1)}return E.draw(e,r,{skipTitle:n})}:function(e){return E.draw(e,"redraw")};e.push(U,G.doAutoRangeAndConstraints,r,G.drawData,G.finalDraw)}var pe=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,ge=/^[xyz]axis[0-9]*\.autorange$/,ve=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function me(e,t){var r,n,a,i=e.layout,o=e._fullLayout,l=o._guiEditing,s=le(o._preGUI,l),c=Object.keys(t),u=E.list(e),d=L.extendDeepAll({},t),f={};for(ue(t),c=Object.keys(t),n=0;n0&&"string"!=typeof T.parts[A];)A--;var S=T.parts[A],I=T.parts[A-1]+"."+S,O=T.parts.slice(0,A).join("."),P=C(e.layout,O).get(),j=C(o,O).get(),R=T.get();if(void 0!==M){m[k]=M,y[k]="reverse"===S?M:oe(R);var N=z.getLayoutValObject(o,T.parts);if(N&&N.impliedEdits&&null!==M)for(var F in N.impliedEdits)x(L.relativeAttr(k,F),N.impliedEdits[F]);if(-1!==["width","height"].indexOf(k))if(M){x("autosize",null);var H="height"===k?"width":"height";x(H,o[H])}else o[k]=e._initialAutoSize[k];else if("autosize"===k)x("width",M?null:o.width),x("height",M?null:o.height);else if(I.match(pe))w(I),C(o,O+"._inputRange").set(null);else if(I.match(ge)){w(I),C(o,O+"._inputRange").set(null);var B=C(o,O).get();B._inputDomain&&(B._input.domain=B._inputDomain.slice())}else I.match(ve)&&C(o,O+"._inputDomain").set(null);if("type"===S){b=P;var U="linear"===j.type&&"log"===M,q="log"===j.type&&"linear"===M;if(U||q){if(b&&b.range)if(j.autorange)U&&(b.range=b.range[1]>b.range[0]?[1,2]:[2,1]);else{var G=b.range[0],X=b.range[1];U?(G<=0&&X<=0&&x(O+".autorange",!0),G<=0?G=X/1e6:X<=0&&(X=G/1e6),x(O+".range[0]",Math.log(G)/Math.LN10),x(O+".range[1]",Math.log(X)/Math.LN10)):(x(O+".range[0]",Math.pow(10,G)),x(O+".range[1]",Math.pow(10,X)))}else x(O+".autorange",!0);Array.isArray(o._subplots.polar)&&o._subplots.polar.length&&o[T.parts[0]]&&"radialaxis"===T.parts[1]&&delete o[T.parts[0]]._subplot.viewInitial["radialaxis.range"],D.getComponentMethod("annotations","convertCoords")(e,j,M,x),D.getComponentMethod("images","convertCoords")(e,j,M,x)}else x(O+".autorange",!0),x(O+".range",null);C(o,O+"._inputRange").set(null)}else if(S.match(W)){var Q=C(o,k).get(),J=(M||{}).type;J&&"-"!==J||(J="linear"),D.getComponentMethod("annotations","convertCoords")(e,Q,J,x),D.getComponentMethod("images","convertCoords")(e,Q,J,x)}var K=V.containerArrayMatch(k);if(K){r=K.array,n=K.index;var $=K.property,ee=N||{editType:"calc"};""!==n&&""===$&&(V.isAddVal(M)?y[k]=null:V.isRemoveVal(M)?y[k]=(C(i,r).get()||[])[n]:L.warn("unrecognized full object value",t)),Z.update(v,ee),f[r]||(f[r]={});var te=f[r][n];te||(te=f[r][n]={}),te[$]=M,delete t[k]}else"reverse"===S?(P.range?P.range.reverse():(x(O+".autorange",!0),P.range=[1,0]),j.autorange?v.calc=!0:v.plot=!0):(o._has("scatter-like")&&o._has("regl")&&"dragmode"===k&&("lasso"===M||"select"===M)&&"lasso"!==R&&"select"!==R||o._has("gl2d")?v.plot=!0:N?Z.update(v,N):v.calc=!0,T.set(M))}}for(r in f){V.applyContainerArrayChanges(e,s(i,r),f[r],v,s)||(v.plot=!0)}for(var re in _){var ne=(b=E.getFromId(e,re))&&b._constraintGroup;if(ne)for(var ae in v.calc=!0,ne)_[ae]||(E.getFromId(e,ae)._constraintShrinkable=!0)}return(ye(e)||t.height||t.width)&&(v.plot=!0),(v.plot||v.calc)&&(v.layoutReplot=!0),{flags:v,rangesAltered:_,undoit:y,redoit:m,eventData:d}}function ye(e){var t=e._fullLayout,r=t.width,n=t.height;return e.layout.autosize&&P.plotAutoSize(e,e.layout,t),t.width!==r||t.height!==n}function xe(e,t,r,n){if(e=L.getGraphDiv(e),Y.clearPromiseQueue(e),e.framework&&e.framework.isPolar)return Promise.resolve(e);L.isPlainObject(t)||(t={}),L.isPlainObject(r)||(r={}),Object.keys(t).length&&(e.changed=!0),Object.keys(r).length&&(e.changed=!0);var a=Y.coerceTraceIndices(e,n),i=ce(e,L.extendFlat({},t),a),o=i.flags,l=me(e,L.extendFlat({},r)),s=l.flags;(o.calc||s.calc)&&(e.calcdata=void 0),o.clearAxisTypes&&Y.clearAxisTypes(e,a,r);var c=[];s.layoutReplot?c.push(G.layoutReplot):o.fullReplot?c.push(T):(c.push(P.previousPromises),fe(e,s,l)||P.supplyDefaults(e),o.style&&c.push(G.doTraceStyle),(o.colorbars||s.colorbars)&&c.push(G.doColorBars),s.legend&&c.push(G.doLegend),s.layoutstyle&&c.push(G.layoutStyles),s.axrange&&he(c,l.rangesAltered),s.ticks&&c.push(G.doTicksRelayout),s.modebar&&c.push(G.doModeBar),s.camera&&c.push(G.doCamera),c.push(Q)),c.push(P.rehover,P.redrag),O.add(e,xe,[e,i.undoit,l.undoit,i.traces],xe,[e,i.redoit,l.redoit,i.traces]);var u=L.syncOrAsync(c,e);return u&&u.then||(u=Promise.resolve(e)),u.then((function(){return e.emit("plotly_update",{data:i.eventData,layout:l.eventData}),e}))}function be(e){return function(t){t._fullLayout._guiEditing=!0;var r=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,r}}var _e=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],we=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function ke(e,t){for(var r=0;r1;)if(n.pop(),void 0!==(r=C(t,n.join(".")+".uirevision").get()))return r;return t.uirevision}function Me(e,t){for(var r=0;r=a.length?a[0]:a[e]:a}function l(e){return Array.isArray(i)?e>=i.length?i[0]:i[e]:i}function s(e,t){var r=0;return function(){if(e&&++r===t)return e()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise((function(i,c){function u(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var t=n._currentFrame=n._frameQueue.shift();if(t){var r=t.name?t.name.toString():null;e._fullLayout._currentFrame=r,n._lastFrameAt=Date.now(),n._timeToNext=t.frameOpts.duration,P.transition(e,t.frame.data,t.frame.layout,Y.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then((function(){t.onComplete&&t.onComplete()})),e.emit("plotly_animatingframe",{name:r,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}function d(){e.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var t=function(){n._animationRaf=window.requestAnimationFrame(t),Date.now()-n._lastFrameAt>n._timeToNext&&u()};t()}var f,h,p=0;function g(e){return Array.isArray(a)?p>=a.length?e.transitionOpts=a[p]:e.transitionOpts=a[0]:e.transitionOpts=a,p++,e}var v=[],m=null==t,y=Array.isArray(t);if(!m&&!y&&L.isPlainObject(t))v.push({type:"object",data:g(L.extendFlat({},t))});else if(m||-1!==["string","number"].indexOf(typeof t))for(f=0;f0&&__)&&w.push(h);v=w}}v.length>0?function(t){if(0!==t.length){for(var a=0;a=0;n--)if(L.isPlainObject(t[n])){var f=t[n].name,h=(s[f]||d[f]||{}).name,p=t[n].name,g=s[h]||d[h];h&&p&&"number"==typeof p&&g&&X<5&&(X++,L.warn('addFrames: overwriting frame "'+(s[h]||d[h]).name+'" with a frame whose name of type "number" also equates to "'+h+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===X&&L.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),d[f]={name:f},u.push({frame:P.supplyFrameDefaults(t[n]),index:r&&void 0!==r[n]&&null!==r[n]?r[n]:c+n})}u.sort((function(e,t){return e.index>t.index?-1:e.index=0;n--){if("number"==typeof(a=u[n].frame).name&&L.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;s[a.name="frame "+e._transitionData._counter++];);if(s[a.name]){for(i=0;i=0;r--)n=t[r],i.push({type:"delete",index:n}),o.unshift({type:"insert",index:n,value:a[n]});var l=P.modifyFrames,s=P.modifyFrames,c=[e,o],u=[e,i];return O&&O.add(e,l,c,s,u),P.modifyFrames(e,i)},g=function e(t,r,n){t=L.getGraphDiv(t);var a,i,o=[],l=x,s=e,c=[t,o],u=[t,r];for(function(e,t,r){var n,a;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),n=0;n=0&&r=0&&r0&&o.length>a&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,l=u,console&&console.warn&&console.warn(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=d.bind(n);return a.listener=r,n.wrapFn=a,a}function h(e,t,r){var n=e._events;if(void 0===n)return[];var a=n[t];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(o=t[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)a(s,this,t);else{var c=s.length,u=g(s,c);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){o=r[i].listener,a=i;break}if(a<0)return this;0===a?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}})),i.register("7mZiM",(function(e,t){"use strict";var r=i("1nIvY"),n=i("24AkC").dfltConfig;var a={add:function(e,t,r,a,i){var o,l;e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},l=e.undoQueue.index,e.autoplay?e.undoQueue.inSequence||(e.autoplay=!1):(!e.undoQueue.sequence||e.undoQueue.beginSequence?(o={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(l,e.undoQueue.queue.length-l,o),e.undoQueue.index+=1):o=e.undoQueue.queue[l-1],e.undoQueue.beginSequence=!1,o&&(o.undo.calls.unshift(t),o.undo.args.unshift(r),o.redo.calls.push(a),o.redo.args.push(i)),e.undoQueue.queue.length>n.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var t,r;if(e.framework&&e.framework.isPolar)e.framework.undo();else if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;rf),(e=>f=e)),t(e.exports,"isValObject",(()=>a),(e=>a=e)),t(e.exports,"UNDERSCORE_ATTRS",(()=>u),(e=>u=e)),t(e.exports,"get",(()=>h),(e=>h=e)),t(e.exports,"getLayoutValObject",(()=>d),(e=>d=e)),t(e.exports,"IS_LINKED_TO_ARRAY",(()=>n),(e=>n=e)),t(e.exports,"IS_SUBPLOT_OBJ",(()=>c),(e=>c=e)),t(e.exports,"crawl",(()=>l),(e=>l=e)),t(e.exports,"getTraceValObject",(()=>s),(e=>s=e)),t(e.exports,"DEPRECATED",(()=>o),(e=>o=e));var p=i("4Hxcc"),g=i("1nIvY"),v=i("5zAUi"),m=i("5axlk"),y=i("6zb5J"),x=i("69Oag"),b=i("24AkC").configAttributes,_=i("3EgrR"),w=i("2QmIR"),k=i("1bSCj"),T=g.extendFlat,M=g.extendDeepAll,A=g.isPlainObject,S=g.isArrayOrTypedArray,L=g.nestedProperty,C=g.valObjectMeta,I="_isSubplotObj",O="_isLinkedToArray",D="_deprecated",z=[I,O,"_arrayAttrRegexps",D];function P(e,t,r){if(!e)return!1;if(e._isLinkedToArray)if(j(t[r]))r++;else if(r=i.length)return!1;if(2===e.dimensions){if(r++,t.length===r)return e;var o=t[r];if(!j(o))return!1;e=i[a][o]}else e=i[a]}else e=i}}return e}function j(e){return e===Math.round(e)&&e>=0}function E(){var e,t,r={};for(e in M(r,m),p.subplotsRegistry){if((t=p.subplotsRegistry[e]).layoutAttributes)if(Array.isArray(t.attr))for(var n=0;n=o.length)return!1;n=(r=(p.transformsRegistry[o[l].type]||{}).attributes)&&r[t[2]],i=3}else if("area"===e.type)n=_[a];else{var s=e._module;if(s||(s=(p.modules[e.type||v.type.dflt]||{})._module),!s)return!1;if(!(n=(r=s.attributes)&&r[a])){var c=s.basePlotModule;c&&c.attributes&&(n=c.attributes[a])}n||(n=v[a])}return P(n,t,i)},d=function(e,t){return P(function(e,t){var r,n,a,i,o=e._basePlotModules;if(o){var l;for(r=0;r* on the "+e+" axis.","Special values in the form of *M* could be used to declare","the number of months. In this case `n` must be a positive integer."].join(" ")}}function f(e){return{valType:"any",role:"info",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the base for period positioning in milliseconds or date string on the "+e+" axis.","When `"+e+"period` is round number of weeks,","the `"+e+"period0` by default would be on a Sunday i.e. 2000-01-02,","otherwise it would be at 2000-01-01."].join(" ")}}function h(e){return{valType:"enumerated",values:["start","middle","end"],dflt:"middle",role:"style",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the alignment of data points on the "+e+" axis."].join(" ")}}e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the x coordinates."},x0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `x`.","Builds a linear space of x coordinates.","Use with `dx`","where `x0` is the starting coordinate and `dx` the step."].join(" ")},dx:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the x coordinate step.","See `x0` for more info."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the y coordinates."},y0:{valType:"any",dflt:0,role:"info",editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `y`.","Builds a linear space of y coordinates.","Use with `dy`","where `y0` is the starting coordinate and `dy` the step."].join(" ")},dy:{valType:"number",dflt:1,role:"info",editType:"calc",anim:!0,description:["Sets the y coordinate step.","See `y0` for more info."].join(" ")},xperiod:d("x"),yperiod:d("y"),xperiod0:f("x0"),yperiod0:f("y0"),xperiodalignment:h("x"),yperiodalignment:h("y"),stackgroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["Set several scatter traces (on the same subplot) to the same","stackgroup in order to add their y values (or their x values if","`orientation` is *h*). If blank or omitted this trace will not be","stacked. Stacking also turns `fill` on by default, using *tonexty*","(*tonextx*) if `orientation` is *h* (*v*) and sets the default","`mode` to *lines* irrespective of point count.","You can only stack on a numeric (linear or log) axis.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},orientation:{valType:"enumerated",role:"info",values:["v","h"],editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`orientation` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`. Sets the","stacking direction. With *v* (*h*), the y (x) values of subsequent","traces are added. Also affects the default value of `fill`."].join(" ")},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`groupnorm` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Sets the normalization for the sum of this `stackgroup`.","With *fraction*, the value of each trace at each location is","divided by the sum of all trace values at that location.","*percent* is the same but multiplied by 100 to show percentages.","If there are multiple subplots, or multiple `stackgroup`s on one","subplot, each will be normalized within its own set."].join(" ")},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",role:"info",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`stackgaps` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Determines how we handle locations at which other traces in this","group have data but this one does not.","With *infer zero* we insert a zero at these locations.","With *interpolate* we linearly interpolate between existing","values, and extrapolate a constant beyond the existing values."].join(" ")},text:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"calc",description:["Sets text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},texttemplate:r({},{}),hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],role:"info",editType:"calc",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover.","If there are less than "+c.PTS_LINESONLY+" points","and the trace is not stacked","then the default is *lines+markers*. Otherwise, *lines*."].join(" ")},hoveron:{valType:"flaglist",flags:["points","fills"],role:"info",editType:"style",description:["Do the hover effects highlight individual points (markers or","line points) or do they highlight filled regions?","If the fill is *toself* or *tonext* and there are no markers","or text, then the default is *fills*, otherwise it is *points*."].join(" ")},hovertemplate:n({},{keys:c.eventDataKeys}),line:{color:{valType:"color",role:"style",editType:"style",anim:!0,description:"Sets the line color."},width:{valType:"number",min:0,dflt:2,role:"style",editType:"style",anim:!0,description:"Sets the line width (in px)."},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",role:"style",editType:"plot",description:["Determines the line shape.","With *spline* the lines are drawn using spline interpolation.","The other available values correspond to step-wise line shapes."].join(" ")},smoothing:{valType:"number",min:0,max:1.3,dflt:1,role:"style",editType:"plot",description:["Has an effect only if `shape` is set to *spline*","Sets the amount of smoothing.","*0* corresponds to no smoothing (equivalent to a *linear* shape)."].join(" ")},dash:u({},l,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Simplifies lines by removing nearly-collinear points. When transitioning","lines, it may be desirable to disable this so that the number of points","along the resulting SVG path is unaffected."].join(" ")},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the provided data arrays are connected."].join(" ")},cliponaxis:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines whether or not markers and text nodes","are clipped about the subplot axes.","To show markers and text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],role:"style",editType:"calc",description:["Sets the area to fill with a solid color.","Defaults to *none* unless this trace is stacked, then it gets","*tonexty* (*tonextx*) if `orientation` is *v* (*h*)","Use with `fillcolor` if not *none*.","*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.","*tonextx* and *tonexty* fill between the endpoints of this","trace and the endpoints of the trace before it, connecting those","endpoints with straight lines (to make a stacked area graph);","if there is no trace before it, they behave like *tozerox* and","*tozeroy*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},fillcolor:{valType:"color",role:"style",editType:"style",anim:!0,description:["Sets the fill color.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},marker:u({symbol:{valType:"enumerated",values:s.symbolList,dflt:"circle",arrayOk:!0,role:"style",editType:"style",description:["Sets the marker symbol type.","Adding 100 is equivalent to appending *-open* to a symbol name.","Adding 200 is equivalent to appending *-dot* to a symbol name.","Adding 300 is equivalent to appending *-open-dot*","or *dot-open* to a symbol name."].join(" ")},opacity:{valType:"number",min:0,max:1,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the marker opacity."},size:{valType:"number",min:0,dflt:6,arrayOk:!0,role:"style",editType:"calc",anim:!0,description:"Sets the marker size (in px)."},maxdisplayed:{valType:"number",min:0,dflt:0,role:"style",editType:"plot",description:["Sets a maximum number of points to be drawn on the graph.","*0* corresponds to no limit."].join(" ")},sizeref:{valType:"number",dflt:1,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the scale factor used to determine the rendered size of","marker points. Use with `sizemin` and `sizemode`."].join(" ")},sizemin:{valType:"number",min:0,dflt:0,role:"style",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the minimum size (in px) of the rendered marker points."].join(" ")},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",role:"info",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the rule for which the data in `size` is converted","to pixels."].join(" ")},line:u({width:{valType:"number",min:0,arrayOk:!0,role:"style",editType:"style",anim:!0,description:"Sets the width (in px) of the lines bounding the marker points."},editType:"calc"},a("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",role:"style",editType:"calc",description:["Sets the type of gradient used to fill the markers"].join(" ")},color:{valType:"color",arrayOk:!0,role:"style",editType:"calc",description:["Sets the final color of the gradient fill:","the center color for radial, the right for horizontal,","or the bottom for vertical."].join(" ")},editType:"calc"},editType:"calc"},a("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of selected points."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of selected points."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of selected points."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of selected points."},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,role:"style",editType:"style",description:"Sets the marker opacity of unselected points, applied only when a selection exists."},color:{valType:"color",role:"style",editType:"style",description:"Sets the marker color of unselected points, applied only when a selection exists."},size:{valType:"number",min:0,role:"style",editType:"style",description:"Sets the marker size of unselected points, applied only when a selection exists."},editType:"style"},textfont:{color:{valType:"color",role:"style",editType:"style",description:"Sets the text font color of unselected points, applied only when a selection exists."},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,role:"style",editType:"calc",description:["Sets the positions of the `text` elements","with respects to the (x,y) coordinates."].join(" ")},textfont:o({editType:"calc",colorEditType:"style",arrayOk:!0,description:"Sets the text font."}),r:{valType:"data_array",editType:"calc",description:["r coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the radial coordinates","for legacy polar chart only."].join("")},t:{valType:"data_array",editType:"calc",description:["t coordinates in scatter traces are deprecated!","Please switch to the *scatterpolar* trace type.","Sets the angular coordinates","for legacy polar chart only."].join("")}}})),i.register("61PQn",(function(e,r){var n,a;t(e.exports,"texttemplateAttrs",(()=>a),(e=>a=e)),t(e.exports,"hovertemplateAttrs",(()=>n),(e=>n=e));var o=['Variables are inserted using %{variable}, for example "y: %{y}".','Numbers are formatted using d3-format\'s syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".',i("01iJJ").FORMAT_LINK,"for details on the formatting syntax.",'Dates are formatted using d3-time-format\'s syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".',i("01iJJ").DATE_FORMAT_LINK,"for details on the date formatting syntax."].join(" ");function l(e){var t=e.description?" "+e.description:"",r=e.keys||[];if(r.length>0){for(var n=[],a=0;a` is displayed in the secondary box, for example "{fullData.name}".',"To hide the secondary box completely, use an empty tag ``."].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n},a=function(e,t){e=e||{};var r=l(t=t||{}),n={valType:"string",role:"info",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",o,"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n}})),i.register("01iJJ",(function(e,t){"use strict";e.exports={FORMAT_LINK:"https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format#locale_format"}})),i.register("3Lcu9",(function(e,t){"use strict";var r=i("37lMN"),n=i("3ImU3").counter,a=i("5Tt6Z").scales,o=Object.keys(a);function l(e){return"`"+e+"`"}e.exports=function(e,t){e=e||"";var i,s,c=(t=t||{}).cLetter||"c",u="onlyIfNumerical"in t?t.onlyIfNumerical:Boolean(e),d="noScale"in t?t.noScale:"marker.line"===e,f="showScaleDflt"in t?t.showScaleDflt:"z"===c,h="string"==typeof t.colorscaleDflt?a[t.colorscaleDflt]:null,p=t.editTypeOverride||"",g=e?e+".":"";"colorAttr"in t?(i=t.colorAttr,s=t.colorAttr):s="in "+l(g+(i={z:"z",c:"color"}[c]));var v=u?" Has an effect only if "+s+"is set to a numerical array.":"",m=c+"auto",y=c+"min",x=c+"max",b=c+"mid",_=l(g+m),w=l(g+y),k=l(g+x),T=w+" and "+k,M={};M[y]=M[x]=void 0;var A={};A[m]=!1;var S={};return"color"===i&&(S.color={valType:"color",arrayOk:!0,role:"style",editType:p||"style",description:["Sets the",e,"color."," It accepts either a specific color"," or an array of numbers that are mapped to the colorscale"," relative to the max and min values of the array or relative to"," "+T+" if set."].join("")},t.anim&&(S.color.anim=!0)),S[m]={valType:"boolean",role:"info",dflt:!0,editType:"calc",impliedEdits:M,description:["Determines whether or not the color domain is computed"," with respect to the input data (here "+s+") or the bounds set in"," ",T," ",v," Defaults to `false` when ",T," are set by the user."].join("")},S[y]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:A,description:["Sets the lower bound of the color domain.",v," Value should have the same units as ",s," and if set, ",k," must be set as well."].join("")},S[x]={valType:"number",role:"info",dflt:null,editType:p||"plot",impliedEdits:A,description:["Sets the upper bound of the color domain.",v," Value should have the same units as ",s," and if set, ",w," must be set as well."].join("")},S[b]={valType:"number",role:"info",dflt:null,editType:"calc",impliedEdits:M,description:["Sets the mid-point of the color domain by scaling ",w," and/or ",k," to be equidistant to this point.",v," Value should have the same units as ",s,". ","Has no effect when ",_," is `false`."].join("")},S.colorscale={valType:"colorscale",role:"style",editType:"calc",dflt:h,impliedEdits:{autocolorscale:!1},description:["Sets the colorscale.",v," The colorscale must be an array containing"," arrays mapping a normalized value to an"," rgb, rgba, hex, hsl, hsv, or named color string."," At minimum, a mapping for the lowest (0) and highest (1)"," values are required. For example,"," `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`."," To control the bounds of the colorscale in color space,"," use",T,"."," Alternatively, `colorscale` may be a palette name string"," of the following list: "+o+"."].join("")},S.autocolorscale={valType:"boolean",role:"style",dflt:!1!==t.autoColorDflt,editType:"calc",impliedEdits:{colorscale:void 0},description:["Determines whether the colorscale is a default palette (`autocolorscale: true`)"," or the palette determined by ",l(g+"colorscale"),".",v," In case `colorscale` is unspecified or `autocolorscale` is true, the default "," palette will be chosen according to whether numbers in the `color` array are"," all positive, all negative or mixed."].join("")},S.reversescale={valType:"boolean",role:"style",dflt:!1,editType:"plot",description:["Reverses the color mapping if true.",v," If true, ",w," will correspond to the last color"," in the array and ",k," will correspond to the first color."].join("")},d||(S.showscale={valType:"boolean",role:"info",dflt:f,editType:"calc",description:["Determines whether or not a colorbar is displayed for this trace.",v].join("")},S.colorbar=r),t.noColorAxis||(S.coloraxis={valType:"subplotid",role:"info",regex:n("coloraxis"),dflt:null,editType:"calc",description:["Sets a reference to a shared color axis.","References to these shared color axes are *coloraxis*, *coloraxis2*, *coloraxis3*, etc.","Settings for these shared color axes are set in the layout, under","`layout.coloraxis`, `layout.coloraxis2`, etc.","Note that multiple color scales can be linked to the same color axis."].join(" ")}),S}})),i.register("37lMN",(function(e,t){"use strict";var r=i("1bJQq"),n=i("10Nlb"),a=i("1ZM4z").extendFlat,o=i("1bSCj").overrideAll;e.exports=o({thicknessmode:{valType:"enumerated",values:["fraction","pixels"],role:"style",dflt:"pixels",description:["Determines whether this color bar's thickness","(i.e. the measure in the constant color direction)","is set in units of plot *fraction* or in *pixels*.","Use `thickness` to set the value."].join(" ")},thickness:{valType:"number",role:"style",min:0,dflt:30,description:["Sets the thickness of the color bar","This measure excludes the size of the padding, ticks and labels."].join(" ")},lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this color bar's length","(i.e. the measure in the color variation direction)","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the color bar","This measure excludes the padding of both ends.","That is, the color bar length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",dflt:1.02,min:-2,max:3,role:"style",description:["Sets the x position of the color bar (in plot fraction)."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"style",description:["Sets this color bar's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the color bar."].join(" ")},xpad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the x direction."},y:{valType:"number",role:"style",dflt:.5,min:-2,max:3,description:["Sets the y position of the color bar (in plot fraction)."].join(" ")},yanchor:{valType:"enumerated",values:["top","middle","bottom"],role:"style",dflt:"middle",description:["Sets this color bar's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the color bar."].join(" ")},ypad:{valType:"number",role:"style",min:0,dflt:10,description:"Sets the amount of padding (in px) along the y direction."},outlinecolor:r.linecolor,outlinewidth:r.linewidth,bordercolor:r.linecolor,borderwidth:{valType:"number",role:"style",min:0,dflt:0,description:["Sets the width (in px) or the border enclosing this color bar."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:"rgba(0,0,0,0)",description:"Sets the color of padded area."},tickmode:r.tickmode,nticks:r.nticks,tick0:r.tick0,dtick:r.dtick,tickvals:r.tickvals,ticktext:r.ticktext,ticks:a({},r.ticks,{dflt:""}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside bottom","inside bottom"],dflt:"outside",role:"info",description:["Determines where tick labels are drawn."].join(" ")},ticklen:r.ticklen,tickwidth:r.tickwidth,tickcolor:r.tickcolor,showticklabels:r.showticklabels,tickfont:n({description:"Sets the color bar's tick label font"}),tickangle:r.tickangle,tickformat:r.tickformat,tickformatstops:r.tickformatstops,tickprefix:r.tickprefix,showtickprefix:r.showtickprefix,ticksuffix:r.ticksuffix,showticksuffix:r.showticksuffix,separatethousands:r.separatethousands,exponentformat:r.exponentformat,minexponent:r.minexponent,showexponent:r.showexponent,title:{text:{valType:"string",role:"info",description:["Sets the title of the color bar.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:n({description:["Sets this color bar's title font.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),side:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:["Determines the location of color bar's title","with respect to the color bar.","Note that the title's location used to be set","by the now deprecated `titleside` attribute."].join(" ")}},_deprecated:{title:{valType:"string",role:"info",description:["Deprecated in favor of color bar's `title.text`.","Note that value of color bar's `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:n({description:"Deprecated in favor of color bar's `title.font`."}),titleside:{valType:"enumerated",values:["right","top","bottom"],role:"style",dflt:"top",description:"Deprecated in favor of color bar's `title.side`."}}},"colorbars","from-root")})),i.register("1bJQq",(function(e,t){"use strict";var r=i("10Nlb"),n=i("4f6io"),a=i("5wAu8").dash,o=i("1ZM4z").extendFlat,l=i("1IyjK").templatedArray,s=i("01iJJ").FORMAT_LINK,c=i("01iJJ").DATE_FORMAT_LINK,u=i("10TEj").ONEDAY,d=i("5Lafm"),f=d.HOUR_PATTERN,h=d.WEEKDAY_PATTERN;e.exports={visible:{valType:"boolean",role:"info",editType:"plot",description:["A single toggle to hide the axis while preserving interaction like dragging.","Default is true when a cheater plot is present on the axis, otherwise","false"].join(" ")},color:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:["Sets default for all colors associated with this axis","all at once: line, font, tick, and grid colors.","Grid color is lightened by blending this with the plot background","Individual pieces can override this."].join(" ")},title:{text:{valType:"string",role:"info",editType:"ticks",description:["Sets the title of this axis.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:r({editType:"ticks",description:["Sets this axis' title font.","Note that the title's font used to be customized","by the now deprecated `titlefont` attribute."].join(" ")}),standoff:{valType:"number",role:"info",min:0,editType:"ticks",description:["Sets the standoff distance (in px) between the axis labels and the title text","The default value is a function of the axis tick labels, the title `font.size`","and the axis `linewidth`.","Note that the axis title position is always constrained within the margins,","so the actual standoff distance is always less than the set or default value.","By setting `standoff` and turning on `automargin`, plotly.js will push the","margins to fit the axis title at given standoff distance."].join(" ")},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",role:"info",editType:"calc",_noTemplating:!0,description:["Sets the axis type.","By default, plotly attempts to determined the axis type","by looking into the data of the traces that referenced","the axis in question."].join(" ")},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",role:"info",editType:"calc",description:["Using *strict* a numeric string in trace data is not converted to a number.","Using *convert types* a numeric string in trace data may be","treated as a number during automatic axis `type` detection.","Defaults to layout.autotypenumbers."].join(" ")},autorange:{valType:"enumerated",values:[!0,!1,"reversed"],dflt:!0,role:"info",editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0},description:["Determines whether or not the range of this axis is","computed in relation to the input data.","See `rangemode` for more info.","If `range` is provided, then `autorange` is set to *false*."].join(" ")},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",role:"info",editType:"plot",description:["If *normal*, the range is computed in relation to the extrema","of the input data.","If *tozero*`, the range extends to 0,","regardless of the input data","If *nonnegative*, the range is non-negative,","regardless of the input data.","Applies only to linear axes."].join(" ")},range:{valType:"info_array",role:"info",items:[{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0},{valType:"any",editType:"axrange",impliedEdits:{"^autorange":!1},anim:!0}],editType:"axrange",impliedEdits:{autorange:!1},anim:!0,description:["Sets the range of this axis.","If the axis `type` is *log*, then you must take the log of your","desired range (e.g. to set the range from 1 to 100,","set the range from 0 to 2).","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},fixedrange:{valType:"boolean",dflt:!1,role:"info",editType:"calc",description:["Determines whether or not this axis is zoom-able.","If true, then zoom is disabled."].join(" ")},scaleanchor:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","changes together with the range of the corresponding axis","such that the scale of pixels per unit is in a constant ratio.","Both axes are still zoomable, but when you zoom one, the other will","zoom the same amount, keeping a fixed midpoint.","`constrain` and `constraintoward` determine how we enforce the constraint.","You can chain these, ie `yaxis: {scaleanchor: *x*}, xaxis2: {scaleanchor: *y*}`","but you can only link axes of the same `type`.","The linked axis can have the opposite letter (to constrain the aspect ratio)","or the same letter (to match scales across subplots).","Loops (`yaxis: {scaleanchor: *x*}, xaxis: {scaleanchor: *y*}` or longer) are redundant","and the last constraint encountered will be ignored to avoid possible","inconsistent constraints via `scaleratio`.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden."].join(" ")},scaleratio:{valType:"number",min:0,dflt:1,role:"info",editType:"plot",description:["If this axis is linked to another by `scaleanchor`, this determines the pixel","to unit scale ratio. For example, if this value is 10, then every unit on","this axis spans 10 times the number of pixels as a unit on the linked axis.","Use this for example to create an elevation profile where the vertical scale","is exaggerated a fixed amount with respect to the horizontal."].join(" ")},constrain:{valType:"enumerated",values:["range","domain"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines how that happens:","by increasing the *range*, or by decreasing the *domain*.","Default is *domain* for axes containing image traces, *range* otherwise."].join(" ")},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],role:"info",editType:"plot",description:["If this axis needs to be compressed (either due to its own `scaleanchor` and","`scaleratio` or those of the other axis), determines which direction we push","the originally specified plot area. Options are *left*, *center* (default),","and *right* for x axes, and *top*, *middle* (default), and *bottom* for y axes."].join(" ")},matches:{valType:"enumerated",values:[d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"calc",description:["If set to another axis id (e.g. `x2`, `y`), the range of this axis","will match the range of the corresponding axis in data-coordinates space.","Moreover, matching axes share auto-range values, category lists and","histogram auto-bins.","Note that setting axes simultaneously in both a `scaleanchor` and a `matches` constraint","is currently forbidden.","Moreover, note that matching axes must have the same `type`."].join(" ")},rangebreaks:l("rangebreak",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"calc",description:["Determines whether this axis rangebreak is enabled or disabled.","Please note that `rangebreaks` only work for *date* axis type."].join(" ")},bounds:{valType:"info_array",role:"info",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc",description:["Sets the lower and upper bounds of this axis rangebreak.","Can be used with `pattern`."].join(" ")},pattern:{valType:"enumerated",values:[h,f,""],role:"info",editType:"calc",description:["Determines a pattern on the time line that generates breaks.","If *"+h+"* - days of the week in English e.g. 'Sunday' or `sun`","(matching is case-insensitive and considers only the first three characters),","as well as Sunday-based integers between 0 and 6.","If *"+f+"* - hour (24-hour clock) as decimal numbers between 0 and 24.","for more info.","Examples:","- { pattern: '"+h+"', bounds: [6, 1] }"," or simply { bounds: ['sat', 'mon'] }"," breaks from Saturday to Monday (i.e. skips the weekends).","- { pattern: '"+f+"', bounds: [17, 8] }"," breaks from 5pm to 8am (i.e. skips non-work hours)."].join(" ")},values:{valType:"info_array",freeLength:!0,role:"info",editType:"calc",items:{valType:"any",editType:"calc"},description:["Sets the coordinate values corresponding to the rangebreaks.","An alternative to `bounds`.","Use `dvalue` to set the size of the values along the axis."].join(" ")},dvalue:{valType:"number",role:"info",editType:"calc",min:0,dflt:u,description:["Sets the size of each `values` item.","The default is one day in milliseconds."].join(" ")},editType:"calc"}),tickmode:{valType:"enumerated",values:["auto","linear","array"],role:"info",editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0},description:["Sets the tick mode for this axis.","If *auto*, the number of ticks is set via `nticks`.","If *linear*, the placement of the ticks is determined by","a starting position `tick0` and a tick step `dtick`","(*linear* is the default value if `tick0` and `dtick` are provided).","If *array*, the placement of the ticks is set via `tickvals`","and the tick text is `ticktext`.","(*array* is the default value if `tickvals` is provided)."].join(" ")},nticks:{valType:"integer",min:0,dflt:0,role:"style",editType:"ticks",description:["Specifies the maximum number of ticks for the particular axis.","The actual number of ticks will be chosen automatically to be","less than or equal to `nticks`.","Has an effect only if `tickmode` is set to *auto*."].join(" ")},tick0:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the placement of the first tick on this axis.","Use with `dtick`.","If the axis `type` is *log*, then you must take the log of your starting tick","(e.g. to set the starting tick to 100, set the `tick0` to 2)","except when `dtick`=*L* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",role:"style",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],role:"style",editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],role:"info",dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",role:"info",editType:"ticks",description:["Determines where tick labels are drawn with respect to their","corresponding ticks and grid lines.","Only has an effect for axes of `type` *date*","When set to *period*, tick labels are drawn in the middle of the period","between ticks."].join(" ")},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",role:"info",editType:"calc",description:["Determines where tick labels are drawn with respect to the axis","Please note that","top or bottom has no effect on x axes or when `ticklabelmode` is set to *period*.","Similarly","left or right has no effect on y axes or when `ticklabelmode` is set to *period*.","Has no effect on *multicategory* axes or when `tickson` is set to *boundaries*.","When used on axes linked by `matches` or `scaleanchor`,","no extra padding for inside labels would be added by autorange,","so that the scales could match."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,role:"style",editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,role:"style",editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,role:"style",editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,role:"style",editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:o({},a,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],role:"style",dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"data",role:"style",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:r({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",role:"style",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",role:"style",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",role:"style",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",role:"style",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,role:"style",editType:"ticks",description:["Hide SI prefix for 10^n if |n| is below this number.","This only has an effect when `tickformat` is *SI* or *B*."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,role:"style",editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",s,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:l("tickformatstop",{enabled:{valType:"boolean",role:"info",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",role:"info",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",role:"style",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",role:"style",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",s,"And for dates see:",c,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,role:"style",editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:n.lightLine,role:"style",editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",role:"style",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,role:"style",editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,role:"style",editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],role:"info",editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",d.idRegex.x.toString(),d.idRegex.y.toString()],role:"info",editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",role:"info",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",role:"info",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,role:"style",editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",role:"info",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",role:"info",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",role:"info",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",role:"info",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:r({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}})),i.register("1IyjK",(function(e,r){var n,a,o,l,s,c;t(e.exports,"arrayTemplater",(()=>n),(e=>n=e)),t(e.exports,"templatedArray",(()=>l),(e=>l=e)),t(e.exports,"traceTemplater",(()=>s),(e=>s=e)),t(e.exports,"arrayEditor",(()=>c),(e=>c=e)),t(e.exports,"newContainer",(()=>o),(e=>o=e)),t(e.exports,"arrayDefaultKey",(()=>a),(e=>a=e));var u=i("1nIvY"),d=i("5zAUi"),f={name:{valType:"string",role:"style",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function h(e){return e&&"string"==typeof e}function p(e){var t=e.length-1;return"s"!==e.charAt(t)&&u.warn("bad argument to arrayDefaultKey: "+e),e.substr(0,e.length-1)+"defaults"}f.templateitemname={valType:"string",role:"info",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},l=function(e,t){return t._isLinkedToArray=e,t.name=f.name,t.templateitemname=f.templateitemname,t},s=function(e){var t,r,n={};for(t in e)r=e[t],Array.isArray(r)&&r.length&&(n[t]=0);return{newTrace:function(a){var i={type:t=u.coerce(a,{},d,"type"),_template:null};if(t in n){r=e[t];var o=n[t]%r.length;n[t]++,i._template=r[o]}return i}}},o=function(e,t,r){var n=e._template,a=n&&(n[t]||r&&n[r]);return u.isPlainObject(a)||(a=null),e[t]={_template:a}},n=function(e,t,r){var n=e._template,a=n&&n[p(t)],i=n&&n[t];Array.isArray(i)&&i.length||(i=[]);var o={};return{newItem:function(e){var t={name:e.name,_input:e},n=t.templateitemname=e.templateitemname;if(!h(n))return t._template=a,t;for(var l=0;l=n&&(r._input||{})._templateitemname;i&&(a=n);var o,l=t+"["+a+"]";function s(){o={},i&&(o[l]={},o[l].templateitemname=i)}function c(e,t){i?u.nestedProperty(o[l],e).set(t):o[l+"."+e]=t}function d(){var e=o;return s(),e}return s(),{modifyBase:function(e,t){o[e]=t},modifyItem:c,getUpdateObj:d,applyUpdate:function(t,r){t&&c(t,r);var n=d();for(var a in n)u.nestedProperty(e,a).set(n[a])}}}})),i.register("5Lafm",(function(e,t){"use strict";var r=i("3ImU3").counter;e.exports={idRegex:{x:r("x","( domain)?"),y:r("y","( domain)?")},attrRegex:r("[xy]axis"),xAxisMatch:r("xaxis"),yAxisMatch:r("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}})),i.register("1bSCj",(function(e,t){"use strict";var r=i("1nIvY"),n=r.extendFlat,a=r.isPlainObject,o={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"],description:["trace attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*clearAxisTypes* resets the types of the axes this trace is on, because new data could","cause the automatic axis type detection to change. Log type will not be cleared, as that","is never automatically chosen so must have been user-specified.","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*style* only calls `module.style` (or module.editStyle) for all trace modules and redraws the legend.","*markerSize* is like *style*, but propagate axis-range changes due to scatter `marker.size`","*colorbars* only redraws colorbars."].join(" ")},l={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"],description:["layout attributes should include an `editType` string matching this flaglist.","*calc* is the most extensive: a full `Plotly.plot` starting by clearing `gd.calcdata`","to force it to be regenerated","*plot* calls `Plotly.plot` but without first clearing `gd.calcdata`.","*legend* only redraws the legend.","*ticks* only redraws axis ticks, labels, and gridlines.","*axrange* minimal sequence when updating axis ranges.","*layoutstyle* reapplies global and SVG cartesian axis styles.","*modebar* just updates the modebar.","*camera* just updates the camera settings for gl3d scenes.","*arraydraw* allows component arrays to invoke the redraw routines just for the","component(s) that changed.","*colorbars* only redraws colorbars."].join(" ")},s=o.flags.slice().concat(["fullReplot"]),c=l.flags.slice().concat("layoutReplot");function u(e){for(var t={},r=0;r=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}y.symbolNumber=function(e){if(n(e))e=+e;else if("string"==typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),(e=y.symbolNames.indexOf(e))>=0&&(e+=t)}return e%100>=b||e>=400?0:Math.floor(Math.max(e,0))};var w={x1:1,x2:0,y1:0,y2:0},k={x1:0,x2:0,y1:1,y2:0},T=r.format("~.1f"),M={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:w},horizontalreversed:{node:"linearGradient",attrs:w,reversed:!0},vertical:{node:"linearGradient",attrs:k},verticalreversed:{node:"linearGradient",attrs:k,reversed:!0}};y.gradient=function(e,t,n,i,o,s){for(var u=o.length,d=M[i],f=new Array(u),h=0;h"+m(e);p._gradientUrlQueryParts[y]=1},y.initGradients=function(e){var t=e._fullLayout;c.ensureSingle(t._defs,"g","gradients").selectAll("linearGradient,radialGradient").remove(),t._gradientUrlQueryParts={}},y.pointStyle=function(e,t,n){if(e.size()){var a=y.makePointStyleFns(t);e.each((function(e){y.singlePointStyle(e,r.select(this),t,a,n)}))}},y.singlePointStyle=function(e,t,r,n,a){var i=r.marker,o=i.line;if(t.style("opacity",n.selectedOpacityFn?n.selectedOpacityFn(e):void 0===e.mo?i.opacity:e.mo),n.ms2mrc){var s;s="various"===e.ms||"various"===i.size?3:n.ms2mrc(e.ms),e.mrc=s,n.selectedSizeFn&&(s=e.mrc=n.selectedSizeFn(e));var u=y.symbolNumber(e.mx||i.symbol)||0;e.om=u%200>=100,t.attr("d",_(u,s))}var d,f,h,p=!1;if(e.so)h=o.outlierwidth,f=o.outliercolor,d=i.outliercolor;else{var g=(o||{}).width;h=(e.mlw+1||g+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,f="mlc"in e?e.mlcc=n.lineScale(e.mlc):c.isArrayOrTypedArray(o.color)?l.defaultLine:o.color,c.isArrayOrTypedArray(i.color)&&(d=l.defaultLine,p=!0),d="mc"in e?e.mcc=n.markerScale(e.mc):i.color||"rgba(0,0,0,0)",n.selectedColorFn&&(d=n.selectedColorFn(e))}if(e.om)t.call(l.stroke,d).style({"stroke-width":(h||1)+"px",fill:"none"});else{t.style("stroke-width",(e.isBlank?0:h)+"px");var v=i.gradient,m=e.mgt;if(m?p=!0:m=v&&v.type,Array.isArray(m)&&(m=m[0],M[m]||(m=0)),m&&"none"!==m){var x=e.mgc;x?p=!0:x=v.color;var b=r.uid;p&&(b+="-"+e.i),y.gradient(t,a,b,m,[[0,x],[1,d]],"fill")}else l.fill(t,d);h&&l.stroke(t,f)}},y.makePointStyleFns=function(e){var t={},r=e.marker;return t.markerScale=y.tryColorscale(r,""),t.lineScale=y.tryColorscale(r,"line"),o.traceIs(e,"symbols")&&(t.ms2mrc=g.isBubble(e)?v(e):function(){return(r.size||6)/2}),e.selectedpoints&&c.extendFlat(t,y.makeSelectedPointStyleFns(e)),t},y.makeSelectedPointStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.marker||{},i=r.marker||{},l=n.marker||{},s=a.opacity,u=i.opacity,d=l.opacity,f=void 0!==u,h=void 0!==d;(c.isArrayOrTypedArray(s)||f||h)&&(t.selectedOpacityFn=function(e){var t=void 0===e.mo?a.opacity:e.mo;return e.selected?f?u:t:h?d:p*t});var g=a.color,v=i.color,m=l.color;(v||m)&&(t.selectedColorFn=function(e){var t=e.mcc||g;return e.selected?v||t:m||t});var y=a.size,x=i.size,b=l.size,_=void 0!==x,w=void 0!==b;return o.traceIs(e,"symbols")&&(_||w)&&(t.selectedSizeFn=function(e){var t=e.mrc||y/2;return e.selected?_?x/2:t:w?b/2:t}),t},y.makeSelectedTextStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.textfont||{},i=r.textfont||{},o=n.textfont||{},s=a.color,c=i.color,u=o.color;return t.selectedTextColorFn=function(e){var t=e.tc||s;return e.selected?c||t:u||(c?t:l.addOpacity(t,p))},t},y.selectedPointStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedPointStyleFns(t),a=t.marker||{},i=[];n.selectedOpacityFn&&i.push((function(e,t){e.style("opacity",n.selectedOpacityFn(t))})),n.selectedColorFn&&i.push((function(e,t){l.fill(e,n.selectedColorFn(t))})),n.selectedSizeFn&&i.push((function(e,t){var r=t.mx||a.symbol||0,i=n.selectedSizeFn(t);e.attr("d",_(y.symbolNumber(r),i)),t.mrc2=i})),i.length&&e.each((function(e){for(var t=r.select(this),n=0;n0?r:0}y.textPointStyle=function(e,t,n){if(e.size()){var a;if(t.selectedpoints){var i=y.makeSelectedTextStyleFns(t);a=i.selectedTextColorFn}var o=t.texttemplate,l=n._fullLayout;e.each((function(e){var i=r.select(this),s=o?c.extractOption(e,t,"txt","texttemplate"):c.extractOption(e,t,"tx","text");if(s||0===s){if(o){var u=t._module.formatLabels?t._module.formatLabels(e,t,l):{},f={};m(f,t,e.i);var h=t._meta||{};s=c.texttemplateString(s,u,l._d3locale,f,e,h)}var p=e.tp||t.textposition,g=L(e,t),v=a?a(e):e.tc||t.textfont.color;i.call(y.font,e.tf||t.textfont.family,g,v).text(s).call(d.convertToTspans,n).call(S,p,g,e.mrc)}else i.remove()}))}},y.selectedTextStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedTextStyleFns(t);e.each((function(e){var a=r.select(this),i=n.selectedTextColorFn(e),o=e.tp||t.textposition,s=L(e,t);l.fill(a,i),S(a,o,s,e.mrc2||e.mrc)}))}};function C(e,t,n,a){var i=e[0]-t[0],o=e[1]-t[1],l=n[0]-t[0],s=n[1]-t[1],c=Math.pow(i*i+o*o,.25),u=Math.pow(l*l+s*s,.25),d=(u*u*i-c*c*l)*a,f=(u*u*o-c*c*s)*a,h=3*u*(c+u),p=3*c*(c+u);return[[r.round(t[0]+(h&&d/h),2),r.round(t[1]+(h&&f/h),2)],[r.round(t[0]-(p&&d/p),2),r.round(t[1]-(p&&f/p),2)]]}y.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var r,n="M"+e[0],a=[];for(r=1;r=1e4&&(y.savedBBoxes={},D=0),n&&(y.savedBBoxes[n]=v),D++,c.extendFlat({},v)},y.setClipUrl=function(e,t,r){e.attr("clip-path",P(t,r))},y.getTranslate=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||0,y:+t[1]||0}},y.setTranslate=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||0,r=r||0,i=i.replace(/(\btranslate\(.*?\);?)/,"").trim(),i=(i+=u(t,r)).trim(),e[a]("transform",i),i},y.getScale=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||1,y:+t[1]||1}},y.setScale=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||1,r=r||1,i=i.replace(/(\bscale\(.*?\);?)/,"").trim(),i=(i+="scale("+t+","+r+")").trim(),e[a]("transform",i),i};var j=/\s*sc.*/;y.setPointGroupScale=function(e,t,r){if(t=t||1,r=r||1,e){var n=1===t&&1===r?"":"scale("+t+","+r+")";e.each((function(){var e=(this.getAttribute("transform")||"").replace(j,"");e=(e+=n).trim(),this.setAttribute("transform",e)}))}};var E=/translate\([^)]*\)\s*$/;y.setTextPointsScale=function(e,t,n){e&&e.each((function(){var e,a=r.select(this),i=a.select("text");if(i.node()){var o=parseFloat(i.attr("x")||0),l=parseFloat(i.attr("y")||0),s=(a.attr("transform")||"").match(E);e=1===t&&1===n?[]:[u(o,l),"scale("+t+","+n+")",u(-o,-l)],s&&e.push(s),a.attr("transform",e.join(""))}}))}})),i.register("3N5m7",(function(e,t){"use strict";var r=i("3Twc4"),n=i("6qr5h"),a=e.exports={},o=i("4f6io");a.defaults=o.defaults;var l=a.defaultLine=o.defaultLine;a.lightLine=o.lightLine;var s=a.background=o.background;function c(e){if(n(e)||"string"!=typeof e)return e;var t=e.trim();if("rgb"!==t.substr(0,3))return e;var r=t.match(/^rgba?\s*\(([^()]*)\)$/);if(!r)return e;var a=r[1].trim().split(/\s*[\s,]\s*/),i="a"===t.charAt(3)&&4===a.length;if(!i&&3!==a.length)return e;for(var o=0;o=0))return e;if(3===o)a[o]>1&&(a[o]=1);else if(a[o]>=1)return e}var l=Math.round(255*a[0])+", "+Math.round(255*a[1])+", "+Math.round(255*a[2]);return i?"rgba("+l+", "+a[3]+")":"rgb("+l+")"}a.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},a.rgb=function(e){return a.tinyRGB(r(e))},a.opacity=function(e){return e?r(e).getAlpha():0},a.addOpacity=function(e,t){var n=r(e).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+t+")"},a.combine=function(e,t){var n=r(e).toRgb();if(1===n.a)return r(e).toRgbString();var a=r(t||s).toRgb(),i=1===a.a?a:{r:255*(1-a.a)+a.r*a.a,g:255*(1-a.a)+a.g*a.a,b:255*(1-a.a)+a.b*a.a},o={r:i.r*(1-n.a)+n.r*n.a,g:i.g*(1-n.a)+n.g*n.a,b:i.b*(1-n.a)+n.b*n.a};return r(o).toRgbString()},a.contrast=function(e,t,n){var i=r(e);return 1!==i.getAlpha()&&(i=r(a.combine(e,s))),(i.isDark()?t?i.lighten(t):s:n?i.darken(n):l).toString()},a.stroke=function(e,t){var n=r(t);e.style({stroke:a.tinyRGB(n),"stroke-opacity":n.getAlpha()})},a.fill=function(e,t){var n=r(t);e.style({fill:a.tinyRGB(n),"fill-opacity":n.getAlpha()})},a.clean=function(e){if(e&&"object"==typeof e){var t,r,n,i,o=Object.keys(e);for(t=0;t=0;n--,a++){var i=e[n];r[a]=[1-i[0],i[1]]}return r}function p(e,t){t=t||{};for(var i=e.domain,o=e.range,s=o.length,c=new Array(s),u=0;ua),(e=>a=e)),t(e.exports,"tick0",(()=>n),(e=>n=e));var o=i("6qr5h"),l=i("1nIvY"),s=i("10TEj"),c=s.ONEDAY,u=s.ONEWEEK;a=function(e,t){var r="log"===t,n="date"===t,a="category"===t,i=n?c:1;if(!e)return i;if(o(e))return(e=Number(e))<=0?i:a?Math.max(1,Math.round(e)):n?Math.max(.1,e):e;if("string"!=typeof e||!n&&!r)return i;var l=e.charAt(0),s=e.substr(1);return(s=o(s)?Number(s):0)<=0||!(n&&"M"===l&&s===Math.round(s)||r&&"L"===l||r&&"D"===l&&(1===s||2===s))?i:e},n=function(e,t,r,n){return"date"===t?l.cleanDate(e,l.dateTick0(r,n%u==0?1:0)):"D1"!==n&&"D2"!==n?o(e)?Number(e):0:void 0}})),i.register("1NvHy",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1bJQq");e.exports=function(e,t,a,i){var o=r.coerce2(e,t,n,"ticklen"),l=r.coerce2(e,t,n,"tickwidth"),s=r.coerce2(e,t,n,"tickcolor",t.color);a("ticks",i.outerTicks||o||l||s?"outside":"")||(delete t.ticklen,delete t.tickwidth,delete t.tickcolor)}})),i.register("1YSll",(function(e,t){"use strict";var r=i("1nIvY"),n=i("3N5m7").contrast,a=i("1bJQq"),o=i("6pAgU");function l(e){var t=["showexponent","showtickprefix","showticksuffix"].filter((function(t){return void 0!==e[t]}));if(t.every((function(r){return e[r]===e[t[0]]}))||1===t.length)return e[t[0]]}function s(e,t){function n(n,i){return r.coerce(e,t,a.tickformatstops,n,i)}n("enabled")&&(n("dtickrange"),n("value"))}e.exports=function(e,t,i,c,u,d){d&&1!==d.pass||function(e,t,r,n,a){var i=l(e);r("tickprefix")&&r("showtickprefix",i);r("ticksuffix",a.tickSuffixDflt)&&r("showticksuffix",i)}(e,0,i,0,u),d&&2!==d.pass||function(e,t,i,c,u){var d=l(e);i("tickprefix")&&i("showtickprefix",d);i("ticksuffix",u.tickSuffixDflt)&&i("showticksuffix",d);if(i("showticklabels")){var f=u.font||{},h=t.color,p=-1!==(t.ticklabelposition||"").indexOf("inside")?n(u.bgColor):h&&h!==a.color.dflt?h:f.color;if(r.coerceFont(i,"tickfont",{family:f.family,size:f.size,color:p}),i("tickangle"),"category"!==c){var g=i("tickformat");o(e,t,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:s}),t.tickformatstops.length||delete t.tickformatstops,g||"date"===c||(i("showexponent",d),i("exponentformat"),i("minexponent"),i("separatethousands"))}}}(e,t,i,c,u)}})),i.register("6pAgU",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1IyjK");e.exports=function(e,t,a){var i,o,l=a.name,s=a.inclusionAttr||"visible",c=t[l],u=r.isArrayOrTypedArray(e[l])?e[l]:[],d=t[l]=[],f=n.arrayTemplater(t,l,s);for(i=0;ig-h?h=g-(p-g):p-g=0?l.colorscale.sequential:l.colorscale.sequentialminus,d._sync("colorscale",o))}})),i.register("49Q6h",(function(e,r){var n,a,o,l,s,c;t(e.exports,"positionText",(()=>c),(e=>c=e)),t(e.exports,"makeEditable",(()=>o),(e=>o=e)),t(e.exports,"lineCount",(()=>n),(e=>n=e)),t(e.exports,"convertToTspans",(()=>s),(e=>s=e)),t(e.exports,"plainText",(()=>a),(e=>a=e)),t(e.exports,"BR_TAG_ALL",(()=>l),(e=>l=e));var u=i("4Wia9"),d=i("1nIvY"),f=d.strTranslate,h=i("ipXll"),p=i("5n2uh").LINE_SPACING;function g(e,t){return e.node().getBoundingClientRect()[t]}var v=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;s=function(e,t,r){var n=e.text(),a=!e.attr("data-notex")&&"undefined"!=typeof MathJax&&n.match(v),i=u.select(e.node().parentNode);if(!i.empty()){var o=e.attr("class")?e.attr("class").split(" ")[0]:"text";return o+="-math",i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove(),e.style("display",null).attr({"data-unformatted":n,"data-math":"N"}),a?(t&&t._promises||[]).push(new Promise((function(t){e.style("display","none");var s=parseInt(e.node().style.fontSize,10),c={fontSize:s};!function(e,t,r){var n,a,i,o;MathJax.Hub.Queue((function(){return a=d.extendDeepAll({},MathJax.Hub.config),i=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})}),(function(){if("SVG"!==(n=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")}),(function(){var r="math-output-"+d.randstr({},64);return o=u.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":t.fontSize+"px"}).text(e.replace(m,"\\lt ").replace(y,"\\gt ")),MathJax.Hub.Typeset(o.node())}),(function(){var t=u.select("body").select("#MathJax_SVG_glyphs");if(o.select(".MathJax_SVG").empty()||!o.select("svg").node())d.log("There was an error in the tex syntax.",e),r();else{var a=o.select("svg").node().getBoundingClientRect();r(o.select(".MathJax_SVG"),t,a)}if(o.remove(),"SVG"!==n)return MathJax.Hub.setRenderer(n)}),(function(){return void 0!==i&&(MathJax.Hub.processSectionDelay=i),MathJax.Hub.Config(a)}))}(a[2],c,(function(a,c,u){i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove();var d=a&&a.select("svg");if(!d||!d.node())return l(),void t();var h=i.append("g").classed(o+"-group",!0).attr({"pointer-events":"none","data-unformatted":n,"data-math":"Y"});h.node().appendChild(d.node()),c&&c.node()&&d.node().insertBefore(c.node().cloneNode(!0),d.node().firstChild),d.attr({class:o,height:u.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var p=e.node().style.fill||"black",v=d.select("g");v.attr({fill:p,stroke:p});var m=g(v,"width"),y=g(v,"height"),x=+e.attr("x")-m*{start:0,middle:.5,end:1}[e.attr("text-anchor")||"start"],b=-(s||g(e,"height"))/4;"y"===o[0]?(h.attr({transform:"rotate("+[-90,+e.attr("x"),+e.attr("y")]+")"+f(-m/2,b-y/2)}),d.attr({x:+e.attr("x"),y:+e.attr("y")})):"l"===o[0]?d.attr({x:e.attr("x"),y:b-y/2}):"a"===o[0]&&0!==o.indexOf("atitle")?d.attr({x:0,y:b}):d.attr({x:x,y:+e.attr("y")+b-y/2}),r&&r.call(e,h),t(h)}))}))):l(),e}function l(){i.empty()||(o=e.attr("class")+"-math",i.select("svg."+o).remove()),e.text("").style("white-space","pre"),function(e,t){t=t.replace(T," ");var r,n=!1,a=[],i=-1;function o(){i++;var t=document.createElementNS(h.svg,"tspan");u.select(t).attr({class:"line",dy:i*p+"em"}),e.appendChild(t),r=t;var n=a;if(a=[{node:t}],n.length>1)for(var o=1;o doesnt match end tag <"+e+">. Pretending it did match.",t),r=a[a.length-1].node}else d.log("Ignoring unexpected end tag .",t)}S.test(t)?o():(r=e,a=[{node:e}]);for(var f=t.split(M),g=0;g|>|>)/g;var x={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},b={sub:"0.3em",sup:"-0.6em"},_={sub:"-0.21em",sup:"0.42em"},w="โ€‹",k=["http:","https:","mailto:","",void 0,":"],T=/(\r\n?|\n)/g,M=/(<[^<>]*>)/,A=/<(\/?)([^ >]*)(\s+(.*))?>/i,S=//i;l=//gi;var L=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,C=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,I=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,O=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function D(e,t){if(!e)return null;var r=e.match(t),n=r&&(r[3]||r[4]);return n&&E(n)}var z=/(^|;)\s*color:/;a=function(e,t){for(var r=void 0!==(t=t||{}).len&&-1!==t.len?t.len:1/0,n=void 0!==t.allowedTags?t.allowedTags:["br"],a="...".length,i=e.split(M),o=[],l="",s=0,c=0;ca?o.push(u.substr(0,p-a)+"..."):o.push(u.substr(0,p));break}l=""}}return o.join("")};var P={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร—",plusmn:"ยฑ",deg:"ยฐ"},j=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function E(e){return e.replace(j,(function(e,t){return("#"===t.charAt(0)?function(e){if(e>1114111)return;var t=String.fromCodePoint;if(t)return t(e);var r=String.fromCharCode;return e<=65535?r(e):r(55232+(e>>10),e%1024+56320)}("x"===t.charAt(1)?parseInt(t.substr(2),16):parseInt(t.substr(1),10)):P[t])||e}))}function R(e,t,r){var n,a,i,o=r.horizontalAlign,l=r.verticalAlign||"top",s=e.node().getBoundingClientRect(),c=t.node().getBoundingClientRect();return a="bottom"===l?function(){return s.bottom-n.height}:"middle"===l?function(){return s.top+(s.height-n.height)/2}:function(){return s.top},i="right"===o?function(){return s.right-n.width}:"center"===o?function(){return s.left+(s.width-n.width)/2}:function(){return s.left},function(){n=this.node().getBoundingClientRect();var e=i()-c.left,t=a()-c.top,o=r.gd||{};if(r.gd){o._fullLayout._calcInverseTransform(o);var l=d.apply3DTransform(o._fullLayout._invTransform)(e,t);e=l[0],t=l[1]}return this.style({top:t+"px",left:e+"px","z-index":1e3}),this}}n=function(e){return e.selectAll("tspan.line").size()||1},c=function(e,t,r){return e.each((function(){var e=u.select(this);function n(t,r){return void 0===r?null===(r=e.attr(t))&&(e.attr(t,0),r=0):e.attr(t,r),r}var a=n("x",t),i=n("y",r);"text"===this.nodeName&&e.selectAll("tspan.line").attr({x:a,y:i})}))},o=function(e,t){var r=t.gd,n=t.delegate,a=u.dispatch("edit","input","cancel"),i=n||e;if(e.style({"pointer-events":n?"none":"all"}),1!==e.size())throw new Error("boo");function o(){!function(){var n=u.select(r).select(".svg-container"),i=n.append("div"),o=e.node().style,s=parseFloat(o.fontSize||12),c=t.text;void 0===c&&(c=e.attr("data-unformatted"));i.classed("plugin-editable editable",!0).style({position:"absolute","font-family":o.fontFamily||"Arial","font-size":s,color:t.fill||o.fill||"black",opacity:1,"background-color":t.background||"transparent",outline:"#ffffff33 1px solid",margin:[-s/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(c).call(R(e,n,t)).on("blur",(function(){r._editing=!1,e.text(this.textContent).style({opacity:1});var t,n=u.select(this).attr("class");(t=n?"."+n.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(t).style({opacity:0});var i=this.textContent;u.select(this).transition().duration(0).remove(),u.select(document).on("mouseup",null),a.edit.call(e,i)})).on("focus",(function(){var e=this;r._editing=!0,u.select(document).on("mouseup",(function(){if(u.event.target===e)return!1;document.activeElement===i.node()&&i.node().blur()}))})).on("keyup",(function(){27===u.event.which?(r._editing=!1,e.style({opacity:1}),u.select(this).style({opacity:0}).on("blur",(function(){return!1})).transition().remove(),a.cancel.call(e,this.textContent)):(a.input.call(e,this.textContent),u.select(this).call(R(e,n,t)))})).on("keydown",(function(){13===u.event.which&&this.blur()})).call(l)}(),e.style({opacity:0});var n,o=i.attr("class");(n=o?"."+o.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(n).style({opacity:0})}function l(e){var t=e.node(),r=document.createRange();r.selectNodeContents(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(r),t.focus()}return t.immediate?o():i.on("click",o),u.rebind(e,a,"on")}})),i.register("ipXll",(function(e,r){var n,a,i,o;t(e.exports,"xlink",(()=>o),(e=>o=e)),t(e.exports,"svg",(()=>i),(e=>i=e)),t(e.exports,"xmlns",(()=>a),(e=>a=e)),t(e.exports,"svgAttrs",(()=>n),(e=>n=e)),a="http://www.w3.org/2000/xmlns/",n={xmlns:i="http://www.w3.org/2000/svg","xmlns:xlink":o="http://www.w3.org/1999/xlink"}})),i.register("5n2uh",(function(e,t){"use strict";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}})),i.register("5EGfs",(function(e,t){"use strict";var r=i("1nIvY");e.exports={hasLines:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("lines")},hasMarkers:function(e){return e.visible&&(e.mode&&-1!==e.mode.indexOf("markers")||"splom"===e.type)},hasText:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("text")},isBubble:function(e){return r.isPlainObject(e.marker)&&r.isArrayOrTypedArray(e.marker.size)}}})),i.register("2hpTa",(function(e,t){"use strict";var r=i("6qr5h");e.exports=function(e){var t=e.marker,n=t.sizeref||1,a=t.sizemin||0,i="area"===t.sizemode?function(e){return Math.sqrt(e/n)}:function(e){return e/n};return function(e){var t=i(e/2);return r(t)&&t>0?Math.max(t,a):0}}})),i.register("2MtC7",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v;t(e.exports,"isXYhover",(()=>d),(e=>d=e)),t(e.exports,"quadrature",(()=>o),(e=>o=e)),t(e.exports,"appendArrayPointValue",(()=>h),(e=>h=e)),t(e.exports,"inbox",(()=>g),(e=>g=e)),t(e.exports,"isUnifiedHover",(()=>u),(e=>u=e)),t(e.exports,"p2c",(()=>n),(e=>n=e)),t(e.exports,"getDistanceFunction",(()=>f),(e=>f=e)),t(e.exports,"flat",(()=>a),(e=>a=e)),t(e.exports,"makeEventData",(()=>l),(e=>l=e)),t(e.exports,"isTraceInSubplots",(()=>p),(e=>p=e)),t(e.exports,"getClosest",(()=>s),(e=>s=e)),t(e.exports,"getSubplot",(()=>v),(e=>v=e)),t(e.exports,"appendArrayMultiPointValues",(()=>c),(e=>c=e));var m=i("1nIvY");v=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo},p=function(e,t){if("splom"===e.type){for(var r=e.xaxes||[],n=e.yaxes||[],a=0;a=0&&r.index=t.width-20?(i["text-anchor"]="start",i.x=5):(i["text-anchor"]="end",i.x=t._paper.attr("width")-7),n.attr(i);var o=n.select(".js-link-to-tool"),l=n.select(".js-link-spacer"),s=n.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&function(e,t){t.text("");var r=t.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(e._context.linkText+" "+String.fromCharCode(187));if(e._context.sendData)r.on("click",(function(){x.sendDataToCloud(e)}));else{var n=window.location.pathname.split("/"),a=window.location.search;r.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+n[2].split(".")[0]+"/"+n[1]+a})}}(e,o),l.text(o.text()&&s.text()?" - ":"")}},x.sendDataToCloud=function(e){var t=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(t){e.emit("plotly_beforeexport");var n=r.select(e).append("div").attr("id","hiddenform").style("display","none"),a=n.append("form").attr({action:t+"/external",method:"post",target:"_blank"});return a.append("input").attr({type:"text",name:"data"}).node().value=x.graphJson(e,!1,"keepdata"),a.node().submit(),n.remove(),e.emit("plotly_afterexport"),!1}};var w=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],k=["year","month","dayMonth","dayMonthYear"];function T(e,t){var r=e._context.locale;r||(r="en-US");var n=!1,a={};function i(e){for(var r=!0,i=0;i1&&P.length>1){for(o.getComponentMethod("grid","sizeDefaults")(u,s),l=0;l15&&P.length>15&&0===s.shapes.length&&0===s.images.length,s._hasCartesian=s._has("cartesian"),s._hasGeo=s._has("geo"),s._hasGL3D=s._has("gl3d"),s._hasGL2D=s._has("gl2d"),s._hasTernary=s._has("ternary"),s._hasPie=s._has("pie"),x.linkSubplots(f,s,d,i),x.cleanPlot(f,s,d,i);var F=!(!i._has||!i._has("gl2d")),H=!(!s._has||!s._has("gl2d")),B=!(!i._has||!i._has("cartesian"))||F,U=!(!s._has||!s._has("cartesian"))||H;B&&!U?i._bgLayer.remove():U&&!B&&(s._shouldCreateBgLayer=!0),i._zoomlayer&&!e._dragging&&h({_fullLayout:i}),function(e,t){var r,n=[];t.meta&&(r=t._meta={meta:t.meta,layout:{meta:t.meta}});for(var a=0;a0){var d=1-2*l;n=Math.round(d*n),i=Math.round(d*i)}}var f=x.layoutAttributes.width.min,h=x.layoutAttributes.height.min;n1,g=!t.height&&Math.abs(r.height-i)>1;(g||p)&&(p&&(r.width=n),g&&(r.height=i)),e._initialAutoSize||(e._initialAutoSize={width:n,height:i}),x.sanitizeMargins(r)},x.supplyLayoutModuleDefaults=function(e,t,r,n){var a,i,l,s=o.componentsRegistry,u=t._basePlotModules,d=o.subplotsRegistry.cartesian;for(a in s)(l=s[a]).includeBasePlot&&l.includeBasePlot(e,t);for(var f in u.length||u.push(d),t._has("cartesian")&&(o.getComponentMethod("grid","contentDefaults")(e,t),d.finalizeSubplots(e,t)),t._subplots)t._subplots[f].sort(c.subplotSort);for(i=0;i1&&(r.l/=g,r.r/=g)}if(d){var v=(r.t+r.b)/d;v>1&&(r.t/=v,r.b/=v)}var m=void 0!==r.xl?r.xl:r.x,y=void 0!==r.xr?r.xr:r.x,b=void 0!==r.yt?r.yt:r.y,_=void 0!==r.yb?r.yb:r.y;f[t]={l:{val:m,size:r.l+p},r:{val:y,size:r.r+p},b:{val:_,size:r.b+p},t:{val:b,size:r.t+p}},h[t]=1}else delete f[t],delete h[t];if(!n._replotting)return x.doAutoMargin(e)}},x.doAutoMargin=function(e){var t=e._fullLayout,r=t.width,n=t.height;t._size||(t._size={}),C(t);var i=t._size,l=t.margin,s=c.extendFlat({},i),u=l.l,d=l.r,h=l.t,p=l.b,g=t._pushmargin,v=t._pushmarginIds;if(!1!==t.margin.autoexpand){for(var m in g)v[m]||delete g[m];for(var y in g.base={l:{val:0,size:u},r:{val:1,size:d},t:{val:1,size:h},b:{val:0,size:p}},g){var b=g[y].l||{},_=g[y].b||{},w=b.val,k=b.size,T=_.val,M=_.size;for(var A in g){if(a(k)&&g[A].r){var S=g[A].r.val,L=g[A].r.size;if(S>w){var I=(k*S+(L-r)*w)/(S-w),O=(L*(1-w)+(k-r)*(1-S))/(S-w);I+O>u+d&&(u=I,d=O)}}if(a(M)&&g[A].t){var D=g[A].t.val,z=g[A].t.size;if(D>T){var P=(M*D+(z-n)*T)/(D-T),j=(z*(1-T)+(M-n)*(1-D))/(D-T);P+j>p+h&&(p=P,h=j)}}}}}var E=c.constrain(r-l.l-l.r,2,64),R=c.constrain(n-l.t-l.b,2,64),N=Math.max(0,r-E),F=Math.max(0,n-R);if(N){var H=(u+d)/N;H>1&&(u/=H,d/=H)}if(F){var B=(p+h)/F;B>1&&(p/=B,h/=B)}if(i.l=Math.round(u),i.r=Math.round(d),i.t=Math.round(h),i.b=Math.round(p),i.p=Math.round(l.pad),i.w=Math.round(r)-i.l-i.r,i.h=Math.round(n)-i.t-i.b,!t._replotting&&x.didMarginChange(s,i)){"_redrawFromAutoMarginCount"in t?t._redrawFromAutoMarginCount++:t._redrawFromAutoMarginCount=1;var U=3*(1+Object.keys(v).length);if(t._redrawFromAutoMarginCount0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push((function(){n=!0})),r.redraw&&e._transitionData._interruptCallbacks.push((function(){return o.call("redraw",e)})),e._transitionData._interruptCallbacks.push((function(){e.emit("plotly_transitioninterrupted",[])}));var i=0,l=0;function s(){return i++,function(){l++,n||l!==i||function(t){if(!e._transitionData)return;(function(e){if(e)for(;e.length;)e.shift()})(e._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(r.redraw)return o.call("redraw",e)})).then((function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])})).then(t)}(a)}}r.runFn(s),setTimeout(s())}))}],i=c.syncOrAsync(a,e);return i&&i.then||(i=Promise.resolve()),i.then((function(){return e}))}x.didMarginChange=function(e,t){for(var r=0;r1)return!0}return!1},x.graphJson=function(e,t,r,n,a,i){(a&&t&&!e._fullData||a&&!t&&!e._fullLayout)&&x.supplyDefaults(e);var o=a?e._fullData:e.data,l=a?e._fullLayout:e.layout,s=(e._transitionData||{})._frames;function u(e,t){if("function"==typeof e)return t?"_function_":null;if(c.isPlainObject(e)){var n,a={};return Object.keys(e).sort().forEach((function(i){if(-1===["_","["].indexOf(i.charAt(0)))if("function"!=typeof e[i]){if("keepdata"===r){if("src"===i.substr(i.length-3))return}else if("keepstream"===r){if("string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0&&!c.isPlainObject(e.stream))return}else if("keepall"!==r&&"string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0)return;a[i]=u(e[i],t)}else t&&(a[i]="_function")})),a}return Array.isArray(e)?e.map((function(e){return u(e,t)})):c.isTypedArray(e)?c.simpleMap(e,c.identity):c.isJSDate(e)?c.ms2DateTimeLocal(+e):e}var d={data:(o||[]).map((function(e){var r=u(e);return t&&delete r.fit,r}))};if(!t&&(d.layout=u(l),a)){var f=l._size;d.layout.computed={margin:{b:f.b,l:f.l,r:f.r,t:f.t}}}return e.framework&&e.framework.isPolar&&(d=e.framework.getConfig()),s&&(d.frames=u(s)),i&&(d.config=u(e._context,!0)),"object"===n?d:JSON.stringify(d)},x.modifyFrames=function(e,t){var r,n,a,i=e._transitionData._frames,o=e._transitionData._frameHash;for(r=0;r=0;i--)if(l[i].enabled){r._indexToPoints=l[i]._indexToPoints;break}n&&n.calc&&(o=n.calc(e,r))}Array.isArray(o)&&o[0]||(o=[{x:d,y:d}]),o[0].t||(o[0].t={}),o[0].trace=r,p[t]=o}}for(z(s,u,h),a=0;ac),(e=>c=e)),t(e.exports,"getFromTrace",(()=>h),(e=>h=e)),t(e.exports,"name2id",(()=>u),(e=>u=e)),t(e.exports,"listIds",(()=>l),(e=>l=e)),t(e.exports,"isLinked",(()=>o),(e=>o=e)),t(e.exports,"idSort",(()=>a),(e=>a=e)),t(e.exports,"cleanId",(()=>d),(e=>d=e)),t(e.exports,"id2name",(()=>s),(e=>s=e)),t(e.exports,"ref2id",(()=>n),(e=>n=e)),t(e.exports,"getFromId",(()=>f),(e=>f=e));var p=i("4Hxcc"),g=i("5Lafm");function v(e,t){if(t&&t.length)for(var r=0;rn?1:-1:+(e.substr(1)||1)-+(t.substr(1)||1)},n=function(e){return!!/^[xyz]/.test(e)&&e.split(" ")[0]},o=function(e,t){return v(t,e._axisMatchGroups)||v(t,e._axisConstraintGroups)}})),i.register("6VTTP",(function(e,t){"use strict";e.exports={clearOutlineControllers:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".outline-controllers").remove()},clearSelect:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".select-outline").remove(),e._fullLayout._drawing=!1}}})),i.register("CkVc5",(function(e,r){var n;t(e.exports,"getModuleCalcData",(()=>n),(e=>n=e));var a=i("4Hxcc"),o=i("5Lafm").SUBPLOT_PATTERN;n=function(e,t){var r,n=[],i=[];if(!(r="string"==typeof t?a.getModule(t).plot:"function"==typeof t?t:t.plot))return[n,e];for(var o=0;oa),(e=>a=e)),t(e.exports,"executeAPICommand",(()=>l),(e=>l=e)),t(e.exports,"hasSimpleAPICommandBindings",(()=>n),(e=>n=e)),t(e.exports,"manageCommandObserver",(()=>o),(e=>o=e));var s=i("4Hxcc"),c=i("1nIvY");function u(e,t,r){var n,a,i,o=!1;if("data"===t.type)n=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;n=e._fullLayout}return a=c.nestedProperty(n,t.prop).get(),(i=r[t.type]=r[t.type]||{}).hasOwnProperty(t.prop)&&i[t.prop]!==a&&(o=!0),i[t.prop]=a,{changed:o,value:a}}function d(e,t){var r=[],n=t[0],a={};if("string"==typeof n)a[n]=t[1];else{if(!c.isPlainObject(n))return r;a=n}return h(a,(function(e,t,n){r.push({type:"layout",prop:e,value:n})}),"",0),r}function f(e,t){var r,n,a,i,o=[];if(n=t[0],a=t[1],r=t[2],i={},"string"==typeof n)i[n]=a;else{if(!c.isPlainObject(n))return o;i=n,void 0===r&&(r=a)}return void 0===r&&(r=null),h(i,(function(t,n,a){var i,l;if(Array.isArray(a)){l=a.slice();var s=Math.min(l.length,e.data.length);r&&(s=Math.min(s,r.length)),i=[];for(var c=0;c0?".":"")+a;c.isPlainObject(i)?h(i,t,o,n+1):t(o,a,i)}}))}o=function(e,t,r,a){var i={},o=!0;t&&t._commandObserver&&(i=t._commandObserver),i.cache||(i.cache={}),i.lookupTable={};var l=n(e,r,i.lookupTable);if(t&&t._commandObserver){if(l)return i;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,i}if(l){u(e,l,i.cache),i.check=function(){if(o){var t=u(e,l,i.cache);return t.changed&&a&&void 0!==i.lookupTable[t.value]&&(i.disable(),Promise.resolve(a({value:t.value,type:l.type,prop:l.prop,traces:l.traces,index:i.lookupTable[t.value]})).then(i.enable,i.enable)),t.changed}};for(var s=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d=0?f.angularAxis.domain:r.extent(k),L=Math.abs(k[1]-k[0]);M&&!T&&(L=0);var C=S.slice();A&&T&&(C[1]+=L);var I=f.angularAxis.ticksCount||4;I>8&&(I=I/(I/8)+I%8),f.angularAxis.ticksStep&&(I=(C[1]-C[0])/I);var O=f.angularAxis.ticksStep||(C[1]-C[0])/(I*(f.minorTicks+1));w&&(O=Math.max(Math.round(O),1)),C[2]||(C[2]=O);var D=r.range.apply(this,C);if(D=D.map((function(e,t){return parseFloat(e.toPrecision(12))})),l=r.scale.linear().domain(C.slice(0,2)).range("clockwise"===f.direction?[0,360]:[360,0]),u.layout.angularAxis.domain=l.domain(),u.layout.angularAxis.endPadding=A?L:0,void 0===(e=r.select(this).select("svg.chart-root"))||e.empty()){var z=(new DOMParser).parseFromString("' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '","application/xml"),P=this.appendChild(this.ownerDocument.importNode(z.documentElement,!0));e=r.select(P)}e.select(".guides-group").style({"pointer-events":"none"}),e.select(".angular.axis-group").style({"pointer-events":"none"}),e.select(".radial.axis-group").style({"pointer-events":"none"});var j,E=e.select(".chart-group"),R={fill:"none",stroke:f.tickColor},N={"font-size":f.font.size,"font-family":f.font.family,fill:f.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map((function(e,t){return" "+e+" 0 "+f.font.outlineColor})).join(",")};if(f.showLegend){j=e.select(".legend-group").attr({transform:"translate("+[x,f.margin.top]+")"}).style({display:"block"});var F=h.map((function(e,t){var r=o.util.cloneJson(e);return r.symbol="DotPlot"===e.geometry?e.dotType||"circle":"LinePlot"!=e.geometry?"square":"line",r.visibleInLegend=void 0===e.visibleInLegend||e.visibleInLegend,r.color="LinePlot"===e.geometry?e.strokeColor:e.color,r}));o.Legend().config({data:h.map((function(e,t){return e.name||"Element"+t})),legendConfig:n({},o.Legend.defaultConfig().legendConfig,{container:j,elements:F,reverseOrder:f.legend.reverseOrder})})();var H=j.node().getBBox();x=Math.min(f.width-H.width-f.margin.left-f.margin.right,f.height-f.margin.top-f.margin.bottom)/2,x=Math.max(10,x),_=[f.margin.left+x,f.margin.top+x],i.range([0,x]),u.layout.radialAxis.domain=i.domain(),j.attr("transform","translate("+[_[0]+x,_[1]-x]+")")}else j=e.select(".legend-group").style({display:"none"});e.attr({width:f.width,height:f.height}).style({opacity:f.opacity}),E.attr("transform","translate("+_+")").style({cursor:"crosshair"});var B=[(f.width-(f.margin.left+f.margin.right+2*x+(H?H.width:0)))/2,(f.height-(f.margin.top+f.margin.bottom+2*x))/2];if(B[0]=Math.max(0,B[0]),B[1]=Math.max(0,B[1]),e.select(".outer-group").attr("transform","translate("+B+")"),f.title&&f.title.text){var U=e.select("g.title-group text").style(N).text(f.title.text),q=U.node().getBBox();U.attr({x:_[0]-q.width/2,y:_[1]-x-20})}var V=e.select(".radial.axis-group");if(f.radialAxis.gridLinesVisible){var Y=V.selectAll("circle.grid-circle").data(i.ticks(5));Y.enter().append("circle").attr({class:"grid-circle"}).style(R),Y.attr("r",i),Y.exit().remove()}V.select("circle.outside-circle").attr({r:x}).style(R);var G=e.select("circle.background-circle").attr({r:x}).style({fill:f.backgroundColor,stroke:f.stroke});function Z(e,t){return l(e)%360+f.orientation}if(f.radialAxis.visible){var W=r.svg.axis().scale(i).ticks(5).tickSize(5);V.call(W).attr({transform:"rotate("+f.radialAxis.orientation+")"}),V.selectAll(".domain").style(R),V.selectAll("g>text").text((function(e,t){return this.textContent+f.radialAxis.ticksSuffix})).style(N).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(e,t){return"horizontal"===f.radialAxis.tickOrientation?"rotate("+-f.radialAxis.orientation+") translate("+[0,N["font-size"]]+")":"translate("+[0,N["font-size"]]+")"}}),V.selectAll("g>line").style({stroke:"black"})}var X=e.select(".angular.axis-group").selectAll("g.angular-tick").data(D),Q=X.enter().append("g").classed("angular-tick",!0);X.attr({transform:function(e,t){return"rotate("+Z(e)+")"}}).style({display:f.angularAxis.visible?"block":"none"}),X.exit().remove(),Q.append("line").classed("grid-line",!0).classed("major",(function(e,t){return t%(f.minorTicks+1)==0})).classed("minor",(function(e,t){return!(t%(f.minorTicks+1)==0)})).style(R),Q.selectAll(".minor").style({stroke:f.minorTickColor}),X.select("line.grid-line").attr({x1:f.tickLength?x-f.tickLength:0,x2:x}).style({display:f.angularAxis.gridLinesVisible?"block":"none"}),Q.append("text").classed("axis-text",!0).style(N);var J=X.select("text.axis-text").attr({x:x+f.labelOffset,dy:a+"em",transform:function(e,t){var r=Z(e),n=x+f.labelOffset,a=f.angularAxis.tickOrientation;return"horizontal"==a?"rotate("+-r+" "+n+" 0)":"radial"==a?r<270&&r>90?"rotate(180 "+n+" 0)":null:"rotate("+(r<=180&&r>0?-90:90)+" "+n+" 0)"}}).style({"text-anchor":"middle",display:f.angularAxis.labelsVisible?"block":"none"}).text((function(e,t){return t%(f.minorTicks+1)!=0?"":w?w[e]+f.angularAxis.ticksSuffix:e+f.angularAxis.ticksSuffix})).style(N);f.angularAxis.rewriteTicks&&J.text((function(e,t){return t%(f.minorTicks+1)!=0?"":f.angularAxis.rewriteTicks(this.textContent,t)}));var K=r.max(E.selectAll(".angular-tick text")[0].map((function(e,t){return e.getCTM().e+e.getBBox().width})));j.attr({transform:"translate("+[x+K,f.margin.top]+")"});var $=e.select("g.geometry-group").selectAll("g").size()>0,ee=e.select("g.geometry-group").selectAll("g.geometry").data(h);if(ee.enter().append("g").attr({class:function(e,t){return"geometry geometry"+t}}),ee.exit().remove(),h[0]||$){var te=[];h.forEach((function(e,t){var r={};r.radialScale=i,r.angularScale=l,r.container=ee.filter((function(e,r){return r==t})),r.geometry=e.geometry,r.orientation=f.orientation,r.direction=f.direction,r.index=t,te.push({data:e,geometryConfig:r})}));var re=r.nest().key((function(e,t){return void 0!==e.data.groupId||"unstacked"})).entries(te),ne=[];re.forEach((function(e,t){"unstacked"===e.key?ne=ne.concat(e.values.map((function(e,t){return[e]}))):ne.push(e.values)})),ne.forEach((function(e,t){var r;r=Array.isArray(e)?e[0].geometryConfig.geometry:e.geometryConfig.geometry;var a=e.map((function(e,t){return n(o[r].defaultConfig(),e)}));o[r]().config(a)()}))}var ae,ie,oe=e.select(".guides-group"),le=e.select(".tooltips-group"),se=o.tooltipPanel().config({container:le,fontSize:8})(),ce=o.tooltipPanel().config({container:le,fontSize:8})(),ue=o.tooltipPanel().config({container:le,hasTick:!0})();if(!T){var de=oe.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});E.on("mousemove.angular-guide",(function(e,t){var r=o.util.getMousePos(G).angle;de.attr({x2:-x,transform:"rotate("+r+")"}).style({opacity:.5});var n=(r+180+360-f.orientation)%360;ae=l.invert(n);var a=o.util.convertToCartesian(x+12,r+180);se.text(o.util.round(ae)).move([a[0]+_[0],a[1]+_[1]])})).on("mouseout.angular-guide",(function(e,t){oe.select("line").style({opacity:0})}))}var fe=oe.select("circle").style({stroke:"grey",fill:"none"});E.on("mousemove.radial-guide",(function(e,t){var r=o.util.getMousePos(G).radius;fe.attr({r:r}).style({opacity:.5}),ie=i.invert(o.util.getMousePos(G).radius);var n=o.util.convertToCartesian(r,f.radialAxis.orientation);ce.text(o.util.round(ie)).move([n[0]+_[0],n[1]+_[1]])})).on("mouseout.radial-guide",(function(e,t){fe.style({opacity:0}),ue.hide(),se.hide(),ce.hide()})),e.selectAll(".geometry-group .mark").on("mouseover.tooltip",(function(t,n){var a=r.select(this),i=this.style.fill,l="black",s=this.style.opacity||1;if(a.attr({"data-opacity":s}),i&&"none"!==i){a.attr({"data-fill":i}),l=r.hsl(i).darker().toString(),a.style({fill:l,opacity:1});var c={t:o.util.round(t[0]),r:o.util.round(t[1])};T&&(c.t=w[t[0]]);var u="t: "+c.t+", r: "+c.r,d=this.getBoundingClientRect(),f=e.node().getBoundingClientRect(),h=[d.left+d.width/2-B[0]-f.left,d.top+d.height/2-B[1]-f.top];ue.config({color:l}).text(u),ue.move(h)}else i=this.style.stroke||"black",a.attr({"data-stroke":i}),l=r.hsl(i).darker().toString(),a.style({stroke:l,opacity:1})})).on("mousemove.tooltip",(function(e,t){if(0!=r.event.which)return!1;r.select(this).attr("data-fill")&&ue.show()})).on("mouseout.tooltip",(function(e,t){ue.hide();var n=r.select(this),a=n.attr("data-fill");a?n.style({fill:a,opacity:n.attr("data-opacity")}):n.style({stroke:n.attr("data-stroke"),opacity:n.attr("data-opacity")})}))}))}(c),this},f.config=function(e){if(!arguments.length)return s;var t=o.util.cloneJson(e);return t.data.forEach((function(e,t){s.data[t]||(s.data[t]={}),n(s.data[t],o.Axis.defaultConfig().data[0]),n(s.data[t],e)})),n(s.layout,o.Axis.defaultConfig().layout),n(s.layout,t.layout),this},f.getLiveConfig=function(){return u},f.getinputConfig=function(){return c},f.radialScale=function(e){return i},f.angularScale=function(e){return l},f.svg=function(){return e},r.rebind(f,d,"on"),f},o.Axis.defaultConfig=function(e,t){return{data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:r.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}}},o.util={},o.DATAEXTENT="dataExtent",o.AREA="AreaChart",o.LINE="LinePlot",o.DOT="DotPlot",o.BAR="BarChart",o.util._override=function(e,t){for(var r in e)r in t&&(t[r]=e[r])},o.util._extend=function(e,t){for(var r in e)t[r]=e[r]},o.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},o.util.dataFromEquation2=function(e,t){var n=t||6;return r.range(0,360+n,n).map((function(t,r){var n=t*Math.PI/180;return[t,e(n)]}))},o.util.dataFromEquation=function(e,t,n){var a=t||6,i=[],o=[];r.range(0,360+a,a).forEach((function(t,r){var n=t*Math.PI/180,a=e(n);i.push(t),o.push(a)}));var l={t:i,r:o};return n&&(l.name=n),l},o.util.ensureArray=function(e,t){if(void 0===e)return null;var n=[].concat(e);return r.range(t).map((function(e,t){return n[t]||n[0]}))},o.util.fillArrays=function(e,t,r){return t.forEach((function(t,n){e[t]=o.util.ensureArray(e[t],r)})),e},o.util.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},o.util.validateKeys=function(e,t){"string"==typeof t&&(t=t.split("."));var r=t.shift();return e[r]&&(!t.length||objHasKeys(e[r],t))},o.util.sumArrays=function(e,t){return r.zip(e,t).map((function(e,t){return r.sum(e)}))},o.util.arrayLast=function(e){return e[e.length-1]},o.util.arrayEqual=function(e,t){for(var r=Math.max(e.length,t.length,1);r-- >=0&&e[r]===t[r];);return-2===r},o.util.flattenArray=function(e){for(var t=[];!o.util.arrayEqual(t,e);)t=e,e=[].concat.apply([],e);return e},o.util.deduplicate=function(e){return e.filter((function(e,t,r){return r.indexOf(e)==t}))},o.util.convertToCartesian=function(e,t){var r=t*Math.PI/180;return[e*Math.cos(r),e*Math.sin(r)]},o.util.round=function(e,t){var r=t||2,n=Math.pow(10,r);return Math.round(e*n)/n},o.util.getMousePos=function(e){var t=r.mouse(e.node()),n=t[0],a=t[1],i={};return i.x=n,i.y=a,i.pos=t,i.angle=180*(Math.atan2(a,n)+Math.PI)/Math.PI,i.radius=Math.sqrt(n*n+a*a),i},o.util.duplicatesCount=function(e){for(var t,r={},n={},a=0,i=e.length;a0)){var s=r.select(this.parentNode).selectAll("path.line").data([0]);s.enter().insert("path"),s.attr({class:"line",d:u(l),transform:function(e,r){return"rotate("+(t.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(e,t){return p.fill(n,a,i)},"fill-opacity":0,stroke:function(e,t){return p.stroke(n,a,i)},"stroke-width":function(e,t){return p["stroke-width"](n,a,i)},"stroke-dasharray":function(e,t){return p["stroke-dasharray"](n,a,i)},opacity:function(e,t){return p.opacity(n,a,i)},display:function(e,t){return p.display(n,a,i)}})}};var d=t.angularScale.range(),f=Math.abs(d[1]-d[0])/o[0].length*Math.PI/180,h=r.svg.arc().startAngle((function(e){return-f/2})).endAngle((function(e){return f/2})).innerRadius((function(e){return t.radialScale(s+(e[2]||0))})).outerRadius((function(e){return t.radialScale(s+(e[2]||0))+t.radialScale(e[1])}));c.arc=function(e,n,a){r.select(this).attr({class:"mark arc",d:h,transform:function(e,r){return"rotate("+(t.orientation+l(e[0])+90)+")"}})};var p={fill:function(t,r,n){return e[n].data.color},stroke:function(t,r,n){return e[n].data.strokeColor},"stroke-width":function(t,r,n){return e[n].data.strokeSize+"px"},"stroke-dasharray":function(t,r,n){return a[e[n].data.strokeDash]},opacity:function(t,r,n){return e[n].data.opacity},display:function(t,r,n){return void 0===e[n].data.visible||e[n].data.visible?"block":"none"}},g=r.select(this).selectAll("g.layer").data(o);g.enter().append("g").attr({class:"layer"});var v=g.selectAll("path.mark").data((function(e,t){return e}));v.enter().append("path").attr({class:"mark"}),v.style(p).each(c[t.geometryType]),v.exit().remove(),g.exit().remove()}))}return i.config=function(t){return arguments.length?(t.forEach((function(t,r){e[r]||(e[r]={}),n(e[r],o.PolyChart.defaultConfig()),n(e[r],t)})),this):e},i.getColorScale=function(){},r.rebind(i,t,"on"),i},o.PolyChart.defaultConfig=function(){return{data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:r.scale.category20()}}},o.BarChart=function(){return o.PolyChart()},o.BarChart.defaultConfig=function(){return{geometryConfig:{geometryType:"bar"}}},o.AreaChart=function(){return o.PolyChart()},o.AreaChart.defaultConfig=function(){return{geometryConfig:{geometryType:"arc"}}},o.DotPlot=function(){return o.PolyChart()},o.DotPlot.defaultConfig=function(){return{geometryConfig:{geometryType:"dot",dotType:"circle"}}},o.LinePlot=function(){return o.PolyChart()},o.LinePlot.defaultConfig=function(){return{geometryConfig:{geometryType:"line"}}},o.Legend=function(){var e=o.Legend.defaultConfig(),t=r.dispatch("hover");function a(){var t=e.legendConfig,i=e.data.map((function(e,r){return[].concat(e).map((function(e,a){var i=n({},t.elements[r]);return i.name=e,i.color=[].concat(t.elements[r].color)[a],i}))})),o=r.merge(i);o=o.filter((function(e,r){return t.elements[r]&&(t.elements[r].visibleInLegend||void 0===t.elements[r].visibleInLegend)})),t.reverseOrder&&(o=o.reverse());var l=t.container;("string"==typeof l||l.nodeName)&&(l=r.select(l));var s=o.map((function(e,t){return e.color})),c=t.fontSize,u=null==t.isContinuous?"number"==typeof o[0]:t.isContinuous,d=u?t.height:c*o.length,f=l.classed("legend-group",!0).selectAll("svg").data([0]),h=f.enter().append("svg").attr({width:300,height:d+c,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});h.append("g").classed("legend-axis",!0),h.append("g").classed("legend-marks",!0);var p=r.range(o.length),g=r.scale[u?"linear":"ordinal"]().domain(p).range(s),v=r.scale[u?"linear":"ordinal"]().domain(p)[u?"range":"rangePoints"]([0,d]);if(u){var m=f.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(s);m.enter().append("stop"),m.attr({offset:function(e,t){return t/(s.length-1)*100+"%"}}).style({"stop-color":function(e,t){return e}}),f.append("rect").classed("legend-mark",!0).attr({height:t.height,width:t.colorBandWidth,fill:"url(#grad1)"})}else{var y=f.select(".legend-marks").selectAll("path.legend-mark").data(o);y.enter().append("path").classed("legend-mark",!0),y.attr({transform:function(e,t){return"translate("+[c/2,v(t)+c/2]+")"},d:function(e,t){var n,a,i,o=e.symbol;return i=3*(a=c),"line"===(n=o)?"M"+[[-a/2,-a/12],[a/2,-a/12],[a/2,a/12],[-a/2,a/12]]+"Z":-1!=r.svg.symbolTypes.indexOf(n)?r.svg.symbol().type(n).size(i)():r.svg.symbol().type("square").size(i)()},fill:function(e,t){return g(t)}}),y.exit().remove()}var x=r.svg.axis().scale(v).orient("right"),b=f.select("g.legend-axis").attr({transform:"translate("+[u?t.colorBandWidth:c,c/2]+")"}).call(x);return b.selectAll(".domain").style({fill:"none",stroke:"none"}),b.selectAll("line").style({fill:"none",stroke:u?t.textColor:"none"}),b.selectAll("text").style({fill:t.textColor,"font-size":t.fontSize}).text((function(e,t){return o[t].name})),a}return a.config=function(t){return arguments.length?(n(e,t),this):e},r.rebind(a,t,"on"),a},o.Legend.defaultConfig=function(e,t){return{data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}}},o.tooltipPanel=function(){var e,t,a,i={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},l="tooltip-"+o.tooltipPanel.uid++,s=10,c=function(){var r=(e=i.container.selectAll("g."+l).data([0])).enter().append("g").classed(l,!0).style({"pointer-events":"none",display:"none"});return a=r.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),t=r.append("text").attr({dx:i.padding+s,dy:.3*+i.fontSize}),c};return c.text=function(n){var o=r.hsl(i.color).l,l=o>=.5?"#aaa":"white",u=o>=.5?"black":"white",d=n||"";t.style({fill:u,"font-size":i.fontSize+"px"}).text(d);var f=i.padding,h=t.node().getBBox(),p={fill:i.color,stroke:l,"stroke-width":"2px"},g=h.width+2*f+s,v=h.height+2*f;return a.attr({d:"M"+[[s,-v/2],[s,-v/4],[i.hasTick?0:s,0],[s,v/4],[s,v/2],[g,v/2],[g,-v/2]].join("L")+"Z"}).style(p),e.attr({transform:"translate("+[s,-v/2+2*f]+")"}),e.style({display:"block"}),c},c.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),c},c.hide=function(){if(e)return e.style({display:"none"}),c},c.show=function(){if(e)return e.style({display:"block"}),c},c.config=function(e){return n(i,e),c},c},o.tooltipPanel.uid=1,o.adapter={},o.adapter.plotly=function(){var e={convert:function(e,t){var a={};if(e.data&&(a.data=e.data.map((function(e,r){var a=n({},e);return[[a,["marker","color"],["color"]],[a,["marker","opacity"],["opacity"]],[a,["marker","line","color"],["strokeColor"]],[a,["marker","line","dash"],["strokeDash"]],[a,["marker","line","width"],["strokeSize"]],[a,["marker","symbol"],["dotType"]],[a,["marker","size"],["dotSize"]],[a,["marker","barWidth"],["barWidth"]],[a,["line","interpolation"],["lineInterpolation"]],[a,["showlegend"],["visibleInLegend"]]].forEach((function(e,r){o.util.translator.apply(null,e.concat(t))})),t||delete a.marker,t&&delete a.groupId,t?("LinePlot"===a.geometry?(a.type="scatter",!0===a.dotVisible?(delete a.dotVisible,a.mode="lines+markers"):a.mode="lines"):"DotPlot"===a.geometry?(a.type="scatter",a.mode="markers"):"AreaChart"===a.geometry?a.type="area":"BarChart"===a.geometry&&(a.type="bar"),delete a.geometry):("scatter"===a.type?"lines"===a.mode?a.geometry="LinePlot":"markers"===a.mode?a.geometry="DotPlot":"lines+markers"===a.mode&&(a.geometry="LinePlot",a.dotVisible=!0):"area"===a.type?a.geometry="AreaChart":"bar"===a.type&&(a.geometry="BarChart"),delete a.mode,delete a.type),a})),!t&&e.layout&&"stack"===e.layout.barmode)){var i=o.util.duplicates(a.data.map((function(e,t){return e.geometry})));a.data.forEach((function(e,t){var r=i.indexOf(e.geometry);-1!=r&&(a.data[t].groupId=r)}))}if(e.layout){var l=n({},e.layout);if([[l,["plot_bgcolor"],["backgroundColor"]],[l,["showlegend"],["showLegend"]],[l,["radialaxis"],["radialAxis"]],[l,["angularaxis"],["angularAxis"]],[l.angularaxis,["showline"],["gridLinesVisible"]],[l.angularaxis,["showticklabels"],["labelsVisible"]],[l.angularaxis,["nticks"],["ticksCount"]],[l.angularaxis,["tickorientation"],["tickOrientation"]],[l.angularaxis,["ticksuffix"],["ticksSuffix"]],[l.angularaxis,["range"],["domain"]],[l.angularaxis,["endpadding"],["endPadding"]],[l.radialaxis,["showline"],["gridLinesVisible"]],[l.radialaxis,["tickorientation"],["tickOrientation"]],[l.radialaxis,["ticksuffix"],["ticksSuffix"]],[l.radialaxis,["range"],["domain"]],[l.angularAxis,["showline"],["gridLinesVisible"]],[l.angularAxis,["showticklabels"],["labelsVisible"]],[l.angularAxis,["nticks"],["ticksCount"]],[l.angularAxis,["tickorientation"],["tickOrientation"]],[l.angularAxis,["ticksuffix"],["ticksSuffix"]],[l.angularAxis,["range"],["domain"]],[l.angularAxis,["endpadding"],["endPadding"]],[l.radialAxis,["showline"],["gridLinesVisible"]],[l.radialAxis,["tickorientation"],["tickOrientation"]],[l.radialAxis,["ticksuffix"],["ticksSuffix"]],[l.radialAxis,["range"],["domain"]],[l.font,["outlinecolor"],["outlineColor"]],[l.legend,["traceorder"],["reverseOrder"]],[l,["labeloffset"],["labelOffset"]],[l,["defaultcolorrange"],["defaultColorRange"]]].forEach((function(e,r){o.util.translator.apply(null,e.concat(t))})),t?(void 0!==l.tickLength&&(l.angularaxis.ticklen=l.tickLength,delete l.tickLength),l.tickColor&&(l.angularaxis.tickcolor=l.tickColor,delete l.tickColor)):(l.angularAxis&&void 0!==l.angularAxis.ticklen&&(l.tickLength=l.angularAxis.ticklen),l.angularAxis&&void 0!==l.angularAxis.tickcolor&&(l.tickColor=l.angularAxis.tickcolor)),l.legend&&"boolean"!=typeof l.legend.reverseOrder&&(l.legend.reverseOrder="normal"!=l.legend.reverseOrder),l.legend&&"boolean"==typeof l.legend.traceorder&&(l.legend.traceorder=l.legend.traceorder?"reversed":"normal",delete l.legend.reverseOrder),l.margin&&void 0!==l.margin.t){var s=["t","r","b","l","pad"],c=["top","right","bottom","left","pad"],u={};r.entries(l.margin).forEach((function(e,t){u[c[s.indexOf(e.key)]]=e.value})),l.margin=u}t&&(delete l.needsEndSpacing,delete l.minorTickColor,delete l.minorTicks,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksCount,delete l.angularaxis.ticksStep,delete l.angularaxis.rewriteTicks,delete l.angularaxis.nticks,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksCount,delete l.radialaxis.ticksStep,delete l.radialaxis.rewriteTicks,delete l.radialaxis.nticks),a.layout=l}return a}};return e}})),i.register("7gS77",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY"),a=i("3N5m7"),o=i("45RDT"),l=i("3CVjn"),s=n.extendDeepAll,c=e.exports={};c.framework=function(e){var t,n,a,i,u,d=new l;function f(n,l){return l&&(u=l),r.select(r.select(u).node().parentNode).selectAll(".svg-container>*:not(.chart-root)").remove(),t=t?s(t,n):n,a||(a=o.Axis()),i=o.adapter.plotly().convert(t),a.config(i).render(u),e.data=t.data,e.layout=t.layout,c.fillLayout(e),t}return f.isPolar=!0,f.svg=function(){return a.svg()},f.getConfig=function(){return t},f.getLiveConfig=function(){return o.adapter.plotly().convert(a.getLiveConfig(),!0)},f.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},f.setUndoPoint=function(){var e,r,a=this,i=o.util.cloneJson(t);e=i,r=n,d.add({undo:function(){r&&a(r)},redo:function(){a(e)}}),n=o.util.cloneJson(i)},f.undo=function(){d.undo()},f.redo=function(){d.redo()},f},c.fillLayout=function(e){var t=r.select(e).selectAll(".plot-container"),n=t.selectAll(".svg-container"),i=e.framework&&e.framework.svg&&e.framework.svg(),o={width:800,height:600,paper_bgcolor:a.background,_container:t,_paperdiv:n,_paper:i};e._fullLayout=s(o,e.layout)}})),i.register("3CVjn",(function(e,t){"use strict";e.exports=function(){var e,t=[],r=-1,n=!1;function a(e,t){return e?(n=!0,e[t](),n=!1,this):this}return{add:function(e){return n||(t.splice(r+1,t.length-r),t.push(e),r=t.length-1),this},setCallback:function(t){e=t},undo:function(){var n=t[r];return n?(a(n,"undo"),r-=1,e&&e(n.undo),this):this},redo:function(){var n=t[r+1];return n?(a(n,"redo"),r+=1,e&&e(n.redo),this):this},clear:function(){t=[],r=-1},hasUndo:function(){return-1!==r},hasRedo:function(){return r2e-6||((r-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},N.saveRangeInitial=function(e,t){for(var r=N.list(e,"",!0),n=!1,a=0;a.3*f||u(a)||u(i))){var h=r.dtick/2;e+=e+ho){var s=Number(r.substr(1));i.exactYears>o&&s%12==0?e=N.tickIncrement(e,"M6","reverse")+1.5*A:i.exactMonths>o?e=N.tickIncrement(e,"M1","reverse")+15.5*A:e-=S;var c=N.tickIncrement(e,r);if(c<=n)return c}return e}(y,e,m,c,i)),v=y,0;v<=u;)v=N.tickIncrement(v,m,!1,i);return{start:t.c2r(y,0,i),end:t.c2r(v,0,i),size:m,_dataSpan:u-c}},N.prepTicks=function(e,t){var r=l.simpleMap(e.range,e.r2l,void 0,void 0,t);if(e._dtickInit=e.dtick,e._tick0Init=e.tick0,"auto"===e.tickmode||!e.dtick){var a,i=e.nticks;i||("category"===e.type||"multicategory"===e.type?(a=e.tickfont?1.2*(e.tickfont.size||12):15,i=e._length/a):(a="y"===e._id.charAt(0)?40:80,i=l.constrain(e._length/a,4,9)+1),"radialaxis"===e._name&&(i*=2)),"array"===e.tickmode&&(i*=100),e._roughDTick=Math.abs(r[1]-r[0])/i,N.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}"period"===e.ticklabelmode&&function(e){var t;function r(){return!(n(e.dtick)||"M"!==e.dtick.charAt(0))}var a=r(),i=N.getTickFormat(e);if(i){var o=e._dtickInit!==e.dtick;/%[fLQsSMX]/.test(i)||(/%[HI]/.test(i)?(t=L,o&&!a&&e.dticki&&d=o:h<=o;h=N.tickIncrement(h,e.dtick,s,e.calendar)){if(e.rangebreaks&&!s){if(h=u)break}if(C.length>g||h===I)break;I=h;var O=!1;d&&h!==(0|h)&&(O=!0),C.push({minor:O,value:h})}if(f&&function(e,t,r){for(var n=0;n0?(i=n-1,o=n):(i=n,o=n);var l,s=e[i].value,c=e[o].value,u=Math.abs(c-s),d=r||u,f=0;d>=y?f=u>=y&&u<=v?u:m:r===b&&d>=_?f=u>=_&&u<=x?u:b:d>=T?f=u>=T&&u<=w?u:k:r===M&&d>=M?f=M:d>=A?f=A:r===S&&d>=S?f=S:r===L&&d>=L&&(f=L),f>=u&&(f=u,l=!0);var h=a+f;if(t.rangebreaks&&f>0){for(var p=0,g=0;g<84;g++){var C=(g+.5)/84;t.maskBreaks(a*(1-C)+C*h)!==D&&p++}(f*=p/84)||(e[n].drop=!0),l&&u>M&&(f=u)}(f>0||0===n)&&(e[n].periodX=a+f/2)}}(C,e,e._definedDelta),e.rangebreaks){var z="y"===e._id.charAt(0),P=1;"auto"===e.tickmode&&(P=e.tickfont?e.tickfont.size:12);var j=NaN;for(p=C.length-1;p>-1;p--)if(C[p].drop)C.splice(p,1);else{C[p].value=we(C[p].value,e);var E=e.c2p(C[p].value);(z?j>E-P:ju||Fu&&(R.periodX=u),F10||"01-01"!==a.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12==0?"y":"m";else if(t>=A&&i<=10||t>=15*A)e._tickround="d";else if(t>=C&&i<=16||t>=L)e._tickround="M";else if(t>=I&&i<=19||t>=C)e._tickround="S";else{var o=e.l2r(r+t).replace(/^-/,"").length;e._tickround=Math.max(i,o)-20,e._tickround<0&&(e._tickround=4)}}else if(n(t)||"L"===t.charAt(0)){var l=e.range.map(e.r2d||Number);n(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var s=Math.max(Math.abs(l[0]),Math.abs(l[1])),c=Math.floor(Math.log(s)/Math.LN10+.01),u=void 0===e.minexponent?3:e.minexponent;Math.abs(c)>u&&(oe(e.exponentformat)&&!le(c)?e._tickexponent=3*Math.round((c-1)/3):e._tickexponent=c)}else e._tickround=null}function ae(e,t,r){var n=e.tickfont||{};return{x:t,dx:0,dy:0,text:r||"",fontSize:n.size,font:n.family,fontColor:n.color}}N.autoTicks=function(e,t){var r;function a(e){return Math.pow(e,Math.floor(Math.log(t)/Math.LN10))}if("date"===e.type){e.tick0=l.dateTick0(e.calendar,0);var i=2*t;if(i>m)t/=m,r=a(10),e.dtick="M"+12*re(t,r,X);else if(i>k)t/=k,e.dtick="M"+re(t,1,Q);else if(i>A){e.dtick=re(t,A,e._hasDayOfWeekBreaks?[1,2,7,14]:K);var o=N.getTickFormat(e),s="period"===e.ticklabelmode;s&&(e._rawTick0=e.tick0),/%[uVW]/.test(o)?e.tick0=l.dateTick0(e.calendar,2):e.tick0=l.dateTick0(e.calendar,1),s&&(e._dowTick0=e.tick0)}else i>L?e.dtick=re(t,L,Q):i>C?e.dtick=re(t,C,J):i>I?e.dtick=re(t,I,J):(r=a(10),e.dtick=re(t,r,X))}else if("log"===e.type){e.tick0=0;var c=l.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(c[1]-c[0])<1){var u=1.5*Math.abs((c[1]-c[0])/t);t=Math.abs(Math.pow(10,c[1])-Math.pow(10,c[0]))/u,r=a(10),e.dtick="L"+re(t,r,X)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type||"multicategory"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):_e(e)?(e.tick0=0,r=1,e.dtick=re(t,r,te)):(e.tick0=0,r=a(10),e.dtick=re(t,r,X));if(0===e.dtick&&(e.dtick=1),!n(e.dtick)&&"string"!=typeof e.dtick){var d=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(d)}},N.tickIncrement=function(e,t,a,i){var o=a?-1:1;if(n(t))return l.increment(e,o*t);var s=t.charAt(0),c=o*Number(t.substr(1));if("M"===s)return l.incrementMonth(e,c,i);if("L"===s)return Math.log(Math.pow(10,e)+c)/Math.LN10;if("D"===s){var u="D2"===t?ee:$,d=e+.01*o,f=l.roundUp(l.mod(d,1),u,a);return Math.floor(d)+Math.log(r.round(Math.pow(10,f),1))/Math.LN10}throw"unrecognized dtick "+String(t)},N.tickFirst=function(e,t){var a=e.r2l||Number,i=l.simpleMap(e.range,a,void 0,void 0,t),o=i[1] ")}else e._prevDateHead=s,c+="
"+s;t.text=c}(e,o,r,c):"log"===u?function(e,t,r,a,i){var o=e.dtick,s=t.x,c=e.tickformat,u="string"==typeof o&&o.charAt(0);"never"===i&&(i="");a&&"L"!==u&&(o="L3",u="L");if(c||"L"===u)t.text=se(Math.pow(10,s),e,i,a);else if(n(o)||"D"===u&&l.mod(s+.01,1)<.1){var d=Math.round(s),f=Math.abs(d),h=e.exponentformat;"power"===h||oe(h)&&le(d)?(t.text=0===d?1:1===d?"10":"10"+(d>1?"":O)+f+"",t.fontSize*=1.25):("e"===h||"E"===h)&&f>2?t.text="1"+h+(d>0?"+":O)+f:(t.text=se(Math.pow(10,s),e,"","fakehover"),"D1"===o&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6))}else{if("D"!==u)throw"unrecognized dtick "+String(o);t.text=String(Math.round(Math.pow(10,l.mod(s,1)))),t.fontSize*=.75}if("D1"===e.dtick){var p=String(t.text).charAt(0);"0"!==p&&"1"!==p||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(s<0?.5:.25)))}}(e,o,0,c,g):"category"===u?function(e,t){var r=e._categories[Math.round(t.x)];void 0===r&&(r="");t.text=String(r)}(e,o):"multicategory"===u?function(e,t,r){var n=Math.round(t.x),a=e._categories[n]||[],i=void 0===a[1]?"":String(a[1]),o=void 0===a[0]?"":String(a[0]);r?t.text=o+" - "+i:(t.text=i,t.text2=o)}(e,o,r):_e(e)?function(e,t,r,n,a){if("radians"!==e.thetaunit||r)t.text=se(t.x,e,a,n);else{var i=t.x/180;if(0===i)t.text="0";else{var o=function(e){function t(e,t){return Math.abs(e-t)<=1e-6}function r(e,n){return t(n,0)?e:r(n,e%n)}function n(e){for(var r=1;!t(Math.round(e*r)/r,e);)r*=10;return r}var a=n(e),i=e*a,o=Math.abs(r(i,a));return[Math.round(i/o),Math.round(a/o)]}(i);if(o[1]>=100)t.text=se(l.deg2rad(t.x),e,a,n);else{var s=t.x<0;1===o[1]?1===o[0]?t.text="ฯ€":t.text=o[0]+"ฯ€":t.text=["",o[0],"","โ„","",o[1],"","ฯ€"].join(""),s&&(t.text=O+t.text)}}}}(e,o,r,c,g):function(e,t,r,n,a){"never"===a?a="":"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(a="hide");t.text=se(t.x,e,a,n)}(e,o,0,c,g),a||(e.tickprefix&&!p(e.showtickprefix)&&(o.text=e.tickprefix+o.text),e.ticksuffix&&!p(e.showticksuffix)&&(o.text+=e.ticksuffix)),"boundaries"===e.tickson||e.showdividers){var v=function(t){var r=e.l2p(t);return r>=0&&r<=e._length?t:null};o.xbnd=[v(o.x-.5),v(o.x+e.dtick-.5)]}return o},N.hoverLabelText=function(e,t,r){if(r!==D&&r!==t)return N.hoverLabelText(e,t)+" - "+N.hoverLabelText(e,r);var n="log"===e.type&&t<=0,a=N.tickText(e,e.c2l(n?-t:t),"hover").text;return n?0===t?"0":O+a:a};var ie=["f","p","n","ฮผ","m","","k","M","G","T"];function oe(e){return"SI"===e||"B"===e}function le(e){return e>14||e<-15}function se(e,t,r,a){var i=e<0,o=t._tickround,s=r||t.exponentformat||"B",c=t._tickexponent,u=N.getTickFormat(t),d=t.separatethousands;if(a){var f={exponentformat:s,minexponent:t.minexponent,dtick:"none"===t.showexponent?t.dtick:n(e)&&Math.abs(e)||1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};ne(f),o=(Number(f._tickround)||0)+4,c=f._tickexponent,t.hoverformat&&(u=t.hoverformat)}if(u)return t._numFormat(u)(e).replace(/-/g,O);var h,p=Math.pow(10,-o)/2;if("none"===s&&(c=0),(e=Math.abs(e))"+h+"
":"B"===s&&9===c?e+="B":oe(s)&&(e+=ie[c/3+5]));return i?O+e:e}function ce(e,t){for(var r=[],n={},a=0;a1&&r=a.min&&e=0,i=u(e,t[1])<=0;return(r||a)&&(n||i)}if(e.tickformatstops&&e.tickformatstops.length>0)switch(e.type){case"date":case"linear":for(t=0;t=o(a)))){r=n;break}break;case"log":for(t=0;t0?r.bottom-d:0,f)))),t.automargin){n={x:0,y:0,r:0,l:0,t:0,b:0};var h=[0,1];if("x"===p){if("b"===s?n[s]=t._depth:(n[s]=t._depth=Math.max(r.width>0?d-r.top:0,f),h.reverse()),r.width>0){var v=r.right-(t._offset+t._length);v>0&&(n.xr=1,n.r=v);var m=t._offset-r.left;m>0&&(n.xl=0,n.l=m)}}else if("l"===s?n[s]=t._depth=Math.max(r.height>0?d-r.left:0,f):(n[s]=t._depth=Math.max(r.height>0?r.right-d:0,f),h.reverse()),r.height>0){var y=r.bottom-(t._offset+t._length);y>0&&(n.yb=0,n.b=y);var x=t._offset-r.top;x>0&&(n.yt=1,n.t=x)}n[g]="free"===t.anchor?t.position:t._anchorAxis.domain[h[0]],t.title.text!==c._dfltTitle[p]&&(n[s]+=fe(t)+(t.title.standoff||0)),t.mirror&&"free"!==t.anchor&&((i={x:0,y:0,r:0,l:0,t:0,b:0})[u]=t.linewidth,t.mirror&&!0!==t.mirror&&(i[u]+=f),!0===t.mirror||"ticks"===t.mirror?i[g]=t._anchorAxis.domain[h[1]]:"all"!==t.mirror&&"allticks"!==t.mirror||(i[g]=[t._counterDomainMin,t._counterDomainMax][h[1]]))}J&&(l=o.getComponentMethod("rangeslider","autoMarginOpts")(e,t)),a.autoMargin(e,ge(t),n),a.autoMargin(e,ve(t),i),a.autoMargin(e,me(t),l)})),r.skipTitle||J&&"bottom"===t.side||X.push((function(){return function(e,t){var r,n=e._fullLayout,a=t._id,i=a.charAt(0),o=t.title.font.size;if(t.title.hasOwnProperty("standoff"))r=t._depth+t.title.standoff+fe(t);else{var l=-1!==(t.ticklabelposition||"").indexOf("inside");if("multicategory"===t.type)r=t._depth;else{var s=1.5*o;l&&(s=.5*o,"outside"===t.ticks&&(s+=t.ticklen)),r=10+s+(t.linewidth?t.linewidth-1:0)}l||(r+="x"===i?"top"===t.side?o*(t.showticklabels?1:0):o*(t.showticklabels?1.5:.5):"right"===t.side?o*(t.showticklabels?1:.5):o*(t.showticklabels?.5:0))}var c,d,h,p,g=N.getPxPosition(e,t);"x"===i?(d=t._offset+t._length/2,h="top"===t.side?g-r:g+r):(h=t._offset+t._length/2,d="right"===t.side?g+r:g-r,c={rotate:"-90",offset:0});if("multicategory"!==t.type){var v=t._selections[t._id+"tick"];if(p={selection:v,side:t.side},v&&v.node()&&v.node().parentNode){var m=f.getTranslate(v.node().parentNode);p.offsetLeft=m.x,p.offsetTop=m.y}t.title.hasOwnProperty("standoff")&&(p.pad=0)}return u.draw(e,a+"title",{propContainer:t,propName:t._name+".title.text",placeholder:n._dfltTitle[i],avoid:p,transform:c,attributes:{x:d,y:h,"text-anchor":"middle"}})}(e,t)})),l.syncOrAsync(X)}}function K(e){var r=h+(e||"tick");return w[r]||(w[r]=function(e,t){var r,n,a,i;e._selections[t].size()?(r=1/0,n=-1/0,a=1/0,i=-1/0,e._selections[t].each((function(){var e=pe(this),t=f.bBox(e.node().parentNode);r=Math.min(r,t.top),n=Math.max(n,t.bottom),a=Math.min(a,t.left),i=Math.max(i,t.right)}))):(r=0,n=0,a=0,i=0);return{top:r,bottom:n,left:a,right:i,height:n-r,width:i-a}}(t,r)),w[r]}},N.getTickSigns=function(e){var t=e._id.charAt(0),r={x:"top",y:"right"}[t],n=e.side===r?1:-1,a=[-1,1,n,-n];return"inside"!==e.ticks==("x"===t)&&(a=a.map((function(e){return-e}))),e.side&&a.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),a},N.makeTransTickFn=function(e){return"x"===e._id.charAt(0)?function(t){return s(e._offset+e.l2p(t.x),0)}:function(t){return s(0,e._offset+e.l2p(t.x))}},N.makeTransTickLabelFn=function(e){var t=function(e){var t=e.ticklabelposition||"",r=function(e){return-1!==t.indexOf(e)},n=r("top"),a=r("left"),i=r("right"),o=r("bottom"),l=r("inside"),s=o||a||n||i;if(!s&&!l)return[0,0];var c=e.side,u=s?(e.tickwidth||0)/2:0,d=3,f=e.tickfont?e.tickfont.size:12;(o||n)&&(u+=f*j,d+=(e.linewidth||0)/2);(a||i)&&(u+=(e.linewidth||0)/2,d+=3);l&&"top"===c&&(d-=f*(1-j));(a||n)&&(u=-u);"bottom"!==c&&"right"!==c||(d=-d);return[s?u:0,l?d:0]}(e),r=t[0],n=t[1];return"x"===e._id.charAt(0)?function(t){return s(r+e._offset+e.l2p(ue(t)),n)}:function(t){return s(n,r+e._offset+e.l2p(ue(t)))}},N.makeTickPath=function(e,t,r,n){n=void 0!==n?n:e.ticklen;var a=e._id.charAt(0),i=(e.linewidth||1)/2;return"x"===a?"M0,"+(t+i*r)+"v"+n*r:"M"+(t+i*r)+",0h"+n*r},N.makeLabelFns=function(e,t,r){var a=e.ticklabelposition||"",i=function(e){return-1!==a.indexOf(e)},o=i("top"),s=i("left"),c=i("right"),u=i("bottom")||s||o||c,d=i("inside"),f="inside"===a&&"inside"===e.ticks||!d&&"outside"===e.ticks&&"boundaries"!==e.tickson,h=0,p=0,g=f?e.ticklen:0;if(d?g*=-1:u&&(g=0),f&&(h+=g,r)){var v=l.deg2rad(r);h=g*Math.cos(v)+1,p=g*Math.sin(v)}e.showticklabels&&(f||e.showline)&&(h+=.2*e.tickfont.size);var m,y,x,b,_,w={labelStandoff:h+=(e.linewidth||1)/2*(d?-1:1),labelShift:p},k=0,T=e.side,M=e._id.charAt(0),A=e.tickangle;if("x"===M)b=(_=!d&&"bottom"===T||d&&"top"===T)?1:-1,d&&(b*=-1),m=p*b,y=t+h*b,x=_?1:-.2,90===Math.abs(A)&&(d?x+=P:x=-90===A&&"bottom"===T?j:90===A&&"top"===T?P:.5,k=P/2*(A/90)),w.xFn=function(e){return e.dx+m+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*x},w.anchorFn=function(e,t){if(u){if(s)return"end";if(c)return"start"}return n(t)&&0!==t&&180!==t?t*b<0!==d?"end":"start":"middle"},w.heightFn=function(t,r,n){return r<-60||r>60?-.5*n:"top"===e.side!==d?-n:0};else if("y"===M){if(b=(_=!d&&"left"===T||d&&"right"===T)?1:-1,d&&(b*=-1),m=h,y=p*b,x=0,d||90!==Math.abs(A)||(x=-90===A&&"left"===T||90===A&&"right"===T?j:.5),d){var S=n(A)?+A:0;if(0!==S){var L=l.deg2rad(S);k=Math.abs(Math.sin(L))*j*b,x=0}}w.xFn=function(e){return e.dx+t-(m+e.fontSize*x)*b+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*P},w.anchorFn=function(e,t){return n(t)&&90===Math.abs(t)?"middle":_?"end":"start"},w.heightFn=function(t,r,n){return"right"===e.side&&(r*=-1),r<-30?-n:r<30?-.5*n:0}}return w},N.drawTicks=function(e,t,r){r=r||{};var n=t._id+"tick",a=r.vals;"period"===t.ticklabelmode&&(a=a.slice()).shift();var i=r.layer.selectAll("path."+n).data(t.ticks?a:[],de);i.exit().remove(),i.enter().append("path").classed(n,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(d.stroke,t.tickcolor).style("stroke-width",f.crispRound(e,t.tickwidth,1)+"px").attr("d",r.path),i.attr("transform",r.transFn)},N.drawGrid=function(e,t,r){r=r||{};var n=t._id+"grid",a=r.vals,i=r.counterAxis;if(!1===t.showgrid)a=[];else if(i&&N.shouldShowZeroLine(e,t,i))for(var o="array"===t.tickmode,l=0;lo||a.lefto||a.top+(t.tickangle?0:e.fontSize/4)1)for(n=1;n0||f<0){var m={left:[-p,0],right:[p,0],top:[0,-p],bottom:[0,p]}[b.side];t.attr("transform",s(m[0],m[1]))}}}return j.call(E),z&&(L?j.on(".opacity",null):(M=0,A=!0,j.text(y).on("mouseover.opacity",(function(){r.select(this).transition().duration(f.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){r.select(this).transition().duration(f.HIDE_PLACEHOLDER).style("opacity",0)}))),j.call(d.makeEditable,{gd:e}).on("edit",(function(t){void 0!==x?o.call("_guiRestyle",e,m,t,x):o.call("_guiRelayout",e,m,t)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(E)})).on("input",(function(e){this.text(e||" ").call(d.positionText,_.x,_.y)}))),j.classed("js-placeholder",A),k}}})),i.register("7cQhP",(function(e,t){"use strict";var r=i("4Wia9"),n=i("6jof9").utcFormat,a=i("6qr5h"),o=i("1nIvY"),l=o.cleanNumber,s=o.ms2DateTime,c=o.dateTime2ms,u=o.ensureNumber,d=o.isArrayOrTypedArray,f=i("10TEj"),h=f.FP_SAFE,p=f.BADNUM,g=f.LOG_CLIP,v=f.ONEWEEK,m=f.ONEDAY,y=f.ONEHOUR,x=f.ONEMIN,b=f.ONESEC,_=i("22HUI"),w=i("5Lafm"),k=w.HOUR_PATTERN,T=w.WEEKDAY_PATTERN;function M(e){return Math.pow(10,e)}function A(e){return null!=e}e.exports=function(e,t){t=t||{};var i=e._id||"x",f=i.charAt(0);function S(t,r){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&r&&e.range&&2===e.range.length){var n=e.range[0],a=e.range[1];return.5*(n+a-2*g*Math.abs(n-a))}return p}function L(t,r,n,i){if((i||{}).msUTC&&a(t))return+t;var l=c(t,n||e.calendar);if(l===p){if(!a(t))return p;t=+t;var s=Math.floor(10*o.mod(t+.05,1)),u=Math.round(t-s/10);l=c(new Date(u))+s/10}return l}function C(t,r,n){return s(t,r,n||e.calendar)}function I(t){return e._categories[Math.round(t)]}function O(t){if(A(t)){if(void 0===e._categoriesMap&&(e._categoriesMap={}),void 0!==e._categoriesMap[t])return e._categoriesMap[t];e._categories.push("number"==typeof t?String(t):t);var r=e._categories.length-1;return e._categoriesMap[t]=r,r}return p}function D(t){if(e._categoriesMap)return e._categoriesMap[t]}function z(e){var t=D(e);return void 0!==t?t:a(e)?+e:void 0}function P(e){return a(e)?+e:D(e)}function j(e,t,n){return r.round(n+t*e,2)}function E(e,t,r){return(e-r)/t}var R=function(t){return a(t)?j(t,e._m,e._b):p},N=function(t){return E(t,e._m,e._b)};if(e.rangebreaks){var F="y"===f;R=function(t){if(!a(t))return p;var r=e._rangebreaks.length;if(!r)return j(t,e._m,e._b);var n=F;e.range[0]>e.range[1]&&(n=!n);for(var i=n?-1:1,o=i*t,l=0,s=0;su)){l=o<(c+u)/2?s:s+1;break}l=s+1}var d=e._B[l]||0;return isFinite(d)?j(t,e._m2,d):0},N=function(t){var r=e._rangebreaks.length;if(!r)return E(t,e._m,e._b);for(var n=0,a=0;ae._rangebreaks[a].pmax&&(n=a+1);return E(t,e._m2,e._B[n])}}e.c2l="log"===e.type?S:u,e.l2c="log"===e.type?M:u,e.l2p=R,e.p2l=N,e.c2p="log"===e.type?function(e,t){return R(S(e,t))}:R,e.p2c="log"===e.type?function(e){return M(N(e))}:N,-1!==["linear","-"].indexOf(e.type)?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=l,e.c2d=e.c2r=e.l2d=e.l2r=u,e.d2p=e.r2p=function(t){return e.l2p(l(t))},e.p2d=e.p2r=N,e.cleanPos=u):"log"===e.type?(e.d2r=e.d2l=function(e,t){return S(l(e),t)},e.r2d=e.r2c=function(e){return M(l(e))},e.d2c=e.r2l=l,e.c2d=e.l2r=u,e.c2r=S,e.l2d=M,e.d2p=function(t,r){return e.l2p(e.d2r(t,r))},e.p2d=function(e){return M(N(e))},e.r2p=function(t){return e.l2p(l(t))},e.p2r=N,e.cleanPos=u):"date"===e.type?(e.d2r=e.r2d=o.identity,e.d2c=e.r2c=e.d2l=e.r2l=L,e.c2d=e.c2r=e.l2d=e.l2r=C,e.d2p=e.r2p=function(t,r,n){return e.l2p(L(t,0,n))},e.p2d=e.p2r=function(e,t,r){return C(N(e),t,r)},e.cleanPos=function(t){return o.cleanDate(t,p,e.calendar)}):"category"===e.type?(e.d2c=e.d2l=O,e.r2d=e.c2d=e.l2d=I,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=P(t);return void 0!==r?r:e.fraction2r(.5)},e.l2r=e.c2r=u,e.r2l=P,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return I(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return"string"==typeof e&&""!==e?e:u(e)}):"multicategory"===e.type&&(e.r2d=e.c2d=e.l2d=I,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=z(t);return void 0!==r?r:e.fraction2r(.5)},e.r2c_just_indices=D,e.l2r=e.c2r=u,e.r2l=z,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return I(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return Array.isArray(e)||"string"==typeof e&&""!==e?e:u(e)},e.setupMultiCategory=function(r){var n,a,l=e._traceIndices,s=e._matchGroup;if(s&&0===e._categories.length)for(var c in s)if(c!==i){var u=t[_.id2name(c)];l=l.concat(u._traceIndices)}var h=[[0,{}],[0,{}]],p=[];for(n=0;nh&&(l[n]=h),l[0]===l[1]){var c=Math.max(1,Math.abs(1e-6*l[0]));l[0]-=c,l[1]+=c}}else o.nestedProperty(e,t).set(i)},e.setScale=function(r){var n=t._size;if(e.overlaying){var a=_.getFromId({_fullLayout:t},e.overlaying);e.domain=a.domain}var i=r&&e._r?"_r":"range",o=e.calendar;e.cleanRange(i);var l,s,c=e.r2l(e[i][0],o),u=e.r2l(e[i][1],o),d="y"===f;if((d?(e._offset=n.t+(1-e.domain[1])*n.h,e._length=n.h*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u):(e._offset=n.l+e.domain[0]*n.w,e._length=n.w*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c),e._rangebreaks=[],e._lBreaks=0,e._m2=0,e._B=[],e.rangebreaks)&&(e._rangebreaks=e.locateBreaks(Math.min(c,u),Math.max(c,u)),e._rangebreaks.length)){for(l=0;lu&&(h=!h),h&&e._rangebreaks.reverse();var p=h?-1:1;for(e._m2=p*e._length/(Math.abs(u-c)-e._lBreaks),e._B.push(-e._m2*(d?u:c)),l=0;la&&(a+=7,ia&&(a+=24,i=n&&i=n&&t=l.min&&(el.max&&(l.max=n),a=!1)}a&&c.push({min:e,max:n})}};for(n=0;n2*o}(i,t))return"date";var v="strict"!==n.autotypenumbers;return function(e,t){for(var r=e.length,n=d(r),i=0,o=0,l={},u=0;u2*i}(i,v)?"category":function(e,t){for(var r=e.length,n=0;n0&&((k=L-l(x)-s(b))>C?T/k>I&&(_=x,w=b,I=T/k):T/L>I&&(_={val:x.val,nopad:1},w={val:b.val,nopad:1},I=T/L));if(g===v){var O=g-1,D=g+1;if(A)if(0===g)i=[0,1];else{var z=(g>0?p:u).reduce((function(e,t){return Math.max(e,s(t))}),0),P=g/(1-Math.min(.5,z/L));i=g>0?[0,P]:[P,0]}else i=S?[Math.max(0,O),Math.max(1,D)]:[O,D]}else A?(_.val>=0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:0,nopad:1})):S&&(_.val-I*l(_)<0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:1,nopad:1})),I=(w.val-_.val-d(t,x.val,b.val))/(L-l(_)-s(w)),i=[_.val-I*l(_),w.val+I*s(w)];return m&&i.reverse(),n.simpleMap(i,t.l2r||Number)}function d(e,t,r){var n=0;if(e.rangebreaks)for(var a=e.locateBreaks(t,r),i=0;i0?n.ppadplus:n.ppadminus)||n.ppad||0),S=M((e._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),L=M(n.vpadplus||n.vpad),C=M(n.vpadminus||n.vpad);if(!k){if(f=1/0,h=-1/0,w)for(i=0;i0&&(f=o),o>h&&o-a&&(f=o),o>h&&o=D;i--)O(i);return{min:v,max:y,opts:n}},concatExtremes:h};function h(e,t,r){var n,a,i,o=t._id,l=e._fullData,c=e._fullLayout,u=[],d=[];function f(e,t){for(n=0;n=r&&(c.extrapad||!o)){l=!1;break}a(t,c.val)&&c.pad<=r&&(o||!c.extrapad)&&(e.splice(s,1),s--)}if(l){var u=i&&0===t;e.push({val:t,pad:u?0:r,extrapad:!u&&o})}}function m(e){return r(e)&&Math.abs(e)=t}})),i.register("1Cu9q",(function(e,r){var n,a;t(e.exports,"initInteractions",(()=>n),(e=>n=e)),t(e.exports,"updateFx",(()=>a),(e=>a=e));var o=i("4Wia9"),l=i("FNU2H"),s=i("NlhQs"),c=i("3kB5v"),u=i("JiqFZ").makeDragBox,d=i("5Lafm").DRAGGERSIZE;n=function(e){var t=e._fullLayout;if(e._context.staticPlot)o.select(e).selectAll(".drag").remove();else if(t._has("cartesian")||t._has("splom")){Object.keys(t._plots||{}).sort((function(e,r){if((t._plots[e].mainplot&&!0)===(t._plots[r].mainplot&&!0)){var n=e.split("y"),a=r.split("y");return n[0]===a[0]?Number(n[1]||1)-Number(a[1]||1):Number(n[0]||1)-Number(a[0]||1)}return t._plots[e].mainplot?1:-1})).forEach((function(r){var n=t._plots[r],a=n.xaxis,i=n.yaxis;if(!n.mainplot){var o=u(e,n,a._offset,i._offset,a._length,i._length,"ns","ew");o.onmousemove=function(t){e._fullLayout._rehover=function(){e._fullLayout._hoversubplot===r&&e._fullLayout._plots[r]&&l.hover(e,t,r)},l.hover(e,t,r),e._fullLayout._lasthover=o,e._fullLayout._hoversubplot=r},o.onmouseout=function(t){e._dragging||(e._fullLayout._hoversubplot=null,s.unhover(e,t))},e._context.showAxisDragHandles&&(u(e,n,a._offset-d,i._offset-d,d,d,"n","w"),u(e,n,a._offset+a._length,i._offset-d,d,d,"n","e"),u(e,n,a._offset-d,i._offset+i._length,d,d,"s","w"),u(e,n,a._offset+a._length,i._offset+i._length,d,d,"s","e"))}if(e._context.showAxisDragHandles){if(r===a._mainSubplot){var c=a._mainLinePosition;"top"===a.side&&(c-=d),u(e,n,a._offset+.1*a._length,c,.8*a._length,d,"","ew"),u(e,n,a._offset,c,.1*a._length,d,"","w"),u(e,n,a._offset+.9*a._length,c,.1*a._length,d,"","e")}if(r===i._mainSubplot){var f=i._mainLinePosition;"right"!==i.side&&(f-=d),u(e,n,f,i._offset+.1*i._length,d,.8*i._length,"ns",""),u(e,n,f,i._offset+.9*i._length,d,.1*i._length,"s",""),u(e,n,f,i._offset,d,.1*i._length,"n","")}}}));var r=t._hoverlayer.node();r.onmousemove=function(r){r.target=e._fullLayout._lasthover,l.hover(e,r,t._hoversubplot)},r.onclick=function(t){t.target=e._fullLayout._lasthover,l.click(e,t)},r.onmousedown=function(t){e._fullLayout._lasthover.onmousedown(t)},a(e)}},a=function(e){var t=e._fullLayout,r="pan"===t.dragmode?"move":"crosshair";c(t._draggers,r)}})),i.register("FNU2H",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY"),a=i("NlhQs"),o=i("2MtC7"),l=i("1U5js"),s=i("28DIj");e.exports={moduleType:"component",name:"fx",constants:i("1Qgov"),schema:{layout:l},attributes:i("tikJy"),layoutAttributes:l,supplyLayoutGlobalDefaults:i("3yYrT"),supplyDefaults:i("Vckba"),supplyLayoutDefaults:i("RJwVS"),calc:i("1CcKf"),getDistanceFunction:o.getDistanceFunction,getClosest:o.getClosest,inbox:o.inbox,quadrature:o.quadrature,appendArrayPointValue:o.appendArrayPointValue,castHoverOption:function(e,t,r){return n.castOption(e,t,"hoverlabel."+r)},castHoverinfo:function(e,t,r){return n.castOption(e,r,"hoverinfo",(function(r){return n.coerceHoverinfo({hoverinfo:r},{_module:e._module},t)}))},hover:s.hover,unhover:a.unhover,loneHover:s.loneHover,loneUnhover:function(e){var t=n.isD3Selection(e)?e:r.select(e);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()},click:i("7myOX")}})),i.register("NlhQs",(function(e,t){"use strict";var r=i("4PI1I"),n=i("5aT4w"),a=i("3waiA"),o=i("1nIvY").removeElement,l=i("5Lafm"),s=e.exports={};s.align=i("59oIZ"),s.getCursor=i("3cTuS");var c=i("4HygO");function u(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function d(e){return r(e.changedTouches?e.changedTouches[0]:e,document.body)}s.unhover=c.wrapped,s.unhoverRaw=c.raw,s.init=function(e){var t,r,i,c,f,h,p,g,v=e.gd,m=1,y=v._context.doubleClickDelay,x=e.element;v._mouseDownTime||(v._mouseDownTime=0),x.style.pointerEvents="all",x.onmousedown=_,a?(x._ontouchstart&&x.removeEventListener("touchstart",x._ontouchstart),x._ontouchstart=_,x.addEventListener("touchstart",_,{passive:!1})):x.ontouchstart=_;var b=e.clampFn||function(e,t,r){return Math.abs(e)y&&(m=Math.max(m-1,1)),v._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(m,h),!g){var r;try{r=new MouseEvent("click",t)}catch(e){var a=d(t);(r=document.createEvent("MouseEvents")).initMouseEvent("click",t.bubbles,t.cancelable,t.view,t.detail,t.screenX,t.screenY,a[0],a[1],t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget)}p.dispatchEvent(r)}v._dragging=!1,v._dragged=!1}else v._dragged=!1}},s.coverSlip=u})),i.register("4PI1I",(function(e,t){var r={left:0,top:0};e.exports=function(e,t,n){t=t||e.currentTarget||e.srcElement,Array.isArray(n)||(n=[0,0]);var a=e.clientX||0,i=e.clientY||0,o=(l=t,l===window||l===document||l===document.body?r:l.getBoundingClientRect());var l;return n[0]=a-o.left,n[1]=i-o.top,n}})),i.register("3waiA",(function(e,t){"use strict";var r=i("6nPAE");e.exports=r&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return e}()})),i.register("59oIZ",(function(e,t){"use strict";e.exports=function(e,t,r,n,a){var i=(e-r)/(n-r),o=i+t/(n-r),l=(i+o)/2;return"left"===a||"bottom"===a?i:"center"===a||"middle"===a?l:"right"===a||"top"===a?o:i<2/3-l?i:o>4/3-l?o:l}})),i.register("3cTuS",(function(e,t){"use strict";var r=i("1nIvY"),n=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];e.exports=function(e,t,a,i){return e="left"===a?0:"center"===a?1:"right"===a?2:r.constrain(Math.floor(3*e),0,2),t="bottom"===i?0:"middle"===i?1:"top"===i?2:r.constrain(Math.floor(3*t),0,2),n[t][e]}})),i.register("4HygO",(function(e,t){"use strict";var r=i("5yBVq"),n=i("3RMbo"),a=i("44pv8").getGraphDiv,o=i("1Qgov"),l=e.exports={};l.wrapped=function(e,t,r){(e=a(e))._fullLayout&&n.clear(e._fullLayout._uid+o.HOVERID),l.raw(e,t,r)},l.raw=function(e,t){var n=e._fullLayout,a=e._hoverdata;t||(t={}),t.target&&!1===r.triggerHandler(e,"plotly_beforehover",t)||(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),e._hoverdata=void 0,t.target&&a&&e.emit("plotly_unhover",{event:t,points:a}))}})),i.register("28DIj",(function(e,r){var n,a;t(e.exports,"loneHover",(()=>a),(e=>a=e)),t(e.exports,"hover",(()=>n),(e=>n=e));var o=i("4Wia9"),l=i("6qr5h"),s=i("3Twc4"),c=i("1nIvY"),u=c.strTranslate,d=c.strRotate,f=i("5yBVq"),h=i("49Q6h"),p=i("7tQKZ"),g=i("7jar4"),v=i("3N5m7"),m=i("NlhQs"),y=i("1nE8l"),x=i("4Hxcc"),b=i("2MtC7"),_=i("1Qgov"),w=i("3YXj5"),k=i("Zg88i"),T=_.YANGLE,M=Math.PI*T/180,A=1/Math.sin(M),S=Math.cos(M),L=Math.sin(M),C=_.HOVERARROWSIZE,I=_.HOVERTEXTPAD;function O(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa,e.ya||""].join(",")}n=function(e,t,r,n){e=c.getGraphDiv(e),c.throttle(e._fullLayout._uid+_.HOVERID,_.HOVERMINTIME,(function(){!function(e,t,r,n){r||(r="xy");var a=Array.isArray(r)?r:[r],i=e._fullLayout,s=i._plots||[],u=s[r],d=i._has("cartesian");if(u){var h=u.overlays.map((function(e){return e.id}));a=a.concat(h)}for(var g=a.length,y=new Array(g),_=new Array(g),w=!1,k=0;ky[0]._length||ee<0||ee>_[0]._length)return m.unhoverRaw(e,t)}if(t.pointerX=$+y[0]._offset,t.pointerY=ee+_[0]._offset,L="xval"in t?b.flat(a,t.xval):b.p2c(y,$),C="yval"in t?b.flat(a,t.yval):b.p2c(_,ee),!l(L[0])||!l(C[0]))return c.warn("Fx.hover failed",t,e),m.unhoverRaw(e,t)}var ne=1/0;function ae(e,r){for(D=0;DG&&(X.splice(0,G),ne=X[0].distance),d&&0!==W&&0===X.length){Y.distance=W,Y.index=!1;var f=F._module.hoverPoints(Y,q,V,"closest",i._hoverlayer);if(f&&(f=f.filter((function(e){return e.spikeDistance<=W}))),f&&f.length){var h,p=f.filter((function(e){return e.xa.showspikes&&"hovered data"!==e.xa.spikesnap}));if(p.length){var g=p[0];l(g.x0)&&l(g.y0)&&(h=oe(g),(!J.vLinePoint||J.vLinePoint.spikeDistance>h.spikeDistance)&&(J.vLinePoint=h))}var m=f.filter((function(e){return e.ya.showspikes&&"hovered data"!==e.ya.spikesnap}));if(m.length){var x=m[0];l(x.x0)&&l(x.y0)&&(h=oe(x),(!J.hLinePoint||J.hLinePoint.spikeDistance>h.spikeDistance)&&(J.hLinePoint=h))}}}}}function ie(e,t){for(var r,n=null,a=1/0,i=0;i1||X.length>1)||"closest"===S&&K&&X.length>1,Ae=v.combine(i.plot_bgcolor||v.background,i.paper_bgcolor),Se={hovermode:S,rotateLabels:Me,bgColor:Ae,container:i._hoverlayer,outerContainer:i._paperdiv,commonLabelOpts:i.hoverlabel,hoverdistance:i.hoverdistance},Le=z(X,Se,e);b.isUnifiedHover(S)||(!function(e,t,r){var n,a,i,o,l,s,c,u=0,d=1,f=e.size(),h=new Array(f),p=0;function g(e){var t=e[0],r=e[e.length-1];if(a=t.pmin-t.pos-t.dp+t.size,i=r.pos+r.dp+r.size-t.pmax,a>.01){for(l=e.length-1;l>=0;l--)e[l].dp+=a;n=!1}if(!(i<.01)){if(a<-.01){for(l=e.length-1;l>=0;l--)e[l].dp-=i;n=!1}if(n){var c=0;for(o=0;ot.pmax&&c++;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos>t.pmax-1&&(s.del=!0,c--);for(o=0;o=0;l--)e[l].dp-=i;for(o=e.length-1;o>=0&&!(c<=0);o--)(s=e[o]).pos+s.dp+s.size>t.pmax&&(s.del=!0,c--)}}}e.each((function(e){var n=e[t],a="x"===n._id.charAt(0),i=n.range;0===p&&i&&i[0]>i[1]!==a&&(d=-1),h[p++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(a?A:1)/2,pmin:0,pmax:a?r.width:r.height}]})),h.sort((function(e,t){return e[0].posref-t[0].posref||d*(t[0].traceIndex-e[0].traceIndex)}));for(;!n&&u<=f;){for(u++,n=!0,o=0;o.01&&y.pmin===x.pmin&&y.pmax===x.pmax){for(l=m.length-1;l>=0;l--)m[l].dp+=a;for(v.push.apply(v,m),h.splice(o+1,1),c=0,l=v.length-1;l>=0;l--)c+=v[l].dp;for(i=c/v.length,l=v.length-1;l>=0;l--)v[l].dp-=i;n=!1}else o++}h.forEach(g)}for(o=h.length-1;o>=0;o--){var b=h[o];for(l=b.length-1;l>=0;l--){var _=b[l],w=_.datum;w.offset=_.dp,w.del=_.del}}}(Le,Me?"xa":"ya",i),j(Le,Me,i._invScaleX,i._invScaleY));if(t.target&&t.target.tagName){var Ce=x.getComponentMethod("annotations","hasClickToShow")(e,_e);p(o.select(t.target),Ce?"pointer":"")}if(!t.target||n||!function(e,t,r){if(!r||r.length!==e._hoverdata.length)return!0;for(var n=r.length-1;n>=0;n--){var a=r[n],i=e._hoverdata[n];if(a.curveNumber!==i.curveNumber||String(a.pointNumber)!==String(i.pointNumber)||String(a.pointNumbers)!==String(i.pointNumbers))return!0}return!1}(e,0,be))return;be&&e.emit("plotly_unhover",{event:t,points:be});e.emit("plotly_hover",{event:t,points:e._hoverdata,xaxes:y,yaxes:_,xvals:L,yvals:C})}(e,t,r,n)}))},a=function(e,t){var r=!0;Array.isArray(e)||(r=!1,e=[e]);var n=e.map((function(e){return{color:e.color||v.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,eventData:e.eventData||!1,hovertemplateLabels:e.hovertemplateLabels||!1}})),a=o.select(t.container),i=t.outerContainer?o.select(t.outerContainer):a,l={hovermode:"closest",rotateLabels:!1,bgColor:t.bgColor||v.background,container:a,outerContainer:i},s=z(n,l,t.gd),c=0,u=0;s.sort((function(e,t){return e.y0-t.y0})).each((function(e,r){var n=e.y0-e.by/2;e.offset=n-5([\s\S]*)<\/extra>/;function z(e,t,r){var n=r._fullLayout,a=t.hovermode,i=t.rotateLabels,l=t.bgColor,s=t.container,f=t.outerContainer,p=t.commonLabelOpts||{},m=t.fontFamily||_.HOVERFONT,y=t.fontSize||_.HOVERFONTSIZE,x=e[0],M=x.xa,A=x.ya,S="y"===a.charAt(0)?"yLabel":"xLabel",L=x[S],D=(String(L)||"").split(" ")[0],z=f.node().getBoundingClientRect(),j=z.top,E=z.width,R=z.height,N=void 0!==L&&x.distance<=t.hoverdistance&&("x"===a||"y"===a);if(N){var F,H,B=!0;for(F=0;Fn.width-S?(_=n.width-S,i.attr("d","M"+(S-C)+",0L"+S+","+T+C+"v"+T+(2*I+k.height)+"H-"+S+"V"+T+C+"H"+(S-2*C)+"Z")):i.attr("d","M0,0L"+C+","+T+C+"H"+(I+k.width/2)+"v"+T+(2*I+k.height)+"H-"+(I+k.width/2)+"V"+T+C+"H-"+C+"Z")}else{var O,D,z;"right"===A.side?(O="start",D=1,z="",_=M._offset+M._length):(O="end",D=-1,z="-",_=M._offset),w=A._offset+(x.y0+x.y1)/2,l.attr("text-anchor",O),i.attr("d","M0,0L"+z+C+","+C+"V"+(I+k.height/2)+"h"+z+(2*I+k.width)+"V-"+(I+k.height/2)+"H"+z+C+"V-"+C+"Z");var P,E=k.height/2,R=j-k.top-E,N="clip"+n._uid+"commonlabel"+A._id;if(_=0?te-=ae:te+=2*I;var ie=ne.height+2*I,oe=ee+ie>=R;return ie<=R&&(ee<=j?ee=A._offset+2*I:oe&&(ee=R-ie)),re.attr("transform",u(te,ee)),re}var le=s.selectAll("g.hovertext").data(e,(function(e){return O(e)}));return le.enter().append("g").classed("hovertext",!0).each((function(){var e=o.select(this);e.append("rect").call(v.fill,v.addOpacity(l,.8)),e.append("text").classed("name",!0),e.append("path").style("stroke-width","1px"),e.append("text").classed("nums",!0).call(g.font,m,y)})),le.exit().remove(),le.each((function(e){var t=o.select(this).attr("transform",""),s=e.color;Array.isArray(s)&&(s=s[e.eventData[0].pointNumber]);var c=e.bgcolor||s,f=v.combine(v.opacity(c)?c:v.defaultLine,l),p=v.combine(v.opacity(s)?s:v.defaultLine,l),x=e.borderColor||v.contrast(f),b=P(e,N,a,n,L,t),_=b[0],w=b[1],k=t.select("text.nums").call(g.font,e.fontFamily||m,e.fontSize||y,e.fontColor||x).text(_).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r),M=t.select("text.name"),A=0,S=0;if(w&&w!==_){M.call(g.font,e.fontFamily||m,e.fontSize||y,p).text(w).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r);var O=M.node().getBoundingClientRect();A=O.width+2*I,S=O.height+2*I}else M.remove(),t.select("rect").remove();t.select("path").style({fill:f,stroke:x});var D,z,F=k.node().getBoundingClientRect(),H=e.xa._offset+(e.x0+e.x1)/2,B=e.ya._offset+(e.y0+e.y1)/2,U=Math.abs(e.x1-e.x0),q=Math.abs(e.y1-e.y0),V=F.width+C+I+A;if(e.ty0=j-F.top,e.bx=F.width+2*I,e.by=Math.max(F.height+2*I,S),e.anchor="start",e.txwidth=F.width,e.tx2width=A,e.offset=0,i)e.pos=H,D=B+q/2+V<=R,z=B-q/2-V>=0,"top"!==e.idealAlign&&D||!z?D?(B+=q/2,e.anchor="start"):e.anchor="middle":(B-=q/2,e.anchor="end");else if(e.pos=B,D=H+U/2+V<=E,z=H-U/2-V>=0,"left"!==e.idealAlign&&D||!z)if(D)H+=U/2,e.anchor="start";else{e.anchor="middle";var Y=V/2,G=H+Y-E,Z=H-Y;G>0&&(H-=G),Z<0&&(H+=-Z)}else H-=U/2,e.anchor="end";k.attr("text-anchor",e.anchor),A&&M.attr("text-anchor",e.anchor),t.attr("transform",u(H,B)+(i?d(T):""))})),le}function P(e,t,r,n,a,i){var o="",l="";void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&(e.trace._meta&&(e.name=c.templateString(e.name,e.trace._meta)),o=F(e.name,e.nameLength)),void 0!==e.zLabel?(void 0!==e.xLabel&&(l+="x: "+e.xLabel+"
"),void 0!==e.yLabel&&(l+="y: "+e.yLabel+"
"),"choropleth"!==e.trace.type&&"choroplethmapbox"!==e.trace.type&&(l+=(l?"z: ":"")+e.zLabel)):t&&e[r.charAt(0)+"Label"]===a?l=e[("x"===r.charAt(0)?"y":"x")+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&"scattercarpet"!==e.trace.type&&(l=e.yLabel):l=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",!e.text&&0!==e.text||Array.isArray(e.text)||(l+=(l?"
":"")+e.text),void 0!==e.extraText&&(l+=(l?"
":"")+e.extraText),i&&""===l&&!e.hovertemplate&&(""===o&&i.remove(),l=o);var s=n._d3locale,u=e.hovertemplate||!1,d=e.hovertemplateLabels||e,f=e.eventData[0]||{};return u&&(l=(l=c.hovertemplateString(u,d,s,f,e.trace._meta)).replace(D,(function(t,r){return o=F(r,e.nameLength),""}))),[l,o]}function j(e,t,r,n){var a=function(e){return e*r},i=function(e){return e*n};e.each((function(e){var r=o.select(this);if(e.del)return r.remove();var n=r.select("text.nums"),l=e.anchor,s="end"===l?-1:1,c={start:1,end:-1,middle:0}[l],u=c*(C+I),d=u+c*(e.txwidth+I),f=0,p=e.offset,v="middle"===l;v&&(u-=e.tx2width/2,d+=e.txwidth/2+I),t&&(p*=-L,f=e.offset*S),r.select("path").attr("d",v?"M-"+a(e.bx/2+e.tx2width/2)+","+i(p-e.by/2)+"h"+a(e.bx)+"v"+i(e.by)+"h-"+a(e.bx)+"Z":"M0,0L"+a(s*C+f)+","+i(C+p)+"v"+i(e.by/2-C)+"h"+a(s*e.bx)+"v-"+i(e.by)+"H"+a(s*C+f)+"V"+i(p-C)+"Z");var m=f+u,y=p+e.ty0-e.by/2+I,x=e.textAlign||"auto";"auto"!==x&&("left"===x&&"start"!==l?(n.attr("text-anchor","start"),m=v?-e.bx/2-e.tx2width/2+I:-e.bx-I):"right"===x&&"end"!==l&&(n.attr("text-anchor","end"),m=v?e.bx/2-e.tx2width/2-I:e.bx+I)),n.call(h.positionText,a(m),i(y)),e.tx2width&&(r.select("text.name").call(h.positionText,a(d+c*I+f),i(p+e.ty0-e.by/2+I)),r.select("rect").call(g.setRect,a(d+(c-1)*e.tx2width/2+f),i(p-e.by/2-1),a(e.tx2width),i(e.by+2)))}))}function E(e,t){var r=e.index,n=e.trace||{},a=e.cd[0],i=e.cd[r]||{};function o(e){return e||l(e)&&0===e}var s=Array.isArray(r)?function(e,t){var i=c.castOption(a,r,e);return o(i)?i:c.extractOption({},n,"",t)}:function(e,t){return c.extractOption(i,n,e,t)};function u(t,r,n){var a=s(r,n);o(a)&&(e[t]=a)}if(u("hoverinfo","hi","hoverinfo"),u("bgcolor","hbg","hoverlabel.bgcolor"),u("borderColor","hbc","hoverlabel.bordercolor"),u("fontFamily","htf","hoverlabel.font.family"),u("fontSize","hts","hoverlabel.font.size"),u("fontColor","htc","hoverlabel.font.color"),u("nameLength","hnl","hoverlabel.namelength"),u("textAlign","hta","hoverlabel.align"),e.posref="y"===t||"closest"===t&&"h"===n.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=c.constrain(e.x0,0,e.xa._length),e.x1=c.constrain(e.x1,0,e.xa._length),e.y0=c.constrain(e.y0,0,e.ya._length),e.y1=c.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel="xLabel"in e?e.xLabel:y.hoverLabelText(e.xa,e.xLabelVal),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel="yLabel"in e?e.yLabel:y.hoverLabelText(e.ya,e.yLabelVal),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!(isNaN(e.xerr)||"log"===e.xa.type&&e.xerr<=0)){var d=y.tickText(e.xa,e.xa.c2l(e.xerr),"hover").text;void 0!==e.xerrneg?e.xLabel+=" +"+d+" / -"+y.tickText(e.xa,e.xa.c2l(e.xerrneg),"hover").text:e.xLabel+=" ยฑ "+d,"x"===t&&(e.distance+=1)}if(!(isNaN(e.yerr)||"log"===e.ya.type&&e.yerr<=0)){var f=y.tickText(e.ya,e.ya.c2l(e.yerr),"hover").text;void 0!==e.yerrneg?e.yLabel+=" +"+f+" / -"+y.tickText(e.ya,e.ya.c2l(e.yerrneg),"hover").text:e.yLabel+=" ยฑ "+f,"y"===t&&(e.distance+=1)}var h=e.hoverinfo||e.trace.hoverinfo;return h&&"all"!==h&&(-1===(h=Array.isArray(h)?h:h.split("+")).indexOf("x")&&(e.xLabel=void 0),-1===h.indexOf("y")&&(e.yLabel=void 0),-1===h.indexOf("z")&&(e.zLabel=void 0),-1===h.indexOf("text")&&(e.text=void 0),-1===h.indexOf("name")&&(e.name=void 0)),e}function R(e,t,r){var n,a,i=r.container,o=r.fullLayout,l=o._size,c=r.event,u=!!t.hLinePoint,d=!!t.vLinePoint;if(i.selectAll(".spikeline").remove(),d||u){var f=v.combine(o.plot_bgcolor,o.paper_bgcolor);if(u){var h,p,m=t.hLinePoint;n=m&&m.xa,"cursor"===(a=m&&m.ya).spikesnap?(h=c.pointerX,p=c.pointerY):(h=n._offset+m.x,p=a._offset+m.y);var x,b,_=s.readability(m.color,f)<1.5?v.contrast(f):m.color,w=a.spikemode,k=a.spikethickness,T=a.spikecolor||_,M=y.getPxPosition(e,a);if(-1!==w.indexOf("toaxis")||-1!==w.indexOf("across")){if(-1!==w.indexOf("toaxis")&&(x=M,b=h),-1!==w.indexOf("across")){var A=a._counterDomainMin,S=a._counterDomainMax;"free"===a.anchor&&(A=Math.min(A,a.position),S=Math.max(S,a.position)),x=l.l+A*l.w,b=l.l+S*l.w}i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k,stroke:T,"stroke-dasharray":g.dashStyle(a.spikedash,k)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==w.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:M+("right"!==a.side?k:-k),cy:p,r:k,fill:T}).classed("spikeline",!0)}if(d){var L,C,I=t.vLinePoint;n=I&&I.xa,a=I&&I.ya,"cursor"===n.spikesnap?(L=c.pointerX,C=c.pointerY):(L=n._offset+I.x,C=a._offset+I.y);var O,D,z=s.readability(I.color,f)<1.5?v.contrast(f):I.color,P=n.spikemode,j=n.spikethickness,E=n.spikecolor||z,R=y.getPxPosition(e,n);if(-1!==P.indexOf("toaxis")||-1!==P.indexOf("across")){if(-1!==P.indexOf("toaxis")&&(O=R,D=C),-1!==P.indexOf("across")){var N=n._counterDomainMin,F=n._counterDomainMax;"free"===n.anchor&&(N=Math.min(N,n.position),F=Math.max(F,n.position)),O=l.t+(1-F)*l.h,D=l.t+(1-N)*l.h}i.insert("line",":first-child").attr({x1:L,x2:L,y1:O,y2:D,"stroke-width":j,stroke:E,"stroke-dasharray":g.dashStyle(n.spikedash,j)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:L,x2:L,y1:O,y2:D,"stroke-width":j+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==P.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:L,cy:R-("top"!==n.side?j:-j),r:j,fill:E}).classed("spikeline",!0)}}}function N(e,t){return!t||(t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint)}function F(e,t){return h.plainText(e||"",{len:t,allowedTags:["br","sub","sup","b","i","em"]})}})),i.register("7tQKZ",(function(e,t){"use strict";var r=i("3kB5v"),n="data-savedcursor";e.exports=function(e,t){var a=e.attr(n);if(t){if(!a){for(var i=(e.attr("class")||"").split(" "),o=0;o1);if(!1!==g||c.uirevision){var v=a.newContainer(t,"legend");if(_("uirevision",t.uirevision),!1!==g){_("bgcolor",t.paper_bgcolor),_("bordercolor"),_("borderwidth"),n.coerceFont(_,"font",t.font);var m,y,x,b=_("orientation");"h"===b?(m=0,r.getComponentMethod("rangeslider","isVisible")(e.xaxis)?(y=1.1,x="bottom"):(y=-.1,x="top")):(m=1.02,y=1,x="auto"),_("traceorder",f),s.isGrouped(t.legend)&&_("tracegroupgap"),_("itemsizing"),_("itemwidth"),_("itemclick"),_("itemdoubleclick"),_("x",m),_("xanchor"),_("y",y),_("yanchor",x),_("valign"),n.noneOrAll(c,v,["x","y"]),_("title.text")&&(_("title.side","h"===b?"left":"top"),n.coerceFont(_,"title.font",t.font))}}function _(e,t){return n.coerce(c,v,o,e,t)}}})),i.register("1rDLs",(function(e,t){"use strict";var r=i("10Nlb"),n=i("4f6io");e.exports={bgcolor:{valType:"color",role:"style",editType:"legend",description:["Sets the legend background color.","Defaults to `layout.paper_bgcolor`."].join(" ")},bordercolor:{valType:"color",dflt:n.defaultLine,role:"style",editType:"legend",description:"Sets the color of the border enclosing the legend."},borderwidth:{valType:"number",min:0,dflt:0,role:"style",editType:"legend",description:"Sets the width (in px) of the border enclosing the legend."},font:r({editType:"legend",description:"Sets the font used to text the legend items."}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",role:"info",editType:"legend",description:"Sets the orientation of the legend."},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],role:"style",editType:"legend",description:["Determines the order at which the legend items are displayed.","If *normal*, the items are displayed top-to-bottom in the same","order as the input data.","If *reversed*, the items are displayed in the opposite order","as *normal*.","If *grouped*, the items are displayed in groups","(when a trace `legendgroup` is provided).","if *grouped+reversed*, the items are displayed in the opposite order","as *grouped*."].join(" ")},tracegroupgap:{valType:"number",min:0,dflt:10,role:"style",editType:"legend",description:["Sets the amount of vertical space (in px) between legend groups."].join(" ")},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",role:"style",editType:"legend",description:["Determines if the legend items symbols scale with their corresponding *trace* attributes","or remain *constant* independent of the symbol size on the graph."].join(" ")},itemwidth:{valType:"number",min:30,dflt:30,role:"style",editType:"legend",description:"Sets the width (in px) of the legend item symbols (the part other than the title.text)."},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",role:"info",editType:"legend",description:["Determines the behavior on legend item click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item click interactions."].join(" ")},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",role:"info",editType:"legend",description:["Determines the behavior on legend item double-click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item double-click interactions."].join(" ")},x:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the x position (in normalized coordinates) of the legend.","Defaults to *1.02* for vertical legends and","defaults to *0* for horizontal legends."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",editType:"legend",description:["Sets the legend's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the legend.","Value *auto* anchors legends to the right for `x` values greater than or equal to 2/3,","anchors legends to the left for `x` values less than or equal to 1/3 and","anchors legends with respect to their center otherwise."].join(" ")},y:{valType:"number",min:-2,max:3,role:"style",editType:"legend",description:["Sets the y position (in normalized coordinates) of the legend.","Defaults to *1* for vertical legends,","defaults to *-0.1* for horizontal legends on graphs w/o range sliders and","defaults to *1.1* for horizontal legends on graph with one or multiple range sliders."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],role:"info",editType:"legend",description:["Sets the legend's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the legend.","Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,","anchors legends to at their top for `y` values greater than or equal to 2/3 and","anchors legends with respect to their middle otherwise."].join(" ")},uirevision:{valType:"any",role:"info",editType:"none",description:["Controls persistence of legend-driven changes in trace and pie label","visibility. Defaults to `layout.uirevision`."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"legend",description:["Sets the vertical alignment of the symbols with respect to their associated text."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"legend",description:["Sets the title of the legend."].join(" ")},font:r({editType:"legend",description:["Sets this legend's title font."].join(" ")}),side:{valType:"enumerated",values:["top","left","top left"],role:"style",editType:"legend",description:["Determines the location of legend's title","with respect to the legend items.","Defaulted to *top* with `orientation` is *h*.","Defaulted to *left* with `orientation` is *v*.","The *top left* options could be used to expand","legend area in both x and y sides."].join(" ")},editType:"legend"},editType:"legend"}})),i.register("64g8Y",(function(e,r){var n,a,i;t(e.exports,"isVertical",(()=>i),(e=>i=e)),t(e.exports,"isReversed",(()=>n),(e=>n=e)),t(e.exports,"isGrouped",(()=>a),(e=>a=e)),a=function(e){return-1!==(e.traceorder||"").indexOf("grouped")},i=function(e){return"h"!==e.orientation},n=function(e){return-1!==(e.traceorder||"").indexOf("reversed")}})),i.register("Zg88i",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY"),a=i("3BndS"),o=i("4Hxcc"),l=i("5yBVq"),s=i("NlhQs"),c=i("7jar4"),u=i("3N5m7"),d=i("49Q6h"),f=i("gz6YF"),h=i("2eUTF"),p=i("5n2uh"),g=p.LINE_SPACING,v=p.FROM_TL,m=p.FROM_BR,y=i("3ov00"),x=i("1RGiq"),b=i("64g8Y");function _(e,t,r,n,a){var i=r.data()[0][0].trace,s={event:a,node:r.node(),curveNumber:i.index,expandedIndex:i._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};if(i._group&&(s.group=i._group),o.traceIs(i,"pie-like")&&(s.label=r.datum()[0].label),!1!==l.triggerHandler(e,"plotly_legendclick",s))if(1===n)t._clickTimeout=setTimeout((function(){f(r,e,n)}),e._context.doubleClickDelay);else if(2===n){t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==l.triggerHandler(e,"plotly_legenddoubleclick",s)&&f(r,e,n)}}function w(e,t,r){var a,i=e.data()[0][0],l=i.trace,s=o.traceIs(l,"pie-like"),u=l.index,f=r._main&&t._context.edits.legendText&&!s,p=r._maxNameLength;r.entries?a=i.text:(a=s?i.label:l.name,l._meta&&(a=n.templateString(a,l._meta)));var g=n.ensureSingle(e,"text","legendtext");g.attr("text-anchor","start").call(c.font,r.font).text(f?k(a,p):a);var v=r.itemwidth+2*h.itemGap;d.positionText(g,v,0),f?g.call(d.makeEditable,{gd:t,text:a}).call(M,e,t,r).on("edit",(function(a){this.text(k(a,p)).call(M,e,t,r);var l=i.trace._fullInput||{},s={};if(o.hasTransform(l,"groupby")){var c=o.getTransformIndices(l,"groupby"),d=c[c.length-1],f=n.keyedContainer(l,"transforms["+d+"].styles","target","value.name");f.set(i.trace._group,a),s=f.constructUpdate()}else s.name=a;return o.call("_guiRestyle",t,s,u)})):M(g,e,t,r)}function k(e,t){var r=Math.max(4,t);if(e&&e.trim().length>=r/2)return e;for(var n=r-(e=e||"").length;n>0;n--)e+=" ";return e}function T(e,t){var a,i=t._context.doubleClickDelay,o=1,l=n.ensureSingle(e,"rect","legendtoggle",(function(e){t._context.staticPlot||e.style("cursor","pointer").attr("pointer-events","all"),e.call(u.fill,"rgba(0,0,0,0)")}));t._context.staticPlot||(l.on("mousedown",(function(){(a=(new Date).getTime())-t._legendMouseDownTimei&&(o=Math.max(o-1,1)),_(t,n,e,o,r.event)}})))}function M(e,t,r,n){n._main||e.attr("data-notex",!0),d.convertToTspans(e,r,(function(){!function(e,t,r){var n=e.data()[0][0];if(r._main&&n&&!n.trace.showlegend)return void e.remove();var a=e.select("g[class*=math-group]"),i=a.node();r||(r=t._fullLayout.legend);var o,l,s=r.borderwidth,u=(n?r:r.title).font.size*g;if(i){var f=c.bBox(i);o=f.height,l=f.width,n?c.setTranslate(a,0,.25*o):c.setTranslate(a,s,.75*o+s)}else{var p=e.select(n?".legendtext":".legendtitletext"),v=d.lineCount(p),m=p.node();o=u*v,l=m?c.bBox(m).width:0;var y=u*((v-1)/2-.3);if(n){var x=r.itemwidth+2*h.itemGap;d.positionText(p,x,-y)}else d.positionText(p,h.titlePad+s,u+s)}n?(n.lineHeight=u,n.height=Math.max(o,16)+3,n.width=l):(r._titleWidth=l,r._titleHeight=o)}(t,r,n)}))}function A(e){return n.isRightAnchor(e)?"right":n.isCenterAnchor(e)?"center":"left"}function S(e){return n.isBottomAnchor(e)?"bottom":n.isMiddleAnchor(e)?"middle":"top"}e.exports=function(e,t){var i,l=e._fullLayout,d="legend"+l._uid;if(t?(i=t.layer,d+="-hover"):((t=l.legend||{})._main=!0,i=l._infolayer),i){var f;if(e._legendMouseDownTime||(e._legendMouseDownTime=0),t._main){if(!e.calcdata)return;f=l.showlegend&&y(e.calcdata,t)}else{if(!t.entries)return;f=y(t.entries,t)}var p=l.hiddenlabels||[];if(t._main&&(!l.showlegend||!f.length))return i.selectAll(".legend").remove(),l._topdefs.select("#"+d).remove(),a.autoMargin(e,"legend");var g=n.ensureSingle(i,"g","legend",(function(e){t._main&&e.attr("pointer-events","all")})),k=n.ensureSingleById(l._topdefs,"clipPath",d,(function(e){e.append("rect")})),L=n.ensureSingle(g,"rect","bg",(function(e){e.attr("shape-rendering","crispEdges")}));L.call(u.stroke,t.bordercolor).call(u.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var C=n.ensureSingle(g,"g","scrollbox"),I=t.title;if(t._titleWidth=0,t._titleHeight=0,I.text){var O=n.ensureSingle(C,"text","legendtitletext");O.attr("text-anchor","start").call(c.font,I.font).text(I.text),M(O,C,e,t)}else C.selectAll(".legendtitletext").remove();var D=n.ensureSingle(g,"rect","scrollbar",(function(e){e.attr(h.scrollBarEnterAttrs).call(u.fill,h.scrollBarColor)})),z=C.selectAll("g.groups").data(f);z.enter().append("g").attr("class","groups"),z.exit().remove();var P=z.selectAll("g.traces").data(n.identity);P.enter().append("g").attr("class","traces"),P.exit().remove(),P.style("opacity",(function(e){var t=e[0].trace;return o.traceIs(t,"pie-like")?-1!==p.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1})).each((function(){r.select(this).call(w,e,t)})).call(x,e,t).each((function(){t._main&&r.select(this).call(T,e)})),n.syncOrAsync([a.previousPromises,function(){return function(e,t,n,a){var i=e._fullLayout;a||(a=i.legend);var o=i._size,l=b.isVertical(a),s=b.isGrouped(a),u=a.borderwidth,d=2*u,f=h.itemGap,p=a.itemwidth+2*f,g=2*(u+f),v=S(a),m=a.y<0||0===a.y&&"top"===v,y=a.y>1||1===a.y&&"bottom"===v;a._maxHeight=Math.max(m||y?i.height/2:o.h,30);var x=0;a._width=0,a._height=0;var _=function(e){var t=0,r=0,n=e.title.side;n&&(-1!==n.indexOf("left")&&(t=e._titleWidth),-1!==n.indexOf("top")&&(r=e._titleHeight));return[t,r]}(a);if(l)n.each((function(e){var t=e[0].height;c.setTranslate(this,u+_[0],u+_[1]+a._height+t/2+f),a._height+=t,a._width=Math.max(a._width,e[0].width)})),x=p+a._width,a._width+=f+p+d,a._height+=g,s&&(t.each((function(e,t){c.setTranslate(this,0,t*a.tracegroupgap)})),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var w=A(a),k=a.x<0||0===a.x&&"right"===w,T=a.x>1||1===a.x&&"left"===w,M=y||m,L=i.width/2;a._maxWidth=Math.max(k?M&&"left"===w?o.l+o.w:L:T?M&&"right"===w?o.r+o.w:L:o.w,2*p);var C=0,I=0;n.each((function(e){var t=e[0].width+p;C=Math.max(C,t),I+=t})),x=null;var O=0;if(s){var D=0,z=0,P=0;t.each((function(){var e=0,t=0;r.select(this).selectAll("g.traces").each((function(r){var n=r[0].height;c.setTranslate(this,_[0],_[1]+u+f+n/2+t),t+=n,e=Math.max(e,p+r[0].width)})),D=Math.max(D,t);var n=e+f;n+u+z>a._maxWidth&&(O=Math.max(O,z),z=0,P+=D+a.tracegroupgap,D=t),c.setTranslate(this,z,P),z+=n})),a._width=Math.max(O,z)+u,a._height=P+D+g}else{var j=n.size(),E=I+d+(j-1)*f=a._maxWidth&&(O=Math.max(O,H),N=0,F+=R,a._height+=R,R=0),c.setTranslate(this,_[0]+u+N,_[1]+u+F+t/2+f),H=N+r+f,N+=n,R=Math.max(R,t)})),E?(a._width=N+d,a._height=R+g):(a._width=Math.max(O,H)+d,a._height+=R+g)}}a._width=Math.ceil(Math.max(a._width+_[0],a._titleWidth+2*(u+h.titlePad))),a._height=Math.ceil(Math.max(a._height+_[1],a._titleHeight+2*(u+h.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var B=e._context.edits,U=B.legendText||B.legendPosition;n.each((function(e){var t=r.select(this).select(".legendtoggle"),n=e[0].height,a=U?p:x||p+e[0].width;l||(a+=f/2),c.setRect(t,0,-n/2,a,n)}))}(e,z,P,t)},function(){if(!t._main||!function(e){var t=e._fullLayout.legend,r=A(t),n=S(t);return a.autoMargin(e,"legend",{x:t.x,y:t.y,l:t._width*v[r],r:t._width*m[r],b:t._effHeight*m[n],t:t._effHeight*v[n]})}(e)){var u,f,p,y,x=l._size,b=t.borderwidth,w=x.l+x.w*t.x-v[A(t)]*t._width,T=x.t+x.h*(1-t.y)-v[S(t)]*t._effHeight;if(t._main&&l.margin.autoexpand){var M=w,I=T;w=n.constrain(w,0,l.width-t._width),T=n.constrain(T,0,l.height-t._effHeight),w!==M&&n.log("Constrain legend.x to make legend fit inside graph"),T!==I&&n.log("Constrain legend.y to make legend fit inside graph")}if(t._main&&c.setTranslate(g,w,T),D.on(".drag",null),g.on("wheel",null),!t._main||t._height<=t._maxHeight||e._context.staticPlot){var O=t._effHeight;t._main||(O=t._height),L.attr({width:t._width-b,height:O-b,x:b/2,y:b/2}),c.setTranslate(C,0,0),k.select("rect").attr({width:t._width-2*b,height:O-2*b,x:b,y:b}),c.setClipUrl(C,d,e),c.setRect(D,0,0,0,0),delete t._scrollY}else{var z,P,j,E=Math.max(h.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),R=t._effHeight-E-2*h.scrollBarMargin,N=t._height-t._effHeight,F=R/N,H=Math.min(t._scrollY||0,N);L.attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-b,x:b/2,y:b/2}),k.select("rect").attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-2*b,x:b,y:b+H}),c.setClipUrl(C,d,e),q(H,E,F),g.on("wheel",(function(){q(H=n.constrain(t._scrollY+r.event.deltaY/R*N,0,N),E,F),0!==H&&H!==N&&r.event.preventDefault()}));var B=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;z="touchstart"===e.type?e.changedTouches[0].clientY:e.clientY,j=H})).on("drag",(function(){var e,t=r.event.sourceEvent;2===t.buttons||t.ctrlKey||(P="touchmove"===t.type?t.changedTouches[0].clientY:t.clientY,e=(P-z)/F+j,q(H=n.constrain(e,0,N),E,F))}));D.call(B);var U=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;"touchstart"===e.type&&(z=e.changedTouches[0].clientY,j=H)})).on("drag",(function(){var e,t=r.event.sourceEvent;"touchmove"===t.type&&(P=t.changedTouches[0].clientY,e=(z-P)/F+j,q(H=n.constrain(e,0,N),E,F))}));C.call(U)}if(e._context.edits.legendPosition)g.classed("cursor-move",!0),s.init({element:g.node(),gd:e,prepFn:function(){var e=c.getTranslate(g);p=e.x,y=e.y},moveFn:function(e,r){var n=p+e,a=y+r;c.setTranslate(g,n,a),u=s.align(n,0,x.l,x.l+x.w,t.xanchor),f=s.align(a,0,x.t+x.h,x.t,t.yanchor)},doneFn:function(){void 0!==u&&void 0!==f&&o.call("_guiRelayout",e,{"legend.x":u,"legend.y":f})},clickFn:function(t,r){var n=i.selectAll("g.traces").filter((function(){var e=this.getBoundingClientRect();return r.clientX>=e.left&&r.clientX<=e.right&&r.clientY>=e.top&&r.clientY<=e.bottom}));n.size()>0&&_(e,g,n,t,r)}})}function q(r,n,a){t._scrollY=e._fullLayout.legend._scrollY=r,c.setTranslate(C,0,-r),c.setRect(D,t._width,h.scrollBarMargin+r*a,h.scrollBarWidth,n),k.select("rect").attr("y",b+r)}}],e)}}})),i.register("gz6YF",(function(e,t){"use strict";var r=i("1nIvY"),n=i("4Hxcc"),a=!0;e.exports=function(e,t,i){var o=t._fullLayout;if(!t._dragged&&!t._editing){var l,s=o.legend.itemclick,c=o.legend.itemdoubleclick;if(1===i&&"toggle"===s&&"toggleothers"===c&&a&&t.data&&t._context.showTips?(r.notifier(r._(t,"Double-click on legend to isolate one trace"),"long"),a=!1):a=!1,1===i?l=s:2===i&&(l=c),l){var u,d,f,h,p,g=o.hiddenlabels?o.hiddenlabels.slice():[],v=e.data()[0][0],m=t._fullData,y=v.trace,x=y.legendgroup,b={},_=[],w=[],k=[];if(n.traceIs(y,"pie-like")){var T=v.label,M=g.indexOf(T);"toggle"===l?-1===M?g.push(T):g.splice(M,1):"toggleothers"===l&&(g=[],t.calcdata[0].forEach((function(e){T!==e.label&&g.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===g.length&&-1===M&&(g=[])),n.call("_guiRelayout",t,"hiddenlabels",g)}else{var A,S=x&&x.length,L=[];if(S)for(u=0;u0))return 0;a=t.width}return v?n:Math.min(a,r)};function _(e,t,a){var i=e[0].trace,o=i.marker||{},l=o.line||{},c=a?i.visible&&i.type===a:n.traceIs(i,"bar"),u=r.select(t).select("g.legendpoints").selectAll("path.legend"+a).data(c?[e]:[]);u.enter().append("path").classed("legend"+a,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),u.exit().remove(),u.each((function(e){var t=r.select(this),n=e[0],a=b(n.mlw,o.line,5,2);t.style("stroke-width",a+"px").call(s.fill,n.mc||o.color),a&&s.stroke(t,n.mlc||l.color)}))}function w(e,t,i){var o=e[0],l=o.trace,s=i?l.visible&&l.type===i:n.traceIs(l,i),c=r.select(t).select("g.legendpoints").selectAll("path.legend"+i).data(s?[e]:[]);if(c.enter().append("path").classed("legend"+i,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),c.exit().remove(),c.size()){var u=(l.marker||{}).line,h=b(f(u.width,o.pts),u,5,2),p=a.minExtend(l,{marker:{line:{width:h}}});p.marker.line.color=u.color;var g=a.minExtend(o,{trace:p});d(c,g,p)}}e.each((function(e){var t=r.select(this),n=a.ensureSingle(t,"g","layers");n.style("opacity",e[0].trace.opacity);var l=i.valign,s=e[0].lineHeight,c=e[0].height;if("middle"!==l&&s&&c){var u={top:1,bottom:-1}[l]*(.5*(s-c+3));n.attr("transform",o(0,u))}else n.attr("transform",null);n.selectAll("g.legendfill").data([e]).enter().append("g").classed("legendfill",!0),n.selectAll("g.legendlines").data([e]).enter().append("g").classed("legendlines",!0);var d=n.selectAll("g.legendsymbols").data([e]);d.enter().append("g").classed("legendsymbols",!0),d.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)})).each((function(e){var n,i=e[0].trace,o=[];if(i.visible)switch(i.type){case"histogram2d":case"heatmap":o=[["M-15,-2V4H15V-2Z"]],n=!0;break;case"choropleth":case"choroplethmapbox":o=[["M-6,-6V6H6V-6Z"]],n=!0;break;case"densitymapbox":o=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],n="radial";break;case"cone":o=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],n=!1;break;case"streamtube":o=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],n=!1;break;case"surface":o=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],n=!0;break;case"mesh3d":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!1;break;case"volume":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!0;break;case"isosurface":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],n=!1}var u=r.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(o);u.enter().append("path").classed("legend3dandfriends",!0).attr("transform",x).style("stroke-miterlimit",1),u.exit().remove(),u.each((function(e,o){var u,d=r.select(this),f=c(i),h=f.colorscale,g=f.reversescale;if(h){if(!n){var v=h.length;u=0===o?h[g?v-1:0][1]:1===o?h[g?0:v-1][1]:h[Math.floor((v-1)/2)][1]}}else{var m=i.vertexcolor||i.facecolor||i.color;u=a.isArrayOrTypedArray(m)?m[o]||m[0]:m}d.attr("d",e[0]),u?d.call(s.fill,u):d.call((function(e){if(e.size()){var r="legendfill-"+i.uid;l.gradient(e,t,r,p(g,"radial"===n),h,"fill")}}))}))})).each((function(e){var t=e[0].trace,n="waterfall"===t.type;if(e[0]._distinct&&n){var a=e[0].trace[e[0].dir].marker;return e[0].mc=a.color,e[0].mlw=a.line.width,e[0].mlc=a.line.color,_(e,this,"waterfall")}var i=[];t.visible&&n&&(i=e[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var o=r.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(i);o.enter().append("path").classed("legendwaterfall",!0).attr("transform",x).style("stroke-miterlimit",1),o.exit().remove(),o.each((function(e){var n=r.select(this),a=t[e[0]].marker,i=b(void 0,a.line,5,2);n.attr("d",e[1]).style("stroke-width",i+"px").call(s.fill,a.color),i&&n.call(s.stroke,a.line.color)}))})).each((function(e){_(e,this,"funnel")})).each((function(e){_(e,this)})).each((function(e){var i=e[0].trace,o=r.select(this).select("g.legendpoints").selectAll("path.legendbox").data(i.visible&&n.traceIs(i,"box-violin")?[e]:[]);o.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",x),o.exit().remove(),o.each((function(){var e=r.select(this);if("all"!==i.boxpoints&&"all"!==i.points||0!==s.opacity(i.fillcolor)||0!==s.opacity((i.line||{}).color)){var n=b(void 0,i.line,5,2);e.style("stroke-width",n+"px").call(s.fill,i.fillcolor),n&&s.stroke(e,i.line.color)}else{var c=a.minExtend(i,{marker:{size:v?12:a.constrain(i.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});o.call(l.pointStyle,c,t)}}))})).each((function(e){w(e,this,"funnelarea")})).each((function(e){w(e,this,"pie")})).each((function(e){var n,i,o=e[0],s=o.trace,d=s.visible&&s.fill&&"none"!==s.fill,f=u.hasLines(s),h=s.contours,g=!1,v=!1,y=c(s),x=y.colorscale,_=y.reversescale;if(h){var w=h.coloring;"lines"===w?g=!0:f="none"===w||"heatmap"===w||h.showlines,"constraint"===h.type?d="="!==h._operation:"fill"!==w&&"heatmap"!==w||(v=!0)}var k=u.hasMarkers(s)||u.hasText(s),T=d||v,M=f||g,A=k||!T?"M5,0":M?"M5,-2":"M5,-3",S=r.select(this),L=S.select(".legendfill").selectAll("path").data(d||v?[e]:[]);if(L.enter().append("path").classed("js-fill",!0),L.exit().remove(),L.attr("d",A+"h"+m+"v6h-"+m+"z").call(d?l.fillGroupStyle:function(e){if(e.size()){var r="legendfill-"+s.uid;l.gradient(e,t,r,p(_),x,"fill")}}),f||g){var C=b(void 0,s.line,10,5);i=a.minExtend(s,{line:{width:C}}),n=[a.minExtend(o,{trace:i})]}var I=S.select(".legendlines").selectAll("path").data(f||g?[n]:[]);I.enter().append("path").classed("js-line",!0),I.exit().remove(),I.attr("d",A+(g?"l"+m+",0.0001":"h"+m)).call(f?l.lineGroupStyle:function(e){if(e.size()){var r="legendline-"+s.uid;l.lineGroupStyle(e),l.gradient(e,t,r,p(_),x,"stroke")}})})).each((function(e){var n,i,o=e[0],s=o.trace,c=u.hasMarkers(s),d=u.hasText(s),f=u.hasLines(s);function h(e,t,r,n){var i=a.nestedProperty(s,e).get(),o=a.isArrayOrTypedArray(i)&&t?t(i):i;if(v&&o&&void 0!==n&&(o=n),r){if(or[1])return r[1]}return o}function p(e){return o._distinct&&o.index&&e[o.index]?e[o.index]:e[0]}if(c||d||f){var g={},m={};if(c){g.mc=h("marker.color",p),g.mx=h("marker.symbol",p),g.mo=h("marker.opacity",a.mean,[.2,1]),g.mlc=h("marker.line.color",p),g.mlw=h("marker.line.width",a.mean,[0,5],2),m.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var y=h("marker.size",a.mean,[2,16],12);g.ms=y,m.marker.size=y}f&&(m.line={width:h("line.width",p,[0,10],5)}),d&&(g.tx="Aa",g.tp=h("textposition",p),g.ts=10,g.tc=h("textfont.color",p),g.tf=h("textfont.family",p)),n=[a.minExtend(o,g)],(i=a.minExtend(s,m)).selectedpoints=null,i.texttemplate=null}var b=r.select(this).select("g.legendpoints"),_=b.selectAll("path.scatterpts").data(c?n:[]);_.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",x),_.exit().remove(),_.call(l.pointStyle,i,t),c&&(n[0].mrc=3);var w=b.selectAll("g.pointtext").data(d?n:[]);w.enter().append("g").classed("pointtext",!0).append("text").attr("transform",x),w.exit().remove(),w.selectAll("text").call(l.textPointStyle,i,t)})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(t.visible&&"candlestick"===t.type?[e,e]:[]);n.enter().append("path").classed("legendcandle",!0).attr("d",(function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",x).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],o=b(void 0,i.line,5,2);a.style("stroke-width",o+"px").call(s.fill,i.fillcolor),o&&s.stroke(a,i.line.color)}))})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(t.visible&&"ohlc"===t.type?[e,e]:[]);n.enter().append("path").classed("legendohlc",!0).attr("d",(function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",x).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],o=b(void 0,i.line,5,2);a.style("fill","none").call(l.dashLine,i.line.dash,o),o&&s.stroke(a,i.line.color)}))}))}})),i.register("7832T",(function(e,t){"use strict";var r=i("3N5m7"),n=i("4Izpx").castOption;e.exports=function(e,t,a){var i=a.marker.line,o=n(i.color,t.pts)||r.defaultLine,l=n(i.width,t.pts)||0;e.style("stroke-width",l).call(r.fill,t.color).call(r.stroke,o)}})),i.register("4Izpx",(function(e,r){var n,a,o,l,s;t(e.exports,"getFirstFilled",(()=>n),(e=>n=e)),t(e.exports,"getRotationAngle",(()=>s),(e=>s=e)),t(e.exports,"formatPiePercent",(()=>a),(e=>a=e)),t(e.exports,"formatPieValue",(()=>l),(e=>l=e)),t(e.exports,"castOption",(()=>o),(e=>o=e));var c=i("1nIvY");function u(e){return-1!==e.indexOf("e")?e.replace(/[.]?0+e/,"e"):-1!==e.indexOf(".")?e.replace(/[.]?0+$/,""):e}a=function(e,t){var r=u((100*e).toPrecision(3));return c.numSeparate(r,t)+"%"},l=function(e,t){var r=u(e.toPrecision(10));return c.numSeparate(r,t)},n=function(e,t){if(Array.isArray(e))for(var r=0;r-1?o="closest":(t._isHoriz=function(e,t){for(var r=t._scatterStackOpts||{},n=0;n=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function N(e,t,r,n,a){return e.append("path").attr("class","zoombox").style({fill:t>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",s(r,n)).attr("d",a+"Z")}function F(e,t,r){return e.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",s(t,r)).attr("d","M0,0Z")}function H(e,t,r,n,a,i){e.attr("d",n+"M"+r.l+","+r.t+"v"+r.h+"h"+r.w+"v-"+r.h+"h-"+r.w+"Z"),B(e,t,a,i)}function B(e,t,r,n){r||(e.transition().style("fill",n>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}function U(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function q(e){O&&e.data&&e._context.showTips&&(l.notifier(l._(e,"Double-click to zoom back out"),"long"),O=!1)}function V(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,I)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}function Y(e,t,r,n,a){for(var i,o,s,c,u=!1,d={},f={},h=(a||{}).xaHash,p=(a||{}).yaHash,g=0;g=0)i._fullLayout._deactivateShape(i);else{var l=i._fullLayout.clickmode;if(U(i),2!==n||ve||function(){if(e._transitioningWithDuration)return;var t=e._context.doubleClick,r=[];ne&&(r=r.concat(X));ae&&(r=r.concat(Q));re.xaxes&&(r=r.concat(re.xaxes));re.yaxes&&(r=r.concat(re.yaxes));var n,a,i,l={};if("reset+autosize"===t)for(t="autosize",a=0;a-1&&A(a,i,X,Q,t.id,Ie),l.indexOf("event")>-1&&f.click(i,a,t.id);else if(1===n&&ve){var s=p?D:O,u="s"===p||"w"===v?0:1,d=s._name+".range["+u+"]",h=function(e,t){var n,a=e.range[t],i=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,r.format("."+n+"g")(Math.pow(10,a))):(n=Math.floor(Math.log(Math.abs(a))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(s,u),g="left",m="middle";if(s.fixedrange)return;p?(m="n"===p?"top":"bottom","right"===s.side&&(g="right")):"e"===v&&(g="right"),i._context.showAxisRangeEntryBoxes&&r.select(xe).call(c.makeEditable,{gd:i,immediate:!0,background:i._fullLayout.paper_bgcolor,text:String(h),fill:s.tickfont?s.tickfont.color:"#444",horizontalAlign:g,verticalAlign:m}).on("edit",(function(e){var t=s.d2r(e);void 0!==t&&o.call("_guiRelayout",i,d,t)}))}}}function ze(t,r){if(e._transitioningWithDuration)return!1;var n=Math.max(0,Math.min($,fe*t+be)),a=Math.max(0,Math.min(ee,he*r+_e)),i=Math.abs(n-be),o=Math.abs(a-_e);function l(){Ae="",we.r=we.l,we.t=we.b,Le.attr("d","M0,0Z")}if(we.l=Math.min(be,n),we.r=Math.max(be,n),we.t=Math.min(_e,a),we.b=Math.max(_e,a),te.isSubplotConstrained)i>I||o>I?(Ae="xy",i/$>o/ee?(o=i*ee/$,_e>a?we.t=_e-o:we.b=_e+o):(i=o*$/ee,be>n?we.l=be-i:we.r=be+i),Le.attr("d",V(we))):l();else if(re.isSubplotConstrained)if(i>I||o>I){Ae="xy";var s=Math.min(we.l/$,(ee-we.b)/ee),c=Math.max(we.r/$,(ee-we.t)/ee);we.l=s*$,we.r=c*$,we.b=(1-s)*ee,we.t=(1-c)*ee,Le.attr("d",V(we))}else l();else!ae||o0){var u;if(re.isSubplotConstrained||!ne&&1===ae.length){for(u=0;ui),(e=>i=e)),t(e.exports,"openMode",(()=>a),(e=>a=e)),t(e.exports,"rectMode",(()=>o),(e=>o=e)),t(e.exports,"freeMode",(()=>n),(e=>n=e)),t(e.exports,"selectingOrDrawing",(()=>l),(e=>l=e)),t(e.exports,"selectMode",(()=>s),(e=>s=e)),s=function(e){return"lasso"===e||"select"===e},i=function(e){return"drawclosedpath"===e||"drawopenpath"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},a=function(e){return"drawline"===e||"drawopenpath"===e},o=function(e){return"select"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},n=function(e){return"lasso"===e||"drawclosedpath"===e||"drawopenpath"===e},l=function(e){return n(e)||o(e)}})),i.register("34rTi",(function(e,t){"use strict";e.exports=function(e){var t=e._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each((function(e){e.regl&&e.regl.clear({color:!0,depth:!0})}))}})),i.register("4wnLB",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v,m;t(e.exports,"redrawReglTraces",(()=>d),(e=>d=e)),t(e.exports,"layoutStyles",(()=>o),(e=>o=e)),t(e.exports,"layoutReplot",(()=>c),(e=>c=e)),t(e.exports,"drawData",(()=>n),(e=>n=e)),t(e.exports,"doAutoRangeAndConstraints",(()=>f),(e=>f=e)),t(e.exports,"finalDraw",(()=>h),(e=>h=e)),t(e.exports,"doLegend",(()=>u),(e=>u=e)),t(e.exports,"doColorBars",(()=>a),(e=>a=e)),t(e.exports,"doTraceStyle",(()=>p),(e=>p=e)),t(e.exports,"doTicksRelayout",(()=>m),(e=>m=e)),t(e.exports,"doModeBar",(()=>g),(e=>g=e)),t(e.exports,"doCamera",(()=>v),(e=>v=e)),t(e.exports,"drawMarginPushers",(()=>l),(e=>l=e)),t(e.exports,"drawMainTitle",(()=>s),(e=>s=e));var y=i("4Wia9"),x=i("4Hxcc"),b=i("3BndS"),_=i("1nIvY"),w=i("34rTi"),k=i("3N5m7"),T=i("7jar4"),M=i("4m0W1"),A=i("1N5Ij"),S=i("1nE8l"),L=i("5n2uh"),C=i("6SFfg"),I=C.enforce,O=C.clean,D=i("7vf7z").doAutoRange,z="start",P="middle",j="end";function E(e,t,r){for(var n=0;n=e[1]||a[1]<=e[0])&&(i[0]t[0]))return!0}return!1}function R(e){var t,r,n,a,i,o,l=e._fullLayout,c=l._size,u=c.p,d=S.list(e,"",!0);if(l._paperdiv.style({width:e._context.responsive&&l.autosize&&!e._context._hasZeroWidth&&!e.layout.width?"100%":l.width+"px",height:e._context.responsive&&l.autosize&&!e._context._hasZeroHeight&&!e.layout.height?"100%":l.height+"px"}).selectAll(".main-svg").call(T.setSize,l.width,l.height),e._context.setBackground(e,l.paper_bgcolor),s(e),A.manage(e),!l._has("cartesian"))return b.previousPromises(e);function f(e,t,r){var n=e._lw/2;return"x"===e._id.charAt(0)?t?"top"===r?t._offset-u-n:t._offset+t._length+u+n:c.t+c.h*(1-(e.position||0))+n%1:t?"right"===r?t._offset+t._length+u+n:t._offset-u-n:c.l+c.w*(e.position||0)+n%1}for(t=0;tn),(e=>n=e)),n=i("6hgLL")})),i.register("6hgLL",(function(e,t){"use strict";var r=i("22HUI"),n=i("5EGfs"),a=i("4Hxcc"),o=i("2MtC7").isUnifiedHover,l=i("7alov"),s=i("5Nr3A");e.exports=function(e){var t=e._fullLayout,i=e._context,u=t._modeBar;if(i.displayModeBar||i.watermark){if(!Array.isArray(i.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(i.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var d,f=i.modeBarButtons;d=Array.isArray(f)&&f.length?function(e){for(var t=0;t1?(L=["toggleHover"],C=["resetViews"]):p?(S=["zoomInGeo","zoomOutGeo"],L=["hoverClosestGeo"],C=["resetGeo"]):h?(L=["hoverClosest3d"],C=["resetCameraDefault3d","resetCameraLastSave3d"]):x?(S=["zoomInMapbox","zoomOutMapbox"],L=["toggleHover"],C=["resetViewMapbox"]):m?L=["hoverClosestGl2d"]:g?L=["hoverClosestPie"]:_?(L=["hoverClosestCartesian","hoverCompareCartesian"],C=["resetViewSankey"]):L=["toggleHover"];f&&(L=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]);(function(e){for(var t=0;tplotly-logomark"}}})),i.register("5Nr3A",(function(e,t){"use strict";var r=i("4Hxcc"),n=i("3BndS"),a=i("22HUI"),o=i("7KALf"),l=i("2zBj0").eraseActiveShape,s=i("1nIvY"),c=s._,u=e.exports={};function d(e,t){var n,i,o=t.currentTarget,l=o.getAttribute("data-attr"),s=o.getAttribute("data-val")||!0,c=e._fullLayout,u={},d=a.list(e,null,!0),f=c._cartesianSpikesEnabled;if("zoom"===l){var h,p="in"===s?.5:2,g=(1+p)/2,v=(1-p)/2;for(i=0;iP&&i>j&&!r.shiftKey?f.getCursor(o/a,1-l/i):"move";h(t,s),z=s.split("-")[0]}}function ee(r){m(e)||(E&&(x=Y(i.xanchor)),R&&(k=G(i.yanchor)),"path"===i.type?D=i.path:(c=E?i.x0:Y(i.x0),d=R?i.y0:G(i.y0),v=E?i.x1:Y(i.x1),y=R?i.y1:G(i.y1)),cy?(T=d,L="y0",M=y,C="y1"):(T=y,L="y1",M=d,C="y0"),$(r),ie(l,i),le(t,i,e),Q.moveFn="move"===z?ne:ae,Q.altKey=r.altKey)}function te(){m(e)||(h(t),oe(l),b(t,e,i),r.call("_guiRelayout",e,s.getUpdateObj()))}function re(){m(e)||oe(l)}function ne(r,n){if("path"===i.type){var a=function(e){return e},o=a,s=a;E?H("xanchor",i.xanchor=Z(x+r)):(o=function(e){return Z(Y(e)+r)},B&&"date"===B.type&&(o=g.encodeDate(o))),R?H("yanchor",i.yanchor=W(k+n)):(s=function(e){return W(G(e)+n)},q&&"date"===q.type&&(s=g.encodeDate(s))),H("path",i.path=w(D,o,s))}else E?H("xanchor",i.xanchor=Z(x+r)):(H("x0",i.x0=Z(c+r)),H("x1",i.x1=Z(v+r))),R?H("yanchor",i.yanchor=W(k+n)):(H("y0",i.y0=W(d+n)),H("y1",i.y1=W(y+n)));t.attr("d",_(e,i)),ie(l,i)}function ae(r,n){if(F){var a=function(e){return e},o=a,s=a;E?H("xanchor",i.xanchor=Z(x+r)):(o=function(e){return Z(Y(e)+r)},B&&"date"===B.type&&(o=g.encodeDate(o))),R?H("yanchor",i.yanchor=W(k+n)):(s=function(e){return W(G(e)+n)},q&&"date"===q.type&&(s=g.encodeDate(s))),H("path",i.path=w(D,o,s))}else if(N){if("resize-over-start-point"===z){var u=c+r,f=R?d-n:d+n;H("x0",i.x0=E?u:Z(u)),H("y0",i.y0=R?f:W(f))}else if("resize-over-end-point"===z){var h=v+r,p=R?y-n:y+n;H("x1",i.x1=E?h:Z(h)),H("y1",i.y1=R?p:W(p))}}else{var m=function(e){return-1!==z.indexOf(e)},b=m("n"),U=m("s"),V=m("w"),X=m("e"),Q=b?T+n:T,J=U?M+n:M,K=V?A+r:A,$=X?S+r:S;R&&(b&&(Q=T-n),U&&(J=M-n)),(!R&&J-Q>j||R&&Q-J>j)&&(H(L,i[L]=R?Q:W(Q)),H(C,i[C]=R?J:W(J))),$-K>P&&(H(I,i[I]=E?K:Z(K)),H(O,i[O]=E?$:Z($)))}t.attr("d",_(e,i)),ie(l,i)}function ie(e,t){function r(){var r="path"!==t.type,a=e.selectAll(".visual-cue").data([0]),i=1;a.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":i}).classed("visual-cue",!0);var o=Y(E?t.xanchor:n.midRange(r?[t.x0,t.x1]:g.extractPathCoords(t.path,p.paramIsX))),l=G(R?t.yanchor:n.midRange(r?[t.y0,t.y1]:g.extractPathCoords(t.path,p.paramIsY)));if(o=g.roundPositionForSharpStrokeRendering(o,i),l=g.roundPositionForSharpStrokeRendering(l,i),E&&R){var s="M"+(o-1-i)+","+(l-1-i)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";a.attr("d",s)}else if(E){var c="M"+(o-1-i)+","+(l-9-i)+"v18 h2 v-18 Z";a.attr("d",c)}else{var u="M"+(o-9-i)+","+(l-1-i)+"h18 v2 h-18 Z";a.attr("d",u)}}(E||R)&&r()}function oe(e){e.selectAll(".visual-cue").remove()}function le(e,t,r){var n=t.xref,i=t.yref,o=a.getFromId(r,n),l=a.getFromId(r,i),s="";"paper"===n||o.autorange||(s+=n),"paper"===i||l.autorange||(s+=i),u.setClipUrl(e,s?"clip"+r._fullLayout._uid+s:null,r)}f.init(Q),X.node().onmousemove=$}(e,P,s,t,i,z):!0===s.editable&&P.style("pointer-events",O||c.opacity(S)*A<=.5?"stroke":"all");P.node().addEventListener("click",(function(){return function(e,t){if(!y(e))return;var r=+t.node().getAttribute("data-index");if(r>=0){if(r===e._fullLayout._activeShapeIndex)return void k(e);e._fullLayout._activeShapeIndex=r,e._fullLayout._deactivateShape=k,v(e)}}(e,P)}))}}function b(e,t,r){var n=(r.xref+r.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(e,n?"clip"+t._fullLayout._uid+n:null,t)}function _(e,t){var r,i,o,l,s,c,u,d,f=t.type,h=a.getRefType(t.xref),v=a.getRefType(t.yref),m=a.getFromId(e,t.xref),y=a.getFromId(e,t.yref),x=e._fullLayout._size;if(m?"domain"===h?i=function(e){return m._offset+m._length*e}:(r=g.shapePositionToRange(m),i=function(e){return m._offset+m.r2p(r(e,!0))}):i=function(e){return x.l+x.w*e},y?"domain"===v?l=function(e){return y._offset+y._length*(1-e)}:(o=g.shapePositionToRange(y),l=function(e){return y._offset+y.r2p(o(e,!0))}):l=function(e){return x.t+x.h*(1-e)},"path"===f)return m&&"date"===m.type&&(i=g.decodeDate(i)),y&&"date"===y.type&&(l=g.decodeDate(l)),function(e,t,r){var a=e.path,i=e.xsizemode,o=e.ysizemode,l=e.xanchor,s=e.yanchor;return a.replace(p.segmentRE,(function(e){var a=0,c=e.charAt(0),u=p.paramIsX[c],d=p.paramIsY[c],f=p.numParams[c],h=e.substr(1).replace(p.paramRE,(function(e){return u[a]?e="pixel"===i?t(l)+Number(e):t(e):d[a]&&(e="pixel"===o?r(s)-Number(e):r(e)),++a>f&&(e="X"),e}));return a>f&&(h=h.replace(/[\s,]*X.*/,""),n.log("Ignoring extra params in segment "+e)),c+h}))}(t,i,l);if("pixel"===t.xsizemode){var b=i(t.xanchor);s=b+t.x0,c=b+t.x1}else s=i(t.x0),c=i(t.x1);if("pixel"===t.ysizemode){var _=l(t.yanchor);u=_-t.y0,d=_-t.y1}else u=l(t.y0),d=l(t.y1);if("line"===f)return"M"+s+","+u+"L"+c+","+d;if("rect"===f)return"M"+s+","+u+"H"+c+"V"+d+"H"+s+"Z";var w=(s+c)/2,k=(u+d)/2,T=Math.abs(w-s),M=Math.abs(k-u),A="A"+T+","+M,S=w+T+","+k;return"M"+S+A+" 0 1,1 "+(w+","+(k-M))+A+" 0 0,1 "+S+"Z"}function w(e,t,r){return e.replace(p.segmentRE,(function(e){var n=0,a=e.charAt(0),i=p.paramIsX[a],o=p.paramIsY[a],l=p.numParams[a];return a+e.substr(1).replace(p.paramRE,(function(e){return n>=l||(i[n]?e=t(e):o[n]&&(e=r(e)),n++),e}))}))}function k(e){y(e)&&(e._fullLayout._activeShapeIndex>=0&&(s(e),delete e._fullLayout._activeShapeIndex,v(e)))}e.exports={draw:v,drawOne:x,eraseActiveShape:function(e){if(!y(e))return;s(e);var t=e._fullLayout._activeShapeIndex,n=(e.layout||{}).shapes||[];if(tl),(e=>l=e)),t(e.exports,"pointsShapeEllipse",(()=>c),(e=>c=e)),t(e.exports,"readPaths",(()=>o),(e=>o=e)),t(e.exports,"pointsShapeRectangle",(()=>a),(e=>a=e)),t(e.exports,"handleEllipse",(()=>s),(e=>s=e)),t(e.exports,"ellipseOver",(()=>n),(e=>n=e));var u=i("2zUNe"),d=i("7uwNx"),f=d.CIRCLE_SIDES,h=d.SQRT2,p=i("6JNER"),g=p.p2r,v=p.r2p,m=[0,3,4,5,6,1,2],y=[0,3,4,1,2];function x(e,t){return Math.abs(e-t)<=1e-6}function b(e,t){var r=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+n*n)}l=function(e){var t=e.length;if(!t)return"M0,0Z";for(var r="",n=0;n0&&s2&&(t.push([n].concat(i.splice(0,2))),o="l",n="m"==n?"l":"L");;){if(i.length==r[o])return i.unshift(n),t.push(i);if(i.length=0&&d(m),i.attr("d",g(t)),M&&!f)&&(T=function(e,t){for(var r=0;r1&&(2!==e.length||"Z"!==e[1][0])&&(0===k&&(e[0][0]="M"),t[w]=e,y(),x())}}()}}function D(e,r){!function(e,r){if(t.length)for(var n=0;nf),(e=>f=e)),t(e.exports,"encodeDate",(()=>d),(e=>d=e)),t(e.exports,"decodeDate",(()=>u),(e=>u=e)),t(e.exports,"roundPositionForSharpStrokeRendering",(()=>s),(e=>s=e)),t(e.exports,"shapePositionToRange",(()=>c),(e=>c=e)),t(e.exports,"rangeToShapePosition",(()=>a),(e=>a=e)),t(e.exports,"extractPathCoords",(()=>n),(e=>n=e)),t(e.exports,"getPixelToData",(()=>l),(e=>l=e)),t(e.exports,"getDataToPixel",(()=>o),(e=>o=e));var h=i("fN6X1"),p=i("1nIvY");a=function(e){return"log"===e.type?e.r2d:function(e){return e}},c=function(e){return"log"===e.type?e.d2r:function(e){return e}},u=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},d=function(e){return function(t){return e(t).replace(" ","_")}},n=function(e,t){var r=[];return e.match(h.segmentRE).forEach((function(e){var n=t[e.charAt(0)].drawn;if(void 0!==n){var a=e.substr(1).match(h.paramRE);!a||a.lengtho),(e=>o=e)),t(e.exports,"handleDefaults",(()=>l),(e=>l=e)),t(e.exports,"getAxisGroup",(()=>n),(e=>n=e)),t(e.exports,"enforce",(()=>a),(e=>a=e));var s=i("1nIvY"),c=i("7vf7z"),u=i("22HUI").id2name,d=i("1bJQq"),f=i("2OLXb"),h=i("7cQhP"),p=i("10TEj").ALMOST_EQUAL,g=i("5n2uh").FROM_BL;function v(e,t,r){var n=r.axIds,a=r.layoutOut,i=r.hasImage,o=a._axisConstraintGroups,l=a._axisMatchGroups,c=t._id,f=c.charAt(0),h=((a._splomAxes||{})[f]||{})[c]||{},p=t._id,g="x"===p.charAt(0);function v(r,n){return s.coerce(e,t,d,r,n)}t._matchGroup=null,t._constraintGroup=null,v("constrain",i?"domain":"range"),s.coerce(e,t,{constraintoward:{valType:"enumerated",values:g?["left","center","right"]:["bottom","middle","top"],dflt:g?"center":"middle"}},"constraintoward");var b,_,w=t.type,k=[];for(b=0;bn?a.substr(n):i.substr(r))+o:a+i+e*t:o}function _(e,t){for(var r=t._size,n=r.h/r.w,a={},i=Object.keys(e),o=0;op*m)||k)for(r=0;rz&&RO&&(O=R);s/=(O-I)/(2*D),I=i.l2r(I),O=i.l2r(O),i.range=i._input.range=S-1,b=[];if(function(e){return e&&Array.isArray(e)&&!0!==e[0].hoverOnBox}(y)){R(e,t,i);var _=function(e,t){var r,n,a=e[0],i=-1,o=[];for(n=0;n0?function(e,t){var r,n,a,i=[];for(a=0;a0&&i.push(r);if(1===i.length&&i[0]===t.searchInfo&&(n=t.searchInfo.cd[0].trace).selectedpoints.length===t.pointNumbers.length){for(a=0;a1)return!1;if((n+=t.selectedpoints.length)>1)return!1}return 1===n}(l)&&(f=H(_))){for(o&&o.remove(),m=0;m=0&&a._fullLayout._deactivateShape(a),f(t)){var i=a._fullLayout._zoomlayer.selectAll(".select-outline-"+r.id);if(i&&a._fullLayout._drawing){var o=m(i,e);o&&n.call("_guiRelayout",a,{shapes:o}),a._fullLayout._drawing=!1}}r.selection={},r.selection.selectionDefs=e.selectionDefs=[],r.selection.mergedPolygons=e.mergedPolygons=[]}function F(e,t,r,n){var a,i,o,l=[],s=t.map((function(e){return e._id})),c=r.map((function(e){return e._id}));for(o=0;o0?n[0]:r;return!!t.selectedpoints&&t.selectedpoints.indexOf(a)>-1}function B(e,t,r){var a,i,o,l;for(a=0;a=0)C._fullLayout._deactivateShape(C);else if(!_){var r=P.clickmode;b.done(ge).then((function(){if(b.clear(ge),2===e){for(de.remove(),$=0;$-1&&z(t,C,i.xaxes,i.yaxes,i.subplot,i,de),"event"===r&&C.emit("plotly_selected",void 0);l.click(C,t)})).catch(y.error)}},i.doneFn=function(){pe.remove(),b.done(ge).then((function(){b.clear(ge),i.gd.emit("plotly_selected",te),K&&i.selectionDefs&&(K.subtract=ue,i.selectionDefs.push(K),i.mergedPolygons.length=0,[].push.apply(i.mergedPolygons,J)),i.doneFnCompleted&&i.doneFnCompleted(ve)})).catch(y.error),_&&N(i)}},clearSelect:L,clearSelectionsCache:N,selectOnClick:z}})),i.register("6yBJp",(function(e,t){var r,n=i("1u60H"),a=i("ZBoaZ"),o=i("2Sjtx"),l=i("4kIhQ"),s=i("4bxXj"),c=i("5A95j"),u=!1,d=a();function f(e,t,n){var a=r.segments(e),i=r.segments(t),o=n(r.combine(a,i));return r.polygon(o)}r={buildLog:function(e){return!0===e?u=n():!1===e&&(u=!1),!1!==u&&u.list},epsilon:function(e){return d.epsilon(e)},segments:function(e){var t=o(!0,d,u);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){return{combined:o(!1,d,u).calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:s.union(e.combined,u),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:s.intersect(e.combined,u),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:s.difference(e.combined,u),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:s.differenceRev(e.combined,u),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:s.xor(e.combined,u),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:l(e.segments,d,u),inverted:e.inverted}},polygonFromGeoJSON:function(e){return c.toPolygon(r,e)},polygonToGeoJSON:function(e){return c.fromPolygon(r,d,e)},union:function(e,t){return f(e,t,r.selectUnion)},intersect:function(e,t){return f(e,t,r.selectIntersect)},difference:function(e,t){return f(e,t,r.selectDifference)},differenceRev:function(e,t){return f(e,t,r.selectDifferenceRev)},xor:function(e,t){return f(e,t,r.selectXor)}},"object"==typeof window&&(window.PolyBool=r),e.exports=r})),i.register("1u60H",(function(e,t){e.exports=function(){var e,t=0,r=!1;function n(t,r){return e.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return n("check",{seg1:e,seg2:t})},segmentChop:function(e,t){return n("div_seg",{seg:e,pt:t}),n("chop",{seg:e,pt:t})},statusRemove:function(e){return n("pop_seg",{seg:e})},segmentUpdate:function(e){return n("seg_update",{seg:e})},segmentNew:function(e,t){return n("new_seg",{seg:e,primary:t})},segmentRemove:function(e){return n("rem_seg",{seg:e})},tempStatus:function(e,t,r){return n("temp_status",{seg:e,above:t,below:r})},rewind:function(e){return n("rewind",{seg:e})},status:function(e,t,r){return n("status",{seg:e,above:t,below:r})},vert:function(t){return t===r?e:(r=t,n("vert",{x:t}))},log:function(e){return"string"!=typeof e&&(e=JSON.stringify(e,!1," ")),n("log",{txt:e})},reset:function(){return n("reset")},selected:function(e){return n("selected",{segs:e})},chainStart:function(e){return n("chain_start",{seg:e})},chainRemoveHead:function(e,t){return n("chain_rem_head",{index:e,pt:t})},chainRemoveTail:function(e,t){return n("chain_rem_tail",{index:e,pt:t})},chainNew:function(e,t){return n("chain_new",{pt1:e,pt2:t})},chainMatch:function(e){return n("chain_match",{index:e})},chainClose:function(e){return n("chain_close",{index:e})},chainAddHead:function(e,t){return n("chain_add_head",{index:e,pt:t})},chainAddTail:function(e,t){return n("chain_add_tail",{index:e,pt:t})},chainConnect:function(e,t){return n("chain_con",{index1:e,index2:t})},chainReverse:function(e){return n("chain_rev",{index:e})},chainJoin:function(e,t){return n("chain_join",{index1:e,index2:t})},done:function(){return n("done")}}}})),i.register("ZBoaZ",(function(e,t){e.exports=function(e){"number"!=typeof e&&(e=1e-10);var t={epsilon:function(t){return"number"==typeof t&&(e=t),e},pointAboveOrOnLine:function(t,r,n){var a=r[0],i=r[1],o=n[0],l=n[1],s=t[0];return(o-a)*(t[1]-i)-(l-i)*(s-a)>=-e},pointBetween:function(t,r,n){var a=t[1]-r[1],i=n[0]-r[0],o=t[0]-r[0],l=n[1]-r[1],s=o*i+a*l;return!(s-e)},pointsSameX:function(t,r){return Math.abs(t[0]-r[0])e!=o-a>e&&(i-c)*(a-u)/(o-u)+c-n>e&&(l=!l),i=c,o=u}return l}};return t}})),i.register("2Sjtx",(function(e,t){var r=i("6XBww");e.exports=function(e,t,n){function a(e,t,r){return{id:n?n.segmentId():-1,start:e,end:t,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var i=r.create();function o(e,r){i.insertBefore(e,(function(n){return function(e,r,n,a,i,o){var l=t.pointsCompare(r,i);return 0!==l?l:t.pointsSame(n,o)?0:e!==a?e?1:-1:t.pointAboveOrOnLine(n,a?i:o,a?o:i)?1:-1}(e.isStart,e.pt,r,n.isStart,n.pt,n.other.pt)<0}))}function l(e,t){var n=function(e,t){var n=r.node({isStart:!0,pt:e.start,seg:e,primary:t,other:null,status:null});return o(n,e.end),n}(e,t);return function(e,t,n){var a=r.node({isStart:!1,pt:t.end,seg:t,primary:n,other:e,status:null});e.other=a,o(a,e.pt)}(n,e,t),n}function s(e,t){var r=a(t,e.seg.end,e.seg);return function(e,t){n&&n.segmentChop(e.seg,t),e.other.remove(),e.seg.end=t,e.other.pt=t,o(e.other,e.pt)}(e,t),l(r,e.primary)}function c(a,o){var l=r.create();function c(e){return l.findTransition((function(r){var n,a,i,o,l,s;return(n=e,a=r.ev,i=n.seg.start,o=n.seg.end,l=a.seg.start,s=a.seg.end,t.pointsCollinear(i,l,s)?t.pointsCollinear(o,l,s)||t.pointAboveOrOnLine(o,l,s)?1:-1:t.pointAboveOrOnLine(i,l,s)?1:-1)>0}))}function u(e,r){var a=e.seg,i=r.seg,o=a.start,l=a.end,c=i.start,u=i.end;n&&n.checkIntersection(a,i);var d=t.linesIntersect(o,l,c,u);if(!1===d){if(!t.pointsCollinear(o,l,c))return!1;if(t.pointsSame(o,u)||t.pointsSame(l,c))return!1;var f=t.pointsSame(o,c),h=t.pointsSame(l,u);if(f&&h)return r;var p=!f&&t.pointBetween(o,c,u),g=!h&&t.pointBetween(l,c,u);if(f)return g?s(r,l):s(e,u),r;p&&(h||(g?s(r,l):s(e,u)),s(r,o))}else 0===d.alongA&&(-1===d.alongB?s(e,c):0===d.alongB?s(e,d.pt):1===d.alongB&&s(e,u)),0===d.alongB&&(-1===d.alongA?s(r,o):0===d.alongA?s(r,d.pt):1===d.alongA&&s(r,l));return!1}for(var d=[];!i.isEmpty();){var f=i.getHead();if(n&&n.vert(f.pt[0]),f.isStart){n&&n.segmentNew(f.seg,f.primary);var h=c(f),p=h.before?h.before.ev:null,g=h.after?h.after.ev:null;function v(){if(p){var e=u(f,p);if(e)return e}return!!g&&u(f,g)}n&&n.tempStatus(f.seg,!!p&&p.seg,!!g&&g.seg);var m=v();if(m){var y;if(e)(y=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below)&&(m.seg.myFill.above=!m.seg.myFill.above);else m.seg.otherFill=f.seg.myFill;n&&n.segmentUpdate(m.seg),f.other.remove(),f.remove()}if(i.getHead()!==f){n&&n.rewind(f.seg);continue}if(e)y=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below,f.seg.myFill.below=g?g.seg.myFill.above:a,f.seg.myFill.above=y?!f.seg.myFill.below:f.seg.myFill.below;else if(null===f.seg.otherFill){var x;x=g?f.primary===g.primary?g.seg.otherFill.above:g.seg.myFill.above:f.primary?o:a,f.seg.otherFill={above:x,below:x}}n&&n.status(f.seg,!!p&&p.seg,!!g&&g.seg),f.other.status=h.insert(r.node({ev:f}))}else{var b=f.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(l.exists(b.prev)&&l.exists(b.next)&&u(b.prev.ev,b.next.ev),n&&n.statusRemove(b.ev.seg),b.remove(),!f.primary){var _=f.seg.myFill;f.seg.myFill=f.seg.otherFill,f.seg.otherFill=_}d.push(f.seg)}i.getHead().remove()}return n&&n.done(),d}return e?{addRegion:function(e){for(var r,a,i,o=e[e.length-1],s=0;si||c===n||cl)&&(!t||!s(e))}:function(e,t){var s=e[0],c=e[1];if(s===n||si||c===n||cl)return!1;var u,d,f,h,p,g=r.length,v=r[0][0],m=r[0][1],y=0;for(u=1;uMath.max(d,v)||c>Math.max(f,m)))if(cu||Math.abs(r(o,f))>a)return!0;return!1},a.filter=function(e,t){var r=[e[0]],n=0,i=0;function o(o){e.push(o);var l=r.length,s=n;r.splice(i+1);for(var c=s+1;c1&&o(e.pop());return{addPt:o,raw:e,filtered:r}}})),i.register("6cUxK",(function(e,r){var n,a,o,l;t(e.exports,"containerArrayMatch",(()=>o),(e=>o=e)),t(e.exports,"isAddVal",(()=>l),(e=>l=e)),t(e.exports,"applyContainerArrayChanges",(()=>n),(e=>n=e)),t(e.exports,"isRemoveVal",(()=>a),(e=>a=e));var s=i("2bwwe"),c=i("77Ix4"),u=i("1NWKZ"),d=i("5LcuG").sorterAsc,f=i("4Hxcc");o=i("cnH6u");var h=l=function(e){return"add"===e||s(e)},p=a=function(e){return null===e||"remove"===e};n=function(e,t,r,n,a){var i=t.astr,o=f.getComponentMethod(i,"supplyLayoutDefaults"),l=f.getComponentMethod(i,"draw"),s=f.getComponentMethod(i,"drawOne"),g=n.replot||n.recalc||o===c||l===c,v=e.layout,m=e._fullLayout;if(r[""]){Object.keys(r).length>1&&u.warn("Full array edits are incompatible with other edits",i);var y=r[""][""];if(p(y))t.set(null);else{if(!Array.isArray(y))return u.warn("Unrecognized full array edit value",i,y),!0;t.set(y)}return!g&&(o(v,m),l(e),!0)}var x,b,_,w,k,T,M,A,S=Object.keys(r).map(Number).sort(d),L=t.get(),C=L||[],I=a(m,i).get(),O=[],D=-1,z=C.length;for(x=0;xC.length-(M?0:1))u.warn("index out of range",i,_);else if(void 0!==T)k.length>1&&u.warn("Insertion & removal are incompatible with edits to the same index.",i,_),p(T)?O.push(_):M?("add"===T&&(T={}),C.splice(_,0,T),I&&I.splice(_,0,{})):u.warn("Unrecognized full object edit value",i,_,T),-1===D&&(D=_);else for(b=0;b=0;x--)C.splice(O[x],1),I&&I.splice(O[x],1);if(C.length?L||t.set(C):t.set(null),g)return!1;if(o(v,m),s!==c){var P;if(-1===D)P=S;else{for(z=Math.max(C.length,z),P=[],x=0;x=D);x++)P.push(_);for(x=D;xo),(e=>o=e)),t(e.exports,"manageArrayContainers",(()=>c),(e=>c=e)),t(e.exports,"clearPromiseQueue",(()=>d),(e=>d=e)),t(e.exports,"cleanData",(()=>n),(e=>n=e)),t(e.exports,"clearAxisTypes",(()=>l),(e=>l=e)),t(e.exports,"hasParent",(()=>a),(e=>a=e)),t(e.exports,"swapXYData",(()=>u),(e=>u=e)),t(e.exports,"coerceTraceIndices",(()=>s),(e=>s=e));var f=i("6qr5h"),h=i("5tz2B"),p=i("4Hxcc"),g=i("1nIvY"),v=i("3BndS"),m=i("22HUI"),y=i("3N5m7"),x=m.cleanId,b=m.getFromTrace,_=p.traceIs;function w(e,t){var r=e[t],n=t.charAt(0);r&&"paper"!==r&&(e[t]=x(r,n,!0))}function k(e){function t(t,r){var n=e[t],a=e.title&&e.title[r];n&&!a&&(e.title||(e.title={}),e.title[r]=e[t],delete e[t])}e&&("string"!=typeof e.title&&"number"!=typeof e.title||(e.title={text:e.title}),t("titlefont","font"),t("titleposition","position"),t("titleside","side"),t("titleoffset","offset"))}function T(e){if(!g.isPlainObject(e))return!1;var t=e.name;return delete e.name,delete e.showlegend,("string"==typeof t||"number"==typeof t)&&String(t)}function M(e,t,r,n){if(r&&!n)return e;if(n&&!r)return t;if(!e.trim())return t;if(!t.trim())return e;var a,i=Math.min(e.length,t.length);for(a=0;a0&&g.log("Clearing previous rejected promises from queue."),e._promises=[]},o=function(e){var t,r;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var n=(v.subplotsRegistry.cartesian||{}).attrRegex,a=(v.subplotsRegistry.polar||{}).attrRegex,i=(v.subplotsRegistry.ternary||{}).attrRegex,l=(v.subplotsRegistry.gl3d||{}).attrRegex,s=Object.keys(e);for(t=0;t3?(z.x=1.02,z.xanchor="left"):z.x<-2&&(z.x=-.02,z.xanchor="right"),z.y>3?(z.y=1.02,z.yanchor="bottom"):z.y<-2&&(z.y=-.02,z.yanchor="top")),k(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),y.clean(e),e.template&&e.template.layout&&o(e.template.layout),e},n=function(e){for(var t=0;t0)return e.substr(0,t)}a=function(e,t){for(var r=C(t);r;){if(r in e)return!0;r=C(r)}return!1};var I=["x","y","z"];l=function(e,t,r){for(var n=0;nu),(e=>u=e)),t(e.exports,"MSG_IE_BAD_FORMAT",(()=>c),(e=>c=e)),t(e.exports,"revokeObjectURL",(()=>a),(e=>a=e)),t(e.exports,"encodeSVG",(()=>f),(e=>f=e)),t(e.exports,"encodeJSON",(()=>n),(e=>n=e)),t(e.exports,"createBlob",(()=>l),(e=>l=e)),t(e.exports,"octetStream",(()=>d),(e=>d=e)),t(e.exports,"getDelay",(()=>s),(e=>s=e)),t(e.exports,"createObjectURL",(()=>o),(e=>o=e)),t(e.exports,"IMAGE_URL_PREFIX",(()=>h),(e=>h=e));var p=i("4Hxcc");s=function(e){return e._has&&(e._has("gl3d")||e._has("gl2d")||e._has("mapbox"))?500:0},u=function(e){return function(){var t=e._fullLayout||{};!(t._has&&t._has("polar"))&&e.data&&e.data[0]&&e.data[0].r||p.getComponentMethod("colorbar","draw")(e)}},f=function(e){return"data:image/svg+xml,"+encodeURIComponent(e)},n=function(e){return"data:application/json,"+encodeURIComponent(e)};var g=window.URL||window.webkitURL;o=function(e){return g.createObjectURL(e)},a=function(e){return g.revokeObjectURL(e)},l=function(e,t){if("svg"===t)return new window.Blob([e],{type:"image/svg+xml;charset=utf-8"});if("full-json"===t)return new window.Blob([e],{type:"application/json;charset=utf-8"});var r=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),a=0;a")?"":t.html(e).text()}));return t.remove(),n}(T),T=(T=T.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(u,"'"),n.isIE()&&(T=(T=(T=T.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),T}})),i.register("5B7kc",(function(e,t){"use strict";var r=i("1nIvY"),n=i("4jc2y").EventEmitter,a=i("3N1mF");e.exports=function(e){var t=e.emitter||new n,i=new Promise((function(n,o){var l=window.Image,s=e.svg,c=e.format||"png";if(r.isIE()&&"svg"!==c){var u=new Error(a.MSG_IE_BAD_FORMAT);return o(u),e.promise?i:t.emit("error",u)}var d,f,h=e.canvas,p=e.scale||1,g=e.width||300,v=e.height||150,m=p*g,y=p*v,x=h.getContext("2d"),b=new l;"svg"===c||r.isIE9orBelow()||r.isSafari()?f=a.encodeSVG(s):(d=a.createBlob(s,"svg"),f=a.createObjectURL(d)),h.width=m,h.height=y,b.onload=function(){var r;switch(d=null,a.revokeObjectURL(f),"svg"!==c&&x.drawImage(b,0,0,m,y),c){case"jpeg":r=h.toDataURL("image/jpeg");break;case"png":r=h.toDataURL("image/png");break;case"webp":r=h.toDataURL("image/webp");break;case"svg":r=f;break;default:var i="Image format is not jpeg, png, svg or webp.";if(o(new Error(i)),!e.promise)return t.emit("error",i)}n(r),e.promise||t.emit("success",r)},b.onerror=function(r){if(d=null,a.revokeObjectURL(f),o(r),!e.promise)return t.emit("error",r)},b.src=f}));return e.promise?i:t}})),i.register("1B45K",(function(e,t){"use strict";var r=i("1nIvY"),n=i("3BndS"),a=i("4UWmi"),o=i("24AkC").dfltConfig,l=r.isPlainObject,s=Array.isArray,c=r.isArrayOrTypedArray;function u(e,t,n,a,i,o){o=o||[];for(var d=Object.keys(e),f=0;fx.length&&a.push(p("unused",i,m.concat(x.length)));var M,A,S,L,C,I=x.length,O=Array.isArray(T);if(O&&(I=Math.min(I,T.length)),2===b.dimensions)for(A=0;Ax[A].length&&a.push(p("unused",i,m.concat(A,x[A].length)));var D=x[A].length;for(M=0;M<(O?Math.min(D,T[A].length):D);M++)S=O?T[A][M]:T,L=y[A][M],C=x[A][M],r.validate(L,S)?C!==L&&C!==+L&&a.push(p("dynamic",i,m.concat(A,M),L,C)):a.push(p("value",i,m.concat(A,M),L))}else a.push(p("array",i,m.concat(A),y[A]));else for(A=0;A1&&h.push(p("object","layout"))),n.supplyDefaults(g);for(var v=g._fullData,m=i.length,y=0;ya),(e=>a=e)),t(e.exports,"validateTemplate",(()=>n),(e=>n=e));var o=i("1nIvY"),l=o.isPlainObject,s=i("4UWmi"),c=i("3BndS"),u=i("5zAUi"),d=i("1IyjK"),f=i("24AkC").dfltConfig;function h(e,t){e=o.extendDeep({},e);var r,n,a=Object.keys(e).sort();function i(t,r,a){if(l(r)&&l(t))h(t,r);else if(Array.isArray(r)&&Array.isArray(t)){var i=d.arrayTemplater({_template:e},a);for(n=0;nk?s.push({code:"unused",traceType:g,templateCount:w,dataCount:k}):k>w&&s.push({code:"reused",traceType:g,templateCount:w,dataCount:k})}}else s.push({code:"data"});if(function e(t,r){for(var n in t)if("_"!==n.charAt(0)){var a=t[n],i=y(t,n,r);l(a)?(Array.isArray(t)&&!1===a._template&&a.templateitemname&&s.push({code:"missing",path:i,templateitemname:a.templateitemname}),e(a,i)):Array.isArray(a)&&x(a)&&e(a,i)}}({data:d,layout:u},""),s.length)return s.map(b)}})),i.register("2IDEe",(function(e,t){"use strict";var r=i("5EGfs");e.exports={hasLines:r.hasLines,hasMarkers:r.hasMarkers,hasText:r.hasText,isBubble:r.isBubble,attributes:i("2oxdA"),supplyDefaults:i("27xl1"),crossTraceDefaults:i("5V1gf"),calc:i("ERg3I").calc,crossTraceCalc:i("NNNef"),arraysToCalcdata:i("5SII0"),plot:i("5d1Gr"),colorbar:i("6mMRq"),formatLabels:i("1inVk"),style:i("1AGAa").style,styleOnSelect:i("1AGAa").styleOnSelect,hoverPoints:i("6W6HN"),selectPoints:i("4f7ZS"),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:i("44dhM"),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{description:["The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts.","The data visualized as scatter point or lines is set in `x` and `y`.","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}})),i.register("27xl1",(function(e,t){"use strict";var r=i("1nIvY"),n=i("4Hxcc"),a=i("2oxdA"),o=i("4We8O"),l=i("5EGfs"),s=i("3ziEk"),c=i("42Vbv"),u=i("5c4u8"),d=i("6MkR1"),f=i("6pFg0"),h=i("3HWE8"),p=i("6JOEF"),g=i("74Fe5");e.exports=function(e,t,i,v){function m(n,i){return r.coerce(e,t,a,n,i)}var y=s(e,t,v,m);if(y||(t.visible=!1),t.visible){c(e,t,v,m);var x=u(e,t,v,m),b=!x&&y=0;a--){var i=e[a];if("scatter"===i.type&&i.xaxis===r.xaxis&&i.yaxis===r.yaxis){i.opacity=void 0;break}}}}}})),i.register("ERg3I",(function(e,t){"use strict";var r=i("6qr5h"),n=i("1nIvY"),a=i("1nE8l"),o=i("1Lgaj"),l=i("10TEj").BADNUM,s=i("5EGfs"),c=i("1DEwk"),u=i("5SII0"),d=i("6LyZ0");function f(e,t,r,n,i,o,l){var c=t._length,u=e._fullLayout,d=r._id,f=n._id,h=u._firstScatter[g(t)]===t.uid,p=(v(t,u,r,n)||{}).orientation,m=t.fill;r._minDtick=0,n._minDtick=0;var y={padded:!0},x={padded:!0};l&&(y.ppad=x.ppad=l);var b=c<2||i[0]!==i[c-1]||o[0]!==o[c-1];b&&("tozerox"===m||"tonextx"===m&&(h||"h"===p))?y.tozero=!0:(t.error_y||{}).visible||"tonexty"!==m&&"tozeroy"!==m&&(s.hasMarkers(t)||s.hasText(t))||(y.padded=!1,y.ppad=0),b&&("tozeroy"===m||"tonexty"===m&&(h||"v"===p))?x.tozero=!0:"tonextx"!==m&&"tozerox"!==m||(x.padded=!1),d&&(t._extremes[d]=a.findExtremes(r,i,y)),f&&(t._extremes[f]=a.findExtremes(n,o,x))}function h(e,t){if(s.hasMarkers(e)){var r,i=e.marker,o=1.6*(e.marker.sizeref||1);if(r="area"===e.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/o),3)}:function(e){return Math.max((e||0)/o,3)},n.isArrayOrTypedArray(i.size)){var l={type:"linear"};a.setConvert(l);for(var c=l.makeCalcdata(e.marker,"size"),u=new Array(t),d=0;ds&&L[m].gap;)m--;for(x=L[m].s,g=L.length-1;g>m;g--)L[g].s=x;for(;s0&&Math.round(d)===d))return i;c=d}for(var f=t.calendar,h="start"===s,p="end"===s,g=e[n+"period0"],v=a(g,f)||0,m=[],y=i.length,x=0;xk;)w=o(w,-c,f);for(;w<=k;)w=o(w,c,f);_=o(w,-c,f)}else{for(w=v+(b=Math.round((k-v)/u))*u;w>k;)w-=u;for(;w<=k;)w+=u;_=w-u}m[x]=h?_:p?w:(_+w)/2}return m}})),i.register("1DEwk",(function(e,t){"use strict";var r=i("hpg1L").hasColorscale,n=i("3RzCY"),a=i("5EGfs");e.exports=function(e,t){a.hasLines(t)&&r(t,"line")&&n(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),a.hasMarkers(t)&&(r(t,"marker")&&n(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),r(t,"marker.line")&&n(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}})),i.register("5SII0",(function(e,t){"use strict";var r=i("1nIvY");e.exports=function(e,t){for(var n=0;nA[u]&&u=u[0]&&e.x<=u[1]&&e.y>=d[0]&&e.y<=d[1]})),g=Math.ceil(p.length/h),v=0;o.forEach((function(e,r){var n=e[0].trace;c.hasMarkers(n)&&n.marker.maxdisplayed>0&&r0;function y(e){return m?e.transition():e}var x=i.xaxis,b=i.yaxis,_=d[0].trace,w=_.line,k=r.select(p),T=o(k,"g","errorbars"),M=o(k,"g","lines"),A=o(k,"g","points"),S=o(k,"g","text");if(n.getComponentMethod("errorbars","plot")(e,T,i,g),!0===_.visible){var L,C;y(k).style("opacity",_.opacity);var I=_.fill.charAt(_.fill.length-1);"x"!==I&&"y"!==I&&(I=""),d[0][i.isRangePlot?"nodeRangePlot3":"node3"]=k;var O,D,z="",P=[],j=_._prevtrace;j&&(z=j._prevRevpath||"",C=j._nextFill,P=j._polygons);var E,R,N,F,H,B,U,q="",V="",Y=[],G=a.noop;if(L=_._ownFill,c.hasLines(_)||"none"!==_.fill){for(C&&C.datum(d),-1!==["hv","vh","hvh","vhv"].indexOf(w.shape)?(E=s.steps(w.shape),R=s.steps(w.shape.split("").reverse().join(""))):E=R="spline"===w.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?s.smoothclosed(e.slice(1),w.smoothing):s.smoothopen(e,w.smoothing)}:function(e){return"M"+e.join("L")},N=function(e){return R(e.reverse())},Y=u(d,{xaxis:x,yaxis:b,connectGaps:_.connectgaps,baseTolerance:Math.max(w.width||1,3)/4,shape:w.shape,simplify:w.simplify,fill:_.fill}),U=_._polygons=new Array(Y.length),v=0;v1){var n=r.select(this);if(n.datum(d),e)y(n.style("opacity",0).attr("d",O).call(s.lineGroupStyle)).style("opacity",1);else{var a=y(n);a.attr("d",O),s.singleLineStyle(d,a)}}}}}var Z=M.selectAll(".js-line").data(Y);y(Z.exit()).style("opacity",0).remove(),Z.each(G(!1)),Z.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(s.lineGroupStyle).each(G(!0)),s.setClipUrl(Z,i.layerClipId,e),Y.length?(L?(L.datum(d),F&&B&&(I?("y"===I?F[1]=B[1]=b.c2p(0,!0):"x"===I&&(F[0]=B[0]=x.c2p(0,!0)),y(L).attr("d","M"+B+"L"+F+"L"+q.substr(1)).call(s.singleFillStyle)):y(L).attr("d",q+"Z").call(s.singleFillStyle))):C&&("tonext"===_.fill.substr(0,6)&&q&&z?("tonext"===_.fill?y(C).attr("d",q+"Z"+z+"Z").call(s.singleFillStyle):y(C).attr("d",q+"L"+z.substr(1)+"Z").call(s.singleFillStyle),_._polygons=_._polygons.concat(P)):(X(C),_._polygons=null)),_._prevRevpath=V,_._prevPolygons=U):(L?X(L):C&&X(C),_._polygons=_._prevRevpath=_._prevPolygons=null),A.datum(d),S.datum(d),function(t,n,a){var o,u=a[0].trace,d=c.hasMarkers(u),f=c.hasText(u),h=function(e){if(e.ids)return $}(u),p=ee,g=ee;if(d||f){var v=l,_=u.stackgroup,w=_&&"infer zero"===e._fullLayout._scatterStackOpts[x._id+b._id][_].stackgaps;u.marker.maxdisplayed||u._needsCull?v=w?J:Q:_&&!w&&(v=K),d&&(p=v),f&&(g=v)}var k,T=(o=t.selectAll("path.point").data(p,h)).enter().append("path").classed("point",!0);m&&T.call(s.pointStyle,u,e).call(s.translatePoints,x,b).style("opacity",0).transition().style("opacity",1),o.order(),d&&(k=s.makePointStyleFns(u)),o.each((function(t){var n=r.select(this),a=y(n);s.translatePoint(t,a,x,b)?(s.singlePointStyle(t,a,u,k,e),i.layerClipId&&s.hideOutsideRangePoint(t,a,x,b,u.xcalendar,u.ycalendar),u.customdata&&n.classed("plotly-customdata",null!==t.data&&void 0!==t.data)):a.remove()})),m?o.exit().transition().style("opacity",0).remove():o.exit().remove(),(o=n.selectAll("g").data(g,h)).enter().append("g").classed("textpoint",!0).append("text"),o.order(),o.each((function(e){var t=r.select(this),n=y(t.select("text"));s.translatePoint(e,n,x,b)?i.layerClipId&&s.hideOutsideRangePoint(e,t,x,b,u.xcalendar,u.ycalendar):t.remove()})),o.selectAll("text").call(s.textPointStyle,u,e).each((function(e){var t=x.c2p(e.x),n=b.c2p(e.y);r.select(this).selectAll("tspan.line").each((function(){y(r.select(this)).attr({x:t,y:n})}))})),o.exit().remove()}(A,S,d);var W=!1===_.cliponaxis?null:i.layerClipId;s.setClipUrl(A,W,e),s.setClipUrl(S,W,e)}function X(e){y(e).attr("d","M0,0Z")}function Q(e){return e.filter((function(e){return!e.gap&&e.vis}))}function J(e){return e.filter((function(e){return e.vis}))}function K(e){return e.filter((function(e){return!e.gap}))}function $(e){return e.id}function ee(){return!1}}e.exports=function(e,t,n,a,i,c){var u,f,p=!i,g=!!i&&i.duration>0,v=d(e,t,n);((u=a.selectAll("g.trace").data(v,(function(e){return e[0].trace.uid}))).enter().append("g").attr("class",(function(e){return"trace scatter trace"+e[0].trace.uid})).style("stroke-miterlimit",2),u.order(),function(e,t,n){t.each((function(t){var a=o(r.select(this),"g","fills");s.setClipUrl(a,n.layerClipId,e);var i=t[0].trace,c=[];i._ownfill&&c.push("_ownFill"),i._nexttrace&&c.push("_nextFill");var u=a.selectAll("g").data(c,l);u.enter().append("g"),u.exit().each((function(e){i[e]=null})).remove(),u.order().each((function(e){i[e]=o(r.select(this),"path","js-fill")}))}))}(e,u,t),g)?(c&&(f=c()),r.transition().duration(i.duration).ease(i.easing).each("end",(function(){f&&f()})).each("interrupt",(function(){f&&f()})).each((function(){a.selectAll("g.trace").each((function(r,n){h(e,n,t,r,v,this,i)}))}))):u.each((function(r,n){h(e,n,t,r,v,this,i)}));p&&u.exit().remove(),a.selectAll("path:not([d])").remove()}})),i.register("3s7Io",(function(e,t){"use strict";var r=i("10TEj"),n=r.BADNUM,a=r.LOG_CLIP,o=a+.5,l=a-.5,s=i("1nIvY"),c=s.segmentsIntersect,u=s.constrain,d=i("4We8O");e.exports=function(e,t){var r,a,i,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S=t.xaxis,L=t.yaxis,C="log"===S.type,I="log"===L.type,O=S._length,D=L._length,z=t.connectGaps,P=t.baseTolerance,j=t.shape,E="linear"===j,R=t.fill&&"none"!==t.fill,N=[],F=d.minTolerance,H=e.length,B=new Array(H),U=0;function q(r){var a=e[r];if(!a)return!1;var i=t.linearized?S.l2p(a.x):S.c2p(a.x),s=t.linearized?L.l2p(a.y):L.c2p(a.y);if(i===n){if(C&&(i=S.c2p(a.x,!0)),i===n)return!1;I&&s===n&&(i*=Math.abs(S._m*D*(S._m>0?o:l)/(L._m*O*(L._m>0?o:l)))),i*=1e3}if(s===n){if(I&&(s=L.c2p(a.y,!0)),s===n)return!1;s*=1e3}return[i,s]}function V(e,t,r,n){var a=r-e,i=n-t,o=.5-e,l=.5-t,s=a*a+i*i,c=a*o+i*l;if(c>0&&cre||e[1]ae)return[u(e[0],te,re),u(e[1],ne,ae)]}function le(e,t){return e[0]===t[0]&&(e[0]===te||e[0]===re)||(e[1]===t[1]&&(e[1]===ne||e[1]===ae)||void 0)}function se(e,t,r){return function(n,a){var i=oe(n),o=oe(a),l=[];if(i&&o&&le(i,o))return l;i&&l.push(i),o&&l.push(o);var c=2*s.constrain((n[e]+a[e])/2,t,r)-((i||n)[e]+(o||a)[e]);c&&((i&&o?c>0==i[e]>o[e]?i:o:i||o)[e]+=c);return l}}function ce(e){var t=e[0],r=e[1],n=t===B[U-1][0],a=r===B[U-1][1];if(!n||!a)if(U>1){var i=t===B[U-2][0],o=r===B[U-2][1];n&&(t===te||t===re)&&i?o?U--:B[U-1]=e:a&&(r===ne||r===ae)&&o?i?U--:B[U-1]=e:B[U++]=e}else B[U++]=e}function ue(e){B[U-1][0]!==e[0]&&B[U-1][1]!==e[1]&&ce([X,Q]),ce(e),J=null,X=Q=0}function de(e){if(M=e[0]/O,A=e[1]/D,Z=e[0]re?re:0,W=e[1]ae?ae:0,Z||W){if(U)if(J){var t=$(J,e);t.length>1&&(ue(t[0]),B[U++]=t[1])}else K=$(B[U-1],e)[0],B[U++]=K;else B[U++]=[Z||e[0],W||e[1]];var r=B[U-1];Z&&W&&(r[0]!==Z||r[1]!==W)?(J&&(X!==Z&&Q!==W?ce(X&&Q?(n=J,i=(a=e)[0]-n[0],o=(a[1]-n[1])/i,(n[1]*a[0]-a[1]*n[0])/i>0?[o>0?te:re,ae]:[o>0?re:te,ne]):[X||Z,Q||W]):X&&Q&&ce([X,Q])),ce([Z,W])):X-Z&&Q-W&&ce([Z||X,W||Q]),J=e,X=Z,Q=W}else J&&ue($(J,e)[0]),B[U++]=e;var n,a,i,o}for("linear"===j||"spline"===j?$=function(e,t){for(var r=[],n=0,a=0;a<4;a++){var i=ie[a],o=c(e[0],e[1],t[0],t[1],i[0],i[1],i[2],i[3]);o&&(!n||Math.abs(o.x-r[0][0])>1||Math.abs(o.y-r[0][1])>1)&&(o=[o.x,o.y],n&&G(o,e)Y(p,fe))break;i=p,(_=m[0]*v[0]+m[1]*v[1])>x?(x=_,f=p,g=!1):_=e.length||!p)break;de(p),a=p}}else de(f)}J&&ce([X||J[0],Q||J[1]]),N.push(B.slice(0,U))}return N}})),i.register("S2Ypv",(function(e,t){"use strict";var r={tonextx:1,tonexty:1,tonext:1};e.exports=function(e,t,n){var a,i,o,l,s,c={},u=!1,d=-1,f=0,h=-1;for(i=0;i=0?s=h:(s=h=f,f++),sY!=(R=D[I][1])>=Y&&(P=D[I-1][0],j=D[I][0],R-E&&(z=P+(j-P)*(Y-E)/(R-E),B=Math.min(B,z),U=Math.max(U,z)));B=Math.max(B,0),U=Math.min(U,f._length);var G=l.defaultLine;return l.opacity(d.fillcolor)?G=d.fillcolor:l.opacity((d.line||{}).color)&&(G=d.line.color),r.extendFlat(e,{distance:e.maxHoverDistance,x0:B,x1:U,y0:Y,y1:Y,color:G,hovertemplate:!1}),delete e.index,d.text&&!Array.isArray(d.text)?e.text=String(d.text):e.text=d.name,[e]}}}})),i.register("6iH0j",(function(e,t){"use strict";var r=i("3N5m7"),n=i("5EGfs");e.exports=function(e,t){var a,i;if("lines"===e.mode)return(a=e.line.color)&&r.opacity(a)?a:e.fillcolor;if("none"===e.mode)return e.fill?e.fillcolor:"";var o=t.mcc||(e.marker||{}).color,l=t.mlcc||((e.marker||{}).line||{}).color;return(i=o&&r.opacity(o)?o:l&&r.opacity(l)&&(t.mlw||((e.marker||{}).line||{}).width)?l:"")?r.opacity(i)<.3?r.addOpacity(i,.3):i:(a=(e.line||{}).color)&&r.opacity(a)&&n.hasLines(e)&&e.line.width?a:e.fillcolor}})),i.register("4f7ZS",(function(e,t){"use strict";var r=i("5EGfs");e.exports=function(e,t){var n,a,i,o,l=e.cd,s=e.xaxis,c=e.yaxis,u=[],d=l[0].trace;if(!r.hasMarkers(d)&&!r.hasText(d))return[];if(!1===t)for(n=0;nd),(e=>d=e)),t(e.exports,"transitionAxes",(()=>u),(e=>u=e)),t(e.exports,"attr",(()=>x),(e=>x=e)),t(e.exports,"rangePlot",(()=>s),(e=>s=e)),t(e.exports,"idRoot",(()=>n),(e=>n=e)),t(e.exports,"idRegex",(()=>f),(e=>f=e)),t(e.exports,"clean",(()=>v),(e=>v=e)),t(e.exports,"drawFramework",(()=>m),(e=>m=e)),t(e.exports,"name",(()=>y),(e=>y=e)),t(e.exports,"attributes",(()=>o),(e=>o=e)),t(e.exports,"layoutAttributes",(()=>g),(e=>g=e)),t(e.exports,"supplyLayoutDefaults",(()=>a),(e=>a=e)),t(e.exports,"finalizeSubplots",(()=>l),(e=>l=e)),t(e.exports,"updateFx",(()=>h),(e=>h=e)),t(e.exports,"toSVG",(()=>c),(e=>c=e)),t(e.exports,"plot",(()=>p),(e=>p=e));var b=i("4Wia9"),_=i("4Hxcc"),w=i("1nIvY"),k=i("3BndS"),T=i("7jar4"),M=i("CkVc5").getModuleCalcData,A=i("22HUI"),S=i("5Lafm"),L=i("ipXll"),C=w.ensureSingle;function I(e,t,r){return w.ensureSingle(e,t,r,(function(e){e.datum(r)}))}function O(e,t,r,n,a){for(var i,o,l,s=S.traceLayerClasses,c=e._fullLayout,u=c._modules,d=[],f=[],h=0;h0&&(a["_"+r+"axes"]||{})[t])return a;if((a[r+"axis"]||r)===t){if(o(a,r))return a;if((a[r]||[]).length||a[r+"0"])return a}}}(t,l,s);if(!c)return;if("histogram"===c.type&&s==={v:"y",h:"x"}[c.orientation||"v"])return void(e.type="linear");var u=s+"calendar",d=c[u],f={noMultiCategory:!r(c,"cartesian")||r(c,"noMultiCategory")};"box"===c.type&&c._hasPreCompStats&&s==={h:"x",v:"y"}[c.orientation||"v"]&&(f.noMultiCategory=!0);if(f.autotypenumbers=e.autotypenumbers,o(c,s)){var h=a(c),p=[];for(i=0;i=2){var s,c,u="";if(2===o.length)for(s=0;s<2;s++)if(c=y(o[s])){u=p;break}var d=i("pattern",u);if(d===p)for(s=0;s<2;s++)(c=y(o[s]))&&(t.bounds[s]=o[s]=c-1);if(d)for(s=0;s<2;s++)switch(c=o[s],d){case p:if(!r(c))return void(t.enabled=!1);if((c=+c)!==Math.floor(c)||c<0||c>=7)return void(t.enabled=!1);t.bounds[s]=o[s]=c;break;case g:if(!r(c))return void(t.enabled=!1);if((c=+c)<0||c>24)return void(t.enabled=!1);t.bounds[s]=o[s]=c}if(!1===n.autorange){var f=n.range;if(f[0]f[1])return void(t.enabled=!1)}else if(o[0]>f[0]&&o[1]0;o&&(a="array");var l,s=r("categoryorder",a);"array"===s&&(l=r("categoryarray")),o||"array"!==s||(s=t.categoryorder="trace"),"trace"===s?t._initialCategories=[]:"array"===s?t._initialCategories=l.slice():(l=function(e,t){var r,n,a,i=t.dataAttr||e._id.charAt(0),o={};if(t.axData)r=t.axData;else for(r=[],n=0;ng[1]-1/4096&&(t.domain=l),n.noneOrAll(e.domain,t.domain,l)}return a("layer"),t}})),i.register("51dhs",(function(e,t){"use strict";var r=i("4Wia9"),n=i("4Hxcc"),a=i("1nIvY"),o=i("7jar4"),l=i("1nE8l");e.exports=function(e,t,i,s){var c=e._fullLayout;if(0!==t.length){var u,d,f,h;s&&(u=s());var p=r.ease(i.easing);return e._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(h),h=null,function(){for(var r={},a=0;ai.duration?(!function(){for(var r={},a=0;a rect").call(o.setTranslate,0,0).call(o.setScale,1,1),e.plot.call(o.setTranslate,t._offset,r._offset).call(o.setScale,1,1);var n=e.plot.selectAll(".scatterlayer .trace");n.selectAll(".point").call(o.setPointGroupScale,1,1),n.selectAll(".textpoint").call(o.setTextPointsScale,1,1),n.call(o.hideOutsideRangePoints,e)}function v(t,r){var n=t.plotinfo,i=n.xaxis,s=n.yaxis,c=i._length,u=s._length,d=!!t.xr1,f=!!t.yr1,h=[];if(d){var p=a.simpleMap(t.xr0,i.r2l),g=a.simpleMap(t.xr1,i.r2l),v=p[1]-p[0],m=g[1]-g[0];h[0]=(p[0]*(1-r)+r*g[0]-p[0])/(p[1]-p[0])*c,h[2]=c*(1-r+r*m/v),i.range[0]=i.l2r(p[0]*(1-r)+r*g[0]),i.range[1]=i.l2r(p[1]*(1-r)+r*g[1])}else h[0]=0,h[2]=c;if(f){var y=a.simpleMap(t.yr0,s.r2l),x=a.simpleMap(t.yr1,s.r2l),b=y[1]-y[0],_=x[1]-x[0];h[1]=(y[1]*(1-r)+r*x[1]-y[1])/(y[0]-y[1])*u,h[3]=u*(1-r+r*_/b),s.range[0]=i.l2r(y[0]*(1-r)+r*x[0]),s.range[1]=s.l2r(y[1]*(1-r)+r*x[1])}else h[1]=0,h[3]=u;l.drawOne(e,i,{skipTitle:!0}),l.drawOne(e,s,{skipTitle:!0}),l.redrawComponents(e,[i._id,s._id]);var w=d?c/h[2]:1,k=f?u/h[3]:1,T=d?h[0]:0,M=f?h[1]:0,A=d?h[0]/h[2]*c:0,S=f?h[1]/h[3]*u:0,L=i._offset-A,C=s._offset-S;n.clipRect.call(o.setTranslate,T,M).call(o.setScale,1/w,1/k),n.plot.call(o.setTranslate,L,C).call(o.setScale,w,k),o.setPointGroupScale(n.zoomScalePts,1/w,1/k),o.setTextPointsScale(n.zoomScaleTxt,1/w,1/k)}l.redrawComponents(e)}})),i.register("5ORhk",(function(e,t){"use strict";e.exports={moduleType:"component",name:"legend",layoutAttributes:i("1rDLs"),supplyLayoutDefaults:i("3YXj5"),draw:i("Zg88i"),style:i("1RGiq")}})),i.register("6sYXG",(function(e,t){"use strict";var r=i("16smZ"),n=i("grj1e");e.exports={moduleType:"component",name:"annotations",layoutAttributes:i("561nh"),supplyLayoutDefaults:i("4TIVN"),includeBasePlot:i("1084d")("annotations"),calcAutorange:i("1RAko"),draw:r.draw,drawOne:r.drawOne,drawRaw:r.drawRaw,hasClickToShow:n.hasClickToShow,onClick:n.onClick,convertCoords:i("5qB2n")}})),i.register("16smZ",(function(e,t){"use strict";var r=i("4Wia9"),n=i("4Hxcc"),a=i("3BndS"),o=i("1nIvY"),l=o.strTranslate,s=i("1nE8l"),c=i("3N5m7"),u=i("7jar4"),d=i("FNU2H"),f=i("49Q6h"),h=i("3kB5v"),p=i("NlhQs"),g=i("1IyjK").arrayEditor,v=i("1riSa");function m(e,t){var r=e._fullLayout.annotations[t]||{},n=s.getFromId(e,r.xref),a=s.getFromId(e,r.yref);n&&n.setScale(),a&&a.setScale(),x(e,r,t,!1,n,a)}function y(e,t,r,n,a){var i=a[r],o=a[r+"ref"],l=-1!==r.indexOf("y"),c="domain"===s.getRefType(o),u=l?n.h:n.w;return e?c?i+(l?-t:t)/e._length:e.p2r(e.r2p(i)+t):i+(l?-t:t)/u}function x(e,t,a,i,m,x){var b,_,w=e._fullLayout,k=e._fullLayout._size,T=e._context.edits;i?(b="annotation-"+i,_=i+".annotations"):(b="annotation",_="annotations");var M=g(e.layout,_,t),A=M.modifyBase,S=M.modifyItem,L=M.getUpdateObj;w._infolayer.selectAll("."+b+'[data-index="'+a+'"]').remove();var C="clip"+w._uid+"_ann"+a;if(t._input&&!1!==t.visible){var I={x:{},y:{}},O=+t.textangle||0,D=w._infolayer.append("g").classed(b,!0).attr("data-index",String(a)).style("opacity",t.opacity),z=D.append("g").classed("annotation-text-g",!0),P=T[t.showarrow?"annotationTail":"annotationPosition"],j=t.captureevents||T.annotationText||P,E=z.append("g").style("pointer-events",j?"all":null).call(h,"pointer").on("click",(function(){e._dragging=!1,e.emit("plotly_clickannotation",G(r.event))}));t.hovertext&&E.on("mouseover",(function(){var r=t.hoverlabel,n=r.font,a=this.getBoundingClientRect(),i=e.getBoundingClientRect();d.loneHover({x0:a.left-i.left,x1:a.right-i.left,y:(a.top+a.bottom)/2-i.top,text:t.hovertext,color:r.bgcolor,borderColor:r.bordercolor,fontFamily:n.family,fontSize:n.size,fontColor:n.color},{container:w._hoverlayer.node(),outerContainer:w._paper.node(),gd:e})})).on("mouseout",(function(){d.loneUnhover(w._hoverlayer.node())}));var R=t.borderwidth,N=t.borderpad,F=R+N,H=E.append("rect").attr("class","bg").style("stroke-width",R+"px").call(c.stroke,t.bordercolor).call(c.fill,t.bgcolor),B=t.width||t.height,U=w._topclips.selectAll("#"+C).data(B?[0]:[]);U.enter().append("clipPath").classed("annclip",!0).attr("id",C).append("rect"),U.exit().remove();var q=t.font,V=w._meta?o.templateString(t.text,w._meta):t.text,Y=E.append("text").classed("annotation-text",!0).text(V);T.annotationText?Y.call(f.makeEditable,{delegate:E,gd:e}).call(Z).on("edit",(function(r){t.text=r,this.call(Z),S("text",r),m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0),n.call("_guiRelayout",e,L())})):Y.call(Z)}else r.selectAll("#"+C).remove();function G(e){var r={index:a,annotation:t._input,fullAnnotation:t,event:e};return i&&(r.subplotId=i),r}function Z(r){return r.call(u.font,q).attr({"text-anchor":{left:"start",right:"end"}[t.align]||"middle"}),f.convertToTspans(r,e,W),r}function W(){var r=Y.selectAll("a");1===r.size()&&r.text()===Y.text()&&E.insert("a",":first-child").attr({"xlink:xlink:href":r.attr("xlink:href"),"xlink:xlink:show":r.attr("xlink:show")}).style({cursor:"pointer"}).node().appendChild(H.node());var a=E.select(".annotation-text-math-group"),d=!a.empty(),g=u.bBox((d?a:Y).node()),b=g.width,_=g.height,M=t.width||b,j=t.height||_,N=Math.round(M+2*F),q=Math.round(j+2*F);function V(e,t){return"auto"===t&&(t=e<1/3?"left":e>2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}for(var Z=!1,W=["x","y"],X=0;X1)&&(ne===re?((he=ae.r2fraction(t["a"+te]))<0||he>1)&&(Z=!0):Z=!0),Q=ae._offset+ae.r2p(t[te]),$=.5}else{var pe="domain"===fe;"x"===te?(K=t[te],Q=pe?ae._offset+ae._length*K:Q=k.l+k.w*K):(K=1-t[te],Q=pe?ae._offset+ae._length*K:Q=k.t+k.h*K),$=t.showarrow?.5:K}if(t.showarrow){de.head=Q;var ge=t["a"+te];if(ee=oe*V(.5,t.xanchor)-le*V(.5,t.yanchor),ne===re){var ve=s.getRefType(ne);"domain"===ve?("y"===te&&(ge=1-ge),de.tail=ae._offset+ae._length*ge):"paper"===ve?"y"===te?(ge=1-ge,de.tail=k.t+k.h*ge):de.tail=k.l+k.w*ge:de.tail=ae._offset+ae.r2p(ge),J=ee}else de.tail=Q+ge,J=ee+ge;de.text=de.tail+ee;var me=w["x"===te?"width":"height"];if("paper"===re&&(de.head=o.constrain(de.head,1,me-1)),"pixel"===ne){var ye=-Math.max(de.tail-3,de.text),xe=Math.min(de.tail+3,de.text)-me;ye>0?(de.tail+=ye,de.text+=ye):xe>0&&(de.tail-=xe,de.text-=xe)}de.tail+=ue,de.head+=ue}else J=ee=se*V($,ce),de.text=Q+ee;de.text+=ue,ee+=ue,J+=ue,t["_"+te+"padplus"]=se/2+J,t["_"+te+"padminus"]=se/2-J,t["_"+te+"size"]=se,t["_"+te+"shift"]=ee}if(Z)E.remove();else{var be=0,_e=0;if("left"!==t.align&&(be=(M-b)*("center"===t.align?.5:1)),"top"!==t.valign&&(_e=(j-_)*("middle"===t.valign?.5:1)),d)a.select("svg").attr({x:F+be-1,y:F+_e}).call(u.setClipUrl,B?C:null,e);else{var we=F+_e-g.top,ke=F+be-g.left;Y.call(f.positionText,ke,we).call(u.setClipUrl,B?C:null,e)}U.select("rect").call(u.setRect,F,F,M,j),H.call(u.setRect,R/2,R/2,N-R,q-R),E.call(u.setTranslate,Math.round(I.x.text-N/2),Math.round(I.y.text-q/2)),z.attr({transform:"rotate("+O+","+I.x.text+","+I.y.text+")"});var Te,Me=function(r,a){D.selectAll(".annotation-arrow-g").remove();var s=I.x.head,d=I.y.head,f=I.x.tail+r,h=I.y.tail+a,g=I.x.text+r,b=I.y.text+a,_=o.rotationXYMatrix(O,g,b),w=o.apply2DTransform(_),M=o.apply2DTransform2(_),C=+H.attr("width"),P=+H.attr("height"),j=g-.5*C,R=j+C,N=b-.5*P,F=N+P,B=[[j,N,j,F],[j,F,R,F],[R,F,R,N],[R,N,j,N]].map(M);if(!B.reduce((function(e,t){return e^!!o.segmentsIntersect(s,d,s+1e6,d+1e6,t[0],t[1],t[2],t[3])}),!1)){B.forEach((function(e){var t=o.segmentsIntersect(f,h,s,d,e[0],e[1],e[2],e[3]);t&&(f=t.x,h=t.y)}));var U=t.arrowwidth,q=t.arrowcolor,V=t.arrowside,Y=D.append("g").style({opacity:c.opacity(q)}).classed("annotation-arrow-g",!0),G=Y.append("path").attr("d","M"+f+","+h+"L"+s+","+d).style("stroke-width",U+"px").call(c.stroke,c.rgb(q));if(v(G,V,t),T.annotationPosition&&G.node().parentNode&&!i){var Z=s,W=d;if(t.standoff){var X=Math.sqrt(Math.pow(s-f,2)+Math.pow(d-h,2));Z+=t.standoff*(f-s)/X,W+=t.standoff*(h-d)/X}var Q,J,K=Y.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(f-Z)+","+(h-W),transform:l(Z,W)}).style("stroke-width",U+6+"px").call(c.stroke,"rgba(0,0,0,0)").call(c.fill,"rgba(0,0,0,0)");p.init({element:K.node(),gd:e,prepFn:function(){var e=u.getTranslate(E);Q=e.x,J=e.y,m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0)},moveFn:function(e,r){var n=w(Q,J),a=n[0]+e,i=n[1]+r;E.call(u.setTranslate,a,i),S("x",y(m,e,"x",k,t)),S("y",y(x,r,"y",k,t)),t.axref===t.xref&&S("ax",y(m,e,"ax",k,t)),t.ayref===t.yref&&S("ay",y(x,r,"ay",k,t)),Y.attr("transform",l(e,r)),z.attr({transform:"rotate("+O+","+a+","+i+")"})},doneFn:function(){n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}};if(t.showarrow&&Me(0,0),P)p.init({element:E.node(),gd:e,prepFn:function(){Te=z.attr("transform")},moveFn:function(e,r){var n="pointer";if(t.showarrow)t.axref===t.xref?S("ax",y(m,e,"ax",k,t)):S("ax",t.ax+e),t.ayref===t.yref?S("ay",y(x,r,"ay",k.w,t)):S("ay",t.ay+r),Me(e,r);else{if(i)return;var a,o;if(m)a=y(m,e,"x",k,t);else{var s=t._xsize/k.w,c=t.x+(t._xshift-t.xshift)/k.w-s/2;a=p.align(c+e/k.w,s,0,1,t.xanchor)}if(x)o=y(x,r,"y",k,t);else{var u=t._ysize/k.h,d=t.y-(t._yshift+t.yshift)/k.h-u/2;o=p.align(d-r/k.h,u,0,1,t.yanchor)}S("x",a),S("y",o),m&&x||(n=p.getCursor(m?.5:a,x?.5:o,t.xanchor,t.yanchor))}z.attr({transform:l(e,r)+Te}),h(E,n)},clickFn:function(r,n){t.captureevents&&e.emit("plotly_clickannotation",G(n))},doneFn:function(){h(E),n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}}e.exports={draw:function(e){var t=e._fullLayout;t._infolayer.selectAll(".annotation").remove();for(var r=0;r=0,x=t.indexOf("end")>=0,b=p.backoff*v+i.standoff,_=g.backoff*m+i.startstandoff;if("line"===h.nodeName){o={x:+e.attr("x1"),y:+e.attr("y1")},u={x:+e.attr("x2"),y:+e.attr("y2")};var w=o.x-u.x,k=o.y-u.y;if(f=(d=Math.atan2(k,w))+Math.PI,b&&_&&b+_>Math.sqrt(w*w+k*k))return void P();if(b){if(b*b>w*w+k*k)return void P();var T=b*Math.cos(d),M=b*Math.sin(d);u.x+=T,u.y+=M,e.attr({x2:u.x,y2:u.y})}if(_){if(_*_>w*w+k*k)return void P();var A=_*Math.cos(d),S=_*Math.sin(d);o.x-=A,o.y-=S,e.attr({x1:o.x,y1:o.y})}}else if("path"===h.nodeName){var L=h.getTotalLength(),C="";if(L0||r.explicitOff.length>0},onClick:function(e,t){var i,l,s=o(e,t),c=s.on,u=s.off.concat(s.explicitOff),d={},f=e._fullLayout.annotations;if(!c.length&&!u.length)return;for(i=0;i), bold (), italics (),","hyperlinks (). Tags , , "," are also supported."].join(" ")},textangle:{valType:"angle",dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets the angle at which the `text` is drawn","with respect to the horizontal."].join(" ")},font:n({editType:"calc+arraydraw",colorEditType:"arraydraw",description:"Sets the annotation text font."}),width:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit width for the text box. null (default) lets the","text set the box width. Wider text will be clipped.","There is no automatic wrapping; use
to start a new line."].join(" ")},height:{valType:"number",min:1,dflt:null,role:"style",editType:"calc+arraydraw",description:["Sets an explicit height for the text box. null (default) lets the","text set the box height. Taller text will be clipped."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"style",editType:"arraydraw",description:"Sets the opacity of the annotation (text + arrow)."},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",role:"style",editType:"arraydraw",description:["Sets the horizontal alignment of the `text` within the box.","Has an effect only if `text` spans two or more lines","(i.e. `text` contains one or more
HTML tags) or if an","explicit width is set to override the text width."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",role:"style",editType:"arraydraw",description:["Sets the vertical alignment of the `text` within the box.","Has an effect only if an explicit height is set to override","the text height."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:"Sets the background color of the annotation."},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"style",editType:"arraydraw",description:["Sets the color of the border enclosing the annotation `text`."].join(" ")},borderpad:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the padding (in px) between the `text`","and the enclosing border."].join(" ")},borderwidth:{valType:"number",min:0,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the width (in px) of the border enclosing","the annotation `text`."].join(" ")},showarrow:{valType:"boolean",dflt:!0,role:"style",editType:"calc+arraydraw",description:["Determines whether or not the annotation is drawn with an arrow.","If *true*, `text` is placed near the arrow's tail.","If *false*, `text` lines up with the `x` and `y` provided."].join(" ")},arrowcolor:{valType:"color",role:"style",editType:"arraydraw",description:"Sets the color of the annotation arrow."},arrowhead:{valType:"integer",min:0,max:r.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the end annotation arrow head style."},startarrowhead:{valType:"integer",min:0,max:r.length,dflt:1,role:"style",editType:"arraydraw",description:"Sets the start annotation arrow head style."},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",role:"style",editType:"arraydraw",description:"Sets the annotation arrow head position."},arrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the end annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},startarrowsize:{valType:"number",min:.3,dflt:1,role:"style",editType:"calc+arraydraw",description:["Sets the size of the start annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},arrowwidth:{valType:"number",min:.1,role:"style",editType:"calc+arraydraw",description:"Sets the width (in px) of annotation arrow line."},standoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the end arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},startstandoff:{valType:"number",min:0,dflt:0,role:"style",editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the start arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},ax:{valType:"any",role:"info",editType:"calc+arraydraw",description:[c("x","left","right")].join(" ")},ay:{valType:"any",role:"info",editType:"calc+arraydraw",description:[c("y","top","bottom")].join(" ")},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",l.axisRefDescription("ax","left","right"),s("x")].join(" ")},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],role:"info",editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",l.axisRefDescription("ay","bottom","top"),s("y")].join(" ")},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],role:"info",editType:"calc",description:["Sets the annotation's x coordinate axis.",l.axisRefDescription("x","left","right")].join(" ")},x:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's x position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's horizontal position anchor","This anchor binds the `x` position to the *left*, *center*","or *right* of the annotation.","For example, if `x` is set to 1, `xref` to *paper* and","`xanchor` to *right* then the right-most portion of the","annotation lines up with the right-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *center* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},xshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow to the","right (positive) or left (negative) by this many pixels."].join(" ")},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],role:"info",editType:"calc",description:["Sets the annotation's y coordinate axis.",l.axisRefDescription("y","bottom","top")].join(" ")},y:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the annotation's y position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",role:"info",editType:"calc+arraydraw",description:["Sets the text box's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the annotation.","For example, if `y` is set to 1, `yref` to *paper* and","`yanchor` to *top* then the top-most portion of the","annotation lines up with the top-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *middle* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},yshift:{valType:"number",dflt:0,role:"style",editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow up","(positive) or down (negative) by this many pixels."].join(" ")},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,role:"style",editType:"arraydraw",description:["Makes this annotation respond to clicks on the plot.","If you click a data point that exactly matches the `x` and `y`","values of this annotation, and it is hidden (visible: false),","it will appear. In *onoff* mode, you must click the same point","again to make it disappear, so if you click multiple points,","you can show multiple annotations. In *onout* mode, a click","anywhere else in the plot (on another data point or not) will","hide this annotation.","If you need to show/hide this annotation in response to different","`x` or `y` values, you can set `xclick` and/or `yclick`. This is","useful for example to label the side of a bar. To label markers","though, `standoff` is preferred over `xclick` and `yclick`."].join(" ")},xclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `x` value","is `xclick` rather than the annotation's `x` value."].join(" ")},yclick:{valType:"any",role:"info",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `y` value","is `yclick` rather than the annotation's `y` value."].join(" ")},hovertext:{valType:"string",role:"info",editType:"arraydraw",description:["Sets text to appear when hovering over this annotation.","If omitted or blank, no hover label will appear."].join(" ")},hoverlabel:{bgcolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the background color of the hover label.","By default uses the annotation's `bgcolor` made opaque,","or white if it was transparent."].join(" ")},bordercolor:{valType:"color",role:"style",editType:"arraydraw",description:["Sets the border color of the hover label.","By default uses either dark grey or white, for maximum","contrast with `hoverlabel.bgcolor`."].join(" ")},font:n({editType:"arraydraw",description:["Sets the hover label text font.","By default uses the global hover font and size,","with color from `hoverlabel.bordercolor`."].join(" ")}),editType:"arraydraw"},captureevents:{valType:"boolean",role:"info",editType:"arraydraw",description:["Determines whether the annotation text box captures mouse move","and click events, or allows those events to pass through to data","points in the plot that may be behind the annotation. By default","`captureevents` is *false* unless `hovertext` is provided.","If you use the event `plotly_clickannotation` without `hovertext`","you must explicitly enable `captureevents`."].join(" ")},editType:"calc",_deprecated:{ref:{valType:"string",role:"info",editType:"calc",description:["Obsolete. Set `xref` and `yref` separately instead."].join(" ")}}})})),i.register("6WOiC",(function(e,t){"use strict";e.exports={axisRefDescription:function(e,t,r){return["If set to a",e,"axis id (e.g. *"+e+"* or","*"+e+"2*), the `"+e+"` position refers to a",e,"coordinate. If set to *paper*, the `"+e+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+r+"). If set to a",e,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+e+"2 domain* refers to the domain of the second",e," axis and a",e,"position of 0.5 refers to the","point between the",t,"and the",r,"of the domain of the","second",e,"axis."].join(" ")}}})),i.register("4TIVN",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1nE8l"),a=i("6pAgU"),o=i("3oYmn"),l=i("561nh");function s(e,t,a){function i(n,a){return r.coerce(e,t,l,n,a)}var s=i("visible"),c=i("clicktoshow");if(s||c){o(e,t,a,i);for(var u=t.showarrow,d=["x","y"],f=[-10,-30],h={_fullLayout:a},p=0;p<2;p++){var g=d[p],v=n.coerceRef(e,t,h,g,"","paper");if("paper"!==v)n.getFromId(h,v)._annIndices.push(t._index);if(n.coercePosition(t,h,i,v,g,.5),u){var m="a"+g,y=n.coerceRef(e,t,h,m,"pixel",["pixel","paper"]);"pixel"!==y&&y!==v&&(y=t[m]="pixel");var x="pixel"===y?f[p]:.4;n.coercePosition(t,h,i,y,m,x)}i(g+"anchor"),i(g+"shift")}if(r.noneOrAll(e,t,["x","y"]),u&&r.noneOrAll(e,t,["ax","ay"]),c){var b=i("xclick"),_=i("yclick");t._xclick=void 0===b?t.x:n.cleanPosition(b,h,t.xref),t._yclick=void 0===_?t.y:n.cleanPosition(_,h,t.yref)}}}e.exports=function(e,t){a(e,t,{name:"annotations",handleItemDefaults:s})}})),i.register("3oYmn",(function(e,t){"use strict";var r=i("1nIvY"),n=i("3N5m7");e.exports=function(e,t,a,i){i("opacity");var o=i("bgcolor"),l=i("bordercolor"),s=n.opacity(l);i("borderpad");var c=i("borderwidth"),u=i("showarrow");if(i("text",u?" ":a._dfltTitle.annotation),i("textangle"),r.coerceFont(i,"font",a.font),i("width"),i("align"),i("height")&&i("valign"),u){var d,f,h=i("arrowside");-1!==h.indexOf("end")&&(d=i("arrowhead"),f=i("arrowsize")),-1!==h.indexOf("start")&&(i("startarrowhead",d),i("startarrowsize",f)),i("arrowcolor",s?t.bordercolor:n.defaultLine),i("arrowwidth",2*(s&&c||1)),i("standoff"),i("startstandoff")}var p=i("hovertext"),g=a.hoverlabel||{};if(p){var v=i("hoverlabel.bgcolor",g.bgcolor||(n.opacity(o)?n.rgb(o):n.defaultLine)),m=i("hoverlabel.bordercolor",g.bordercolor||n.contrast(v));r.coerceFont(i,"hoverlabel.font",{family:g.font.family,size:g.font.size,color:g.font.color||m})}i("captureevents",!!p)}})),i.register("1084d",(function(e,t){"use strict";var r=i("4Hxcc"),n=i("1nIvY"),a=i("22HUI");e.exports=function(e){return function(t,i){var o=t[e];if(Array.isArray(o))for(var l=r.subplotsRegistry.cartesian,s=l.idRegex,c=i._subplots,u=c.xaxis,d=c.yaxis,f=c.cartesian,h=i._has("cartesian")||i._has("gl2d"),p=0;p1){c=!0;break}}c?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+l+'"]').remove():(s._pdata=n(e.glplot.cameraParams,[t.xaxis.r2l(s.x)*i[0],t.yaxis.r2l(s.y)*i[1],t.zaxis.r2l(s.z)*i[2]]),r(e.graphDiv,s,l,e.id,s._xa,s._ya))}}})),i.register("2uHIJ",(function(e,t){"use strict";function r(e,t){var r,n,a=[0,0,0,0];for(r=0;r<4;++r)for(n=0;n<4;++n)a[n]+=e[4*r+n]*t[r];return a}e.exports=function(e,t){return r(e.projection,r(e.view,r(e.model,[t[0],t[1],t[2],1])))}})),i.register("3PzhP",(function(e,t){"use strict";var r=i("2zBj0");e.exports={moduleType:"component",name:"shapes",layoutAttributes:i("6RBR1"),supplyLayoutDefaults:i("6NGbH"),supplyDrawNewShapeDefaults:i("7Bm2t"),includeBasePlot:i("1084d")("shapes"),calcAutorange:i("7fcSN"),draw:r.draw,drawOne:r.drawOne}})),i.register("6RBR1",(function(e,t){"use strict";var r=i("561nh"),n=i("2oxdA").line,a=i("5wAu8").dash,o=i("1ZM4z").extendFlat,l=i("1IyjK").templatedArray,s=i("6WOiC");e.exports=l("shape",{visible:{valType:"boolean",role:"info",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this shape is visible."].join(" ")},type:{valType:"enumerated",values:["circle","rect","path","line"],role:"info",editType:"calc+arraydraw",description:["Specifies the shape type to be drawn.","If *line*, a line is drawn from (`x0`,`y0`) to (`x1`,`y1`)","with respect to the axes' sizing mode.","If *circle*, a circle is drawn from","((`x0`+`x1`)/2, (`y0`+`y1`)/2))","with radius","(|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|)","with respect to the axes' sizing mode.","If *rect*, a rectangle is drawn linking","(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)","with respect to the axes' sizing mode.","If *path*, draw a custom SVG path using `path`.","with respect to the axes' sizing mode."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",role:"info",editType:"arraydraw",description:"Specifies whether shapes are drawn below or above traces."},xref:o({},r.xref,{description:["Sets the shape's x coordinate axis.",s.axisRefDescription("x","left","right"),"If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, then you must convert","the date to unix time in milliseconds."].join(" ")}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the x axis.","If set to *scaled*, `x0`, `x1` and x coordinates within `path` refer to","data values on the x axis or a fraction of the plot area's width","(`xref` set to *paper*).","If set to *pixel*, `xanchor` specifies the x position in terms","of data or plot fraction but `x0`, `x1` and x coordinates within `path`","are pixels relative to `xanchor`. This way, the shape can have","a fixed width while maintaining a position relative to data or","plot fraction."].join(" ")},xanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `xsizemode` set to *pixel*.","Specifies the anchor point on the x axis to which `x0`, `x1`","and x coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `xsizemode` not set to *pixel*."].join(" ")},x0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting x position.","See `type` and `xsizemode` for more info."].join(" ")},x1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end x position.","See `type` and `xsizemode` for more info."].join(" ")},yref:o({},r.yref,{description:["Sets the annotation's y coordinate axis.",s.axisRefDescription("y","bottom","top")].join(" ")}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",role:"info",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the y axis.","If set to *scaled*, `y0`, `y1` and y coordinates within `path` refer to","data values on the y axis or a fraction of the plot area's height","(`yref` set to *paper*).","If set to *pixel*, `yanchor` specifies the y position in terms","of data or plot fraction but `y0`, `y1` and y coordinates within `path`","are pixels relative to `yanchor`. This way, the shape can have","a fixed height while maintaining a position relative to data or","plot fraction."].join(" ")},yanchor:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Only relevant in conjunction with `ysizemode` set to *pixel*.","Specifies the anchor point on the y axis to which `y0`, `y1`","and y coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `ysizemode` not set to *pixel*."].join(" ")},y0:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's starting y position.","See `type` and `ysizemode` for more info."].join(" ")},y1:{valType:"any",role:"info",editType:"calc+arraydraw",description:["Sets the shape's end y position.","See `type` and `ysizemode` for more info."].join(" ")},path:{valType:"string",role:"info",editType:"calc+arraydraw",description:["For `type` *path* - a valid SVG path with the pixel values","replaced by data values in `xsizemode`/`ysizemode` being *scaled*","and taken unmodified as pixels relative to `xanchor` and `yanchor`","in case of *pixel* size mode.","There are a few restrictions / quirks","only absolute instructions, not relative. So the allowed segments","are: M, L, H, V, Q, C, T, S, and Z","arcs (A) are not allowed because radius rx and ry are relative.","In the future we could consider supporting relative commands,","but we would have to decide on how to handle date and log axes.","Note that even as is, Q and C Bezier paths that are smooth on","linear axes may not be smooth on log, and vice versa.",'no chained "polybezier" commands - specify the segment type for',"each one.","On category axes, values are numbers scaled to the serial numbers","of categories because using the categories themselves there would","be no way to describe fractional positions","On data axes: because space and T are both normal components of path","strings, we can't use either to separate date from time parts.","Therefore we'll use underscore for this purpose:","2015-02-21_13:45:56.789"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,role:"info",editType:"arraydraw",description:"Sets the opacity of the shape."},line:{color:o({},n.color,{editType:"arraydraw"}),width:o({},n.width,{editType:"calc+arraydraw"}),dash:o({},a,{editType:"arraydraw"}),role:"info",editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",role:"info",editType:"arraydraw",description:["Sets the color filling the shape's interior. Only applies to closed shapes."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",role:"info",editType:"arraydraw",description:["Determines which regions of complex paths constitute the interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},editable:{valType:"boolean",role:"info",dflt:!1,editType:"calc+arraydraw",description:["Determines whether the shape could be activated for edit or not.","Has no effect when the older editable shapes mode is enabled via","`config.editable` or `config.edits.shapePosition`."].join(" ")},editType:"arraydraw"})})),i.register("6NGbH",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1nE8l"),a=i("6pAgU"),o=i("6RBR1"),l=i("6VQ7W");function s(e,t,a){function i(n,a){return r.coerce(e,t,o,n,a)}if(i("visible")){var s=i("path"),c=i("type",s?"path":"rect");"path"!==t.type&&delete t.path,i("editable"),i("layer"),i("opacity"),i("fillcolor"),i("fillrule"),i("line.width")&&(i("line.color"),i("line.dash"));for(var u=i("xsizemode"),d=i("ysizemode"),f=["x","y"],h=0;h<2;h++){var p,g,v,m=f[h],y=m+"anchor",x="x"===m?u:d,b={_fullLayout:a},_=n.coerceRef(e,t,b,m,void 0,"paper");if("range"===n.getRefType(_)?((p=n.getFromId(b,_))._shapeIndices.push(t._index),v=l.rangeToShapePosition(p),g=l.shapePositionToRange(p)):g=v=r.identity,"path"!==c){var w=m+"0",k=m+"1",T=e[w],M=e[k];e[w]=g(e[w],!0),e[k]=g(e[k],!0),"pixel"===x?(i(w,0),i(k,10)):(n.coercePosition(t,b,i,_,w,.25),n.coercePosition(t,b,i,_,k,.75)),t[w]=v(t[w]),t[k]=v(t[k]),e[w]=T,e[k]=M}if("pixel"===x){var A=e[y];e[y]=g(e[y],!0),n.coercePosition(t,b,i,_,y,.25),t[y]=v(t[y]),e[y]=A}}"path"===c?i("path"):r.noneOrAll(e,t,["x0","x1","y0","y1"])}}e.exports=function(e,t){a(e,t,{name:"shapes",handleItemDefaults:s})}})),i.register("7Bm2t",(function(e,t){"use strict";var r=i("3N5m7");e.exports=function(e,t,n){if(n("newshape.drawdirection"),n("newshape.layer"),n("newshape.fillcolor"),n("newshape.fillrule"),n("newshape.opacity"),n("newshape.line.width")){var a=(e||{}).plot_bgcolor||"#FFF";n("newshape.line.color",r.contrast(a)),n("newshape.line.dash")}n("activeshape.fillcolor"),n("activeshape.opacity")}})),i.register("7fcSN",(function(e,t){"use strict";var r=i("1nIvY"),n=i("1nE8l"),a=i("fN6X1"),o=i("6VQ7W");function l(e){return c(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function s(e){return c(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function c(e,t,n,i,l,s){var c=e/2,u=s;if("pixel"===t){var d=l?o.extractPathCoords(l,s?a.paramIsY:a.paramIsX):[n,i],f=r.aggNums(Math.max,null,d),h=r.aggNums(Math.min,null,d),p=h<0?Math.abs(h)+c:c,g=f>0?f+c:c;return{ppad:c,ppadplus:u?p:g,ppadminus:u?g:p}}return{ppad:c}}function u(e,t,r,n,i){var l="category"===e.type||"multicategory"===e.type?e.r2c:e.d2c;if(void 0!==t)return[l(t),l(r)];if(n){var s,c,u,d,f=1/0,h=-1/0,p=n.match(a.segmentRE);for("date"===e.type&&(l=o.decodeDate(l)),s=0;sh&&(h=d)));return h>=f?[f,h]:void 0}}e.exports=function(e){var t=e._fullLayout,i=r.filterVisible(t.shapes);if(i.length&&e._fullData.length)for(var o=0;o0)&&(o("active"),o("direction"),o("type"),o("showactive"),o("x"),o("y"),r.noneOrAll(e,t,["x","y"]),o("xanchor"),o("yanchor"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),r.coerceFont(o,"font",i.font),o("bgcolor",i.paper_bgcolor),o("bordercolor"),o("borderwidth"))}function c(e,t){function n(n,a){return r.coerce(e,t,l,n,a)}n("visible","skip"===e.method||Array.isArray(e.args))&&(n("method"),n("args"),n("args2"),n("label"),n("execute"))}e.exports=function(e,t){n(e,t,{name:o,handleItemDefaults:s})}})),i.register("4QIlc",(function(e,t){"use strict";var r=i("4Wia9"),n=i("3BndS"),a=i("3N5m7"),o=i("7jar4"),l=i("1nIvY"),s=i("49Q6h"),c=i("1IyjK").arrayEditor,u=i("5n2uh").LINE_SPACING,d=i("2FbQ1"),f=i("2KBfh");function h(e){return e._index}function p(e,t){return+e.attr(d.menuIndexAttrName)===t._index}function g(e,t,r,n,a,i,o,l){t.active=o,c(e.layout,d.name,t).applyUpdate("active",o),"buttons"===t.type?m(e,n,null,null,t):"dropdown"===t.type&&(a.attr(d.menuIndexAttrName,"-1"),v(e,n,a,i,t),l||m(e,n,a,i,t))}function v(e,t,r,n,a){var i=l.ensureSingle(t,"g",d.headerClassName,(function(e){e.style("pointer-events","all")})),s=a._dims,c=a.active,u=a.buttons[c]||d.blankHeaderOpts,f={y:a.pad.t,yPad:0,x:a.pad.l,xPad:0,index:0},h={width:s.headerWidth,height:s.headerHeight};i.call(y,a,u,e).call(A,a,f,h),l.ensureSingle(t,"text",d.headerArrowClassName,(function(e){e.attr("text-anchor","end").call(o.font,a.font).text(d.arrowSymbol[a.direction])})).attr({x:s.headerWidth-d.arrowOffsetX+a.pad.l,y:s.headerHeight/2+d.textOffsetY+a.pad.t}),i.on("click",(function(){r.call(S,String(p(r,a)?-1:a._index)),m(e,t,r,n,a)})),i.on("mouseover",(function(){i.call(w)})),i.on("mouseout",(function(){i.call(k,a)})),o.setTranslate(t,s.lx,s.ly)}function m(e,t,a,i,o){a||(a=t).attr("pointer-events","all");var s=function(e){return-1==+e.attr(d.menuIndexAttrName)}(a)&&"buttons"!==o.type?[]:o.buttons,c="dropdown"===o.type?d.dropdownButtonClassName:d.buttonClassName,u=a.selectAll("g."+c).data(l.filterVisible(s)),f=u.enter().append("g").classed(c,!0),h=u.exit();"dropdown"===o.type?(f.attr("opacity","0").transition().attr("opacity","1"),h.transition().attr("opacity","0").remove()):h.remove();var p=0,v=0,m=o._dims,x=-1!==["up","down"].indexOf(o.direction);"dropdown"===o.type&&(x?v=m.headerHeight+d.gapButtonHeader:p=m.headerWidth+d.gapButtonHeader),"dropdown"===o.type&&"up"===o.direction&&(v=-d.gapButtonHeader+d.gapButton-m.openHeight),"dropdown"===o.type&&"left"===o.direction&&(p=-d.gapButtonHeader+d.gapButton-m.openWidth);var b={x:m.lx+p+o.pad.l,y:m.ly+v+o.pad.t,yPad:d.gapButton,xPad:d.gapButton,index:0},T={l:b.x+o.borderwidth,t:b.y+o.borderwidth};u.each((function(l,s){var c=r.select(this);c.call(y,o,l,e).call(A,o,b),c.on("click",(function(){r.event.defaultPrevented||(l.execute&&(l.args2&&o.active===s?(g(e,o,0,t,a,i,-1),n.executeAPICommand(e,l.method,l.args2)):(g(e,o,0,t,a,i,s),n.executeAPICommand(e,l.method,l.args))),e.emit("plotly_buttonclicked",{menu:o,button:l,active:o.active}))})),c.on("mouseover",(function(){c.call(w)})),c.on("mouseout",(function(){c.call(k,o),u.call(_,o)}))})),u.call(_,o),x?(T.w=Math.max(m.openWidth,m.headerWidth),T.h=b.y-T.t):(T.w=b.x-T.l,T.h=Math.max(m.openHeight,m.headerHeight)),T.direction=o.direction,i&&(u.size()?function(e,t,r,n,a,i){var o,l,s,c=a.direction,u="up"===c||"down"===c,f=a._dims,h=a.active;if(u)for(l=0,s=0;s0?[0]:[]);if(o.enter().append("g").classed(d.containerClassName,!0).style("cursor","pointer"),o.exit().each((function(){r.select(this).selectAll("g."+d.headerGroupClassName).each(i)})).remove(),0!==a.length){var s=o.selectAll("g."+d.headerGroupClassName).data(a,h);s.enter().append("g").classed(d.headerGroupClassName,!0);for(var c=l.ensureSingle(o,"g",d.dropdownButtonGroupClassName,(function(e){e.style("pointer-events","all")})),u=0;uw,M=l.barLength+2*l.barPad,A=l.barWidth+2*l.barPad,S=p,L=v+m;L+A>c&&(L=c-A);var C=this.container.selectAll("rect.scrollbar-horizontal").data(T?[0]:[]);C.exit().on(".drag",null).remove(),C.enter().append("rect").classed("scrollbar-horizontal",!0).call(n.fill,l.barColor),T?(this.hbar=C.attr({rx:l.barRadius,ry:l.barRadius,x:S,y:L,width:M,height:A}),this._hbarXMin=S+M/2,this._hbarTranslateMax=w-M):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var I=m>k,O=l.barWidth+2*l.barPad,D=l.barLength+2*l.barPad,z=p+g,P=v;z+O>s&&(z=s-O);var j=this.container.selectAll("rect.scrollbar-vertical").data(I?[0]:[]);j.exit().on(".drag",null).remove(),j.enter().append("rect").classed("scrollbar-vertical",!0).call(n.fill,l.barColor),I?(this.vbar=j.attr({rx:l.barRadius,ry:l.barRadius,x:z,y:P,width:O,height:D}),this._vbarYMin=P+D/2,this._vbarTranslateMax=k-D):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var E=this.id,R=u-.5,N=I?d+O+.5:d+.5,F=f-.5,H=T?h+A+.5:h+.5,B=o._topdefs.selectAll("#"+E).data(T||I?[0]:[]);if(B.exit().remove(),B.enter().append("clipPath").attr("id",E).append("rect"),T||I?(this._clipRect=B.select("rect").attr({x:Math.floor(R),y:Math.floor(F),width:Math.ceil(N)-Math.floor(R),height:Math.ceil(H)-Math.floor(F)}),this.container.call(a.setClipUrl,E,this.gd),this.bg.attr({x:p,y:v,width:g,height:m})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),T||I){var U=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(U);var q=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault(),r.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));T&&this.hbar.on(".drag",null).call(q),I&&this.vbar.on(".drag",null).call(q)}this.setTranslate(t,i)},l.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},l.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=r.event.dx),this.vbar&&(t-=r.event.dy),this.setTranslate(e,t)},l.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=r.event.deltaY),this.vbar&&(t+=r.event.deltaY),this.setTranslate(e,t)},l.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var n=e+this._hbarXMin,a=n+this._hbarTranslateMax;e=(o.constrain(r.event.x,n,a)-n)/(a-n)*(this.position.w-this._box.w)}if(this.vbar){var i=t+this._vbarYMin,l=i+this._vbarTranslateMax;t=(o.constrain(r.event.y,i,l)-i)/(l-i)*(this.position.h-this._box.h)}this.setTranslate(e,t)},l.prototype.setTranslate=function(e,t){var r=this.position.w-this._box.w,n=this.position.h-this._box.h;if(e=o.constrain(e||0,0,r),t=o.constrain(t||0,0,n),this.translateX=e,this.translateY=t,this.container.call(a.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var i=e/r;this.hbar.call(a.setTranslate,e+i*this._hbarTranslateMax,t)}if(this.vbar){var l=t/n;this.vbar.call(a.setTranslate,e,t+l*this._vbarTranslateMax)}}})),i.register("6LgZ4",(function(e,t){"use strict";var r=i("6jqeg");e.exports={moduleType:"component",name:r.name,layoutAttributes:i("5OgGA"),supplyLayoutDefaults:i("6cUFq"),draw:i("hPtd4")}})),i.register("6jqeg",(function(e,t){"use strict";e.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}})),i.register("5OgGA",(function(e,t){"use strict";var r=i("10Nlb"),n=i("5zrJR"),a=i("1ZM4z").extendDeepAll,o=i("1bSCj").overrideAll,l=i("69Oag"),s=i("1IyjK").templatedArray,c=i("6jqeg"),u=s("step",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not this step is included in the slider."].join(" ")},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",role:"info",description:["Sets the Plotly method to be called when the slider value is changed.","If the `skip` method is used, the API slider will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","slider events manually via JavaScript."].join(" ")},args:{valType:"info_array",role:"info",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on slide."].join(" ")},label:{valType:"string",role:"info",description:"Sets the text label to appear on the slider"},value:{valType:"string",role:"info",description:["Sets the value of the slider step, used to refer to the step programatically.","Defaults to the slider label if not provided."].join(" ")},execute:{valType:"boolean",role:"info",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_sliderchange` method and executing the API command manually without losing","the benefit of the slider automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=o(s("slider",{visible:{valType:"boolean",role:"info",dflt:!0,description:["Determines whether or not the slider is visible."].join(" ")},active:{valType:"number",role:"info",min:0,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],role:"info",dflt:"fraction",description:["Determines whether this slider length","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,role:"style",description:["Sets the length of the slider","This measure excludes the padding of both ends.","That is, the slider's length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the x position (in normalized coordinates) of the slider."},pad:a(n({editType:"arraydraw"}),{description:"Set the padding of the slider component along each side."},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",role:"info",description:["Sets the slider's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:0,role:"style",description:"Sets the y position (in normalized coordinates) of the slider."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",role:"info",description:["Sets the slider's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},transition:{duration:{valType:"number",role:"info",min:0,dflt:150,description:"Sets the duration of the slider transition"},easing:{valType:"enumerated",values:l.transition.easing.values,role:"info",dflt:"cubic-in-out",description:"Sets the easing function of the slider transition"}},currentvalue:{visible:{valType:"boolean",role:"info",dflt:!0,description:["Shows the currently-selected value above the slider."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",role:"info",description:["The alignment of the value readout relative to the length of the slider."].join(" ")},offset:{valType:"number",dflt:10,role:"info",description:["The amount of space, in pixels, between the current value label","and the slider."].join(" ")},prefix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the prefix of the label."},suffix:{valType:"string",role:"info",description:"When currentvalue.visible is true, this sets the suffix of the label."},font:r({description:"Sets the font of the current value label text."})},font:r({description:"Sets the font of the slider step labels."}),activebgcolor:{valType:"color",role:"style",dflt:c.gripBgActiveColor,description:["Sets the background color of the slider grip","while dragging."].join(" ")},bgcolor:{valType:"color",role:"style",dflt:c.railBgColor,description:"Sets the background color of the slider."},bordercolor:{valType:"color",dflt:c.railBorderColor,role:"style",description:"Sets the color of the border enclosing the slider."},borderwidth:{valType:"number",min:0,dflt:c.railBorderWidth,role:"style",description:"Sets the width (in px) of the border enclosing the slider."},ticklen:{valType:"number",min:0,dflt:c.tickLength,role:"style",description:"Sets the length in pixels of step tick marks"},tickcolor:{valType:"color",dflt:c.tickColor,role:"style",description:"Sets the color of the border enclosing the slider."},tickwidth:{valType:"number",min:0,dflt:1,role:"style",description:"Sets the tick width (in px)."},minorticklen:{valType:"number",min:0,dflt:c.minorTickLength,role:"style",description:"Sets the length in pixels of minor step tick marks"}}),"arraydraw","from-root")})),i.register("6cUFq",(function(e,t){"use strict";var r=i("1nIvY"),n=i("6pAgU"),a=i("5OgGA"),o=i("6jqeg").name,l=a.steps;function s(e,t,i){function o(n,i){return r.coerce(e,t,a,n,i)}for(var l=n(e,t,{name:"steps",handleItemDefaults:c}),s=0,u=0;u0&&(l=l.transition().duration(t.transition.duration).ease(t.transition.easing)),l.attr("transform",s(o-.5*d.gripWidth,t._dims.currentValueTotalHeight))}}function L(e,t){var r=e._dims;return r.inputAreaStart+d.stepInset+(r.inputAreaLength-2*d.stepInset)*Math.min(1,Math.max(0,t))}function C(e,t){var r=e._dims;return Math.min(1,Math.max(0,(t-d.stepInset-r.inputAreaStart)/(r.inputAreaLength-2*d.stepInset-2*r.inputAreaStart)))}function I(e,t,r){var n=r._dims,i=l.ensureSingle(e,"rect",d.railTouchRectClass,(function(n){n.call(M,t,e,r).style("pointer-events","all")}));i.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,d.tickOffset+r.ticklen+n.labelHeight)}).call(a.fill,r.bgcolor).attr("opacity",0),o.setTranslate(i,0,n.currentValueTotalHeight)}function O(e,t){var r=t._dims,n=r.inputAreaLength-2*d.railInset,i=l.ensureSingle(e,"rect",d.railRectClass);i.attr({width:n,height:d.railWidth,rx:d.railRadius,ry:d.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,t.bordercolor).call(a.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),o.setTranslate(i,d.railInset,.5*(r.inputAreaWidth-d.railWidth)+r.currentValueTotalHeight)}e.exports=function(e){var t=e._fullLayout,a=function(e,t){for(var r=e[d.name],n=[],a=0;a0?[0]:[]);function l(t){t._commandObserver&&(t._commandObserver.remove(),delete t._commandObserver),n.autoMargin(e,v(t))}if(i.enter().append("g").classed(d.containerClassName,!0).style("cursor","ew-resize"),i.exit().each((function(){r.select(this).selectAll("g."+d.groupClassName).each(l)})).remove(),0!==a.length){var s=i.selectAll("g."+d.groupClassName).data(a,m);s.enter().append("g").classed(d.groupClassName,!0),s.exit().each(l).remove();for(var c=0;cn),(e=>n=e)),t(e.exports,"makeData",(()=>o),(e=>o=e)),t(e.exports,"isVisible",(()=>a),(e=>a=e));var l=i("22HUI"),s=i("49Q6h"),c=i("38b57"),u=i("5n2uh").LINE_SPACING,d=c.name;function f(e){var t=e&&e[d];return t&&t.visible}a=f,o=function(e){var t=l.list({_fullLayout:e},"x",!0),r=e.margin,n=[];if(!e._has("gl2d"))for(var a=0;a=n.max)t=R[r+1];else if(e=n.pmax)t=R[r+1];else if(e0)){var g=function(e,t,r){for(var n=r.filter((function(r){return t[r].anchor===e._id})),a=0,i=0;i1){if(!f&&!h&&!p)"independent"===T("pattern")&&(f=!0);v._hasSubplotGrid=f;var x,b,_="top to bottom"===T("roworder"),w=f?.2:.1,k=f?.3:.1;g&&t._splomGridDflt&&(x=t._splomGridDflt.xside,b=t._splomGridDflt.yside),v._domains={x:u("x",T,w,x,y),y:u("y",T,k,b,m,_)}}else delete t.grid}function T(e,t){return r.coerce(n,v,s,e,t)}},contentDefaults:function(e,t){var r=t.grid;if(r&&r._domains){var n,a,i,o,l,s,u,f=e.grid||{},h=t._subplots,p=r._hasSubplotGrid,g=r.rows,v=r.columns,m="independent"===r.pattern,y=r._axisMap={};if(p){var x=f.subplots||[];s=r.subplots=new Array(g);var b=1;for(n=0;nn),(e=>n=e)),t(e.exports,"defaults",(()=>a),(e=>a=e));var o=i("1ZM4z").extendFlat;n=function(e,t){t=t||{};var r={valType:"info_array",role:"info",editType:(e=e||{}).editType,items:[{valType:"number",min:0,max:1,editType:e.editType},{valType:"number",min:0,max:1,editType:e.editType}],dflt:[0,1]},n=e.name?e.name+" ":"",a=e.trace?"trace ":"subplot ",i=t.description?" "+t.description:"",l={x:o({},r,{description:["Sets the horizontal domain of this ",n,a,"(in plot fraction).",i].join("")}),y:o({},r,{description:["Sets the vertical domain of this ",n,a,"(in plot fraction).",i].join("")}),editType:e.editType};return e.noGridCell||(l.row={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this row in the grid for this ",n,a,".",i].join("")},l.column={valType:"integer",min:0,dflt:0,role:"info",editType:e.editType,description:["If there is a layout grid, use the domain ","for this column in the grid for this ",n,a,".",i].join("")}),l},a=function(e,t,r,n){var a=n&&n.x||[0,1],i=n&&n.y||[0,1],o=t.grid;if(o){var l=r("domain.column");void 0!==l&&(l0;t.each((function(t){var d,f=t[0].trace,h=f.error_x||{},p=f.error_y||{};f.ids&&(d=function(e){return e.id});var g=o.hasMarkers(f)&&f.marker.maxdisplayed>0;p.visible||h.visible||(t=[]);var v=r.select(this).selectAll("g.errorbar").data(t,d);if(v.exit().remove(),t.length){h.visible||v.selectAll("path.xerror").remove(),p.visible||v.selectAll("path.yerror").remove(),v.style("opacity",1);var m=v.enter().append("g").classed("errorbar",!0);u&&m.style("opacity",0).transition().duration(l.duration).style("opacity",1),a.setClipUrl(v,i.layerClipId,e),v.each((function(e){var t=r.select(this),a=function(e,t,r){var a={x:t.c2p(e.x),y:r.c2p(e.y)};void 0!==e.yh&&(a.yh=r.c2p(e.yh),a.ys=r.c2p(e.ys),n(a.ys)||(a.noYS=!0,a.ys=r.c2p(e.ys,!0)));void 0!==e.xh&&(a.xh=t.c2p(e.xh),a.xs=t.c2p(e.xs),n(a.xs)||(a.noXS=!0,a.xs=t.c2p(e.xs,!0)));return a}(e,s,c);if(!g||e.vis){var i,o=t.select("path.yerror");if(p.visible&&n(a.x)&&n(a.yh)&&n(a.ys)){var d=p.width;i="M"+(a.x-d)+","+a.yh+"h"+2*d+"m-"+d+",0V"+a.ys,a.noYS||(i+="m-"+d+",0h"+2*d),!o.size()?o=t.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0):u&&(o=o.transition().duration(l.duration).ease(l.easing)),o.attr("d",i)}else o.remove();var f=t.select("path.xerror");if(h.visible&&n(a.y)&&n(a.xh)&&n(a.xs)){var v=(h.copy_ystyle?p:h).width;i="M"+a.xh+","+(a.y-v)+"v"+2*v+"m0,-"+v+"H"+a.xs,a.noXS||(i+="m0,-"+v+"v"+2*v),!f.size()?f=t.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0):u&&(f=f.transition().duration(l.duration).ease(l.easing)),f.attr("d",i)}else f.remove()}}))}}))}})),i.register("4trVw",(function(e,t){"use strict";var r=i("4Wia9"),n=i("3N5m7");e.exports=function(e){e.each((function(e){var t=e[0].trace,a=t.error_y||{},i=t.error_x||{},o=r.select(this);o.selectAll("path.yerror").style("stroke-width",a.thickness+"px").call(n.stroke,a.color),i.copy_ystyle&&(i=a),o.selectAll("path.xerror").style("stroke-width",i.thickness+"px").call(n.stroke,i.color)}))}})),i.register("5vWG9",(function(e,t){"use strict";e.exports={moduleType:"component",name:"colorbar",attributes:i("37lMN"),supplyDefaults:i("71mSL"),draw:i("HgR8O").draw,hasColorbar:i("2ef6h")}})),i.register("HgR8O",(function(e,t){"use strict";var r=i("4Wia9"),n=i("3Twc4"),a=i("3BndS"),o=i("4Hxcc"),l=i("1nE8l"),s=i("NlhQs"),c=i("1nIvY"),u=c.strTranslate,d=i("1ZM4z").extendFlat,f=i("3kB5v"),h=i("7jar4"),p=i("3N5m7"),g=i("4m0W1"),v=i("49Q6h"),m=i("hpg1L").flipScale,y=i("5HbOA"),x=i("4rJX8"),b=i("1bJQq"),_=i("5n2uh"),w=_.LINE_SPACING,k=_.FROM_TL,T=_.FROM_BR,M=i("5Kf37").cn;e.exports={draw:function(e){var t=e._fullLayout._infolayer.selectAll("g."+M.colorbar).data(function(e){var t,r,n,a,i=e._fullLayout,o=e.calcdata,l=[];function s(e){return d(e,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function c(){"function"==typeof a.calc?a.calc(e,n,t):(t._fillgradient=r.reversescale?m(r.colorscale):r.colorscale,t._zrange=[r[a.min],r[a.max]])}for(var u=0;u0?n>=s:n<=s));a++)n>u&&n0?n>=s:n<=s));a++)n>r[0]&&n1){var Q=Math.pow(10,Math.floor(Math.log(X)/Math.LN10));Z*=Q*c.roundUp(X/Q,[2,5,10]),(Math.abs(I.start)/I.size+1e-6)%1<2e-6&&(G.tick0=0)}G.dtick=Z}G.domain=[q+H,q+R-H],G.setScale(),e.attr("transform",u(Math.round(s.l),Math.round(s.t)));var J,K=e.select("."+M.cbtitleunshift).attr("transform",u(-Math.round(s.l),-Math.round(s.t))),$=e.select("."+M.cbaxis),ee=0;function te(r,n){var a={propContainer:G,propName:t._propPrefix+"title",traceIndex:t._traceIndex,_meta:t._meta,placeholder:o._dfltTitle.colorbar,containerGroup:e.select("."+M.cbtitle)},l="h"===r.charAt(0)?r.substr(1):"h"+r;e.selectAll("."+l+",."+l+"-math-group").remove(),g.draw(i,r,d(a,n||{}))}function re(){if(-1!==["top","bottom"].indexOf(A)){var e,r=s.l+(t.x+N)*s.w,n=G.title.font.size;e="top"===A?(1-(q+R-H))*s.h+s.t+3+.75*n:(1-(q+H))*s.h+s.t-3-.25*n,te(G._id+"title",{attributes:{x:r,y:e,"text-anchor":"start"}})}}function ne(){if(-1===["top","bottom"].indexOf(A)){var e=G.title.font.size,t=G._offset+G._length/2,n=s.l+(G.position||0)*s.w+("right"===G.side?10+e*(G.showticklabels?1:.5):-10-e*(G.showticklabels?.5:0));te("h"+G._id+"title",{avoid:{selection:r.select(i).selectAll("g."+G._id+"tick"),side:A,offsetLeft:s.l,offsetTop:0,maxShift:o.width},attributes:{x:n,y:t,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}}function ae(){if(-1!==["top","bottom"].indexOf(A)){var a=e.select("."+M.cbtitle),o=a.select("text"),d=[-t.outlinewidth/2,t.outlinewidth/2],f=a.select(".h"+G._id+"title-math-group").node(),p=15.6;if(o.node()&&(p=parseInt(o.node().style.fontSize,10)*w),f?(ee=h.bBox(f).height)>p&&(d[1]-=(ee-p)/2):o.node()&&!o.classed(M.jsPlaceholder)&&(ee=h.bBox(o.node()).height),ee){if(ee+=5,"top"===A)G.domain[1]-=ee/s.h,d[1]*=-1;else{G.domain[0]+=ee/s.h;var g=v.lineCount(o);d[1]+=(1-g)*p}a.attr("transform",u(d[0],d[1])),G.setScale()}}e.selectAll("."+M.cbfills+",."+M.cblines).attr("transform",u(0,Math.round(s.h*(1-G.domain[1])))),$.attr("transform",u(0,Math.round(-s.t)));var y=e.select("."+M.cbfills).selectAll("rect."+M.cbfill).attr("style","").data(D);y.enter().append("rect").classed(M.cbfill,!0).style("stroke","none"),y.exit().remove();var x=S.map(G.c2p).map(Math.round).sort((function(e,t){return e-t}));y.each((function(e,a){var o=[0===a?S[0]:(D[a]+D[a-1])/2,a===D.length-1?S[1]:(D[a]+D[a+1])/2].map(G.c2p).map(Math.round);o[1]=c.constrain(o[1]+(o[1]>o[0])?1:-1,x[0],x[1]);var l=r.select(this).attr({x:B,width:Math.max(P,2),y:r.min(o),height:Math.max(r.max(o)-r.min(o),2)});if(t._fillgradient)h.gradient(l,i,t._id,"vertical",t._fillgradient,"fill");else{var s=C(e).replace("e-","");l.attr("fill",n(s).toHexString())}}));var b=e.select("."+M.cblines).selectAll("path."+M.cbline).data(m.color&&m.width?z:[]);b.enter().append("path").classed(M.cbline,!0),b.exit().remove(),b.each((function(e){r.select(this).attr("d","M"+B+","+(Math.round(G.c2p(e))+m.width/2%1)+"h"+P).call(h.lineGroupStyle,m.width,L(e),m.dash)})),$.selectAll("g."+G._id+"tick,path").remove();var _=B+P+(t.outlinewidth||0)/2-("outside"===t.ticks?1:0),k=l.calcTicks(G),T=l.getTickSigns(G)[2];return l.drawTicks(i,G,{vals:"inside"===G.ticks?l.clipEnds(G,k):k,layer:$,path:l.makeTickPath(G,_,T),transFn:l.makeTransTickFn(G)}),l.drawLabels(i,G,{vals:k,layer:$,transFn:l.makeTransTickLabelFn(G),labelFns:l.makeLabelFns(G,_)})}function ie(){var r=P+t.outlinewidth/2;if(-1===G.ticklabelposition.indexOf("inside")&&(r+=h.bBox($.node()).width),(J=K.select("text")).node()&&!J.classed(M.jsPlaceholder)){var n,o=K.select(".h"+G._id+"title-math-group").node();n=o&&-1!==["top","bottom"].indexOf(A)?h.bBox(o).width:h.bBox(K.node()).right-B-s.l,r=Math.max(r,n)}var l=2*t.xpad+r+t.borderwidth+t.outlinewidth/2,c=V-Y;e.select("."+M.cbbg).attr({x:B-t.xpad-(t.borderwidth+t.outlinewidth)/2,y:Y-F,width:Math.max(l,2),height:Math.max(c+2*F,2)}).call(p.fill,t.bgcolor).call(p.stroke,t.bordercolor).style("stroke-width",t.borderwidth),e.selectAll("."+M.cboutline).attr({x:B,y:Y+t.ypad+("top"===A?ee:0),width:Math.max(P,2),height:Math.max(c-2*t.ypad-ee,2)}).call(p.stroke,t.outlinecolor).style({fill:"none","stroke-width":t.outlinewidth});var d=({center:.5,right:1}[t.xanchor]||0)*l;e.attr("transform",u(s.l-d,s.t));var f={},g=k[t.yanchor],v=T[t.yanchor];"pixels"===t.lenmode?(f.y=t.y,f.t=c*g,f.b=c*v):(f.t=f.b=0,f.yt=t.y+t.len*g,f.yb=t.y-t.len*v);var m=k[t.xanchor],y=T[t.xanchor];if("pixels"===t.thicknessmode)f.x=t.x,f.l=l*m,f.r=l*y;else{var x=l-P;f.l=x*m,f.r=x*y,f.xl=t.x-t.thickness*m,f.xr=t.x+t.thickness*y}a.autoMargin(i,t._id,f)}return c.syncOrAsync([a.previousPromises,re,ae,ne,a.previousPromises,ie],i)}(i,t,e);m&&m.then&&(e._promises||[]).push(m),e._context.edits.colorbarPosition&&function(e,t,r){var n,a,i,l=r._fullLayout._size;s.init({element:e.node(),gd:r,prepFn:function(){n=e.attr("transform"),f(e)},moveFn:function(r,o){e.attr("transform",n+u(r,o)),a=s.align(t._xLeftFrac+r/l.w,t._thickFrac,0,1,t.xanchor),i=s.align(t._yBottomFrac-o/l.h,t._lenFrac,0,1,t.yanchor);var c=s.getCursor(a,i,t.xanchor,t.yanchor);f(e,c)},doneFn:function(){if(f(e),void 0!==a&&void 0!==i){var n={};n[t._propPrefix+"x"]=a,n[t._propPrefix+"y"]=i,void 0!==t._traceIndex?o.call("_guiRestyle",r,n,t._traceIndex):o.call("_guiRelayout",r,n)}}})}(i,t,e)})),t.exit().each((function(t){a.autoMargin(e,t._id)})).remove(),t.order()}}})),i.register("5Kf37",(function(e,t){"use strict";e.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}})),i.register("55OOg",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{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"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}})),i.register("4Fx1P",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}})),i.register("7w5U2",(function(e,t){"use strict";var r=i("3N1mF"),n={getDelay:r.getDelay,getRedrawFunc:r.getRedrawFunc,clone:i("7MLlS"),toSVG:i("7sX8s"),svgToImg:i("5B7kc"),toImage:i("5z8U2"),downloadImage:i("4egvB")};e.exports=n})),i.register("7MLlS",(function(e,t){"use strict";var r=i("4Hxcc"),n=i("1nIvY"),a=n.extendFlat,o=n.extendDeep;function l(e){var t;switch(e){case"themes__thumb":t={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":t={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:t={}}return t}e.exports=function(e,t){var n;e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var i,s=e.data,c=e.layout,u=o([],s),d=o({},c,l(t.tileClass)),f=e._context||{};if(t.width&&(d.width=t.width),t.height&&(d.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){d.annotations=[];var h=Object.keys(d);for(n=0;n-1&&(d[h[n]].title={text:""});for(n=0;nn),(e=>n=e)),t(e.exports,"plot",(()=>a),(e=>a=e)),t(e.exports,"clean",(()=>o),(e=>o=e));var l=i("3BndS");n="treemap",a=function(e,t,r,a){l.plotBasePlot(n,e,t,r,a)},o=function(e,t,r,a){l.cleanBasePlot(n,e,t,r,a)}})),i.register("21rGq",(function(e,t){"use strict";var r=i("61PQn").hovertemplateAttrs,n=i("61PQn").texttemplateAttrs,a=i("3Lcu9"),o=i("6wryo").attributes,l=i("5yBH0"),s=i("1m4Rp"),c=i("4EUdN"),u=i("1ZM4z").extendFlat;e.exports={labels:s.labels,parents:s.parents,values:s.values,branchvalues:s.branchvalues,count:s.count,level:s.level,maxdepth:s.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",role:"info",editType:"plot",description:["Determines d3 treemap solver.","For more info please refer to https://github.com/d3/d3-hierarchy#treemap-tiling"].join(" ")},squarifyratio:{valType:"number",role:"info",min:1,dflt:1,editType:"plot",description:["When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio","this option specifies the desired aspect ratio of the generated rectangles.","The ratio must be specified as a number greater than or equal to one.","Note that the orientation of the generated rectangles (tall or wide)","is not implied by the ratio; for example, a ratio of two will attempt","to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2.","When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034,","Plotly applies 1 to increase squares in treemap layouts."].join(" ")},flip:{valType:"flaglist",role:"info",flags:["x","y"],dflt:"",editType:"plot",description:["Determines if the positions obtained from solver are flipped on each axis."].join(" ")},pad:{valType:"number",role:"style",min:0,dflt:3,editType:"plot",description:["Sets the inner padding (in px)."].join(" ")},editType:"calc"},marker:u({pad:{t:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the top (in px)."].join(" ")},l:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the left (in px)."].join(" ")},r:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the right (in px)."].join(" ")},b:{valType:"number",role:"style",min:0,editType:"plot",description:["Sets the padding form the bottom (in px)."].join(" ")},editType:"calc"},colors:s.marker.colors,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style",role:"style",description:["Determines if the sector colors are faded towards","the background from the leaves up to the headers.","This option is unavailable when a `colorscale` is present,","defaults to false when `marker.colors` is set,","but otherwise defaults to true.","When set to *reversed*, the fading direction is inverted,","that is the top elements within hierarchy are drawn with fully saturated colors","while the leaves are faded towards the background color."].join(" ")},line:s.marker.line,editType:"calc"},a("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,role:"info",editType:"plot",description:["Determines if the path bar is drawn","i.e. outside the trace `domain` and","with one pixel gap."].join(" ")},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",role:"info",editType:"plot",description:["Determines on which side of the the treemap the","`pathbar` should be presented."].join(" ")},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",role:"style",editType:"plot",description:["Determines which shape is used for edges between `barpath` labels."].join(" ")},thickness:{valType:"number",min:12,role:"info",editType:"plot",description:["Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used","with 3 pixles extra padding on each side."].join(" ")},textfont:u({},l.textfont,{description:"Sets the font used inside `pathbar`."}),editType:"calc"},text:l.text,textinfo:s.textinfo,texttemplate:n({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:l.hovertext,hoverinfo:s.hoverinfo,hovertemplate:r({},{keys:c.eventDataKeys}),textfont:l.textfont,insidetextfont:l.insidetextfont,outsidetextfont:u({},l.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented on top left corner of a treemap graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",role:"style",editType:"plot",description:["Sets the positions of the `text` elements."].join(" ")},sort:l.sort,root:s.root,domain:o({name:"treemap",trace:!0,editType:"calc"})}})),i.register("5yBH0",(function(e,t){"use strict";var r=i("5zAUi"),n=i("6wryo").attributes,a=i("10Nlb"),o=i("4f6io"),l=i("61PQn").hovertemplateAttrs,s=i("61PQn").texttemplateAttrs,c=i("1ZM4z").extendFlat,u=a({editType:"plot",arrayOk:!0,colorEditType:"plot",description:"Sets the font used for `textinfo`."});e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the sector labels.","If `labels` entries are duplicated, we sum associated `values`","or simply count occurrences if `values` is not provided.","For other array attributes (including color) we use the first","non-empty entry among all occurrences of the label."].join(" ")},label0:{valType:"number",role:"info",dflt:0,editType:"calc",description:["Alternate to `labels`.","Builds a numeric set of labels.","Use with `dlabel`","where `label0` is the starting label and `dlabel` the step."].join(" ")},dlabel:{valType:"number",role:"info",dflt:1,editType:"calc",description:"Sets the label step. See `label0` for more info."},values:{valType:"data_array",editType:"calc",description:["Sets the values of the sectors.","If omitted, we count occurrences of each label."].join(" ")},marker:{colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:{valType:"color",role:"style",dflt:o.defaultLine,arrayOk:!0,editType:"style",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",role:"style",min:0,dflt:0,arrayOk:!0,editType:"style",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot",description:["Sets text elements associated with each sector.","If trace `textinfo` contains a *text* flag, these elements will be seen","on the chart.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",role:"info",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each sector.","If a single string, the same string appears for","all data points.","If an array of string, the items are mapped in order of","this trace's sectors.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},scalegroup:{valType:"string",role:"info",dflt:"",editType:"calc",description:["If there are multiple pie charts that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")},textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","percent"],extras:["none"],editType:"calc",description:["Determines which trace information appear on the graph."].join(" ")},hoverinfo:c({},r.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:l({},{keys:["label","color","value","percent","text"]}),texttemplate:s({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",role:"info",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot",description:["Specifies the location of the `textinfo`."].join(" ")},textfont:c({},u,{description:"Sets the font used for `textinfo`."}),insidetextorientation:{valType:"enumerated",role:"info",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot",description:["Controls the orientation of the text inside chart sectors.","When set to *auto*, text may be oriented in any direction in order","to be as big as possible in the middle of a sector.","The *horizontal* option orients text to be parallel with the bottom","of the chart, and may make text smaller in order to achieve that goal.","The *radial* option orients text along the radius of the sector.","The *tangential* option orients text perpendicular to the radius of the sector."].join(" ")},insidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying inside the sector."}),outsidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying outside the sector."}),automargin:{valType:"boolean",dflt:!1,role:"info",editType:"plot",description:["Determines whether outside text labels can push the margins."].join(" ")},title:{text:{valType:"string",dflt:"",role:"info",editType:"plot",description:["Sets the title of the chart.","If it is empty, no title is displayed.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:c({},u,{description:["Sets the font used for `title`.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"plot",description:["Specifies the location of the `title`.","Note that the title's position used to be set","by the now deprecated `titleposition` attribute."].join(" ")},editType:"plot"},domain:n({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",role:"style",min:0,max:1,dflt:0,editType:"calc",description:["Sets the fraction of the radius to cut out of the pie.","Use this to make a donut chart."].join(" ")},sort:{valType:"boolean",role:"style",dflt:!0,editType:"calc",description:["Determines whether or not the sectors are reordered","from largest to smallest."].join(" ")},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],role:"style",dflt:"counterclockwise",editType:"calc",description:["Specifies the direction at which succeeding sectors follow","one another."].join(" ")},rotation:{valType:"number",role:"style",min:-360,max:360,dflt:0,editType:"calc",description:["Instead of the first slice starting at 12 o'clock,","rotate to some other angle."].join(" ")},pull:{valType:"number",role:"style",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc",description:["Sets the fraction of larger radius to pull the sectors","out from the center. This can be a constant","to pull all slices apart from each other equally","or an array to highlight one or more slices."].join(" ")},_deprecated:{title:{valType:"string",dflt:"",role:"info",editType:"calc",description:["Deprecated in favor of `title.text`.","Note that value of `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:c({},u,{description:"Deprecated in favor of `title.font`."}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],role:"info",editType:"calc",description:"Deprecated in favor of `title.position`."}}}})),i.register("1m4Rp",(function(e,t){"use strict";var r=i("5zAUi"),n=i("61PQn").hovertemplateAttrs,a=i("61PQn").texttemplateAttrs,o=i("3Lcu9"),l=i("6wryo").attributes,s=i("5yBH0"),c=i("7BRjT"),u=i("1ZM4z").extendFlat;e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the labels of each of the sectors."].join(" ")},parents:{valType:"data_array",editType:"calc",description:["Sets the parent sectors for each of the sectors.","Empty string items '' are understood to reference","the root node in the hierarchy.",'If `ids` is filled, `parents` items are understood to be "ids" themselves.',"When `ids` is not set, plotly attempts to find matching items in `labels`,","but beware they must be unique."].join(" ")},values:{valType:"data_array",editType:"calc",description:["Sets the values associated with each of the sectors.","Use with `branchvalues` to determine how the values are summed."].join(" ")},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc",role:"info",description:["Determines how the items in `values` are summed.","When set to *total*, items in `values` are taken to be value of all its descendants.","When set to *remainder*, items in `values` corresponding to the root and the branches sectors","are taken to be the extra part not part of the sum of the values at their leaves."].join(" ")},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc",role:"info",description:["Determines default for `values` when it is not provided,","by inferring a 1 for each of the *leaves* and/or *branches*, otherwise 0."].join(" ")},level:{valType:"any",editType:"plot",anim:!0,role:"info",description:["Sets the level from which this trace hierarchy is rendered.","Set `level` to `''` to start from the root node in the hierarchy.",'Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching',"item in `labels`."].join(" ")},maxdepth:{valType:"integer",editType:"plot",role:"info",dflt:-1,description:["Sets the number of rendered sectors from any given `level`.","Set `maxdepth` to *-1* to render all the levels in the hierarchy."].join(" ")},marker:u({colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector of this trace.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:u({},s.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:u({},s.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},o("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",role:"style",min:0,max:1,description:["Sets the opacity of the leaves. With colorscale","it is defaulted to 1; otherwise it is defaulted to 0.7"].join(" ")},editType:"plot"},text:s.text,textinfo:{valType:"flaglist",role:"info",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot",description:["Determines which trace information appear on the graph."].join(" ")},texttemplate:a({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:u({},r.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:n({},{keys:c.eventDataKeys}),textfont:s.textfont,insidetextorientation:s.insidetextorientation,insidetextfont:s.insidetextfont,outsidetextfont:u({},s.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented at the center of a sunburst graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),rotation:{valType:"angle",role:"style",dflt:0,editType:"plot",description:["Rotates the whole diagram counterclockwise by some angle.","By default the first slice starts at 3 o'clock."].join(" ")},sort:s.sort,root:{color:{valType:"color",editType:"calc",role:"style",dflt:"rgba(0,0,0,0)",description:["sets the color of the root node for a sunburst or a treemap trace.","this has no effect when a colorscale is used to set the markers."].join(" ")},editType:"calc"},domain:l({name:"sunburst",trace:!0,editType:"calc"})}})),i.register("7BRjT",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}})),i.register("4EUdN",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}})),i.register("3QjAp",(function(e,t){"use strict";e.exports={treemapcolorway:{valType:"colorlist",role:"style",editType:"calc",description:["Sets the default treemap slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendtreemapcolors`."].join(" ")},extendtreemapcolors:{valType:"boolean",dflt:!0,role:"style",editType:"calc",description:["If `true`, the treemap slice colors (whether given by `treemapcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}})),i.register("1PKRy",(function(e,t){"use strict";var r=i("1nIvY"),n=i("21rGq"),a=i("3N5m7"),o=i("6wryo").defaults,l=i("5A6xq").handleText,s=i("1Pgm8").TEXTPAD,c=i("3foDh"),u=c.hasColorscale,d=c.handleDefaults;e.exports=function(e,t,i,c){function f(a,i){return r.coerce(e,t,n,a,i)}var h=f("labels"),p=f("parents");if(h&&h.length&&p&&p.length){var g=f("values");g&&g.length?f("branchvalues"):f("count"),f("level"),f("maxdepth"),"squarify"===f("tiling.packing")&&f("tiling.squarifyratio"),f("tiling.flip"),f("tiling.pad");var v=f("text");f("texttemplate"),t.texttemplate||f("textinfo",Array.isArray(v)?"text+label":"label"),f("hovertext"),f("hovertemplate");var m=f("pathbar.visible");l(e,t,c,f,"auto",{hasPathbar:m,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),f("textposition");var y=-1!==t.textposition.indexOf("bottom");f("marker.line.width")&&f("marker.line.color",c.paper_bgcolor);var x=f("marker.colors"),b=t._hasColorscale=u(e,"marker","colors")||(e.marker||{}).coloraxis;b?d(e,t,c,f,{prefix:"marker.",cLetter:"c"}):f("marker.depthfade",!(x||[]).length);var _=2*t.textfont.size;f("marker.pad.t",y?_/4:_),f("marker.pad.l",_/4),f("marker.pad.r",_/4),f("marker.pad.b",y?_:_/4),b&&d(e,t,c,f,{prefix:"marker.",cLetter:"c"}),t._hovered={marker:{line:{width:2,color:a.contrast(c.paper_bgcolor)}}},m&&(f("pathbar.thickness",t.pathbar.textfont.size+2*s),f("pathbar.side"),f("pathbar.edgeshape")),f("sort"),f("root.color"),o(t,c,f),t._length=null}else t.visible=!1}})),i.register("5A6xq",(function(e,t){"use strict";var r=i("1nIvY"),n=i("3N5m7"),a=i("4Hxcc"),o=i("3ziEk"),l=i("42Vbv"),s=i("6H9Fh"),c=i("6SFfg").getAxisGroup,u=i("18s15"),d=r.coerceFont;function f(e,t,r,n){var a=t.orientation,i=t[{v:"x",h:"y"}[a]+"axis"],o=c(r,i)+a,l=r._alignmentOpts||{},s=n("alignmentgroup"),u=l[o];u||(u=l[o]={});var d=u[s];d?d.traces.push(t):d=u[s]={traces:[t],alignmentIndex:Object.keys(u).length,offsetGroups:{}};var f=n("offsetgroup"),h=d.offsetGroups,p=h[f];f&&(p||(p=h[f]={offsetIndex:Object.keys(h).length}),t._offsetIndex=p.offsetIndex)}function h(e,t,n,a,i,o){var l=!(!1===(o=o||{}).moduleHasSelected),s=!(!1===o.moduleHasUnselected),c=!(!1===o.moduleHasConstrain),u=!(!1===o.moduleHasCliponaxis),f=!(!1===o.moduleHasTextangle),h=!(!1===o.moduleHasInsideanchor),p=!!o.hasPathbar,g=Array.isArray(i)||"auto"===i,v=g||"inside"===i,m=g||"outside"===i;if(v||m){var y=d(a,"textfont",n.font),x=r.extendFlat({},y),b=!(e.textfont&&e.textfont.color);if(b&&delete x.color,d(a,"insidetextfont",x),p){var _=r.extendFlat({},y);b&&delete _.color,d(a,"pathbar.textfont",_)}m&&d(a,"outsidetextfont",y),l&&a("selected.textfont.color"),s&&a("unselected.textfont.color"),c&&a("constraintext"),u&&a("cliponaxis"),f&&a("textangle"),a("texttemplate")}v&&h&&a("insidetextanchor")}e.exports={supplyDefaults:function(e,t,i,c){function d(n,a){return r.coerce(e,t,u,n,a)}if(o(e,t,c,d)){l(e,t,c,d),d("orientation",t.x&&!t.y?"h":"v"),d("base"),d("offset"),d("width"),d("text"),d("hovertext"),d("hovertemplate");var f=d("textposition");h(e,t,c,d,f,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),s(e,t,d,i,c);var p=(t.marker.line||{}).color,g=a.getComponentMethod("errorbars","supplyDefaults");g(e,t,p||n.defaultLine,{axis:"y"}),g(e,t,p||n.defaultLine,{axis:"x",inherit:"y"}),r.coerceSelectionMarkerOpacity(t,d)}else t.visible=!1},crossTraceDefaults:function(e,t){var n;function a(e){return r.coerce(n._input,n,u,e)}if("group"===t.barmode)for(var i=0;in),(e=>n=e)),t(e.exports,"crossTraceCalc",(()=>a),(e=>a=e));var o=i("3qimv");n=function(e,t){return o.calc(e,t)},a=function(e){return o._runCrossTraceCalc("treemap",e)}})),i.register("3qimv",(function(e,r){var n,a;t(e.exports,"calc",(()=>n),(e=>n=e)),t(e.exports,"_runCrossTraceCalc",(()=>a),(e=>a=e));var o=i("7KONc"),l=i("5Zjzn"),s=i("6qr5h"),c=i("1nIvY"),u=i("3foDh").makeColorScaleFuncFromTrace,d=i("3Luav").makePullColorFn,f=i("3Luav").generateExtendedColors,h=i("3foDh").calc,p=i("10TEj").ALMOST_EQUAL,g={},v={};function m(e,t,r){var n=0,a=e.children;if(a){for(var i=a.length,o=0;o=0};x?(r=Math.min(y.length,_.length),n=function(e){return S(y[e])&&L(e)},a=function(e){return String(y[e])}):(r=Math.min(b.length,_.length),n=function(e){return S(b[e])&&L(e)},a=function(e){return String(b[e])}),k&&(r=Math.min(r,w.length));for(var C=0;C1){for(var z=c.randstr(),P=0;Pg)),t(e.exports,"computeHeight",(()=>y)),t(e.exports,"Node",(()=>x));var n=i("1NL5X"),a=i("1yJ7q"),o=i("4u4dX"),l=i("szBXt"),s=i("3AcEY"),c=i("565Wq"),u=i("5zfO7"),d=i("4XTFz"),f=i("2qC1m"),h=i("5vvX3"),p=i("25PBC");function g(e,t){var r,n,a,i,o,l=new x(e),s=+e.value&&(l.value=e.value),c=[l];for(null==t&&(t=v);r=c.pop();)if(s&&(r.value=+r.data.value),(a=t(r.data))&&(o=a.length))for(r.children=new Array(o),i=o-1;i>=0;--i)c.push(n=r.children[i]=new x(a[i])),n.parent=r,n.depth=r.depth+1;return l.eachBefore(y)}function v(e){return e.children}function m(e){e.data=e.data.data}function y(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function x(e){this.data=e,this.depth=this.height=0,this.parent=null}x.prototype=g.prototype={constructor:x,count:n.default,each:a.default,eachAfter:l.default,eachBefore:o.default,sum:s.default,sort:c.default,path:u.default,ancestors:d.default,descendants:f.default,leaves:h.default,links:p.default,copy:function(){return g(this).eachBefore(m)}}})),i.register("1NL5X",(function(e,r){function n(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function a(){return this.eachAfter(n)}t(e.exports,"default",(()=>a))})),i.register("1yJ7q",(function(e,r){function n(e){var t,r,n,a,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),r=i.children)for(n=0,a=r.length;nn))})),i.register("4u4dX",(function(e,r){function n(e){for(var t,r,n=this,a=[n];n=a.pop();)if(e(n),t=n.children)for(r=t.length-1;r>=0;--r)a.push(t[r]);return this}t(e.exports,"default",(()=>n))})),i.register("szBXt",(function(e,r){function n(e){for(var t,r,n,a=this,i=[a],o=[];a=i.pop();)if(o.push(a),t=a.children)for(r=0,n=t.length;rn))})),i.register("3AcEY",(function(e,r){function n(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,a=n&&n.length;--a>=0;)r+=n[a].value;t.value=r}))}t(e.exports,"default",(()=>n))})),i.register("565Wq",(function(e,r){function n(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))}t(e.exports,"default",(()=>n))})),i.register("5zfO7",(function(e,r){function n(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),a=null;e=r.pop(),t=n.pop();for(;e===t;)a=e,e=r.pop(),t=n.pop();return a}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var a=n.length;e!==r;)n.splice(a,0,e),e=e.parent;return n}t(e.exports,"default",(()=>n))})),i.register("4XTFz",(function(e,r){function n(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}t(e.exports,"default",(()=>n))})),i.register("2qC1m",(function(e,r){function n(){var e=[];return this.each((function(t){e.push(t)})),e}t(e.exports,"default",(()=>n))})),i.register("5vvX3",(function(e,r){function n(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e}t(e.exports,"default",(()=>n))})),i.register("25PBC",(function(e,r){function n(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t}t(e.exports,"default",(()=>n))})),i.register("1s0mG",(function(e,r){t(e.exports,"default",(()=>o));var n=i("4pLTG"),a=i("4DtOe");function o(){var e=1,t=1,r=0,i=!1;function o(o){var l=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/l,o.eachBefore(function(e,t){return function(n){n.children&&a.default(n,n.x0,e*(n.depth+1)/t,n.x1,e*(n.depth+2)/t);var i=n.x0,o=n.y0,l=n.x1-r,s=n.y1-r;ln))})),i.register("4DtOe",(function(e,r){function n(e,t,r,n,a){for(var i,o=e.children,l=-1,s=o.length,c=e.value&&(n-t)/e.value;++ln))})),i.register("7KONc",(function(e,r){t(e.exports,"default",(()=>u));var n=i("7vCdx"),a=i("5Zjzn"),o={depth:-1},l={};function s(e){return e.id}function c(e){return e.parentId}function u(){var e=s,t=c;function r(r){var n,i,s,c,u,d,f=r.length,h=new Array(f),p={};for(i=0;i0)throw new Error("cycle");return s}return r.id=function(t){return arguments.length?(e=n.required(t),r):e},r.parentId=function(e){return arguments.length?(t=n.required(e),r):t},r}})),i.register("7vCdx",(function(e,r){function n(e){if("function"!=typeof e)throw new Error;return e}t(e.exports,"required",(()=>n))})),i.register("7GUcL",(function(e,r){t(e.exports,"default",(()=>s));var n=i("4pLTG"),a=i("4zes5"),o=i("7vCdx"),l=i("Z4KRE");function s(){var e=a.default,t=!1,r=1,i=1,s=[0],c=l.constantZero,u=l.constantZero,d=l.constantZero,f=l.constantZero,h=l.constantZero;function p(e){return e.x0=e.y0=0,e.x1=r,e.y1=i,e.eachBefore(g),s=[0],t&&e.eachBefore(n.default),e}function g(t){var r=s[t.depth],n=t.x0+r,a=t.y0+r,i=t.x1-r,o=t.y1-r;io));var n=i("4DtOe"),a=i("2xsRI");var o=function e(t){function r(e,r,i,o,l){!function(e,t,r,i,o,l){for(var s,c,u,d,f,h,p,g,v,m,y,x=[],b=t.children,_=0,w=0,k=b.length,T=t.value;_p&&(p=c),y=f*f*m,(g=Math.max(p/y,y/h))>v){f-=c;break}v=g}x.push(s={value:f,dice:u1?t:1)},r}((1+Math.sqrt(5))/2)})),i.register("2xsRI",(function(e,r){function n(e,t,r,n,a){for(var i,o=e.children,l=-1,s=o.length,c=e.value&&(a-r)/e.value;++ln))})),i.register("Z4KRE",(function(e,r){function n(){return 0}function a(e){return function(){return e}}t(e.exports,"default",(()=>a)),t(e.exports,"constantZero",(()=>n))})),i.register("1ff94",(function(e,r){function n(e,t,r,n,a){var i,o,l=e.children,s=l.length,c=new Array(s+1);for(c[0]=o=i=0;i=r-1){var u=l[t];return u.x0=a,u.y0=i,u.x1=o,void(u.y1=s)}var d=c[t],f=n/2+d,h=t+1,p=r-1;for(;h>>1;c[g]s-i){var y=(a*m+o*v)/n;e(t,h,v,a,i,y,s),e(h,r,m,y,i,o,s)}else{var x=(i*m+s*v)/n;e(t,h,v,a,i,o,x),e(h,r,m,a,x,o,s)}}(0,s,e.value,t,r,n,a)}t(e.exports,"default",(()=>n))})),i.register("7wauO",(function(e,r){t(e.exports,"default",(()=>o));var n=i("4DtOe"),a=i("2xsRI");function o(e,t,r,i,o){(1&e.depth?a.default:n.default)(e,t,r,i,o)}})),i.register("3Luav",(function(e,t){"use strict";var r=i("6qr5h"),n=i("3Twc4"),a=i("3N5m7"),o={};function l(e){return function(t,r){return!!t&&(!!(t=n(t)).isValid()&&(t=a.addOpacity(t,t.getAlpha()),e[r]||(e[r]=t),t))}}function s(e,t){var r,a=JSON.stringify(e),i=t[a];if(!i){for(i=e.slice(),r=0;r-1?L+O:-(I+O):0,z={x0:C,x1:C,y0:D,y1:D+I},P=function(e,t,r){var n=v.tiling.pad,a=function(e){return e-n<=t.x0},i=function(e){return e+n>=t.x1},o=function(e){return e-n<=t.y0},l=function(e){return e+n>=t.y1};return{x0:a(e.x0-n)?0:i(e.x0-n)?r[0]:e.x0,x1:a(e.x1+n)?0:i(e.x1+n)?r[0]:e.x1,y0:o(e.y0-n)?0:l(e.y0-n)?r[1]:e.y0,y1:o(e.y1+n)?0:l(e.y1+n)?r[1]:e.y1}},j=null,E={},R={},N=null,F=function(e,t){return t?E[g(e)]:R[g(e)]},H=function(e,t,r,n){if(t)return E[g(m)]||z;var a=R[v.level]||r;return function(e){return e.data.depth-y.data.depth=(n-=m.r-o)){var y=(r+n)/2;r=y,n=y}var x;f?a<(x=i-m.b)&&x"===K?(s.x-=i,c.x-=i,u.x-=i,d.x-=i):"/"===K?(u.x-=i,d.x-=i,o.x-=i/2,l.x-=i/2):"\\"===K?(s.x-=i,c.x-=i,o.x-=i/2,l.x-=i/2):"<"===K&&(o.x-=i,l.x-=i),J(s),J(d),J(o),J(c),J(u),J(l),"M"+X(s.x,s.y)+"L"+X(c.x,c.y)+"L"+X(l.x,l.y)+"L"+X(u.x,u.y)+"L"+X(d.x,d.y)+"L"+X(o.x,o.y)+"Z"},toMoveInsideSlice:$,makeUpdateSliceInterpolator:te,makeUpdateTextInterpolator:re,handleSlicesExit:ne,hasTransition:k,strTransform:ae}):b.remove()}e.exports=function(e,t,a,i){var o,l,s=e._fullLayout,c=s._treemaplayer,f=!a;(u("treemap",s),(o=c.selectAll("g.trace.treemap").data(t,(function(e){return e[0].trace.uid}))).enter().append("g").classed("trace",!0).classed("treemap",!0),o.order(),!s.uniformtext.mode&&n.hasTransition(a))?(i&&(l=i()),r.transition().duration(a.duration).ease(a.easing).each("end",(function(){l&&l()})).each("interrupt",(function(){l&&l()})).each((function(){c.selectAll("g.trace").each((function(t){v(e,t,this,a)}))}))):(o.each((function(t){v(e,t,this,a)})),s.uniformtext.mode&&d(e,s._treemaplayer.selectAll(".trace"),"treemap"));f&&o.exit().remove()}})),i.register("6qi5c",(function(e,r){var n,a,o,l,s,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;t(e.exports,"getParent",(()=>n),(e=>n=e)),t(e.exports,"isLeaf",(()=>_),(e=>_=e)),t(e.exports,"getValue",(()=>g),(e=>g=e)),t(e.exports,"isHierarchyRoot",(()=>s),(e=>s=e)),t(e.exports,"hasTransition",(()=>p),(e=>p=e)),t(e.exports,"determineTextFont",(()=>o),(e=>o=e)),t(e.exports,"getMaxDepth",(()=>d),(e=>d=e)),t(e.exports,"getPath",(()=>a),(e=>a=e)),t(e.exports,"isOutsideText",(()=>x),(e=>x=e)),t(e.exports,"getOutsideTextFontKey",(()=>f),(e=>f=e)),t(e.exports,"setSliceCursor",(()=>u),(e=>u=e)),t(e.exports,"getInsideTextFontKey",(()=>v),(e=>v=e)),t(e.exports,"getPtId",(()=>T),(e=>T=e)),t(e.exports,"getPtLabel",(()=>b),(e=>b=e)),t(e.exports,"formatValue",(()=>y),(e=>y=e)),t(e.exports,"formatPercent",(()=>w),(e=>w=e)),t(e.exports,"listPath",(()=>m),(e=>m=e)),t(e.exports,"findEntryWithLevel",(()=>k),(e=>k=e)),t(e.exports,"findEntryWithChild",(()=>c),(e=>c=e)),t(e.exports,"isHeader",(()=>h),(e=>h=e)),t(e.exports,"isEntry",(()=>l),(e=>l=e));var M=i("1nIvY"),A=i("3N5m7"),S=i("3kB5v"),L=i("4Izpx");function C(e){return e.data.data.pid}k=function(e,t){var r;return t&&e.eachAfter((function(e){if(T(e)===t)return r=e.copy()})),r||e},c=function(e,t){var r;return e.eachAfter((function(e){for(var n=e.children||[],a=0;a0)},d=function(e){return e.maxdepth>=0?e.maxdepth:1/0},h=function(e,t){return!(_(e)||e.depth===t._maxDepth-1)},n=function(e,t){return k(e,C(t))},m=function(e,t){var r=e.parent;if(!r)return[];var n=t?[r.data[t]]:[r];return m(r,t).concat(n)},a=function(e){return m(e,"label").join("/")+"/"},y=L.formatPieValue,w=function(e,t){var r=M.formatPercent(e,0);return"0%"===r&&(r=L.formatPiePercent(e,t)),r}})),i.register("6smWF",(function(e,t){"use strict";var r=i("4Wia9"),n=i("6qr5h"),a=i("1nIvY"),o=i("49Q6h"),l=i("3N5m7"),s=i("7jar4"),c=i("4Hxcc"),u=i("1nE8l").tickText,d=i("4U9iW"),f=d.recordMinTextSize,h=d.clearMinTextSize,p=i("4dC6V"),g=i("6u7m7"),v=i("1Pgm8"),m=i("18s15"),y=m.text,x=m.textposition,b=i("2MtC7").appendArrayPointValue,_=v.TEXTPAD;function w(e){return e.id}function k(e,t){return e0}function A(e){return"auto"===e?0:e}function S(e,t){var r=Math.PI/180*t,n=Math.abs(Math.sin(r)),a=Math.abs(Math.cos(r));return{x:e.width*a+e.height*n,y:e.width*n+e.height*a}}function L(e,t,r,n,a,i){var o=!!i.isHorizontal,l=!!i.constrained,s=i.angle||0,c=i.anchor||"end",u="end"===c,d="start"===c,f=((i.leftToRight||0)+1)/2,h=1-f,p=a.width,g=a.height,v=Math.abs(t-e),m=Math.abs(n-r),y=v>2*_&&m>2*_?_:0;v-=2*y,m-=2*y;var x=A(s);"auto"!==s||p<=v&&g<=m||!(p>v||g>m)||(p>m||g>v)&&p.01?V:function(e,t,r){return r&&e===t?e:Math.abs(e-t)>=2?V(e):e>t?Math.ceil(e):Math.floor(e)};N=Y(N,F,j),F=Y(F,N,j),H=Y(H,B,!j),B=Y(B,H,!j)}var G=T(a.ensureSingle(D,"path"),O,v,m);if(G.style("vector-effect","non-scaling-stroke").attr("d",isNaN((F-N)*(B-H))||U&&e._context.staticPlot?"M0,0Z":"M"+N+","+H+"V"+B+"H"+F+"V"+H+"Z").call(s.setClipUrl,t.layerClipId,e),!O.uniformtext.mode&&E){var Z=s.makePointStyleFns(d);s.singlePointStyle(c,G,d,Z,e)}!function(e,t,r,n,i,l,c,d,h,v,m){var w,M=t.xaxis,C=t.yaxis,I=e._fullLayout;function O(t,r,n){return a.ensureSingle(t,"text").text(r).attr({class:"bartext bartext-"+w,"text-anchor":"middle","data-notex":1}).call(s.font,n).call(o.convertToTspans,e)}var D=n[0].trace,z="h"===D.orientation,P=function(e,t,r,n,i){var o,l=t[0].trace;o=l.texttemplate?function(e,t,r,n,i){var o=t[0].trace,l=a.castOption(o,r,"texttemplate");if(!l)return"";var s,c,d,f,h="waterfall"===o.type,p="funnel"===o.type;"h"===o.orientation?(s="y",c=i,d="x",f=n):(s="x",c=n,d="y",f=i);function g(e){return u(c,e,!0).text}function v(e){return u(f,+e,!0).text}var m=t[r],y={};y.label=m.p,y.labelLabel=y[s+"Label"]=g(m.p);var x=a.castOption(o,m.i,"text");(0===x||x)&&(y.text=x);y.value=m.s,y.valueLabel=y[d+"Label"]=v(m.s);var _={};b(_,o,m.i),h&&(y.delta=+m.rawS||m.s,y.deltaLabel=v(y.delta),y.final=m.v,y.finalLabel=v(y.final),y.initial=y.final-y.delta,y.initialLabel=v(y.initial));p&&(y.value=m.s,y.valueLabel=v(y.value),y.percentInitial=m.begR,y.percentInitialLabel=a.formatPercent(m.begR),y.percentPrevious=m.difR,y.percentPreviousLabel=a.formatPercent(m.difR),y.percentTotal=m.sumR,y.percenTotalLabel=a.formatPercent(m.sumR));var w=a.castOption(o,m.i,"customdata");w&&(y.customdata=w);return a.texttemplateString(l,y,e._d3locale,_,y,o._meta||{})}(e,t,r,n,i):l.textinfo?function(e,t,r,n){var i=e[0].trace,o="h"===i.orientation,l="waterfall"===i.type,s="funnel"===i.type;function c(e){return u(o?n:r,e,!0).text}function d(e){return u(o?r:n,+e,!0).text}var f,h=i.textinfo,p=e[t],g=h.split("+"),v=[],m=function(e){return-1!==g.indexOf(e)};m("label")&&v.push(c(e[t].p));m("text")&&(0===(f=a.castOption(i,p.i,"text"))||f)&&v.push(f);if(l){var y=+p.rawS||p.s,x=p.v,b=x-y;m("initial")&&v.push(d(b)),m("delta")&&v.push(d(y)),m("final")&&v.push(d(x))}if(s){m("value")&&v.push(d(p.s));var _=0;m("percent initial")&&_++,m("percent previous")&&_++,m("percent total")&&_++;var w=_>1;m("percent initial")&&(f=a.formatPercent(p.begR),w&&(f+=" of initial"),v.push(f)),m("percent previous")&&(f=a.formatPercent(p.difR),w&&(f+=" of previous"),v.push(f)),m("percent total")&&(f=a.formatPercent(p.sumR),w&&(f+=" of total"),v.push(f))}return v.join("
")}(t,r,n,i):g.getValue(l.text,r);return g.coerceString(y,o)}(I,n,i,M,C);w=function(e,t){var r=g.getValue(e.textposition,t);return g.coerceEnumerated(x,r)}(D,i);var j="stack"===v.mode||"relative"===v.mode,E=n[i],R=!j||E._outmost;if(!P||"none"===w||(E.isBlank||l===c||d===h)&&("auto"===w||"inside"===w))return void r.select("text").remove();var N=I.font,F=p.getBarColor(n[i],D),H=p.getInsideTextFont(D,i,N,F),B=p.getOutsideTextFont(D,i,N),U=r.datum();z?"log"===M.type&&U.s0<=0&&(l=M.range[0]0&&G>0&&(Y<=W&&G<=X||Y<=X&&G<=W||(z?W>=Y*(X/G):X>=G*(W/Y)))?w="inside":(w="outside",q.remove(),q=null);else w="inside"}if(!q){var Q=(q=O(r,P,Z=a.ensureUniformFontSize(e,"outside"===w?B:H))).attr("transform");if(q.attr("transform",""),Y=(V=s.bBox(q.node())).width,G=V.height,q.attr("transform",Q),Y<=0||G<=0)return void q.remove()}var J,K=D.textangle;J="outside"===w?function(e,t,r,n,a,i){var o,l=!!i.isHorizontal,s=!!i.constrained,c=i.angle||0,u=a.width,d=a.height,f=Math.abs(t-e),h=Math.abs(n-r);o=l?h>2*_?_:0:f>2*_?_:0;var p=1;s&&(p=l?Math.min(1,h/d):Math.min(1,f/u));var g=A(c),v=S(a,g),m=(l?v.x:v.y)/2,y=(a.left+a.right)/2,x=(a.top+a.bottom)/2,b=(e+t)/2,w=(r+n)/2,T=0,M=0,L=l?k(t,e):k(r,n);l?(b=t-L*o,T=L*m):(w=n+L*o,M=-L*m);return{textX:y,textY:x,targetX:b,targetY:w,anchorX:T,anchorY:M,scale:p,rotate:g}}(l,c,d,h,V,{isHorizontal:z,constrained:"both"===D.constraintext||"outside"===D.constraintext,angle:K}):L(l,c,d,h,V,{isHorizontal:z,constrained:"both"===D.constraintext||"inside"===D.constraintext,angle:K,anchor:D.insidetextanchor});J.fontSize=Z.size,f(D.type,J,I),E.transform=J,T(q,I,v,m).attr("transform",a.getTextTransform(J))}(e,t,D,i,h,N,F,H,B,v,m),t.layerClipId&&s.hideOutsideRangePoint(c,D.select("text"),C,I,d.xcalendar,d.ycalendar)}));var H=!1===d.cliponaxis;s.setClipUrl(c,H?null:t.layerClipId,e)}));c.getComponentMethod("errorbars","plot")(e,D,t,v)},toMoveInsideBar:L}})),i.register("4U9iW",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY");function a(e){return"_"+e+"Text_minsize"}e.exports={recordMinTextSize:function(e,t,r){if(r.uniformtext.mode){var n=a(e),i=r.uniformtext.minsize,o=t.scale*t.fontSize;t.hide=o1||0===a.bargap&&0===a.bargroupgap&&!e[0].trace.marker.line.width)&&r.select(this).attr("shape-rendering","crispEdges")})),t.selectAll("g.points").each((function(t){p(r.select(this),t[0].trace,e)})),l.getComponentMethod("errorbars","style")(t)},styleTextPoints:g,styleOnSelect:function(e,t,n){var i=t[0].trace;i.selectedpoints?function(e,t,n){a.selectedPointStyle(e.selectAll("path"),t),function(e,t,n){e.each((function(e){var i,l=r.select(this);if(e.selected){i=o.ensureUniformFontSize(n,v(l,e,t,n));var s=t.selected.textfont&&t.selected.textfont.color;s&&(i.color=s),a.font(l,i)}else a.selectedTextStyle(l,t)}))}(e.selectAll("text"),t,n)}(n,i,e):(p(n,i,e),l.getComponentMethod("errorbars","style")(n))},getInsideTextFont:y,getOutsideTextFont:x,getBarColor:_,resizeText:s}})),i.register("6u7m7",(function(e,r){var n,a,o,l,s,c;t(e.exports,"coerceNumber",(()=>c),(e=>c=e)),t(e.exports,"coerceColor",(()=>o),(e=>o=e)),t(e.exports,"coerceEnumerated",(()=>s),(e=>s=e)),t(e.exports,"coerceString",(()=>n),(e=>n=e)),t(e.exports,"getValue",(()=>l),(e=>l=e)),t(e.exports,"getLineWidth",(()=>a),(e=>a=e));var u=i("6qr5h"),d=i("3Twc4"),f=i("1nIvY").isArrayOrTypedArray;n=function(e,t,r){if("string"==typeof t){if(t||!e.noBlank)return t}else if(("number"==typeof t||!0===t)&&!e.strict)return String(t);return void 0!==r?r:e.dflt},c=function(e,t,r){if(u(t)){t=+t;var n=e.min,a=e.max;if(!(void 0!==n&&ta))return t}return void 0!==r?r:e.dflt},o=function(e,t,r){return d(t).isValid()?t:void 0!==r?r:e.dflt},s=function(e,t,r){return e.coerceNumber&&(t=+t),-1!==e.values.indexOf(t)?t:void 0!==r?r:e.dflt},l=function(e,t){var r;return Array.isArray(e)?t-1,flipY:C.tiling.flip.indexOf("y")>-1,pad:{inner:C.tiling.pad,top:C.marker.pad.t,left:C.marker.pad.l,right:C.marker.pad.r,bottom:C.marker.pad.b}}).descendants(),j=1/0,E=-1/0;P.forEach((function(e){var t=e.depth;t>=C._maxDepth?(e.x0=e.x1=(e.x0+e.x1)/2,e.y0=e.y1=(e.y0+e.y1)/2):(j=Math.min(j,t),E=Math.max(E,t))})),p=p.data(P,u.getPtId),C._maxVisibleLayers=isFinite(E)?E-j+1:0,p.enter().append("g").classed("slice",!0),T(p,h,{},[v,m],b),p.order();var R=null;if(k&&S){var N=u.getPtId(S);p.each((function(e){null===R&&u.getPtId(e)===N&&(R={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})}))}var F=function(){return R||{x0:0,x1:v,y0:0,y1:m}},H=p;return k&&(H=H.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),H.each((function(l){var p=u.isHeader(l,C);l._hoverX=y(l.x1-C.marker.pad.r),l._hoverY=x(D?l.y1-C.marker.pad.b/2:l.y0+C.marker.pad.t/2);var g=r.select(this),T=n.ensureSingle(g,"path","surface",(function(e){e.style("pointer-events","all")}));k?T.transition().attrTween("d",(function(e){var t=M(e,h,F(),[v,m]);return function(e){return b(t(e))}})):T.attr("d",b),g.call(d,i,e,t,{styleOne:s,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{isTransitioning:e._transitioning}),T.call(s,l,C,{hovered:!1}),l.x0===l.x1||l.y0===l.y1?l._text="":l._text=p?z?"":u.getPtLabel(l)||"":f(l,i,C,t,L)||"";var S=n.ensureSingle(g,"g","slicetext"),P=n.ensureSingle(S,"text","",(function(e){e.attr("data-notex",1)})),j=n.ensureUniformFontSize(e,u.determineTextFont(C,l,L.font));P.text(l._text||" ").classed("slicetext",!0).attr("text-anchor",O?"end":I||p?"start":"middle").call(a.font,j).call(o.convertToTspans,e),l.textBB=a.bBox(P.node()),l.transform=_(l,{fontSize:j.size,isHeader:p}),l.transform.fontSize=j.size,k?P.transition().attrTween("transform",(function(e){var t=A(e,h,F(),[v,m]);return function(e){return w(t(e))}})):P.attr("transform",w(l))})),R}})),i.register("7mvKb",(function(e,t){"use strict";var r=i("1ff94"),n=i("4DtOe"),a=i("2xsRI"),o=i("7GUcL"),l=i("4zes5"),s=i("7wauO");function c(e,t,r){var n;r.swapXY&&(n=e.x0,e.x0=e.y0,e.y0=n,n=e.x1,e.x1=e.y1,e.y1=n),r.flipX&&(n=e.x0,e.x0=t[0]-e.x1,e.x1=t[0]-n),r.flipY&&(n=e.y0,e.y0=t[1]-e.y1,e.y1=t[1]-n);var a=e.children;if(a)for(var i=0;i0)for(var x=0;x"),name:T||z("name")?s.name:void 0,color:k("hoverlabel.bgcolor")||y.color,borderColor:k("hoverlabel.bordercolor"),fontFamily:k("hoverlabel.font.family"),fontSize:k("hoverlabel.font.size"),fontColor:k("hoverlabel.font.color"),nameLength:k("hoverlabel.namelength"),textAlign:k("hoverlabel.align"),hovertemplate:T,hovertemplateLabels:I,eventData:[d(n,s,f.eventDataKeys)]};v&&(E.x0=S-n.rInscribed*n.rpx1,E.x1=S+n.rInscribed*n.rpx1,E.idealAlign=n.pxmid[0]<0?"left":"right"),m&&(E.x=S,E.idealAlign=S<0?"left":"right"),o.loneHover(E,{container:i._hoverlayer.node(),outerContainer:i._paper.node(),gd:a}),p._hasHoverLabel=!0}if(m){var R=e.select("path.surface");f.styleOne(R,n,s,{hovered:!0})}p._hasHoverEvent=!0,a.emit("plotly_hover",{points:[d(n,s,f.eventDataKeys)],event:r.event})}})),e.on("mouseout",(function(t){var n=a._fullLayout,i=a._fullData[p.index],l=r.select(this).datum();if(p._hasHoverEvent&&(t.originalEvent=r.event,a.emit("plotly_unhover",{points:[d(l,i,f.eventDataKeys)],event:r.event}),p._hasHoverEvent=!1),p._hasHoverLabel&&(o.loneUnhover(n._hoverlayer.node()),p._hasHoverLabel=!1),m){var s=e.select("path.surface");f.styleOne(s,l,i,{hovered:!1})}})),e.on("click",(function(e){var t=a._fullLayout,i=a._fullData[p.index],l=v&&(c.isHierarchyRoot(e)||c.isLeaf(e)),u=c.getPtId(e),h=c.isEntry(e)?c.findEntryWithChild(g,u):c.findEntryWithLevel(g,u),m=c.getPtId(h),y={points:[d(e,i,f.eventDataKeys)],event:r.event};l||(y.nextLevel=m);var x=s.triggerHandler(a,"plotly_"+p.type+"click",y);if(!1!==x&&t.hovermode&&(a._hoverdata=[d(e,i,f.eventDataKeys)],o.click(a,r.event)),!l&&!1!==x&&!a._dragging&&!a._transitioning){n.call("_storeDirectGUIEdit",i,t._tracePreGUI[i.uid],{level:i.level});var b={data:[{level:m}],traces:[p.index]},_={frame:{redraw:!1,duration:f.transitionTime},transition:{duration:f.transitionTime,easing:f.transitionEasing},mode:"immediate",fromcurrent:!0};o.loneUnhover(t._hoverlayer.node()),n.call("animate",a,b,_)}}))}})),i.register("27qVD",(function(e,r){var n;t(e.exports,"formatSliceLabel",(()=>n),(e=>n=e));var a=i("4Wia9"),o=i("1s0mG"),l=i("7jar4"),s=i("1nIvY"),c=i("49Q6h"),u=i("4U9iW"),d=u.recordMinTextSize,f=u.clearMinTextSize,h=i("2y90T"),p=i("4Izpx").getRotationAngle,g=h.computeTransform,v=h.transformInsideText,m=i("3EV3A").styleOne,y=i("4dC6V").resizeText,x=i("1rpMS"),b=i("7BRjT"),_=i("6qi5c");function w(e,t,r,i){var u=e._fullLayout,f=!u.uniformtext.mode&&_.hasTransition(i),h=a.select(r).selectAll("g.slice"),y=t[0],w=y.trace,T=y.hierarchy,M=_.findEntryWithLevel(T,w.level),A=_.getMaxDepth(w),S=u._size,L=w.domain,C=S.w*(L.x[1]-L.x[0]),I=S.h*(L.y[1]-L.y[0]),O=.5*Math.min(C,I),D=y.cx=S.l+S.w*(L.x[1]+L.x[0])/2,z=y.cy=S.t+S.h*(1-L.y[0])-I/2;if(!M)return h.remove();var P=null,j={};f&&h.each((function(e){j[_.getPtId(e)]={rpx0:e.rpx0,rpx1:e.rpx1,x0:e.x0,x1:e.x1,transform:e.transform},!P&&_.isEntry(e)&&e}));var E=function(e){return o.default().size([2*Math.PI,e.height+1])(e)}(M).descendants(),R=M.height+1,N=0,F=A;y.hasMultipleRoots&&_.isHierarchyRoot(M)&&(E.slice(1),1,1,1),E.filter((function(e){return e.y1<=F}));var H=p(w.rotation);H&&E.forEach((function(e){e.x0+=H,e.x1+=H}));var B=Math.min(R,A),U=function(e){return(e-N)/B*O},q=function(e,t){return[e*Math.cos(t),-e*Math.sin(t)]},V=function(e){return s.pathAnnulus(e.rpx0,e.rpx1,e.x0,e.x1,D,z)},Y=function(e){return D+k(e)[0]*(e.transform.rCenter||0)+(e.transform.x||0)},G=function(e){return z+k(e)[1]*(e.transform.rCenter||0)+(e.transform.y||0)};h.data(E,_.getPtId).enter().append("g").classed("slice",!0),f?h.exit().transition().each((function(){var e=a.select(this);e.select("path.surface").transition().attrTween("d",(function(e){var t=function(e){var t,r=_.getPtId(e),n=j[r],i=j[_.getPtId(M)];if(i){var o=(e.x1>i.x1?2*Math.PI:0)+H;e.rpx1Z?2*Math.PI:0)+H;({x0:i,x1:i})}else({rpx0:O,rpx1:O}),s.extendFlat(t,Q(e));else({rpx0:0,rpx1:0});else({x0:H,x1:H});return a.interpolate(t,n)}(e);return function(e){return V(t(e))}})):o.attr("d",V),i.call(x,M,e,t,{eventDataKeys:b.eventDataKeys,transitionTime:b.CLICK_TRANSITION_TIME,transitionEasing:b.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:e._transitioning}),o.call(m,r,w);var h=s.ensureSingle(i,"g","slicetext"),p=s.ensureSingle(h,"text","",(function(e){e.attr("data-notex",1)})),k=s.ensureUniformFontSize(e,_.determineTextFont(w,r,u.font));p.text(n(r,M,w,t,u)).classed("slicetext",!0).attr("text-anchor","middle").call(l.font,k).call(c.convertToTspans,e);var T=l.bBox(p.node());r.transform=v(T,r,y),r.transform.targetX=Y(r),r.transform.targetY=G(r);var A=function(e,t){var r=e.transform;return g(r,t),r.fontSize=k.size,d(w.type,r,u),s.getTextTransform(r)};f?p.transition().attrTween("transform",(function(e){var t=function(e){var t,r=j[_.getPtId(e)],n=e.transform;if(r)r;else if({rpx1:e.rpx1,transform:{textPosAngle:n.textPosAngle,scale:0,rotate:n.rotate,rCenter:n.rCenter,x:n.x,y:n.y}},P)if(e.parent)if(Z){var i=e.x1>Z?2*Math.PI:0;t.x0=t.x1=i}else s.extendFlat(t,Q(e));else t.x0=t.x1=H;else t.x0=t.x1=H;var o=a.interpolate(t.transform.textPosAngle,e.transform.textPosAngle),l=a.interpolate(t.rpx1,e.rpx1),c=a.interpolate(t.x0,e.x0),f=a.interpolate(t.x1,e.x1),h=a.interpolate(t.transform.scale,n.scale),p=a.interpolate(t.transform.rotate,n.rotate),g=0===n.rCenter?3:0===t.transform.rCenter?1/3:1,v=a.interpolate(t.transform.rCenter,n.rCenter),m=function(e){return v(Math.pow(e,g))};return function(e){var t=l(e),r=c(e),a=f(e),i=m(e),s={pxmid:q(t,(r+a)/2),rpx1:t,transform:{textPosAngle:o(e),rCenter:i,x:n.x,y:n.y}};return d(w.type,n,u),{transform:{targetX:Y(s),targetY:G(s),scale:h(e),rotate:p(e),rCenter:i}}}}(e);return function(e){return A(t(e),T)}})):p.attr("transform",A(r,T))}))}function k(e){return e.rpx1,e.transform.textPosAngle,[t*Math.sin(r),-t*Math.cos(r)];var t,r}n=function(e,t,r,n,a){var i=r.texttemplate,o=r.textinfo;if(!(i||o&&"none"!==o))return"";var l=a.separators,c=n[0],u=e.data.data,d=c.hierarchy,f=_.isHierarchyRoot(e),h=_.getParent(d,e),p=_.getValue(e);if(!i){var g,v=o.split("+"),m=function(e){return-1!==v.indexOf(e)},y=[];if(m("label")&&u.label&&y.push(u.label),u.hasOwnProperty("v")&&m("value")&&y.push(_.formatValue(u.v,l)),!f){m("current path")&&y.push(_.getPath(e.data));var x=0;m("percent parent")&&x++,m("percent entry")&&x++,m("percent root")&&x++;var b=x>1;if(x){var w,k=function(e){g=_.formatPercent(w,l),b&&(g+=" of "+e),y.push(g)};m("percent parent")&&!f&&(w=p/_.getValue(h),k("parent")),m("percent entry")&&(w=p/_.getValue(t),k("entry")),m("percent root")&&(w=p/_.getValue(d),k("root"))}}return m("text")&&(g=s.castOption(r,u.i,"text"),s.isValidTextValue(g)&&y.push(g)),y.join("
")}var T=s.castOption(r,u.i,"texttemplate");if(!T)return"";var M={};u.label&&(M.label=u.label),u.hasOwnProperty("v")&&(M.value=u.v,M.valueLabel=_.formatValue(u.v,l)),M.currentPath=_.getPath(e.data),f||(M.percentParent=p/_.getValue(h),M.percentParentLabel=_.formatPercent(M.percentParent,l),M.parent=_.getPtLabel(h)),M.percentEntry=p/_.getValue(t),M.percentEntryLabel=_.formatPercent(M.percentEntry,l),M.entry=_.getPtLabel(t),M.percentRoot=p/_.getValue(d),M.percentRootLabel=_.formatPercent(M.percentRoot,l),M.root=_.getPtLabel(d),u.hasOwnProperty("color")&&(M.color=u.color);var A=s.castOption(r,u.i,"text");return(s.isValidTextValue(A)||""===A)&&(M.text=A),M.customdata=s.castOption(r,u.i,"customdata"),s.texttemplateString(T,M,a._d3locale,M,r._meta||{})}})),i.register("2y90T",(function(e,t){"use strict";var r,n=i("4Wia9"),a=i("3BndS"),o=i("FNU2H"),l=i("3N5m7"),s=i("7jar4"),c=(r=i("1nIvY")).strScale,u=r.strTranslate,d=i("49Q6h"),f=i("4U9iW"),h=f.recordMinTextSize,p=f.clearMinTextSize,g=i("1Pgm8").TEXTPAD,v=i("4Izpx"),m=i("39oaf"),y=(r=i("1nIvY")).isValidTextValue;function x(e,t,a){var i=a[0],l=i.trace,s=i.cx,c=i.cy;"_hasHoverLabel"in l||(l._hasHoverLabel=!1),"_hasHoverEvent"in l||(l._hasHoverEvent=!1),e.on("mouseover",(function(e){var a=t._fullLayout,u=t._fullData[l.index];if(!t._dragging&&!1!==a.hovermode){var d=u.hoverinfo;if(Array.isArray(d)&&(d=o.castHoverinfo({hoverinfo:[v.castOption(d,e.pts)],_module:l._module},a,0)),"all"===d&&(d="label+text+value+percent+name"),u.hovertemplate||"none"!==d&&"skip"!==d&&d){var f=e.rInscribed||0,h=s+e.pxmid[0]*(1-f),p=c+e.pxmid[1]*(1-f),g=a.separators,y=[];if(d&&-1!==d.indexOf("label")&&y.push(e.label),e.text=v.castOption(u.hovertext||u.text,e.pts),d&&-1!==d.indexOf("text")){var x=e.text;r.isValidTextValue(x)&&y.push(x)}e.value=e.v,e.valueLabel=v.formatPieValue(e.v,g),d&&-1!==d.indexOf("value")&&y.push(e.valueLabel),e.percent=e.v/i.vTotal,e.percentLabel=v.formatPiePercent(e.percent,g),d&&-1!==d.indexOf("percent")&&y.push(e.percentLabel);var b=u.hoverlabel,_=b.font;o.loneHover({trace:l,x0:h-f*i.r,x1:h+f*i.r,y:p,text:y.join("
"),name:u.hovertemplate||-1!==d.indexOf("name")?u.name:void 0,idealAlign:e.pxmid[0]<0?"left":"right",color:v.castOption(b.bgcolor,e.pts)||e.color,borderColor:v.castOption(b.bordercolor,e.pts),fontFamily:v.castOption(_.family,e.pts),fontSize:v.castOption(_.size,e.pts),fontColor:v.castOption(_.color,e.pts),nameLength:v.castOption(b.namelength,e.pts),textAlign:v.castOption(b.align,e.pts),hovertemplate:v.castOption(u.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[m(e,u)]},{container:a._hoverlayer.node(),outerContainer:a._paper.node(),gd:t}),l._hasHoverLabel=!0}l._hasHoverEvent=!0,t.emit("plotly_hover",{points:[m(e,u)],event:n.event})}})),e.on("mouseout",(function(e){var r=t._fullLayout,a=t._fullData[l.index],i=n.select(this).datum();l._hasHoverEvent&&(e.originalEvent=n.event,t.emit("plotly_unhover",{points:[m(i,a)],event:n.event}),l._hasHoverEvent=!1),l._hasHoverLabel&&(o.loneUnhover(r._hoverlayer.node()),l._hasHoverLabel=!1)})),e.on("click",(function(e){var r=t._fullLayout,a=t._fullData[l.index];t._dragging||!1===r.hovermode||(t._hoverdata=[m(e,a)],o.click(t,n.event))}))}function b(e,t,r){var n=v.castOption(e.insidetextfont.color,t.pts);!n&&e._input.textfont&&(n=v.castOption(e._input.textfont.color,t.pts));var a=v.castOption(e.insidetextfont.family,t.pts)||v.castOption(e.textfont.family,t.pts)||r.family,i=v.castOption(e.insidetextfont.size,t.pts)||v.castOption(e.textfont.size,t.pts)||r.size;return{color:n||l.contrast(t.color),family:a,size:i}}function _(e,t){for(var n,a,i=0;it&&t>n||r=-4;v-=2)m(Math.PI*v,"tan");for(v=4;v>=-4;v-=2)m(Math.PI*(v+1),"tan")}if(d||h){for(v=4;v>=-4;v-=2)m(Math.PI*(v+1.5),"rad");for(v=4;v>=-4;v-=2)m(Math.PI*(v+.5),"rad")}}if(l||p||d){var y=Math.sqrt(e.width*e.width+e.height*e.height);if((i={scale:a*n*2/y,rCenter:1-a,rotate:0}).textPosAngle=(t.startangle+t.stopangle)/2,i.scale>=1)return i;g.push(i)}(p||h)&&((i=k(e,n,o,s,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i)),(p||f)&&((i=T(e,n,o,s,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i));for(var x=0,b=0,_=0;_=1)break}return g[x]}function k(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.width/e.height,o=S(i,n,t,r);return{scale:2*o/e.height,rCenter:M(i,o/t),rotate:A(a)}}function T(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.height/e.width,o=S(i,n,t,r);return{scale:2*o/e.width,rCenter:M(i,o/t),rotate:A(a+Math.PI/2)}}function M(e,t){return Math.cos(t)-e*t}function A(e){return(180/Math.PI*e+720)%180-90}function S(e,t,r,n){var a=e+1/(2*Math.tan(t));return r*Math.min(1/(Math.sqrt(a*a+.5)+a),n/(Math.sqrt(e*e+n/2)+e))}function L(e,t){return e.v!==t.vTotal||t.trace.hole?Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2):1}function C(e,t){var r=t.pxmid[0],n=t.pxmid[1],a=e.width/2,i=e.height/2;return r<0&&(a*=-1),n<0&&(i*=-1),{scale:1,rCenter:1,rotate:0,x:a+Math.abs(i)*(a>0?1:-1)/2,y:i/(1+r*r/(n*n)),outside:!0}}function I(e,t){var r,n,a,i=e.trace,o={x:e.cx,y:e.cy},l={tx:0,ty:0};l.ty+=i.title.font.size,a=D(i),-1!==i.title.position.indexOf("top")?(o.y-=(1+a)*e.r,l.ty-=e.titleBox.height):-1!==i.title.position.indexOf("bottom")&&(o.y+=(1+a)*e.r);var s,c,u=(s=e.r,c=e.trace.aspectratio,s/(void 0===c?1:c)),d=t.w*(i.domain.x[1]-i.domain.x[0])/2;return-1!==i.title.position.indexOf("left")?(d+=u,o.x-=(1+a)*u,l.tx+=e.titleBox.width/2):-1!==i.title.position.indexOf("center")?d*=2:-1!==i.title.position.indexOf("right")&&(d+=u,o.x+=(1+a)*u,l.tx-=e.titleBox.width/2),r=d/e.titleBox.width,n=O(e,t)/e.titleBox.height,{x:o.x,y:o.y,scale:Math.min(r,n),tx:l.tx,ty:l.ty}}function O(e,t){var r=e.trace,n=t.h*(r.domain.y[1]-r.domain.y[0]);return Math.min(e.titleBox.height,n/2)}function D(e){var t,r=e.pull;if(!r)return 0;if(Array.isArray(r))for(r=0,t=0;tr&&(r=e.pull[t]);return r}function z(e,t){for(var r=[],n=0;n1?u=(c=r.r)/a.aspectratio:c=(u=r.r)*a.aspectratio,s=(c*=(1+a.baseratio)/2)*u}o=Math.min(o,s/r.vTotal)}for(n=0;n")}if(l){var b=r.castOption(o,t.i,"texttemplate");if(b){var _={label:(a=t).label,value:a.v,valueLabel:v.formatPieValue(a.v,i.separators),percent:a.v/n.vTotal,percentLabel:v.formatPiePercent(a.v/n.vTotal,i.separators),color:a.color,text:a.text,customdata:r.castOption(o,a.i,"customdata")},w=v.getFirstFilled(o.text,t.pts);(y(w)||""===w)&&(_.text=w),t.text=r.texttemplateString(b,_,e._fullLayout._d3locale,_,o._meta||{})}else t.text=""}}function E(e,t){var r=e.rotate*Math.PI/180,n=Math.cos(r),a=Math.sin(r),i=(t.left+t.right)/2,o=(t.top+t.bottom)/2;e.textX=i*n-o*a,e.textY=i*a+o*n,e.noCenter=!0}e.exports={plot:function(e,t){var i=e._fullLayout,o=i._size;p("pie",i),_(t,e),z(t,o);var f=r.makeTraceGroups(i._pielayer,t,"trace").each((function(t){var f=n.select(this),p=t[0],g=p.trace;!function(e){var t,r,n,a=e[0],i=a.r,o=a.trace,l=v.getRotationAngle(o.rotation),s=2*Math.PI/a.vTotal,c="px0",u="px1";if("counterclockwise"===o.direction){for(t=0;ta.vTotal/2?1:0,r.halfangle=Math.PI*Math.min(r.v/a.vTotal,.5),r.ring=1-o.hole,r.rInscribed=L(r,a))}(t),f.attr("stroke-linejoin","round"),f.each((function(){var m=n.select(this).selectAll("g.slice").data(t);m.enter().append("g").classed("slice",!0),m.exit().remove();var y=[[[],[]],[[],[]]],_=!1;m.each((function(a,o){if(a.hidden)n.select(this).selectAll("path,g").remove();else{a.pointNumber=a.i,a.curveNumber=g.index,y[a.pxmid[1]<0?0:1][a.pxmid[0]<0?0:1].push(a);var l=p.cx,c=p.cy,u=n.select(this),f=u.selectAll("path.surface").data([a]);if(f.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),u.call(x,e,t),g.pull){var m=+v.castOption(g.pull,a.pts)||0;m>0&&(l+=m*a.pxmid[0],c+=m*a.pxmid[1])}a.cxFinal=l,a.cyFinal=c;var k=g.hole;if(a.v===p.vTotal){var T="M"+(l+a.px0[0])+","+(c+a.px0[1])+I(a.px0,a.pxmid,!0,1)+I(a.pxmid,a.px0,!0,1)+"Z";k?f.attr("d","M"+(l+k*a.px0[0])+","+(c+k*a.px0[1])+I(a.px0,a.pxmid,!1,k)+I(a.pxmid,a.px0,!1,k)+"Z"+T):f.attr("d",T)}else{var M=I(a.px0,a.px1,!0,1);if(k){var A=1-k;f.attr("d","M"+(l+k*a.px1[0])+","+(c+k*a.px1[1])+I(a.px1,a.px0,!1,k)+"l"+A*a.px0[0]+","+A*a.px0[1]+M+"Z")}else f.attr("d","M"+l+","+c+"l"+a.px0[0]+","+a.px0[1]+M+"Z")}j(e,a,p);var S=v.castOption(g.textposition,a.pts),L=u.selectAll("g.slicetext").data(a.text&&"none"!==S?[0]:[]);L.enter().append("g").classed("slicetext",!0),L.exit().remove(),L.each((function(){var u=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),f=r.ensureUniformFontSize(e,"outside"===S?function(e,t,r){var n=v.castOption(e.outsidetextfont.color,t.pts)||v.castOption(e.textfont.color,t.pts)||r.color,a=v.castOption(e.outsidetextfont.family,t.pts)||v.castOption(e.textfont.family,t.pts)||r.family,i=v.castOption(e.outsidetextfont.size,t.pts)||v.castOption(e.textfont.size,t.pts)||r.size;return{color:n,family:a,size:i}}(g,a,i.font):b(g,a,i.font));u.text(a.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(s.font,f).call(d.convertToTspans,e);var m,y=s.bBox(u.node());if("outside"===S)m=C(y,a);else if(m=w(y,a,p),"auto"===S&&m.scale<1){var x=r.ensureUniformFontSize(e,g.outsidetextfont);u.call(s.font,x),m=C(y=s.bBox(u.node()),a)}var k=m.textPosAngle,T=void 0===k?a.pxmid:P(p.r,k);if(m.targetX=l+T[0]*m.rCenter+(m.x||0),m.targetY=c+T[1]*m.rCenter+(m.y||0),E(m,y),m.outside){var M=m.targetY;a.yLabelMin=M-y.height/2,a.yLabelMid=M,a.yLabelMax=M+y.height/2,a.labelExtraX=0,a.labelExtraY=0,_=!0}m.fontSize=f.size,h(g.type,m,i),t[o].transform=m,u.attr("transform",r.getTextTransform(m))}))}function I(e,t,r,n){var i=n*(t[0]-e[0]),o=n*(t[1]-e[1]);return"a"+n*p.r+","+n*p.r+" 0 "+a.largeArc+(r?" 1 ":" 0 ")+i+","+o}}));var k=n.select(this).selectAll("g.titletext").data(g.title.text?[0]:[]);if(k.enter().append("g").classed("titletext",!0),k.exit().remove(),k.each((function(){var t,a=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),i=g.title.text;g._meta&&(i=r.templateString(i,g._meta)),a.text(i).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(s.font,g.title.font).call(d.convertToTspans,e),t="middle center"===g.title.position?function(e){var t=Math.sqrt(e.titleBox.width*e.titleBox.width+e.titleBox.height*e.titleBox.height);return{x:e.cx,y:e.cy,scale:e.trace.hole*e.r*2/t,tx:0,ty:-e.titleBox.height/2+e.trace.title.font.size}}(p):I(p,o),a.attr("transform",u(t.x,t.y)+c(Math.min(1,t.scale))+u(t.tx,t.ty))})),_&&function(e,t){var r,n,a,i,o,l,s,c,u,d,f,h,p;function g(e,t){return e.pxmid[1]-t.pxmid[1]}function m(e,t){return t.pxmid[1]-e.pxmid[1]}function y(e,r){r||(r={});var a,c,u,f,h=r.labelExtraY+(n?r.yLabelMax:r.yLabelMin),p=n?e.yLabelMin:e.yLabelMax,g=n?e.yLabelMax:e.yLabelMin,m=e.cyFinal+o(e.px0[1],e.px1[1]),y=h-p;if(y*s>0&&(e.labelExtraY=y),Array.isArray(t.pull))for(c=0;c=(v.castOption(t.pull,u.pts)||0)||((e.pxmid[1]-u.pxmid[1])*s>0?(y=u.cyFinal+o(u.px0[1],u.px1[1])-p-e.labelExtraY)*s>0&&(e.labelExtraY+=y):(g+e.labelExtraY-m)*s>0&&(a=3*l*Math.abs(c-d.indexOf(e)),(f=u.cxFinal+i(u.px0[0],u.px1[0])+a-(e.cxFinal+e.pxmid[0])-e.labelExtraX)*l>0&&(e.labelExtraX+=f)))}for(n=0;n<2;n++)for(a=n?g:m,o=n?Math.max:Math.min,s=n?1:-1,r=0;r<2;r++){for(i=r?Math.max:Math.min,l=r?1:-1,(c=e[n][r]).sort(a),u=e[1-n][r],d=u.concat(c),h=[],f=0;fMath.abs(d)?s+="l"+d*e.pxmid[0]/e.pxmid[1]+","+d+"H"+(o+e.labelExtraX+c):s+="l"+e.labelExtraX+","+u+"v"+(d-u)+"h"+c}else s+="V"+(e.yLabelMid+e.labelExtraY)+"h"+c;r.ensureSingle(a,"path","textline").call(l.stroke,t.outsidetextfont.color).attr({"stroke-width":Math.min(2,t.outsidetextfont.size/8),d:s,fill:"none"})}else a.select("path.textline").remove()}))}(m,g),_&&g.automargin){var T=s.bBox(f.node()),M=g.domain,A=o.w*(M.x[1]-M.x[0]),S=o.h*(M.y[1]-M.y[0]),L=(.5*A-p.r)/o.w,O=(.5*S-p.r)/o.h;a.autoMargin(e,"pie."+g.uid+".automargin",{xl:M.x[0]-L,xr:M.x[1]+L,yb:M.y[0]-O,yt:M.y[1]+O,l:Math.max(p.cx-p.r-T.left,0),r:Math.max(T.right-(p.cx+p.r),0),b:Math.max(T.bottom-(p.cy+p.r),0),t:Math.max(p.cy-p.r-T.top,0),pad:5})}}))}));setTimeout((function(){f.selectAll("tspan").each((function(){var e=n.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))}))}),0)},formatSliceLabel:j,transformInsideText:w,determineInsideTextFont:b,positionTitleOutside:I,prerenderTitles:_,layoutAreas:z,attachFxHandlers:x,computeTransform:E}})),i.register("39oaf",(function(e,t){"use strict";var r=i("2MtC7").appendArrayMultiPointValues;e.exports=function(e,t){var n={curveNumber:t.index,pointNumbers:e.pts,data:t._input,fullData:t,label:e.label,color:e.color,value:e.v,percent:e.percent,text:e.text,v:e.v};return 1===e.pts.length&&(n.pointNumber=n.i=e.pts[0]),r(n,t,e.pts),"funnelarea"===t.type&&(delete n.v,delete n.i),n}})),i.register("3EV3A",(function(e,t){"use strict";var r=i("4Wia9"),n=i("3N5m7"),a=i("1nIvY"),o=i("4U9iW").resizeText;function l(e,t,r){var i=t.data.data,o=!t.children,l=i.i,s=a.castOption(r,l,"marker.line.color")||n.defaultLine,c=a.castOption(r,l,"marker.line.width")||0;e.style("stroke-width",c).call(n.fill,i.color).call(n.stroke,s).style("opacity",o?r.leaf.opacity:null)}e.exports={style:function(e){var t=e._fullLayout._sunburstlayer.selectAll(".trace");o(e,t,"sunburst"),t.each((function(e){var t=r.select(this),n=e[0].trace;t.style("opacity",n.opacity),t.selectAll("path.surface").each((function(e){r.select(this).call(l,e,n)}))}))},styleOne:l}})),i.register("4OYqK",(function(e,t){"use strict";var r=i("4Wia9"),n=i("1nIvY"),a=i("7jar4"),o=i("49Q6h"),l=i("7mvKb"),s=i("iexgK").styleOne,c=i("4EUdN"),u=i("6qi5c"),d=i("1rpMS"),f=!0;e.exports=function(e,t,i,h,p){var g=p.barDifY,v=p.width,m=p.height,y=p.viewX,x=p.viewY,b=p.pathSlice,_=p.toMoveInsideSlice,w=p.strTransform,k=p.hasTransition,T=p.handleSlicesExit,M=p.makeUpdateSliceInterpolator,A=p.makeUpdateTextInterpolator,S={},L=e._fullLayout,C=t[0],I=C.trace,O=C.hierarchy,D=v/I._entryDepth,z=u.listPath(i.data,"id"),P=l(O.copy(),[v,m],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(P=P.filter((function(e){var t=z.indexOf(e.data.id);return-1!==t&&(e.x0=D*t,e.x1=D*(t+1),e.y0=g,e.y1=g+m,e.onPathbar=!0,!0)}))).reverse(),(h=h.data(P,u.getPtId)).enter().append("g").classed("pathbar",!0),T(h,f,S,[v,m],b),h.order();var j=h;k&&(j=j.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),j.each((function(l){l._hoverX=y(l.x1-Math.min(v,m)/2),l._hoverY=x(l.y1-m/2);var h=r.select(this),p=n.ensureSingle(h,"path","surface",(function(e){e.style("pointer-events","all")}));k?p.transition().attrTween("d",(function(e){var t=M(e,f,S,[v,m]);return function(e){return b(t(e))}})):p.attr("d",b),h.call(d,i,e,t,{styleOne:s,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:e._transitioning}),p.call(s,l,I,{hovered:!1}),l._text=(u.getPtLabel(l)||"").split("
").join(" ")||"";var g=n.ensureSingle(h,"g","slicetext"),T=n.ensureSingle(g,"text","",(function(e){e.attr("data-notex",1)})),C=n.ensureUniformFontSize(e,u.determineTextFont(I,l,L.font,{onPathbar:!0}));T.text(l._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(a.font,C).call(o.convertToTspans,e),l.textBB=a.bBox(T.node()),l.transform=_(l,{fontSize:C.size,onPathbar:!0}),l.transform.fontSize=C.size,k?T.transition().attrTween("transform",(function(e){var t=A(e,f,S,[v,m]);return function(e){return w(t(e))}})):T.attr("transform",w(l))}))}})),l=i("6DnoW"),e(o).register([e(l)]),window.Plotly=e(o)}(); \ No newline at end of file +!function(){function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},n={},a={},i=r.parcelRequire94c2;null==i&&((i=function(e){if(e in n)return n[e].exports;if(e in a){let t=a[e];delete a[e];let r={id:e,exports:{}};return n[e]=r,t.call(r.exports,r,r.exports),r.exports}var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}).register=function(e,t){a[e]=t},r.parcelRequire94c2=i);var o;i.register("kEbXK",(function(e,t){"use strict";e.exports.version=i("hKb01").version;i("dJ4Ft"),i("f5wND");for(var r=i("LWtQ1"),n=e.exports.register=r.register,a=i("5zYQ5"),o=Object.keys(a),s=0;sn),(e=>n=e)),n="2.1.0"})),i.register("dJ4Ft",(function(e,t){ +/*! Native Promise Only + v0.8.1 (c) Kyle Simpson + MIT License: http://getify.mit-license.org +*/ +var n,a,i;n="Promise",a=void 0!==r?r:e.exports,i=function(){"use strict";var e,t,r,n=Object.prototype.toString,a="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(t){e=function(e,t,r){return e[t]=r,e}}function i(e,n){r.add(e,n),t||(t=a(r.drain))}function o(e){var t,r=typeof e;return null==e||"object"!=r&&"function"!=r||(t=e.then),"function"==typeof t&&t}function s(){for(var e=0;e0&&i(s,r))}catch(e){u.call(new f(r),e)}}}function u(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&i(s,t))}function d(e,t,r,n){for(var a=0;a:not(.watermark)":"opacity:0;-webkit-transition:opacity .3s ease 0s;-moz-transition:opacity .3s ease 0s;-ms-transition:opacity .3s ease 0s;-o-transition:opacity .3s ease 0s;transition:opacity .3s ease 0s;","X:hover .modebar--hover .modebar-group":"opacity:1;","X .modebar-group":"float:left;display:inline-block;box-sizing:border-box;padding-left:8px;position:relative;vertical-align:middle;white-space:nowrap;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;","X .modebar-btn svg":"position:relative;top:2px;","X .modebar.vertical":"display:flex;flex-direction:column;flex-wrap:wrap;align-content:flex-end;max-height:100%;","X .modebar.vertical svg":"top:-1px;","X .modebar.vertical .modebar-group":"display:block;float:none;padding-left:0px;padding-bottom:8px;","X .modebar.vertical .modebar-group .modebar-btn":"display:block;text-align:center;","X [data-title]:before,X [data-title]:after":"position:absolute;-webkit-transform:translate3d(0, 0, 0);-moz-transform:translate3d(0, 0, 0);-ms-transform:translate3d(0, 0, 0);-o-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:none;opacity:0;z-index:1001;pointer-events:none;top:110%;right:50%;","X [data-title]:hover:before,X [data-title]:hover:after":"display:block;opacity:1;","X [data-title]:before":'content:"";position:absolute;background:transparent;border:6px solid transparent;z-index:1002;margin-top:-12px;border-bottom-color:#69738a;margin-right:-6px;',"X [data-title]:after":"content:attr(data-title);background:#69738a;color:#fff;padding:8px 10px;font-size:12px;line-height:12px;white-space:nowrap;margin-right:-18px;border-radius:2px;","X .vertical [data-title]:before,X .vertical [data-title]:after":"top:0%;right:200%;","X .vertical [data-title]:before":"border:6px solid transparent;border-left-color:#69738a;margin-top:8px;margin-right:-30px;","X .select-outline":"fill:none;stroke-width:1;shape-rendering:crispEdges;","X .select-outline-1":"stroke:#fff;","X .select-outline-2":"stroke:#000;stroke-dasharray:2px 2px;",Y:'font-family:"Open Sans",verdana,arial,sans-serif;position:fixed;top:50px;right:20px;z-index:10000;font-size:10pt;max-width:180px;',"Y p":"margin:0;","Y .notifier-note":"min-width:180px;max-width:250px;border:1px solid #fff;z-index:3000;margin:0;background-color:#8c97af;background-color:rgba(140,151,175,.9);color:#fff;padding:10px;overflow-wrap:break-word;word-wrap:break-word;-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto;","Y .notifier-close":"color:#fff;opacity:.8;float:right;padding:0 5px;background:none;border:none;font-size:20px;font-weight:bold;line-height:20px;","Y .notifier-close:hover":"color:#444;text-decoration:none;cursor:pointer;"};for(var a in n){var o=a.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier");r.addStyleRule(o,n[a])}})),i.register("aDPZG",(function(e,t){"use strict";var r=i("fP9PH"),n=i("fJpfm").utcFormat,a=i("bnpJH"),o=i("5jyN7"),s=o.FP_SAFE,l=-s,c=o.BADNUM,u=e.exports={};u.nestedProperty=i("c4m1S"),u.keyedContainer=i("8MXLA"),u.relativeAttr=i("aMrhd"),u.isPlainObject=i("7jaZz"),u.toLogRange=i("aBgyt"),u.relinkPrivateKeys=i("hOFz9");var d=i("d2MsI");u.isTypedArray=d.isTypedArray,u.isArrayOrTypedArray=d.isArrayOrTypedArray,u.isArray1D=d.isArray1D,u.ensureArray=d.ensureArray,u.concat=d.concat,u.maxRowLength=d.maxRowLength,u.minRowLength=d.minRowLength;var f=i("bRf0v");u.mod=f.mod,u.modHalf=f.modHalf;var h=i("9jL1u");u.valObjectMeta=h.valObjectMeta,u.coerce=h.coerce,u.coerce2=h.coerce2,u.coerceFont=h.coerceFont,u.coercePattern=h.coercePattern,u.coerceHoverinfo=h.coerceHoverinfo,u.coerceSelectionMarkerOpacity=h.coerceSelectionMarkerOpacity,u.validate=h.validate;var p=i("bigTu");u.dateTime2ms=p.dateTime2ms,u.isDateTime=p.isDateTime,u.ms2DateTime=p.ms2DateTime,u.ms2DateTimeLocal=p.ms2DateTimeLocal,u.cleanDate=p.cleanDate,u.isJSDate=p.isJSDate,u.formatDate=p.formatDate,u.incrementMonth=p.incrementMonth,u.dateTick0=p.dateTick0,u.dfltRange=p.dfltRange,u.findExactDates=p.findExactDates,u.MIN_MS=p.MIN_MS,u.MAX_MS=p.MAX_MS;var g=i("dhZm9");u.findBin=g.findBin,u.sorterAsc=g.sorterAsc,u.sorterDes=g.sorterDes,u.distinctVals=g.distinctVals,u.roundUp=g.roundUp,u.sort=g.sort,u.findIndexOfMin=g.findIndexOfMin;var v=i("awJRF");u.aggNums=v.aggNums,u.len=v.len,u.mean=v.mean,u.median=v.median,u.midRange=v.midRange,u.variance=v.variance,u.stdev=v.stdev,u.interp=v.interp;var m=i("hSNpJ");u.init2dArray=m.init2dArray,u.transposeRagged=m.transposeRagged,u.dot=m.dot,u.translationMatrix=m.translationMatrix,u.rotationMatrix=m.rotationMatrix,u.rotationXYMatrix=m.rotationXYMatrix,u.apply3DTransform=m.apply3DTransform,u.apply2DTransform=m.apply2DTransform,u.apply2DTransform2=m.apply2DTransform2,u.convertCssMatrix=m.convertCssMatrix,u.inverseTransformMatrix=m.inverseTransformMatrix;var y=i("42m4E");u.deg2rad=y.rad2deg,u.rad2deg=y.rad2deg,u.angleDelta=y.angleDelta,u.angleDist=y.angleDist,u.isFullCircle=y.isFullCircle,u.isAngleInsideSector=y.isAngleInsideSector,u.isPtInsideSector=y.isPtInsideSector,u.pathArc=y.pathArc,u.pathSector=y.pathSector,u.pathAnnulus=y.pathAnnulus;var x=i("21h91");u.isLeftAnchor=x.isLeftAnchor,u.isCenterAnchor=x.isCenterAnchor,u.isRightAnchor=x.isRightAnchor,u.isTopAnchor=x.isTopAnchor,u.isMiddleAnchor=x.isMiddleAnchor,u.isBottomAnchor=x.isBottomAnchor;var b=i("2q831");u.segmentsIntersect=b.segmentsIntersect,u.segmentDistance=b.segmentDistance,u.getTextLocation=b.getTextLocation,u.clearLocationCache=b.clearLocationCache,u.getVisibleSegment=b.getVisibleSegment,u.findPointOnPath=b.findPointOnPath;var _=i("hYsp9");u.extendFlat=_.extendFlat,u.extendDeep=_.extendDeep,u.extendDeepAll=_.extendDeepAll,u.extendDeepNoArrays=_.extendDeepNoArrays;var w=i("g3URC");u.log=w.log,u.warn=w.warn,u.error=w.error;var k=i("lkPEm");u.counterRegex=k.counter;var T=i("dLTZR");u.throttle=T.throttle,u.throttleDone=T.done,u.clearThrottle=T.clear;var M=i("hzFei");function A(e){var t={};for(var r in e)for(var n=e[r],a=0;as||e=t)&&(a(e)&&e>=0&&e%1==0)},u.noop=i("kkuyP"),u.identity=i("N6mwC"),u.repeat=function(e,t){for(var r=new Array(t),n=0;nr?Math.max(r,Math.min(t,e)):Math.max(t,Math.min(r,e))},u.bBoxIntersect=function(e,t,r){return r=r||0,e.left<=t.right+r&&t.left<=e.right+r&&e.top<=t.bottom+r&&t.top<=e.bottom+r},u.simpleMap=function(e,t,r,n,a){for(var i=e.length,o=new Array(i),s=0;s=Math.pow(2,r)?a>10?(u.warn("randstr failed uniqueness"),l):e(t,r,n,(a||0)+1):l},u.OptionControl=function(e,t){e||(e={}),t||(t="opt");var r={optionList:[],_newoption:function(n){n[t]=e,r[n.name]=n,r.optionList.push(n)}};return r["_"+t]=e,r},u.smooth=function(e,t){if((t=Math.round(t)||0)<2)return e;var r,n,a,i,o=e.length,s=2*o,l=2*t-1,c=new Array(l),u=new Array(o);for(r=0;r=s&&(a-=s*Math.floor(a/s)),a<0?a=-1-a:a>=o&&(a=s-1-a),i+=e[a]*c[n];u[r]=i}return u},u.syncOrAsync=function(e,t,r){var n;function a(){return u.syncOrAsync(e,t,r)}for(;e.length;)if((n=(0,e.splice(0,1)[0])(t))&&n.then)return n.then(a).then(void 0,u.promiseError);return r&&r(t)},u.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},u.noneOrAll=function(e,t,r){if(e){var n,a=!1,i=!0;for(n=0;n0?t:0}))},u.fillArray=function(e,t,r,n){if(n=n||u.identity,u.isArrayOrTypedArray(e))for(var a=0;a1?a+o[1]:"";if(i&&(o.length>1||s.length>4||r))for(;n.test(s);)s=s.replace(n,"$1"+i+"$2");return s+l},u.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var O=/^\w*$/;u.templateString=function(e,t){var r={};return e.replace(u.TEMPLATE_STRING_REGEX,(function(e,n){var a;return O.test(n)?a=t[n]:(r[n]=r[n]||u.nestedProperty(t,n).get,a=r[n]()),u.isValidTextValue(a)?a:""}))};var z={max:10,count:0,name:"hovertemplate"};u.hovertemplateString=function(){return R.apply(z,arguments)};var I={max:10,count:0,name:"texttemplate"};u.texttemplateString=function(){return R.apply(I,arguments)};var j=/^[:|\|]/;function R(e,t,a){var i=this,o=arguments;t||(t={});var s={};return e.replace(u.TEMPLATE_STRING_REGEX,(function(e,l,c){var d,f,h,p="_xother"===l||"_yother"===l,g="_xother_"===l||"_yother_"===l,v="xother_"===l||"yother_"===l,m="xother"===l||"yother"===l||p||v||g,y=l;if((p||g)&&(y=y.substring(1)),(v||g)&&(y=y.substring(0,y.length-1)),m){if(void 0===(d=t[y]))return""}else for(h=3;h=48&&o<=57,c=s>=48&&s<=57;if(l&&(n=10*n+o-48),c&&(a=10*a+s-48),!l||!c){if(n!==a)return n-a;if(o!==s)return o-s}}return a-n};var E=2e9;u.seedPseudoRandom=function(){E=2e9},u.pseudoRandom=function(){var e=E;return E=(69069*E+1)%4294967296,Math.abs(E-e)<429496729?u.pseudoRandom():E/4294967296},u.fillText=function(e,t,r){var n=Array.isArray(r)?function(e){r.push(e)}:function(e){r.text=e},a=u.extractOption(e,t,"htx","hovertext");if(u.isValidTextValue(a))return n(a);var i=u.extractOption(e,t,"tx","text");return u.isValidTextValue(i)?n(i):void 0},u.isValidTextValue=function(e){return e||0===e},u.formatPercent=function(e,t){t=t||0;for(var r=(Math.round(100*e*Math.pow(10,t))*Math.pow(.1,t)).toFixed(t)+"%",n=0;n1&&(c=1):c=0,u.strTranslate(a-c*(r+o),i-c*(n+s))+u.strScale(c)+(l?"rotate("+l+(t?"":" "+r+" "+n)+")":"")},u.ensureUniformFontSize=function(e,t){var r=u.extendFlat({},t);return r.size=Math.max(t.size,e._fullLayout.uniformtext.minsize||0),r},u.join2=function(e,t,r){var n=e.length;return n>1?e.slice(0,-1).join(t)+r+e[n-1]:e.join(t)},u.bigFont=function(e){return Math.round(1.2*e)};var N=u.getFirefoxVersion(),F=null!==N&&N<86;u.getPositionFromD3Event=function(){return F?[r.event.layerX,r.event.layerY]:[r.event.offsetX,r.event.offsetY]}})),i.register("fP9PH",(function(e,t){(function(){var t={version:"3.6.0"},r=[].slice,n=function(e){return r.call(e)},a=this.document;function i(e){return e&&(e.ownerDocument||e.document||e).documentElement}function o(e){return e&&(e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView)}if(a)try{n(a.documentElement.childNodes)[0].nodeType}catch(e){n=function(e){for(var t=e.length,r=new Array(t);t--;)r[t]=e[t];return r}}if(Date.now||(Date.now=function(){return+new Date}),a)try{a.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var s=this.Element.prototype,l=s.setAttribute,c=s.setAttributeNS,u=this.CSSStyleDeclaration.prototype,d=u.setProperty;s.setAttribute=function(e,t){l.call(this,e,t+"")},s.setAttributeNS=function(e,t,r){c.call(this,e,t,r+"")},u.setProperty=function(e,t,r){d.call(this,e,t+"",r)}}function f(e,t){return et?1:e>=t?0:NaN}function h(e){return null===e?NaN:+e}function p(e){return!isNaN(e)}function g(e){return{left:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)<0?n=i+1:a=i}return n},right:function(t,r,n,a){for(arguments.length<3&&(n=0),arguments.length<4&&(a=t.length);n>>1;e(t[i],r)>0?a=i:n=i+1}return n}}}t.ascending=f,t.descending=function(e,t){return te?1:t>=e?0:NaN},t.min=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++an&&(r=n)}else{for(;++a=n){r=n;break}for(;++an&&(r=n)}return r},t.max=function(e,t){var r,n,a=-1,i=e.length;if(1===arguments.length){for(;++a=n){r=n;break}for(;++ar&&(r=n)}else{for(;++a=n){r=n;break}for(;++ar&&(r=n)}return r},t.extent=function(e,t){var r,n,a,i=-1,o=e.length;if(1===arguments.length){for(;++i=n){r=a=n;break}for(;++in&&(r=n),a=n){r=a=n;break}for(;++in&&(r=n),a1)return o/(l-1)},t.deviation=function(){var e=t.variance.apply(this,arguments);return e?Math.sqrt(e):e};var v=g(f);function m(e){return e.length}t.bisectLeft=v.left,t.bisect=t.bisectRight=v.right,t.bisector=function(e){return g(1===e.length?function(t,r){return f(e(t),r)}:e)},t.shuffle=function(e,t,r){(i=arguments.length)<3&&(r=e.length,i<2&&(t=0));for(var n,a,i=r-t;i;)a=Math.random()*i--|0,n=e[i+t],e[i+t]=e[a+t],e[a+t]=n;return e},t.permute=function(e,t){for(var r=t.length,n=new Array(r);r--;)n[r]=e[t[r]];return n},t.pairs=function(e){for(var t=0,r=e.length-1,n=e[0],a=new Array(r<0?0:r);t=0;)for(t=(n=e[a]).length;--t>=0;)r[--o]=n[t];return r};var y=Math.abs;function x(e){for(var t=1;e*t%1;)t*=10;return t}function b(e,t){for(var r in t)Object.defineProperty(e.prototype,r,{value:t[r],enumerable:!1})}function _(){this._=Object.create(null)}t.range=function(e,t,r){if(arguments.length<3&&(r=1,arguments.length<2&&(t=e,e=0)),(t-e)/r==1/0)throw new Error("infinite range");var n,a=[],i=x(y(r)),o=-1;if(e*=i,t*=i,(r*=i)<0)for(;(n=e+r*++o)>t;)a.push(n/i);else for(;(n=e+r*++o)=a.length)return r?r.call(n,i):e?i.sort(e):i;for(var l,c,u,d,f=-1,h=i.length,p=a[s++],g=new _;++f=a.length)return e;var r=[],n=i[t++];return e.forEach((function(e,n){r.push({key:e,values:s(n,t)})})),n?r.sort((function(e,t){return n(e.key,t.key)})):r}return n.map=function(e,t){return o(t,e,0)},n.entries=function(e){return s(o(t.map,e,0),0)},n.key=function(e){return a.push(e),n},n.sortKeys=function(e){return i[a.length-1]=e,n},n.sortValues=function(t){return e=t,n},n.rollup=function(e){return r=e,n},n},t.set=function(e){var t=new D;if(e)for(var r=0,n=e.length;r=0&&(n=e.slice(r+1),e=e.slice(0,r)),e)return arguments.length<2?this[e].on(n):this[e].on(n,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(n,null);return this}},t.event=null,t.requote=function(e){return e.replace(H,"\\$&")};var H=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,B={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)e[r]=t[r]};function U(e){return B(e,V),e}var G=function(e,t){return t.querySelector(e)},Z=function(e,t){return t.querySelectorAll(e)},q=function(e,t){var r=e.matches||e[O(e,"matchesSelector")];return(q=function(e,t){return r.call(e,t)})(e,t)};"function"==typeof Sizzle&&(G=function(e,t){return Sizzle(e,t)[0]||null},Z=Sizzle,q=Sizzle.matchesSelector),t.selection=function(){return t.select(a.documentElement)};var V=t.selection.prototype=[];function Y(e){return"function"==typeof e?e:function(){return G(e,this)}}function W(e){return"function"==typeof e?e:function(){return Z(e,this)}}V.select=function(e){var t,r,n,a,i=[];e=Y(e);for(var o=-1,s=this.length;++o=0&&"xmlns"!==(r=e.slice(0,t))&&(e=e.slice(t+1)),J.hasOwnProperty(r)?{space:J[r],local:e}:e}},V.attr=function(e,r){if(arguments.length<2){if("string"==typeof e){var n=this.node();return(e=t.ns.qualify(e)).local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(r in e)this.each(Q(r,e[r]));return this}return this.each(Q(e,r))},V.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var r=this.node(),n=(e=ee(e)).length,a=-1;if(t=r.classList){for(;++a=0;)(r=n[a])&&(i&&i!==r.nextSibling&&i.parentNode.insertBefore(r,i),i=r);return this},V.sort=function(e){e=ce.apply(this,arguments);for(var t=-1,r=this.length;++t=t&&(t=a+1);!(o=s[t])&&++t0&&(e=e.slice(0,o));var l=ge.get(e);function c(){var t=this[i];t&&(this.removeEventListener(e,t,t.$),delete this[i])}return l&&(e=l,s=me),o?r?function(){var t=s(r,n(arguments));c.call(this),this.addEventListener(e,this[i]=t,t.$=a),t._=r}:c:r?I:function(){var r,n=new RegExp("^__on([^.]+)"+t.requote(e)+"$");for(var a in this)if(r=a.match(n)){var i=this[a];this.removeEventListener(r[1],i,i.$),delete this[a]}}}t.selection.enter=de,t.selection.enter.prototype=fe,fe.append=V.append,fe.empty=V.empty,fe.node=V.node,fe.call=V.call,fe.size=V.size,fe.select=function(e){for(var t,r,n,a,i,o=[],s=-1,l=this.length;++s0?1:e<0?-1:0}function ze(e,t,r){return(t[0]-e[0])*(r[1]-e[1])-(t[1]-e[1])*(r[0]-e[0])}function Ie(e){return e>1?0:e<-1?Ae:Math.acos(e)}function je(e){return e>1?De:e<-1?-De:Math.asin(e)}function Re(e){return((e=Math.exp(e))+1/e)/2}function Ee(e){return(e=Math.sin(e/2))*e}var Ne=Math.SQRT2;t.interpolateZoom=function(e,t){var r,n,a=e[0],i=e[1],o=e[2],s=t[0],l=t[1],c=t[2],u=s-a,d=l-i,f=u*u+d*d;if(f0&&(e=e.transition().duration(g)),e.call(w.event)}function S(){c&&c.domain(l.range().map((function(e){return(e-f.x)/f.k})).map(l.invert)),d&&d.domain(u.range().map((function(e){return(e-f.y)/f.k})).map(u.invert))}function L(e){v++||e({type:"zoomstart"})}function D(e){S(),e({type:"zoom",scale:f.k,translate:[f.x,f.y]})}function P(e){--v||(e({type:"zoomend"}),r=null)}function C(){var e=this,r=_.of(e,arguments),n=0,a=t.select(o(e)).on(y,l).on(x,c),i=k(t.mouse(e)),s=be(e);function l(){n=1,M(t.mouse(e),i),D(r)}function c(){a.on(y,null).on(x,null),s(n),P(r)}Os.call(e),L(r)}function O(){var e,r=this,n=_.of(r,arguments),a={},i=0,o=".zoom-"+t.event.changedTouches[0].identifier,l="touchmove"+o,c="touchend"+o,u=[],d=t.select(r),h=be(r);function p(){var n=t.touches(r);return e=f.k,n.forEach((function(e){e.identifier in a&&(a[e.identifier]=k(e))})),n}function g(){var e=t.event.target;t.select(e).on(l,v).on(c,y),u.push(e);for(var n=t.event.changedTouches,o=0,d=n.length;o1){m=h[0];var x=h[1],b=m[0]-x[0],_=m[1]-x[1];i=b*b+_*_}}function v(){var o,l,c,u,d=t.touches(r);Os.call(r);for(var f=0,h=d.length;f360?e-=360:e<0&&(e+=360),e<60?n+(a-n)*e/60:e<180?a:e<240?n+(a-n)*(240-e)/60:n}(e))}return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)||t<0?0:t>1?1:t,n=2*(r=r<0?0:r>1?1:r)-(a=r<=.5?r*(1+t):r+t-r*t),new it(i(e+120),i(e),i(e-120))}function Ve(e,r,n){return this instanceof Ve?(this.h=+e,this.c=+r,void(this.l=+n)):arguments.length<2?e instanceof Ve?new Ve(e.h,e.c,e.l):tt(e instanceof Xe?e.l:(e=ft((e=t.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new Ve(e,r,n)}Ze.brighter=function(e){return e=Math.pow(.7,arguments.length?e:1),new Ge(this.h,this.s,this.l/e)},Ze.darker=function(e){return e=Math.pow(.7,arguments.length?e:1),new Ge(this.h,this.s,e*this.l)},Ze.rgb=function(){return qe(this.h,this.s,this.l)},t.hcl=Ve;var Ye=Ve.prototype=new Ue;function We(e,t,r){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new Xe(r,Math.cos(e*=Pe)*t,Math.sin(e)*t)}function Xe(e,t,r){return this instanceof Xe?(this.l=+e,this.a=+t,void(this.b=+r)):arguments.length<2?e instanceof Xe?new Xe(e.l,e.a,e.b):e instanceof Ve?We(e.h,e.c,e.l):ft((e=it(e)).r,e.g,e.b):new Xe(e,t,r)}Ye.brighter=function(e){return new Ve(this.h,this.c,Math.min(100,this.l+Je*(arguments.length?e:1)))},Ye.darker=function(e){return new Ve(this.h,this.c,Math.max(0,this.l-Je*(arguments.length?e:1)))},Ye.rgb=function(){return We(this.h,this.c,this.l).rgb()},t.lab=Xe;var Je=18,Qe=.95047,Ke=1.08883,$e=Xe.prototype=new Ue;function et(e,t,r){var n=(e+16)/116,a=n+t/500,i=n-r/200;return new it(at(3.2404542*(a=rt(a)*Qe)-1.5371385*(n=1*rt(n))-.4985314*(i=rt(i)*Ke)),at(-.969266*a+1.8760108*n+.041556*i),at(.0556434*a-.2040259*n+1.0572252*i))}function tt(e,t,r){return e>0?new Ve(Math.atan2(r,t)*Ce,Math.sqrt(t*t+r*r),e):new Ve(NaN,NaN,e)}function rt(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function nt(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function at(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function it(e,t,r){return this instanceof it?(this.r=~~e,this.g=~~t,void(this.b=~~r)):arguments.length<2?e instanceof it?new it(e.r,e.g,e.b):ut(""+e,it,qe):new it(e,t,r)}function ot(e){return new it(e>>16,e>>8&255,255&e)}function st(e){return ot(e)+""}$e.brighter=function(e){return new Xe(Math.min(100,this.l+Je*(arguments.length?e:1)),this.a,this.b)},$e.darker=function(e){return new Xe(Math.max(0,this.l-Je*(arguments.length?e:1)),this.a,this.b)},$e.rgb=function(){return et(this.l,this.a,this.b)},t.rgb=it;var lt=it.prototype=new Ue;function ct(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function ut(e,t,r){var n,a,i,o=0,s=0,l=0;if(n=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(a=n[2].split(","),n[1]){case"hsl":return r(parseFloat(a[0]),parseFloat(a[1])/100,parseFloat(a[2])/100);case"rgb":return t(pt(a[0]),pt(a[1]),pt(a[2]))}return(i=gt.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(o=(3840&i)>>4,o|=o>>4,s=240&i,s|=s>>4,l=15&i,l|=l<<4):7===e.length&&(o=(16711680&i)>>16,s=(65280&i)>>8,l=255&i)),t(o,s,l))}function dt(e,t,r){var n,a,i=Math.min(e/=255,t/=255,r/=255),o=Math.max(e,t,r),s=o-i,l=(o+i)/2;return s?(a=l<.5?s/(o+i):s/(2-o-i),n=e==o?(t-r)/s+(t0&&l<1?0:n),new Ge(n,a,l)}function ft(e,t,r){var n=nt((.4124564*(e=ht(e))+.3575761*(t=ht(t))+.1804375*(r=ht(r)))/Qe),a=nt((.2126729*e+.7151522*t+.072175*r)/1);return Xe(116*a-16,500*(n-a),200*(a-nt((.0193339*e+.119192*t+.9503041*r)/Ke)))}function ht(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function pt(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}lt.brighter=function(e){e=Math.pow(.7,arguments.length?e:1);var t=this.r,r=this.g,n=this.b,a=30;return t||r||n?(t&&t=200&&t<300||304===t){try{e=a.call(o,c)}catch(e){return void s.error.call(o,e)}s.load.call(o,e)}else s.error.call(o,c)}return this.XDomainRequest&&!("withCredentials"in c)&&/^(http(s)?:)?\/\//.test(e)&&(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=d:c.onreadystatechange=function(){c.readyState>3&&d()},c.onprogress=function(e){var r=t.event;t.event=e;try{s.progress.call(o,c)}finally{t.event=r}},o.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?l[e]:(null==t?delete l[e]:l[e]=t+"",o)},o.mimeType=function(e){return arguments.length?(r=null==e?null:e+"",o):r},o.responseType=function(e){return arguments.length?(u=e,o):u},o.response=function(e){return a=e,o},["get","post"].forEach((function(e){o[e]=function(){return o.send.apply(o,[e].concat(n(arguments)))}})),o.send=function(t,n,a){if(2===arguments.length&&"function"==typeof n&&(a=n,n=null),c.open(t,e,!0),null==r||"accept"in l||(l.accept=r+",*/*"),c.setRequestHeader)for(var i in l)c.setRequestHeader(i,l[i]);return null!=r&&c.overrideMimeType&&c.overrideMimeType(r),null!=u&&(c.responseType=u),null!=a&&o.on("error",a).on("load",(function(e){a(null,e)})),s.beforesend.call(o,c),c.send(null==n?null:n),o},o.abort=function(){return c.abort(),o},t.rebind(o,s,"on"),null==i?o:o.get(function(e){return 1===e.length?function(t,r){e(null==t?r:null)}:e}(i))}gt.forEach((function(e,t){gt.set(e,ot(t))})),t.functor=vt,t.xhr=mt(P),t.dsv=function(e,t){var r=new RegExp('["'+e+"\n]"),n=e.charCodeAt(0);function a(e,r,n){arguments.length<3&&(n=r,r=null);var a=yt(e,t,null==r?i:o(r),n);return a.row=function(e){return arguments.length?a.response(null==(r=e)?i:o(e)):r},a}function i(e){return a.parse(e.responseText)}function o(e){return function(t){return a.parse(t.responseText,e)}}function s(t){return t.map(l).join(e)}function l(e){return r.test(e)?'"'+e.replace(/\"/g,'""')+'"':e}return a.parse=function(e,t){var r;return a.parseRows(e,(function(e,n){if(r)return r(e,n-1);var a=function(t){for(var r={},n=e.length,a=0;a=l)return o;if(a)return a=!1,i;var t=c;if(34===e.charCodeAt(t)){for(var r=t;r++24?(isFinite(t)&&(clearTimeout(wt),wt=setTimeout(Mt,t)),_t=0):(_t=1,kt(Mt))}function At(){for(var e=Date.now(),t=xt;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function St(){for(var e,t=xt,r=1/0;t;)t.c?(t.t8?function(e){return e/r}:function(e){return e*r},symbol:e}}));function Pt(e){var r=e.decimal,n=e.thousands,a=e.grouping,i=e.currency,o=a&&n?function(e,t){for(var r=e.length,i=[],o=0,s=a[0],l=0;r>0&&s>0&&(l+s+1>t&&(s=Math.max(1,t-l)),i.push(e.substring(r-=s,r+s)),!((l+=s+1)>t));)s=a[o=(o+1)%a.length];return i.reverse().join(n)}:P;return function(e){var n=Ct.exec(e),a=n[1]||" ",s=n[2]||">",l=n[3]||"-",c=n[4]||"",u=n[5],d=+n[6],f=n[7],h=n[8],p=n[9],g=1,v="",m="",y=!1,x=!0;switch(h&&(h=+h.substring(1)),(u||"0"===a&&"="===s)&&(u=a="0",s="="),p){case"n":f=!0,p="g";break;case"%":g=100,m="%",p="f";break;case"p":g=100,m="%",p="r";break;case"b":case"o":case"x":case"X":"#"===c&&(v="0"+p.toLowerCase());case"c":x=!1;case"d":y=!0,h=0;break;case"s":g=-1,p="r"}"$"===c&&(v=i[0],m=i[1]),"r"!=p||h||(p="g"),null!=h&&("g"==p?h=Math.max(1,Math.min(21,h)):"e"!=p&&"f"!=p||(h=Math.max(0,Math.min(20,h)))),p=Ot.get(p)||zt;var b=u&&f;return function(e){var n=m;if(y&&e%1)return"";var i=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===l?"":l;if(g<0){var c=t.formatPrefix(e,h);e=c.scale(e),n=c.symbol+m}else e*=g;var _,w,k=(e=p(e,h)).lastIndexOf(".");if(k<0){var T=x?e.lastIndexOf("e"):-1;T<0?(_=e,w=""):(_=e.substring(0,T),w=e.substring(T))}else _=e.substring(0,k),w=r+e.substring(k+1);!u&&f&&(_=o(_,1/0));var M=v.length+_.length+w.length+(b?0:i.length),A=M"===s?A+i+e:"^"===s?A.substring(0,M>>=1)+i+e+A.substring(M):i+(b?e:A+e))+n}}}t.formatPrefix=function(e,r){var n=0;return(e=+e)&&(e<0&&(e*=-1),r&&(e=t.round(e,Lt(e,r))),n=1+Math.floor(1e-12+Math.log(e)/Math.LN10),n=Math.max(-24,Math.min(24,3*Math.floor((n-1)/3)))),Dt[8+n/3]};var Ct=/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,Ot=t.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,r){return(e=t.round(e,Lt(e,r))).toFixed(Math.max(0,Math.min(20,Lt(e*(1+1e-15),r))))}});function zt(e){return e+""}var It=t.time={},jt=Date;function Rt(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}Rt.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){Et.setUTCDate.apply(this._,arguments)},setDay:function(){Et.setUTCDay.apply(this._,arguments)},setFullYear:function(){Et.setUTCFullYear.apply(this._,arguments)},setHours:function(){Et.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){Et.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){Et.setUTCMinutes.apply(this._,arguments)},setMonth:function(){Et.setUTCMonth.apply(this._,arguments)},setSeconds:function(){Et.setUTCSeconds.apply(this._,arguments)},setTime:function(){Et.setTime.apply(this._,arguments)}};var Et=Date.prototype;function Nt(e,t,r){function n(t){var r=e(t),n=i(r,1);return t-r1)for(;o=c)return-1;if(37===(a=t.charCodeAt(s++))){if(o=t.charAt(s++),!(i=w[o in Bt?t.charAt(s++):o])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}u.utc=function(e){var t=u(e);function r(e){try{var r=new(jt=Rt);return r._=e,t(r)}finally{jt=Date}}return r.parse=function(e){try{jt=Rt;var r=t.parse(e);return r&&r._}finally{jt=Date}},r.toString=t.toString,r},u.multi=u.utc.multi=lr;var f=t.map(),h=qt(o),p=Vt(o),g=qt(s),v=Vt(s),m=qt(l),y=Vt(l),x=qt(c),b=Vt(c);i.forEach((function(e,t){f.set(e.toLowerCase(),t)}));var _={a:function(e){return s[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return c[e.getMonth()]},B:function(e){return l[e.getMonth()]},c:u(r),d:function(e,t){return Zt(e.getDate(),t,2)},e:function(e,t){return Zt(e.getDate(),t,2)},H:function(e,t){return Zt(e.getHours(),t,2)},I:function(e,t){return Zt(e.getHours()%12||12,t,2)},j:function(e,t){return Zt(1+It.dayOfYear(e),t,3)},L:function(e,t){return Zt(e.getMilliseconds(),t,3)},m:function(e,t){return Zt(e.getMonth()+1,t,2)},M:function(e,t){return Zt(e.getMinutes(),t,2)},p:function(e){return i[+(e.getHours()>=12)]},S:function(e,t){return Zt(e.getSeconds(),t,2)},U:function(e,t){return Zt(It.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Zt(It.mondayOfYear(e),t,2)},x:u(n),X:u(a),y:function(e,t){return Zt(e.getFullYear()%100,t,2)},Y:function(e,t){return Zt(e.getFullYear()%1e4,t,4)},Z:or,"%":function(){return"%"}},w={a:function(e,t,r){g.lastIndex=0;var n=g.exec(t.slice(r));return n?(e.w=v.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){h.lastIndex=0;var n=h.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){x.lastIndex=0;var n=x.exec(t.slice(r));return n?(e.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){m.lastIndex=0;var n=m.exec(t.slice(r));return n?(e.m=y.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,t,r){return d(e,_.c.toString(),t,r)},d:er,e:er,H:rr,I:rr,j:tr,L:ir,m:$t,M:nr,p:function(e,t,r){var n=f.get(t.slice(r,r+=2).toLowerCase());return null==n?-1:(e.p=n,r)},S:ar,U:Wt,w:Yt,W:Xt,x:function(e,t,r){return d(e,_.x.toString(),t,r)},X:function(e,t,r){return d(e,_.X.toString(),t,r)},y:Qt,Y:Jt,Z:Kt,"%":sr};return u}It.year=Nt((function(e){return(e=It.day(e)).setMonth(0,1),e}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e){return e.getFullYear()})),It.years=It.year.range,It.years.utc=It.year.utc.range,It.day=Nt((function(e){var t=new jt(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e){return e.getDate()-1})),It.days=It.day.range,It.days.utc=It.day.utc.range,It.dayOfYear=function(e){var t=It.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach((function(e,t){t=7-t;var r=It[e]=Nt((function(e){return(e=It.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e}),(function(e,t){e.setDate(e.getDate()+7*Math.floor(t))}),(function(e){var r=It.year(e).getDay();return Math.floor((It.dayOfYear(e)+(r+t)%7)/7)-(r!==t)}));It[e+"s"]=r.range,It[e+"s"].utc=r.utc.range,It[e+"OfYear"]=function(e){var r=It.year(e).getDay();return Math.floor((It.dayOfYear(e)+(r+t)%7)/7)}})),It.week=It.sunday,It.weeks=It.sunday.range,It.weeks.utc=It.sunday.utc.range,It.weekOfYear=It.sundayOfYear;var Bt={"-":"",_:" ",0:"0"},Ut=/^\s*\d+/,Gt=/^%/;function Zt(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+a[0].length):-1}function Kt(e,t,r){return/^[+-]\d{4}$/.test(t=t.slice(r,r+5))?(e.Z=-t,r+5):-1}function $t(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function er(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function tr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.j=+n[0],r+n[0].length):-1}function rr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function nr(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function ar(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function ir(e,t,r){Ut.lastIndex=0;var n=Ut.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function or(e){var t=e.getTimezoneOffset(),r=t>0?"-":"+",n=y(t)/60|0,a=y(t)%60;return r+Zt(n,"0",2)+Zt(a,"0",2)}function sr(e,t,r){Gt.lastIndex=0;var n=Gt.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function lr(e){for(var t=e.length,r=-1;++r=0?1:-1,s=o*i,l=Math.cos(t),c=Math.sin(t),u=a*c,d=n*l+u*Math.cos(s),f=u*o*Math.sin(s);Pr.add(Math.atan2(f,d)),r=e,n=l,a=c}Cr.point=function(o,s){Cr.point=i,r=(e=o)*Pe,n=Math.cos(s=(t=s)*Pe/2+Ae/4),a=Math.sin(s)},Cr.lineEnd=function(){i(e,t)}}function zr(e){var t=e[0],r=e[1],n=Math.cos(r);return[n*Math.cos(t),n*Math.sin(t),Math.sin(r)]}function Ir(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function jr(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Rr(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Er(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Nr(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Fr(e){return[Math.atan2(e[1],e[0]),je(e[2])]}function Hr(e,t){return y(e[0]-t[0])Te?a=90:c<-Te&&(r=-90),d[0]=e,d[1]=n}};function h(t,i){u.push(d=[e=t,n=t]),ia&&(a=i)}function p(t,o){var s=zr([t*Pe,o*Pe]);if(l){var c=jr(l,s),u=jr([c[1],-c[0],0],c);Nr(u),u=Fr(u);var d=t-i,f=d>0?1:-1,p=u[0]*Ce*f,g=y(d)>180;if(g^(f*ia&&(a=v);else if(g^(f*i<(p=(p+360)%360-180)&&pa&&(a=o);g?t_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t):n>=e?(tn&&(n=t)):t>i?_(e,t)>_(e,n)&&(n=t):_(t,n)>_(e,n)&&(e=t)}else h(t,o);l=s,i=t}function g(){f.point=p}function v(){d[0]=e,d[1]=n,f.point=h,l=null}function m(e,t){if(l){var r=e-i;c+=y(r)>180?r+(r>0?360:-360):r}else o=e,s=t;Cr.point(e,t),p(e,t)}function x(){Cr.lineStart()}function b(){m(o,s),Cr.lineEnd(),y(c)>Te&&(e=-(n=180)),d[0]=e,d[1]=n,l=null}function _(e,t){return(t-=e)<0?t+360:t}function w(e,t){return e[0]-t[0]}function k(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e_(g[0],g[1])&&(g[1]=h[1]),_(h[0],g[1])>_(g[0],g[1])&&(g[0]=h[0])):s.push(g=h);for(var l,c,h,p=-1/0,g=(o=0,s[c=s.length-1]);o<=c;g=h,++o)h=s[o],(l=_(g[1],h[0]))>p&&(p=l,e=h[0],n=g[1])}return u=d=null,e===1/0||r===1/0?[[NaN,NaN],[NaN,NaN]]:[[e,r],[n,a]]}}(),t.geo.centroid=function(e){xr=br=_r=wr=kr=Tr=Mr=Ar=Sr=Lr=Dr=0,t.geo.stream(e,Br);var r=Sr,n=Lr,a=Dr,i=r*r+n*n+a*a;return i=0;--s)a.point((d=u[s])[0],d[1]);else n(h.x,h.p.x,-1,a);h=h.p}u=(h=h.o).z,p=!p}while(!h.v);a.lineEnd()}}}function Jr(e){if(t=e.length){for(var t,r,n=0,a=e[0];++n=0?1:-1,k=w*_,T=k>Ae,M=p*x;if(Pr.add(Math.atan2(M*w*Math.sin(k),g*b+M*Math.cos(k))),i+=T?_+w*Se:_,T^f>=r^m>=r){var A=jr(zr(d),zr(e));Nr(A);var S=jr(a,A);Nr(S);var L=(T^_>=0?-1:1)*je(S[2]);(n>L||n===L&&(A[0]||A[1]))&&(o+=T^_>=0?1:-1)}if(!v++)break;f=m,p=x,g=b,d=e}}return(i<-Te||i0){for(x||(o.polygonStart(),x=!0),o.lineStart();++i1&&2&t&&r.push(r.pop().concat(r.shift())),s.push(r.filter($r))}return u}}function $r(e){return e.length>1}function en(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,r){e.push([t,r])},lineEnd:I,buffer:function(){var r=t;return t=[],e=null,r},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function tn(e,t){return((e=e.x)[0]<0?e[1]-De-Te:De-e[1])-((t=t.x)[0]<0?t[1]-De-Te:De-t[1])}var rn=Kr(Wr,(function(e){var t,r=NaN,n=NaN,a=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,o){var s=i>0?Ae:-Ae,l=y(i-r);y(l-Ae)0?De:-De),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(s,n),e.point(i,n),t=0):a!==s&&l>=Ae&&(y(r-a)Te?Math.atan((Math.sin(t)*(i=Math.cos(n))*Math.sin(r)-Math.sin(n)*(a=Math.cos(t))*Math.sin(e))/(a*i*o)):(t+n)/2}(r,n,i,o),e.point(a,n),e.lineEnd(),e.lineStart(),e.point(s,n),t=0),e.point(r=i,n=o),a=s},lineEnd:function(){e.lineEnd(),r=n=NaN},clean:function(){return 2-t}}}),(function(e,t,r,n){var a;if(null==e)a=r*De,n.point(-Ae,a),n.point(0,a),n.point(Ae,a),n.point(Ae,0),n.point(Ae,-a),n.point(0,-a),n.point(-Ae,-a),n.point(-Ae,0),n.point(-Ae,a);else if(y(e[0]-t[0])>Te){var i=e[0]0,n=y(t)>Te;function a(e,r){return Math.cos(e)*Math.cos(r)>t}function i(e,r,n){var a=[1,0,0],i=jr(zr(e),zr(r)),o=Ir(i,i),s=i[0],l=o-s*s;if(!l)return!n&&e;var c=t*o/l,u=-t*s/l,d=jr(a,i),f=Er(a,c);Rr(f,Er(i,u));var h=d,p=Ir(f,h),g=Ir(h,h),v=p*p-g*(Ir(f,f)-1);if(!(v<0)){var m=Math.sqrt(v),x=Er(h,(-p-m)/g);if(Rr(x,f),x=Fr(x),!n)return x;var b,_=e[0],w=r[0],k=e[1],T=r[1];w<_&&(b=_,_=w,w=b);var M=w-_,A=y(M-Ae)0^x[1]<(y(x[0]-_)Ae^(_<=x[0]&&x[0]<=w)){var S=Er(h,(-p+m)/g);return Rr(S,f),[x,Fr(S)]}}}function o(t,n){var a=r?e:Ae-e,i=0;return t<-a?i|=1:t>a&&(i|=2),n<-a?i|=4:n>a&&(i|=8),i}return Kr(a,(function(e){var t,s,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(d,f){var h,p=[d,f],g=a(d,f),v=r?g?0:o(d,f):g?o(d+(d<0?Ae:-Ae),f):0;if(!t&&(c=l=g)&&e.lineStart(),g!==l&&(h=i(t,p),(Hr(t,h)||Hr(p,h))&&(p[0]+=Te,p[1]+=Te,g=a(p[0],p[1]))),g!==l)u=0,g?(e.lineStart(),h=i(p,t),e.point(h[0],h[1])):(h=i(t,p),e.point(h[0],h[1]),e.lineEnd()),t=h;else if(n&&t&&r^g){var m;v&s||!(m=i(p,t,!0))||(u=0,r?(e.lineStart(),e.point(m[0][0],m[0][1]),e.point(m[1][0],m[1][1]),e.lineEnd()):(e.point(m[1][0],m[1][1]),e.lineEnd(),e.lineStart(),e.point(m[0][0],m[0][1])))}!g||t&&Hr(t,p)||e.point(p[0],p[1]),t=p,l=g,s=v},lineEnd:function(){l&&e.lineEnd(),t=null},clean:function(){return u|(c&&l)<<1}}}),Bn(e,6*Pe),r?[0,-e]:[-Ae,e-Ae])}function an(e,t,r,n){return function(a){var i,o=a.a,s=a.b,l=o.x,c=o.y,u=0,d=1,f=s.x-l,h=s.y-c;if(i=e-l,f||!(i>0)){if(i/=f,f<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=r-l,f||!(i<0)){if(i/=f,f<0){if(i>d)return;i>u&&(u=i)}else if(f>0){if(i0)){if(i/=h,h<0){if(i0){if(i>d)return;i>u&&(u=i)}if(i=n-c,h||!(i<0)){if(i/=h,h<0){if(i>d)return;i>u&&(u=i)}else if(h>0){if(i0&&(a.a={x:l+u*f,y:c+u*h}),d<1&&(a.b={x:l+d*f,y:c+d*h}),a}}}}}}var on=1e9;function sn(e,r,n,a){function i(t,a){return y(t[0]-e)0?0:3:y(t[0]-n)0?2:1:y(t[1]-r)0?1:0:a>0?3:2}function o(e,t){return s(e.x,t.x)}function s(e,t){var r=i(e,1),n=i(t,1);return r!==n?r-n:0===r?t[1]-e[1]:1===r?e[0]-t[0]:2===r?e[1]-t[1]:t[0]-e[0]}return function(l){var c,u,d,f,h,p,g,v,m,y,x,b=l,_=en(),w=an(e,r,n,a),k={point:A,lineStart:function(){k.point=S,u&&u.push(d=[]);y=!0,m=!1,g=v=NaN},lineEnd:function(){c&&(S(f,h),p&&m&&_.rejoin(),c.push(_.buffer()));k.point=A,m&&l.lineEnd()},polygonStart:function(){l=_,c=[],u=[],x=!0},polygonEnd:function(){l=b,c=t.merge(c);var r=function(e){for(var t=0,r=u.length,n=e[1],a=0;an&&ze(c,i,e)>0&&++t:i[1]<=n&&ze(c,i,e)<0&&--t,c=i;return 0!==t}([e,a]),n=x&&r,i=c.length;(n||i)&&(l.polygonStart(),n&&(l.lineStart(),T(null,null,1,l),l.lineEnd()),i&&Xr(c,o,r,T,l),l.polygonEnd()),c=u=d=null}};function T(t,o,l,c){var u=0,d=0;if(null==t||(u=i(t,l))!==(d=i(o,l))||s(t,o)<0^l>0)do{c.point(0===u||3===u?e:n,u>1?a:r)}while((u=(u+l+4)%4)!==d);else c.point(o[0],o[1])}function M(t,i){return e<=t&&t<=n&&r<=i&&i<=a}function A(e,t){M(e,t)&&l.point(e,t)}function S(e,t){var r=M(e=Math.max(-1e9,Math.min(on,e)),t=Math.max(-1e9,Math.min(on,t)));if(u&&d.push([e,t]),y)f=e,h=t,p=r,y=!1,r&&(l.lineStart(),l.point(e,t));else if(r&&m)l.point(e,t);else{var n={a:{x:g,y:v},b:{x:e,y:t}};w(n)?(m||(l.lineStart(),l.point(n.a.x,n.a.y)),l.point(n.b.x,n.b.y),r||l.lineEnd(),x=!1):r&&(l.lineStart(),l.point(e,t),x=!1)}g=e,v=t,m=r}return k}}function ln(e){var t=0,r=Ae/3,n=zn(e),a=n(t,r);return a.parallels=function(e){return arguments.length?n(t=e[0]*Ae/180,r=e[1]*Ae/180):[t/Ae*180,r/Ae*180]},a}function cn(e,t){var r=Math.sin(e),n=(r+Math.sin(t))/2,a=1+r*(2*n-r),i=Math.sqrt(a)/n;function o(e,t){var r=Math.sqrt(a-2*n*Math.sin(t))/n;return[r*Math.sin(e*=n),i-r*Math.cos(e)]}return o.invert=function(e,t){var r=i-t;return[Math.atan2(e,r)/n,je((a-(e*e+r*r)*n*n)/(2*n))]},o}t.geo.clipExtent=function(){var e,t,r,n,a,i,o={stream:function(e){return a&&(a.valid=!1),(a=i(e)).valid=!0,a},extent:function(s){return arguments.length?(i=sn(e=+s[0][0],t=+s[0][1],r=+s[1][0],n=+s[1][1]),a&&(a.valid=!1,a=null),o):[[e,t],[r,n]]}};return o.extent([[0,0],[960,500]])},(t.geo.conicEqualArea=function(){return ln(cn)}).raw=cn,t.geo.albers=function(){return t.geo.conicEqualArea().rotate([96,0]).center([-.6,38.7]).parallels([29.5,45.5]).scale(1070)},t.geo.albersUsa=function(){var e,r,n,a,i=t.geo.albers(),o=t.geo.conicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=t.geo.conicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),l={point:function(t,r){e=[t,r]}};function c(t){var i=t[0],o=t[1];return e=null,r(i,o),e||(n(i,o),e)||a(i,o),e}return c.invert=function(e){var t=i.scale(),r=i.translate(),n=(e[0]-r[0])/t,a=(e[1]-r[1])/t;return(a>=.12&&a<.234&&n>=-.425&&n<-.214?o:a>=.166&&a<.234&&n>=-.214&&n<-.115?s:i).invert(e)},c.stream=function(e){var t=i.stream(e),r=o.stream(e),n=s.stream(e);return{point:function(e,a){t.point(e,a),r.point(e,a),n.point(e,a)},sphere:function(){t.sphere(),r.sphere(),n.sphere()},lineStart:function(){t.lineStart(),r.lineStart(),n.lineStart()},lineEnd:function(){t.lineEnd(),r.lineEnd(),n.lineEnd()},polygonStart:function(){t.polygonStart(),r.polygonStart(),n.polygonStart()},polygonEnd:function(){t.polygonEnd(),r.polygonEnd(),n.polygonEnd()}}},c.precision=function(e){return arguments.length?(i.precision(e),o.precision(e),s.precision(e),c):i.precision()},c.scale=function(e){return arguments.length?(i.scale(e),o.scale(.35*e),s.scale(e),c.translate(i.translate())):i.scale()},c.translate=function(e){if(!arguments.length)return i.translate();var t=i.scale(),u=+e[0],d=+e[1];return r=i.translate(e).clipExtent([[u-.455*t,d-.238*t],[u+.455*t,d+.238*t]]).stream(l).point,n=o.translate([u-.307*t,d+.201*t]).clipExtent([[u-.425*t+Te,d+.12*t+Te],[u-.214*t-Te,d+.234*t-Te]]).stream(l).point,a=s.translate([u-.205*t,d+.212*t]).clipExtent([[u-.214*t+Te,d+.166*t+Te],[u-.115*t-Te,d+.234*t-Te]]).stream(l).point,c},c.scale(1070)};var un,dn,fn,hn,pn,gn,vn={point:I,lineStart:I,lineEnd:I,polygonStart:function(){dn=0,vn.lineStart=mn},polygonEnd:function(){vn.lineStart=vn.lineEnd=vn.point=I,un+=y(dn/2)}};function mn(){var e,t,r,n;function a(e,t){dn+=n*e-r*t,r=e,n=t}vn.point=function(i,o){vn.point=a,e=r=i,t=n=o},vn.lineEnd=function(){a(e,t)}}var yn={point:function(e,t){epn&&(pn=e);tgn&&(gn=t)},lineStart:I,lineEnd:I,polygonStart:I,polygonEnd:I};function xn(){var e=bn(4.5),t=[],r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=s},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(t){return e=bn(t),r},result:function(){if(t.length){var e=t.join("");return t=[],e}}};function n(r,n){t.push("M",r,",",n,e)}function a(e,n){t.push("M",e,",",n),r.point=i}function i(e,r){t.push("L",e,",",r)}function o(){r.point=n}function s(){t.push("Z")}return r}function bn(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}var _n,wn={point:kn,lineStart:Tn,lineEnd:Mn,polygonStart:function(){wn.lineStart=An},polygonEnd:function(){wn.point=kn,wn.lineStart=Tn,wn.lineEnd=Mn}};function kn(e,t){_r+=e,wr+=t,++kr}function Tn(){var e,t;function r(r,n){var a=r-e,i=n-t,o=Math.sqrt(a*a+i*i);Tr+=o*(e+r)/2,Mr+=o*(t+n)/2,Ar+=o,kn(e=r,t=n)}wn.point=function(n,a){wn.point=r,kn(e=n,t=a)}}function Mn(){wn.point=kn}function An(){var e,t,r,n;function a(e,t){var a=e-r,i=t-n,o=Math.sqrt(a*a+i*i);Tr+=o*(r+e)/2,Mr+=o*(n+t)/2,Ar+=o,Sr+=(o=n*e-r*t)*(r+e),Lr+=o*(n+t),Dr+=3*o,kn(r=e,n=t)}wn.point=function(i,o){wn.point=a,kn(e=r=i,t=n=o)},wn.lineEnd=function(){a(e,t)}}function Sn(e){var t=4.5,r={point:n,lineStart:function(){r.point=a},lineEnd:o,polygonStart:function(){r.lineEnd=s},polygonEnd:function(){r.lineEnd=o,r.point=n},pointRadius:function(e){return t=e,r},result:I};function n(r,n){e.moveTo(r+t,n),e.arc(r,n,t,0,Se)}function a(t,n){e.moveTo(t,n),r.point=i}function i(t,r){e.lineTo(t,r)}function o(){r.point=n}function s(){e.closePath()}return r}function Ln(e){var t=.5,r=Math.cos(30*Pe),n=16;function a(e){return(n?o:i)(e)}function i(t){return Cn(t,(function(r,n){r=e(r,n),t.point(r[0],r[1])}))}function o(t){var r,a,i,o,l,c,u,d,f,h,p,g,v={point:m,lineStart:y,lineEnd:b,polygonStart:function(){t.polygonStart(),v.lineStart=_},polygonEnd:function(){t.polygonEnd(),v.lineStart=y}};function m(r,n){r=e(r,n),t.point(r[0],r[1])}function y(){d=NaN,v.point=x,t.lineStart()}function x(r,a){var i=zr([r,a]),o=e(r,a);s(d,f,u,h,p,g,d=o[0],f=o[1],u=r,h=i[0],p=i[1],g=i[2],n,t),t.point(d,f)}function b(){v.point=m,t.lineEnd()}function _(){y(),v.point=w,v.lineEnd=k}function w(e,t){x(r=e,t),a=d,i=f,o=h,l=p,c=g,v.point=x}function k(){s(d,f,u,h,p,g,a,i,r,o,l,c,n,t),v.lineEnd=b,b()}return v}function s(n,a,i,o,l,c,u,d,f,h,p,g,v,m){var x=u-n,b=d-a,_=x*x+b*b;if(_>4*t&&v--){var w=o+h,k=l+p,T=c+g,M=Math.sqrt(w*w+k*k+T*T),A=Math.asin(T/=M),S=y(y(T)-1)t||y((x*C+b*O)/_-.5)>.3||o*h+l*p+c*g0&&16,a):Math.sqrt(t)},a}function Dn(e){var t=Ln((function(t,r){return e([t*Ce,r*Ce])}));return function(e){return In(t(e))}}function Pn(e){this.stream=e}function Cn(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function On(e){return zn((function(){return e}))()}function zn(e){var r,n,a,i,o,s,l=Ln((function(e,t){return[(e=r(e,t))[0]*c+i,o-e[1]*c]})),c=150,u=480,d=250,f=0,h=0,p=0,g=0,v=0,m=rn,y=P,x=null,b=null;function _(e){return[(e=a(e[0]*Pe,e[1]*Pe))[0]*c+i,o-e[1]*c]}function w(e){return(e=a.invert((e[0]-i)/c,(o-e[1])/c))&&[e[0]*Ce,e[1]*Ce]}function k(){a=Yr(n=En(p,g,v),r);var e=r(f,h);return i=u-e[0]*c,o=d+e[1]*c,T()}function T(){return s&&(s.valid=!1,s=null),_}return _.stream=function(e){return s&&(s.valid=!1),(s=In(m(n,l(y(e))))).valid=!0,s},_.clipAngle=function(e){return arguments.length?(m=null==e?(x=e,rn):nn((x=+e)*Pe),T()):x},_.clipExtent=function(e){return arguments.length?(b=e,y=e?sn(e[0][0],e[0][1],e[1][0],e[1][1]):P,T()):b},_.scale=function(e){return arguments.length?(c=+e,k()):c},_.translate=function(e){return arguments.length?(u=+e[0],d=+e[1],k()):[u,d]},_.center=function(e){return arguments.length?(f=e[0]%360*Pe,h=e[1]%360*Pe,k()):[f*Ce,h*Ce]},_.rotate=function(e){return arguments.length?(p=e[0]%360*Pe,g=e[1]%360*Pe,v=e.length>2?e[2]%360*Pe:0,k()):[p*Ce,g*Ce,v*Ce]},t.rebind(_,l,"precision"),function(){return r=e.apply(this,arguments),_.invert=r.invert&&w,k()}}function In(e){return Cn(e,(function(t,r){e.point(t*Pe,r*Pe)}))}function jn(e,t){return[e,t]}function Rn(e,t){return[e>Ae?e-Se:e<-Ae?e+Se:e,t]}function En(e,t,r){return e?t||r?Yr(Fn(e),Hn(t,r)):Fn(e):t||r?Hn(t,r):Rn}function Nn(e){return function(t,r){return[(t+=e)>Ae?t-Se:t<-Ae?t+Se:t,r]}}function Fn(e){var t=Nn(e);return t.invert=Nn(-e),t}function Hn(e,t){var r=Math.cos(e),n=Math.sin(e),a=Math.cos(t),i=Math.sin(t);function o(e,t){var o=Math.cos(t),s=Math.cos(e)*o,l=Math.sin(e)*o,c=Math.sin(t),u=c*r+s*n;return[Math.atan2(l*a-u*i,s*r-c*n),je(u*a+l*i)]}return o.invert=function(e,t){var o=Math.cos(t),s=Math.cos(e)*o,l=Math.sin(e)*o,c=Math.sin(t),u=c*a-l*i;return[Math.atan2(l*a+c*i,s*r+u*n),je(u*r-s*n)]},o}function Bn(e,t){var r=Math.cos(e),n=Math.sin(e);return function(a,i,o,s){var l=o*t;null!=a?(a=Un(r,a),i=Un(r,i),(o>0?ai)&&(a+=o*Se)):(a=e+o*Se,i=e-.5*l);for(var c,u=a;o>0?u>i:u2?e[2]*Pe:0),t.invert=function(t){return(t=e.invert(t[0]*Pe,t[1]*Pe))[0]*=Ce,t[1]*=Ce,t},t},Rn.invert=jn,t.geo.circle=function(){var e,t,r=[0,0],n=6;function a(){var e="function"==typeof r?r.apply(this,arguments):r,n=En(-e[0]*Pe,-e[1]*Pe,0).invert,a=[];return t(null,null,1,{point:function(e,t){a.push(e=n(e,t)),e[0]*=Ce,e[1]*=Ce}}),{type:"Polygon",coordinates:[a]}}return a.origin=function(e){return arguments.length?(r=e,a):r},a.angle=function(r){return arguments.length?(t=Bn((e=+r)*Pe,n*Pe),a):e},a.precision=function(r){return arguments.length?(t=Bn(e*Pe,(n=+r)*Pe),a):n},a.angle(90)},t.geo.distance=function(e,t){var r,n=(t[0]-e[0])*Pe,a=e[1]*Pe,i=t[1]*Pe,o=Math.sin(n),s=Math.cos(n),l=Math.sin(a),c=Math.cos(a),u=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((r=d*o)*r+(r=c*u-l*d*s)*r),l*u+c*d*s)},t.geo.graticule=function(){var e,r,n,a,i,o,s,l,c,u,d,f,h=10,p=h,g=90,v=360,m=2.5;function x(){return{type:"MultiLineString",coordinates:b()}}function b(){return t.range(Math.ceil(a/g)*g,n,g).map(d).concat(t.range(Math.ceil(l/v)*v,s,v).map(f)).concat(t.range(Math.ceil(r/h)*h,e,h).filter((function(e){return y(e%g)>Te})).map(c)).concat(t.range(Math.ceil(o/p)*p,i,p).filter((function(e){return y(e%v)>Te})).map(u))}return x.lines=function(){return b().map((function(e){return{type:"LineString",coordinates:e}}))},x.outline=function(){return{type:"Polygon",coordinates:[d(a).concat(f(s).slice(1),d(n).reverse().slice(1),f(l).reverse().slice(1))]}},x.extent=function(e){return arguments.length?x.majorExtent(e).minorExtent(e):x.minorExtent()},x.majorExtent=function(e){return arguments.length?(a=+e[0][0],n=+e[1][0],l=+e[0][1],s=+e[1][1],a>n&&(e=a,a=n,n=e),l>s&&(e=l,l=s,s=e),x.precision(m)):[[a,l],[n,s]]},x.minorExtent=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],o=+t[0][1],i=+t[1][1],r>e&&(t=r,r=e,e=t),o>i&&(t=o,o=i,i=t),x.precision(m)):[[r,o],[e,i]]},x.step=function(e){return arguments.length?x.majorStep(e).minorStep(e):x.minorStep()},x.majorStep=function(e){return arguments.length?(g=+e[0],v=+e[1],x):[g,v]},x.minorStep=function(e){return arguments.length?(h=+e[0],p=+e[1],x):[h,p]},x.precision=function(t){return arguments.length?(m=+t,c=Gn(o,i,90),u=Zn(r,e,m),d=Gn(l,s,90),f=Zn(a,n,m),x):m},x.majorExtent([[-180,-90+Te],[180,90-Te]]).minorExtent([[-180,-80-Te],[180,80+Te]])},t.geo.greatArc=function(){var e,r,n=qn,a=Vn;function i(){return{type:"LineString",coordinates:[e||n.apply(this,arguments),r||a.apply(this,arguments)]}}return i.distance=function(){return t.geo.distance(e||n.apply(this,arguments),r||a.apply(this,arguments))},i.source=function(t){return arguments.length?(n=t,e="function"==typeof t?null:t,i):n},i.target=function(e){return arguments.length?(a=e,r="function"==typeof e?null:e,i):a},i.precision=function(){return arguments.length?i:0},i},t.geo.interpolate=function(e,t){return r=e[0]*Pe,n=e[1]*Pe,a=t[0]*Pe,i=t[1]*Pe,o=Math.cos(n),s=Math.sin(n),l=Math.cos(i),c=Math.sin(i),u=o*Math.cos(r),d=o*Math.sin(r),f=l*Math.cos(a),h=l*Math.sin(a),p=2*Math.asin(Math.sqrt(Ee(i-n)+o*l*Ee(a-r))),g=1/Math.sin(p),(v=p?function(e){var t=Math.sin(e*=p)*g,r=Math.sin(p-e)*g,n=r*u+t*f,a=r*d+t*h,i=r*s+t*c;return[Math.atan2(a,n)*Ce,Math.atan2(i,Math.sqrt(n*n+a*a))*Ce]}:function(){return[r*Ce,n*Ce]}).distance=p,v;var r,n,a,i,o,s,l,c,u,d,f,h,p,g,v},t.geo.length=function(e){return _n=0,t.geo.stream(e,Yn),_n};var Yn={sphere:I,point:I,lineStart:function(){var e,t,r;function n(n,a){var i=Math.sin(a*=Pe),o=Math.cos(a),s=y((n*=Pe)-e),l=Math.cos(s);_n+=Math.atan2(Math.sqrt((s=o*Math.sin(s))*s+(s=r*i-t*o*l)*s),t*i+r*o*l),e=n,t=i,r=o}Yn.point=function(a,i){e=a*Pe,t=Math.sin(i*=Pe),r=Math.cos(i),Yn.point=n},Yn.lineEnd=function(){Yn.point=Yn.lineEnd=I}},lineEnd:I,polygonStart:I,polygonEnd:I};function Wn(e,t){function r(t,r){var n=Math.cos(t),a=Math.cos(r),i=e(n*a);return[i*a*Math.sin(t),i*Math.sin(r)]}return r.invert=function(e,r){var n=Math.sqrt(e*e+r*r),a=t(n),i=Math.sin(a),o=Math.cos(a);return[Math.atan2(e*i,n*o),Math.asin(n&&r*i/n)]},r}var Xn=Wn((function(e){return Math.sqrt(2/(1+e))}),(function(e){return 2*Math.asin(e/2)}));(t.geo.azimuthalEqualArea=function(){return On(Xn)}).raw=Xn;var Jn=Wn((function(e){var t=Math.acos(e);return t&&t/Math.sin(t)}),P);function Qn(e,t){var r=Math.cos(e),n=function(e){return Math.tan(Ae/4+e/2)},a=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(n(t)/n(e)),i=r*Math.pow(n(e),a)/a;if(!a)return ea;function o(e,t){i>0?t<-De+Te&&(t=-De+Te):t>De-Te&&(t=De-Te);var r=i/Math.pow(n(t),a);return[r*Math.sin(a*e),i-r*Math.cos(a*e)]}return o.invert=function(e,t){var r=i-t,n=Oe(a)*Math.sqrt(e*e+r*r);return[Math.atan2(e,r)/a,2*Math.atan(Math.pow(i/n,1/a))-De]},o}function Kn(e,t){var r=Math.cos(e),n=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),a=r/n+e;if(y(n)1&&ze(e[r[n-2]],e[r[n-1]],e[a])<=0;)--n;r[n++]=a}return r.slice(0,n)}function la(e,t){return e[0]-t[0]||e[1]-t[1]}(t.geo.stereographic=function(){return On(na)}).raw=na,aa.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-De]},(t.geo.transverseMercator=function(){var e=ta(aa),t=e.center,r=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):[(e=t())[1],-e[0]]},e.rotate=function(e){return e?r([e[0],e[1],e.length>2?e[2]+90:90]):[(e=r())[0],e[1],e[2]-90]},r([0,0,90])}).raw=aa,t.geom={},t.geom.hull=function(e){var t=ia,r=oa;if(arguments.length)return n(e);function n(e){if(e.length<3)return[];var n,a=vt(t),i=vt(r),o=e.length,s=[],l=[];for(n=0;n=0;--n)h.push(e[s[c[n]][2]]);for(n=+d;nTe)s=s.L;else{if(!((a=i-Aa(s,o))>Te)){n>-Te?(t=s.P,r=s):a>-Te?(t=s,r=s.N):t=r=s;break}if(!s.R){t=s;break}s=s.R}var l=_a(e);if(ga.insert(t,l),t||r){if(t===r)return Ca(t),r=_a(t.site),ga.insert(l,r),l.edge=r.edge=Ia(t.site,l.site),Pa(t),void Pa(r);if(r){Ca(t),Ca(r);var c=t.site,u=c.x,d=c.y,f=e.x-u,h=e.y-d,p=r.site,g=p.x-u,v=p.y-d,m=2*(f*v-h*g),y=f*f+h*h,x=g*g+v*v,b={x:(v*y-h*x)/m+u,y:(f*x-g*y)/m+d};Ra(r.edge,c,p,b),l.edge=Ia(c,e,null,b),r.edge=Ia(e,p,null,b),Pa(t),Pa(r)}else l.edge=Ia(t.site,l.site)}}function Ma(e,t){var r=e.site,n=r.x,a=r.y,i=a-t;if(!i)return n;var o=e.P;if(!o)return-1/0;var s=(r=o.site).x,l=r.y,c=l-t;if(!c)return s;var u=s-n,d=1/i-1/c,f=u/c;return d?(-f+Math.sqrt(f*f-2*d*(u*u/(-2*c)-l+c/2+a-i/2)))/d+n:(n+s)/2}function Aa(e,t){var r=e.N;if(r)return Ma(r,t);var n=e.site;return n.y===t?n.x:1/0}function Sa(e){this.site=e,this.edges=[]}function La(e,t){return t.angle-e.angle}function Da(){Fa(this),this.x=this.y=this.arc=this.site=this.cy=null}function Pa(e){var t=e.P,r=e.N;if(t&&r){var n=t.site,a=e.site,i=r.site;if(n!==i){var o=a.x,s=a.y,l=n.x-o,c=n.y-s,u=i.x-o,d=2*(l*(v=i.y-s)-c*u);if(!(d>=-Me)){var f=l*l+c*c,h=u*u+v*v,p=(v*f-c*h)/d,g=(l*h-u*f)/d,v=g+s,m=xa.pop()||new Da;m.arc=e,m.site=a,m.x=p+o,m.y=v+Math.sqrt(p*p+g*g),m.cy=v,e.circle=m;for(var y=null,x=ma._;x;)if(m.y=s)return;if(f>p){if(i){if(i.y>=c)return}else i={x:v,y:l};r={x:v,y:c}}else{if(i){if(i.y1)if(f>p){if(i){if(i.y>=c)return}else i={x:(l-a)/n,y:l};r={x:(c-a)/n,y:c}}else{if(i){if(i.y=s)return}else i={x:o,y:n*o+a};r={x:s,y:n*s+a}}else{if(i){if(i.xTe||y(a-r)>Te)&&(s.splice(o,0,new Ea(ja(i.site,u,y(n-d)Te?{x:d,y:y(t-d)Te?{x:y(r-p)Te?{x:f,y:y(t-f)Te?{x:y(r-h)=r&&c.x<=a&&c.y>=n&&c.y<=o?[[r,o],[a,o],[a,n],[r,n]]:[]).point=e[s]})),t}function s(e){return e.map((function(e,t){return{x:Math.round(n(e,t)/Te)*Te,y:Math.round(a(e,t)/Te)*Te,i:t}}))}return o.links=function(e){return Ga(s(e)).edges.filter((function(e){return e.l&&e.r})).map((function(t){return{source:e[t.l.i],target:e[t.r.i]}}))},o.triangles=function(e){var t=[];return Ga(s(e)).cells.forEach((function(r,n){for(var a,i,o,s,l=r.site,c=r.edges.sort(La),u=-1,d=c.length,f=c[d-1].edge,h=f.l===l?f.r:f.l;++ui||d>o||f=_)<<1|t>=b,k=w+4;wi&&(a=t.slice(i,a),s[o]?s[o]+=a:s[++o]=a),(r=r[0])===(n=n[0])?s[o]?s[o]+=n:s[++o]=n:(s[++o]=null,l.push({i:o,x:Ka(r,n)})),i=ti.lastIndex;return ig&&(g=l.x),l.y>v&&(v=l.y),c.push(l.x),u.push(l.y);else for(d=0;dg&&(g=b),_>v&&(v=_),c.push(b),u.push(_)}var w=g-h,k=v-p;function T(e,t,r,n,a,i,o,s){if(!isNaN(r)&&!isNaN(n))if(e.leaf){var l=e.x,c=e.y;if(null!=l)if(y(l-r)+y(c-n)<.01)M(e,t,r,n,a,i,o,s);else{var u=e.point;e.x=e.y=e.point=null,M(e,u,l,c,a,i,o,s),M(e,t,r,n,a,i,o,s)}else e.x=r,e.y=n,e.point=t}else M(e,t,r,n,a,i,o,s)}function M(e,t,r,n,a,i,o,s){var l=.5*(a+o),c=.5*(i+s),u=r>=l,d=n>=c,f=d<<1|u;e.leaf=!1,u?a=l:o=l,d?i=c:s=c,T(e=e.nodes[f]||(e.nodes[f]={leaf:!0,nodes:[],point:null,x:null,y:null}),t,r,n,a,i,o,s)}w>k?v=p+w:g=h+k;var A={leaf:!0,nodes:[],point:null,x:null,y:null,add:function(e){T(A,e,+m(e,++d),+x(e,d),h,p,g,v)},visit:function(e){Wa(e,A,h,p,g,v)},find:function(e){return Xa(A,e[0],e[1],h,p,g,v)}};if(d=-1,null==t){for(;++d=0&&!(n=t.interpolators[a](e,r)););return n}function ni(e,t){var r,n=[],a=[],i=e.length,o=t.length,s=Math.min(e.length,t.length);for(r=0;r=1?1:e(t)}}function li(e){return function(t){return 1-e(1-t)}}function ci(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function ui(e){return e*e}function di(e){return e*e*e}function fi(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,r=t*e;return 4*(e<.5?r:3*(e-t)+r-.75)}function hi(e){return 1-Math.cos(e*De)}function pi(e){return Math.pow(2,10*(e-1))}function gi(e){return 1-Math.sqrt(1-e*e)}function vi(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function mi(e,t){return t-=e,function(r){return Math.round(e+t*r)}}function yi(e){var t,r,n,a=[e.a,e.b],i=[e.c,e.d],o=bi(a),s=xi(a,i),l=bi(((t=i)[0]+=(n=-s)*(r=a)[0],t[1]+=n*r[1],t))||0;a[0]*i[1]=0?e.slice(0,t):e,a=t>=0?e.slice(t+1):"in";return n=ii.get(n)||ai,si((a=oi.get(a)||P)(n.apply(null,r.call(arguments,1))))},t.interpolateHcl=function(e,r){e=t.hcl(e),r=t.hcl(r);var n=e.h,a=e.c,i=e.l,o=r.h-n,s=r.c-a,l=r.l-i;isNaN(s)&&(s=0,a=isNaN(a)?r.c:a);isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360);return function(e){return We(n+o*e,a+s*e,i+l*e)+""}},t.interpolateHsl=function(e,r){e=t.hsl(e),r=t.hsl(r);var n=e.h,a=e.s,i=e.l,o=r.h-n,s=r.s-a,l=r.l-i;isNaN(s)&&(s=0,a=isNaN(a)?r.s:a);isNaN(o)?(o=0,n=isNaN(n)?r.h:n):o>180?o-=360:o<-180&&(o+=360);return function(e){return qe(n+o*e,a+s*e,i+l*e)+""}},t.interpolateLab=function(e,r){e=t.lab(e),r=t.lab(r);var n=e.l,a=e.a,i=e.b,o=r.l-n,s=r.a-a,l=r.b-i;return function(e){return et(n+o*e,a+s*e,i+l*e)+""}},t.interpolateRound=mi,t.transform=function(e){var r=a.createElementNS(t.ns.prefix.svg,"g");return(t.transform=function(e){if(null!=e){r.setAttribute("transform",e);var t=r.transform.baseVal.consolidate()}return new yi(t?t.matrix:_i)})(e)},yi.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var _i={a:1,b:0,c:0,d:1,e:0,f:0};function wi(e){return e.length?e.pop()+",":""}function ki(e,r){var n=[],a=[];return e=t.transform(e),r=t.transform(r),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push("translate(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else(t[0]||t[1])&&r.push("translate("+t+")")}(e.translate,r.translate,n,a),function(e,t,r,n){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),n.push({i:r.push(wi(r)+"rotate(",null,")")-2,x:Ka(e,t)})):t&&r.push(wi(r)+"rotate("+t+")")}(e.rotate,r.rotate,n,a),function(e,t,r,n){e!==t?n.push({i:r.push(wi(r)+"skewX(",null,")")-2,x:Ka(e,t)}):t&&r.push(wi(r)+"skewX("+t+")")}(e.skew,r.skew,n,a),function(e,t,r,n){if(e[0]!==t[0]||e[1]!==t[1]){var a=r.push(wi(r)+"scale(",null,",",null,")");n.push({i:a-4,x:Ka(e[0],t[0])},{i:a-2,x:Ka(e[1],t[1])})}else 1===t[0]&&1===t[1]||r.push(wi(r)+"scale("+t+")")}(e.scale,r.scale,n,a),e=r=null,function(e){for(var t,r=-1,i=a.length;++r0?n=t:(e.c=null,e.t=NaN,e=null,l.end({type:"end",alpha:n=0})):t>0&&(l.start({type:"start",alpha:n=t}),e=Tt(s.tick)),s):n},s.start=function(){var e,t,r,n=m.length,l=y.length,u=c[0],p=c[1];for(e=0;e=0;)r.push(a[n])}function Ni(e,t){for(var r=[e],n=[];null!=(e=r.pop());)if(n.push(e),(i=e.children)&&(a=i.length))for(var a,i,o=-1;++o=0;)o.push(u=c[l]),u.parent=i,u.depth=i.depth+1;r&&(i.value=0),i.children=c}else r&&(i.value=+r.call(n,i,i.depth)||0),delete i.children;return Ni(a,(function(t){var n,a;e&&(n=t.children)&&n.sort(e),r&&(a=t.parent)&&(a.value+=t.value)})),s}return n.sort=function(t){return arguments.length?(e=t,n):e},n.children=function(e){return arguments.length?(t=e,n):t},n.value=function(e){return arguments.length?(r=e,n):r},n.revalue=function(e){return r&&(Ei(e,(function(e){e.children&&(e.value=0)})),Ni(e,(function(e){var t;e.children||(e.value=+r.call(n,e,e.depth)||0),(t=e.parent)&&(t.value+=e.value)}))),e},n},t.layout.partition=function(){var e=t.layout.hierarchy(),r=[1,1];function n(e,t,r,a){var i=e.children;if(e.x=t,e.y=e.depth*a,e.dx=r,e.dy=a,i&&(o=i.length)){var o,s,l,c=-1;for(r=e.value?r/e.value:0;++cs&&(s=n),o.push(n)}for(r=0;ra&&(n=r,a=t);return n}function Ki(e){return e.reduce($i,0)}function $i(e,t){return e+t[1]}function eo(e,t){return to(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function to(e,t){for(var r=-1,n=+e[0],a=(e[1]-n)/t,i=[];++r<=t;)i[r]=a*r+n;return i}function ro(e){return[t.min(e),t.max(e)]}function no(e,t){return e.value-t.value}function ao(e,t){var r=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=r,r._pack_prev=t}function io(e,t){e._pack_next=t,t._pack_prev=e}function oo(e,t){var r=t.x-e.x,n=t.y-e.y,a=e.r+t.r;return.999*a*a>r*r+n*n}function so(e){if((t=e.children)&&(l=t.length)){var t,r,n,a,i,o,s,l,c=1/0,u=-1/0,d=1/0,f=-1/0;if(t.forEach(lo),(r=t[0]).x=-r.r,r.y=0,x(r),l>1&&((n=t[1]).x=n.r,n.y=0,x(n),l>2))for(fo(r,n,a=t[2]),x(a),ao(r,a),r._pack_prev=a,ao(a,n),n=r._pack_next,i=3;i0)for(o=-1;++o=d[0]&&l<=d[1]&&((s=c[t.bisect(f,l,1,p)-1]).y+=g,s.push(i[o]));return c}return i.value=function(e){return arguments.length?(r=e,i):r},i.range=function(e){return arguments.length?(n=vt(e),i):n},i.bins=function(e){return arguments.length?(a="number"==typeof e?function(t){return to(t,e)}:vt(e),i):a},i.frequency=function(t){return arguments.length?(e=!!t,i):e},i},t.layout.pack=function(){var e,r=t.layout.hierarchy().sort(no),n=0,a=[1,1];function i(t,i){var o=r.call(this,t,i),s=o[0],l=a[0],c=a[1],u=null==e?Math.sqrt:"function"==typeof e?e:function(){return e};if(s.x=s.y=0,Ni(s,(function(e){e.r=+u(e.value)})),Ni(s,so),n){var d=n*(e?1:Math.max(2*s.r/l,2*s.r/c))/2;Ni(s,(function(e){e.r+=d})),Ni(s,so),Ni(s,(function(e){e.r-=d}))}return uo(s,l/2,c/2,e?1:1/Math.max(2*s.r/l,2*s.r/c)),o}return i.size=function(e){return arguments.length?(a=e,i):a},i.radius=function(t){return arguments.length?(e=null==t||"function"==typeof t?t:+t,i):e},i.padding=function(e){return arguments.length?(n=+e,i):n},Ri(i,r)},t.layout.tree=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=null;function i(t,i){var c=e.call(this,t,i),u=c[0],d=function(e){var t,r={A:null,children:[e]},n=[r];for(;null!=(t=n.pop());)for(var a,i=t.children,o=0,s=i.length;oh.x&&(h=e),e.depth>p.depth&&(p=e)}));var g=r(f,h)/2-f.x,v=n[0]/(h.x+r(h,f)/2+g),m=n[1]/(p.depth||1);Ei(u,(function(e){e.x=(e.x+g)*v,e.y=e.depth*m}))}return c}function o(e){var t=e.children,n=e.parent.children,a=e.i?n[e.i-1]:null;if(t.length){!function(e){var t,r=0,n=0,a=e.children,i=a.length;for(;--i>=0;)(t=a[i]).z+=r,t.m+=r,r+=t.s+(n+=t.c)}(e);var i=(t[0].z+t[t.length-1].z)/2;a?(e.z=a.z+r(e._,a._),e.m=e.z-i):e.z=i}else a&&(e.z=a.z+r(e._,a._));e.parent.A=function(e,t,n){if(t){for(var a,i=e,o=e,s=t,l=i.parent.children[0],c=i.m,u=o.m,d=s.m,f=l.m;s=go(s),i=po(i),s&&i;)l=po(l),(o=go(o)).a=e,(a=s.z+d-i.z-c+r(s._,i._))>0&&(vo(mo(s,e,n),e,a),c+=a,u+=a),d+=s.m,c+=i.m,f+=l.m,u+=o.m;s&&!go(o)&&(o.t=s,o.m+=d-u),i&&!po(l)&&(l.t=i,l.m+=c-f,n=e)}return n}(e,a,e.parent.A||n[0])}function s(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function l(e){e.x*=n[0],e.y=e.depth*n[1]}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e)?l:null,i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null==(n=e)?null:l,i):a?n:null},Ri(i,e)},t.layout.cluster=function(){var e=t.layout.hierarchy().sort(null).value(null),r=ho,n=[1,1],a=!1;function i(i,o){var s,l=e.call(this,i,o),c=l[0],u=0;Ni(c,(function(e){var n=e.children;n&&n.length?(e.x=function(e){return e.reduce((function(e,t){return e+t.x}),0)/e.length}(n),e.y=function(e){return 1+t.max(e,(function(e){return e.y}))}(n)):(e.x=s?u+=r(e,s):0,e.y=0,s=e)}));var d=yo(c),f=xo(c),h=d.x-r(d,f)/2,p=f.x+r(f,d)/2;return Ni(c,a?function(e){e.x=(e.x-c.x)*n[0],e.y=(c.y-e.y)*n[1]}:function(e){e.x=(e.x-h)/(p-h)*n[0],e.y=(1-(c.y?e.y/c.y:1))*n[1]}),l}return i.separation=function(e){return arguments.length?(r=e,i):r},i.size=function(e){return arguments.length?(a=null==(n=e),i):a?null:n},i.nodeSize=function(e){return arguments.length?(a=null!=(n=e),i):a?n:null},Ri(i,e)},t.layout.treemap=function(){var e,r=t.layout.hierarchy(),n=Math.round,a=[1,1],i=null,o=bo,s=!1,l="squarify",c=.5*(1+Math.sqrt(5));function u(e,t){for(var r,n,a=-1,i=e.length;++a0;)s.push(r=c[a-1]),s.area+=r.area,"squarify"!==l||(n=h(s,g))<=f?(c.pop(),f=n):(s.area-=s.pop().area,p(s,g,i,!1),g=Math.min(i.dx,i.dy),s.length=s.area=0,f=1/0);s.length&&(p(s,g,i,!0),s.length=s.area=0),t.forEach(d)}}function f(e){var t=e.children;if(t&&t.length){var r,n=o(e),a=t.slice(),i=[];for(u(a,n.dx*n.dy/e.value),i.area=0;r=a.pop();)i.push(r),i.area+=r.area,null!=r.z&&(p(i,r.z?n.dx:n.dy,n,!a.length),i.length=i.area=0);t.forEach(f)}}function h(e,t){for(var r,n=e.area,a=0,i=1/0,o=-1,s=e.length;++oa&&(a=r));return t*=t,(n*=n)?Math.max(t*a*c/n,n/(t*i*c)):1/0}function p(e,t,r,a){var i,o=-1,s=e.length,l=r.x,c=r.y,u=t?n(e.area/t):0;if(t==r.dx){for((a||u>r.dy)&&(u=r.dy);++or.dx)&&(u=r.dx);++o1);return e+t*r*Math.sqrt(-2*Math.log(a)/a)}},logNormal:function(){var e=t.random.normal.apply(t,arguments);return function(){return Math.exp(e())}},bates:function(e){var r=t.random.irwinHall(e);return function(){return r()/e}},irwinHall:function(e){return function(){for(var t=0,r=0;r2?Lo:To,l=n?Mi:Ti;return a=o(e,t,l,r),i=o(t,e,l,ri),s}function s(e){return a(e)}return s.invert=function(e){return i(e)},s.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},s.range=function(e){return arguments.length?(t=e,o()):t},s.rangeRound=function(e){return s.range(e).interpolate(mi)},s.clamp=function(e){return arguments.length?(n=e,o()):n},s.interpolate=function(e){return arguments.length?(r=e,o()):r},s.ticks=function(t){return zo(e,t)},s.tickFormat=function(t,r){return Io(e,t,r)},s.nice=function(t){return Co(e,t),o()},s.copy=function(){return Do(e,t,r,n)},o()}function Po(e,r){return t.rebind(e,r,"range","rangeRound","interpolate","clamp")}function Co(e,t){return Mo(e,Ao(Oo(e,t)[2])),Mo(e,Ao(Oo(e,t)[2])),e}function Oo(e,t){null==t&&(t=10);var r=wo(e),n=r[1]-r[0],a=Math.pow(10,Math.floor(Math.log(n/t)/Math.LN10)),i=t/n*a;return i<=.15?a*=10:i<=.35?a*=5:i<=.75&&(a*=2),r[0]=Math.ceil(r[0]/a)*a,r[1]=Math.floor(r[1]/a)*a+.5*a,r[2]=a,r}function zo(e,r){return t.range.apply(t,Oo(e,r))}function Io(e,r,n){var a=Oo(e,r);if(n){var i=Ct.exec(n);if(i.shift(),"s"===i[8]){var o=t.formatPrefix(Math.max(y(a[0]),y(a[1])));return i[7]||(i[7]="."+Ro(o.scale(a[2]))),i[8]="f",n=t.format(i.join("")),function(e){return n(o.scale(e))+o.symbol}}i[7]||(i[7]="."+function(e,t){var r=Ro(t[2]);return e in jo?Math.abs(r-Ro(Math.max(y(t[0]),y(t[1]))))+ +("e"!==e):r-2*("%"===e)}(i[8],a)),n=i.join("")}else n=",."+Ro(a[2])+"f";return t.format(n)}t.scale.linear=function(){return Do([0,1],[0,1],ri,!1)};var jo={s:1,g:1,p:1,r:1,e:1};function Ro(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function Eo(e,r,n,a){function i(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(r)}function o(e){return n?Math.pow(r,e):-Math.pow(r,-e)}function s(t){return e(i(t))}return s.invert=function(t){return o(e.invert(t))},s.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((a=t.map(Number)).map(i)),s):a},s.base=function(t){return arguments.length?(r=+t,e.domain(a.map(i)),s):r},s.nice=function(){var t=Mo(a.map(i),n?Math:Fo);return e.domain(t),a=t.map(o),s},s.ticks=function(){var e=wo(a),t=[],s=e[0],l=e[1],c=Math.floor(i(s)),u=Math.ceil(i(l)),d=r%1?2:r;if(isFinite(u-c)){if(n){for(;c0;f--)t.push(o(c)*f);for(c=0;t[c]l;u--);t=t.slice(c,u)}return t},s.tickFormat=function(e,n){if(!arguments.length)return No;arguments.length<2?n=No:"function"!=typeof n&&(n=t.format(n));var a=Math.max(1,r*e/s.ticks().length);return function(e){var t=e/o(Math.round(i(e)));return t*r0?n[t-1]:e[0],td?0:1;if(c=Le)return l(c,h)+(s?l(s,1-h):"")+"Z";var p,g,v,m,y,x,b,_,w,k,T,M,A=0,S=0,L=[];if((m=(+o.apply(this,arguments)||0)/2)&&(v=n===Ko?Math.sqrt(s*s+c*c):+n.apply(this,arguments),h||(S*=-1),c&&(S=je(v/c*Math.sin(m))),s&&(A=je(v/s*Math.sin(m)))),c){y=c*Math.cos(u+S),x=c*Math.sin(u+S),b=c*Math.cos(d-S),_=c*Math.sin(d-S);var D=Math.abs(d-u-2*S)<=Ae?0:1;if(S&&as(y,x,b,_)===h^D){var P=(u+d)/2;y=c*Math.cos(P),x=c*Math.sin(P),b=_=null}}else y=x=0;if(s){w=s*Math.cos(d-A),k=s*Math.sin(d-A),T=s*Math.cos(u+A),M=s*Math.sin(u+A);var C=Math.abs(u-d+2*A)<=Ae?0:1;if(A&&as(w,k,T,M)===1-h^C){var O=(u+d)/2;w=s*Math.cos(O),k=s*Math.sin(O),T=M=null}}else w=k=0;if(f>Te&&(p=Math.min(Math.abs(c-s)/2,+r.apply(this,arguments)))>.001){g=s0?0:1}function is(e,t,r,n,a){var i=e[0]-t[0],o=e[1]-t[1],s=(a?n:-n)/Math.sqrt(i*i+o*o),l=s*o,c=-s*i,u=e[0]+l,d=e[1]+c,f=t[0]+l,h=t[1]+c,p=(u+f)/2,g=(d+h)/2,v=f-u,m=h-d,y=v*v+m*m,x=r-n,b=u*h-f*d,_=(m<0?-1:1)*Math.sqrt(Math.max(0,x*x*y-b*b)),w=(b*m-v*_)/y,k=(-b*v-m*_)/y,T=(b*m+v*_)/y,M=(-b*v+m*_)/y,A=w-p,S=k-g,L=T-p,D=M-g;return A*A+S*S>L*L+D*D&&(w=T,k=M),[[w-l,k-c],[w*r/x,k*r/x]]}function os(e){var t=ia,r=oa,n=Wr,a=ls,i=a.key,o=.7;function s(i){var s,l=[],c=[],u=-1,d=i.length,f=vt(t),h=vt(r);function p(){l.push("M",a(e(c),o))}for(;++u1&&a.push("H",n[0]);return a.join("")},"step-before":us,"step-after":ds,basis:ps,"basis-open":function(e){if(e.length<4)return ls(e);var t,r=[],n=-1,a=e.length,i=[0],o=[0];for(;++n<3;)t=e[n],i.push(t[0]),o.push(t[1]);r.push(gs(ys,i)+","+gs(ys,o)),--n;for(;++n9&&(a=3*t/Math.sqrt(a),o[s]=a*r,o[s+1]=a*n);s=-1;for(;++s<=l;)a=(e[Math.min(l,s+1)][0]-e[Math.max(0,s-1)][0])/(6*(1+o[s]*o[s])),i.push([a||0,o[s]*a||0]);return i}(e))}});function ls(e){return e.length>1?e.join("L"):e+"Z"}function cs(e){return e.join("L")+"Z"}function us(e){for(var t=0,r=e.length,n=e[0],a=[n[0],",",n[1]];++t1){s=t[1],i=e[l],l++,n+="C"+(a[0]+o[0])+","+(a[1]+o[1])+","+(i[0]-s[0])+","+(i[1]-s[1])+","+i[0]+","+i[1];for(var c=2;cAe)+",1 "+t}function l(e,t,r,n){return"Q 0,0 "+n}return i.radius=function(e){return arguments.length?(r=vt(e),i):r},i.source=function(t){return arguments.length?(e=vt(t),i):e},i.target=function(e){return arguments.length?(t=vt(e),i):t},i.startAngle=function(e){return arguments.length?(n=vt(e),i):n},i.endAngle=function(e){return arguments.length?(a=vt(e),i):a},i},t.svg.diagonal=function(){var e=qn,t=Vn,r=Ts;function n(n,a){var i=e.call(this,n,a),o=t.call(this,n,a),s=(i.y+o.y)/2,l=[i,{x:i.x,y:s},{x:o.x,y:s},o];return"M"+(l=l.map(r))[0]+"C"+l[1]+" "+l[2]+" "+l[3]}return n.source=function(t){return arguments.length?(e=vt(t),n):e},n.target=function(e){return arguments.length?(t=vt(e),n):t},n.projection=function(e){return arguments.length?(r=e,n):r},n},t.svg.diagonal.radial=function(){var e=t.svg.diagonal(),r=Ts,n=e.projection;return e.projection=function(e){return arguments.length?n(Ms(r=e)):r},e},t.svg.symbol=function(){var e=Ss,t=As;function r(r,n){return(Ds.get(e.call(this,r,n))||Ls)(t.call(this,r,n))}return r.type=function(t){return arguments.length?(e=vt(t),r):e},r.size=function(e){return arguments.length?(t=vt(e),r):t},r};var Ds=t.map({circle:Ls,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Cs)),r=t*Cs;return"M0,"+-t+"L"+r+",0 0,"+t+" "+-r+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Ps),r=t*Ps/2;return"M0,"+r+"L"+t+","+-r+" "+-t+","+-r+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Ps),r=t*Ps/2;return"M0,"+-r+"L"+t+","+r+" "+-t+","+r+"Z"}});t.svg.symbolTypes=Ds.keys();var Ps=Math.sqrt(3),Cs=Math.tan(30*Pe);V.transition=function(e){for(var t,r,n=js||++Ns,a=Bs(e),i=[],o=Rs||{time:Date.now(),ease:fi,delay:0,duration:250},s=-1,l=this.length;++s0;)c[--f].call(e,o);if(i>=1)return d.event&&d.event.end.call(e,e.__data__,t),--u.count?delete u[n]:delete e[r],1}d||(i=a.time,o=Tt((function(e){var t=d.delay;if(o.t=t+i,t<=e)return f(e-t);o.c=f}),0,i),d=u[n]={tween:new _,time:i,timer:o,delay:a.delay,duration:a.duration,ease:a.ease,index:t},a=null,++u.count)}Es.call=V.call,Es.empty=V.empty,Es.node=V.node,Es.size=V.size,t.transition=function(e,r){return e&&e.transition?js?e.transition(r):e:t.selection().transition(e)},t.transition.prototype=Es,Es.select=function(e){var t,r,n,a=this.id,i=this.namespace,o=[];e=Y(e);for(var s=-1,l=this.length;++srect,.s>rect").attr("width",s[1]-s[0])}function g(e){e.select(".extent").attr("y",l[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",l[1]-l[0])}function v(){var d,v,m=this,y=t.select(t.event.target),x=n.of(m,arguments),b=t.select(m),_=y.datum(),w=!/^(n|s)$/.test(_)&&a,k=!/^(e|w)$/.test(_)&&i,T=y.classed("extent"),M=be(m),A=t.mouse(m),S=t.select(o(m)).on("keydown.brush",P).on("keyup.brush",C);if(t.event.changedTouches?S.on("touchmove.brush",O).on("touchend.brush",I):S.on("mousemove.brush",O).on("mouseup.brush",I),b.interrupt().selectAll("*").interrupt(),T)A[0]=s[0]-A[0],A[1]=l[0]-A[1];else if(_){var L=+/w$/.test(_),D=+/^n/.test(_);v=[s[1-L]-A[0],l[1-D]-A[1]],A[0]=s[L],A[1]=l[D]}else t.event.altKey&&(d=A.slice());function P(){32==t.event.keyCode&&(T||(d=null,A[0]-=s[1],A[1]-=l[1],T=2),E())}function C(){32==t.event.keyCode&&2==T&&(A[0]+=s[1],A[1]+=l[1],T=0,E())}function O(){var e=t.mouse(m),r=!1;v&&(e[0]+=v[0],e[1]+=v[1]),T||(t.event.altKey?(d||(d=[(s[0]+s[1])/2,(l[0]+l[1])/2]),A[0]=s[+(e[0]1?{floor:function(t){for(;s(t=e.floor(t));)t=el(t-1);return t},ceil:function(t){for(;s(t=e.ceil(t));)t=el(+t+1);return t}}:e))},a.ticks=function(e,t){var r=wo(a.domain()),n=null==e?i(r,10):"number"==typeof e?i(r,e):!e.range&&[{range:e},t];return n&&(e=n[0],t=n[1]),e.range(r[0],el(+r[1]+1),t<1?1:t)},a.tickFormat=function(){return n},a.copy=function(){return $s(e.copy(),r,n)},Po(a,e)}function el(e){return new Date(e)}Xs.iso=Date.prototype.toISOString&&+new Date("2000-01-01T00:00:00.000Z")?Ks:Qs,Ks.parse=function(e){var t=new Date(e);return isNaN(t)?null:t},Ks.toString=Qs.toString,It.second=Nt((function(e){return new jt(1e3*Math.floor(e/1e3))}),(function(e,t){e.setTime(e.getTime()+1e3*Math.floor(t))}),(function(e){return e.getSeconds()})),It.seconds=It.second.range,It.seconds.utc=It.second.utc.range,It.minute=Nt((function(e){return new jt(6e4*Math.floor(e/6e4))}),(function(e,t){e.setTime(e.getTime()+6e4*Math.floor(t))}),(function(e){return e.getMinutes()})),It.minutes=It.minute.range,It.minutes.utc=It.minute.utc.range,It.hour=Nt((function(e){var t=e.getTimezoneOffset()/60;return new jt(36e5*(Math.floor(e/36e5-t)+t))}),(function(e,t){e.setTime(e.getTime()+36e5*Math.floor(t))}),(function(e){return e.getHours()})),It.hours=It.hour.range,It.hours.utc=It.hour.utc.range,It.month=Nt((function(e){return(e=It.day(e)).setDate(1),e}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e){return e.getMonth()})),It.months=It.month.range,It.months.utc=It.month.utc.range;var tl=[1e3,5e3,15e3,3e4,6e4,3e5,9e5,18e5,36e5,108e5,216e5,432e5,864e5,1728e5,6048e5,2592e6,7776e6,31536e6],rl=[[It.second,1],[It.second,5],[It.second,15],[It.second,30],[It.minute,1],[It.minute,5],[It.minute,15],[It.minute,30],[It.hour,1],[It.hour,3],[It.hour,6],[It.hour,12],[It.day,1],[It.day,2],[It.week,1],[It.month,1],[It.month,3],[It.year,1]],nl=Xs.multi([[".%L",function(e){return e.getMilliseconds()}],[":%S",function(e){return e.getSeconds()}],["%I:%M",function(e){return e.getMinutes()}],["%I %p",function(e){return e.getHours()}],["%a %d",function(e){return e.getDay()&&1!=e.getDate()}],["%b %d",function(e){return 1!=e.getDate()}],["%B",function(e){return e.getMonth()}],["%Y",Wr]]),al={range:function(e,r,n){return t.range(Math.ceil(e/n)*n,+r,n).map(el)},floor:P,ceil:P};rl.year=It.year,It.scale=function(){return $s(t.scale.linear(),rl,nl)};var il=rl.map((function(e){return[e[0].utc,e[1]]})),ol=Js.multi([[".%L",function(e){return e.getUTCMilliseconds()}],[":%S",function(e){return e.getUTCSeconds()}],["%I:%M",function(e){return e.getUTCMinutes()}],["%I %p",function(e){return e.getUTCHours()}],["%a %d",function(e){return e.getUTCDay()&&1!=e.getUTCDate()}],["%b %d",function(e){return 1!=e.getUTCDate()}],["%B",function(e){return e.getUTCMonth()}],["%Y",Wr]]);function sl(e){return JSON.parse(e.responseText)}function ll(e){var t=a.createRange();return t.selectNode(a.body),t.createContextualFragment(e.responseText)}il.year=It.year.utc,It.scale.utc=function(){return $s(t.scale.linear(),il,ol)},t.text=mt((function(e){return e.responseText})),t.json=function(e,t){return yt(e,"application/json",sl,t)},t.html=function(e,t){return yt(e,"text/html",ll,t)},t.xml=mt((function(e){return e.responseXML})),"function"==typeof define&&define.amd?(this.d3=t,define(t)):e.exports?e.exports=t:this.d3=t}).apply(self)})),i.register("fJpfm",(function(e,r){t(e.exports,"utcFormat",(()=>o)),t(e.exports,"timeFormat",(()=>a));var n,a,o,s,l=i("ermda");s={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"]},n=l.default(s),a=n.format,n.parse,o=n.utcFormat,n.utcParse})),i.register("ermda",(function(e,r){t(e.exports,"default",(()=>h));var n=i("6Cih9"),a=i("ds4sE"),o=i("lBtlT"),s=i("1aJO3"),l=i("aoEVn"),c=i("aAssR");function u(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 d(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 f(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}function h(e){var t=e.dateTime,r=e.date,i=e.time,s=e.periods,l=e.days,h=e.shortDays,g=e.months,v=e.shortMonths,m=b(s),y=_(s),x=b(l),$=_(l),xe=b(h),Ce=_(h),Oe=b(g),ze=_(g),Ie=b(v),je=_(v),Re={a:function(e){return h[e.getDay()]},A:function(e){return l[e.getDay()]},b:function(e){return v[e.getMonth()]},B:function(e){return g[e.getMonth()]},c:null,d:U,e:U,f:Y,g:ae,G:oe,H:G,I:Z,j:q,L:V,m:W,M:X,p:function(e){return s[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:De,s:Pe,S:J,u:Q,U:K,V:ee,w:te,W:re,x:null,X:null,y:ne,Y:ie,Z:se,"%":Le},Ee={a:function(e){return h[e.getUTCDay()]},A:function(e){return l[e.getUTCDay()]},b:function(e){return v[e.getUTCMonth()]},B:function(e){return g[e.getUTCMonth()]},c:null,d:le,e:le,f:he,g:Te,G:Ae,H:ce,I:ue,j:de,L:fe,m:pe,M:ge,p:function(e){return s[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:De,s:Pe,S:ve,u:me,U:ye,V:be,w:_e,W:we,x:null,X:null,y:ke,Y:Me,Z:Se,"%":Le},Ne={a:function(e,t,r){var n=xe.exec(t.slice(r));return n?(e.w=Ce[n[0].toLowerCase()],r+n[0].length):-1},A:function(e,t,r){var n=x.exec(t.slice(r));return n?(e.w=$[n[0].toLowerCase()],r+n[0].length):-1},b:function(e,t,r){var n=Ie.exec(t.slice(r));return n?(e.m=je[n[0].toLowerCase()],r+n[0].length):-1},B:function(e,t,r){var n=Oe.exec(t.slice(r));return n?(e.m=ze[n[0].toLowerCase()],r+n[0].length):-1},c:function(e,r,n){return Be(e,t,r,n)},d:O,e:O,f:N,g:L,G:S,H:I,I:I,j:z,L:E,m:C,M:j,p:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.p=y[n[0].toLowerCase()],r+n[0].length):-1},q:P,Q:H,s:B,S:R,u:k,U:T,V:M,w:w,W:A,x:function(e,t,n){return Be(e,r,t,n)},X:function(e,t,r){return Be(e,i,t,r)},y:L,Y:S,Z:D,"%":F};function Fe(e,t){return function(r){var n,a,i,o=[],s=-1,l=0,c=e.length;for(r instanceof Date||(r=new Date(+r));++s53)return null;"w"in l||(l.w=1),"Z"in l?(s=(i=d(f(l.y,0,1))).getUTCDay(),i=s>4||0===s?a.utcMonday.ceil(i):a.utcMonday(i),i=o.default.offset(i,7*(l.V-1)),l.y=i.getUTCFullYear(),l.m=i.getUTCMonth(),l.d=i.getUTCDate()+(l.w+6)%7):(s=(i=u(f(l.y,0,1))).getDay(),i=s>4||0===s?n.monday.ceil(i):n.monday(i),i=c.default.offset(i,7*(l.V-1)),l.y=i.getFullYear(),l.m=i.getMonth(),l.d=i.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),s="Z"in l?d(f(l.y,0,1)).getUTCDay():u(f(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+7*l.W-(s+5)%7:l.w+7*l.U-(s+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,d(l)):u(l)}}function Be(e,t,r,n){for(var a,i,o=0,s=t.length,l=r.length;o=l)return-1;if(37===(a=t.charCodeAt(o++))){if(a=t.charAt(o++),!(i=Ne[a in p?t.charAt(o++):a])||(n=i(e,r,n))<0)return-1}else if(a!=r.charCodeAt(n++))return-1}return n}return Re.x=Fe(r,Re),Re.X=Fe(i,Re),Re.c=Fe(t,Re),Ee.x=Fe(r,Ee),Ee.X=Fe(i,Ee),Ee.c=Fe(t,Ee),{format:function(e){var t=Fe(e+="",Re);return t.toString=function(){return e},t},parse:function(e){var t=He(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=Fe(e+="",Ee);return t.toString=function(){return e},t},utcParse:function(e){var t=He(e+="",!0);return t.toString=function(){return e},t}}}var p={"-":"",_:" ",0:"0"},g=/^\s*\d+/,v=/^%/,m=/[\\^$*+?|[\]().{}]/g;function y(e,t,r){var n=e<0?"-":"",a=(n?-e:e)+"",i=a.length;return n+(i68?1900:2e3),r+n[0].length):-1}function D(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function P(e,t,r){var n=g.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function C(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function O(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function z(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function I(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function j(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function R(e,t,r){var n=g.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function E(e,t,r){var n=g.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function N(e,t,r){var n=g.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function F(e,t,r){var n=v.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function H(e,t,r){var n=g.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function B(e,t,r){var n=g.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function U(e,t){return y(e.getDate(),t,2)}function G(e,t){return y(e.getHours(),t,2)}function Z(e,t){return y(e.getHours()%12||12,t,2)}function q(e,t){return y(1+c.default.count(s.default(e),e),t,3)}function V(e,t){return y(e.getMilliseconds(),t,3)}function Y(e,t){return V(e,t)+"000"}function W(e,t){return y(e.getMonth()+1,t,2)}function X(e,t){return y(e.getMinutes(),t,2)}function J(e,t){return y(e.getSeconds(),t,2)}function Q(e){var t=e.getDay();return 0===t?7:t}function K(e,t){return y(n.sunday.count(s.default(e)-1,e),t,2)}function $(e){var t=e.getDay();return t>=4||0===t?n.thursday(e):n.thursday.ceil(e)}function ee(e,t){return e=$(e),y(n.thursday.count(s.default(e),e)+(4===s.default(e).getDay()),t,2)}function te(e){return e.getDay()}function re(e,t){return y(n.monday.count(s.default(e)-1,e),t,2)}function ne(e,t){return y(e.getFullYear()%100,t,2)}function ae(e,t){return y((e=$(e)).getFullYear()%100,t,2)}function ie(e,t){return y(e.getFullYear()%1e4,t,4)}function oe(e,t){var r=e.getDay();return y((e=r>=4||0===r?n.thursday(e):n.thursday.ceil(e)).getFullYear()%1e4,t,4)}function se(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+y(t/60|0,"0",2)+y(t%60,"0",2)}function le(e,t){return y(e.getUTCDate(),t,2)}function ce(e,t){return y(e.getUTCHours(),t,2)}function ue(e,t){return y(e.getUTCHours()%12||12,t,2)}function de(e,t){return y(1+o.default.count(l.default(e),e),t,3)}function fe(e,t){return y(e.getUTCMilliseconds(),t,3)}function he(e,t){return fe(e,t)+"000"}function pe(e,t){return y(e.getUTCMonth()+1,t,2)}function ge(e,t){return y(e.getUTCMinutes(),t,2)}function ve(e,t){return y(e.getUTCSeconds(),t,2)}function me(e){var t=e.getUTCDay();return 0===t?7:t}function ye(e,t){return y(a.utcSunday.count(l.default(e)-1,e),t,2)}function xe(e){var t=e.getUTCDay();return t>=4||0===t?a.utcThursday(e):a.utcThursday.ceil(e)}function be(e,t){return e=xe(e),y(a.utcThursday.count(l.default(e),e)+(4===l.default(e).getUTCDay()),t,2)}function _e(e){return e.getUTCDay()}function we(e,t){return y(a.utcMonday.count(l.default(e)-1,e),t,2)}function ke(e,t){return y(e.getUTCFullYear()%100,t,2)}function Te(e,t){return y((e=xe(e)).getUTCFullYear()%100,t,2)}function Me(e,t){return y(e.getUTCFullYear()%1e4,t,4)}function Ae(e,t){var r=e.getUTCDay();return y((e=r>=4||0===r?a.utcThursday(e):a.utcThursday.ceil(e)).getUTCFullYear()%1e4,t,4)}function Se(){return"+0000"}function Le(){return"%"}function De(e){return+e}function Pe(e){return Math.floor(+e/1e3)}})),i.register("aAssR",(function(e,r){t(e.exports,"default",(()=>s));var n=i("e8l2S"),a=i("bpvsM"),o=n.default((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())*a.durationMinute)/a.durationDay}),(function(e){return e.getDate()-1})),s=o;o.range})),i.register("e8l2S",(function(e,r){t(e.exports,"default",(()=>i));var n=new Date,a=new Date;function i(e,t,r,o){function s(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return s.floor=function(t){return e(t=new Date(+t)),t},s.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},s.round=function(e){var t=s(e),r=s.ceil(e);return e-t0))return o;do{o.push(i=new Date(+r)),t(r,a),e(r)}while(i=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(s.count=function(t,i){return n.setTime(+t),a.setTime(+i),e(n),e(a),Math.floor(r(n,a))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(o?function(t){return o(t)%e==0}:function(t){return s.count(0,t)%e==0}):s:null}),s}})),i.register("bpvsM",(function(e,r){t(e.exports,"durationWeek",(()=>i)),t(e.exports,"durationMinute",(()=>n)),t(e.exports,"durationDay",(()=>a));var n=6e4,a=864e5,i=6048e5})),i.register("6Cih9",(function(e,r){t(e.exports,"thursday",(()=>d)),t(e.exports,"sunday",(()=>s)),t(e.exports,"monday",(()=>l));var n=i("e8l2S"),a=i("bpvsM");function o(e){return n.default((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())*a.durationMinute)/a.durationWeek}))}var s=o(0),l=o(1),c=o(2),u=o(3),d=o(4),f=o(5),h=o(6);s.range,l.range,c.range,u.range,d.range,f.range,h.range})),i.register("1aJO3",(function(e,r){t(e.exports,"default",(()=>o));var n=i("e8l2S"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var o=a;a.range})),i.register("lBtlT",(function(e,r){t(e.exports,"default",(()=>s));var n=i("e8l2S"),a=i("bpvsM"),o=n.default((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/a.durationDay}),(function(e){return e.getUTCDate()-1})),s=o;o.range})),i.register("ds4sE",(function(e,r){t(e.exports,"utcSunday",(()=>s)),t(e.exports,"utcMonday",(()=>l)),t(e.exports,"utcThursday",(()=>d));var n=i("e8l2S"),a=i("bpvsM");function o(e){return n.default((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)/a.durationWeek}))}var s=o(0),l=o(1),c=o(2),u=o(3),d=o(4),f=o(5),h=o(6);s.range,l.range,c.range,u.range,d.range,f.range,h.range})),i.register("aoEVn",(function(e,r){t(e.exports,"default",(()=>o));var n=i("e8l2S"),a=n.default((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()}));a.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.default((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var o=a;a.range})),i.register("bnpJH",(function(e,t){"use strict";var r=i("iyV1Q");e.exports=function(e){var t=typeof e;if("string"===t){var n=e;if(0===(e=+e)&&r(n))return!1}else if("number"!==t)return!1;return e-e<1}})),i.register("iyV1Q",(function(e,t){"use strict";e.exports=function(e){for(var t,r=e.length,n=0;n13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}})),i.register("5jyN7",(function(e,t){"use strict";e.exports={BADNUM:void 0,FP_SAFE:1e-4*Number.MAX_VALUE,ONEMAXYEAR:316224e5,ONEAVGYEAR:315576e5,ONEMINYEAR:31536e6,ONEMAXQUARTER:79488e5,ONEAVGQUARTER:78894e5,ONEMINQUARTER:76896e5,ONEMAXMONTH:26784e5,ONEAVGMONTH:26298e5,ONEMINMONTH:24192e5,ONEWEEK:6048e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5,ALMOST_EQUAL:.999999,LOG_CLIP:10,MINUS_SIGN:"โˆ’"}})),i.register("c4m1S",(function(e,t){"use strict";var r=i("bnpJH"),n=i("d2MsI").isArrayOrTypedArray;function a(e,t){return function(){var r,i,o,s,l,c=e;for(s=0;si),(e=>i=e)),t(e.exports,"concat",(()=>s),(e=>s=e)),t(e.exports,"isArray1D",(()=>n),(e=>n=e)),t(e.exports,"minRowLength",(()=>c),(e=>c=e)),t(e.exports,"isTypedArray",(()=>a),(e=>a=e)),t(e.exports,"maxRowLength",(()=>l),(e=>l=e)),t(e.exports,"isArrayOrTypedArray",(()=>o),(e=>o=e));var u=Array.isArray,d=ArrayBuffer,f=DataView;function h(e){return d.isView(e)&&!(e instanceof f)}function p(e){return u(e)||h(e)}function g(e,t,r){if(p(e)){if(p(e[0])){for(var n=r,a=0;a2)return c[t]=2|c[t],f.set(e,null);if(d){for(o=t;o0)return Math.log(e)/Math.LN10;var n=Math.log(Math.min(t[0],t[1]))/Math.LN10;return r(n)||(n=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),n}})),i.register("hOFz9",(function(e,t){"use strict";var r=i("d2MsI").isArrayOrTypedArray,n=i("7jaZz");e.exports=function e(t,a){for(var i in a){var o=a[i],s=t[i];if(s!==o)if("_"===i.charAt(0)||"function"==typeof o){if(i in t)continue;t[i]=o}else if(r(o)&&r(s)&&n(o[0])){if("customdata"===i||"ids"===i)continue;for(var l=Math.min(o.length,s.length),c=0;ct/2?e-Math.round(e/t)*t:e}}})),i.register("9jL1u",(function(e,r){var n,a,o,s,l,c,u,d;t(e.exports,"valObjectMeta",(()=>a),(e=>a=e)),t(e.exports,"coerceHoverinfo",(()=>u),(e=>u=e)),t(e.exports,"coerce",(()=>o),(e=>o=e)),t(e.exports,"validate",(()=>c),(e=>c=e)),t(e.exports,"coerce2",(()=>n),(e=>n=e)),t(e.exports,"coerceSelectionMarkerOpacity",(()=>d),(e=>d=e)),t(e.exports,"coerceFont",(()=>s),(e=>s=e)),t(e.exports,"coercePattern",(()=>l),(e=>l=e));var f=i("bnpJH"),h=i("eyX4U"),p=i("803hz"),g=i("4Xrh1"),v=i("1Jf1D"),m=i("dLSW2").DESELECTDIM,y=i("c4m1S"),x=i("lkPEm").counter,b=i("bRf0v").modHalf,_=i("d2MsI").isArrayOrTypedArray;function w(e,t){var r=a[t.valType];if(t.arrayOk&&_(e))return!0;if(r.validateFunction)return r.validateFunction(e,t);var n={},i=n,o={set:function(e){i=e}};return r.coerceFunction(e,o,n,t),i!==n}a={data_array:{description:["An {array} of data.","The value MUST be an {array}, or we ignore it.","Note that typed arrays (e.g. Float32Array) are supported."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){_(e)?t.set(e):void 0!==r&&t.set(r)}},enumerated:{description:["Enumerated value type. The available values are listed","in `values`."].join(" "),requiredOpts:["values"],otherOpts:["dflt","coerceNumber","arrayOk"],coerceFunction:function(e,t,r,n){n.coerceNumber&&(e=+e),-1===n.values.indexOf(e)?t.set(r):t.set(e)},validateFunction:function(e,t){t.coerceNumber&&(e=+e);for(var r=t.values,n=0;nn.max?t.set(r):t.set(+e)}},integer:{description:["An integer or an integer inside a string.","When applicable, values greater (less) than `max` (`min`)","are coerced to the `dflt`."].join(" "),requiredOpts:[],otherOpts:["dflt","min","max","arrayOk"],coerceFunction:function(e,t,r,n){e%1||!f(e)||void 0!==n.min&&en.max?t.set(r):t.set(+e)}},string:{description:["A string value.","Numbers are converted to strings except for attributes with","`strict` set to true."].join(" "),requiredOpts:[],otherOpts:["dflt","noBlank","strict","arrayOk","values"],coerceFunction:function(e,t,r,n){if("string"!=typeof e){var a="number"==typeof e;!0!==n.strict&&a?t.set(String(e)):t.set(r)}else n.noBlank&&!e?t.set(r):t.set(e)}},color:{description:["A string describing color.","Supported formats:","- hex (e.g. '#d3d3d3')","- rgb (e.g. 'rgb(255, 0, 0)')","- rgba (e.g. 'rgb(255, 0, 0, 0.5)')","- hsl (e.g. 'hsl(0, 100%, 50%)')","- hsv (e.g. 'hsv(0, 100%, 100%)')","- named colors (full list: http://www.w3.org/TR/css3-color/#svg-color)"].join(" "),requiredOpts:[],otherOpts:["dflt","arrayOk"],coerceFunction:function(e,t,r){h(e).isValid()?t.set(e):t.set(r)}},colorlist:{description:["A list of colors.","Must be an {array} containing valid colors."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){Array.isArray(e)&&e.length&&e.every((function(e){return h(e).isValid()}))?t.set(e):t.set(r)}},colorscale:{description:["A Plotly colorscale either picked by a name:","(any of",Object.keys(g.scales).join(", "),")","customized as an {array} of 2-element {arrays} where","the first element is the normalized color level value","(starting at *0* and ending at *1*),","and the second item is a valid color string."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){t.set(g.get(e,r))}},angle:{description:["A number (in degree) between -180 and 180."].join(" "),requiredOpts:[],otherOpts:["dflt"],coerceFunction:function(e,t,r){"auto"===e?t.set("auto"):f(e)?t.set(b(+e,360)):t.set(r)}},subplotid:{description:["An id string of a subplot type (given by dflt), optionally","followed by an integer >1. e.g. if dflt='geo', we can have","'geo', 'geo2', 'geo3', ..."].join(" "),requiredOpts:["dflt"],otherOpts:["regex"],coerceFunction:function(e,t,r,n){var a=n.regex||x(r);"string"==typeof e&&a.test(e)?t.set(e):t.set(r)},validateFunction:function(e,t){var r=t.dflt;return e===r||"string"==typeof e&&!!x(r).test(e)}},flaglist:{description:["A string representing a combination of flags","(order does not matter here).","Combine any of the available `flags` with *+*.","(e.g. ('lines+markers')).","Values in `extras` cannot be combined."].join(" "),requiredOpts:["flags"],otherOpts:["dflt","extras","arrayOk"],coerceFunction:function(e,t,r,n){if("string"==typeof e)if(-1===(n.extras||[]).indexOf(e)){for(var a=e.split("+"),i=0;i1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=P(e,360),t=P(t,100),r=P(r,100),0===t)n=a=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=o(l,s,e+1/3),a=o(l,s,e),i=o(l,s,e-1/3)}return{r:255*n,g:255*a,b:255*i}}(e.h,l,u),d=!0,f="hsl"),e.hasOwnProperty("a")&&(i=e.a));var h,p,g;return i=D(i),{ok:d,format:e.format||f,r:o(255,s(a.r,0)),g:o(255,s(a.g,0)),b:o(255,s(a.b,0)),a:i}}(e);this._originalInput=e,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=i(100*this._a)/100,this._format=l.format||u.format,this._gradientType=l.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=u.ok,this._tc_id=a++}function u(e,t,r){e=P(e,255),t=P(t,255),r=P(r,255);var n,a,i=s(e,t,r),l=o(e,t,r),c=(i+l)/2;if(i==l)n=a=0;else{var u=i-l;switch(a=c>.5?u/(2-i-l):u/(i+l),i){case e:n=(t-r)/u+(t>1)+720)%360;--t;)n.h=(n.h+a)%360,i.push(c(n));return i}function A(e,t){t=t||6;for(var r=c(e).toHsv(),n=r.h,a=r.s,i=r.v,o=[],s=1/t;t--;)o.push(c({h:n,s:a,v:i})),i=(i+s)%1;return o}c.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,n,a=this.toRgb();return e=a.r/255,r=a.g/255,n=a.b/255,.2126*(e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=D(e),this._roundA=i(100*this._a)/100,this},toHsv:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=d(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=u(this._r,this._g,this._b),t=i(360*e.h),r=i(100*e.s),n=i(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,a){var o=[z(i(e).toString(16)),z(i(t).toString(16)),z(i(r).toString(16)),z(j(n))];return a&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(100*P(this._r,255))+"%",g:i(100*P(this._g,255))+"%",b:i(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+i(100*P(this._r,255))+"%, "+i(100*P(this._g,255))+"%, "+i(100*P(this._b,255))+"%)":"rgba("+i(100*P(this._r,255))+"%, "+i(100*P(this._g,255))+"%, "+i(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(L[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var a=c(e);r="#"+h(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return c(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(m,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(v,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(T,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},c.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:I(e[n]));e=r}return c(e,t)},c.equals=function(e,t){return!(!e||!t)&&c(e).toRgbString()==c(t).toRgbString()},c.random=function(){return c.fromRatio({r:l(),g:l(),b:l()})},c.mix=function(e,t,r){r=0===r?0:r||50;var n=c(e).toRgb(),a=c(t).toRgb(),i=r/100;return c({r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a})},c.readability=function(e,r){var n=c(e),a=c(r);return(t.max(n.getLuminance(),a.getLuminance())+.05)/(t.min(n.getLuminance(),a.getLuminance())+.05)},c.isReadable=function(e,t,r){var n,a,i=c.readability(e,t);switch(a=!1,(n=function(e){var t,r;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),r=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==r&&"large"!==r&&(r="small");return{level:t,size:r}}(r)).level+n.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},c.mostReadable=function(e,t,r){var n,a,i,o,s=null,l=0;a=(r=r||{}).includeFallbackColors,i=r.level,o=r.size;for(var u=0;ul&&(l=n,s=c(t[u]));return c.isReadable(e,s,{level:i,size:o})||!a?s:(r.includeFallbackColors=!1,c.mostReadable(e,["#fff","#000"],r))};var S=c.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},L=c.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(S);function D(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,r){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=o(r,s(0,parseFloat(e))),n&&(e=parseInt(e*r,10)/100),t.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function C(e){return o(1,s(0,e))}function O(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function I(e){return e<=1&&(e=100*e+"%"),e}function j(e){return t.round(255*parseFloat(e)).toString(16)}function R(e){return O(e)/255}var E,N,F,H=(N="[\\s|\\(]+("+(E="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+E+")[,|\\s]+("+E+")\\s*\\)?",F="[\\s|\\(]+("+E+")[,|\\s]+("+E+")[,|\\s]+("+E+")[,|\\s]+("+E+")\\s*\\)?",{CSS_UNIT:new RegExp(E),rgb:new RegExp("rgb"+N),rgba:new RegExp("rgba"+F),hsl:new RegExp("hsl"+N),hsla:new RegExp("hsla"+F),hsv:new RegExp("hsv"+N),hsva:new RegExp("hsva"+F),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function B(e){return!!H.CSS_UNIT.exec(e)}e.exports?e.exports=c:"function"==typeof define&&define.amd?define((function(){return c})):window.tinycolor=c}(Math)})),i.register("803hz",(function(e,t){"use strict";var r=i("kbCMD");e.exports={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc",description:["Determines whether or not this trace is visible.","If *legendonly*, the trace is not drawn,","but can appear as a legend item","(provided that the legend itself is visible)."].join(" ")},showlegend:{valType:"boolean",dflt:!0,editType:"style",description:["Determines whether or not an item corresponding to this","trace is shown in the legend."].join(" ")},legendgroup:{valType:"string",dflt:"",editType:"style",description:["Sets the legend group for this trace.","Traces part of the same legend group hide/show at the same time","when toggling legend items."].join(" ")},legendrank:{valType:"number",dflt:1e3,editType:"style",description:["Sets the legend rank for this trace.","Items and groups with smaller ranks are presented on top/left side while","with `*reversed* `legend.traceorder` they are on bottom/right side.","The default legendrank is 1000,","so that you can use ranks less than 1000 to place certain items before all unranked items,","and ranks greater than 1000 to go after all unranked items."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style",description:"Sets the opacity of the trace."},name:{valType:"string",editType:"style",description:["Sets the trace name.","The trace name appear as the legend item and on hover."].join(" ")},uid:{valType:"string",editType:"plot",anim:!0,description:["Assign an id to this trace,","Use this to provide object constancy between traces during animations","and transitions."].join(" ")},ids:{valType:"data_array",editType:"calc",anim:!0,description:["Assigns id labels to each datum.","These ids for object constancy of data points during animation.","Should be an array of strings, not numbers or any other type."].join(" ")},customdata:{valType:"data_array",editType:"calc",description:["Assigns extra data each datum.","This may be useful when listening to hover, click and selection events.","Note that, *scatter* traces also appends customdata items in the markers","DOM elements"].join(" ")},meta:{valType:"any",arrayOk:!0,editType:"plot",description:["Assigns extra meta information associated with this trace","that can be used in various text attributes.","Attributes such as trace `name`, graph, axis and colorbar `title.text`, annotation `text`","`rangeselector`, `updatemenues` and `sliders` `label` text","all support `meta`.","To access the trace `meta` values in an attribute in the same trace, simply use","`%{meta[i]}` where `i` is the index or key of the `meta`","item in question.","To access trace `meta` in layout attributes, use","`%{data[n[.meta[i]}` where `i` is the index or key of the `meta`","and `n` is the trace index."].join(" ")},selectedpoints:{valType:"any",editType:"calc",description:["Array containing integer indices of selected points.","Has an effect only for traces that support selections.","Note that an empty array means an empty selection where the `unselected`","are turned on for all points, whereas, any other non-array values means no","selection all where the `selected` and `unselected` styles have no effect."].join(" ")},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none",description:["Determines which trace information appear on hover.","If `none` or `skip` are set, no information is displayed upon hovering.","But, if `none` is set, click and hover events are still fired."].join(" ")},hoverlabel:r.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc",description:["The stream id number links a data trace on a plot with a stream.","See https://chart-studio.plotly.com/settings for more details."].join(" ")},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc",description:["Sets the maximum number of points to keep on the plots from an","incoming stream.","If `maxpoints` is set to *50*, only the newest 50 points will","be displayed on the plot."].join(" ")},editType:"calc"},transforms:{_isLinkedToArray:"transform",editType:"calc",description:["WARNING: All transforms are deprecated and may be removed from the API in next major version.","An array of operations that manipulate the trace data,","for example filtering or sorting the data arrays."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Controls persistence of some user-driven changes to the trace:","`constraintrange` in `parcoords` traces, as well as some","`editable: true` modifications such as `name` and `colorbar.title`.","Defaults to `layout.uirevision`.","Note that other user-driven trace attribute changes are controlled","by `layout` attributes:","`trace.visible` is controlled by `layout.legend.uirevision`,","`selectedpoints` is controlled by `layout.selectionrevision`,","and `colorbar.(x|y)` (accessible with `config: {editable: true}`)","is controlled by `layout.editrevision`.","Trace changes are tracked by `uid`, which only falls back on trace","index if no `uid` is provided. So if your app can add/remove traces","before the end of the `data` array, such that the same trace has a","different index, you can still preserve user-driven changes if you","give each trace a `uid` that stays with it as it moves."].join(" ")}}})),i.register("kbCMD",(function(e,t){"use strict";var r=i("lCAJ8"),n=i("j2fqE").hoverlabel,a=i("hYsp9").extendFlat;e.exports={hoverlabel:{bgcolor:a({},n.bgcolor,{arrayOk:!0,description:"Sets the background color of the hover labels for this trace"}),bordercolor:a({},n.bordercolor,{arrayOk:!0,description:"Sets the border color of the hover labels for this trace."}),font:r({arrayOk:!0,editType:"none",description:"Sets the font used in hover labels."}),align:a({},n.align,{arrayOk:!0}),namelength:a({},n.namelength,{arrayOk:!0}),editType:"none"}}})),i.register("lCAJ8",(function(e,t){"use strict";e.exports=function(e){var t=e.editType,r=e.colorEditType;void 0===r&&(r=t);var n={family:{valType:"string",noBlank:!0,strict:!0,editType:t,description:["HTML font family - the typeface that will be applied by the web browser.","The web browser will only be able to apply a font if it is available on the system","which it operates. Provide multiple font families, separated by commas, to indicate","the preference in which to apply fonts if they aren't available on the system.","The Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise) generates images on a server,","where only a select number of","fonts are installed and supported.","These include *Arial*, *Balto*, *Courier New*, *Droid Sans*,, *Droid Serif*,","*Droid Sans Mono*, *Gravitas One*, *Old Standard TT*, *Open Sans*, *Overpass*,","*PT Sans Narrow*, *Raleway*, *Times New Roman*."].join(" ")},size:{valType:"number",min:1,editType:t},color:{valType:"color",editType:r},editType:t,description:""+(e.description||"")};return e.arrayOk&&(n.family.arrayOk=!0,n.size.arrayOk=!0,n.color.arrayOk=!0),n}})),i.register("j2fqE",(function(e,t){"use strict";var r=i("1W5ZT"),n=i("lCAJ8")({editType:"none",description:"Sets the default hover label font used by all traces on the graph."});n.family.dflt=r.HOVERFONT,n.size.dflt=r.HOVERFONTSIZE,e.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"],description:["Determines the mode of single click interactions.","*event* is the default value and emits the `plotly_click`","event. In addition this mode emits the `plotly_selected` event","in drag modes *lasso* and *select*, but with no event data attached","(kept for compatibility reasons).","The *select* flag enables selecting single","data points via click. This mode also supports persistent selections,","meaning that pressing Shift while clicking, adds to / subtracts from an","existing selection. *select* with `hovermode`: *x* can be confusing, consider","explicitly setting `hovermode`: *closest* when using this feature.","Selection events are sent accordingly as long as *event* flag is set as well.","When the *event* flag is missing, `plotly_click` and `plotly_selected`","events are not fired."].join(" ")},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar",description:["Determines the mode of drag interactions.","*select* and *lasso* apply only to scatter traces with","markers or text. *orbit* and *turntable* apply only to","3D scenes."].join(" ")},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar",description:["Determines the mode of hover interactions.","If *closest*, a single hoverlabel will appear","for the *closest* point within the `hoverdistance`.","If *x* (or *y*), multiple hoverlabels will appear for multiple points","at the *closest* x- (or y-) coordinate within the `hoverdistance`,","with the caveat that no more than one hoverlabel will appear per trace.","If *x unified* (or *y unified*), a single hoverlabel will appear","multiple points at the closest x- (or y-) coordinate within the `hoverdistance`","with the caveat that no more than one hoverlabel will appear per trace.","In this mode, spikelines are enabled by default perpendicular to the specified axis.","If false, hover interactions are disabled."].join(" ")},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none",description:["Sets the default distance (in pixels) to look for data","to add hover labels (-1 means no cutoff, 0 means no looking for data).","This is only a real distance for hovering on point-like objects,","like scatter points. For area-like objects (bars, scatter fills, etc)","hovering is on inside the area and off outside, but these objects","will not supersede hover on point-like objects in case of conflict."].join(" ")},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none",description:["Sets the default distance (in pixels) to look for data to draw","spikelines to (-1 means no cutoff, 0 means no looking for data).","As with hoverdistance, distance does not apply to area-like objects.","In addition, some objects can be hovered on but will not generate","spikelines, such as scatter fills."].join(" ")},hoverlabel:{bgcolor:{valType:"color",editType:"none",description:["Sets the background color of all hover labels on graph"].join(" ")},bordercolor:{valType:"color",editType:"none",description:["Sets the border color of all hover labels on graph."].join(" ")},font:n,align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none",description:["Sets the horizontal alignment of the text content within hover label box.","Has an effect only if the hover label text spans more two or more lines"].join(" ")},namelength:{valType:"integer",min:-1,dflt:15,editType:"none",description:["Sets the default length (in number of characters) of the trace name in","the hover labels for all traces. -1 shows the whole name","regardless of length. 0-3 shows the first 0-3 characters, and","an integer >3 will show the whole name if it is less than that","many characters, but if it is longer, will truncate to","`namelength - 3` characters and add an ellipsis."].join(" ")},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",description:["When `dragmode` is set to *select*, this limits the selection of the drag to","horizontal, vertical or diagonal. *h* only allows horizontal selection,","*v* only vertical, *d* only diagonal and *any* sets no limit."].join(" "),editType:"none"}}})),i.register("1W5ZT",(function(e,t){"use strict";e.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}})),i.register("hYsp9",(function(e,r){var n,a,o,s;t(e.exports,"extendDeepAll",(()=>n),(e=>n=e)),t(e.exports,"extendDeep",(()=>s),(e=>s=e)),t(e.exports,"extendDeepNoArrays",(()=>a),(e=>a=e)),t(e.exports,"extendFlat",(()=>o),(e=>o=e));var l=i("7jaZz"),c=Array.isArray;function u(e,t,r,n){var a,i,o,s,d,f,h=e[0],p=e.length;if(2===p&&c(h)&&c(e[1])&&0===h.length){if(function(e,t){var r,n;for(r=0;r=0))return e;if(3===o)a[o]>1&&(a[o]=1);else if(a[o]>=1)return e}var s=Math.round(255*a[0])+", "+Math.round(255*a[1])+", "+Math.round(255*a[2]);return i?"rgba("+s+", "+a[3]+")":"rgb("+s+")"}o.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},o.rgb=function(e){return o.tinyRGB(r(e))},o.opacity=function(e){return e?r(e).getAlpha():0},o.addOpacity=function(e,t){var n=r(e).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+t+")"},o.combine=function(e,t){var n=r(e).toRgb();if(1===n.a)return r(e).toRgbString();var a=r(t||c).toRgb(),i=1===a.a?a:{r:255*(1-a.a)+a.r*a.a,g:255*(1-a.a)+a.g*a.a,b:255*(1-a.a)+a.b*a.a},o={r:i.r*(1-n.a)+n.r*n.a,g:i.g*(1-n.a)+n.g*n.a,b:i.b*(1-n.a)+n.b*n.a};return r(o).toRgbString()},o.contrast=function(e,t,n){var a=r(e);return 1!==a.getAlpha()&&(a=r(o.combine(e,c))),(a.isDark()?t?a.lighten(t):c:n?a.darken(n):l).toString()},o.stroke=function(e,t){var n=r(t);e.style({stroke:o.tinyRGB(n),"stroke-opacity":n.getAlpha()})},o.fill=function(e,t){var n=r(t);e.style({fill:o.tinyRGB(n),"fill-opacity":n.getAlpha()})},o.clean=function(e){if(e&&"object"==typeof e){var t,r,n,i,s=Object.keys(e);for(t=0;ti),(e=>i=e)),t(e.exports,"defaultLine",(()=>a),(e=>a=e)),t(e.exports,"lightLine",(()=>o),(e=>o=e)),t(e.exports,"borderLine",(()=>s),(e=>s=e)),t(e.exports,"lightFraction",(()=>l),(e=>l=e)),t(e.exports,"background",(()=>n),(e=>n=e)),i=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],a="#444",o="#eee",n="#fff",s="#BEC8D9",l=90.9090909090909})),i.register("dLSW2",(function(e,t){"use strict";e.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}})),i.register("lkPEm",(function(e,r){var n;t(e.exports,"counter",(()=>n),(e=>n=e)),n=function(e,t,r,n){var a=(t||"")+(r?"":"$"),i=!1===n?"":"^";return"xy"===e?new RegExp(i+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+a):new RegExp(i+e+"([2-9]|[1-9][0-9]+)?"+a)}})),i.register("bigTu",(function(e,r){var n,a,o,s,l,c,u,d,f,h,p,g,v;t(e.exports,"MAX_MS",(()=>l),(e=>l=e)),t(e.exports,"ms2DateTime",(()=>p),(e=>p=e)),t(e.exports,"MIN_MS",(()=>n),(e=>n=e)),t(e.exports,"cleanDate",(()=>g),(e=>g=e)),t(e.exports,"ms2DateTimeLocal",(()=>a),(e=>a=e)),t(e.exports,"formatDate",(()=>d),(e=>d=e)),t(e.exports,"dateTime2ms",(()=>u),(e=>u=e)),t(e.exports,"incrementMonth",(()=>h),(e=>h=e)),t(e.exports,"findExactDates",(()=>v),(e=>v=e)),t(e.exports,"isDateTime",(()=>c),(e=>c=e)),t(e.exports,"isJSDate",(()=>f),(e=>f=e)),t(e.exports,"dateTick0",(()=>o),(e=>o=e)),t(e.exports,"dfltRange",(()=>s),(e=>s=e));var m,y,x=i("fJpfm").timeFormat,b=i("bnpJH"),_=i("g3URC"),w=i("bRf0v").mod,k=i("5jyN7"),T=k.BADNUM,M=k.ONEDAY,A=k.ONEHOUR,S=k.ONEMIN,L=k.ONESEC,D=k.EPOCHJD,P=i("LWtQ1"),C=i("fJpfm").utcFormat,O=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,z=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d(:?\d\d)?)?)?)?)?)?\s*$/m,I=(new Date).getFullYear()-70;function j(e){return e&&P.componentsRegistry.calendars&&"string"==typeof e&&"gregorian"!==e}function R(e,t){return String(e+Math.pow(10,t)).substr(1)}o=function(e,t){var r=function(e,t){return j(e)?t?P.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:P.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"}(e,!!t);if(t<2)return r;var n=u(r,e);return p(n+=M*(t-1),0,e)},s=function(e){return j(e)?P.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},f=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime},m=n=(u=function(e,t){if(f(e)){var r=e.getTimezoneOffset()*S,n=(e.getUTCMinutes()-e.getMinutes())*S+(e.getUTCSeconds()-e.getSeconds())*L+(e.getUTCMilliseconds()-e.getMilliseconds());if(n){var a=3*S;r=r-a/2+w(n-r+a/2,a)}return(e=Number(e)-r)>=m&&e<=y?e:T}if("string"!=typeof e&&"number"!=typeof e)return T;e=String(e);var i=j(t),o=e.charAt(0);!i||"G"!==o&&"g"!==o||(e=e.substr(1),t="");var s=i&&"chinese"===t.substr(0,7),l=e.match(s?z:O);if(!l)return T;var c=l[1],u=l[3]||"1",d=Number(l[5]||1),h=Number(l[7]||0),p=Number(l[9]||0),g=Number(l[11]||0);if(i){if(2===c.length)return T;var v;c=Number(c);try{var x=P.getComponentMethod("calendars","getCal")(t);if(s){var b="i"===u.charAt(u.length-1);u=parseInt(u,10),v=x.newDate(c,x.toMonthIndex(c,u,b),d)}else v=x.newDate(c,Number(u),d)}catch(e){return T}return v?(v.toJD()-D)*M+h*A+p*S+g*L:T}c=2===c.length?(Number(c)+2e3-I)%100+I:Number(c),u-=1;var _=new Date(Date.UTC(2e3,u,d,h,p));return _.setUTCFullYear(c),_.getUTCMonth()!==u||_.getUTCDate()!==d?T:_.getTime()+g*L})("-9999"),y=l=u("9999-12-31 23:59:59.9999"),c=function(e,t){return u(e,t)!==T};var E=90*M,N=3*A,F=5*S;function H(e,t,r,n,a){if((t||r||n||a)&&(e+=" "+R(t,2)+":"+R(r,2),(n||a)&&(e+=":"+R(n,2),a))){for(var i=4;a%10==0;)i-=1,a/=10;e+="."+R(a,i)}return e}p=function(e,t,r){if("number"!=typeof e||!(e>=m&&e<=y))return T;t||(t=0);var n,a,i,o,s,l,c=Math.floor(10*w(e+.05,1)),u=Math.round(e-c/10);if(j(r)){var d=Math.floor(u/M)+D,f=Math.floor(w(e,M));try{n=P.getComponentMethod("calendars","getCal")(r).fromJD(d).formatDate("yyyy-mm-dd")}catch(e){n=C("G%Y-%m-%d")(new Date(u))}if("-"===n.charAt(0))for(;n.length<11;)n="-0"+n.substr(1);else for(;n.length<10;)n="0"+n;a=t=m+M&&e<=y-M))return T;var t=Math.floor(10*w(e+.05,1)),r=new Date(Math.round(e-t/10));return H(x("%Y-%m-%d")(r),r.getHours(),r.getMinutes(),r.getSeconds(),10*r.getUTCMilliseconds()+t)},g=function(e,t,r){if(e===T)return t;if(f(e)||"number"==typeof e&&isFinite(e)){if(j(r))return _.error("JS Dates and milliseconds are incompatible with world calendars",e),t;if(!(e=a(+e))&&void 0!==t)return t}else if(!c(e,r))return _.error("unrecognized date",e),t;return e};var B=/%\d?f/g;function U(e,t,r,n){e=e.replace(B,(function(e){var r=Math.min(+e.charAt(1)||6,6);return(t/1e3%1+2).toFixed(r).substr(2).replace(/0+$/,"")||"0"}));var a=new Date(Math.floor(t+.05));if(j(n))try{e=P.getComponentMethod("calendars","worldCalFmt")(e,t,n)}catch(e){return"Invalid"}return r(e)(a)}var G=[59,59.9,59.99,59.999,59.9999];d=function(e,t,r,n,a,i){if(a=j(a)&&a,!t)if("y"===r)t=i.year;else if("m"===r)t=i.month;else{if("d"!==r)return function(e,t){var r=w(e+.05,M),n=R(Math.floor(r/A),2)+":"+R(w(Math.floor(r/S),60),2);if("M"!==t){b(t)||(t=0);var a=(100+Math.min(w(e/L,60),G[t])).toFixed(t).substr(1);t>0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),n+=":"+a}return n}(e,r)+"\n"+U(i.dayMonthYear,e,n,a);t=i.dayMonth+"\n"+i.year}return U(t,e,n,a)};var Z=3*M;h=function(e,t,r){r=j(r)&&r;var n=w(e,M);if(e=Math.round(e-n),r)try{var a=Math.round(e/M)+D,i=P.getComponentMethod("calendars","getCal")(r),o=i.fromJD(a);return t%12?i.add(o,t,"m"):i.add(o,t/12,"y"),(o.toJD()-D)*M+n}catch(t){_.error("invalid ms "+e+" in calendar "+r)}var s=new Date(e+Z);return s.setUTCMonth(s.getUTCMonth()+t)+n-Z},v=function(e,t){for(var r,n,a=0,i=0,o=0,s=0,l=j(t)&&P.getComponentMethod("calendars","getCal")(t),c=0;c1){var t=["LOG:"];for(e=0;e1){var a=[];for(e=0;e"),"long")}},a.warn=function(){var e;if(r.logging>0){var t=["WARN:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}},a.error=function(){var e;if(r.logging>0){var t=["ERROR:"];for(e=0;e0){var a=[];for(e=0;e"),"stick")}}})),i.register("8bG0z",(function(e,t){"use strict";var r={staticPlot:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are interactive or not.","If *false*, no interactivity, for export or image generation."].join(" ")},plotlyServerURL:{valType:"string",dflt:"",description:["When set it determines base URL for","the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button","and the showLink/sendData on-graph link.","To enable sending your data to Chart Studio Cloud, you need to","set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and","also set `showSendToCloud` to true."].join(" ")},editable:{valType:"boolean",dflt:!1,description:["Determines whether the graph is editable or not.","Sets all pieces of `edits`","unless a separate `edits` config item overrides individual parts."].join(" ")},edits:{annotationPosition:{valType:"boolean",dflt:!1,description:["Determines if the main anchor of the annotation is editable.","The main anchor corresponds to the","text (if no arrow) or the arrow (which drags the whole thing leaving","the arrow length & direction unchanged)."].join(" ")},annotationTail:{valType:"boolean",dflt:!1,description:["Has only an effect for annotations with arrows.","Enables changing the length and direction of the arrow."].join(" ")},annotationText:{valType:"boolean",dflt:!1,description:"Enables editing annotation text."},axisTitleText:{valType:"boolean",dflt:!1,description:"Enables editing axis title text."},colorbarPosition:{valType:"boolean",dflt:!1,description:"Enables moving colorbars."},colorbarTitleText:{valType:"boolean",dflt:!1,description:"Enables editing colorbar title text."},legendPosition:{valType:"boolean",dflt:!1,description:"Enables moving the legend."},legendText:{valType:"boolean",dflt:!1,description:"Enables editing the trace name fields from the legend"},shapePosition:{valType:"boolean",dflt:!1,description:"Enables moving shapes."},titleText:{valType:"boolean",dflt:!1,description:"Enables editing the global layout title."}},autosizable:{valType:"boolean",dflt:!1,description:["Determines whether the graphs are plotted with respect to","layout.autosize:true and infer its container size."].join(" ")},responsive:{valType:"boolean",dflt:!1,description:["Determines whether to change the layout size when window is resized.","In v3, this option will be removed and will always be true."].join(" ")},fillFrame:{valType:"boolean",dflt:!1,description:["When `layout.autosize` is turned on, determines whether the graph","fills the container (the default) or the screen (if set to *true*)."].join(" ")},frameMargins:{valType:"number",dflt:0,min:0,max:.5,description:["When `layout.autosize` is turned on, set the frame margins","in fraction of the graph size."].join(" ")},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox"],extras:[!0,!1],dflt:"gl3d+geo+mapbox",description:["Determines whether mouse wheel or two-finger scroll zooms is enable.","Turned on by default for gl3d, geo and mapbox subplots","(as these subplot types do not have zoombox via pan),","but turned off by default for cartesian subplots.","Set `scrollZoom` to *false* to disable scrolling for all subplots."].join(" ")},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize",description:["Sets the double click interaction mode.","Has an effect only in cartesian plots.","If *false*, double click is disable.","If *reset*, double click resets the axis ranges to their initial values.","If *autosize*, double click set the axis ranges to their autorange values.","If *reset+autosize*, the odd double clicks resets the axis ranges","to their initial values and even double clicks set the axis ranges","to their autorange values."].join(" ")},doubleClickDelay:{valType:"number",dflt:300,min:0,description:["Sets the delay for registering a double-click in ms.","This is the time interval (in ms) between first mousedown and","2nd mouseup to constitute a double-click.","This setting propagates to all on-subplot double clicks","(except for geo and mapbox) and on-legend double clicks."].join(" ")},showAxisDragHandles:{valType:"boolean",dflt:!0,description:["Set to *false* to omit cartesian axis pan/zoom drag handles."].join(" ")},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0,description:["Set to *false* to omit direct range entry at the pan/zoom drag points,","note that `showAxisDragHandles` must be enabled to have an effect."].join(" ")},showTips:{valType:"boolean",dflt:!0,description:["Determines whether or not tips are shown while interacting","with the resulting graphs."].join(" ")},showLink:{valType:"boolean",dflt:!1,description:["Determines whether a link to Chart Studio Cloud is displayed","at the bottom right corner of resulting graphs.","Use with `sendData` and `linkText`."].join(" ")},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0,description:["Sets the text appearing in the `showLink` link."].join(" ")},sendData:{valType:"boolean",dflt:!0,description:["If *showLink* is true, does it contain data","just link to a Chart Studio Cloud file?"].join(" ")},showSources:{valType:"any",dflt:!1,description:["Adds a source-displaying function to show sources on","the resulting graphs."].join(" ")},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover",description:["Determines the mode bar display mode.","If *true*, the mode bar is always visible.","If *false*, the mode bar is always hidden.","If *hover*, the mode bar is visible while the mouse cursor","is on the graph container."].join(" ")},showSendToCloud:{valType:"boolean",dflt:!1,description:['Should we include a ModeBar button, labeled "Edit in Chart Studio",',"that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server","as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0","this button was included by default, now it is opt-in using this flag.","Note that this button can (depending on `plotlyServerURL` being set) send your data","to an external server. However that server does not persist your data",'until you arrive at the Chart Studio and explicitly click "Save".'].join(" ")},showEditInChartStudio:{valType:"boolean",dflt:!1,description:["Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk.","Note that if both `showSendToCloud` and `showEditInChartStudio` are turned,","only `showEditInChartStudio` will be honored."].join(" ")},modeBarButtonsToRemove:{valType:"any",dflt:[],description:["Remove mode bar buttons by name.","See ./components/modebar/buttons.js for the list of names."].join(" ")},modeBarButtonsToAdd:{valType:"any",dflt:[],description:["Add mode bar button using config objects","See ./components/modebar/buttons.js for list of arguments.","To enable predefined modebar buttons e.g. shape drawing, hover and spikelines,","simply provide their string name(s). This could include:","*v1hovermode*, *hoverclosest*, *hovercompare*, *togglehover*, *togglespikelines*,","*drawline*, *drawopenpath*, *drawclosedpath*, *drawcircle*, *drawrect* and *eraseshape*.","Please note that these predefined buttons will only be shown if they are compatible","with all trace types used in a graph."].join(" ")},modeBarButtons:{valType:"any",dflt:!1,description:["Define fully custom mode bar buttons as nested array,","where the outer arrays represents button groups, and","the inner arrays have buttons config objects or names of default buttons","See ./components/modebar/buttons.js for more info."].join(" ")},toImageButtonOptions:{valType:"any",dflt:{},description:["Statically override options for toImage modebar button","allowed keys are format, filename, width, height, scale","see ../components/modebar/buttons.js"].join(" ")},displaylogo:{valType:"boolean",dflt:!0,description:["Determines whether or not the plotly logo is displayed","on the end of the mode bar."].join(" ")},watermark:{valType:"boolean",dflt:!1,description:"watermark the images with the company's logo"},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4,description:["Set the pixel ratio during WebGL image export.","This config option was formerly named `plot3dPixelRatio`","which is now deprecated."].join(" ")},setBackground:{valType:"any",dflt:"transparent",description:["Set function to add the background color (i.e. `layout.paper_color`)","to a different container.","This function take the graph div as first argument and the current background","color as second argument.","Alternatively, set to string *opaque* to ensure there is white behind it."].join(" ")},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/",description:["Set the URL to topojson used in geo charts.","By default, the topojson files are fetched from cdn.plot.ly.","For example, set this option to:","/dist/topojson/","to render geographical feature using the topojson files","that ship with the plotly.js module."].join(" ")},mapboxAccessToken:{valType:"string",dflt:null,description:["Mapbox access token (required to plot mapbox trace types)","If using an Mapbox Atlas server, set this option to ''","so that plotly.js won't attempt to authenticate to the public Mapbox server."].join(" ")},logging:{valType:"integer",min:0,max:2,dflt:1,description:["Turn all console logging on or off (errors will be thrown)","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0,description:["Set on-graph logging (notifier) level","This should ONLY be set via Plotly.setPlotConfig","Available levels:","0: no on-graph logs","1: warnings and errors, but not informational messages","2: verbose logs"].join(" ")},queueLength:{valType:"integer",min:0,dflt:0,description:"Sets the length of the undo/redo queue."},globalTransforms:{valType:"any",dflt:[],description:["Set global transform to be applied to all traces with no","specification needed"].join(" ")},locale:{valType:"string",dflt:"en-US",description:["Which localization should we use?","Should be a string like 'en' or 'en-US'."].join(" ")},locales:{valType:"any",dflt:{},description:["Localization definitions","Locales can be provided either here (specific to one chart) or globally","by registering them as modules.","Should be an object of objects {locale: {dictionary: {...}, format: {...}}}","{"," da: {"," dictionary: {'Reset axes': 'Nulstil aksler', ...},"," format: {months: [...], shortMonths: [...]}"," },"," ...","}","All parts are optional. When looking for translation or format fields, we","look first for an exact match in a config locale, then in a registered","module. If those fail, we strip off any regionalization ('en-US' -> 'en')","and try each (config, registry) again. The final fallback for translation","is untranslated (which is US English) and for formats is the base English","(the only consequence being the last fallback date format %x is DD/MM/YYYY","instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored","for our automatic number formatting, but can be used in custom formats."].join(" ")}},n={};!function e(t,r){for(var n in t){var a=t[n];a.valType?r[n]=a.dflt:(r[n]||(r[n]={}),e(a,r[n]))}}(r,n),e.exports={configAttributes:r,dfltConfig:n}})),i.register("tbKvC",(function(e,t){"use strict";var r=i("fP9PH"),n=i("bnpJH"),a=[];e.exports=function(e,t){if(-1===a.indexOf(e)){a.push(e);var i=1e3;n(t)?i=t:"long"===t&&(i=3e3);var o=r.select("body").selectAll(".plotly-notifier").data([0]);o.enter().append("div").classed("plotly-notifier",!0),o.selectAll(".notifier-note").data(a).enter().append("div").classed("notifier-note",!0).style("opacity",0).each((function(e){var n=r.select(this);n.append("button").classed("notifier-close",!0).html("×").on("click",(function(){n.transition().call(s)}));for(var a=n.append("p"),o=e.split(//g),l=0;lb),(e=>b=e)),t(e.exports,"apiMethodRegistry",(()=>x),(e=>x=e)),t(e.exports,"collectableSubplotTypes",(()=>w),(e=>w=e)),t(e.exports,"call",(()=>g),(e=>g=e)),t(e.exports,"subplotsRegistry",(()=>h),(e=>h=e)),t(e.exports,"allTypes",(()=>n),(e=>n=e)),t(e.exports,"localeRegistry",(()=>l),(e=>l=e)),t(e.exports,"layoutArrayRegexes",(()=>c),(e=>c=e)),t(e.exports,"register",(()=>_),(e=>_=e)),t(e.exports,"getComponentMethod",(()=>p),(e=>p=e)),t(e.exports,"traceLayoutAttributes",(()=>u),(e=>u=e)),t(e.exports,"modules",(()=>f),(e=>f=e)),t(e.exports,"layoutArrayContainers",(()=>s),(e=>s=e)),t(e.exports,"traceIs",(()=>v),(e=>v=e)),t(e.exports,"allCategories",(()=>o),(e=>o=e)),t(e.exports,"componentsRegistry",(()=>m),(e=>m=e)),t(e.exports,"getTransformIndices",(()=>y),(e=>y=e)),t(e.exports,"hasTransform",(()=>d),(e=>d=e)),t(e.exports,"transformsRegistry",(()=>a),(e=>a=e));var k=i("g3URC"),T=i("kkuyP"),M=i("2MDoe"),A=i("7jaZz"),S=i("hzFei").addStyleRule,L=i("hYsp9"),D=i("803hz"),P=i("3lfYl"),C=L.extendFlat,O=L.extendDeepAll;function z(e){var t=e.name,r=e.categories,a=e.meta;if(f[t])k.log("Type "+t+" already registered");else{h[e.basePlotModule.name]||function(e){var t=e.name;if(h[t])return void k.log("Plot type "+t+" already registered.");for(var r in E(e),h[t]=e,m)H(r,e.name)}(e.basePlotModule);for(var i={},s=0;sf),(e=>f=e)),t(e.exports,"apply3DTransform",(()=>s),(e=>s=e)),t(e.exports,"inverseTransformMatrix",(()=>n),(e=>n=e)),t(e.exports,"init2dArray",(()=>o),(e=>o=e)),t(e.exports,"dot",(()=>p),(e=>p=e)),t(e.exports,"transposeRagged",(()=>a),(e=>a=e)),t(e.exports,"rotationXYMatrix",(()=>l),(e=>l=e)),t(e.exports,"rotationMatrix",(()=>h),(e=>h=e)),t(e.exports,"apply2DTransform",(()=>c),(e=>c=e)),t(e.exports,"apply2DTransform2",(()=>d),(e=>d=e)),t(e.exports,"translationMatrix",(()=>u),(e=>u=e));var g=i("3VqXj");o=function(e,t){for(var r=new Array(e),n=0;nn),(e=>n=e)),t(e.exports,"pattern",(()=>a),(e=>a=e)),n={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style",description:["Sets the dash style of lines. Set to a dash type string","(*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*)","or a dash length list in px (eg *5px,10px,2px,2px*)."].join(" ")},a={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style",description:["Sets the shape of the pattern fill.","By default, no pattern is used for filling the area."].join(" ")},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style",description:["Determines whether `marker.color` should be used","as a default to `bgcolor` or a `fgcolor`."].join(" ")},bgcolor:{valType:"color",arrayOk:!0,editType:"style",description:["When there is no colorscale sets the color of background pattern fill.","Defaults to a `marker.color` background when `fillmode` is *overlay*.","Otherwise, defaults to a transparent background."].join(" ")},fgcolor:{valType:"color",arrayOk:!0,editType:"style",description:["When there is no colorscale sets the color of foreground pattern fill.","Defaults to a `marker.color` background when `fillmode` is *replace*.","Otherwise, defaults to dark grey or white","to increase contrast with the `bgcolor`."].join(" ")},fgopacity:{valType:"number",editType:"style",min:0,max:1,description:["Sets the opacity of the foreground pattern fill.","Defaults to a 0.5 when `fillmode` is *overlay*.","Otherwise, defaults to 1."].join(" ")},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style",description:["Sets the size of unit squares of the pattern fill in pixels,","which corresponds to the interval of repetition of the pattern."].join(" ")},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style",description:["Sets the solidity of the pattern fill.","Solidity is roughly the fraction of the area filled by the pattern.","Solidity of 0 shows only the background color without pattern","and solidty of 1 shows only the foreground color without pattern."].join(" ")},editType:"style",description:["Sets the pattern within the marker."].join(" ")}})),i.register("2inVX",(function(e,t){"use strict";e.exports=function(e){var t=e.editType;return{t:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) along the top of the component."},r:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) on the right side of the component."},b:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) along the bottom of the component."},l:{valType:"number",dflt:0,editType:t,description:"The amount of padding (in px) on the left side of the component."},editType:t}}})),i.register("dhZm9",(function(e,r){var n,a,o,s,l,c,u;t(e.exports,"distinctVals",(()=>l),(e=>l=e)),t(e.exports,"sort",(()=>a),(e=>a=e)),t(e.exports,"sorterDes",(()=>s),(e=>s=e)),t(e.exports,"findBin",(()=>n),(e=>n=e)),t(e.exports,"roundUp",(()=>c),(e=>c=e)),t(e.exports,"findIndexOfMin",(()=>u),(e=>u=e)),t(e.exports,"sorterAsc",(()=>o),(e=>o=e));var d=i("bnpJH"),f=i("g3URC"),h=i("N6mwC"),p=i("5jyN7").BADNUM,g=1e-9;function v(e,t){return et}function x(e,t){return e>=t}n=function(e,t,r){if(d(t.start))return r?Math.ceil((e-t.start)/t.size-g)-1:Math.floor((e-t.start)/t.size+g);var n,a,i=0,o=t.length,s=0,l=o>1?(t[o-1]-t[0])/(o-1):1;for(a=l>=0?r?v:m:r?x:y,e+=l*g*(r?-1:1)*(l>=0?1:-1);i90&&f.log("Long binary search..."),i-1},o=function(e,t){return e-t},s=function(e,t){return t-e},l=function(e){var t,r=e.slice();for(r.sort(o),t=r.length-1;t>-1&&r[t]===p;t--);for(var n,a=r[t]-r[0]||1,i=a/(t||1)/1e4,s=[],l=0;l<=t;l++){var c=r[l],u=c-n;void 0===n?(s.push(c),n=c):u>i&&(a=Math.min(a,u),s.push(c),n=c)}return{vals:s,minDiff:a}},c=function(e,t,r){for(var n,a=0,i=t.length-1,o=0,s=r?0:1,l=r?1:0,c=r?Math.ceil:Math.floor;a0&&(n=1),r&&n)return e.sort(t)}return n?e:e.reverse()},u=function(e,t){t=t||h;for(var r,n=1/0,a=0;ao),(e=>o=e)),t(e.exports,"midRange",(()=>c),(e=>c=e)),t(e.exports,"interp",(()=>d),(e=>d=e)),t(e.exports,"median",(()=>u),(e=>u=e)),t(e.exports,"stdev",(()=>a),(e=>a=e)),t(e.exports,"mean",(()=>l),(e=>l=e)),t(e.exports,"len",(()=>s),(e=>s=e)),t(e.exports,"variance",(()=>n),(e=>n=e));var f=i("bnpJH"),h=i("d2MsI").isArrayOrTypedArray;o=function(e,t,r,n){var a,i;if((!n||n>r.length)&&(n=r.length),f(t)||(t=!1),h(r[0])){for(i=new Array(n),a=0;ae.length-1)return e[e.length-1];var r=t%1;return r*e[Math.ceil(t)]+(1-r)*e[Math.floor(t)]}})),i.register("42m4E",(function(e,t){"use strict";var r=i("bRf0v"),n=r.mod,a=r.modHalf,o=Math.PI,s=2*o;function l(e){return Math.abs(e[1]-e[0])>s-1e-14}function c(e,t){return a(t-e,s)}function u(e,t){if(l(t))return!0;var r,a;t[0](a=n(a,s))&&(a+=s);var i=n(e,s),o=i+s;return i>=r&&i<=a||o>=r&&o<=a}function d(e,t,r,n,a,i,c){a=a||0,i=i||0;var u,d,f,h,p,g=l([r,n]);function v(e,t){return[e*Math.cos(t)+a,i-e*Math.sin(t)]}g?(u=0,d=o,f=s):r=a&&e<=i);var a,i},pathArc:function(e,t,r,n,a){return d(null,e,t,r,n,a,0)},pathSector:function(e,t,r,n,a){return d(null,e,t,r,n,a,1)},pathAnnulus:function(e,t,r,n,a,i){return d(e,t,r,n,a,i,1)}}})),i.register("21h91",(function(e,r){var n,a,i,o,s,l;t(e.exports,"isRightAnchor",(()=>o),(e=>o=e)),t(e.exports,"isLeftAnchor",(()=>l),(e=>l=e)),t(e.exports,"isCenterAnchor",(()=>i),(e=>i=e)),t(e.exports,"isTopAnchor",(()=>s),(e=>s=e)),t(e.exports,"isMiddleAnchor",(()=>n),(e=>n=e)),t(e.exports,"isBottomAnchor",(()=>a),(e=>a=e)),l=function(e){return"left"===e.xanchor||"auto"===e.xanchor&&e.x<=1/3},i=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},o=function(e){return"right"===e.xanchor||"auto"===e.xanchor&&e.x>=2/3},s=function(e){return"top"===e.yanchor||"auto"===e.yanchor&&e.y>=2/3},n=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3},a=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3}})),i.register("2q831",(function(e,r){var n,a,o,s,l,c;t(e.exports,"clearLocationCache",(()=>a),(e=>a=e)),t(e.exports,"findPointOnPath",(()=>l),(e=>l=e)),t(e.exports,"segmentDistance",(()=>s),(e=>s=e)),t(e.exports,"getVisibleSegment",(()=>o),(e=>o=e)),t(e.exports,"getTextLocation",(()=>c),(e=>c=e)),t(e.exports,"segmentsIntersect",(()=>n),(e=>n=e));var u,d,f,h=i("bRf0v").mod;function p(e,t,r,n,a,i,o,s){var l=r-e,c=a-e,u=o-a,d=n-t,f=i-t,h=s-i,p=l*h-u*d;if(0===p)return null;var g=(c*h-u*f)/p,v=(c*d-l*f)/p;return v<0||v>1||g<0||g>1?null:{x:e+l*g,y:t+d*g}}function g(e,t,r,n,a){var i=n*e+a*t;if(i<0)return n*n+a*a;if(i>r){var o=n-e,s=a-t;return o*o+s*s}var l=n*t-a*e;return l*l/r}n=p,s=function(e,t,r,n,a,i,o,s){if(p(e,t,r,n,a,i,o,s))return 0;var l=r-e,c=n-t,u=o-a,d=s-i,f=l*l+c*c,h=u*u+d*d,v=Math.min(g(l,c,f,a-e,i-t),g(l,c,f,o-e,s-t),g(u,d,h,e-a,t-i),g(u,d,h,r-a,n-i));return Math.sqrt(v)},c=function(e,t,r,n){if(e===d&&n===f||(u={},d=e,f=n),u[r])return u[r];var a=e.getPointAtLength(h(r-n/2,t)),i=e.getPointAtLength(h(r+n/2,t)),o=Math.atan((i.y-a.y)/(i.x-a.x)),s=e.getPointAtLength(h(r,t)),l={x:(4*s.x+a.x+i.x)/6,y:(4*s.y+a.y+i.y)/6,theta:o};return u[r]=l,l},a=function(){d=null},o=function(e,t,r){var n,a,i=t.left,o=t.right,s=t.top,l=t.bottom,c=0,u=e.getTotalLength(),d=u;function f(t){var r=e.getPointAtLength(t);0===t?n=r:t===u&&(a=r);var c=r.xo?r.x-o:0,d=r.yl?r.y-l:0;return Math.sqrt(c*c+d*d)}for(var h=f(c);h;){if((c+=h+r)>d)return;h=f(c)}for(h=f(d);h;){if(c>(d-=h+r))return;h=f(d)}return{min:c,max:d,len:d-c,total:u,isClosed:0===c&&d===u&&Math.abs(n.x-a.x)<.1&&Math.abs(n.y-a.y)<.1}},l=function(e,t,r,n){for(var a,i,o,s=(n=n||{}).pathLength||e.getTotalLength(),l=n.tolerance||.001,c=n.iterationLimit||30,u=e.getPointAtLength(0)[r]>e.getPointAtLength(s)[r]?-1:1,d=0,f=0,h=s;d0?h=a:f=a,d++}return i}})),i.register("dLTZR",(function(e,r){var n,a,i;t(e.exports,"clear",(()=>n),(e=>n=e)),t(e.exports,"done",(()=>a),(e=>a=e)),t(e.exports,"throttle",(()=>i),(e=>i=e));var o={};function s(e){e&&null!==e.timer&&(clearTimeout(e.timer),e.timer=null)}i=function(e,t,r){var n=o[e],a=Date.now();if(!n){for(var i in o)o[i].tsn.ts+t?l():n.timer=setTimeout((function(){l(),n.timer=null}),t)},a=function(e){var t=o[e];return t&&t.timer?new Promise((function(e){var r=t.onDone;t.onDone=function(){r&&r(),e(),t.onDone=null}})):Promise.resolve()},n=function(e){if(e)s(o[e]),delete o[e];else for(var t in o)n(t)}})),i.register("e5Jqr",(function(e,t){"use strict";e.exports=function(e){e._responsiveChartHandler&&(window.removeEventListener("resize",e._responsiveChartHandler),delete e._responsiveChartHandler)}})),i.register("anixW",(function(e,t){"use strict";var r=i("bnpJH"),n=i("8utQx");e.exports=function(e){var t;if("string"!=typeof(t=e&&e.hasOwnProperty("userAgent")?e.userAgent:function(){var e;"undefined"!=typeof navigator&&(e=navigator.userAgent);e&&e.headers&&"string"==typeof e.headers["user-agent"]&&(e=e.headers["user-agent"]);return e}()))return!0;var a=n({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!a)for(var i=t.split(" "),o=1;o-1;s--){var l=i[s];if("Version/"===l.substr(0,8)){var c=l.substr(8).split(".")[0];if(r(c)&&(c=+c),c>=13)return!0}}}return a}})),i.register("8utQx",(function(e,t){"use strict";e.exports=a,e.exports.isMobile=a,e.exports.default=a;var r=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,n=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino|android|ipad|playbook|silk/i;function a(e){e||(e={});var t=e.ua;if(t||"undefined"==typeof navigator||(t=navigator.userAgent),t&&t.headers&&"string"==typeof t.headers["user-agent"]&&(t=t.headers["user-agent"]),"string"!=typeof t)return!1;var a=e.tablet?n.test(t):r.test(t);return!a&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&-1!==t.indexOf("Macintosh")&&-1!==t.indexOf("Safari")&&(a=!0),a}})),i.register("2bKhX",(function(e,t){"use strict";var r=i("fP9PH");e.exports=function(e,t,n){var a=e.selectAll("g."+n.replace(/\s/g,".")).data(t,(function(e){return e[0].trace.uid}));a.exit().remove(),a.enter().append("g").attr("class",n),a.order();var i=e.classed("rangeplot")?"nodeRangePlot3":"node3";return a.each((function(e){e[0][i]=r.select(this)})),a}})),i.register("dzSaT",(function(e,t){"use strict";var r=i("LWtQ1");e.exports=function(e,t){for(var n=e._context.locale,a=0;a<2;a++){for(var i=e._context.locales,o=0;o<2;o++){var s=(i[n]||{}).dictionary;if(s){var l=s[t];if(l)return l}i=r.localeRegistry}var c=n.split("-")[0];if(c===n)break;n=c}return t}})),i.register("5UVoO",(function(e,t){"use strict";e.exports=function(e){for(var t={},r=[],n=0,a=0;a1?(r*e+r*t)/r:e+t,a=String(n).length;if(a>16){var i=String(t).length;if(a>=String(e).length+i){var o=parseFloat(n).toPrecision(12);-1===o.indexOf("e+")&&(n=+o)}}return n}})),i.register("a5bLa",(function(e,t){"use strict";var r=i("bnpJH"),n=i("5jyN7").BADNUM,a=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;e.exports=function(e){return"string"==typeof e&&(e=e.replace(a,"")),r(e)?Number(e):n}})),i.register("5zYQ5",(function(e,r){var n,a,o,s,l,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S,L,D;t(e.exports,"_guiRelayout",(()=>o),(e=>o=e)),t(e.exports,"animate",(()=>y),(e=>y=e)),t(e.exports,"_doPlot",(()=>S),(e=>S=e)),t(e.exports,"extendTraces",(()=>v),(e=>v=e)),t(e.exports,"prependTraces",(()=>L),(e=>L=e)),t(e.exports,"restyle",(()=>h),(e=>h=e)),t(e.exports,"toImage",(()=>A),(e=>A=e)),t(e.exports,"addFrames",(()=>p),(e=>p=e)),t(e.exports,"react",(()=>a),(e=>a=e)),t(e.exports,"validate",(()=>_),(e=>_=e)),t(e.exports,"newPlot",(()=>u),(e=>u=e)),t(e.exports,"makeTemplate",(()=>f),(e=>f=e)),t(e.exports,"_guiUpdate",(()=>m),(e=>m=e)),t(e.exports,"addTraces",(()=>D),(e=>D=e)),t(e.exports,"deleteTraces",(()=>c),(e=>c=e)),t(e.exports,"_guiRestyle",(()=>n),(e=>n=e)),t(e.exports,"moveTraces",(()=>b),(e=>b=e)),t(e.exports,"validateTemplate",(()=>k),(e=>k=e)),t(e.exports,"update",(()=>w),(e=>w=e)),t(e.exports,"redraw",(()=>x),(e=>x=e)),t(e.exports,"_storeDirectGUIEdit",(()=>l),(e=>l=e)),t(e.exports,"purge",(()=>g),(e=>g=e)),t(e.exports,"relayout",(()=>M),(e=>M=e)),t(e.exports,"deleteFrames",(()=>s),(e=>s=e)),t(e.exports,"setPlotConfig",(()=>d),(e=>d=e)),t(e.exports,"downloadImage",(()=>T),(e=>T=e));var P=i("1dOoy");S=P._doPlot,u=P.newPlot,h=P.restyle,M=P.relayout,x=P.redraw,w=P.update,n=P._guiRestyle,o=P._guiRelayout,m=P._guiUpdate,l=P._storeDirectGUIEdit,a=P.react,v=P.extendTraces,L=P.prependTraces,D=P.addTraces,c=P.deleteTraces,b=P.moveTraces,g=P.purge,p=P.addFrames,s=P.deleteFrames,y=P.animate,d=P.setPlotConfig,A=i("kbu35"),_=i("ieDMq"),T=i("1ds32");var C=i("5MWuu");f=C.makeTemplate,k=C.validateTemplate})),i.register("1dOoy",(function(e,r){var n,a,o,s,l,c,u,d,f,h,p,g,v,m,y,x,b,_,w,k,T;t(e.exports,"react",(()=>m),(e=>m=e)),t(e.exports,"deleteFrames",(()=>n),(e=>n=e)),t(e.exports,"deleteTraces",(()=>v),(e=>v=e)),t(e.exports,"relayout",(()=>y),(e=>y=e)),t(e.exports,"prependTraces",(()=>_),(e=>_=e)),t(e.exports,"update",(()=>d),(e=>d=e)),t(e.exports,"_guiRelayout",(()=>f),(e=>f=e)),t(e.exports,"addFrames",(()=>c),(e=>c=e)),t(e.exports,"animate",(()=>T),(e=>T=e)),t(e.exports,"_guiUpdate",(()=>g),(e=>g=e)),t(e.exports,"moveTraces",(()=>p),(e=>p=e)),t(e.exports,"_storeDirectGUIEdit",(()=>h),(e=>h=e)),t(e.exports,"purge",(()=>u),(e=>u=e)),t(e.exports,"redraw",(()=>s),(e=>s=e)),t(e.exports,"addTraces",(()=>w),(e=>w=e)),t(e.exports,"setPlotConfig",(()=>k),(e=>k=e)),t(e.exports,"newPlot",(()=>o),(e=>o=e)),t(e.exports,"_doPlot",(()=>b),(e=>b=e)),t(e.exports,"_guiRestyle",(()=>x),(e=>x=e)),t(e.exports,"restyle",(()=>l),(e=>l=e)),t(e.exports,"extendTraces",(()=>a),(e=>a=e));var M=i("fP9PH"),A=i("bnpJH"),S=i("lnf8W"),L=i("aDPZG"),D=L.nestedProperty,P=i("hxee8"),C=i("kqPFz"),O=i("LWtQ1"),z=i("lQ1bD"),I=i("dx7II"),j=i("jzgPx"),R=i("4iYWi"),E=i("1Jf1D"),N=i("gbTMN").initInteractions,F=i("lxkS1"),H=i("1yce1").clearSelect,B=i("8bG0z").dfltConfig,U=i("12U4e"),G=i("jOoUQ"),Z=i("heZHF"),q=i("eR6Xb"),V=i("jvdiU").AX_NAME_PATTERN,Y=0;function W(e){var t=e._fullLayout;t._redrawFromAutoMarginCount?t._redrawFromAutoMarginCount--:e.emit("plotly_afterplot")}function X(e,t){try{e._fullLayout._paper.style("background",t)}catch(e){L.error(e)}}function J(e,t){X(e,E.combine(t,"white"))}function Q(e,t){if(!e._context){e._context=L.extendDeep({},B);var r=M.select("base");e._context._baseUrl=r.size()&&r.attr("href")?window.location.href.split("#")[0]:""}var n,a,i,o=e._context;if(t){for(a=Object.keys(t),n=0;n=e.data.length||a<-e.data.length)throw new Error(r+" must be valid indices for gd.data.");if(t.indexOf(a,n+1)>-1||a>=0&&t.indexOf(-e.data.length+a)>-1||a<0&&t.indexOf(e.data.length+a)>-1)throw new Error("each index in "+r+" must be unique.")}}function ee(e,t,r){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),$(e,t,"currentIndices"),void 0===r||Array.isArray(r)||(r=[r]),void 0!==r&&$(e,r,"newIndices"),void 0!==r&&t.length!==r.length)throw new Error("current and new indices must be of equal length.")}function te(e,t,r,n,a){!function(e,t,r,n){var a=L.isPlainObject(n);if(!Array.isArray(e.data))throw new Error("gd.data must be an array");if(!L.isPlainObject(t))throw new Error("update must be a key:value object");if(void 0===r)throw new Error("indices must be an integer or array of integers");for(var i in $(e,r,"indices"),t){if(!Array.isArray(t[i])||t[i].length!==r.length)throw new Error("attribute "+i+" must be an array of length equal to indices array length");if(a&&(!(i in n)||!Array.isArray(n[i])||n[i].length!==t[i].length))throw new Error("when maxPoints is set as a key:value object it must contain a 1:1 corrispondence with the keys and number of traces in the update object")}}(e,t,r,n);for(var i=function(e,t,r,n){var a,i,o,s,l,c=L.isPlainObject(n),u=[];for(var d in Array.isArray(r)||(r=[r]),r=K(r,e.data.length-1),t)for(var f=0;f-1?s(r,r.replace("titlefont","title.font")):r.indexOf("titleposition")>-1?s(r,r.replace("titleposition","title.position")):r.indexOf("titleside")>-1?s(r,r.replace("titleside","title.side")):r.indexOf("titleoffset")>-1&&s(r,r.replace("titleoffset","title.offset")):s(r,r.replace("title","title.text"));function s(t,r){e[r]=e[t],delete e[t]}}function ce(e,t,r){e=L.getGraphDiv(e),G.clearPromiseQueue(e);var n={};if("string"==typeof t)n[t]=r;else{if(!L.isPlainObject(t))return L.warn("Relayout fail.",t,r),Promise.reject();n=L.extendFlat({},t)}Object.keys(n).length&&(e.changed=!0);var a=ge(e,n),i=a.flags;i.calc&&(e.calcdata=void 0);var o=[I.previousPromises];i.layoutReplot?o.push(Z.layoutReplot):Object.keys(n).length&&(ue(e,i,a)||I.supplyDefaults(e),i.legend&&o.push(Z.doLegend),i.layoutstyle&&o.push(Z.layoutStyles),i.axrange&&de(o,a.rangesAltered),i.ticks&&o.push(Z.doTicksRelayout),i.modebar&&o.push(Z.doModeBar),i.camera&&o.push(Z.doCamera),i.colorbars&&o.push(Z.doColorBars),o.push(W)),o.push(I.rehover,I.redrag),C.add(e,ce,[e,a.undoit],ce,[e,a.redoit]);var s=L.syncOrAsync(o,e);return s&&s.then||(s=Promise.resolve(e)),s.then((function(){return e.emit("plotly_relayout",a.eventData),e}))}function ue(e,t,r){var n=e._fullLayout;if(!t.axrange)return!1;for(var a in t)if("axrange"!==a&&t[a])return!1;for(var i in r.rangesAltered){var o=j.id2name(i),s=e.layout[o],l=n[o];if(l.autorange=s.autorange,s.range&&(l.range=s.range.slice()),l.cleanRange(),l._matchGroup)for(var c in l._matchGroup)if(c!==i){var u=n[j.id2name(c)];u.autorange=l.autorange,u.range=l.range.slice(),u._input.range=l.range.slice()}}return!0}function de(e,t){var r=t?function(e){var r=[],n=!0;for(var a in t){var i=j.getFromId(e,a);if(r.push(a),-1!==(i.ticklabelposition||"").indexOf("inside")&&i._anchorAxis&&r.push(i._anchorAxis._id),i._matchGroup)for(var o in i._matchGroup)t[o]||r.push(o);i.automargin&&(n=!1)}return j.draw(e,r,{skipTitle:n})}:function(e){return j.draw(e,"redraw")};e.push(H,Z.doAutoRangeAndConstraints,r,Z.drawData,Z.finalDraw)}var fe=/^[xyz]axis[0-9]*\.range(\[[0|1]\])?$/,he=/^[xyz]axis[0-9]*\.autorange$/,pe=/^[xyz]axis[0-9]*\.domain(\[[0|1]\])?$/;function ge(e,t){var r,n,a,i=e.layout,o=e._fullLayout,s=o._guiEditing,l=ie(o._preGUI,s),c=Object.keys(t),u=j.list(e),d=L.extendDeepAll({},t),f={};for(le(t),c=Object.keys(t),n=0;n0&&"string"!=typeof T.parts[A];)A--;var S=T.parts[A],P=T.parts[A-1]+"."+S,C=T.parts.slice(0,A).join("."),I=D(e.layout,C).get(),R=D(o,C).get(),E=T.get();if(void 0!==M){m[k]=M,y[k]="reverse"===S?M:ae(E);var N=z.getLayoutValObject(o,T.parts);if(N&&N.impliedEdits&&null!==M)for(var F in N.impliedEdits)x(L.relativeAttr(k,F),N.impliedEdits[F]);if(-1!==["width","height"].indexOf(k))if(M){x("autosize",null);var H="height"===k?"width":"height";x(H,o[H])}else o[k]=e._initialAutoSize[k];else if("autosize"===k)x("width",M?null:o.width),x("height",M?null:o.height);else if(P.match(fe))w(P),D(o,C+"._inputRange").set(null);else if(P.match(he)){w(P),D(o,C+"._inputRange").set(null);var B=D(o,C).get();B._inputDomain&&(B._input.domain=B._inputDomain.slice())}else P.match(pe)&&D(o,C+"._inputDomain").set(null);if("type"===S){b=I;var Z="linear"===R.type&&"log"===M,Y="log"===R.type&&"linear"===M;if(Z||Y){if(b&&b.range)if(R.autorange)Z&&(b.range=b.range[1]>b.range[0]?[1,2]:[2,1]);else{var W=b.range[0],X=b.range[1];Z?(W<=0&&X<=0&&x(C+".autorange",!0),W<=0?W=X/1e6:X<=0&&(X=W/1e6),x(C+".range[0]",Math.log(W)/Math.LN10),x(C+".range[1]",Math.log(X)/Math.LN10)):(x(C+".range[0]",Math.pow(10,W)),x(C+".range[1]",Math.pow(10,X)))}else x(C+".autorange",!0);Array.isArray(o._subplots.polar)&&o._subplots.polar.length&&o[T.parts[0]]&&"radialaxis"===T.parts[1]&&delete o[T.parts[0]]._subplot.viewInitial["radialaxis.range"],O.getComponentMethod("annotations","convertCoords")(e,R,M,x),O.getComponentMethod("images","convertCoords")(e,R,M,x)}else x(C+".autorange",!0),x(C+".range",null);D(o,C+"._inputRange").set(null)}else if(S.match(V)){var J=D(o,k).get(),Q=(M||{}).type;Q&&"-"!==Q||(Q="linear"),O.getComponentMethod("annotations","convertCoords")(e,J,Q,x),O.getComponentMethod("images","convertCoords")(e,J,Q,x)}var K=U.containerArrayMatch(k);if(K){r=K.array,n=K.index;var $=K.property,ee=N||{editType:"calc"};""!==n&&""===$&&(U.isAddVal(M)?y[k]=null:U.isRemoveVal(M)?y[k]=(D(i,r).get()||[])[n]:L.warn("unrecognized full object value",t)),q.update(v,ee),f[r]||(f[r]={});var te=f[r][n];te||(te=f[r][n]={}),te[$]=M,delete t[k]}else"reverse"===S?(I.range?I.range.reverse():(x(C+".autorange",!0),I.range=[1,0]),R.autorange?v.calc=!0:v.plot=!0):(o._has("scatter-like")&&o._has("regl")&&"dragmode"===k&&("lasso"===M||"select"===M)&&"lasso"!==E&&"select"!==E||o._has("gl2d")?v.plot=!0:N?q.update(v,N):v.calc=!0,T.set(M))}}for(r in f){U.applyContainerArrayChanges(e,l(i,r),f[r],v,l)||(v.plot=!0)}for(var re in _){var ne=(b=j.getFromId(e,re))&&b._constraintGroup;if(ne)for(var oe in v.calc=!0,ne)_[oe]||(j.getFromId(e,oe)._constraintShrinkable=!0)}return(ve(e)||t.height||t.width)&&(v.plot=!0),(v.plot||v.calc)&&(v.layoutReplot=!0),{flags:v,rangesAltered:_,undoit:y,redoit:m,eventData:d}}function ve(e){var t=e._fullLayout,r=t.width,n=t.height;return e.layout.autosize&&I.plotAutoSize(e,e.layout,t),t.width!==r||t.height!==n}function me(e,t,r,n){e=L.getGraphDiv(e),G.clearPromiseQueue(e),L.isPlainObject(t)||(t={}),L.isPlainObject(r)||(r={}),Object.keys(t).length&&(e.changed=!0),Object.keys(r).length&&(e.changed=!0);var a=G.coerceTraceIndices(e,n),i=se(e,L.extendFlat({},t),a),o=i.flags,s=ge(e,L.extendFlat({},r)),l=s.flags;(o.calc||l.calc)&&(e.calcdata=void 0),o.clearAxisTypes&&G.clearAxisTypes(e,a,r);var c=[];l.layoutReplot?c.push(Z.layoutReplot):o.fullReplot?c.push(b):(c.push(I.previousPromises),ue(e,l,s)||I.supplyDefaults(e),o.style&&c.push(Z.doTraceStyle),(o.colorbars||l.colorbars)&&c.push(Z.doColorBars),l.legend&&c.push(Z.doLegend),l.layoutstyle&&c.push(Z.layoutStyles),l.axrange&&de(c,s.rangesAltered),l.ticks&&c.push(Z.doTicksRelayout),l.modebar&&c.push(Z.doModeBar),l.camera&&c.push(Z.doCamera),c.push(W)),c.push(I.rehover,I.redrag),C.add(e,me,[e,i.undoit,s.undoit,i.traces],me,[e,i.redoit,s.redoit,i.traces]);var u=L.syncOrAsync(c,e);return u&&u.then||(u=Promise.resolve(e)),u.then((function(){return e.emit("plotly_update",{data:i.eventData,layout:s.eventData}),e}))}function ye(e){return function(t){t._fullLayout._guiEditing=!0;var r=e.apply(null,arguments);return t._fullLayout._guiEditing=!1,r}}var xe=[{pattern:/^hiddenlabels/,attr:"legend.uirevision"},{pattern:/^((x|y)axis\d*)\.((auto)?range|title\.text)/},{pattern:/axis\d*\.showspikes$/,attr:"modebar.uirevision"},{pattern:/(hover|drag)mode$/,attr:"modebar.uirevision"},{pattern:/^(scene\d*)\.camera/},{pattern:/^(geo\d*)\.(projection|center|fitbounds)/},{pattern:/^(ternary\d*\.[abc]axis)\.(min|title\.text)$/},{pattern:/^(polar\d*\.radialaxis)\.((auto)?range|angle|title\.text)/},{pattern:/^(polar\d*\.angularaxis)\.rotation/},{pattern:/^(mapbox\d*)\.(center|zoom|bearing|pitch)/},{pattern:/^legend\.(x|y)$/,attr:"editrevision"},{pattern:/^(shapes|annotations)/,attr:"editrevision"},{pattern:/^title\.text$/,attr:"editrevision"}],be=[{pattern:/^selectedpoints$/,attr:"selectionrevision"},{pattern:/(^|value\.)visible$/,attr:"legend.uirevision"},{pattern:/^dimensions\[\d+\]\.constraintrange/},{pattern:/^node\.(x|y|groups)/},{pattern:/^level$/},{pattern:/(^|value\.)name$/},{pattern:/colorbar\.title\.text$/},{pattern:/colorbar\.(x|y)$/,attr:"editrevision"}];function _e(e,t){for(var r=0;r1;)if(n.pop(),void 0!==(r=D(t,n.join(".")+".uirevision").get()))return r;return t.uirevision}function ke(e,t){for(var r=0;r=a.length?a[0]:a[e]:a}function s(e){return Array.isArray(i)?e>=i.length?i[0]:i[e]:i}function l(e,t){var r=0;return function(){if(e&&++r===t)return e()}}return void 0===n._frameWaitingCnt&&(n._frameWaitingCnt=0),new Promise((function(i,c){function u(){n._currentFrame&&n._currentFrame.onComplete&&n._currentFrame.onComplete();var t=n._currentFrame=n._frameQueue.shift();if(t){var r=t.name?t.name.toString():null;e._fullLayout._currentFrame=r,n._lastFrameAt=Date.now(),n._timeToNext=t.frameOpts.duration,I.transition(e,t.frame.data,t.frame.layout,G.coerceTraceIndices(e,t.frame.traces),t.frameOpts,t.transitionOpts).then((function(){t.onComplete&&t.onComplete()})),e.emit("plotly_animatingframe",{name:r,frame:t.frame,animation:{frame:t.frameOpts,transition:t.transitionOpts}})}else e.emit("plotly_animated"),window.cancelAnimationFrame(n._animationRaf),n._animationRaf=null}function d(){e.emit("plotly_animating"),n._lastFrameAt=-1/0,n._timeToNext=0,n._runningTransitions=0,n._currentFrame=null;var t=function(){n._animationRaf=window.requestAnimationFrame(t),Date.now()-n._lastFrameAt>n._timeToNext&&u()};t()}var f,h,p=0;function g(e){return Array.isArray(a)?p>=a.length?e.transitionOpts=a[p]:e.transitionOpts=a[0]:e.transitionOpts=a,p++,e}var v=[],m=null==t,y=Array.isArray(t);if(!m&&!y&&L.isPlainObject(t))v.push({type:"object",data:g(L.extendFlat({},t))});else if(m||-1!==["string","number"].indexOf(typeof t))for(f=0;f0&&__)&&w.push(h);v=w}}v.length>0?function(t){if(0!==t.length){for(var a=0;a=0;n--)if(L.isPlainObject(t[n])){var f=t[n].name,h=(l[f]||d[f]||{}).name,p=t[n].name,g=l[h]||d[h];h&&p&&"number"==typeof p&&g&&Y<5&&(Y++,L.warn('addFrames: overwriting frame "'+(l[h]||d[h]).name+'" with a frame whose name of type "number" also equates to "'+h+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),5===Y&&L.warn("addFrames: This API call has yielded too many of these warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),d[f]={name:f},u.push({frame:I.supplyFrameDefaults(t[n]),index:r&&void 0!==r[n]&&null!==r[n]?r[n]:c+n})}u.sort((function(e,t){return e.index>t.index?-1:e.index=0;n--){if("number"==typeof(a=u[n].frame).name&&L.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;l[a.name="frame "+e._transitionData._counter++];);if(l[a.name]){for(i=0;i=0;r--)n=t[r],i.push({type:"delete",index:n}),o.unshift({type:"insert",index:n,value:a[n]});var s=I.modifyFrames,l=I.modifyFrames,c=[e,o],u=[e,i];return C&&C.add(e,s,c,l,u),I.modifyFrames(e,i)},w=function e(t,r,n){t=L.getGraphDiv(t);var a,i,o=[],l=v,c=e,u=[t,o],d=[t,r];for(function(e,t,r){var n,a;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),n=0;n=0&&r=0&&r0&&o.length>a&&!o.warned){o.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=o.length,s=u,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},a=d.bind(n);return a.listener=r,n.wrapFn=a,a}function h(e,t,r){var n=e._events;if(void 0===n)return[];var a=n[t];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(e){for(var t=new Array(e.length),r=0;r0&&(o=t[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)a(l,this,t);else{var c=l.length,u=g(l,c);for(r=0;r=0;i--)if(r[i]===t||r[i].listener===t){o=r[i].listener,a=i;break}if(a<0)return this;0===a?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}})),i.register("kqPFz",(function(e,t){"use strict";var r=i("aDPZG"),n=i("8bG0z").dfltConfig;var a={add:function(e,t,r,a,i){var o,s;e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},s=e.undoQueue.index,e.autoplay?e.undoQueue.inSequence||(e.autoplay=!1):(!e.undoQueue.sequence||e.undoQueue.beginSequence?(o={undo:{calls:[],args:[]},redo:{calls:[],args:[]}},e.undoQueue.queue.splice(s,e.undoQueue.queue.length-s,o),e.undoQueue.index+=1):o=e.undoQueue.queue[s-1],e.undoQueue.beginSequence=!1,o&&(o.undo.calls.unshift(t),o.undo.args.unshift(r),o.redo.calls.push(a),o.redo.args.push(i)),e.undoQueue.queue.length>n.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--))},startSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},stopSequence:function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},undo:function(e){var t,r;if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;r=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,r=0;rs),(e=>s=e)),t(e.exports,"IS_SUBPLOT_OBJ",(()=>l),(e=>l=e)),t(e.exports,"findArrayAttributes",(()=>o),(e=>o=e)),t(e.exports,"get",(()=>n),(e=>n=e)),t(e.exports,"IS_LINKED_TO_ARRAY",(()=>d),(e=>d=e)),t(e.exports,"getTraceValObject",(()=>h),(e=>h=e)),t(e.exports,"UNDERSCORE_ATTRS",(()=>a),(e=>a=e)),t(e.exports,"crawl",(()=>u),(e=>u=e)),t(e.exports,"isValObject",(()=>f),(e=>f=e)),t(e.exports,"getLayoutValObject",(()=>c),(e=>c=e));var p=i("LWtQ1"),g=i("aDPZG"),v=i("803hz"),m=i("3lfYl"),y=i("dWdsu"),x=i("1boxH"),b=i("8bG0z").configAttributes,_=i("eR6Xb"),w=g.extendDeepAll,k=g.isPlainObject,T=g.isArrayOrTypedArray,M=g.nestedProperty,A=g.valObjectMeta,S="_isSubplotObj",L="_isLinkedToArray",D="_deprecated",P=[S,L,"_arrayAttrRegexps",D];function C(e,t,r){if(!e)return!1;if(e._isLinkedToArray)if(O(t[r]))r++;else if(r=i.length)return!1;if(2===e.dimensions){if(r++,t.length===r)return e;var o=t[r];if(!O(o))return!1;e=i[a][o]}else e=i[a]}else e=i}}return e}function O(e){return e===Math.round(e)&&e>=0}function z(){var e,t,r={};for(e in w(r,m),p.subplotsRegistry){if((t=p.subplotsRegistry[e]).layoutAttributes)if(Array.isArray(t.attr))for(var n=0;n=o.length)return!1;n=(r=(p.transformsRegistry[o[s].type]||{}).attributes)&&r[t[2]],i=3}else{var l=e._module;if(l||(l=(p.modules[e.type||v.type.dflt]||{})._module),!l)return!1;if(!(n=(r=l.attributes)&&r[a])){var c=l.basePlotModule;c&&c.attributes&&(n=c.attributes[a])}n||(n=v[a])}return C(n,t,i)},c=function(e,t){return C(function(e,t){var r,n,a,i,o=e._basePlotModules;if(o){var s;for(r=0;r=t.width-20?(i["text-anchor"]="start",i.x=5):(i["text-anchor"]="end",i.x=t._paper.attr("width")-7),n.attr(i);var o=n.select(".js-link-to-tool"),s=n.select(".js-link-spacer"),l=n.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&function(e,t){t.text("");var r=t.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(e._context.linkText+" "+String.fromCharCode(187));if(e._context.sendData)r.on("click",(function(){x.sendDataToCloud(e)}));else{var n=window.location.pathname.split("/"),a=window.location.search;r.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+n[2].split(".")[0]+"/"+n[1]+a})}}(e,o),s.text(o.text()&&l.text()?" - ":"")}},x.sendDataToCloud=function(e){var t=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(t){e.emit("plotly_beforeexport");var n=r.select(e).append("div").attr("id","hiddenform").style("display","none"),a=n.append("form").attr({action:t+"/external",method:"post",target:"_blank"});return a.append("input").attr({type:"text",name:"data"}).node().value=x.graphJson(e,!1,"keepdata"),a.node().submit(),n.remove(),e.emit("plotly_afterexport"),!1}};var w=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],k=["year","month","dayMonth","dayMonthYear"];function T(e,t){var r=e._context.locale;r||(r="en-US");var n=!1,a={};function i(e){for(var r=!0,i=0;i1&&I.length>1){for(o.getComponentMethod("grid","sizeDefaults")(u,l),s=0;s15&&I.length>15&&0===l.shapes.length&&0===l.images.length,x.linkSubplots(f,l,d,i),x.cleanPlot(f,l,d,i);var F=!(!i._has||!i._has("gl2d")),H=!(!l._has||!l._has("gl2d")),B=!(!i._has||!i._has("cartesian"))||F,U=!(!l._has||!l._has("cartesian"))||H;B&&!U?i._bgLayer.remove():U&&!B&&(l._shouldCreateBgLayer=!0),i._zoomlayer&&!e._dragging&&h({_fullLayout:i}),function(e,t){var r,n=[];t.meta&&(r=t._meta={meta:t.meta,layout:{meta:t.meta}});for(var a=0;a0){var d=1-2*s;n=Math.round(d*n),i=Math.round(d*i)}}var f=x.layoutAttributes.width.min,h=x.layoutAttributes.height.min;n1,g=!t.height&&Math.abs(r.height-i)>1;(g||p)&&(p&&(r.width=n),g&&(r.height=i)),e._initialAutoSize||(e._initialAutoSize={width:n,height:i}),x.sanitizeMargins(r)},x.supplyLayoutModuleDefaults=function(e,t,r,n){var a,i,s,l=o.componentsRegistry,u=t._basePlotModules,d=o.subplotsRegistry.cartesian;for(a in l)(s=l[a]).includeBasePlot&&s.includeBasePlot(e,t);for(var f in u.length||u.push(d),t._has("cartesian")&&(o.getComponentMethod("grid","contentDefaults")(e,t),d.finalizeSubplots(e,t)),t._subplots)t._subplots[f].sort(c.subplotSort);for(i=0;i1&&(r.l/=g,r.r/=g)}if(d){var v=(r.t+r.b)/d;v>1&&(r.t/=v,r.b/=v)}var m=void 0!==r.xl?r.xl:r.x,y=void 0!==r.xr?r.xr:r.x,b=void 0!==r.yt?r.yt:r.y,_=void 0!==r.yb?r.yb:r.y;f[t]={l:{val:m,size:r.l+p},r:{val:y,size:r.r+p},b:{val:_,size:r.b+p},t:{val:b,size:r.t+p}},h[t]=1}else delete f[t],delete h[t];if(!n._replotting)return x.doAutoMargin(e)}},x.doAutoMargin=function(e){var t=e._fullLayout,r=t.width,n=t.height;t._size||(t._size={}),D(t);var i=t._size,s=t.margin,l=c.extendFlat({},i),u=s.l,d=s.r,h=s.t,p=s.b,g=t._pushmargin,v=t._pushmarginIds;if(!1!==t.margin.autoexpand){for(var m in g)v[m]||delete g[m];for(var y in g.base={l:{val:0,size:u},r:{val:1,size:d},t:{val:1,size:h},b:{val:0,size:p}},g){var b=g[y].l||{},_=g[y].b||{},w=b.val,k=b.size,T=_.val,M=_.size;for(var A in g){if(a(k)&&g[A].r){var S=g[A].r.val,L=g[A].r.size;if(S>w){var P=(k*S+(L-r)*w)/(S-w),C=(L*(1-w)+(k-r)*(1-S))/(S-w);P+C>u+d&&(u=P,d=C)}}if(a(M)&&g[A].t){var O=g[A].t.val,z=g[A].t.size;if(O>T){var I=(M*O+(z-n)*T)/(O-T),j=(z*(1-T)+(M-n)*(1-O))/(O-T);I+j>p+h&&(p=I,h=j)}}}}}var R=c.constrain(r-s.l-s.r,2,64),E=c.constrain(n-s.t-s.b,2,64),N=Math.max(0,r-R),F=Math.max(0,n-E);if(N){var H=(u+d)/N;H>1&&(u/=H,d/=H)}if(F){var B=(p+h)/F;B>1&&(p/=B,h/=B)}if(i.l=Math.round(u),i.r=Math.round(d),i.t=Math.round(h),i.b=Math.round(p),i.p=Math.round(s.pad),i.w=Math.round(r)-i.l-i.r,i.h=Math.round(n)-i.t-i.b,!t._replotting&&x.didMarginChange(l,i)){"_redrawFromAutoMarginCount"in t?t._redrawFromAutoMarginCount++:t._redrawFromAutoMarginCount=1;var U=3*(1+Object.keys(v).length);if(t._redrawFromAutoMarginCount0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push((function(){n=!0})),r.redraw&&e._transitionData._interruptCallbacks.push((function(){return o.call("redraw",e)})),e._transitionData._interruptCallbacks.push((function(){e.emit("plotly_transitioninterrupted",[])}));var i=0,s=0;function l(){return i++,function(){s++,n||s!==i||function(t){if(!e._transitionData)return;(function(e){if(e)for(;e.length;)e.shift()})(e._transitionData._interruptCallbacks),Promise.resolve().then((function(){if(r.redraw)return o.call("redraw",e)})).then((function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])})).then(t)}(a)}}r.runFn(l),setTimeout(l())}))}],i=c.syncOrAsync(a,e);return i&&i.then||(i=Promise.resolve()),i.then((function(){return e}))}x.didMarginChange=function(e,t){for(var r=0;r1)return!0}return!1},x.graphJson=function(e,t,r,n,a,i){(a&&t&&!e._fullData||a&&!t&&!e._fullLayout)&&x.supplyDefaults(e);var o=a?e._fullData:e.data,s=a?e._fullLayout:e.layout,l=(e._transitionData||{})._frames;function u(e,t){if("function"==typeof e)return t?"_function_":null;if(c.isPlainObject(e)){var n,a={};return Object.keys(e).sort().forEach((function(i){if(-1===["_","["].indexOf(i.charAt(0)))if("function"!=typeof e[i]){if("keepdata"===r){if("src"===i.substr(i.length-3))return}else if("keepstream"===r){if("string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0&&!c.isPlainObject(e.stream))return}else if("keepall"!==r&&"string"==typeof(n=e[i+"src"])&&n.indexOf(":")>0)return;a[i]=u(e[i],t)}else t&&(a[i]="_function")})),a}return Array.isArray(e)?e.map((function(e){return u(e,t)})):c.isTypedArray(e)?c.simpleMap(e,c.identity):c.isJSDate(e)?c.ms2DateTimeLocal(+e):e}var d={data:(o||[]).map((function(e){var r=u(e);return t&&delete r.fit,r}))};if(!t&&(d.layout=u(s),a)){var f=s._size;d.layout.computed={margin:{b:f.b,l:f.l,r:f.r,t:f.t}}}return l&&(d.frames=u(l)),i&&(d.config=u(e._context,!0)),"object"===n?d:JSON.stringify(d)},x.modifyFrames=function(e,t){var r,n,a,i=e._transitionData._frames,o=e._transitionData._frameHash;for(r=0;r=0;i--)if(s[i].enabled){r._indexToPoints=s[i]._indexToPoints;break}n&&n.calc&&(o=n.calc(e,r))}Array.isArray(o)&&o[0]||(o=[{x:d,y:d}]),o[0].t||(o[0].t={}),o[0].trace=r,p[t]=o}}for(z(l,u,h),a=0;al),(e=>l=e)),t(e.exports,"traceTemplater",(()=>s),(e=>s=e)),t(e.exports,"arrayTemplater",(()=>a),(e=>a=e)),t(e.exports,"arrayDefaultKey",(()=>c),(e=>c=e)),t(e.exports,"arrayEditor",(()=>o),(e=>o=e)),t(e.exports,"newContainer",(()=>n),(e=>n=e));var u=i("aDPZG"),d=i("803hz"),f={name:{valType:"string",editType:"none",description:["When used in a template, named items are created in the output figure","in addition to any items the figure already has in this array.","You can modify these items in the output figure by making your own","item with `templateitemname` matching this `name`","alongside your modifications (including `visible: false` or","`enabled: false` to hide it).","Has no effect outside of a template."].join(" ")}};function h(e){return e&&"string"==typeof e}function p(e){var t=e.length-1;return"s"!==e.charAt(t)&&u.warn("bad argument to arrayDefaultKey: "+e),e.substr(0,e.length-1)+"defaults"}f.templateitemname={valType:"string",editType:"calc",description:["Used to refer to a named item in this array in the template. Named","items from the template will be created even without a matching item","in the input figure, but you can modify one by making an item with","`templateitemname` matching its `name`, alongside your modifications","(including `visible: false` or `enabled: false` to hide it).","If there is no template or no matching item, this item will be","hidden unless you explicitly show it with `visible: true`."].join(" ")},l=function(e,t){return t._isLinkedToArray=e,t.name=f.name,t.templateitemname=f.templateitemname,t},s=function(e){var t,r,n={};for(t in e)r=e[t],Array.isArray(r)&&r.length&&(n[t]=0);return{newTrace:function(a){var i={type:t=u.coerce(a,{},d,"type"),_template:null};if(t in n){r=e[t];var o=n[t]%r.length;n[t]++,i._template=r[o]}return i}}},n=function(e,t,r){var n=e._template,a=n&&(n[t]||r&&n[r]);return u.isPlainObject(a)||(a=null),e[t]={_template:a}},a=function(e,t,r){var n=e._template,a=n&&n[p(t)],i=n&&n[t];Array.isArray(i)&&i.length||(i=[]);var o={};return{newItem:function(e){var t={name:e.name,_input:e},n=t.templateitemname=e.templateitemname;if(!h(n))return t._template=a,t;for(var s=0;s=n&&(r._input||{})._templateitemname;i&&(a=n);var o,s=t+"["+a+"]";function l(){o={},i&&(o[s]={},o[s].templateitemname=i)}function c(e,t){i?u.nestedProperty(o[s],e).set(t):o[s+"."+e]=t}function d(){var e=o;return l(),e}return l(),{modifyBase:function(e,t){o[e]=t},modifyItem:c,getUpdateObj:d,applyUpdate:function(t,r){t&&c(t,r);var n=d();for(var a in n)u.nestedProperty(e,a).set(n[a])}}}})),i.register("hWd71",(function(e,r){var n,a,o,s,l,c,u,d,f,h;t(e.exports,"list",(()=>f),(e=>f=e)),t(e.exports,"name2id",(()=>u),(e=>u=e)),t(e.exports,"cleanId",(()=>s),(e=>s=e)),t(e.exports,"getFromId",(()=>d),(e=>d=e)),t(e.exports,"getFromTrace",(()=>n),(e=>n=e)),t(e.exports,"idSort",(()=>a),(e=>a=e)),t(e.exports,"ref2id",(()=>o),(e=>o=e)),t(e.exports,"id2name",(()=>h),(e=>h=e)),t(e.exports,"isLinked",(()=>l),(e=>l=e)),t(e.exports,"listIds",(()=>c),(e=>c=e));var p=i("LWtQ1"),g=i("jvdiU");function v(e,t){if(t&&t.length)for(var r=0;rn?1:-1:+(e.substr(1)||1)-+(t.substr(1)||1)},o=function(e){return!!/^[xyz]/.test(e)&&e.split(" ")[0]},l=function(e,t){return v(t,e._axisMatchGroups)||v(t,e._axisConstraintGroups)}})),i.register("jvdiU",(function(e,t){"use strict";var r=i("lkPEm").counter;e.exports={idRegex:{x:r("x","( domain)?"),y:r("y","( domain)?")},attrRegex:r("[xy]axis"),xAxisMatch:r("xaxis"),yAxisMatch:r("yaxis"),AX_ID_PATTERN:/^[xyz][0-9]*( domain)?$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,SUBPLOT_PATTERN:/^x([0-9]*)y([0-9]*)$/,HOUR_PATTERN:"hour",WEEKDAY_PATTERN:"day of week",MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,BENDPX:1.5,REDRAWDELAY:50,SELECTDELAY:100,SELECTID:"-select",DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4],traceLayerClasses:["imagelayer","heatmaplayer","contourcarpetlayer","contourlayer","funnellayer","waterfalllayer","barlayer","carpetlayer","violinlayer","boxlayer","ohlclayer","scattercarpetlayer","scatterlayer"],clipOnAxisFalseQuery:[".scatterlayer",".barlayer",".funnellayer",".waterfalllayer"],layerValue2layerClass:{"above traces":"above","below traces":"below"}}})),i.register("bXZfD",(function(e,t){"use strict";e.exports={clearOutlineControllers:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".outline-controllers").remove()},clearSelect:function(e){var t=e._fullLayout._zoomlayer;t&&t.selectAll(".select-outline").remove(),e._fullLayout._drawing=!1}}})),i.register("e8WsF",(function(e,r){var n;t(e.exports,"getModuleCalcData",(()=>n),(e=>n=e));var a=i("LWtQ1"),o=i("jvdiU").SUBPLOT_PATTERN;n=function(e,t){var r,n=[],i=[];if(!(r="string"==typeof t?a.getModule(t).plot:"function"==typeof t?t:t.plot))return[n,e];for(var o=0;oa),(e=>a=e)),t(e.exports,"hasSimpleAPICommandBindings",(()=>o),(e=>o=e)),t(e.exports,"manageCommandObserver",(()=>n),(e=>n=e)),t(e.exports,"executeAPICommand",(()=>s),(e=>s=e));var l=i("LWtQ1"),c=i("aDPZG");function u(e,t,r){var n,a,i,o=!1;if("data"===t.type)n=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;n=e._fullLayout}return a=c.nestedProperty(n,t.prop).get(),(i=r[t.type]=r[t.type]||{}).hasOwnProperty(t.prop)&&i[t.prop]!==a&&(o=!0),i[t.prop]=a,{changed:o,value:a}}function d(e,t){var r=[],n=t[0],a={};if("string"==typeof n)a[n]=t[1];else{if(!c.isPlainObject(n))return r;a=n}return h(a,(function(e,t,n){r.push({type:"layout",prop:e,value:n})}),"",0),r}function f(e,t){var r,n,a,i,o=[];if(n=t[0],a=t[1],r=t[2],i={},"string"==typeof n)i[n]=a;else{if(!c.isPlainObject(n))return o;i=n,void 0===r&&(r=a)}return void 0===r&&(r=null),h(i,(function(t,n,a){var i,s;if(Array.isArray(a)){s=a.slice();var l=Math.min(s.length,e.data.length);r&&(l=Math.min(l,r.length)),i=[];for(var c=0;c0?".":"")+a;c.isPlainObject(i)?h(i,t,o,n+1):t(o,a,i)}}))}n=function(e,t,r,n){var a={},i=!0;t&&t._commandObserver&&(a=t._commandObserver),a.cache||(a.cache={}),a.lookupTable={};var s=o(e,r,a.lookupTable);if(t&&t._commandObserver){if(s)return a;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,a}if(s){u(e,s,a.cache),a.check=function(){if(i){var t=u(e,s,a.cache);return t.changed&&n&&void 0!==a.lookupTable[t.value]&&(a.disable(),Promise.resolve(n({value:t.value,type:s.type,prop:s.prop,traces:s.traces,index:a.lookupTable[t.value]})).then(a.enable,a.enable)),t.changed}};for(var l=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d2e-6||((r-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},U.saveRangeInitial=function(e,t){for(var r=U.list(e,"",!0),n=!1,a=0;a.3*f||u(a)||u(i))){var h=r.dtick/2;e+=e+ho){var l=Number(r.substr(1));i.exactYears>o&&l%12==0?e=U.tickIncrement(e,"M6","reverse")+1.5*A:i.exactMonths>o?e=U.tickIncrement(e,"M1","reverse")+15.5*A:e-=S;var c=U.tickIncrement(e,r);if(c<=n)return c}return e}(y,e,m,c,i)),v=y,0;v<=u;)v=U.tickIncrement(v,m,!1,i);return{start:t.c2r(y,0,i),end:t.c2r(v,0,i),size:m,_dataSpan:u-c}},U.prepTicks=function(e,t){var r=s.simpleMap(e.range,e.r2l,void 0,void 0,t);if(e._dtickInit=e.dtick,e._tick0Init=e.tick0,"auto"===e.tickmode||!e.dtick){var a,i=e.nticks;i||("category"===e.type||"multicategory"===e.type?(a=e.tickfont?s.bigFont(e.tickfont.size||12):15,i=e._length/a):(a="y"===e._id.charAt(0)?40:80,i=s.constrain(e._length/a,4,9)+1),"radialaxis"===e._name&&(i*=2)),"array"===e.tickmode&&(i*=100),e._roughDTick=Math.abs(r[1]-r[0])/i,U.autoTicks(e,e._roughDTick),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}"period"===e.ticklabelmode&&function(e){var t;function r(){return!(n(e.dtick)||"M"!==e.dtick.charAt(0))}var a=r(),i=U.getTickFormat(e);if(i){var o=e._dtickInit!==e.dtick;/%[fLQsSMX]/.test(i)||(/%[HI]/.test(i)?(t=L,o&&!a&&e.dticki&&d=o:h<=o;h=U.tickIncrement(h,e.dtick,l,e.calendar)){if(e.rangebreaks&&!l){if(h=u)break}if(D.length>g||h===P)break;P=h;var C=!1;d&&h!==(0|h)&&(C=!0),D.push({minor:C,value:h})}if(f&&function(e,t,r){for(var n=0;n0?(i=n-1,o=n):(i=n,o=n);var s,l=e[i].value,c=e[o].value,u=Math.abs(c-l),d=r||u,f=0;d>=y?f=u>=y&&u<=v?u:m:r===b&&d>=_?f=u>=_&&u<=x?u:b:d>=T?f=u>=T&&u<=w?u:k:r===M&&d>=M?f=M:d>=A?f=A:r===S&&d>=S?f=S:r===L&&d>=L&&(f=L),f>=u&&(f=u,s=!0);var h=a+f;if(t.rangebreaks&&f>0){for(var p=0,g=0;g<84;g++){var D=(g+.5)/84;t.maskBreaks(a*(1-D)+D*h)!==O&&p++}(f*=p/84)||(e[n].drop=!0),s&&u>M&&(f=u)}(f>0||0===n)&&(e[n].periodX=a+f/2)}}(D,e,e._definedDelta),e.rangebreaks){var z="y"===e._id.charAt(0),I=1;"auto"===e.tickmode&&(I=e.tickfont?e.tickfont.size:12);var j=NaN;for(p=D.length-1;p>-1;p--)if(D[p].drop)D.splice(p,1);else{D[p].value=Ae(D[p].value,e);var R=e.c2p(D[p].value);(z?j>R-I:ju||Nu&&(E.periodX=u),N10||"01-01"!==a.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12==0?"y":"m";else if(t>=A&&i<=10||t>=15*A)e._tickround="d";else if(t>=D&&i<=16||t>=L)e._tickround="M";else if(t>=P&&i<=19||t>=D)e._tickround="S";else{var o=e.l2r(r+t).replace(/^-/,"").length;e._tickround=Math.max(i,o)-20,e._tickround<0&&(e._tickround=4)}}else if(n(t)||"L"===t.charAt(0)){var s=e.range.map(e.r2d||Number);n(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var l=Math.max(Math.abs(s[0]),Math.abs(s[1])),c=Math.floor(Math.log(l)/Math.LN10+.01),u=void 0===e.minexponent?3:e.minexponent;Math.abs(c)>u&&(ue(e.exponentformat)&&!de(c)?e._tickexponent=3*Math.round((c-1)/3):e._tickexponent=c)}else e._tickround=null}function le(e,t,r){var n=e.tickfont||{};return{x:t,dx:0,dy:0,text:r||"",fontSize:n.size,font:n.family,fontColor:n.color}}U.autoTicks=function(e,t){var r;function a(e){return Math.pow(e,Math.floor(Math.log(t)/Math.LN10))}if("date"===e.type){e.tick0=s.dateTick0(e.calendar,0);var i=2*t;if(i>m)t/=m,r=a(10),e.dtick="M"+12*oe(t,r,$);else if(i>k)t/=k,e.dtick="M"+oe(t,1,ee);else if(i>A){e.dtick=oe(t,A,e._hasDayOfWeekBreaks?[1,2,7,14]:re);var o=U.getTickFormat(e),l="period"===e.ticklabelmode;l&&(e._rawTick0=e.tick0),/%[uVW]/.test(o)?e.tick0=s.dateTick0(e.calendar,2):e.tick0=s.dateTick0(e.calendar,1),l&&(e._dowTick0=e.tick0)}else i>L?e.dtick=oe(t,L,ee):i>D?e.dtick=oe(t,D,te):i>P?e.dtick=oe(t,P,te):(r=a(10),e.dtick=oe(t,r,$))}else if("log"===e.type){e.tick0=0;var c=s.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(c[1]-c[0])<1){var u=1.5*Math.abs((c[1]-c[0])/t);t=Math.abs(Math.pow(10,c[1])-Math.pow(10,c[0]))/u,r=a(10),e.dtick="L"+oe(t,r,$)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type||"multicategory"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):Me(e)?(e.tick0=0,r=1,e.dtick=oe(t,r,ie)):(e.tick0=0,r=a(10),e.dtick=oe(t,r,$));if(0===e.dtick&&(e.dtick=1),!n(e.dtick)&&"string"!=typeof e.dtick){var d=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(d)}},U.tickIncrement=function(e,t,a,i){var o=a?-1:1;if(n(t))return s.increment(e,o*t);var l=t.charAt(0),c=o*Number(t.substr(1));if("M"===l)return s.incrementMonth(e,c,i);if("L"===l)return Math.log(Math.pow(10,e)+c)/Math.LN10;if("D"===l){var u="D2"===t?ae:ne,d=e+.01*o,f=s.roundUp(s.mod(d,1),u,a);return Math.floor(d)+Math.log(r.round(Math.pow(10,f),1))/Math.LN10}throw"unrecognized dtick "+String(t)},U.tickFirst=function(e,t){var a=e.r2l||Number,i=s.simpleMap(e.range,a,void 0,void 0,t),o=i[1] ")}else e._prevDateHead=l,c+="
"+l;t.text=c}(e,o,r,c):"log"===u?function(e,t,r,a,i){var o=e.dtick,l=t.x,c=e.tickformat,u="string"==typeof o&&o.charAt(0);"never"===i&&(i="");a&&"L"!==u&&(o="L3",u="L");if(c||"L"===u)t.text=fe(Math.pow(10,l),e,i,a);else if(n(o)||"D"===u&&s.mod(l+.01,1)<.1){var d=Math.round(l),f=Math.abs(d),h=e.exponentformat;"power"===h||ue(h)&&de(d)?(t.text=0===d?1:1===d?"10":"10"+(d>1?"":C)+f+"",t.fontSize*=1.25):("e"===h||"E"===h)&&f>2?t.text="1"+h+(d>0?"+":C)+f:(t.text=fe(Math.pow(10,l),e,"","fakehover"),"D1"===o&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6))}else{if("D"!==u)throw"unrecognized dtick "+String(o);t.text=String(Math.round(Math.pow(10,s.mod(l,1)))),t.fontSize*=.75}if("D1"===e.dtick){var p=String(t.text).charAt(0);"0"!==p&&"1"!==p||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(l<0?.5:.25)))}}(e,o,0,c,g):"category"===u?function(e,t){var r=e._categories[Math.round(t.x)];void 0===r&&(r="");t.text=String(r)}(e,o):"multicategory"===u?function(e,t,r){var n=Math.round(t.x),a=e._categories[n]||[],i=void 0===a[1]?"":String(a[1]),o=void 0===a[0]?"":String(a[0]);r?t.text=o+" - "+i:(t.text=i,t.text2=o)}(e,o,r):Me(e)?function(e,t,r,n,a){if("radians"!==e.thetaunit||r)t.text=fe(t.x,e,a,n);else{var i=t.x/180;if(0===i)t.text="0";else{var o=function(e){function t(e,t){return Math.abs(e-t)<=1e-6}function r(e,n){return t(n,0)?e:r(n,e%n)}function n(e){for(var r=1;!t(Math.round(e*r)/r,e);)r*=10;return r}var a=n(e),i=e*a,o=Math.abs(r(i,a));return[Math.round(i/o),Math.round(a/o)]}(i);if(o[1]>=100)t.text=fe(s.deg2rad(t.x),e,a,n);else{var l=t.x<0;1===o[1]?1===o[0]?t.text="ฯ€":t.text=o[0]+"ฯ€":t.text=["",o[0],"","โ„","",o[1],"","ฯ€"].join(""),l&&(t.text=C+t.text)}}}}(e,o,r,c,g):function(e,t,r,n,a){"never"===a?a="":"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(a="hide");t.text=fe(t.x,e,a,n)}(e,o,0,c,g),a||(e.tickprefix&&!p(e.showtickprefix)&&(o.text=e.tickprefix+o.text),e.ticksuffix&&!p(e.showticksuffix)&&(o.text+=e.ticksuffix)),"boundaries"===e.tickson||e.showdividers){var v=function(t){var r=e.l2p(t);return r>=0&&r<=e._length?t:null};o.xbnd=[v(o.x-.5),v(o.x+e.dtick-.5)]}return o},U.hoverLabelText=function(e,t,r){r&&(e=s.extendFlat({},e,{hoverformat:r}));var n=Array.isArray(t)?t[0]:t,a=Array.isArray(t)?t[1]:void 0;if(void 0!==a&&a!==n)return U.hoverLabelText(e,n,r)+" - "+U.hoverLabelText(e,a,r);var i="log"===e.type&&n<=0,o=U.tickText(e,e.c2l(i?-n:n),"hover").text;return i?0===n?"0":C+o:o};var ce=["f","p","n","ฮผ","m","","k","M","G","T"];function ue(e){return"SI"===e||"B"===e}function de(e){return e>14||e<-15}function fe(e,t,r,a){var i=e<0,o=t._tickround,l=r||t.exponentformat||"B",c=t._tickexponent,u=U.getTickFormat(t),d=t.separatethousands;if(a){var f={exponentformat:l,minexponent:t.minexponent,dtick:"none"===t.showexponent?t.dtick:n(e)&&Math.abs(e)||1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};se(f),o=(Number(f._tickround)||0)+4,c=f._tickexponent,t.hoverformat&&(u=t.hoverformat)}if(u)return t._numFormat(u)(e).replace(/-/g,C);var h,p=Math.pow(10,-o)/2;if("none"===l&&(c=0),(e=Math.abs(e))"+h+"
":"B"===l&&9===c?e+="B":ue(l)&&(e+=ce[c/3+5]));return i?C+e:e}function he(e,t){for(var r=[],n={},a=0;a1&&r=a.min&&e=0,i=u(e,t[1])<=0;return(r||a)&&(n||i)}if(e.tickformatstops&&e.tickformatstops.length>0)switch(e.type){case"date":case"linear":for(t=0;t=o(a)))){r=n;break}break;case"log":for(t=0;t0?r.bottom-d:0,f)))),t.automargin){n={x:0,y:0,r:0,l:0,t:0,b:0};var h=[0,1];if("x"===p){if("b"===l?n[l]=t._depth:(n[l]=t._depth=Math.max(r.width>0?d-r.top:0,f),h.reverse()),r.width>0){var v=r.right-(t._offset+t._length);v>0&&(n.xr=1,n.r=v);var m=t._offset-r.left;m>0&&(n.xl=0,n.l=m)}}else if("l"===l?n[l]=t._depth=Math.max(r.height>0?d-r.left:0,f):(n[l]=t._depth=Math.max(r.height>0?r.right-d:0,f),h.reverse()),r.height>0){var y=r.bottom-(t._offset+t._length);y>0&&(n.yb=0,n.b=y);var x=t._offset-r.top;x>0&&(n.yt=1,n.t=x)}n[g]="free"===t.anchor?t.position:t._anchorAxis.domain[h[0]],t.title.text!==c._dfltTitle[p]&&(n[l]+=ve(t)+(t.title.standoff||0)),t.mirror&&"free"!==t.anchor&&((i={x:0,y:0,r:0,l:0,t:0,b:0})[u]=t.linewidth,t.mirror&&!0!==t.mirror&&(i[u]+=f),!0===t.mirror||"ticks"===t.mirror?i[g]=t._anchorAxis.domain[h[1]]:"all"!==t.mirror&&"allticks"!==t.mirror||(i[g]=[t._counterDomainMin,t._counterDomainMax][h[1]]))}Q&&(s=o.getComponentMethod("rangeslider","autoMarginOpts")(e,t)),a.autoMargin(e,xe(t),n),a.autoMargin(e,be(t),i),a.autoMargin(e,_e(t),s)})),r.skipTitle||Q&&"bottom"===t.side||X.push((function(){return function(e,t){var r,n=e._fullLayout,a=t._id,i=a.charAt(0),o=t.title.font.size;if(t.title.hasOwnProperty("standoff"))r=t._depth+t.title.standoff+ve(t);else{var s=Se(t);if("multicategory"===t.type)r=t._depth;else{var l=1.5*o;s&&(l=.5*o,"outside"===t.ticks&&(l+=t.ticklen)),r=10+l+(t.linewidth?t.linewidth-1:0)}s||(r+="x"===i?"top"===t.side?o*(t.showticklabels?1:0):o*(t.showticklabels?1.5:.5):"right"===t.side?o*(t.showticklabels?1:.5):o*(t.showticklabels?.5:0))}var c,d,h,p,g=U.getPxPosition(e,t);"x"===i?(d=t._offset+t._length/2,h="top"===t.side?g-r:g+r):(h=t._offset+t._length/2,d="right"===t.side?g+r:g-r,c={rotate:"-90",offset:0});if("multicategory"!==t.type){var v=t._selections[t._id+"tick"];if(p={selection:v,side:t.side},v&&v.node()&&v.node().parentNode){var m=f.getTranslate(v.node().parentNode);p.offsetLeft=m.x,p.offsetTop=m.y}t.title.hasOwnProperty("standoff")&&(p.pad=0)}return u.draw(e,a+"title",{propContainer:t,propName:t._name+".title.text",placeholder:n._dfltTitle[i],avoid:p,transform:c,attributes:{x:d,y:h,"text-anchor":"middle"}})}(e,t)})),s.syncOrAsync(X)}}function K(e){var r=h+(e||"tick");return w[r]||(w[r]=function(e,t){var r,n,a,i;e._selections[t].size()?(r=1/0,n=-1/0,a=1/0,i=-1/0,e._selections[t].each((function(){var e=ye(this),t=f.bBox(e.node().parentNode);r=Math.min(r,t.top),n=Math.max(n,t.bottom),a=Math.min(a,t.left),i=Math.max(i,t.right)}))):(r=0,n=0,a=0,i=0);return{top:r,bottom:n,left:a,right:i,height:n-r,width:i-a}}(t,r)),w[r]}},U.getTickSigns=function(e){var t=e._id.charAt(0),r={x:"top",y:"right"}[t],n=e.side===r?1:-1,a=[-1,1,n,-n];return"inside"!==e.ticks==("x"===t)&&(a=a.map((function(e){return-e}))),e.side&&a.push({l:-1,t:-1,r:1,b:1}[e.side.charAt(0)]),a},U.makeTransTickFn=function(e){return"x"===e._id.charAt(0)?function(t){return l(e._offset+e.l2p(t.x),0)}:function(t){return l(0,e._offset+e.l2p(t.x))}},U.makeTransTickLabelFn=function(e){var t=function(e){var t=e.ticklabelposition||"",r=function(e){return-1!==t.indexOf(e)},n=r("top"),a=r("left"),i=r("right"),o=r("bottom"),s=r("inside"),l=o||a||n||i;if(!l&&!s)return[0,0];var c=e.side,u=l?(e.tickwidth||0)/2:0,d=3,f=e.tickfont?e.tickfont.size:12;(o||n)&&(u+=f*F,d+=(e.linewidth||0)/2);(a||i)&&(u+=(e.linewidth||0)/2,d+=3);s&&"top"===c&&(d-=f*(1-F));(a||n)&&(u=-u);"bottom"!==c&&"right"!==c||(d=-d);return[l?u:0,s?d:0]}(e),r=t[0],n=t[1];return"x"===e._id.charAt(0)?function(t){return l(r+e._offset+e.l2p(pe(t)),n)}:function(t){return l(n,r+e._offset+e.l2p(pe(t)))}},U.makeTickPath=function(e,t,r,n){n=void 0!==n?n:e.ticklen;var a=e._id.charAt(0),i=(e.linewidth||1)/2;return"x"===a?"M0,"+(t+i*r)+"v"+n*r:"M"+(t+i*r)+",0h"+n*r},U.makeLabelFns=function(e,t,r){var a=e.ticklabelposition||"",i=function(e){return-1!==a.indexOf(e)},o=i("top"),l=i("left"),c=i("right"),u=i("bottom")||l||o||c,d=i("inside"),f="inside"===a&&"inside"===e.ticks||!d&&"outside"===e.ticks&&"boundaries"!==e.tickson,h=0,p=0,g=f?e.ticklen:0;if(d?g*=-1:u&&(g=0),f&&(h+=g,r)){var v=s.deg2rad(r);h=g*Math.cos(v)+1,p=g*Math.sin(v)}e.showticklabels&&(f||e.showline)&&(h+=.2*e.tickfont.size);var m,y,x,b,_,w={labelStandoff:h+=(e.linewidth||1)/2*(d?-1:1),labelShift:p},k=0,T=e.side,M=e._id.charAt(0),A=e.tickangle;if("x"===M)b=(_=!d&&"bottom"===T||d&&"top"===T)?1:-1,d&&(b*=-1),m=p*b,y=t+h*b,x=_?1:-.2,90===Math.abs(A)&&(d?x+=N:x=-90===A&&"bottom"===T?F:90===A&&"top"===T?N:.5,k=N/2*(A/90)),w.xFn=function(e){return e.dx+m+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*x},w.anchorFn=function(e,t){if(u){if(l)return"end";if(c)return"start"}return n(t)&&0!==t&&180!==t?t*b<0!==d?"end":"start":"middle"},w.heightFn=function(t,r,n){return r<-60||r>60?-.5*n:"top"===e.side!==d?-n:0};else if("y"===M){if(b=(_=!d&&"left"===T||d&&"right"===T)?1:-1,d&&(b*=-1),m=h,y=p*b,x=0,d||90!==Math.abs(A)||(x=-90===A&&"left"===T||90===A&&"right"===T?F:.5),d){var S=n(A)?+A:0;if(0!==S){var L=s.deg2rad(S);k=Math.abs(Math.sin(L))*F*b,x=0}}w.xFn=function(e){return e.dx+t-(m+e.fontSize*x)*b+k*e.fontSize},w.yFn=function(e){return e.dy+y+e.fontSize*N},w.anchorFn=function(e,t){return n(t)&&90===Math.abs(t)?"middle":_?"end":"start"},w.heightFn=function(t,r,n){return"right"===e.side&&(r*=-1),r<-30?-n:r<30?-.5*n:0}}return w},U.drawTicks=function(e,t,r){r=r||{};var n=t._id+"tick",a=r.vals;"period"===t.ticklabelmode&&(a=a.slice()).shift();var i=r.layer.selectAll("path."+n).data(t.ticks?a:[],ge);i.exit().remove(),i.enter().append("path").classed(n,1).classed("ticks",1).classed("crisp",!1!==r.crisp).call(d.stroke,t.tickcolor).style("stroke-width",f.crispRound(e,t.tickwidth,1)+"px").attr("d",r.path).style("display",null),Le(t,[j]),i.attr("transform",r.transFn)},U.drawGrid=function(e,t,r){r=r||{};var n=t._id+"grid",a=r.vals,i=r.counterAxis;if(!1===t.showgrid)a=[];else if(i&&U.shouldShowZeroLine(e,t,i))for(var o="array"===t.tickmode,s=0;sh||i.lefth||i.top+(t.tickangle?0:e.fontSize/4)t["_visibleLabelMin_"+n._id]?l.style("display","none"):"tick"!==e.K||a||l.style("display",null)}))}))}))}))},x(m,v+1?v:g);var b=null;t._selections&&(t._selections[d]=m);var _=[function(){return y.length&&Promise.all(y)}];t.automargin&&i._redrawFromAutoMarginCount&&90===v?(b=90,_.push((function(){x(m,v)}))):_.push((function(){if(x(m,g),h.length&&"x"===u&&!n(g)&&("log"!==t.type||"D"!==String(t.dtick).charAt(0))){b=0;var e,r=0,i=[];if(m.each((function(e){r=Math.max(r,e.fontSize);var n=t.l2p(e.x),a=ye(this),o=f.bBox(a.node());i.push({top:0,bottom:10,height:10,left:n-o.width/2,right:n+o.width/2+2,width:o.width+2})})),"boundaries"!==t.tickson&&!t.showdividers||a.secondary){var o=h.length,l=Math.abs((h[o-1].x-h[0].x)*t._m)/(o-1),c=t.ticklabelposition||"",d=function(e){return-1!==c.indexOf(e)},p=d("top"),v=d("left"),y=d("right"),_=d("bottom")||v||p||y?(t.tickwidth||0)+6:0,w=l<2.5*r||"multicategory"===t.type;for(e=0;e1)for(n=1;nc),(e=>c=e)),t(e.exports,"convertToTspans",(()=>a),(e=>a=e)),t(e.exports,"plainText",(()=>o),(e=>o=e)),t(e.exports,"BR_TAG_ALL",(()=>n),(e=>n=e)),t(e.exports,"lineCount",(()=>l),(e=>l=e)),t(e.exports,"makeEditable",(()=>s),(e=>s=e));var u=i("fP9PH"),d=i("aDPZG"),f=d.strTranslate,h=i("lxkS1"),p=i("7GWIR").LINE_SPACING;function g(e,t){return e.node().getBoundingClientRect()[t]}var v=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;a=function(e,t,r){var n=e.text(),a=!e.attr("data-notex")&&"undefined"!=typeof MathJax&&n.match(v),i=u.select(e.node().parentNode);if(!i.empty()){var o=e.attr("class")?e.attr("class").split(" ")[0]:"text";return o+="-math",i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove(),e.style("display",null).attr({"data-unformatted":n,"data-math":"N"}),a?(t&&t._promises||[]).push(new Promise((function(t){e.style("display","none");var l=parseInt(e.node().style.fontSize,10),c={fontSize:l};!function(e,t,r){var n,a,i,o;MathJax.Hub.Queue((function(){return a=d.extendDeepAll({},MathJax.Hub.config),i=MathJax.Hub.processSectionDelay,void 0!==MathJax.Hub.processSectionDelay&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]},displayAlign:"left"})}),(function(){if("SVG"!==(n=MathJax.Hub.config.menuSettings.renderer))return MathJax.Hub.setRenderer("SVG")}),(function(){var r="math-output-"+d.randstr({},64);return o=u.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":t.fontSize+"px"}).text(e.replace(m,"\\lt ").replace(y,"\\gt ")),MathJax.Hub.Typeset(o.node())}),(function(){var t=u.select("body").select("#MathJax_SVG_glyphs");if(o.select(".MathJax_SVG").empty()||!o.select("svg").node())d.log("There was an error in the tex syntax.",e),r();else{var a=o.select("svg").node().getBoundingClientRect();r(o.select(".MathJax_SVG"),t,a)}if(o.remove(),"SVG"!==n)return MathJax.Hub.setRenderer(n)}),(function(){return void 0!==i&&(MathJax.Hub.processSectionDelay=i),MathJax.Hub.Config(a)}))}(a[2],c,(function(a,c,u){i.selectAll("svg."+o).remove(),i.selectAll("g."+o+"-group").remove();var d=a&&a.select("svg");if(!d||!d.node())return s(),void t();var h=i.append("g").classed(o+"-group",!0).attr({"pointer-events":"none","data-unformatted":n,"data-math":"Y"});h.node().appendChild(d.node()),c&&c.node()&&d.node().insertBefore(c.node().cloneNode(!0),d.node().firstChild),d.attr({class:o,height:u.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var p=e.node().style.fill||"black",v=d.select("g");v.attr({fill:p,stroke:p});var m=g(v,"width"),y=g(v,"height"),x=+e.attr("x")-m*{start:0,middle:.5,end:1}[e.attr("text-anchor")||"start"],b=-(l||g(e,"height"))/4;"y"===o[0]?(h.attr({transform:"rotate("+[-90,+e.attr("x"),+e.attr("y")]+")"+f(-m/2,b-y/2)}),d.attr({x:+e.attr("x"),y:+e.attr("y")})):"l"===o[0]?d.attr({x:e.attr("x"),y:b-y/2}):"a"===o[0]&&0!==o.indexOf("atitle")?d.attr({x:0,y:b}):d.attr({x:x,y:+e.attr("y")+b-y/2}),r&&r.call(e,h),t(h)}))}))):s(),e}function s(){i.empty()||(o=e.attr("class")+"-math",i.select("svg."+o).remove()),e.text("").style("white-space","pre"),function(e,t){t=t.replace(T," ");var r,n=!1,a=[],i=-1;function o(){i++;var t=document.createElementNS(h.svg,"tspan");u.select(t).attr({class:"line",dy:i*p+"em"}),e.appendChild(t),r=t;var n=a;if(a=[{node:t}],n.length>1)for(var o=1;o doesnt match end tag <"+e+">. Pretending it did match.",t),r=a[a.length-1].node}else d.log("Ignoring unexpected end tag .",t)}S.test(t)?o():(r=e,a=[{node:e}]);for(var f=t.split(M),g=0;g|>|>)/g;var x={sup:"font-size:70%",sub:"font-size:70%",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},b={sub:"0.3em",sup:"-0.6em"},_={sub:"-0.21em",sup:"0.42em"},w="โ€‹",k=["http:","https:","mailto:","",void 0,":"],T=/(\r\n?|\n)/g,M=/(<[^<>]*>)/,A=/<(\/?)([^ >]*)(\s+(.*))?>/i,S=//i;n=//gi;var L=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,D=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,P=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,C=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function O(e,t){if(!e)return null;var r=e.match(t),n=r&&(r[3]||r[4]);return n&&R(n)}var z=/(^|;)\s*color:/;o=function(e,t){for(var r=void 0!==(t=t||{}).len&&-1!==t.len?t.len:1/0,n=void 0!==t.allowedTags?t.allowedTags:["br"],a="...".length,i=e.split(M),o=[],s="",l=0,c=0;ca?o.push(u.substr(0,p-a)+"..."):o.push(u.substr(0,p));break}s=""}}return o.join("")};var I={mu:"ฮผ",amp:"&",lt:"<",gt:">",nbsp:"ย ",times:"ร—",plusmn:"ยฑ",deg:"ยฐ"},j=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function R(e){return e.replace(j,(function(e,t){return("#"===t.charAt(0)?function(e){if(e>1114111)return;var t=String.fromCodePoint;if(t)return t(e);var r=String.fromCharCode;return e<=65535?r(e):r(55232+(e>>10),e%1024+56320)}("x"===t.charAt(1)?parseInt(t.substr(2),16):parseInt(t.substr(1),10)):I[t])||e}))}function E(e,t,r){var n,a,i,o=r.horizontalAlign,s=r.verticalAlign||"top",l=e.node().getBoundingClientRect(),c=t.node().getBoundingClientRect();return a="bottom"===s?function(){return l.bottom-n.height}:"middle"===s?function(){return l.top+(l.height-n.height)/2}:function(){return l.top},i="right"===o?function(){return l.right-n.width}:"center"===o?function(){return l.left+(l.width-n.width)/2}:function(){return l.left},function(){n=this.node().getBoundingClientRect();var e=i()-c.left,t=a()-c.top,o=r.gd||{};if(r.gd){o._fullLayout._calcInverseTransform(o);var s=d.apply3DTransform(o._fullLayout._invTransform)(e,t);e=s[0],t=s[1]}return this.style({top:t+"px",left:e+"px","z-index":1e3}),this}}l=function(e){return e.selectAll("tspan.line").size()||1},c=function(e,t,r){return e.each((function(){var e=u.select(this);function n(t,r){return void 0===r?null===(r=e.attr(t))&&(e.attr(t,0),r=0):e.attr(t,r),r}var a=n("x",t),i=n("y",r);"text"===this.nodeName&&e.selectAll("tspan.line").attr({x:a,y:i})}))};var N="1px ";s=function(e,t){var r=t.gd,n=t.delegate,a=u.dispatch("edit","input","cancel"),i=n||e;if(e.style({"pointer-events":n?"none":"all"}),1!==e.size())throw new Error("boo");function o(){!function(){var n=u.select(r).select(".svg-container"),i=n.append("div"),o=e.node().style,l=parseFloat(o.fontSize||12),c=t.text;void 0===c&&(c=e.attr("data-unformatted"));i.classed("plugin-editable editable",!0).style({position:"absolute","font-family":o.fontFamily||"Arial","font-size":l,color:t.fill||o.fill||"black",opacity:1,"background-color":t.background||"transparent",outline:"#ffffff33 1px solid",margin:[-l/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(c).call(E(e,n,t)).on("blur",(function(){r._editing=!1,e.text(this.textContent).style({opacity:1});var t,n=u.select(this).attr("class");(t=n?"."+n.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(t).style({opacity:0});var i=this.textContent;u.select(this).transition().duration(0).remove(),u.select(document).on("mouseup",null),a.edit.call(e,i)})).on("focus",(function(){var e=this;r._editing=!0,u.select(document).on("mouseup",(function(){if(u.event.target===e)return!1;document.activeElement===i.node()&&i.node().blur()}))})).on("keyup",(function(){27===u.event.which?(r._editing=!1,e.style({opacity:1}),u.select(this).style({opacity:0}).on("blur",(function(){return!1})).transition().remove(),a.cancel.call(e,this.textContent)):(a.input.call(e,this.textContent),u.select(this).call(E(e,n,t)))})).on("keydown",(function(){13===u.event.which&&this.blur()})).call(s)}(),e.style({opacity:0});var n,o=i.attr("class");(n=o?"."+o.split(" ")[0]+"-math-group":"[class*=-math-group]")&&u.select(e.node().parentNode).select(n).style({opacity:0})}function s(e){var t=e.node(),r=document.createRange();r.selectNodeContents(t);var n=window.getSelection();n.removeAllRanges(),n.addRange(r),t.focus()}return t.immediate?o():i.on("click",o),u.rebind(e,a,"on")}})),i.register("lxkS1",(function(e,r){var n,a,i,o;t(e.exports,"svg",(()=>n),(e=>n=e)),t(e.exports,"xlink",(()=>o),(e=>o=e)),t(e.exports,"svgAttrs",(()=>a),(e=>a=e)),t(e.exports,"xmlns",(()=>i),(e=>i=e)),i="http://www.w3.org/2000/xmlns/",a={xmlns:n="http://www.w3.org/2000/svg","xmlns:xlink":o="http://www.w3.org/1999/xlink"}})),i.register("7GWIR",(function(e,t){"use strict";e.exports={FROM_BL:{left:0,center:.5,right:1,bottom:0,middle:.5,top:1},FROM_TL:{left:0,center:.5,right:1,bottom:1,middle:.5,top:0},FROM_BR:{left:1,center:.5,right:0,bottom:0,middle:.5,top:1},LINE_SPACING:1.3,CAP_SHIFT:.7,MID_SHIFT:.35,OPPOSITE_SIDE:{left:"right",right:"left",top:"bottom",bottom:"top"}}})),i.register("cHRUQ",(function(e,t){"use strict";var r=i("fP9PH"),n=i("bnpJH"),a=i("dx7II"),o=i("LWtQ1"),s=i("aDPZG"),l=s.strTranslate,c=i("4iYWi"),u=i("1Jf1D"),d=i("9evQg"),f=i("dLSW2"),h=i("7GWIR").OPPOSITE_SIDE,p=/ [XY][0-9]* /;e.exports={draw:function(e,t,i){var g,v=i.propContainer,m=i.propName,y=i.placeholder,x=i.traceIndex,b=i.avoid||{},_=i.attributes,w=i.transform,k=i.containerGroup,T=e._fullLayout,M=1,A=!1,S=v.title,L=(S&&S.text?S.text:"").trim(),D=S&&S.font?S.font:{},P=D.family,C=D.size,O=D.color;"title.text"===m?g="titleText":-1!==m.indexOf("axis")?g="axisTitleText":m.indexOf(!0)&&(g="colorbarTitleText");var z=e._context.edits[g];""===L?M=0:L.replace(p," % ")===y.replace(p," % ")&&(M=.2,A=!0,z||(L="")),i._meta?L=s.templateString(L,i._meta):T._meta&&(L=s.templateString(L,T._meta));var I=L||z;k||(k=s.ensureSingle(T._infolayer,"g","g-"+t));var j=k.selectAll("text").data(I?[0]:[]);if(j.enter().append("text"),j.text(L).attr("class",t),j.exit().remove(),!I)return k;function R(e){s.syncOrAsync([E,N],e)}function E(t){var n;return w?(n="",w.rotate&&(n+="rotate("+[w.rotate,_.x,_.y]+")"),w.offset&&(n+=l(0,w.offset))):n=null,t.attr("transform",n),t.style({"font-family":P,"font-size":r.round(C,2)+"px",fill:u.rgb(O),opacity:M*u.opacity(O),"font-weight":a.fontWeight}).attr(_).call(d.convertToTspans,e),a.previousPromises(e)}function N(e){var t=r.select(e.node().parentNode);if(b&&b.selection&&b.side&&L){t.attr("transform",null);var a=h[b.side],i="left"===b.side||"top"===b.side?-1:1,o=n(b.pad)?b.pad:2,u=c.bBox(t.node()),d={left:0,top:0,right:T.width,bottom:T.height},f=b.maxShift||i*(d[b.side]-u[b.side]),p=0;if(f<0)p=f;else{var g=b.offsetLeft||0,v=b.offsetTop||0;u.left-=g,u.right-=g,u.top-=v,u.bottom-=v,b.selection.each((function(){var e=c.bBox(this);s.bBoxIntersect(u,e,o)&&(p=Math.max(p,i*(e[b.side]-u[a])+o))})),p=Math.min(f,p)}if(p>0||f<0){var m={left:[-p,0],right:[p,0],top:[0,-p],bottom:[0,p]}[b.side];t.attr("transform",l(m[0],m[1]))}}}return j.call(R),z&&(L?j.on(".opacity",null):(M=0,A=!0,j.text(y).on("mouseover.opacity",(function(){r.select(this).transition().duration(f.SHOW_PLACEHOLDER).style("opacity",1)})).on("mouseout.opacity",(function(){r.select(this).transition().duration(f.HIDE_PLACEHOLDER).style("opacity",0)}))),j.call(d.makeEditable,{gd:e}).on("edit",(function(t){void 0!==x?o.call("_guiRestyle",e,m,t,x):o.call("_guiRelayout",e,m,t)})).on("cancel",(function(){this.text(this.attr("data-unformatted")).call(R)})).on("input",(function(e){this.text(e||" ").call(d.positionText,_.x,_.y)}))),j.classed("js-placeholder",A),k}}})),i.register("4iYWi",(function(e,t){"use strict";var r=i("fP9PH"),n=i("bnpJH"),a=i("eyX4U"),o=i("LWtQ1"),s=i("1Jf1D"),l=i("a77K1"),c=i("aDPZG"),u=c.strTranslate,d=i("9evQg"),f=i("lxkS1"),h=i("7GWIR").LINE_SPACING,p=i("dLSW2").DESELECTDIM,g=i("elGza"),v=i("5jVz5"),m=i("kFLuw").appendArrayPointValue,y=e.exports={};y.font=function(e,t,r,n){c.isPlainObject(t)&&(n=t.color,r=t.size,t=t.family),t&&e.style("font-family",t),r+1&&e.style("font-size",r+"px"),n&&e.call(s.fill,n)},y.setPosition=function(e,t,r){e.attr("x",t).attr("y",r)},y.setSize=function(e,t,r){e.attr("width",t).attr("height",r)},y.setRect=function(e,t,r,n,a){e.call(y.setPosition,t,r).call(y.setSize,n,a)},y.translatePoint=function(e,t,r,a){var i=r.c2p(e.x),o=a.c2p(e.y);return!!(n(i)&&n(o)&&t.node())&&("text"===t.node().nodeName?t.attr("x",i).attr("y",o):t.attr("transform",u(i,o)),!0)},y.translatePoints=function(e,t,n){e.each((function(e){var a=r.select(this);y.translatePoint(e,a,t,n)}))},y.hideOutsideRangePoint=function(e,t,r,n,a,i){t.attr("display",r.isPtWithinRange(e,a)&&n.isPtWithinRange(e,i)?null:"none")},y.hideOutsideRangePoints=function(e,t){if(t._hasClipOnAxisFalse){var n=t.xaxis,a=t.yaxis;e.each((function(t){var i=t[0].trace,s=i.xcalendar,l=i.ycalendar,c=o.traceIs(i,"bar-like")?".bartext":".point,.textpoint";e.selectAll(c).each((function(e){y.hideOutsideRangePoint(e,r.select(this),n,a,s,l)}))}))}},y.crispRound=function(e,t,r){return t&&n(t)?e._context.staticPlot?t:t<1?1:Math.round(t):r||0},y.singleLineStyle=function(e,t,r,n,a){t.style("fill","none");var i=(((e||[])[0]||{}).trace||{}).line||{},o=r||i.width||0,l=a||i.dash||"";s.stroke(t,n||i.color),y.dashLine(t,l,o)},y.lineGroupStyle=function(e,t,n,a){e.style("fill","none").each((function(e){var i=(((e||[])[0]||{}).trace||{}).line||{},o=t||i.width||0,l=a||i.dash||"";r.select(this).call(s.stroke,n||i.color).call(y.dashLine,l,o)}))},y.dashLine=function(e,t,r){r=+r||0,t=y.dashStyle(t,r),e.style({"stroke-dasharray":t,"stroke-width":r+"px"})},y.dashStyle=function(e,t){t=+t||1;var r=Math.max(t,3);return"solid"===e?e="":"dot"===e?e=r+"px,"+r+"px":"dash"===e?e=3*r+"px,"+3*r+"px":"longdash"===e?e=5*r+"px,"+5*r+"px":"dashdot"===e?e=3*r+"px,"+r+"px,"+r+"px,"+r+"px":"longdashdot"===e&&(e=5*r+"px,"+2*r+"px,"+r+"px,"+2*r+"px"),e},y.singleFillStyle=function(e){var t=(((r.select(e.node()).data()[0]||[])[0]||{}).trace||{}).fillcolor;t&&e.call(s.fill,t)},y.fillGroupStyle=function(e){e.style("stroke-width",0).each((function(e){var t=r.select(this);e[0].trace&&t.call(s.fill,e[0].trace.fillcolor)}))};var x=i("wJzxX");y.symbolNames=[],y.symbolFuncs=[],y.symbolNeedLines={},y.symbolNoDot={},y.symbolNoFill={},y.symbolList=[],Object.keys(x).forEach((function(e){var t=x[e],r=t.n;y.symbolList.push(r,String(r),e,r+100,String(r+100),e+"-open"),y.symbolNames[r]=e,y.symbolFuncs[r]=t.f,t.needLine&&(y.symbolNeedLines[r]=!0),t.noDot?y.symbolNoDot[r]=!0:y.symbolList.push(r+200,String(r+200),e+"-dot",r+300,String(r+300),e+"-open-dot"),t.noFill&&(y.symbolNoFill[r]=!0)}));var b=y.symbolNames.length;function _(e,t){var r=e%100;return y.symbolFuncs[r](t)+(e>=200?"M0,0.5L0.5,0L0,-0.5L-0.5,0Z":"")}y.symbolNumber=function(e){if(n(e))e=+e;else if("string"==typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),(e=y.symbolNames.indexOf(e))>=0&&(e+=t)}return e%100>=b||e>=400?0:Math.floor(Math.max(e,0))};var w={x1:1,x2:0,y1:0,y2:0},k={x1:0,x2:0,y1:1,y2:0},T=r.format("~.1f"),M={radial:{node:"radialGradient"},radialreversed:{node:"radialGradient",reversed:!0},horizontal:{node:"linearGradient",attrs:w},horizontalreversed:{node:"linearGradient",attrs:w,reversed:!0},vertical:{node:"linearGradient",attrs:k},verticalreversed:{node:"linearGradient",attrs:k,reversed:!0}};y.gradient=function(e,t,n,i,o,l){for(var u=o.length,d=M[i],f=new Array(u),h=0;h"+m(e);p._gradientUrlQueryParts[y]=1},y.pattern=function(e,t,n,a,i,o,l,u,d,f,h,p){var g="legend"===t;u&&("overlay"===d?(f=u,h=s.contrast(f)):(f=void 0,h=u));var v,m,y,x,b,_,w,k,T,M,A,S=n._fullLayout,L="p"+S._uid+"-"+a,D={};switch(i){case"/":v=o*Math.sqrt(2),m=o*Math.sqrt(2),_="path",D={d:y="M-"+v/4+","+m/4+"l"+v/2+",-"+m/2+"M0,"+m+"L"+v+",0M"+v/4*3+","+m/4*5+"l"+v/2+",-"+m/2,opacity:p,stroke:h,"stroke-width":(x=l*o)+"px"};break;case"\\":v=o*Math.sqrt(2),m=o*Math.sqrt(2),_="path",D={d:y="M"+v/4*3+",-"+m/4+"l"+v/2+","+m/2+"M0,0L"+v+","+m+"M-"+v/4+","+m/4*3+"l"+v/2+","+m/2,opacity:p,stroke:h,"stroke-width":(x=l*o)+"px"};break;case"x":v=o*Math.sqrt(2),m=o*Math.sqrt(2),y="M-"+v/4+","+m/4+"l"+v/2+",-"+m/2+"M0,"+m+"L"+v+",0M"+v/4*3+","+m/4*5+"l"+v/2+",-"+m/2+"M"+v/4*3+",-"+m/4+"l"+v/2+","+m/2+"M0,0L"+v+","+m+"M-"+v/4+","+m/4*3+"l"+v/2+","+m/2,x=o-o*Math.sqrt(1-l),_="path",D={d:y,opacity:p,stroke:h,"stroke-width":x+"px"};break;case"|":_="path",_="path",D={d:y="M"+(v=o)/2+",0L"+v/2+","+(m=o),opacity:p,stroke:h,"stroke-width":(x=l*o)+"px"};break;case"-":_="path",_="path",D={d:y="M0,"+(m=o)/2+"L"+(v=o)+","+m/2,opacity:p,stroke:h,"stroke-width":(x=l*o)+"px"};break;case"+":_="path",y="M"+(v=o)/2+",0L"+v/2+","+(m=o)+"M0,"+m/2+"L"+v+","+m/2,x=o-o*Math.sqrt(1-l),_="path",D={d:y,opacity:p,stroke:h,"stroke-width":x+"px"};break;case".":v=o,m=o,l.pattern_filled";S._patternUrlQueryParts[O]=1},y.initGradients=function(e){var t=e._fullLayout;c.ensureSingle(t._defs,"g","gradients").selectAll("linearGradient,radialGradient").remove(),t._gradientUrlQueryParts={}},y.initPatterns=function(e){var t=e._fullLayout;c.ensureSingle(t._defs,"g","patterns").selectAll("pattern").remove(),t._patternUrlQueryParts={}},y.getPatternAttr=function(e,t,r){return e&&c.isArrayOrTypedArray(e)?t=100,t.attr("d",_(u,l))}var d,f,h,p=!1;if(e.so)h=o.outlierwidth,f=o.outliercolor,d=i.outliercolor;else{var g=(o||{}).width;h=(e.mlw+1||g+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,f="mlc"in e?e.mlcc=n.lineScale(e.mlc):c.isArrayOrTypedArray(o.color)?s.defaultLine:o.color,c.isArrayOrTypedArray(i.color)&&(d=s.defaultLine,p=!0),d="mc"in e?e.mcc=n.markerScale(e.mc):i.color||"rgba(0,0,0,0)",n.selectedColorFn&&(d=n.selectedColorFn(e))}if(e.om)t.call(s.stroke,d).style({"stroke-width":(h||1)+"px",fill:"none"});else{t.style("stroke-width",(e.isBlank?0:h)+"px");var v=i.gradient,m=e.mgt;m?p=!0:m=v&&v.type,c.isArrayOrTypedArray(m)&&(m=m[0],M[m]||(m=0));var x=i.pattern,b=x&&y.getPatternAttr(x.shape,e.i,"");if(m&&"none"!==m){var w=e.mgc;w?p=!0:w=v.color;var k=r.uid;p&&(k+="-"+e.i),y.gradient(t,a,k,m,[[0,w],[1,d]],"fill")}else if(b){var T=y.getPatternAttr(x.bgcolor,e.i,null),A=y.getPatternAttr(x.fgcolor,e.i,null),S=x.fgopacity,L=y.getPatternAttr(x.size,e.i,8),D=y.getPatternAttr(x.solidity,e.i,.3),P=e.mcc||c.isArrayOrTypedArray(x.shape)||c.isArrayOrTypedArray(x.bgcolor)||c.isArrayOrTypedArray(x.size)||c.isArrayOrTypedArray(x.solidity),C=r.uid;P&&(C+="-"+e.i),y.pattern(t,"point",a,C,b,L,D,e.mcc,x.fillmode,T,A,S)}else s.fill(t,d);h&&s.stroke(t,f)}},y.makePointStyleFns=function(e){var t={},r=e.marker;return t.markerScale=y.tryColorscale(r,""),t.lineScale=y.tryColorscale(r,"line"),o.traceIs(e,"symbols")&&(t.ms2mrc=g.isBubble(e)?v(e):function(){return(r.size||6)/2}),e.selectedpoints&&c.extendFlat(t,y.makeSelectedPointStyleFns(e)),t},y.makeSelectedPointStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.marker||{},i=r.marker||{},s=n.marker||{},l=a.opacity,u=i.opacity,d=s.opacity,f=void 0!==u,h=void 0!==d;(c.isArrayOrTypedArray(l)||f||h)&&(t.selectedOpacityFn=function(e){var t=void 0===e.mo?a.opacity:e.mo;return e.selected?f?u:t:h?d:p*t});var g=a.color,v=i.color,m=s.color;(v||m)&&(t.selectedColorFn=function(e){var t=e.mcc||g;return e.selected?v||t:m||t});var y=a.size,x=i.size,b=s.size,_=void 0!==x,w=void 0!==b;return o.traceIs(e,"symbols")&&(_||w)&&(t.selectedSizeFn=function(e){var t=e.mrc||y/2;return e.selected?_?x/2:t:w?b/2:t}),t},y.makeSelectedTextStyleFns=function(e){var t={},r=e.selected||{},n=e.unselected||{},a=e.textfont||{},i=r.textfont||{},o=n.textfont||{},l=a.color,c=i.color,u=o.color;return t.selectedTextColorFn=function(e){var t=e.tc||l;return e.selected?c||t:u||(c?t:s.addOpacity(t,p))},t},y.selectedPointStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedPointStyleFns(t),a=t.marker||{},i=[];n.selectedOpacityFn&&i.push((function(e,t){e.style("opacity",n.selectedOpacityFn(t))})),n.selectedColorFn&&i.push((function(e,t){s.fill(e,n.selectedColorFn(t))})),n.selectedSizeFn&&i.push((function(e,t){var r=t.mx||a.symbol||0,i=n.selectedSizeFn(t);e.attr("d",_(y.symbolNumber(r),i)),t.mrc2=i})),i.length&&e.each((function(e){for(var t=r.select(this),n=0;n0?r:0}y.textPointStyle=function(e,t,n){if(e.size()){var a;if(t.selectedpoints){var i=y.makeSelectedTextStyleFns(t);a=i.selectedTextColorFn}var o=t.texttemplate,s=n._fullLayout;e.each((function(e){var i=r.select(this),l=o?c.extractOption(e,t,"txt","texttemplate"):c.extractOption(e,t,"tx","text");if(l||0===l){if(o){var u=t._module.formatLabels,f=u?u(e,t,s):{},h={};m(h,t,e.i);var p=t._meta||{};l=c.texttemplateString(l,f,s._d3locale,h,e,p)}var g=e.tp||t.textposition,v=L(e,t),x=a?a(e):e.tc||t.textfont.color;i.call(y.font,e.tf||t.textfont.family,v,x).text(l).call(d.convertToTspans,n).call(S,g,v,e.mrc)}else i.remove()}))}},y.selectedTextStyle=function(e,t){if(e.size()&&t.selectedpoints){var n=y.makeSelectedTextStyleFns(t);e.each((function(e){var a=r.select(this),i=n.selectedTextColorFn(e),o=e.tp||t.textposition,l=L(e,t);s.fill(a,i),S(a,o,l,e.mrc2||e.mrc)}))}};function D(e,t,n,a){var i=e[0]-t[0],o=e[1]-t[1],s=n[0]-t[0],l=n[1]-t[1],c=Math.pow(i*i+o*o,.25),u=Math.pow(s*s+l*l,.25),d=(u*u*i-c*c*s)*a,f=(u*u*o-c*c*l)*a,h=3*u*(c+u),p=3*c*(c+u);return[[r.round(t[0]+(h&&d/h),2),r.round(t[1]+(h&&f/h),2)],[r.round(t[0]-(p&&d/p),2),r.round(t[1]-(p&&f/p),2)]]}y.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var r,n="M"+e[0],a=[];for(r=1;r=1e4&&(y.savedBBoxes={},O=0),n&&(y.savedBBoxes[n]=v),O++,c.extendFlat({},v)},y.setClipUrl=function(e,t,r){e.attr("clip-path",I(t,r))},y.getTranslate=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||0,y:+t[1]||0}},y.setTranslate=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||0,r=r||0,i=i.replace(/(\btranslate\(.*?\);?)/,"").trim(),i=(i+=u(t,r)).trim(),e[a]("transform",i),i},y.getScale=function(e){var t=(e[e.attr?"attr":"getAttribute"]("transform")||"").replace(/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,(function(e,t,r){return[t,r].join(" ")})).split(" ");return{x:+t[0]||1,y:+t[1]||1}},y.setScale=function(e,t,r){var n=e.attr?"attr":"getAttribute",a=e.attr?"attr":"setAttribute",i=e[n]("transform")||"";return t=t||1,r=r||1,i=i.replace(/(\bscale\(.*?\);?)/,"").trim(),i=(i+="scale("+t+","+r+")").trim(),e[a]("transform",i),i};var j=/\s*sc.*/;y.setPointGroupScale=function(e,t,r){if(t=t||1,r=r||1,e){var n=1===t&&1===r?"":"scale("+t+","+r+")";e.each((function(){var e=(this.getAttribute("transform")||"").replace(j,"");e=(e+=n).trim(),this.setAttribute("transform",e)}))}};var R=/translate\([^)]*\)\s*$/;y.setTextPointsScale=function(e,t,n){e&&e.each((function(){var e,a=r.select(this),i=a.select("text");if(i.node()){var o=parseFloat(i.attr("x")||0),s=parseFloat(i.attr("y")||0),l=(a.attr("transform")||"").match(R);e=1===t&&1===n?[]:[u(o,s),"scale("+t+","+n+")",u(-o,-s)],l&&e.push(l),a.attr("transform",e.join(""))}}))}})),i.register("a77K1",(function(e,t){"use strict";var r=i("4Xrh1"),n=i("51sw9");e.exports={moduleType:"component",name:"colorscale",attributes:i("j6CYR"),layoutAttributes:i("2p5Xn"),supplyLayoutDefaults:i("kWd3Q"),handleDefaults:i("j3ImA"),crossTraceDefaults:i("cA6Jn"),calc:i("vHOoR"),scales:r.scales,defaultScale:r.defaultScale,getScale:r.get,isValidScale:r.isValid,hasColorscale:n.hasColorscale,extractOpts:n.extractOpts,extractScale:n.extractScale,flipScale:n.flipScale,makeColorScaleFunc:n.makeColorScaleFunc,makeColorScaleFuncFromTrace:n.makeColorScaleFuncFromTrace}})),i.register("51sw9",(function(e,t){"use strict";var r=i("fP9PH"),n=i("eyX4U"),a=i("bnpJH"),o=i("aDPZG"),s=i("1Jf1D"),l=i("4Xrh1").isValid;var c=["showscale","autocolorscale","colorscale","reversescale","colorbar"],u=["min","max","mid","auto"];function d(e){var t,r,n,a=e._colorAx,i=a||e,o={};for(r=0;r=0;n--,a++){var i=e[n];r[a]=[1-i[0],i[1]]}return r}function p(e,t){t=t||{};for(var i=e.domain,o=e.range,l=o.length,c=new Array(l),u=0;u* (see `dtick` for more info).","If the axis `type` is *date*, it should be a date string, like date data.","If the axis `type` is *category*, it should be a number, using the scale where","each category is assigned a serial number from zero in the order it appears."].join(" ")},dtick:{valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"},description:["Sets the step in-between ticks on this axis. Use with `tick0`.","Must be a positive number, or special strings available to *log* and *date* axes.","If the axis `type` is *log*, then ticks are set every 10^(n*dtick) where n","is the tick number. For example,","to set a tick mark at 1, 10, 100, 1000, ... set dtick to 1.","To set tick marks at 1, 100, 10000, ... set dtick to 2.","To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to log_10(5), or 0.69897000433.","*log* has several special values; *L*, where `f` is a positive number,","gives ticks linearly spaced in value (but not position).","For example `tick0` = 0.1, `dtick` = *L0.5* will put ticks at 0.1, 0.6, 1.1, 1.6 etc.","To show powers of 10 plus small digits between, use *D1* (all digits) or *D2* (only 2 and 5).","`tick0` is ignored for *D1* and *D2*.","If the axis `type` is *date*, then you must convert the time to milliseconds.","For example, to set the interval between ticks to one day,","set `dtick` to 86400000.0.","*date* also has special values *M* gives ticks spaced by a number of months.","`n` must be a positive integer.","To set ticks on the 15th of every third month, set `tick0` to *2000-01-15* and `dtick` to *M3*.","To set ticks every 4 years, set `dtick` to *M48*"].join(" ")},tickvals:{valType:"data_array",editType:"ticks",description:["Sets the values at which ticks on this axis appear.","Only has an effect if `tickmode` is set to *array*.","Used with `ticktext`."].join(" ")},ticktext:{valType:"data_array",editType:"ticks",description:["Sets the text displayed at the ticks position via `tickvals`.","Only has an effect if `tickmode` is set to *array*.","Used with `tickvals`."].join(" ")},ticks:{valType:"enumerated",values:["outside","inside",""],editType:"ticks",description:["Determines whether ticks are drawn or not.","If **, this axis' ticks are not drawn.","If *outside* (*inside*), this axis' are drawn outside (inside)","the axis lines."].join(" ")},tickson:{valType:"enumerated",values:["labels","boundaries"],dflt:"labels",editType:"ticks",description:["Determines where ticks and grid lines are drawn with respect to their","corresponding tick labels.","Only has an effect for axes of `type` *category* or *multicategory*.","When set to *boundaries*, ticks and grid lines are drawn half a category","to the left/bottom of labels."].join(" ")},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",editType:"ticks",description:["Determines where tick labels are drawn with respect to their","corresponding ticks and grid lines.","Only has an effect for axes of `type` *date*","When set to *period*, tick labels are drawn in the middle of the period","between ticks."].join(" ")},ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside",editType:"calc",description:["Determines where tick labels are drawn with respect to the axis","Please note that","top or bottom has no effect on x axes or when `ticklabelmode` is set to *period*.","Similarly","left or right has no effect on y axes or when `ticklabelmode` is set to *period*.","Has no effect on *multicategory* axes or when `tickson` is set to *boundaries*.","When used on axes linked by `matches` or `scaleanchor`,","no extra padding for inside labels would be added by autorange,","so that the scales could match."].join(" ")},ticklabeloverflow:{valType:"enumerated",values:["allow","hide past div","hide past domain"],editType:"calc",description:["Determines how we handle tick labels that would overflow either the graph div or the domain of the axis.","The default value for inside tick labels is *hide past domain*.","Otherwise on *category* and *multicategory* axes the default is *allow*.","In other cases the default is *hide past div*."].join(" ")},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,editType:"ticks+layoutstyle",description:["Determines if the axis lines or/and ticks are mirrored to","the opposite side of the plotting area.","If *true*, the axis lines are mirrored.","If *ticks*, the axis lines and ticks are mirrored.","If *false*, mirroring is disable.","If *all*, axis lines are mirrored on all shared-axes subplots.","If *allticks*, axis lines and ticks are mirrored","on all shared-axes subplots."].join(" ")},ticklen:{valType:"number",min:0,dflt:5,editType:"ticks",description:"Sets the tick length (in px)."},tickwidth:{valType:"number",min:0,dflt:1,editType:"ticks",description:"Sets the tick width (in px)."},tickcolor:{valType:"color",dflt:n.defaultLine,editType:"ticks",description:"Sets the tick color."},showticklabels:{valType:"boolean",dflt:!0,editType:"ticks",description:"Determines whether or not the tick labels are drawn."},automargin:{valType:"boolean",dflt:!1,editType:"ticks",description:["Determines whether long tick labels automatically grow the figure","margins."].join(" ")},showspikes:{valType:"boolean",dflt:!1,editType:"modebar",description:["Determines whether or not spikes (aka droplines) are drawn for this axis.","Note: This only takes affect when hovermode = closest"].join(" ")},spikecolor:{valType:"color",dflt:null,editType:"none",description:"Sets the spike color. If undefined, will use the series color"},spikethickness:{valType:"number",dflt:3,editType:"none",description:"Sets the width (in px) of the zero line."},spikedash:o({},a,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],dflt:"toaxis",editType:"none",description:["Determines the drawing mode for the spike line","If *toaxis*, the line is drawn from the data point to the axis the ","series is plotted on.","If *across*, the line is drawn across the entire plot area, and","supercedes *toaxis*.","If *marker*, then a marker dot is drawn on the axis the series is","plotted on"].join(" ")},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"hovered data",editType:"none",description:"Determines whether spikelines are stuck to the cursor or to the closest datapoints."},tickfont:r({editType:"ticks",description:"Sets the tick font."}),tickangle:{valType:"angle",dflt:"auto",editType:"ticks",description:["Sets the angle of the tick labels with respect to the horizontal.","For example, a `tickangle` of -90 draws the tick labels","vertically."].join(" ")},tickprefix:{valType:"string",dflt:"",editType:"ticks",description:"Sets a tick label prefix."},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks",description:["If *all*, all tick labels are displayed with a prefix.","If *first*, only the first tick is displayed with a prefix.","If *last*, only the last tick is displayed with a suffix.","If *none*, tick prefixes are hidden."].join(" ")},ticksuffix:{valType:"string",dflt:"",editType:"ticks",description:"Sets a tick label suffix."},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks",description:"Same as `showtickprefix` but for tick suffixes."},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks",description:["If *all*, all exponents are shown besides their significands.","If *first*, only the exponent of the first tick is shown.","If *last*, only the exponent of the last tick is shown.","If *none*, no exponents appear."].join(" ")},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B"],dflt:"B",editType:"ticks",description:["Determines a formatting rule for the tick exponents.","For example, consider the number 1,000,000,000.","If *none*, it appears as 1,000,000,000.","If *e*, 1e+9.","If *E*, 1E+9.","If *power*, 1x10^9 (with 9 in a super script).","If *SI*, 1G.","If *B*, 1B."].join(" ")},minexponent:{valType:"number",dflt:3,min:0,editType:"ticks",description:["Hide SI prefix for 10^n if |n| is below this number.","This only has an effect when `tickformat` is *SI* or *B*."].join(" ")},separatethousands:{valType:"boolean",dflt:!1,editType:"ticks",description:['If "true", even 4-digit integers are separated'].join(" ")},tickformat:{valType:"string",dflt:"",editType:"ticks",description:["Sets the tick label formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",c,"And for dates see:",u,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},tickformatstops:s("tickformatstop",{enabled:{valType:"boolean",dflt:!0,editType:"ticks",description:["Determines whether or not this stop is used.","If `false`, this stop is ignored even within its `dtickrange`."].join(" ")},dtickrange:{valType:"info_array",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks",description:["range [*min*, *max*], where *min*, *max* - dtick values","which describe some zoom level, it is possible to omit *min*","or *max* value by passing *null*"].join(" ")},value:{valType:"string",dflt:"",editType:"ticks",description:["string - dtickformat for described zoom level, the same as *tickformat*"].join(" ")},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",editType:"none",description:["Sets the hover text formatting rule using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see:",c,"And for dates see:",u,"We add one item to d3's date formatter: *%{n}f* for fractional seconds","with n digits. For example, *2016-10-13 09:15:23.456* with tickformat","*%H~%M~%S.%2f* would display *09~15~23.46*"].join(" ")},showline:{valType:"boolean",dflt:!1,editType:"ticks+layoutstyle",description:["Determines whether or not a line bounding this axis is drawn."].join(" ")},linecolor:{valType:"color",dflt:n.defaultLine,editType:"layoutstyle",description:"Sets the axis line color."},linewidth:{valType:"number",min:0,dflt:1,editType:"ticks+layoutstyle",description:"Sets the width (in px) of the axis line."},showgrid:{valType:"boolean",editType:"ticks",description:["Determines whether or not grid lines are drawn.","If *true*, the grid lines are drawn at every tick mark."].join(" ")},gridcolor:{valType:"color",dflt:n.lightLine,editType:"ticks",description:"Sets the color of the grid lines."},gridwidth:{valType:"number",min:0,dflt:1,editType:"ticks",description:"Sets the width (in px) of the grid lines."},zeroline:{valType:"boolean",editType:"ticks",description:["Determines whether or not a line is drawn at along the 0 value","of this axis.","If *true*, the zero line is drawn on top of the grid lines."].join(" ")},zerolinecolor:{valType:"color",dflt:n.defaultLine,editType:"ticks",description:"Sets the line color of the zero line."},zerolinewidth:{valType:"number",dflt:1,editType:"ticks",description:"Sets the width (in px) of the zero line."},showdividers:{valType:"boolean",dflt:!0,editType:"ticks",description:["Determines whether or not a dividers are drawn","between the category levels of this axis.","Only has an effect on *multicategory* axes."].join(" ")},dividercolor:{valType:"color",dflt:n.defaultLine,editType:"ticks",description:["Sets the color of the dividers","Only has an effect on *multicategory* axes."].join(" ")},dividerwidth:{valType:"number",dflt:1,editType:"ticks",description:["Sets the width (in px) of the dividers","Only has an effect on *multicategory* axes."].join(" ")},anchor:{valType:"enumerated",values:["free",f.idRegex.x.toString(),f.idRegex.y.toString()],editType:"plot",description:["If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to","the corresponding opposite-letter axis.","If set to *free*, this axis' position is determined by `position`."].join(" ")},side:{valType:"enumerated",values:["top","bottom","left","right"],editType:"plot",description:["Determines whether a x (y) axis is positioned","at the *bottom* (*left*) or *top* (*right*)","of the plotting area."].join(" ")},overlaying:{valType:"enumerated",values:["free",f.idRegex.x.toString(),f.idRegex.y.toString()],editType:"plot",description:["If set a same-letter axis id, this axis is overlaid on top of","the corresponding same-letter axis, with traces and axes visible for both","axes.","If *false*, this axis does not overlay any same-letter axes.","In this case, for axes with overlapping domains only the highest-numbered","axis will be visible."].join(" ")},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",editType:"plot",description:["Sets the layer on which this axis is displayed.","If *above traces*, this axis is displayed above all the subplot's traces","If *below traces*, this axis is displayed below all the subplot's traces,","but above the grid lines.","Useful when used together with scatter-like traces with `cliponaxis`","set to *false* to show markers and/or text nodes above this axis."].join(" ")},domain:{valType:"info_array",items:[{valType:"number",min:0,max:1,editType:"plot"},{valType:"number",min:0,max:1,editType:"plot"}],dflt:[0,1],editType:"plot",description:["Sets the domain of this axis (in plot fraction)."].join(" ")},position:{valType:"number",min:0,max:1,dflt:0,editType:"plot",description:["Sets the position of this axis in the plotting space","(in normalized coordinates).","Only has an effect if `anchor` is set to *free*."].join(" ")},categoryorder:{valType:"enumerated",values:["trace","category ascending","category descending","array","total ascending","total descending","min ascending","min descending","max ascending","max descending","sum ascending","sum descending","mean ascending","mean descending","median ascending","median descending"],dflt:"trace",editType:"calc",description:["Specifies the ordering logic for the case of categorical variables.","By default, plotly uses *trace*, which specifies the order that is present in the data supplied.","Set `categoryorder` to *category ascending* or *category descending* if order should be determined by","the alphanumerical order of the category names.","Set `categoryorder` to *array* to derive the ordering from the attribute `categoryarray`. If a category","is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to","the *trace* mode. The unspecified categories will follow the categories in `categoryarray`.","Set `categoryorder` to *total ascending* or *total descending* if order should be determined by the","numerical order of the values.","Similarly, the order can be determined by the min, max, sum, mean or median of all the values."].join(" ")},categoryarray:{valType:"data_array",editType:"calc",description:["Sets the order in which categories on this axis appear.","Only has an effect if `categoryorder` is set to *array*.","Used with `categoryorder`."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Controls persistence of user-driven changes in axis `range`,","`autorange`, and `title` if in `editable: true` configuration.","Defaults to `layout.uirevision`."].join(" ")},editType:"calc",_deprecated:{autotick:{valType:"boolean",editType:"ticks",description:["Obsolete.","Set `tickmode` to *auto* for old `autotick` *true* behavior.","Set `tickmode` to *linear* for `autotick` *false*."].join(" ")},title:{valType:"string",editType:"ticks",description:["Value of `title` is no longer a simple *string* but a set of sub-attributes.","To set the axis' title, please use `title.text` now."].join(" ")},titlefont:r({editType:"ticks",description:["Former `titlefont` is now the sub-attribute `font` of `title`.","To customize title font properties, please use `title.font` now."].join(" ")})}}})),i.register("cg6uM",(function(e,t){"use strict";e.exports={FORMAT_LINK:"https://github.com/d3/d3-3.x-api-reference/blob/master/Formatting.md#d3_format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format#locale_format"}})),i.register("2p5Xn",(function(e,t){"use strict";var r=i("hYsp9").extendFlat,n=i("j6CYR"),a=i("4Xrh1").scales,o="Note that `autocolorscale` must be true for this attribute to work.";e.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:a.Reds,editType:"calc",description:["Sets the default sequential colorscale for positive values.",o].join(" ")},sequentialminus:{valType:"colorscale",dflt:a.Blues,editType:"calc",description:["Sets the default sequential colorscale for negative values.",o].join(" ")},diverging:{valType:"colorscale",dflt:a.RdBu,editType:"calc",description:["Sets the default diverging colorscale.",o].join(" ")}},coloraxis:r({_isSubplotObj:!0,editType:"calc",description:[""].join(" ")},n("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}})),i.register("kWd3Q",(function(e,t){"use strict";var r=i("aDPZG"),n=i("6bzyY"),a=i("2p5Xn"),o=i("j3ImA");e.exports=function(e,t){function i(n,i){return r.coerce(e,t,a,n,i)}i("colorscale.sequential"),i("colorscale.sequentialminus"),i("colorscale.diverging");var s,l,c=t._colorAxes;function u(e,t){return r.coerce(s,l,a.coloraxis,e,t)}for(var d in c){var f=c[d];if(f[0])s=e[d]||{},(l=n.newContainer(t,d,"coloraxis"))._name=d,o(s,l,t,u,{prefix:"",cLetter:"c"});else{for(var h=0;ha),(e=>a=e)),t(e.exports,"dtick",(()=>n),(e=>n=e));var o=i("bnpJH"),s=i("aDPZG"),l=i("5jyN7"),c=l.ONEDAY,u=l.ONEWEEK;n=function(e,t){var r="log"===t,n="date"===t,a="category"===t,i=n?c:1;if(!e)return i;if(o(e))return(e=Number(e))<=0?i:a?Math.max(1,Math.round(e)):n?Math.max(.1,e):e;if("string"!=typeof e||!n&&!r)return i;var s=e.charAt(0),l=e.substr(1);return(l=o(l)?Number(l):0)<=0||!(n&&"M"===s&&l===Math.round(l)||r&&"L"===s||r&&"D"===s&&(1===l||2===l))?i:e},a=function(e,t,r,n){return"date"===t?s.cleanDate(e,s.dateTick0(r,n%u==0?1:0)):"D1"!==n&&"D2"!==n?o(e)?Number(e):0:void 0}})),i.register("6Xr6c",(function(e,t){"use strict";var r=i("aDPZG"),n=i("9fCTe");e.exports=function(e,t,a,i){var o=r.coerce2(e,t,n,"ticklen"),s=r.coerce2(e,t,n,"tickwidth"),l=r.coerce2(e,t,n,"tickcolor",t.color);a("ticks",i.outerTicks||o||s||l?"outside":"")||(delete t.ticklen,delete t.tickwidth,delete t.tickcolor)}})),i.register("5geht",(function(e,t){"use strict";var r=i("aDPZG"),n=i("1Jf1D").contrast,a=i("9fCTe"),o=i("j2cSz");function s(e){var t=["showexponent","showtickprefix","showticksuffix"].filter((function(t){return void 0!==e[t]}));if(t.every((function(r){return e[r]===e[t[0]]}))||1===t.length)return e[t[0]]}function l(e,t){function n(n,i){return r.coerce(e,t,a.tickformatstops,n,i)}n("enabled")&&(n("dtickrange"),n("value"))}e.exports=function(e,t,i,c,u,d){d&&1!==d.pass||function(e,t,r,n,a){var i=s(e);r("tickprefix")&&r("showtickprefix",i);r("ticksuffix",a.tickSuffixDflt)&&r("showticksuffix",i)}(e,0,i,0,u),d&&2!==d.pass||function(e,t,i,c,u){var d=s(e);i("tickprefix")&&i("showtickprefix",d);i("ticksuffix",u.tickSuffixDflt)&&i("showticksuffix",d);if(i("showticklabels")){var f=u.font||{},h=t.color,p=-1!==(t.ticklabelposition||"").indexOf("inside")?n(u.bgColor):h&&h!==a.color.dflt?h:f.color;if(r.coerceFont(i,"tickfont",{family:f.family,size:f.size,color:p}),i("tickangle"),"category"!==c){var g=i("tickformat");o(e,t,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:l}),t.tickformatstops.length||delete t.tickformatstops,g||"date"===c||(i("showexponent",d),i("exponentformat"),i("minexponent"),i("separatethousands"))}}}(e,t,i,c,u)}})),i.register("j2cSz",(function(e,t){"use strict";var r=i("aDPZG"),n=i("6bzyY");e.exports=function(e,t,a){var i,o,s=a.name,l=a.inclusionAttr||"visible",c=t[s],u=r.isArrayOrTypedArray(e[s])?e[s]:[],d=t[s]=[],f=n.arrayTemplater(t,s,l);for(i=0;ig-h?h=g-(p-g):p-g=0?s.colorscale.sequential:s.colorscale.sequentialminus,d._sync("colorscale",o))}})),i.register("elGza",(function(e,t){"use strict";var r=i("aDPZG");e.exports={hasLines:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("lines")},hasMarkers:function(e){return e.visible&&(e.mode&&-1!==e.mode.indexOf("markers")||"splom"===e.type)},hasText:function(e){return e.visible&&e.mode&&-1!==e.mode.indexOf("text")},isBubble:function(e){return r.isPlainObject(e.marker)&&r.isArrayOrTypedArray(e.marker.size)}}})),i.register("5jVz5",(function(e,t){"use strict";var r=i("bnpJH");e.exports=function(e){var t=e.marker,n=t.sizeref||1,a=t.sizemin||0,i="area"===t.sizemode?function(e){return Math.sqrt(e/n)}:function(e){return e/n};return function(e){var t=i(e/2);return r(t)&&t>0?Math.max(t,a):0}}})),i.register("kFLuw",(function(e,r){var n,a,o,s,l,c,u,d,f,h,p,g,v;t(e.exports,"p2c",(()=>n),(e=>n=e)),t(e.exports,"flat",(()=>u),(e=>u=e)),t(e.exports,"isTraceInSubplots",(()=>s),(e=>s=e)),t(e.exports,"getDistanceFunction",(()=>p),(e=>p=e)),t(e.exports,"quadrature",(()=>l),(e=>l=e)),t(e.exports,"makeEventData",(()=>a),(e=>a=e)),t(e.exports,"inbox",(()=>c),(e=>c=e)),t(e.exports,"appendArrayMultiPointValues",(()=>o),(e=>o=e)),t(e.exports,"isUnifiedHover",(()=>f),(e=>f=e)),t(e.exports,"getSubplot",(()=>d),(e=>d=e)),t(e.exports,"isXYhover",(()=>v),(e=>v=e)),t(e.exports,"getClosest",(()=>h),(e=>h=e)),t(e.exports,"appendArrayPointValue",(()=>g),(e=>g=e));var m=i("aDPZG");d=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo},s=function(e,t){if("splom"===e.type){for(var r=e.xaxes||[],n=e.yaxes||[],a=0;a=0&&r.index0)return Math.log(t)/Math.LN10;if(t<=0&&r&&e.range&&2===e.range.length){var n=e.range[0],a=e.range[1];return.5*(n+a-2*g*Math.abs(n-a))}return p}function L(t,r,n,i){if((i||{}).msUTC&&a(t))return+t;var s=c(t,n||e.calendar);if(s===p){if(!a(t))return p;t=+t;var l=Math.floor(10*o.mod(t+.05,1)),u=Math.round(t-l/10);s=c(new Date(u))+l/10}return s}function D(t,r,n){return l(t,r,n||e.calendar)}function P(t){return e._categories[Math.round(t)]}function C(t){if(A(t)){if(void 0===e._categoriesMap&&(e._categoriesMap={}),void 0!==e._categoriesMap[t])return e._categoriesMap[t];e._categories.push("number"==typeof t?String(t):t);var r=e._categories.length-1;return e._categoriesMap[t]=r,r}return p}function O(t){if(e._categoriesMap)return e._categoriesMap[t]}function z(e){var t=O(e);return void 0!==t?t:a(e)?+e:void 0}function I(e){return a(e)?+e:O(e)}function j(e,t,n){return r.round(n+t*e,2)}function R(e,t,r){return(e-r)/t}var E=function(t){return a(t)?j(t,e._m,e._b):p},N=function(t){return R(t,e._m,e._b)};if(e.rangebreaks){var F="y"===f;E=function(t){if(!a(t))return p;var r=e._rangebreaks.length;if(!r)return j(t,e._m,e._b);var n=F;e.range[0]>e.range[1]&&(n=!n);for(var i=n?-1:1,o=i*t,s=0,l=0;lu)){s=o<(c+u)/2?l:l+1;break}s=l+1}var d=e._B[s]||0;return isFinite(d)?j(t,e._m2,d):0},N=function(t){var r=e._rangebreaks.length;if(!r)return R(t,e._m,e._b);for(var n=0,a=0;ae._rangebreaks[a].pmax&&(n=a+1);return R(t,e._m2,e._B[n])}}e.c2l="log"===e.type?S:u,e.l2c="log"===e.type?M:u,e.l2p=E,e.p2l=N,e.c2p="log"===e.type?function(e,t){return E(S(e,t))}:E,e.p2c="log"===e.type?function(e){return M(N(e))}:N,-1!==["linear","-"].indexOf(e.type)?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=s,e.c2d=e.c2r=e.l2d=e.l2r=u,e.d2p=e.r2p=function(t){return e.l2p(s(t))},e.p2d=e.p2r=N,e.cleanPos=u):"log"===e.type?(e.d2r=e.d2l=function(e,t){return S(s(e),t)},e.r2d=e.r2c=function(e){return M(s(e))},e.d2c=e.r2l=s,e.c2d=e.l2r=u,e.c2r=S,e.l2d=M,e.d2p=function(t,r){return e.l2p(e.d2r(t,r))},e.p2d=function(e){return M(N(e))},e.r2p=function(t){return e.l2p(s(t))},e.p2r=N,e.cleanPos=u):"date"===e.type?(e.d2r=e.r2d=o.identity,e.d2c=e.r2c=e.d2l=e.r2l=L,e.c2d=e.c2r=e.l2d=e.l2r=D,e.d2p=e.r2p=function(t,r,n){return e.l2p(L(t,0,n))},e.p2d=e.p2r=function(e,t,r){return D(N(e),t,r)},e.cleanPos=function(t){return o.cleanDate(t,p,e.calendar)}):"category"===e.type?(e.d2c=e.d2l=C,e.r2d=e.c2d=e.l2d=P,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=I(t);return void 0!==r?r:e.fraction2r(.5)},e.l2r=e.c2r=u,e.r2l=I,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return P(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return"string"==typeof e&&""!==e?e:u(e)}):"multicategory"===e.type&&(e.r2d=e.c2d=e.l2d=P,e.d2r=e.d2l_noadd=z,e.r2c=function(t){var r=z(t);return void 0!==r?r:e.fraction2r(.5)},e.r2c_just_indices=O,e.l2r=e.c2r=u,e.r2l=z,e.d2p=function(t){return e.l2p(e.r2c(t))},e.p2d=function(e){return P(N(e))},e.r2p=e.d2p,e.p2r=N,e.cleanPos=function(e){return Array.isArray(e)||"string"==typeof e&&""!==e?e:u(e)},e.setupMultiCategory=function(r){var n,a,s=e._traceIndices,l=e._matchGroup;if(l&&0===e._categories.length)for(var c in l)if(c!==i){var u=t[_.id2name(c)];s=s.concat(u._traceIndices)}var h=[[0,{}],[0,{}]],p=[];for(n=0;nh&&(s[n]=h),s[0]===s[1]){var c=Math.max(1,Math.abs(1e-6*s[0]));s[0]-=c,s[1]+=c}}else o.nestedProperty(e,t).set(i)},e.setScale=function(r){var n=t._size;if(e.overlaying){var a=_.getFromId({_fullLayout:t},e.overlaying);e.domain=a.domain}var i=r&&e._r?"_r":"range",o=e.calendar;e.cleanRange(i);var s,l,c=e.r2l(e[i][0],o),u=e.r2l(e[i][1],o),d="y"===f;if((d?(e._offset=n.t+(1-e.domain[1])*n.h,e._length=n.h*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u):(e._offset=n.l+e.domain[0]*n.w,e._length=n.w*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c),e._rangebreaks=[],e._lBreaks=0,e._m2=0,e._B=[],e.rangebreaks)&&(e._rangebreaks=e.locateBreaks(Math.min(c,u),Math.max(c,u)),e._rangebreaks.length)){for(s=0;su&&(h=!h),h&&e._rangebreaks.reverse();var p=h?-1:1;for(e._m2=p*e._length/(Math.abs(u-c)-e._lBreaks),e._B.push(-e._m2*(d?u:c)),s=0;sa&&(a+=7,ia&&(a+=24,i=n&&i=n&&t=s.min&&(es.max&&(s.max=n),a=!1)}a&&c.push({min:e,max:n})}};for(n=0;n2*o}(i,t))return"date";var v="strict"!==n.autotypenumbers;return function(e,t){for(var r=e.length,n=d(r),i=0,o=0,s={},u=0;u2*i}(i,v)?"category":function(e,t){for(var r=e.length,n=0;n0&&((k=L-s(x)-l(b))>D?T/k>P&&(_=x,w=b,P=T/k):T/L>P&&(_={val:x.val,nopad:1},w={val:b.val,nopad:1},P=T/L));if(f===v){var C=f-1,O=f+1;if(A)if(0===f)i=[0,1];else{var z=(f>0?d:u).reduce((function(e,t){return Math.max(e,l(t))}),0),I=f/(1-Math.min(.5,z/L));i=f>0?[0,I]:[I,0]}else i=S?[Math.max(0,C),Math.max(1,O)]:[C,O]}else A?(_.val>=0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:0,nopad:1})):S&&(_.val-P*s(_)<0&&(_={val:0,nopad:1}),w.val<=0&&(w={val:1,nopad:1})),P=(w.val-_.val-h(t,x.val,b.val))/(L-s(_)-l(w)),i=[_.val-P*s(_),w.val+P*l(w)];return m&&i.reverse(),a.simpleMap(i,t.l2r||Number)}function h(e,t,r){var n=0;if(e.rangebreaks)for(var a=e.locateBreaks(t,r),i=0;i0?r.ppadplus:r.ppadminus)||r.ppad||0),S=M((e._m>0?r.ppadminus:r.ppadplus)||r.ppad||0),L=M(r.vpadplus||r.vpad),D=M(r.vpadminus||r.vpad);if(!k){if(f=1/0,h=-1/0,w)for(a=0;a0&&(f=i),i>h&&i-o&&(f=i),i>h&&i=O;a--)C(a);return{min:p,max:g,opts:r}},concatExtremes:g};function g(e,t,r){var n,a,i,o=t._id,s=e._fullData,l=e._fullLayout,c=[],d=[];function f(e,t){for(n=0;n=r&&(c.extrapad||!o)){s=!1;break}a(t,c.val)&&c.pad<=r&&(o||!c.extrapad)&&(e.splice(l,1),l--)}if(s){var u=i&&0===t;e.push({val:t,pad:u?0:r,extrapad:!u&&o})}}function x(e){return n(e)&&Math.abs(e)=t}})),i.register("gbTMN",(function(e,r){var n,a;t(e.exports,"initInteractions",(()=>n),(e=>n=e)),t(e.exports,"updateFx",(()=>a),(e=>a=e));var o=i("fP9PH"),s=i("a04P9"),l=i("fh3b6"),c=i("Tbkiv"),u=i("5odCZ").makeDragBox,d=i("jvdiU").DRAGGERSIZE;n=function(e){var t=e._fullLayout;if(e._context.staticPlot)o.select(e).selectAll(".drag").remove();else if(t._has("cartesian")||t._has("splom")){Object.keys(t._plots||{}).sort((function(e,r){if((t._plots[e].mainplot&&!0)===(t._plots[r].mainplot&&!0)){var n=e.split("y"),a=r.split("y");return n[0]===a[0]?Number(n[1]||1)-Number(a[1]||1):Number(n[0]||1)-Number(a[0]||1)}return t._plots[e].mainplot?1:-1})).forEach((function(r){var n=t._plots[r],a=n.xaxis,i=n.yaxis;if(!n.mainplot){var o=u(e,n,a._offset,i._offset,a._length,i._length,"ns","ew");o.onmousemove=function(t){e._fullLayout._rehover=function(){e._fullLayout._hoversubplot===r&&e._fullLayout._plots[r]&&s.hover(e,t,r)},s.hover(e,t,r),e._fullLayout._lasthover=o,e._fullLayout._hoversubplot=r},o.onmouseout=function(t){e._dragging||(e._fullLayout._hoversubplot=null,l.unhover(e,t))},e._context.showAxisDragHandles&&(u(e,n,a._offset-d,i._offset-d,d,d,"n","w"),u(e,n,a._offset+a._length,i._offset-d,d,d,"n","e"),u(e,n,a._offset-d,i._offset+i._length,d,d,"s","w"),u(e,n,a._offset+a._length,i._offset+i._length,d,d,"s","e"))}if(e._context.showAxisDragHandles){if(r===a._mainSubplot){var c=a._mainLinePosition;"top"===a.side&&(c-=d),u(e,n,a._offset+.1*a._length,c,.8*a._length,d,"","ew"),u(e,n,a._offset,c,.1*a._length,d,"","w"),u(e,n,a._offset+.9*a._length,c,.1*a._length,d,"","e")}if(r===i._mainSubplot){var f=i._mainLinePosition;"right"!==i.side&&(f-=d),u(e,n,f,i._offset+.1*i._length,d,.8*i._length,"ns",""),u(e,n,f,i._offset+.9*i._length,d,.1*i._length,"s",""),u(e,n,f,i._offset,d,.1*i._length,"n","")}}}));var r=t._hoverlayer.node();r.onmousemove=function(r){r.target=e._fullLayout._lasthover,s.hover(e,r,t._hoversubplot)},r.onclick=function(t){t.target=e._fullLayout._lasthover,s.click(e,t)},r.onmousedown=function(t){e._fullLayout._lasthover.onmousedown(t)},a(e)}},a=function(e){var t=e._fullLayout,r="pan"===t.dragmode?"move":"crosshair";c(t._draggers,r)}})),i.register("a04P9",(function(e,t){"use strict";var r=i("fP9PH"),n=i("aDPZG"),a=i("fh3b6"),o=i("kFLuw"),s=i("j2fqE"),l=i("bbwG0");e.exports={moduleType:"component",name:"fx",constants:i("1W5ZT"),schema:{layout:s},attributes:i("kbCMD"),layoutAttributes:s,supplyLayoutGlobalDefaults:i("dnDCy"),supplyDefaults:i("5VBs0"),supplyLayoutDefaults:i("gZZpX"),calc:i("eJ2z7"),getDistanceFunction:o.getDistanceFunction,getClosest:o.getClosest,inbox:o.inbox,quadrature:o.quadrature,appendArrayPointValue:o.appendArrayPointValue,castHoverOption:function(e,t,r){return n.castOption(e,t,"hoverlabel."+r)},castHoverinfo:function(e,t,r){return n.castOption(e,r,"hoverinfo",(function(r){return n.coerceHoverinfo({hoverinfo:r},{_module:e._module},t)}))},hover:l.hover,unhover:a.unhover,loneHover:l.loneHover,loneUnhover:function(e){var t=n.isD3Selection(e)?e:r.select(e);t.selectAll("g.hovertext").remove(),t.selectAll(".spikeline").remove()},click:i("3mGMC")}})),i.register("fh3b6",(function(e,t){"use strict";var r=i("fP3e2"),n=i("lnf8W"),a=i("hkLPB"),o=i("aDPZG").removeElement,s=i("jvdiU"),l=e.exports={};l.align=i("efWMZ"),l.getCursor=i("hBZxK");var c=i("bUCp5");function u(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function d(e){return r(e.changedTouches?e.changedTouches[0]:e,document.body)}l.unhover=c.wrapped,l.unhoverRaw=c.raw,l.init=function(e){var t,r,i,c,f,h,p,g,v=e.gd,m=1,y=v._context.doubleClickDelay,x=e.element;v._mouseDownTime||(v._mouseDownTime=0),x.style.pointerEvents="all",x.onmousedown=_,a?(x._ontouchstart&&x.removeEventListener("touchstart",x._ontouchstart),x._ontouchstart=_,x.addEventListener("touchstart",_,{passive:!1})):x.ontouchstart=_;var b=e.clampFn||function(e,t,r){return Math.abs(e)y&&(m=Math.max(m-1,1)),v._dragged)e.doneFn&&e.doneFn();else if(e.clickFn&&e.clickFn(m,h),!g){var r;try{r=new MouseEvent("click",t)}catch(e){var a=d(t);(r=document.createEvent("MouseEvents")).initMouseEvent("click",t.bubbles,t.cancelable,t.view,t.detail,t.screenX,t.screenY,a[0],a[1],t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget)}p.dispatchEvent(r)}v._dragging=!1,v._dragged=!1}else v._dragged=!1}},l.coverSlip=u})),i.register("fP3e2",(function(e,t){var r={left:0,top:0};e.exports=function(e,t,n){t=t||e.currentTarget||e.srcElement,Array.isArray(n)||(n=[0,0]);var a=e.clientX||0,i=e.clientY||0,o=(s=t,s===window||s===document||s===document.body?r:s.getBoundingClientRect());var s;return n[0]=a-o.left,n[1]=i-o.top,n}})),i.register("hkLPB",(function(e,t){"use strict";var r=i("eLpSO");e.exports=r&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return e}()})),i.register("efWMZ",(function(e,t){"use strict";e.exports=function(e,t,r,n,a){var i=(e-r)/(n-r),o=i+t/(n-r),s=(i+o)/2;return"left"===a||"bottom"===a?i:"center"===a||"middle"===a?s:"right"===a||"top"===a?o:i<2/3-s?i:o>4/3-s?o:s}})),i.register("hBZxK",(function(e,t){"use strict";var r=i("aDPZG"),n=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];e.exports=function(e,t,a,i){return e="left"===a?0:"center"===a?1:"right"===a?2:r.constrain(Math.floor(3*e),0,2),t="bottom"===i?0:"middle"===i?1:"top"===i?2:r.constrain(Math.floor(3*t),0,2),n[t][e]}})),i.register("bUCp5",(function(e,t){"use strict";var r=i("hxee8"),n=i("dLTZR"),a=i("hzFei").getGraphDiv,o=i("1W5ZT"),s=e.exports={};s.wrapped=function(e,t,r){(e=a(e))._fullLayout&&n.clear(e._fullLayout._uid+o.HOVERID),s.raw(e,t,r)},s.raw=function(e,t){var n=e._fullLayout,a=e._hoverdata;t||(t={}),t.target&&!e._dragged&&!1===r.triggerHandler(e,"plotly_beforehover",t)||(n._hoverlayer.selectAll("g").remove(),n._hoverlayer.selectAll("line").remove(),n._hoverlayer.selectAll("circle").remove(),e._hoverdata=void 0,t.target&&a&&e.emit("plotly_unhover",{event:t,points:a}))}})),i.register("bbwG0",(function(e,r){var n,a;t(e.exports,"loneHover",(()=>n),(e=>n=e)),t(e.exports,"hover",(()=>a),(e=>a=e));var o=i("fP9PH"),s=i("bnpJH"),l=i("eyX4U"),c=i("aDPZG"),u=c.strTranslate,d=c.strRotate,f=i("hxee8"),h=i("9evQg"),p=i("gENX8"),g=i("4iYWi"),v=i("1Jf1D"),m=i("fh3b6"),y=i("jzgPx"),x=i("LWtQ1"),b=i("kFLuw"),_=i("1W5ZT"),w=i("kkBCB"),k=i("ut3qY"),T=_.YANGLE,M=Math.PI*T/180,A=1/Math.sin(M),S=Math.cos(M),L=Math.sin(M),D=_.HOVERARROWSIZE,P=_.HOVERTEXTPAD,C={box:!0,ohlc:!0,violin:!0,candlestick:!0};function O(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa,e.ya||""].join(",")}a=function(e,t,r,n){e=c.getGraphDiv(e),c.throttle(e._fullLayout._uid+_.HOVERID,_.HOVERMINTIME,(function(){!function(e,t,r,n){r||(r="xy");var a=Array.isArray(r)?r:[r],i=e._fullLayout,l=i._plots||[],u=l[r],d=i._has("cartesian");if(u){var h=u.overlays.map((function(e){return e.id}));a=a.concat(h)}for(var g=a.length,y=new Array(g),_=new Array(g),w=!1,k=0;ky[0]._length||re<0||re>_[0]._length)return m.unhoverRaw(e,t)}if(t.pointerX=te+y[0]._offset,t.pointerY=re+_[0]._offset,P="xval"in t?b.flat(a,t.xval):b.p2c(y,te),z="yval"in t?b.flat(a,t.yval):b.p2c(_,re),!s(P[0])||!s(z[0]))return c.warn("Fx.hover failed",t,e),m.unhoverRaw(e,t)}var oe=1/0;function se(e,r){for(H=0;HJ&&(Q.splice(0,J),oe=Q[0].distance),d&&0!==D&&0===Q.length){X.distance=D,X.index=!1;var f=G._module.hoverPoints(X,Y,W,"closest",{hoverLayer:i._hoverlayer});if(f&&(f=f.filter((function(e){return e.spikeDistance<=D}))),f&&f.length){var h,p=f.filter((function(e){return e.xa.showspikes&&"hovered data"!==e.xa.spikesnap}));if(p.length){var g=p[0];s(g.x0)&&s(g.y0)&&(h=ce(g),(!$.vLinePoint||$.vLinePoint.spikeDistance>h.spikeDistance)&&($.vLinePoint=h))}var m=f.filter((function(e){return e.ya.showspikes&&"hovered data"!==e.ya.spikesnap}));if(m.length){var x=m[0];s(x.x0)&&s(x.y0)&&(h=ce(x),(!$.hLinePoint||$.hLinePoint.spikeDistance>h.spikeDistance)&&($.hLinePoint=h))}}}}}function le(e,t){for(var r,n=null,a=1/0,i=0;i0&&Math.abs(e.distance)ye-1;xe--)ke(Q[xe]);Q=be,ve()}var Te=e._hoverdata,Me=[];for(j=0;j1||Q.length>1)||"closest"===S&&ee&&Q.length>1,Pe=v.combine(i.plot_bgcolor||v.background,i.paper_bgcolor),Ce={hovermode:S,rotateLabels:De,bgColor:Pe,container:i._hoverlayer,outerContainer:i._paperdiv,commonLabelOpts:i.hoverlabel,hoverdistance:i.hoverdistance},Oe=I(Q,Ce,e);b.isUnifiedHover(S)||(!function(e,t,r){var n,a,i,o,s,l,c,u=0,d=1,f=e.size(),h=new Array(f),p=0;function g(e){var t=e[0],r=e[e.length-1];if(a=t.pmin-t.pos-t.dp+t.size,i=r.pos+r.dp+r.size-t.pmax,a>.01){for(s=e.length-1;s>=0;s--)e[s].dp+=a;n=!1}if(!(i<.01)){if(a<-.01){for(s=e.length-1;s>=0;s--)e[s].dp-=i;n=!1}if(n){var c=0;for(o=0;ot.pmax&&c++;for(o=e.length-1;o>=0&&!(c<=0);o--)(l=e[o]).pos>t.pmax-1&&(l.del=!0,c--);for(o=0;o=0;s--)e[s].dp-=i;for(o=e.length-1;o>=0&&!(c<=0);o--)(l=e[o]).pos+l.dp+l.size>t.pmax&&(l.del=!0,c--)}}}e.each((function(e){var n=e[t],a="x"===n._id.charAt(0),i=n.range;0===p&&i&&i[0]>i[1]!==a&&(d=-1),h[p++]=[{datum:e,traceIndex:e.trace.index,dp:0,pos:e.pos,posref:e.posref,size:e.by*(a?A:1)/2,pmin:0,pmax:a?r.width:r.height}]})),h.sort((function(e,t){return e[0].posref-t[0].posref||d*(t[0].traceIndex-e[0].traceIndex)}));for(;!n&&u<=f;){for(u++,n=!0,o=0;o.01&&y.pmin===x.pmin&&y.pmax===x.pmax){for(s=m.length-1;s>=0;s--)m[s].dp+=a;for(v.push.apply(v,m),h.splice(o+1,1),c=0,s=v.length-1;s>=0;s--)c+=v[s].dp;for(i=c/v.length,s=v.length-1;s>=0;s--)v[s].dp-=i;n=!1}else o++}h.forEach(g)}for(o=h.length-1;o>=0;o--){var b=h[o];for(s=b.length-1;s>=0;s--){var _=b[s],w=_.datum;w.offset=_.dp,w.del=_.del}}}(Oe,De?"xa":"ya",i),R(Oe,De,i._invScaleX,i._invScaleY));if(t.target&&t.target.tagName){var ze=x.getComponentMethod("annotations","hasClickToShow")(e,Me);p(o.select(t.target),ze?"pointer":"")}if(!t.target||n||!function(e,t,r){if(!r||r.length!==e._hoverdata.length)return!0;for(var n=r.length-1;n>=0;n--){var a=r[n],i=e._hoverdata[n];if(a.curveNumber!==i.curveNumber||String(a.pointNumber)!==String(i.pointNumber)||String(a.pointNumbers)!==String(i.pointNumbers))return!0}return!1}(e,0,Te))return;Te&&e.emit("plotly_unhover",{event:t,points:Te});e.emit("plotly_hover",{event:t,points:e._hoverdata,xaxes:y,yaxes:_,xvals:P,yvals:z})}(e,t,r,n)}))},n=function(e,t){var r=!0;Array.isArray(e)||(r=!1,e=[e]);var n=e.map((function(e){return{color:e.color||v.defaultLine,x0:e.x0||e.x||0,x1:e.x1||e.x||0,y0:e.y0||e.y||0,y1:e.y1||e.y||0,xLabel:e.xLabel,yLabel:e.yLabel,zLabel:e.zLabel,text:e.text,name:e.name,idealAlign:e.idealAlign,borderColor:e.borderColor,fontFamily:e.fontFamily,fontSize:e.fontSize,fontColor:e.fontColor,nameLength:e.nameLength,textAlign:e.textAlign,trace:e.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:e.hovertemplate||!1,eventData:e.eventData||!1,hovertemplateLabels:e.hovertemplateLabels||!1}})),a=o.select(t.container),i=t.outerContainer?o.select(t.outerContainer):a,s={hovermode:"closest",rotateLabels:!1,bgColor:t.bgColor||v.background,container:a,outerContainer:i},l=I(n,s,t.gd),c=0,u=0;l.sort((function(e,t){return e.y0-t.y0})).each((function(e,r){var n=e.y0-e.by/2;e.offset=n-5([\s\S]*)<\/extra>/;function I(e,t,r){var n=r._fullLayout,a=t.hovermode,i=t.rotateLabels,s=t.bgColor,l=t.container,f=t.outerContainer,p=t.commonLabelOpts||{},m=t.fontFamily||_.HOVERFONT,y=t.fontSize||_.HOVERFONTSIZE,x=e[0],M=x.xa,A=x.ya,S=a.charAt(0),L=x[S+"Label"],C=f.node().getBoundingClientRect(),z=C.top,I=C.width,R=C.height,E=void 0!==L&&x.distance<=t.hoverdistance&&("x"===a||"y"===a);if(E){var N,F,H=!0;for(N=0;Nn.width-T?(b=n.width-T,t.attr("d","M"+(T-D)+",0L"+T+","+k+D+"v"+k+(2*P+w.height)+"H-"+T+"V"+k+D+"H"+(T-2*D)+"Z")):t.attr("d","M0,0L"+D+","+k+D+"H"+(P+w.width/2)+"v"+k+(2*P+w.height)+"H-"+(P+w.width/2)+"V"+k+D+"H-"+D+"Z")}else{var S,C,O;"right"===A.side?(S="start",C=1,O="",b=M._offset+M._length):(S="end",C=-1,O="-",b=M._offset),_=A._offset+(x.y0+x.y1)/2,i.attr("text-anchor",S),t.attr("d","M0,0L"+O+D+","+D+"V"+(P+w.height/2)+"h"+O+(2*P+w.width)+"V-"+(P+w.height/2)+"H"+O+D+"V-"+D+"Z");var I,j=w.height/2,R=z-w.top-j,E="clip"+n._uid+"commonlabel"+A._id;if(b=0?ee-=ne:ee+=2*P;var ae=re.height+2*P,ie=$+ae>=R;return ae<=R&&($<=z?$=A._offset+2*P:ie&&($=R-ae)),te.attr("transform",u(ee,$)),te}var oe=l.selectAll("g.hovertext").data(e,(function(e){return O(e)}));return oe.enter().append("g").classed("hovertext",!0).each((function(){var e=o.select(this);e.append("rect").call(v.fill,v.addOpacity(s,.8)),e.append("text").classed("name",!0),e.append("path").style("stroke-width","1px"),e.append("text").classed("nums",!0).call(g.font,m,y)})),oe.exit().remove(),oe.each((function(e){var t=o.select(this).attr("transform",""),l=e.color;Array.isArray(l)&&(l=l[e.eventData[0].pointNumber]);var c=e.bgcolor||l,f=v.combine(v.opacity(c)?c:v.defaultLine,s),p=v.combine(v.opacity(l)?l:v.defaultLine,s),x=e.borderColor||v.contrast(f),b=j(e,E,a,n,L,t),_=b[0],w=b[1],k=t.select("text.nums").call(g.font,e.fontFamily||m,e.fontSize||y,e.fontColor||x).text(_).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r),M=t.select("text.name"),A=0,S=0;if(w&&w!==_){M.call(g.font,e.fontFamily||m,e.fontSize||y,p).text(w).attr("data-notex",1).call(h.positionText,0,0).call(h.convertToTspans,r);var C=M.node().getBoundingClientRect();A=C.width+2*P,S=C.height+2*P}else M.remove(),t.select("rect").remove();t.select("path").style({fill:f,stroke:x});var O,N,F=k.node().getBoundingClientRect(),H=e.xa._offset+(e.x0+e.x1)/2,B=e.ya._offset+(e.y0+e.y1)/2,U=Math.abs(e.x1-e.x0),G=Math.abs(e.y1-e.y0),Z=F.width+D+P+A;if(e.ty0=z-F.top,e.bx=F.width+2*P,e.by=Math.max(F.height+2*P,S),e.anchor="start",e.txwidth=F.width,e.tx2width=A,e.offset=0,i)e.pos=H,O=B+G/2+Z<=R,N=B-G/2-Z>=0,"top"!==e.idealAlign&&O||!N?O?(B+=G/2,e.anchor="start"):e.anchor="middle":(B-=G/2,e.anchor="end");else if(e.pos=B,O=H+U/2+Z<=I,N=H-U/2-Z>=0,"left"!==e.idealAlign&&O||!N)if(O)H+=U/2,e.anchor="start";else{e.anchor="middle";var q=Z/2,V=H+q-I,Y=H-q;V>0&&(H-=V),Y<0&&(H+=-Y)}else H-=U/2,e.anchor="end";k.attr("text-anchor",e.anchor),A&&M.attr("text-anchor",e.anchor),t.attr("transform",u(H,B)+(i?d(T):""))})),oe}function j(e,t,r,n,a,i){var o="",s="";void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&(e.trace._meta&&(e.name=c.templateString(e.name,e.trace._meta)),o=H(e.name,e.nameLength));var l=r.charAt(0),u="x"===l?"y":"x";void 0!==e.zLabel?(void 0!==e.xLabel&&(s+="x: "+e.xLabel+"
"),void 0!==e.yLabel&&(s+="y: "+e.yLabel+"
"),"choropleth"!==e.trace.type&&"choroplethmapbox"!==e.trace.type&&(s+=(s?"z: ":"")+e.zLabel)):t&&e[l+"Label"]===a?s=e[u+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&"scattercarpet"!==e.trace.type&&(s=e.yLabel):s=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",!e.text&&0!==e.text||Array.isArray(e.text)||(s+=(s?"
":"")+e.text),void 0!==e.extraText&&(s+=(s?"
":"")+e.extraText),i&&""===s&&!e.hovertemplate&&(""===o&&i.remove(),s=o);var d=e.hovertemplate||!1;if(d){var f=e.hovertemplateLabels||e;e[l+"Label"]!==a&&(f[l+"other"]=f[l+"Val"],f[l+"otherLabel"]=f[l+"Label"]),s=(s=c.hovertemplateString(d,f,n._d3locale,e.eventData[0]||{},e.trace._meta)).replace(z,(function(t,r){return o=H(r,e.nameLength),""}))}return[s,o]}function R(e,t,r,n){var a=function(e){return e*r},i=function(e){return e*n};e.each((function(e){var r=o.select(this);if(e.del)return r.remove();var n=r.select("text.nums"),s=e.anchor,l="end"===s?-1:1,c={start:1,end:-1,middle:0}[s],u=c*(D+P),d=u+c*(e.txwidth+P),f=0,p=e.offset,v="middle"===s;v&&(u-=e.tx2width/2,d+=e.txwidth/2+P),t&&(p*=-L,f=e.offset*S),r.select("path").attr("d",v?"M-"+a(e.bx/2+e.tx2width/2)+","+i(p-e.by/2)+"h"+a(e.bx)+"v"+i(e.by)+"h-"+a(e.bx)+"Z":"M0,0L"+a(l*D+f)+","+i(D+p)+"v"+i(e.by/2-D)+"h"+a(l*e.bx)+"v-"+i(e.by)+"H"+a(l*D+f)+"V"+i(p-D)+"Z");var m=f+u,y=p+e.ty0-e.by/2+P,x=e.textAlign||"auto";"auto"!==x&&("left"===x&&"start"!==s?(n.attr("text-anchor","start"),m=v?-e.bx/2-e.tx2width/2+P:-e.bx-P):"right"===x&&"end"!==s&&(n.attr("text-anchor","end"),m=v?e.bx/2-e.tx2width/2-P:e.bx+P)),n.call(h.positionText,a(m),i(y)),e.tx2width&&(r.select("text.name").call(h.positionText,a(d+c*P+f),i(p+e.ty0-e.by/2+P)),r.select("rect").call(g.setRect,a(d+(c-1)*e.tx2width/2+f),i(p-e.by/2-1),a(e.tx2width),i(e.by+2)))}))}function E(e,t){var r=e.index,n=e.trace||{},a=e.cd[0],i=e.cd[r]||{};function o(e){return e||s(e)&&0===e}var l=Array.isArray(r)?function(e,t){var i=c.castOption(a,r,e);return o(i)?i:c.extractOption({},n,"",t)}:function(e,t){return c.extractOption(i,n,e,t)};function u(t,r,n){var a=l(r,n);o(a)&&(e[t]=a)}if(u("hoverinfo","hi","hoverinfo"),u("bgcolor","hbg","hoverlabel.bgcolor"),u("borderColor","hbc","hoverlabel.bordercolor"),u("fontFamily","htf","hoverlabel.font.family"),u("fontSize","hts","hoverlabel.font.size"),u("fontColor","htc","hoverlabel.font.color"),u("nameLength","hnl","hoverlabel.namelength"),u("textAlign","hta","hoverlabel.align"),e.posref="y"===t||"closest"===t&&"h"===n.orientation?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=c.constrain(e.x0,0,e.xa._length),e.x1=c.constrain(e.x1,0,e.xa._length),e.y0=c.constrain(e.y0,0,e.ya._length),e.y1=c.constrain(e.y1,0,e.ya._length),void 0!==e.xLabelVal&&(e.xLabel="xLabel"in e?e.xLabel:y.hoverLabelText(e.xa,e.xLabelVal,n.xhoverformat),e.xVal=e.xa.c2d(e.xLabelVal)),void 0!==e.yLabelVal&&(e.yLabel="yLabel"in e?e.yLabel:y.hoverLabelText(e.ya,e.yLabelVal,n.yhoverformat),e.yVal=e.ya.c2d(e.yLabelVal)),void 0!==e.zLabelVal&&void 0===e.zLabel&&(e.zLabel=String(e.zLabelVal)),!(isNaN(e.xerr)||"log"===e.xa.type&&e.xerr<=0)){var d=y.tickText(e.xa,e.xa.c2l(e.xerr),"hover").text;void 0!==e.xerrneg?e.xLabel+=" +"+d+" / -"+y.tickText(e.xa,e.xa.c2l(e.xerrneg),"hover").text:e.xLabel+=" ยฑ "+d,"x"===t&&(e.distance+=1)}if(!(isNaN(e.yerr)||"log"===e.ya.type&&e.yerr<=0)){var f=y.tickText(e.ya,e.ya.c2l(e.yerr),"hover").text;void 0!==e.yerrneg?e.yLabel+=" +"+f+" / -"+y.tickText(e.ya,e.ya.c2l(e.yerrneg),"hover").text:e.yLabel+=" ยฑ "+f,"y"===t&&(e.distance+=1)}var h=e.hoverinfo||e.trace.hoverinfo;return h&&"all"!==h&&(-1===(h=Array.isArray(h)?h:h.split("+")).indexOf("x")&&(e.xLabel=void 0),-1===h.indexOf("y")&&(e.yLabel=void 0),-1===h.indexOf("z")&&(e.zLabel=void 0),-1===h.indexOf("text")&&(e.text=void 0),-1===h.indexOf("name")&&(e.name=void 0)),e}function N(e,t,r){var n,a,i=r.container,o=r.fullLayout,s=o._size,c=r.event,u=!!t.hLinePoint,d=!!t.vLinePoint;if(i.selectAll(".spikeline").remove(),d||u){var f=v.combine(o.plot_bgcolor,o.paper_bgcolor);if(u){var h,p,m=t.hLinePoint;n=m&&m.xa,"cursor"===(a=m&&m.ya).spikesnap?(h=c.pointerX,p=c.pointerY):(h=n._offset+m.x,p=a._offset+m.y);var x,b,_=l.readability(m.color,f)<1.5?v.contrast(f):m.color,w=a.spikemode,k=a.spikethickness,T=a.spikecolor||_,M=y.getPxPosition(e,a);if(-1!==w.indexOf("toaxis")||-1!==w.indexOf("across")){if(-1!==w.indexOf("toaxis")&&(x=M,b=h),-1!==w.indexOf("across")){var A=a._counterDomainMin,S=a._counterDomainMax;"free"===a.anchor&&(A=Math.min(A,a.position),S=Math.max(S,a.position)),x=s.l+A*s.w,b=s.l+S*s.w}i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k,stroke:T,"stroke-dasharray":g.dashStyle(a.spikedash,k)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:x,x2:b,y1:p,y2:p,"stroke-width":k+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==w.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:M+("right"!==a.side?k:-k),cy:p,r:k,fill:T}).classed("spikeline",!0)}if(d){var L,D,P=t.vLinePoint;n=P&&P.xa,a=P&&P.ya,"cursor"===n.spikesnap?(L=c.pointerX,D=c.pointerY):(L=n._offset+P.x,D=a._offset+P.y);var C,O,z=l.readability(P.color,f)<1.5?v.contrast(f):P.color,I=n.spikemode,j=n.spikethickness,R=n.spikecolor||z,E=y.getPxPosition(e,n);if(-1!==I.indexOf("toaxis")||-1!==I.indexOf("across")){if(-1!==I.indexOf("toaxis")&&(C=E,O=D),-1!==I.indexOf("across")){var N=n._counterDomainMin,F=n._counterDomainMax;"free"===n.anchor&&(N=Math.min(N,n.position),F=Math.max(F,n.position)),C=s.t+(1-F)*s.h,O=s.t+(1-N)*s.h}i.insert("line",":first-child").attr({x1:L,x2:L,y1:C,y2:O,"stroke-width":j,stroke:R,"stroke-dasharray":g.dashStyle(n.spikedash,j)}).classed("spikeline",!0).classed("crisp",!0),i.insert("line",":first-child").attr({x1:L,x2:L,y1:C,y2:O,"stroke-width":j+2,stroke:f}).classed("spikeline",!0).classed("crisp",!0)}-1!==I.indexOf("marker")&&i.insert("circle",":first-child").attr({cx:L,cy:E-("top"!==n.side?j:-j),r:j,fill:R}).classed("spikeline",!0)}}}function F(e,t){return!t||(t.vLinePoint!==e._spikepoints.vLinePoint||t.hLinePoint!==e._spikepoints.hLinePoint)}function H(e,t){return h.plainText(e||"",{len:t,allowedTags:["br","sub","sup","b","i","em"]})}function B(e,t,r){var n=t[e+"a"],a=t[e+"Val"];"category"===n.type?a=n._categoriesMap[a]:"date"===n.type&&(a=n.d2c(a));var i=t.cd[t.index];return i&&i.t&&i.t.posLetter===n._id&&("group"!==r.boxmode&&"group"!==r.violinmode||(a+=i.t.dPos)),a}})),i.register("gENX8",(function(e,t){"use strict";var r=i("Tbkiv"),n="data-savedcursor";e.exports=function(e,t){var a=e.attr(n);if(t){if(!a){for(var i=(e.attr("class")||"").split(" "),o=0;o1);if(!1!==g||c.uirevision){var v=a.newContainer(t,"legend");if(k("uirevision",t.uirevision),!1!==g){k("bgcolor",t.paper_bgcolor),k("bordercolor"),k("borderwidth");var m,y,x,b=n.coerceFont(k,"font",t.font),_="h"===k("orientation");if(_?(m=0,r.getComponentMethod("rangeslider","isVisible")(e.xaxis)?(y=1.1,x="bottom"):(y=-.1,x="top")):(m=1.02,y=1,x="auto"),k("traceorder",f),l.isGrouped(t.legend)&&k("tracegroupgap"),k("itemsizing"),k("itemwidth"),k("itemclick"),k("itemdoubleclick"),k("x",m),k("xanchor"),k("y",y),k("yanchor",x),k("valign"),n.noneOrAll(c,v,["x","y"]),k("title.text")){k("title.side",_?"left":"top");var w=n.extendFlat({},b,{size:n.bigFont(b.size)});n.coerceFont(k,"title.font",w)}}}function k(e,t){return n.coerce(c,v,o,e,t)}}})),i.register("i36wJ",(function(e,t){"use strict";var r=i("lCAJ8"),n=i("aVZSU");e.exports={bgcolor:{valType:"color",editType:"legend",description:["Sets the legend background color.","Defaults to `layout.paper_bgcolor`."].join(" ")},bordercolor:{valType:"color",dflt:n.defaultLine,editType:"legend",description:"Sets the color of the border enclosing the legend."},borderwidth:{valType:"number",min:0,dflt:0,editType:"legend",description:"Sets the width (in px) of the border enclosing the legend."},font:r({editType:"legend",description:"Sets the font used to text the legend items."}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",editType:"legend",description:"Sets the orientation of the legend."},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],editType:"legend",description:["Determines the order at which the legend items are displayed.","If *normal*, the items are displayed top-to-bottom in the same","order as the input data.","If *reversed*, the items are displayed in the opposite order","as *normal*.","If *grouped*, the items are displayed in groups","(when a trace `legendgroup` is provided).","if *grouped+reversed*, the items are displayed in the opposite order","as *grouped*."].join(" ")},tracegroupgap:{valType:"number",min:0,dflt:10,editType:"legend",description:["Sets the amount of vertical space (in px) between legend groups."].join(" ")},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",editType:"legend",description:["Determines if the legend items symbols scale with their corresponding *trace* attributes","or remain *constant* independent of the symbol size on the graph."].join(" ")},itemwidth:{valType:"number",min:30,dflt:30,editType:"legend",description:"Sets the width (in px) of the legend item symbols (the part other than the title.text)."},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",editType:"legend",description:["Determines the behavior on legend item click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item click interactions."].join(" ")},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",editType:"legend",description:["Determines the behavior on legend item double-click.","*toggle* toggles the visibility of the item clicked on the graph.","*toggleothers* makes the clicked item the sole visible item on the graph.","*false* disable legend item double-click interactions."].join(" ")},x:{valType:"number",min:-2,max:3,editType:"legend",description:["Sets the x position (in normalized coordinates) of the legend.","Defaults to *1.02* for vertical legends and","defaults to *0* for horizontal legends."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"legend",description:["Sets the legend's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the legend.","Value *auto* anchors legends to the right for `x` values greater than or equal to 2/3,","anchors legends to the left for `x` values less than or equal to 1/3 and","anchors legends with respect to their center otherwise."].join(" ")},y:{valType:"number",min:-2,max:3,editType:"legend",description:["Sets the y position (in normalized coordinates) of the legend.","Defaults to *1* for vertical legends,","defaults to *-0.1* for horizontal legends on graphs w/o range sliders and","defaults to *1.1* for horizontal legends on graph with one or multiple range sliders."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],editType:"legend",description:["Sets the legend's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the legend.","Value *auto* anchors legends at their bottom for `y` values less than or equal to 1/3,","anchors legends to at their top for `y` values greater than or equal to 2/3 and","anchors legends with respect to their middle otherwise."].join(" ")},uirevision:{valType:"any",editType:"none",description:["Controls persistence of legend-driven changes in trace and pie label","visibility. Defaults to `layout.uirevision`."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"legend",description:["Sets the vertical alignment of the symbols with respect to their associated text."].join(" ")},title:{text:{valType:"string",dflt:"",editType:"legend",description:["Sets the title of the legend."].join(" ")},font:r({editType:"legend",description:["Sets this legend's title font.","Defaults to `legend.font` with its size increased about 20%."].join(" ")}),side:{valType:"enumerated",values:["top","left","top left"],editType:"legend",description:["Determines the location of legend's title","with respect to the legend items.","Defaulted to *top* with `orientation` is *h*.","Defaulted to *left* with `orientation` is *v*.","The *top left* options could be used to expand","legend area in both x and y sides."].join(" ")},editType:"legend"},editType:"legend"}})),i.register("27Hek",(function(e,r){var n,a,i;t(e.exports,"isVertical",(()=>n),(e=>n=e)),t(e.exports,"isGrouped",(()=>i),(e=>i=e)),t(e.exports,"isReversed",(()=>a),(e=>a=e)),i=function(e){return-1!==(e.traceorder||"").indexOf("grouped")},n=function(e){return"h"!==e.orientation},a=function(e){return-1!==(e.traceorder||"").indexOf("reversed")}})),i.register("ut3qY",(function(e,t){"use strict";var r=i("fP9PH"),n=i("aDPZG"),a=i("dx7II"),o=i("LWtQ1"),s=i("hxee8"),l=i("fh3b6"),c=i("4iYWi"),u=i("1Jf1D"),d=i("9evQg"),f=i("kFIZF"),h=i("kGAiI"),p=i("7GWIR"),g=p.LINE_SPACING,v=p.FROM_TL,m=p.FROM_BR,y=i("lO7lA"),x=i("iPaX5"),b=i("27Hek");function _(e,t,r,n,a){var i=r.data()[0][0].trace,l={event:a,node:r.node(),curveNumber:i.index,expandedIndex:i._expandedIndex,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:e._fullLayout};if(i._group&&(l.group=i._group),o.traceIs(i,"pie-like")&&(l.label=r.datum()[0].label),!1!==s.triggerHandler(e,"plotly_legendclick",l))if(1===n)t._clickTimeout=setTimeout((function(){e._fullLayout&&f(r,e,n)}),e._context.doubleClickDelay);else if(2===n){t._clickTimeout&&clearTimeout(t._clickTimeout),e._legendMouseDownTime=0,!1!==s.triggerHandler(e,"plotly_legenddoubleclick",l)&&f(r,e,n)}}function w(e,t,r){var a,i=e.data()[0][0],s=i.trace,l=o.traceIs(s,"pie-like"),u=!r._inHover&&t._context.edits.legendText&&!l,f=r._maxNameLength;r.entries?a=i.text:(a=l?i.label:s.name,s._meta&&(a=n.templateString(a,s._meta)));var p=n.ensureSingle(e,"text","legendtext");p.attr("text-anchor","start").call(c.font,r.font).text(u?k(a,f):a);var g=r.itemwidth+2*h.itemGap;d.positionText(p,g,0),u?p.call(d.makeEditable,{gd:t,text:a}).call(M,e,t,r).on("edit",(function(a){this.text(k(a,f)).call(M,e,t,r);var l=i.trace._fullInput||{},c={};if(o.hasTransform(l,"groupby")){var u=o.getTransformIndices(l,"groupby"),d=u[u.length-1],h=n.keyedContainer(l,"transforms["+d+"].styles","target","value.name");h.set(i.trace._group,a),c=h.constructUpdate()}else c.name=a;return o.call("_guiRestyle",t,c,s.index)})):M(p,e,t,r)}function k(e,t){var r=Math.max(4,t);if(e&&e.trim().length>=r/2)return e;for(var n=r-(e=e||"").length;n>0;n--)e+=" ";return e}function T(e,t){var a,i=t._context.doubleClickDelay,o=1,s=n.ensureSingle(e,"rect","legendtoggle",(function(e){t._context.staticPlot||e.style("cursor","pointer").attr("pointer-events","all"),e.call(u.fill,"rgba(0,0,0,0)")}));t._context.staticPlot||(s.on("mousedown",(function(){(a=(new Date).getTime())-t._legendMouseDownTimei&&(o=Math.max(o-1,1)),_(t,n,e,o,r.event)}})))}function M(e,t,r,n,a){n._inHover&&e.attr("data-notex",!0),d.convertToTspans(e,r,(function(){!function(e,t,r,n){var a=e.data()[0][0];if(!r._inHover&&a&&!a.trace.showlegend)return void e.remove();var i=e.select("g[class*=math-group]"),o=i.node();r||(r=t._fullLayout.legend);var s,l,u=r.borderwidth,f=(1===n?r.title:r).font.size*g;if(o){var p=c.bBox(o);s=p.height,l=p.width,1===n?c.setTranslate(i,u,u+.75*s):c.setTranslate(i,0,.25*s)}else{var v=e.select(1===n?".legendtitletext":".legendtext"),m=d.lineCount(v),y=v.node();s=f*m,l=y?c.bBox(y).width:0,1===n?("left"===r.title.side&&(l+=2*h.itemGap),d.positionText(v,u+h.titlePad,u+f)):d.positionText(v,r.itemwidth+2*h.itemGap,-f*((m-1)/2-.3))}1===n?(r._titleWidth=l,r._titleHeight=s):(a.lineHeight=f,a.height=Math.max(s,16)+3,a.width=l)}(t,r,n,a)}))}function A(e){return n.isRightAnchor(e)?"right":n.isCenterAnchor(e)?"center":"left"}function S(e){return n.isBottomAnchor(e)?"bottom":n.isMiddleAnchor(e)?"middle":"top"}e.exports=function(e,t){return t||(t=e._fullLayout.legend||{}),function(e,t){var i,s,d=e._fullLayout,f="legend"+d._uid,p=t._inHover;p?(i=t.layer,f+="-hover"):i=d._infolayer;if(!i)return;e._legendMouseDownTime||(e._legendMouseDownTime=0);if(p){if(!t.entries)return;s=y(t.entries,t)}else{if(!e.calcdata)return;s=d.showlegend&&y(e.calcdata,t)}var g=d.hiddenlabels||[];if(!(p||d.showlegend&&s.length))return i.selectAll(".legend").remove(),d._topdefs.select("#"+f).remove(),a.autoMargin(e,"legend");var k=n.ensureSingle(i,"g","legend",(function(e){p||e.attr("pointer-events","all")})),L=n.ensureSingleById(d._topdefs,"clipPath",f,(function(e){e.append("rect")})),D=n.ensureSingle(k,"rect","bg",(function(e){e.attr("shape-rendering","crispEdges")}));D.call(u.stroke,t.bordercolor).call(u.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var P=n.ensureSingle(k,"g","scrollbox"),C=t.title;if(t._titleWidth=0,t._titleHeight=0,C.text){var O=n.ensureSingle(P,"text","legendtitletext");O.attr("text-anchor","start").call(c.font,C.font).text(C.text),M(O,P,e,t,1)}else P.selectAll(".legendtitletext").remove();var z=n.ensureSingle(k,"rect","scrollbar",(function(e){e.attr(h.scrollBarEnterAttrs).call(u.fill,h.scrollBarColor)})),I=P.selectAll("g.groups").data(s);I.enter().append("g").attr("class","groups"),I.exit().remove();var j=I.selectAll("g.traces").data(n.identity);j.enter().append("g").attr("class","traces"),j.exit().remove(),j.style("opacity",(function(e){var t=e[0].trace;return o.traceIs(t,"pie-like")?-1!==g.indexOf(e[0].label)?.5:1:"legendonly"===t.visible?.5:1})).each((function(){r.select(this).call(w,e,t)})).call(x,e,t).each((function(){p||r.select(this).call(T,e)})),n.syncOrAsync([a.previousPromises,function(){return function(e,t,n,a){var i=e._fullLayout;a||(a=i.legend);var o=i._size,s=b.isVertical(a),l=b.isGrouped(a),u=a.borderwidth,d=2*u,f=h.itemGap,p=a.itemwidth+2*f,g=2*(u+f),v=S(a),m=a.y<0||0===a.y&&"top"===v,y=a.y>1||1===a.y&&"bottom"===v,x=a.tracegroupgap;a._maxHeight=Math.max(m||y?i.height/2:o.h,30);var _=0;a._width=0,a._height=0;var w=function(e){var t=0,r=0,n=e.title.side;n&&(-1!==n.indexOf("left")&&(t=e._titleWidth),-1!==n.indexOf("top")&&(r=e._titleHeight));return[t,r]}(a);if(s)n.each((function(e){var t=e[0].height;c.setTranslate(this,u+w[0],u+w[1]+a._height+t/2+f),a._height+=t,a._width=Math.max(a._width,e[0].width)})),_=p+a._width,a._width+=f+p+d,a._height+=g,l&&(t.each((function(e,t){c.setTranslate(this,0,t*a.tracegroupgap)})),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var k=A(a),T=a.x<0||0===a.x&&"right"===k,M=a.x>1||1===a.x&&"left"===k,L=y||m,D=i.width/2;a._maxWidth=Math.max(T?L&&"left"===k?o.l+o.w:D:M?L&&"right"===k?o.r+o.w:D:o.w,2*p);var P=0,C=0;n.each((function(e){var t=e[0].width+p;P=Math.max(P,t),C+=t})),_=null;var O=0;if(l){var z=0,I=0,j=0;t.each((function(){var e=0,t=0;r.select(this).selectAll("g.traces").each((function(r){var n=r[0].height;c.setTranslate(this,w[0],w[1]+u+f+n/2+t),t+=n,e=Math.max(e,p+r[0].width)})),z=Math.max(z,t);var n=e+f;n+u+I>a._maxWidth&&(O=Math.max(O,I),I=0,j+=z+x,z=t),c.setTranslate(this,I,j),I+=n})),a._width=Math.max(O,I)+u,a._height=j+z+g}else{var R=n.size(),E=C+d+(R-1)*f=a._maxWidth&&(O=Math.max(O,B),F=0,H+=N,a._height+=N,N=0),c.setTranslate(this,w[0]+u+F,w[1]+u+H+t/2+f),B=F+r+f,F+=n,N=Math.max(N,t)})),E?(a._width=F+d,a._height=N+g):(a._width=Math.max(O,B)+d,a._height+=N+g)}}a._width=Math.ceil(Math.max(a._width+w[0],a._titleWidth+2*(u+h.titlePad))),a._height=Math.ceil(Math.max(a._height+w[1],a._titleHeight+2*(u+h.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var U=e._context.edits,G=U.legendText||U.legendPosition;n.each((function(e){var t=r.select(this).select(".legendtoggle"),n=e[0].height,a=G?p:_||p+e[0].width;s||(a+=f/2),c.setRect(t,0,-n/2,a,n)}))}(e,I,j,t)},function(){if(p||!function(e){var t=e._fullLayout.legend,r=A(t),n=S(t);return a.autoMargin(e,"legend",{x:t.x,y:t.y,l:t._width*v[r],r:t._width*m[r],b:t._effHeight*m[n],t:t._effHeight*v[n]})}(e)){var s,u,g,y,x=d._size,b=t.borderwidth,w=x.l+x.w*t.x-v[A(t)]*t._width,T=x.t+x.h*(1-t.y)-v[S(t)]*t._effHeight;if(!p&&d.margin.autoexpand){var M=w,C=T;w=n.constrain(w,0,d.width-t._width),T=n.constrain(T,0,d.height-t._effHeight),w!==M&&n.log("Constrain legend.x to make legend fit inside graph"),T!==C&&n.log("Constrain legend.y to make legend fit inside graph")}if(p||c.setTranslate(k,w,T),z.on(".drag",null),k.on("wheel",null),p||t._height<=t._maxHeight||e._context.staticPlot){var O=t._effHeight;p&&(O=t._height),D.attr({width:t._width-b,height:O-b,x:b/2,y:b/2}),c.setTranslate(P,0,0),L.select("rect").attr({width:t._width-2*b,height:O-2*b,x:b,y:b}),c.setClipUrl(P,f,e),c.setRect(z,0,0,0,0),delete t._scrollY}else{var I,j,R,E=Math.max(h.scrollBarMinHeight,t._effHeight*t._effHeight/t._height),N=t._effHeight-E-2*h.scrollBarMargin,F=t._height-t._effHeight,H=N/F,B=Math.min(t._scrollY||0,F);D.attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-b,x:b/2,y:b/2}),L.select("rect").attr({width:t._width-2*b+h.scrollBarWidth+h.scrollBarMargin,height:t._effHeight-2*b,x:b,y:b+B}),c.setClipUrl(P,f,e),V(B,E,H),k.on("wheel",(function(){V(B=n.constrain(t._scrollY+r.event.deltaY/N*F,0,F),E,H),0!==B&&B!==F&&r.event.preventDefault()}));var U=function(e,t,r){var a=(r-t)/H+e;return n.constrain(a,0,F)},G=function(e,t,r){var a=(t-r)/H+e;return n.constrain(a,0,F)},Z=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;I="touchstart"===e.type?e.changedTouches[0].clientY:e.clientY,R=B})).on("drag",(function(){var e=r.event.sourceEvent;2===e.buttons||e.ctrlKey||(j="touchmove"===e.type?e.changedTouches[0].clientY:e.clientY,V(B=U(R,I,j),E,H))}));z.call(Z);var q=r.behavior.drag().on("dragstart",(function(){var e=r.event.sourceEvent;"touchstart"===e.type&&(I=e.changedTouches[0].clientY,R=B)})).on("drag",(function(){var e=r.event.sourceEvent;"touchmove"===e.type&&(j=e.changedTouches[0].clientY,V(B=G(R,I,j),E,H))}));P.call(q)}if(e._context.edits.legendPosition)k.classed("cursor-move",!0),l.init({element:k.node(),gd:e,prepFn:function(){var e=c.getTranslate(k);g=e.x,y=e.y},moveFn:function(e,r){var n=g+e,a=y+r;c.setTranslate(k,n,a),s=l.align(n,0,x.l,x.l+x.w,t.xanchor),u=l.align(a,0,x.t+x.h,x.t,t.yanchor)},doneFn:function(){void 0!==s&&void 0!==u&&o.call("_guiRelayout",e,{"legend.x":s,"legend.y":u})},clickFn:function(t,r){var n=i.selectAll("g.traces").filter((function(){var e=this.getBoundingClientRect();return r.clientX>=e.left&&r.clientX<=e.right&&r.clientY>=e.top&&r.clientY<=e.bottom}));n.size()>0&&_(e,k,n,t,r)}})}function V(r,n,a){t._scrollY=e._fullLayout.legend._scrollY=r,c.setTranslate(P,0,-r),c.setRect(z,t._width,h.scrollBarMargin+r*a,h.scrollBarWidth,n),L.select("rect").attr("y",b+r)}}],e)}(e,t)}})),i.register("kFIZF",(function(e,t){"use strict";var r=i("aDPZG"),n=i("LWtQ1"),a=!0;e.exports=function(e,t,i){var o=t._fullLayout;if(!t._dragged&&!t._editing){var s,l=o.legend.itemclick,c=o.legend.itemdoubleclick;if(1===i&&"toggle"===l&&"toggleothers"===c&&a&&t.data&&t._context.showTips?(r.notifier(r._(t,"Double-click on legend to isolate one trace"),"long"),a=!1):a=!1,1===i?s=l:2===i&&(s=c),s){var u,d,f,h,p,g=o.hiddenlabels?o.hiddenlabels.slice():[],v=e.data()[0][0],m=t._fullData,y=v.trace,x=y.legendgroup,b={},_=[],w=[],k=[];if(n.traceIs(y,"pie-like")){var T=v.label,M=g.indexOf(T);"toggle"===s?-1===M?g.push(T):g.splice(M,1):"toggleothers"===s&&(g=[],t.calcdata[0].forEach((function(e){T!==e.label&&g.push(e.label)})),t._fullLayout.hiddenlabels&&t._fullLayout.hiddenlabels.length===g.length&&-1===M&&(g=[])),n.call("_guiRelayout",t,"hiddenlabels",g)}else{var A,S=x&&x.length,L=[];if(S)for(u=0;uT&&(k=T)}_[a][0]._groupMinRank=k,_[a][0]._preGroupSort=a}var M=function(e,t){return e.trace.legendrank-t.trace.legendrank||e._preSort-t._preSort};for(_.forEach((function(e,t){e[0]._preGroupSort=t})),_.sort((function(e,t){return e[0]._groupMinRank-t[0]._groupMinRank||e[0]._preGroupSort-t[0]._preGroupSort})),a=0;a<_.length;a++)for(_[a].forEach((function(e,t){e._preSort=t})),_[a].sort(M),s&&_[a].reverse(),i=0;i<_[a].length;i++)_[a][i]=[_[a][i]];return t._lgroupsLength=_.length,t._maxNameLength=h,_}})),i.register("iPaX5",(function(e,t){"use strict";var r=i("fP9PH"),n=i("LWtQ1"),a=i("aDPZG"),o=a.strTranslate,s=i("4iYWi"),l=i("1Jf1D"),c=i("51sw9").extractOpts,u=i("elGza"),d=i("kMM4C"),f=i("2jpI4").castOption,h=i("kGAiI");function p(e,t){return(t?"radial":"horizontal")+(e?"":"reversed")}function g(e){var t=e[0].trace,r=t.contours,n=u.hasLines(t),a=u.hasMarkers(t),i=t.visible&&t.fill&&"none"!==t.fill,o=!1,s=!1;if(r){var l=r.coloring;"lines"===l?o=!0:n="none"===l||"heatmap"===l||r.showlines,"constraint"===r.type?i="="!==r._operation:"fill"!==l&&"heatmap"!==l||(s=!0)}return{showMarker:a,showLine:n,showFill:i,showGradientLine:o,showGradientFill:s,anyLine:n||o,anyFill:i||s}}function v(e,t,r){return e&&a.isArrayOrTypedArray(e)?t:e>r?r:e}e.exports=function(e,t,i){var m=t._fullLayout;i||(i=m.legend);var y="constant"===i.itemsizing,x=i.itemwidth,b=(x+2*h.itemGap)/2,_=o(b,0),w=function(e,t,r,n){var a;if(e+1)a=e;else{if(!(t&&t.width>0))return 0;a=t.width}return y?n:Math.min(a,r)};function k(e,a,o){var u=e[0].trace,d=u.marker||{},f=d.line||{},h=o?u.visible&&u.type===o:n.traceIs(u,"bar"),p=r.select(a).select("g.legendpoints").selectAll("path.legend"+o).data(h?[e]:[]);p.enter().append("path").classed("legend"+o,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),p.exit().remove(),p.each((function(e){var n=r.select(this),a=e[0],o=w(a.mlw,d.line,5,2);n.style("stroke-width",o+"px");var h=a.mcc;if(!i._inHover&&"mc"in a){var p=c(d),g=p.mid;void 0===g&&(g=(p.max+p.min)/2),h=s.tryColorscale(d,"")(g)}var m=h||a.mc||d.color,y=d.pattern,x=y&&s.getPatternAttr(y.shape,0,"");if(x){var b=s.getPatternAttr(y.bgcolor,0,null),_=s.getPatternAttr(y.fgcolor,0,null),k=y.fgopacity,T=v(y.size,8,10),M=v(y.solidity,.5,1),A="legend-"+u.uid;n.call(s.pattern,"legend",t,A,x,T,M,h,y.fillmode,b,_,k)}else n.call(l.fill,m);o&&l.stroke(n,a.mlc||f.color)}))}function T(e,t,i){var o=e[0],s=o.trace,l=i?s.visible&&s.type===i:n.traceIs(s,i),c=r.select(t).select("g.legendpoints").selectAll("path.legend"+i).data(l?[e]:[]);if(c.enter().append("path").classed("legend"+i,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),c.exit().remove(),c.size()){var u=(s.marker||{}).line,h=w(f(u.width,o.pts),u,5,2),p=a.minExtend(s,{marker:{line:{width:h}}});p.marker.line.color=u.color;var g=a.minExtend(o,{trace:p});d(c,g,p)}}e.each((function(e){var t=r.select(this),n=a.ensureSingle(t,"g","layers");n.style("opacity",e[0].trace.opacity);var s=i.valign,l=e[0].lineHeight,c=e[0].height;if("middle"!==s&&l&&c){var u={top:1,bottom:-1}[s]*(.5*(l-c+3));n.attr("transform",o(0,u))}else n.attr("transform",null);n.selectAll("g.legendfill").data([e]).enter().append("g").classed("legendfill",!0),n.selectAll("g.legendlines").data([e]).enter().append("g").classed("legendlines",!0);var d=n.selectAll("g.legendsymbols").data([e]);d.enter().append("g").classed("legendsymbols",!0),d.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)})).each((function(e){var n,i=e[0].trace,o=[];if(i.visible)switch(i.type){case"histogram2d":case"heatmap":o=[["M-15,-2V4H15V-2Z"]],n=!0;break;case"choropleth":case"choroplethmapbox":o=[["M-6,-6V6H6V-6Z"]],n=!0;break;case"densitymapbox":o=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],n="radial";break;case"cone":o=[["M-6,2 A2,2 0 0,0 -6,6 V6L6,4Z"],["M-6,-6 A2,2 0 0,0 -6,-2 L6,-4Z"],["M-6,-2 A2,2 0 0,0 -6,2 L6,0Z"]],n=!1;break;case"streamtube":o=[["M-6,2 A2,2 0 0,0 -6,6 H6 A2,2 0 0,1 6,2 Z"],["M-6,-6 A2,2 0 0,0 -6,-2 H6 A2,2 0 0,1 6,-6 Z"],["M-6,-2 A2,2 0 0,0 -6,2 H6 A2,2 0 0,1 6,-2 Z"]],n=!1;break;case"surface":o=[["M-6,-6 A2,3 0 0,0 -6,0 H6 A2,3 0 0,1 6,-6 Z"],["M-6,1 A2,3 0 0,1 -6,6 H6 A2,3 0 0,0 6,0 Z"]],n=!0;break;case"mesh3d":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!1;break;case"volume":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],n=!0;break;case"isosurface":o=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],n=!1}var u=r.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(o);u.enter().append("path").classed("legend3dandfriends",!0).attr("transform",_).style("stroke-miterlimit",1),u.exit().remove(),u.each((function(e,o){var u,d=r.select(this),f=c(i),h=f.colorscale,g=f.reversescale;if(h){if(!n){var v=h.length;u=0===o?h[g?v-1:0][1]:1===o?h[g?0:v-1][1]:h[Math.floor((v-1)/2)][1]}}else{var m=i.vertexcolor||i.facecolor||i.color;u=a.isArrayOrTypedArray(m)?m[o]||m[0]:m}d.attr("d",e[0]),u?d.call(l.fill,u):d.call((function(e){if(e.size()){var r="legendfill-"+i.uid;s.gradient(e,t,r,p(g,"radial"===n),h,"fill")}}))}))})).each((function(e){var t=e[0].trace,n="waterfall"===t.type;if(e[0]._distinct&&n){var a=e[0].trace[e[0].dir].marker;return e[0].mc=a.color,e[0].mlw=a.line.width,e[0].mlc=a.line.color,k(e,this,"waterfall")}var i=[];t.visible&&n&&(i=e[0].hasTotals?[["increasing","M-6,-6V6H0Z"],["totals","M6,6H0L-6,-6H-0Z"],["decreasing","M6,6V-6H0Z"]]:[["increasing","M-6,-6V6H6Z"],["decreasing","M6,6V-6H-6Z"]]);var o=r.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(i);o.enter().append("path").classed("legendwaterfall",!0).attr("transform",_).style("stroke-miterlimit",1),o.exit().remove(),o.each((function(e){var n=r.select(this),a=t[e[0]].marker,i=w(void 0,a.line,5,2);n.attr("d",e[1]).style("stroke-width",i+"px").call(l.fill,a.color),i&&n.call(l.stroke,a.line.color)}))})).each((function(e){k(e,this,"funnel")})).each((function(e){k(e,this)})).each((function(e){var i=e[0].trace,o=r.select(this).select("g.legendpoints").selectAll("path.legendbox").data(i.visible&&n.traceIs(i,"box-violin")?[e]:[]);o.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",_),o.exit().remove(),o.each((function(){var e=r.select(this);if("all"!==i.boxpoints&&"all"!==i.points||0!==l.opacity(i.fillcolor)||0!==l.opacity((i.line||{}).color)){var n=w(void 0,i.line,5,2);e.style("stroke-width",n+"px").call(l.fill,i.fillcolor),n&&l.stroke(e,i.line.color)}else{var c=a.minExtend(i,{marker:{size:y?12:a.constrain(i.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});o.call(s.pointStyle,c,t)}}))})).each((function(e){T(e,this,"funnelarea")})).each((function(e){T(e,this,"pie")})).each((function(e){var n,i,o=g(e),l=o.showFill,d=o.showLine,f=o.showGradientLine,h=o.showGradientFill,v=o.anyFill,m=o.anyLine,y=e[0],b=y.trace,_=c(b),k=_.colorscale,T=_.reversescale,M=u.hasMarkers(b)||!v?"M5,0":m?"M5,-2":"M5,-3",A=r.select(this),S=A.select(".legendfill").selectAll("path").data(l||h?[e]:[]);if(S.enter().append("path").classed("js-fill",!0),S.exit().remove(),S.attr("d",M+"h"+x+"v6h-"+x+"z").call(l?s.fillGroupStyle:function(e){if(e.size()){var r="legendfill-"+b.uid;s.gradient(e,t,r,p(T),k,"fill")}}),d||f){var L=w(void 0,b.line,10,5);i=a.minExtend(b,{line:{width:L}}),n=[a.minExtend(y,{trace:i})]}var D=A.select(".legendlines").selectAll("path").data(d||f?[n]:[]);D.enter().append("path").classed("js-line",!0),D.exit().remove(),D.attr("d",M+(f?"l"+x+",0.0001":"h"+x)).call(d?s.lineGroupStyle:function(e){if(e.size()){var r="legendline-"+b.uid;s.lineGroupStyle(e),s.gradient(e,t,r,p(T),k,"stroke")}})})).each((function(e){var n,i,o=g(e),l=o.anyFill,c=o.anyLine,d=o.showLine,f=o.showMarker,h=e[0],p=h.trace,v=!f&&!c&&!l&&u.hasText(p);function m(e,t,r,n){var i=a.nestedProperty(p,e).get(),o=a.isArrayOrTypedArray(i)&&t?t(i):i;if(y&&o&&void 0!==n&&(o=n),r){if(or[1])return r[1]}return o}function x(e){return h._distinct&&h.index&&e[h.index]?e[h.index]:e[0]}if(f||v||d){var b={},w={};if(f){b.mc=m("marker.color",x),b.mx=m("marker.symbol",x),b.mo=m("marker.opacity",a.mean,[.2,1]),b.mlc=m("marker.line.color",x),b.mlw=m("marker.line.width",a.mean,[0,5],2),w.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var k=m("marker.size",a.mean,[2,16],12);b.ms=k,w.marker.size=k}d&&(w.line={width:m("line.width",x,[0,10],5)}),v&&(b.tx="Aa",b.tp=m("textposition",x),b.ts=10,b.tc=m("textfont.color",x),b.tf=m("textfont.family",x)),n=[a.minExtend(h,b)],(i=a.minExtend(p,w)).selectedpoints=null,i.texttemplate=null}var T=r.select(this).select("g.legendpoints"),M=T.selectAll("path.scatterpts").data(f?n:[]);M.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",_),M.exit().remove(),M.call(s.pointStyle,i,t),f&&(n[0].mrc=3);var A=T.selectAll("g.pointtext").data(v?n:[]);A.enter().append("g").classed("pointtext",!0).append("text").attr("transform",_),A.exit().remove(),A.selectAll("text").call(s.textPointStyle,i,t)})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(t.visible&&"candlestick"===t.type?[e,e]:[]);n.enter().append("path").classed("legendcandle",!0).attr("d",(function(e,t){return t?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"})).attr("transform",_).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],o=w(void 0,i.line,5,2);a.style("stroke-width",o+"px").call(l.fill,i.fillcolor),o&&l.stroke(a,i.line.color)}))})).each((function(e){var t=e[0].trace,n=r.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(t.visible&&"ohlc"===t.type?[e,e]:[]);n.enter().append("path").classed("legendohlc",!0).attr("d",(function(e,t){return t?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"})).attr("transform",_).style("stroke-miterlimit",1),n.exit().remove(),n.each((function(e,n){var a=r.select(this),i=t[n?"increasing":"decreasing"],o=w(void 0,i.line,5,2);a.style("fill","none").call(s.dashLine,i.line.dash,o),o&&l.stroke(a,i.line.color)}))}))}})),i.register("kMM4C",(function(e,t){"use strict";var r=i("1Jf1D"),n=i("2jpI4").castOption;e.exports=function(e,t,a){var i=a.marker.line,o=n(i.color,t.pts)||r.defaultLine,s=n(i.width,t.pts)||0;e.style("stroke-width",s).call(r.fill,t.color).call(r.stroke,o)}})),i.register("2jpI4",(function(e,r){var n,a,o,s,l;t(e.exports,"castOption",(()=>s),(e=>s=e)),t(e.exports,"formatPieValue",(()=>n),(e=>n=e)),t(e.exports,"getFirstFilled",(()=>o),(e=>o=e)),t(e.exports,"getRotationAngle",(()=>l),(e=>l=e)),t(e.exports,"formatPiePercent",(()=>a),(e=>a=e));var c=i("aDPZG");function u(e){return-1!==e.indexOf("e")?e.replace(/[.]?0+e/,"e"):-1!==e.indexOf(".")?e.replace(/[.]?0+$/,""):e}a=function(e,t){var r=u((100*e).toPrecision(3));return c.numSeparate(r,t)+"%"},n=function(e,t){var r=u(e.toPrecision(10));return c.numSeparate(r,t)},o=function(e,t){if(Array.isArray(e))for(var r=0;r=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function N(e,t,r,n,a){return e.append("path").attr("class","zoombox").style({fill:t>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform",l(r,n)).attr("d",a+"Z")}function F(e,t,r){return e.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("transform",l(t,r)).attr("d","M0,0Z")}function H(e,t,r,n,a,i){e.attr("d",n+"M"+r.l+","+r.t+"v"+r.h+"h"+r.w+"v-"+r.h+"h-"+r.w+"Z"),B(e,t,a,i)}function B(e,t,r,n){r||(e.transition().style("fill",n>.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),t.transition().style("opacity",1).duration(200))}function U(e){r.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function G(e){C&&e.data&&e._context.showTips&&(s.notifier(s._(e,"Double-click to zoom back out"),"long"),C=!1)}function Z(e){var t=Math.floor(Math.min(e.b-e.t,e.r-e.l,P)/2);return"M"+(e.l-3.5)+","+(e.t-.5+t)+"h3v"+-t+"h"+t+"v-3h-"+(t+3)+"ZM"+(e.r+3.5)+","+(e.t-.5+t)+"h-3v"+-t+"h"+-t+"v-3h"+(t+3)+"ZM"+(e.r+3.5)+","+(e.b+.5-t)+"h-3v"+t+"h"+-t+"v3h"+(t+3)+"ZM"+(e.l-3.5)+","+(e.b+.5-t)+"h3v"+t+"h"+t+"v3h-"+(t+3)+"Z"}function q(e,t,r,n,a){for(var i,o,l,c,u=!1,d={},f={},h=(a||{}).xaHash,p=(a||{}).yaHash,g=0;g=0)i._fullLayout._deactivateShape(i);else{var s=i._fullLayout.clickmode;if(U(i),2!==n||ve||function(){if(e._transitioningWithDuration)return;var t=e._context.doubleClick,r=[];ne&&(r=r.concat(X));ae&&(r=r.concat(J));re.xaxes&&(r=r.concat(re.xaxes));re.yaxes&&(r=r.concat(re.yaxes));var n,a,i,s={};if("reset+autosize"===t)for(t="autosize",a=0;a-1&&A(a,i,X,J,t.id,Pe),s.indexOf("event")>-1&&f.click(i,a,t.id);else if(1===n&&ve){var l=p?O:C,u="s"===p||"w"===v?0:1,d=l._name+".range["+u+"]",h=function(e,t){var n,a=e.range[t],i=Math.abs(a-e.range[1-t]);return"date"===e.type?a:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(i)/Math.LN10))+3,r.format("."+n+"g")(Math.pow(10,a))):(n=Math.floor(Math.log(Math.abs(a))/Math.LN10)-Math.floor(Math.log(i)/Math.LN10)+4,r.format("."+String(n)+"g")(a))}(l,u),g="left",m="middle";if(l.fixedrange)return;p?(m="n"===p?"top":"bottom","right"===l.side&&(g="right")):"e"===v&&(g="right"),i._context.showAxisRangeEntryBoxes&&r.select(xe).call(c.makeEditable,{gd:i,immediate:!0,background:i._fullLayout.paper_bgcolor,text:String(h),fill:l.tickfont?l.tickfont.color:"#444",horizontalAlign:g,verticalAlign:m}).on("edit",(function(e){var t=l.d2r(e);void 0!==t&&o.call("_guiRelayout",i,d,t)}))}}}function ze(t,r){if(e._transitioningWithDuration)return!1;var n=Math.max(0,Math.min($,fe*t+be)),a=Math.max(0,Math.min(ee,he*r+_e)),i=Math.abs(n-be),o=Math.abs(a-_e);function s(){Ae="",we.r=we.l,we.t=we.b,Le.attr("d","M0,0Z")}if(we.l=Math.min(be,n),we.r=Math.max(be,n),we.t=Math.min(_e,a),we.b=Math.max(_e,a),te.isSubplotConstrained)i>P||o>P?(Ae="xy",i/$>o/ee?(o=i*ee/$,_e>a?we.t=_e-o:we.b=_e+o):(i=o*$/ee,be>n?we.l=be-i:we.r=be+i),Le.attr("d",Z(we))):s();else if(re.isSubplotConstrained)if(i>P||o>P){Ae="xy";var l=Math.min(we.l/$,(ee-we.b)/ee),c=Math.max(we.r/$,(ee-we.t)/ee);we.l=l*$,we.r=c*$,we.b=(1-l)*ee,we.t=(1-c)*ee,Le.attr("d",Z(we))}else s();else!ae||o0){var u;if(re.isSubplotConstrained||!ne&&1===ae.length){for(u=0;uo),(e=>o=e)),t(e.exports,"freeMode",(()=>a),(e=>a=e)),t(e.exports,"drawMode",(()=>l),(e=>l=e)),t(e.exports,"rectMode",(()=>i),(e=>i=e)),t(e.exports,"selectingOrDrawing",(()=>s),(e=>s=e)),t(e.exports,"openMode",(()=>n),(e=>n=e)),o=function(e){return"lasso"===e||"select"===e},l=function(e){return"drawclosedpath"===e||"drawopenpath"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},n=function(e){return"drawline"===e||"drawopenpath"===e},i=function(e){return"select"===e||"drawline"===e||"drawrect"===e||"drawcircle"===e},a=function(e){return"lasso"===e||"drawclosedpath"===e||"drawopenpath"===e},s=function(e){return a(e)||i(e)}})),i.register("2uVIs",(function(e,t){"use strict";e.exports=function(e){var t=e._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each((function(e){e.regl&&e.regl.clear({color:!0,depth:!0})}))}})),i.register("heZHF",(function(e,r){var n,a,o,s,l,c,u,d,f,h,p,g,v,m;t(e.exports,"doTraceStyle",(()=>o),(e=>o=e)),t(e.exports,"doColorBars",(()=>h),(e=>h=e)),t(e.exports,"drawMainTitle",(()=>f),(e=>f=e)),t(e.exports,"layoutStyles",(()=>d),(e=>d=e)),t(e.exports,"doTicksRelayout",(()=>m),(e=>m=e)),t(e.exports,"doModeBar",(()=>n),(e=>n=e)),t(e.exports,"doAutoRangeAndConstraints",(()=>g),(e=>g=e)),t(e.exports,"doCamera",(()=>u),(e=>u=e)),t(e.exports,"finalDraw",(()=>c),(e=>c=e)),t(e.exports,"drawMarginPushers",(()=>v),(e=>v=e)),t(e.exports,"drawData",(()=>a),(e=>a=e)),t(e.exports,"layoutReplot",(()=>s),(e=>s=e)),t(e.exports,"redrawReglTraces",(()=>l),(e=>l=e)),t(e.exports,"doLegend",(()=>p),(e=>p=e));var y=i("fP9PH"),x=i("LWtQ1"),b=i("dx7II"),_=i("aDPZG"),w=i("2uVIs"),k=i("1Jf1D"),T=i("4iYWi"),M=i("cHRUQ"),A=i("iO2Z7"),S=i("jzgPx"),L=i("7GWIR"),D=i("d3YqK"),P=D.enforce,C=D.clean,O=i("l0N0x").doAutoRange,z="start",I="middle",j="end";function R(e,t,r){for(var n=0;n=e[1]||a[1]<=e[0])&&(i[0]t[0]))return!0}return!1}function E(e){var t,r,n,a,i,o,s=e._fullLayout,l=s._size,c=l.p,u=S.list(e,"",!0);if(s._paperdiv.style({width:e._context.responsive&&s.autosize&&!e._context._hasZeroWidth&&!e.layout.width?"100%":s.width+"px",height:e._context.responsive&&s.autosize&&!e._context._hasZeroHeight&&!e.layout.height?"100%":s.height+"px"}).selectAll(".main-svg").call(T.setSize,s.width,s.height),e._context.setBackground(e,s.paper_bgcolor),f(e),A.manage(e),!s._has("cartesian"))return b.previousPromises(e);function d(e,t,r){var n=e._lw/2;return"x"===e._id.charAt(0)?t?"top"===r?t._offset-c-n:t._offset+t._length+c+n:l.t+l.h*(1-(e.position||0))+n%1:t?"right"===r?t._offset+t._length+c+n:t._offset-c-n:l.l+l.w*(e.position||0)+n%1}for(t=0;tplotly-logomark"}}})),i.register("hDkUv",(function(e,t){"use strict";var r=i("LWtQ1"),n=i("aDPZG"),a=i("jzgPx"),o=i("3cpbx").readPaths,s=i("d44F7"),l=i("bXZfD").clearOutlineControllers,c=i("1Jf1D"),u=i("4iYWi"),d=i("6bzyY").arrayEditor,f=i("fh3b6"),h=i("Tbkiv"),p=i("iVD8b"),g=i("idGoB");function v(e){var t=e._fullLayout;for(var r in t._shapeUpperLayer.selectAll("path").remove(),t._shapeLowerLayer.selectAll("path").remove(),t._plots){var n=t._plots[r].shapelayer;n&&n.selectAll("path").remove()}for(var a=0;aI&&i>j&&!r.shiftKey?f.getCursor(o/a,1-s/i):"move";h(t,l),z=l.split("-")[0]}}function ee(r){m(e)||(R&&(x=q(i.xanchor)),E&&(k=V(i.yanchor)),"path"===i.type?O=i.path:(c=R?i.x0:q(i.x0),d=E?i.y0:V(i.y0),v=R?i.x1:q(i.x1),y=E?i.y1:V(i.y1)),cy?(T=d,L="y0",M=y,D="y1"):(T=y,L="y1",M=d,D="y0"),$(r),ie(s,i),se(t,i,e),J.moveFn="move"===z?ne:ae,J.altKey=r.altKey)}function te(){m(e)||(h(t),oe(s),b(t,e,i),r.call("_guiRelayout",e,l.getUpdateObj()))}function re(){m(e)||oe(s)}function ne(r,n){if("path"===i.type){var a=function(e){return e},o=a,l=a;R?H("xanchor",i.xanchor=Y(x+r)):(o=function(e){return Y(q(e)+r)},B&&"date"===B.type&&(o=g.encodeDate(o))),E?H("yanchor",i.yanchor=W(k+n)):(l=function(e){return W(V(e)+n)},G&&"date"===G.type&&(l=g.encodeDate(l))),H("path",i.path=w(O,o,l))}else R?H("xanchor",i.xanchor=Y(x+r)):(H("x0",i.x0=Y(c+r)),H("x1",i.x1=Y(v+r))),E?H("yanchor",i.yanchor=W(k+n)):(H("y0",i.y0=W(d+n)),H("y1",i.y1=W(y+n)));t.attr("d",_(e,i)),ie(s,i)}function ae(r,n){if(F){var a=function(e){return e},o=a,l=a;R?H("xanchor",i.xanchor=Y(x+r)):(o=function(e){return Y(q(e)+r)},B&&"date"===B.type&&(o=g.encodeDate(o))),E?H("yanchor",i.yanchor=W(k+n)):(l=function(e){return W(V(e)+n)},G&&"date"===G.type&&(l=g.encodeDate(l))),H("path",i.path=w(O,o,l))}else if(N){if("resize-over-start-point"===z){var u=c+r,f=E?d-n:d+n;H("x0",i.x0=R?u:Y(u)),H("y0",i.y0=E?f:W(f))}else if("resize-over-end-point"===z){var h=v+r,p=E?y-n:y+n;H("x1",i.x1=R?h:Y(h)),H("y1",i.y1=E?p:W(p))}}else{var m=function(e){return-1!==z.indexOf(e)},b=m("n"),U=m("s"),Z=m("w"),X=m("e"),J=b?T+n:T,Q=U?M+n:M,K=Z?A+r:A,$=X?S+r:S;E&&(b&&(J=T-n),U&&(Q=M-n)),(!E&&Q-J>j||E&&J-Q>j)&&(H(L,i[L]=E?J:W(J)),H(D,i[D]=E?Q:W(Q))),$-K>I&&(H(P,i[P]=R?K:Y(K)),H(C,i[C]=R?$:Y($)))}t.attr("d",_(e,i)),ie(s,i)}function ie(e,t){function r(){var r="path"!==t.type,a=e.selectAll(".visual-cue").data([0]),i=1;a.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":i}).classed("visual-cue",!0);var o=q(R?t.xanchor:n.midRange(r?[t.x0,t.x1]:g.extractPathCoords(t.path,p.paramIsX))),s=V(E?t.yanchor:n.midRange(r?[t.y0,t.y1]:g.extractPathCoords(t.path,p.paramIsY)));if(o=g.roundPositionForSharpStrokeRendering(o,i),s=g.roundPositionForSharpStrokeRendering(s,i),R&&E){var l="M"+(o-1-i)+","+(s-1-i)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";a.attr("d",l)}else if(R){var c="M"+(o-1-i)+","+(s-9-i)+"v18 h2 v-18 Z";a.attr("d",c)}else{var u="M"+(o-9-i)+","+(s-1-i)+"h18 v2 h-18 Z";a.attr("d",u)}}(R||E)&&r()}function oe(e){e.selectAll(".visual-cue").remove()}function se(e,t,r){var n=t.xref,i=t.yref,o=a.getFromId(r,n),s=a.getFromId(r,i),l="";"paper"===n||o.autorange||(l+=n),"paper"===i||s.autorange||(l+=i),u.setClipUrl(e,l?"clip"+r._fullLayout._uid+l:null,r)}f.init(J),X.node().onmousemove=$}(e,I,l,t,i,z):!0===l.editable&&I.style("pointer-events",C||c.opacity(S)*A<=.5?"stroke":"all");I.node().addEventListener("click",(function(){return function(e,t){if(!y(e))return;var r=+t.node().getAttribute("data-index");if(r>=0){if(r===e._fullLayout._activeShapeIndex)return void k(e);e._fullLayout._activeShapeIndex=r,e._fullLayout._deactivateShape=k,v(e)}}(e,I)}))}}function b(e,t,r){var n=(r.xref+r.yref).replace(/paper/g,"").replace(/[xyz][1-9]* *domain/g,"");u.setClipUrl(e,n?"clip"+t._fullLayout._uid+n:null,t)}function _(e,t){var r,i,o,s,l,c,u,d,f=t.type,h=a.getRefType(t.xref),v=a.getRefType(t.yref),m=a.getFromId(e,t.xref),y=a.getFromId(e,t.yref),x=e._fullLayout._size;if(m?"domain"===h?i=function(e){return m._offset+m._length*e}:(r=g.shapePositionToRange(m),i=function(e){return m._offset+m.r2p(r(e,!0))}):i=function(e){return x.l+x.w*e},y?"domain"===v?s=function(e){return y._offset+y._length*(1-e)}:(o=g.shapePositionToRange(y),s=function(e){return y._offset+y.r2p(o(e,!0))}):s=function(e){return x.t+x.h*(1-e)},"path"===f)return m&&"date"===m.type&&(i=g.decodeDate(i)),y&&"date"===y.type&&(s=g.decodeDate(s)),function(e,t,r){var a=e.path,i=e.xsizemode,o=e.ysizemode,s=e.xanchor,l=e.yanchor;return a.replace(p.segmentRE,(function(e){var a=0,c=e.charAt(0),u=p.paramIsX[c],d=p.paramIsY[c],f=p.numParams[c],h=e.substr(1).replace(p.paramRE,(function(e){return u[a]?e="pixel"===i?t(s)+Number(e):t(e):d[a]&&(e="pixel"===o?r(l)-Number(e):r(e)),++a>f&&(e="X"),e}));return a>f&&(h=h.replace(/[\s,]*X.*/,""),n.log("Ignoring extra params in segment "+e)),c+h}))}(t,i,s);if("pixel"===t.xsizemode){var b=i(t.xanchor);l=b+t.x0,c=b+t.x1}else l=i(t.x0),c=i(t.x1);if("pixel"===t.ysizemode){var _=s(t.yanchor);u=_-t.y0,d=_-t.y1}else u=s(t.y0),d=s(t.y1);if("line"===f)return"M"+l+","+u+"L"+c+","+d;if("rect"===f)return"M"+l+","+u+"H"+c+"V"+d+"H"+l+"Z";var w=(l+c)/2,k=(u+d)/2,T=Math.abs(w-l),M=Math.abs(k-u),A="A"+T+","+M,S=w+T+","+k;return"M"+S+A+" 0 1,1 "+(w+","+(k-M))+A+" 0 0,1 "+S+"Z"}function w(e,t,r){return e.replace(p.segmentRE,(function(e){var n=0,a=e.charAt(0),i=p.paramIsX[a],o=p.paramIsY[a],s=p.numParams[a];return a+e.substr(1).replace(p.paramRE,(function(e){return n>=s||(i[n]?e=t(e):o[n]&&(e=r(e)),n++),e}))}))}function k(e){y(e)&&(e._fullLayout._activeShapeIndex>=0&&(l(e),delete e._fullLayout._activeShapeIndex,v(e)))}e.exports={draw:v,drawOne:x,eraseActiveShape:function(e){if(!y(e))return;l(e);var t=e._fullLayout._activeShapeIndex,n=(e.layout||{}).shapes||[];if(tc),(e=>c=e)),t(e.exports,"ellipseOver",(()=>s),(e=>s=e)),t(e.exports,"pointsShapeRectangle",(()=>a),(e=>a=e)),t(e.exports,"handleEllipse",(()=>o),(e=>o=e)),t(e.exports,"readPaths",(()=>l),(e=>l=e)),t(e.exports,"pointsShapeEllipse",(()=>n),(e=>n=e));var u=i("4BznR"),d=i("68zdP"),f=d.CIRCLE_SIDES,h=d.SQRT2,p=i("lcpNx"),g=p.p2r,v=p.r2p,m=[0,3,4,5,6,1,2],y=[0,3,4,1,2];function x(e,t){return Math.abs(e-t)<=1e-6}function b(e,t){var r=t[1]-e[1],n=t[2]-e[2];return Math.sqrt(r*r+n*n)}c=function(e){var t=e.length;if(!t)return"M0,0Z";for(var r="",n=0;n0&&l2&&(t.push([n].concat(i.splice(0,2))),o="l",n="m"==n?"l":"L");;){if(i.length==r[o])return i.unshift(n),t.push(i);if(i.length=0&&d(m),i.attr("d",g(t)),M&&!f)&&(T=function(e,t){for(var r=0;r1&&(2!==e.length||"Z"!==e[1][0])&&(0===k&&(e[0][0]="M"),t[w]=e,y(),x())}}()}}function O(e,r){!function(e,r){if(t.length)for(var n=0;nn),(e=>n=e)),t(e.exports,"encodeDate",(()=>f),(e=>f=e)),t(e.exports,"decodeDate",(()=>d),(e=>d=e)),t(e.exports,"shapePositionToRange",(()=>o),(e=>o=e)),t(e.exports,"getDataToPixel",(()=>s),(e=>s=e)),t(e.exports,"makeOptionsAndPlotinfo",(()=>c),(e=>c=e)),t(e.exports,"roundPositionForSharpStrokeRendering",(()=>a),(e=>a=e)),t(e.exports,"extractPathCoords",(()=>u),(e=>u=e)),t(e.exports,"getPixelToData",(()=>l),(e=>l=e));var h=i("iVD8b"),p=i("aDPZG");n=function(e){return"log"===e.type?e.r2d:function(e){return e}},o=function(e){return"log"===e.type?e.d2r:function(e){return e}},d=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},f=function(e){return function(t){return e(t).replace(" ","_")}},u=function(e,t){var r=[];return e.match(h.segmentRE).forEach((function(e){var n=t[e.charAt(0)].drawn;if(void 0!==n){var a=e.substr(1).match(h.paramRE);!a||a.length1?(C=["toggleHover"],O=["resetViews"]):m?(P=["zoomInGeo","zoomOutGeo"],C=["hoverClosestGeo"],O=["resetGeo"]):v?(C=["hoverClosest3d"],O=["resetCameraDefault3d","resetCameraLastSave3d"]):w?(P=["zoomInMapbox","zoomOutMapbox"],C=["toggleHover"],O=["resetViewMapbox"]):b?C=["hoverClosestGl2d"]:y?C=["hoverClosestPie"]:T?(C=["hoverClosestCartesian","hoverCompareCartesian"],O=["resetViewSankey"]):C=["toggleHover"];g&&(C=["toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"]);(function(e){for(var t=0;ts),(e=>s=e)),t(e.exports,"clean",(()=>n),(e=>n=e)),t(e.exports,"enforce",(()=>a),(e=>a=e)),t(e.exports,"getAxisGroup",(()=>o),(e=>o=e));var l=i("aDPZG"),c=i("l0N0x"),u=i("hWd71").id2name,d=i("9fCTe"),f=i("3GnZu"),h=i("8R2rg"),p=i("5jyN7").ALMOST_EQUAL,g=i("7GWIR").FROM_BL;function v(e,t,r){var n=r.axIds,a=r.layoutOut,i=r.hasImage,o=a._axisConstraintGroups,s=a._axisMatchGroups,c=t._id,f=c.charAt(0),h=((a._splomAxes||{})[f]||{})[c]||{},p=t._id,g="x"===p.charAt(0);function v(r,n){return l.coerce(e,t,d,r,n)}t._matchGroup=null,t._constraintGroup=null,v("constrain",i?"domain":"range"),l.coerce(e,t,{constraintoward:{valType:"enumerated",values:g?["left","center","right"]:["bottom","middle","top"],dflt:g?"center":"middle"}},"constraintoward");var b,_,w=t.type,k=[];for(b=0;bn?a.substr(n):i.substr(r))+o:a+i+e*t:o}function _(e,t){for(var r=t._size,n=r.h/r.w,a={},i=Object.keys(e),o=0;op*m)||k)for(r=0;rz&&EC&&(C=E);l/=(C-P)/(2*O),P=i.l2r(P),C=i.l2r(C),i.range=i._input.range=S-1,b=[];if(function(e){return e&&Array.isArray(e)&&!0!==e[0].hoverOnBox}(y)){E(e,t,i);var _=function(e,t){var r,n,a=e[0],i=-1,o=[];for(n=0;n0?function(e,t){var r,n,a,i=[];for(a=0;a0&&i.push(r);if(1===i.length&&i[0]===t.searchInfo&&(n=t.searchInfo.cd[0].trace).selectedpoints.length===t.pointNumbers.length){for(a=0;a1)return!1;if((n+=t.selectedpoints.length)>1)return!1}return 1===n}(s)&&(f=H(_))){for(o&&o.remove(),m=0;m=0&&a._fullLayout._deactivateShape(a),f(t)){var i=a._fullLayout._zoomlayer.selectAll(".select-outline-"+r.id);if(i&&a._fullLayout._drawing){var o=m(i,e);o&&n.call("_guiRelayout",a,{shapes:o}),a._fullLayout._drawing=!1}}r.selection={},r.selection.selectionDefs=e.selectionDefs=[],r.selection.mergedPolygons=e.mergedPolygons=[]}function F(e,t,r,n){var a,i,o,s=[],l=t.map((function(e){return e._id})),c=r.map((function(e){return e._id}));for(o=0;o0?n[0]:r;return!!t.selectedpoints&&t.selectedpoints.indexOf(a)>-1}function B(e,t,r){var a,i,o,s;for(a=0;a=0)D._fullLayout._deactivateShape(D);else if(!_){var r=I.clickmode;b.done(ge).then((function(){if(b.clear(ge),2===e){for(de.remove(),$=0;$-1&&z(t,D,i.xaxes,i.yaxes,i.subplot,i,de),"event"===r&&D.emit("plotly_selected",void 0);s.click(D,t)})).catch(y.error)}},i.doneFn=function(){pe.remove(),b.done(ge).then((function(){b.clear(ge),i.gd.emit("plotly_selected",te),K&&i.selectionDefs&&(K.subtract=ue,i.selectionDefs.push(K),i.mergedPolygons.length=0,[].push.apply(i.mergedPolygons,Q)),i.doneFnCompleted&&i.doneFnCompleted(ve)})).catch(y.error),_&&N(i)}},clearSelect:L,clearSelectionsCache:N,selectOnClick:z}})),i.register("LNV0a",(function(e,t){var r,n=i("5w2Jg"),a=i("9zIQO"),o=i("bGccl"),s=i("aR5lY"),l=i("dLVF0"),c=i("5oczC"),u=!1,d=a();function f(e,t,n){var a=r.segments(e),i=r.segments(t),o=n(r.combine(a,i));return r.polygon(o)}r={buildLog:function(e){return!0===e?u=n():!1===e&&(u=!1),!1!==u&&u.list},epsilon:function(e){return d.epsilon(e)},segments:function(e){var t=o(!0,d,u);return e.regions.forEach(t.addRegion),{segments:t.calculate(e.inverted),inverted:e.inverted}},combine:function(e,t){return{combined:o(!1,d,u).calculate(e.segments,e.inverted,t.segments,t.inverted),inverted1:e.inverted,inverted2:t.inverted}},selectUnion:function(e){return{segments:l.union(e.combined,u),inverted:e.inverted1||e.inverted2}},selectIntersect:function(e){return{segments:l.intersect(e.combined,u),inverted:e.inverted1&&e.inverted2}},selectDifference:function(e){return{segments:l.difference(e.combined,u),inverted:e.inverted1&&!e.inverted2}},selectDifferenceRev:function(e){return{segments:l.differenceRev(e.combined,u),inverted:!e.inverted1&&e.inverted2}},selectXor:function(e){return{segments:l.xor(e.combined,u),inverted:e.inverted1!==e.inverted2}},polygon:function(e){return{regions:s(e.segments,d,u),inverted:e.inverted}},polygonFromGeoJSON:function(e){return c.toPolygon(r,e)},polygonToGeoJSON:function(e){return c.fromPolygon(r,d,e)},union:function(e,t){return f(e,t,r.selectUnion)},intersect:function(e,t){return f(e,t,r.selectIntersect)},difference:function(e,t){return f(e,t,r.selectDifference)},differenceRev:function(e,t){return f(e,t,r.selectDifferenceRev)},xor:function(e,t){return f(e,t,r.selectXor)}},"object"==typeof window&&(window.PolyBool=r),e.exports=r})),i.register("5w2Jg",(function(e,t){e.exports=function(){var e,t=0,r=!1;function n(t,r){return e.list.push({type:t,data:r?JSON.parse(JSON.stringify(r)):void 0}),e}return e={list:[],segmentId:function(){return t++},checkIntersection:function(e,t){return n("check",{seg1:e,seg2:t})},segmentChop:function(e,t){return n("div_seg",{seg:e,pt:t}),n("chop",{seg:e,pt:t})},statusRemove:function(e){return n("pop_seg",{seg:e})},segmentUpdate:function(e){return n("seg_update",{seg:e})},segmentNew:function(e,t){return n("new_seg",{seg:e,primary:t})},segmentRemove:function(e){return n("rem_seg",{seg:e})},tempStatus:function(e,t,r){return n("temp_status",{seg:e,above:t,below:r})},rewind:function(e){return n("rewind",{seg:e})},status:function(e,t,r){return n("status",{seg:e,above:t,below:r})},vert:function(t){return t===r?e:(r=t,n("vert",{x:t}))},log:function(e){return"string"!=typeof e&&(e=JSON.stringify(e,!1," ")),n("log",{txt:e})},reset:function(){return n("reset")},selected:function(e){return n("selected",{segs:e})},chainStart:function(e){return n("chain_start",{seg:e})},chainRemoveHead:function(e,t){return n("chain_rem_head",{index:e,pt:t})},chainRemoveTail:function(e,t){return n("chain_rem_tail",{index:e,pt:t})},chainNew:function(e,t){return n("chain_new",{pt1:e,pt2:t})},chainMatch:function(e){return n("chain_match",{index:e})},chainClose:function(e){return n("chain_close",{index:e})},chainAddHead:function(e,t){return n("chain_add_head",{index:e,pt:t})},chainAddTail:function(e,t){return n("chain_add_tail",{index:e,pt:t})},chainConnect:function(e,t){return n("chain_con",{index1:e,index2:t})},chainReverse:function(e){return n("chain_rev",{index:e})},chainJoin:function(e,t){return n("chain_join",{index1:e,index2:t})},done:function(){return n("done")}}}})),i.register("9zIQO",(function(e,t){e.exports=function(e){"number"!=typeof e&&(e=1e-10);var t={epsilon:function(t){return"number"==typeof t&&(e=t),e},pointAboveOrOnLine:function(t,r,n){var a=r[0],i=r[1],o=n[0],s=n[1],l=t[0];return(o-a)*(t[1]-i)-(s-i)*(l-a)>=-e},pointBetween:function(t,r,n){var a=t[1]-r[1],i=n[0]-r[0],o=t[0]-r[0],s=n[1]-r[1],l=o*i+a*s;return!(l-e)},pointsSameX:function(t,r){return Math.abs(t[0]-r[0])e!=o-a>e&&(i-c)*(a-u)/(o-u)+c-n>e&&(s=!s),i=c,o=u}return s}};return t}})),i.register("bGccl",(function(e,t){var r=i("cd5iD");e.exports=function(e,t,n){function a(e,t,r){return{id:n?n.segmentId():-1,start:e,end:t,myFill:{above:r.myFill.above,below:r.myFill.below},otherFill:null}}var i=r.create();function o(e,r){i.insertBefore(e,(function(n){return function(e,r,n,a,i,o){var s=t.pointsCompare(r,i);return 0!==s?s:t.pointsSame(n,o)?0:e!==a?e?1:-1:t.pointAboveOrOnLine(n,a?i:o,a?o:i)?1:-1}(e.isStart,e.pt,r,n.isStart,n.pt,n.other.pt)<0}))}function s(e,t){var n=function(e,t){var n=r.node({isStart:!0,pt:e.start,seg:e,primary:t,other:null,status:null});return o(n,e.end),n}(e,t);return function(e,t,n){var a=r.node({isStart:!1,pt:t.end,seg:t,primary:n,other:e,status:null});e.other=a,o(a,e.pt)}(n,e,t),n}function l(e,t){var r=a(t,e.seg.end,e.seg);return function(e,t){n&&n.segmentChop(e.seg,t),e.other.remove(),e.seg.end=t,e.other.pt=t,o(e.other,e.pt)}(e,t),s(r,e.primary)}function c(a,o){var s=r.create();function c(e){return s.findTransition((function(r){var n,a,i,o,s,l;return(n=e,a=r.ev,i=n.seg.start,o=n.seg.end,s=a.seg.start,l=a.seg.end,t.pointsCollinear(i,s,l)?t.pointsCollinear(o,s,l)||t.pointAboveOrOnLine(o,s,l)?1:-1:t.pointAboveOrOnLine(i,s,l)?1:-1)>0}))}function u(e,r){var a=e.seg,i=r.seg,o=a.start,s=a.end,c=i.start,u=i.end;n&&n.checkIntersection(a,i);var d=t.linesIntersect(o,s,c,u);if(!1===d){if(!t.pointsCollinear(o,s,c))return!1;if(t.pointsSame(o,u)||t.pointsSame(s,c))return!1;var f=t.pointsSame(o,c),h=t.pointsSame(s,u);if(f&&h)return r;var p=!f&&t.pointBetween(o,c,u),g=!h&&t.pointBetween(s,c,u);if(f)return g?l(r,s):l(e,u),r;p&&(h||(g?l(r,s):l(e,u)),l(r,o))}else 0===d.alongA&&(-1===d.alongB?l(e,c):0===d.alongB?l(e,d.pt):1===d.alongB&&l(e,u)),0===d.alongB&&(-1===d.alongA?l(r,o):0===d.alongA?l(r,d.pt):1===d.alongA&&l(r,s));return!1}for(var d=[];!i.isEmpty();){var f=i.getHead();if(n&&n.vert(f.pt[0]),f.isStart){n&&n.segmentNew(f.seg,f.primary);var h=c(f),p=h.before?h.before.ev:null,g=h.after?h.after.ev:null;function v(){if(p){var e=u(f,p);if(e)return e}return!!g&&u(f,g)}n&&n.tempStatus(f.seg,!!p&&p.seg,!!g&&g.seg);var m=v();if(m){var y;if(e)(y=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below)&&(m.seg.myFill.above=!m.seg.myFill.above);else m.seg.otherFill=f.seg.myFill;n&&n.segmentUpdate(m.seg),f.other.remove(),f.remove()}if(i.getHead()!==f){n&&n.rewind(f.seg);continue}if(e)y=null===f.seg.myFill.below||f.seg.myFill.above!==f.seg.myFill.below,f.seg.myFill.below=g?g.seg.myFill.above:a,f.seg.myFill.above=y?!f.seg.myFill.below:f.seg.myFill.below;else if(null===f.seg.otherFill){var x;x=g?f.primary===g.primary?g.seg.otherFill.above:g.seg.myFill.above:f.primary?o:a,f.seg.otherFill={above:x,below:x}}n&&n.status(f.seg,!!p&&p.seg,!!g&&g.seg),f.other.status=h.insert(r.node({ev:f}))}else{var b=f.status;if(null===b)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(s.exists(b.prev)&&s.exists(b.next)&&u(b.prev.ev,b.next.ev),n&&n.statusRemove(b.ev.seg),b.remove(),!f.primary){var _=f.seg.myFill;f.seg.myFill=f.seg.otherFill,f.seg.otherFill=_}d.push(f.seg)}i.getHead().remove()}return n&&n.done(),d}return e?{addRegion:function(e){for(var r,a,i,o=e[e.length-1],l=0;li||c===n||cs)&&(!t||!l(e))}:function(e,t){var l=e[0],c=e[1];if(l===n||li||c===n||cs)return!1;var u,d,f,h,p,g=r.length,v=r[0][0],m=r[0][1],y=0;for(u=1;uMath.max(d,v)||c>Math.max(f,m)))if(cu||Math.abs(r(o,f))>a)return!0;return!1},a.filter=function(e,t){var r=[e[0]],n=0,i=0;function o(o){e.push(o);var s=r.length,l=n;r.splice(i+1);for(var c=l+1;c1&&o(e.pop());return{addPt:o,raw:e,filtered:r}}})),i.register("12U4e",(function(e,r){var n,a,o,s;t(e.exports,"containerArrayMatch",(()=>a),(e=>a=e)),t(e.exports,"isAddVal",(()=>n),(e=>n=e)),t(e.exports,"applyContainerArrayChanges",(()=>s),(e=>s=e)),t(e.exports,"isRemoveVal",(()=>o),(e=>o=e));var l=i("7jaZz"),c=i("kkuyP"),u=i("g3URC"),d=i("dhZm9").sorterAsc,f=i("LWtQ1");a=i("j2ioF");var h=n=function(e){return"add"===e||l(e)},p=o=function(e){return null===e||"remove"===e};s=function(e,t,r,n,a){var i=t.astr,o=f.getComponentMethod(i,"supplyLayoutDefaults"),s=f.getComponentMethod(i,"draw"),l=f.getComponentMethod(i,"drawOne"),g=n.replot||n.recalc||o===c||s===c,v=e.layout,m=e._fullLayout;if(r[""]){Object.keys(r).length>1&&u.warn("Full array edits are incompatible with other edits",i);var y=r[""][""];if(p(y))t.set(null);else{if(!Array.isArray(y))return u.warn("Unrecognized full array edit value",i,y),!0;t.set(y)}return!g&&(o(v,m),s(e),!0)}var x,b,_,w,k,T,M,A,S=Object.keys(r).map(Number).sort(d),L=t.get(),D=L||[],P=a(m,i).get(),C=[],O=-1,z=D.length;for(x=0;xD.length-(M?0:1))u.warn("index out of range",i,_);else if(void 0!==T)k.length>1&&u.warn("Insertion & removal are incompatible with edits to the same index.",i,_),p(T)?C.push(_):M?("add"===T&&(T={}),D.splice(_,0,T),P&&P.splice(_,0,{})):u.warn("Unrecognized full object edit value",i,_,T),-1===O&&(O=_);else for(b=0;b=0;x--)D.splice(C[x],1),P&&P.splice(C[x],1);if(D.length?L||t.set(D):t.set(null),g)return!1;if(o(v,m),l!==c){var I;if(-1===O)I=S;else{for(z=Math.max(D.length,z),I=[],x=0;x=O);x++)I.push(_);for(x=O;xl),(e=>l=e)),t(e.exports,"swapXYData",(()=>d),(e=>d=e)),t(e.exports,"cleanData",(()=>a),(e=>a=e)),t(e.exports,"manageArrayContainers",(()=>c),(e=>c=e)),t(e.exports,"cleanLayout",(()=>n),(e=>n=e)),t(e.exports,"hasParent",(()=>u),(e=>u=e)),t(e.exports,"coerceTraceIndices",(()=>s),(e=>s=e)),t(e.exports,"clearPromiseQueue",(()=>o),(e=>o=e));var f=i("bnpJH"),h=i("fSuP8"),p=i("LWtQ1"),g=i("aDPZG"),v=i("dx7II"),m=i("hWd71"),y=i("1Jf1D"),x=m.cleanId,b=m.getFromTrace,_=p.traceIs;function w(e,t){var r=e[t],n=t.charAt(0);r&&"paper"!==r&&(e[t]=x(r,n,!0))}function k(e){function t(t,r){var n=e[t],a=e.title&&e.title[r];n&&!a&&(e.title||(e.title={}),e.title[r]=e[t],delete e[t])}e&&("string"!=typeof e.title&&"number"!=typeof e.title||(e.title={text:e.title}),t("titlefont","font"),t("titleposition","position"),t("titleside","side"),t("titleoffset","offset"))}function T(e){if(!g.isPlainObject(e))return!1;var t=e.name;return delete e.name,delete e.showlegend,("string"==typeof t||"number"==typeof t)&&String(t)}function M(e,t,r,n){if(r&&!n)return e;if(n&&!r)return t;if(!e.trim())return t;if(!t.trim())return e;var a,i=Math.min(e.length,t.length);for(a=0;a0&&g.log("Clearing previous rejected promises from queue."),e._promises=[]},n=function(e){var t,r;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var a=(v.subplotsRegistry.cartesian||{}).attrRegex,i=(v.subplotsRegistry.polar||{}).attrRegex,o=(v.subplotsRegistry.ternary||{}).attrRegex,s=(v.subplotsRegistry.gl3d||{}).attrRegex,l=Object.keys(e);for(t=0;t3?(z.x=1.02,z.xanchor="left"):z.x<-2&&(z.x=-.02,z.xanchor="right"),z.y>3?(z.y=1.02,z.yanchor="bottom"):z.y<-2&&(z.y=-.02,z.yanchor="top")),k(e),"rotate"===e.dragmode&&(e.dragmode="orbit"),y.clean(e),e.template&&e.template.layout&&n(e.template.layout),e},a=function(e){for(var t=0;t0)return e.substr(0,t)}u=function(e,t){for(var r=D(t);r;){if(r in e)return!0;r=D(r)}return!1};var P=["x","y","z"];l=function(e,t,r){for(var n=0;nh),(e=>h=e)),t(e.exports,"encodeJSON",(()=>u),(e=>u=e)),t(e.exports,"revokeObjectURL",(()=>o),(e=>o=e)),t(e.exports,"octetStream",(()=>c),(e=>c=e)),t(e.exports,"MSG_IE_BAD_FORMAT",(()=>f),(e=>f=e)),t(e.exports,"encodeSVG",(()=>l),(e=>l=e)),t(e.exports,"getRedrawFunc",(()=>s),(e=>s=e)),t(e.exports,"getDelay",(()=>d),(e=>d=e)),t(e.exports,"createObjectURL",(()=>a),(e=>a=e)),t(e.exports,"IMAGE_URL_PREFIX",(()=>n),(e=>n=e));var p=i("LWtQ1");d=function(e){return e._has&&(e._has("gl3d")||e._has("gl2d")||e._has("mapbox"))?500:0},s=function(e){return function(){p.getComponentMethod("colorbar","draw")(e)}},l=function(e){return"data:image/svg+xml,"+encodeURIComponent(e)},u=function(e){return"data:application/json,"+encodeURIComponent(e)};var g=window.URL||window.webkitURL;a=function(e){return g.createObjectURL(e)},o=function(e){return g.revokeObjectURL(e)},h=function(e,t){if("svg"===t)return new window.Blob([e],{type:"image/svg+xml;charset=utf-8"});if("full-json"===t)return new window.Blob([e],{type:"application/json;charset=utf-8"});var r=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r),a=0;a")?"":t.html(e).text()}));return t.remove(),n}(T),T=(T=T.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")).replace(u,"'"),n.isIE()&&(T=(T=(T=T.replace(/"/gi,"'")).replace(/(\('#)([^']*)('\))/gi,'("#$2")')).replace(/(\\')/gi,'"')),T}})),i.register("2Kuoq",(function(e,t){"use strict";var r=i("aDPZG"),n=i("3aja7").EventEmitter,a=i("dS0QA");e.exports=function(e){var t=e.emitter||new n,i=new Promise((function(n,o){var s=window.Image,l=e.svg,c=e.format||"png";if(r.isIE()&&"svg"!==c){var u=new Error(a.MSG_IE_BAD_FORMAT);return o(u),e.promise?i:t.emit("error",u)}var d,f,h=e.canvas,p=e.scale||1,g=e.width||300,v=e.height||150,m=p*g,y=p*v,x=h.getContext("2d"),b=new s;"svg"===c||r.isSafari()?f=a.encodeSVG(l):(d=a.createBlob(l,"svg"),f=a.createObjectURL(d)),h.width=m,h.height=y,b.onload=function(){var r;switch(d=null,a.revokeObjectURL(f),"svg"!==c&&x.drawImage(b,0,0,m,y),c){case"jpeg":r=h.toDataURL("image/jpeg");break;case"png":r=h.toDataURL("image/png");break;case"webp":r=h.toDataURL("image/webp");break;case"svg":r=f;break;default:var i="Image format is not jpeg, png, svg or webp.";if(o(new Error(i)),!e.promise)return t.emit("error",i)}n(r),e.promise||t.emit("success",r)},b.onerror=function(r){if(d=null,a.revokeObjectURL(f),o(r),!e.promise)return t.emit("error",r)},b.src=f}));return e.promise?i:t}})),i.register("ieDMq",(function(e,t){"use strict";var r=i("aDPZG"),n=i("dx7II"),a=i("lQ1bD"),o=i("8bG0z").dfltConfig,s=r.isPlainObject,l=Array.isArray,c=r.isArrayOrTypedArray;function u(e,t,n,a,i,o){o=o||[];for(var d=Object.keys(e),f=0;fx.length&&a.push(p("unused",i,m.concat(x.length)));var M,A,S,L,D,P=x.length,C=Array.isArray(T);if(C&&(P=Math.min(P,T.length)),2===b.dimensions)for(A=0;Ax[A].length&&a.push(p("unused",i,m.concat(A,x[A].length)));var O=x[A].length;for(M=0;M<(C?Math.min(O,T[A].length):O);M++)S=C?T[A][M]:T,L=y[A][M],D=x[A][M],r.validate(L,S)?D!==L&&D!==+L&&a.push(p("dynamic",i,m.concat(A,M),L,D)):a.push(p("value",i,m.concat(A,M),L))}else a.push(p("array",i,m.concat(A),y[A]));else for(A=0;A1&&h.push(p("object","layout"))),n.supplyDefaults(g);for(var v=g._fullData,m=i.length,y=0;ya),(e=>a=e)),t(e.exports,"makeTemplate",(()=>n),(e=>n=e));var o=i("aDPZG"),s=o.isPlainObject,l=i("lQ1bD"),c=i("dx7II"),u=i("803hz"),d=i("6bzyY"),f=i("8bG0z").dfltConfig;function h(e,t){e=o.extendDeep({},e);var r,n,a=Object.keys(e).sort();function i(t,r,a){if(s(r)&&s(t))h(t,r);else if(Array.isArray(r)&&Array.isArray(t)){var i=d.arrayTemplater({_template:e},a);for(n=0;nk?l.push({code:"unused",traceType:g,templateCount:w,dataCount:k}):k>w&&l.push({code:"reused",traceType:g,templateCount:w,dataCount:k})}}else l.push({code:"data"});if(function e(t,r){for(var n in t)if("_"!==n.charAt(0)){var a=t[n],i=y(t,n,r);s(a)?(Array.isArray(t)&&!1===a._template&&a.templateitemname&&l.push({code:"missing",path:i,templateitemname:a.templateitemname}),e(a,i)):Array.isArray(a)&&x(a)&&e(a,i)}}({data:d,layout:u},""),l.length)return l.map(b)}})),i.register("jw8d8",(function(e,t){"use strict";var r=i("elGza");e.exports={hasLines:r.hasLines,hasMarkers:r.hasMarkers,hasText:r.hasText,isBubble:r.isBubble,attributes:i("6L7gu"),supplyDefaults:i("l3TIR"),crossTraceDefaults:i("eK3K2"),calc:i("eSpMk").calc,crossTraceCalc:i("2HaHf"),arraysToCalcdata:i("lbbqo"),plot:i("afTeQ"),colorbar:i("dYBrQ"),formatLabels:i("hbj2x"),style:i("b2qMM").style,styleOnSelect:i("b2qMM").styleOnSelect,hoverPoints:i("ihVkG"),selectPoints:i("kU3CM"),animatable:!0,moduleType:"trace",name:"scatter",basePlotModule:i("1AFBU"),categories:["cartesian","svg","symbols","errorBarsOK","showLegend","scatter-like","zoomScale"],meta:{description:["The scatter trace type encompasses line charts, scatter charts, text charts, and bubble charts.","The data visualized as scatter point or lines is set in `x` and `y`.","Text (appearing either on the chart or on hover only) is via `text`.","Bubble charts are achieved by setting `marker.size` and/or `marker.color`","to numerical arrays."].join(" ")}}})),i.register("6L7gu",(function(e,t){"use strict";var r=i("c8nSz"),n=i("5khNL").texttemplateAttrs,a=i("5khNL").hovertemplateAttrs,o=i("j6CYR"),s=i("lCAJ8"),l=i("hrhP8").dash,c=i("4iYWi"),u=i("fhEBY"),d=i("hYsp9").extendFlat;function f(e){return{valType:"any",dflt:0,editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the period positioning in milliseconds or *M* on the "+e+" axis.","Special values in the form of *M* could be used to declare","the number of months. In this case `n` must be a positive integer."].join(" ")}}function h(e){return{valType:"any",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the base for period positioning in milliseconds or date string on the "+e+" axis.","When `"+e+"period` is round number of weeks,","the `"+e+"period0` by default would be on a Sunday i.e. 2000-01-02,","otherwise it would be at 2000-01-01."].join(" ")}}function p(e){return{valType:"enumerated",values:["start","middle","end"],dflt:"middle",editType:"calc",description:["Only relevant when the axis `type` is *date*.","Sets the alignment of data points on the "+e+" axis."].join(" ")}}e.exports={x:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the x coordinates."},x0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `x`.","Builds a linear space of x coordinates.","Use with `dx`","where `x0` is the starting coordinate and `dx` the step."].join(" ")},dx:{valType:"number",dflt:1,editType:"calc",anim:!0,description:["Sets the x coordinate step.","See `x0` for more info."].join(" ")},y:{valType:"data_array",editType:"calc+clearAxisTypes",anim:!0,description:"Sets the y coordinates."},y0:{valType:"any",dflt:0,editType:"calc+clearAxisTypes",anim:!0,description:["Alternate to `y`.","Builds a linear space of y coordinates.","Use with `dy`","where `y0` is the starting coordinate and `dy` the step."].join(" ")},dy:{valType:"number",dflt:1,editType:"calc",anim:!0,description:["Sets the y coordinate step.","See `y0` for more info."].join(" ")},xperiod:f("x"),yperiod:f("y"),xperiod0:h("x0"),yperiod0:h("y0"),xperiodalignment:p("x"),yperiodalignment:p("y"),xhoverformat:r("x"),yhoverformat:r("y"),stackgroup:{valType:"string",dflt:"",editType:"calc",description:["Set several scatter traces (on the same subplot) to the same","stackgroup in order to add their y values (or their x values if","`orientation` is *h*). If blank or omitted this trace will not be","stacked. Stacking also turns `fill` on by default, using *tonexty*","(*tonextx*) if `orientation` is *h* (*v*) and sets the default","`mode` to *lines* irrespective of point count.","You can only stack on a numeric (linear or log) axis.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},orientation:{valType:"enumerated",values:["v","h"],editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`orientation` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`. Sets the","stacking direction. With *v* (*h*), the y (x) values of subsequent","traces are added. Also affects the default value of `fill`."].join(" ")},groupnorm:{valType:"enumerated",values:["","fraction","percent"],dflt:"",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`groupnorm` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Sets the normalization for the sum of this `stackgroup`.","With *fraction*, the value of each trace at each location is","divided by the sum of all trace values at that location.","*percent* is the same but multiplied by 100 to show percentages.","If there are multiple subplots, or multiple `stackgroup`s on one","subplot, each will be normalized within its own set."].join(" ")},stackgaps:{valType:"enumerated",values:["infer zero","interpolate"],dflt:"infer zero",editType:"calc",description:["Only relevant when `stackgroup` is used, and only the first","`stackgaps` found in the `stackgroup` will be used - including","if `visible` is *legendonly* but not if it is `false`.","Determines how we handle locations at which other traces in this","group have data but this one does not.","With *infer zero* we insert a zero at these locations.","With *interpolate* we linearly interpolate between existing","values, and extrapolate a constant beyond the existing values."].join(" ")},text:{valType:"string",dflt:"",arrayOk:!0,editType:"calc",description:["Sets text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},texttemplate:n({},{}),hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each (x,y) pair.","If a single string, the same string appears over","all the data points.","If an array of string, the items are mapped in order to the","this trace's (x,y) coordinates.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"],editType:"calc",description:["Determines the drawing mode for this scatter trace.","If the provided `mode` includes *text* then the `text` elements","appear at the coordinates. Otherwise, the `text` elements","appear on hover.","If there are less than "+u.PTS_LINESONLY+" points","and the trace is not stacked","then the default is *lines+markers*. Otherwise, *lines*."].join(" ")},hoveron:{valType:"flaglist",flags:["points","fills"],editType:"style",description:["Do the hover effects highlight individual points (markers or","line points) or do they highlight filled regions?","If the fill is *toself* or *tonext* and there are no markers","or text, then the default is *fills*, otherwise it is *points*."].join(" ")},hovertemplate:a({},{keys:u.eventDataKeys}),line:{color:{valType:"color",editType:"style",anim:!0,description:"Sets the line color."},width:{valType:"number",min:0,dflt:2,editType:"style",anim:!0,description:"Sets the line width (in px)."},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear",editType:"plot",description:["Determines the line shape.","With *spline* the lines are drawn using spline interpolation.","The other available values correspond to step-wise line shapes."].join(" ")},smoothing:{valType:"number",min:0,max:1.3,dflt:1,editType:"plot",description:["Has an effect only if `shape` is set to *spline*","Sets the amount of smoothing.","*0* corresponds to no smoothing (equivalent to a *linear* shape)."].join(" ")},dash:d({},l,{editType:"style"}),simplify:{valType:"boolean",dflt:!0,editType:"plot",description:["Simplifies lines by removing nearly-collinear points. When transitioning","lines, it may be desirable to disable this so that the number of points","along the resulting SVG path is unaffected."].join(" ")},editType:"plot"},connectgaps:{valType:"boolean",dflt:!1,editType:"calc",description:["Determines whether or not gaps","(i.e. {nan} or missing values)","in the provided data arrays are connected."].join(" ")},cliponaxis:{valType:"boolean",dflt:!0,editType:"plot",description:["Determines whether or not markers and text nodes","are clipped about the subplot axes.","To show markers and text nodes above axis lines and tick labels,","make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*."].join(" ")},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],editType:"calc",description:["Sets the area to fill with a solid color.","Defaults to *none* unless this trace is stacked, then it gets","*tonexty* (*tonextx*) if `orientation` is *v* (*h*)","Use with `fillcolor` if not *none*.","*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.","*tonextx* and *tonexty* fill between the endpoints of this","trace and the endpoints of the trace before it, connecting those","endpoints with straight lines (to make a stacked area graph);","if there is no trace before it, they behave like *tozerox* and","*tozeroy*.","*toself* connects the endpoints of the trace (or each segment","of the trace if it has gaps) into a closed shape.","*tonext* fills the space between two traces if one completely","encloses the other (eg consecutive contour lines), and behaves like","*toself* if there is no trace before it. *tonext* should not be","used if one trace does not enclose the other.","Traces in a `stackgroup` will only fill to (or be filled to) other","traces in the same group. With multiple `stackgroup`s or some","traces stacked and some not, if fill-linked traces are not already","consecutive, the later ones will be pushed down in the drawing order."].join(" ")},fillcolor:{valType:"color",editType:"style",anim:!0,description:["Sets the fill color.","Defaults to a half-transparent variant of the line color,","marker color, or marker line color, whichever is available."].join(" ")},marker:d({symbol:{valType:"enumerated",values:c.symbolList,dflt:"circle",arrayOk:!0,editType:"style",description:["Sets the marker symbol type.","Adding 100 is equivalent to appending *-open* to a symbol name.","Adding 200 is equivalent to appending *-dot* to a symbol name.","Adding 300 is equivalent to appending *-open-dot*","or *dot-open* to a symbol name."].join(" ")},opacity:{valType:"number",min:0,max:1,arrayOk:!0,editType:"style",anim:!0,description:"Sets the marker opacity."},size:{valType:"number",min:0,dflt:6,arrayOk:!0,editType:"calc",anim:!0,description:"Sets the marker size (in px)."},maxdisplayed:{valType:"number",min:0,dflt:0,editType:"plot",description:["Sets a maximum number of points to be drawn on the graph.","*0* corresponds to no limit."].join(" ")},sizeref:{valType:"number",dflt:1,editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the scale factor used to determine the rendered size of","marker points. Use with `sizemin` and `sizemode`."].join(" ")},sizemin:{valType:"number",min:0,dflt:0,editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the minimum size (in px) of the rendered marker points."].join(" ")},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter",editType:"calc",description:["Has an effect only if `marker.size` is set to a numerical array.","Sets the rule for which the data in `size` is converted","to pixels."].join(" ")},line:d({width:{valType:"number",min:0,arrayOk:!0,editType:"style",anim:!0,description:"Sets the width (in px) of the lines bounding the marker points."},editType:"calc"},o("marker.line",{anim:!0})),gradient:{type:{valType:"enumerated",values:["radial","horizontal","vertical","none"],arrayOk:!0,dflt:"none",editType:"calc",description:["Sets the type of gradient used to fill the markers"].join(" ")},color:{valType:"color",arrayOk:!0,editType:"calc",description:["Sets the final color of the gradient fill:","the center color for radial, the right for horizontal,","or the bottom for vertical."].join(" ")},editType:"calc"},editType:"calc"},o("marker",{anim:!0})),selected:{marker:{opacity:{valType:"number",min:0,max:1,editType:"style",description:"Sets the marker opacity of selected points."},color:{valType:"color",editType:"style",description:"Sets the marker color of selected points."},size:{valType:"number",min:0,editType:"style",description:"Sets the marker size of selected points."},editType:"style"},textfont:{color:{valType:"color",editType:"style",description:"Sets the text font color of selected points."},editType:"style"},editType:"style"},unselected:{marker:{opacity:{valType:"number",min:0,max:1,editType:"style",description:"Sets the marker opacity of unselected points, applied only when a selection exists."},color:{valType:"color",editType:"style",description:"Sets the marker color of unselected points, applied only when a selection exists."},size:{valType:"number",min:0,editType:"style",description:"Sets the marker size of unselected points, applied only when a selection exists."},editType:"style"},textfont:{color:{valType:"color",editType:"style",description:"Sets the text font color of unselected points, applied only when a selection exists."},editType:"style"},editType:"style"},textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0,editType:"calc",description:["Sets the positions of the `text` elements","with respects to the (x,y) coordinates."].join(" ")},textfont:s({editType:"calc",colorEditType:"style",arrayOk:!0,description:"Sets the text font."})}})),i.register("c8nSz",(function(e,t){"use strict";var r=i("cg6uM"),n=r.FORMAT_LINK,a=r.DATE_FORMAT_LINK;e.exports=function(e,t){return{valType:"string",dflt:"",editType:"none",description:["Sets the hover text formatting rule for `"+e+"`"," using d3 formatting mini-languages which are very similar to those in Python.","See: "+n+(t?"":" And for dates see: "+a),"By default the values are formatted using "+(t?"generic number format":"`"+e+"axis.hoverformat`")+"."].join(" ")}}})),i.register("5khNL",(function(e,r){var n,a;t(e.exports,"hovertemplateAttrs",(()=>n),(e=>n=e)),t(e.exports,"texttemplateAttrs",(()=>a),(e=>a=e));var o=i("cg6uM"),s=o.FORMAT_LINK,l=o.DATE_FORMAT_LINK;function c(e){return["Variables are inserted using %{variable},",'for example "y: %{y}"'+(e&&e.supportOther?" as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When showing info for several points, *xother* will be added to those with different x positions from the first point. An underscore before or after *(x|y)other* will add a space on that side, only when this field is shown.":"."),'Numbers are formatted using d3-format\'s syntax %{variable:d3-format}, for example "Price: %{y:$.2f}".',s,"for details on the formatting syntax.",'Dates are formatted using d3-time-format\'s syntax %{variable|d3-time-format}, for example "Day: %{2019-01-01|%A}".',l,"for details on the date formatting syntax."].join(" ")}function u(e){var t=e.description?" "+e.description:"",r=e.keys||[];if(r.length>0){for(var n=[],a=0;a` is displayed in the secondary box, for example "{fullData.name}".',"To hide the secondary box completely, use an empty tag ``."].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n},a=function(e,t){e=e||{};var r=u(t=t||{}),n={valType:"string",dflt:"",editType:e.editType||"calc",description:["Template string used for rendering the information text that appear on points.","Note that this will override `textinfo`.",c(),"Every attributes that can be specified per-point (the ones that are `arrayOk: true`) are available.",r].join(" ")};return!1!==e.arrayOk&&(n.arrayOk=!0),n}})),i.register("fhEBY",(function(e,t){"use strict";e.exports={PTS_LINESONLY:20,minTolerance:.2,toleranceGrowth:10,maxScreensAway:20,eventDataKeys:[]}})),i.register("l3TIR",(function(e,t){"use strict";var r=i("aDPZG"),n=i("LWtQ1"),a=i("6L7gu"),o=i("fhEBY"),s=i("elGza"),l=i("1Wbfa"),c=i("ea8M5"),u=i("e7MaS"),d=i("btsDy"),f=i("hYdXj"),h=i("ekO5Q"),p=i("kSP8v"),g=i("3aMkE");e.exports=function(e,t,i,v){function m(n,i){return r.coerce(e,t,a,n,i)}var y=l(e,t,v,m);if(y||(t.visible=!1),t.visible){c(e,t,v,m),m("xhoverformat"),m("yhoverformat");var x=u(e,t,v,m),b=!x&&y=0;a--){var i=e[a];if("scatter"===i.type&&i.xaxis===r.xaxis&&i.yaxis===r.yaxis){i.opacity=void 0;break}}}}}})),i.register("eSpMk",(function(e,t){"use strict";var r=i("bnpJH"),n=i("aDPZG"),a=i("jzgPx"),o=i("aaZWW"),s=i("5jyN7").BADNUM,l=i("elGza"),c=i("eppSl"),u=i("lbbqo"),d=i("2xfvP");function f(e,t,r,n,i,o,s){var c=t._length,u=e._fullLayout,d=r._id,f=n._id,h=u._firstScatter[g(t)]===t.uid,p=(v(t,u,r,n)||{}).orientation,m=t.fill;r._minDtick=0,n._minDtick=0;var y={padded:!0},x={padded:!0};s&&(y.ppad=x.ppad=s);var b=c<2||i[0]!==i[c-1]||o[0]!==o[c-1];b&&("tozerox"===m||"tonextx"===m&&(h||"h"===p))?y.tozero=!0:(t.error_y||{}).visible||"tonexty"!==m&&"tozeroy"!==m&&(l.hasMarkers(t)||l.hasText(t))||(y.padded=!1,y.ppad=0),b&&("tozeroy"===m||"tonexty"===m&&(h||"v"===p))?x.tozero=!0:"tonextx"!==m&&"tozerox"!==m||(x.padded=!1),d&&(t._extremes[d]=a.findExtremes(r,i,y)),f&&(t._extremes[f]=a.findExtremes(n,o,x))}function h(e,t){if(l.hasMarkers(e)){var r,i=e.marker,o=1.6*(e.marker.sizeref||1);if(r="area"===e.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/o),3)}:function(e){return Math.max((e||0)/o,3)},n.isArrayOrTypedArray(i.size)){var s={type:"linear"};a.setConvert(s);for(var c=s.makeCalcdata(e.marker,"size"),u=new Array(t),d=0;dl&&L[m].gap;)m--;for(x=L[m].s,g=L.length-1;g>m;g--)L[g].s=x;for(;l0&&Math.round(d)===d))return i;c=d}for(var f=t.calendar,h="start"===l,p="end"===l,g=e[n+"period0"],v=a(g,f)||0,m=[],y=i.length,x=0;xk;)w=o(w,-c,f);for(;w<=k;)w=o(w,c,f);_=o(w,-c,f)}else{for(w=v+(b=Math.round((k-v)/u))*u;w>k;)w-=u;for(;w<=k;)w+=u;_=w-u}m[x]=h?_:p?w:(_+w)/2}return m}})),i.register("eppSl",(function(e,t){"use strict";var r=i("51sw9").hasColorscale,n=i("vHOoR"),a=i("elGza");e.exports=function(e,t){a.hasLines(t)&&r(t,"line")&&n(e,t,{vals:t.line.color,containerStr:"line",cLetter:"c"}),a.hasMarkers(t)&&(r(t,"marker")&&n(e,t,{vals:t.marker.color,containerStr:"marker",cLetter:"c"}),r(t,"marker.line")&&n(e,t,{vals:t.marker.line.color,containerStr:"marker.line",cLetter:"c"}))}})),i.register("lbbqo",(function(e,t){"use strict";var r=i("aDPZG");e.exports=function(e,t){for(var n=0;nA[u]&&u=u[0]&&e.x<=u[1]&&e.y>=d[0]&&e.y<=d[1]})),g=Math.ceil(p.length/h),v=0;o.forEach((function(e,r){var n=e[0].trace;c.hasMarkers(n)&&n.marker.maxdisplayed>0&&r0;function y(e){return m?e.transition():e}var x=i.xaxis,b=i.yaxis,_=d[0].trace,w=_.line,k=r.select(p),T=o(k,"g","errorbars"),M=o(k,"g","lines"),A=o(k,"g","points"),S=o(k,"g","text");if(n.getComponentMethod("errorbars","plot")(e,T,i,g),!0===_.visible){var L,D;y(k).style("opacity",_.opacity);var P=_.fill.charAt(_.fill.length-1);"x"!==P&&"y"!==P&&(P=""),d[0][i.isRangePlot?"nodeRangePlot3":"node3"]=k;var C,O,z="",I=[],j=_._prevtrace;j&&(z=j._prevRevpath||"",D=j._nextFill,I=j._polygons);var R,E,N,F,H,B,U,G="",Z="",q=[],V=a.noop;if(L=_._ownFill,c.hasLines(_)||"none"!==_.fill){for(D&&D.datum(d),-1!==["hv","vh","hvh","vhv"].indexOf(w.shape)?(R=l.steps(w.shape),E=l.steps(w.shape.split("").reverse().join(""))):R=E="spline"===w.shape?function(e){var t=e[e.length-1];return e.length>1&&e[0][0]===t[0]&&e[0][1]===t[1]?l.smoothclosed(e.slice(1),w.smoothing):l.smoothopen(e,w.smoothing)}:function(e){return"M"+e.join("L")},N=function(e){return E(e.reverse())},q=u(d,{xaxis:x,yaxis:b,connectGaps:_.connectgaps,baseTolerance:Math.max(w.width||1,3)/4,shape:w.shape,simplify:w.simplify,fill:_.fill}),U=_._polygons=new Array(q.length),v=0;v1){var n=r.select(this);if(n.datum(d),e)y(n.style("opacity",0).attr("d",C).call(l.lineGroupStyle)).style("opacity",1);else{var a=y(n);a.attr("d",C),l.singleLineStyle(d,a)}}}}}var Y=M.selectAll(".js-line").data(q);y(Y.exit()).style("opacity",0).remove(),Y.each(V(!1)),Y.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(l.lineGroupStyle).each(V(!0)),l.setClipUrl(Y,i.layerClipId,e),q.length?(L?(L.datum(d),F&&B&&(P?("y"===P?F[1]=B[1]=b.c2p(0,!0):"x"===P&&(F[0]=B[0]=x.c2p(0,!0)),y(L).attr("d","M"+B+"L"+F+"L"+G.substr(1)).call(l.singleFillStyle)):y(L).attr("d",G+"Z").call(l.singleFillStyle))):D&&("tonext"===_.fill.substr(0,6)&&G&&z?("tonext"===_.fill?y(D).attr("d",G+"Z"+z+"Z").call(l.singleFillStyle):y(D).attr("d",G+"L"+z.substr(1)+"Z").call(l.singleFillStyle),_._polygons=_._polygons.concat(I)):(X(D),_._polygons=null)),_._prevRevpath=Z,_._prevPolygons=U):(L?X(L):D&&X(D),_._polygons=_._prevRevpath=_._prevPolygons=null),A.datum(d),S.datum(d),function(t,n,a){var o,u=a[0].trace,d=c.hasMarkers(u),f=c.hasText(u),h=function(e){if(e.ids)return $}(u),p=ee,g=ee;if(d||f){var v=s,_=u.stackgroup,w=_&&"infer zero"===e._fullLayout._scatterStackOpts[x._id+b._id][_].stackgaps;u.marker.maxdisplayed||u._needsCull?v=w?Q:J:_&&!w&&(v=K),d&&(p=v),f&&(g=v)}var k,T=(o=t.selectAll("path.point").data(p,h)).enter().append("path").classed("point",!0);m&&T.call(l.pointStyle,u,e).call(l.translatePoints,x,b).style("opacity",0).transition().style("opacity",1),o.order(),d&&(k=l.makePointStyleFns(u)),o.each((function(t){var n=r.select(this),a=y(n);l.translatePoint(t,a,x,b)?(l.singlePointStyle(t,a,u,k,e),i.layerClipId&&l.hideOutsideRangePoint(t,a,x,b,u.xcalendar,u.ycalendar),u.customdata&&n.classed("plotly-customdata",null!==t.data&&void 0!==t.data)):a.remove()})),m?o.exit().transition().style("opacity",0).remove():o.exit().remove(),(o=n.selectAll("g").data(g,h)).enter().append("g").classed("textpoint",!0).append("text"),o.order(),o.each((function(e){var t=r.select(this),n=y(t.select("text"));l.translatePoint(e,n,x,b)?i.layerClipId&&l.hideOutsideRangePoint(e,t,x,b,u.xcalendar,u.ycalendar):t.remove()})),o.selectAll("text").call(l.textPointStyle,u,e).each((function(e){var t=x.c2p(e.x),n=b.c2p(e.y);r.select(this).selectAll("tspan.line").each((function(){y(r.select(this)).attr({x:t,y:n})}))})),o.exit().remove()}(A,S,d);var W=!1===_.cliponaxis?null:i.layerClipId;l.setClipUrl(A,W,e),l.setClipUrl(S,W,e)}function X(e){y(e).attr("d","M0,0Z")}function J(e){return e.filter((function(e){return!e.gap&&e.vis}))}function Q(e){return e.filter((function(e){return e.vis}))}function K(e){return e.filter((function(e){return!e.gap}))}function $(e){return e.id}function ee(){return!1}}e.exports=function(e,t,n,a,i,c){var u,f,p=!i,g=!!i&&i.duration>0,v=d(e,t,n);((u=a.selectAll("g.trace").data(v,(function(e){return e[0].trace.uid}))).enter().append("g").attr("class",(function(e){return"trace scatter trace"+e[0].trace.uid})).style("stroke-miterlimit",2),u.order(),function(e,t,n){t.each((function(t){var a=o(r.select(this),"g","fills");l.setClipUrl(a,n.layerClipId,e);var i=t[0].trace,c=[];i._ownfill&&c.push("_ownFill"),i._nexttrace&&c.push("_nextFill");var u=a.selectAll("g").data(c,s);u.enter().append("g"),u.exit().each((function(e){i[e]=null})).remove(),u.order().each((function(e){i[e]=o(r.select(this),"path","js-fill")}))}))}(e,u,t),g)?(c&&(f=c()),r.transition().duration(i.duration).ease(i.easing).each("end",(function(){f&&f()})).each("interrupt",(function(){f&&f()})).each((function(){a.selectAll("g.trace").each((function(r,n){h(e,n,t,r,v,this,i)}))}))):u.each((function(r,n){h(e,n,t,r,v,this,i)}));p&&u.exit().remove(),a.selectAll("path:not([d])").remove()}})),i.register("emC3b",(function(e,t){"use strict";var r=i("5jyN7"),n=r.BADNUM,a=r.LOG_CLIP,o=a+.5,s=a-.5,l=i("aDPZG"),c=l.segmentsIntersect,u=l.constrain,d=i("fhEBY");e.exports=function(e,t){var r,a,i,f,h,p,g,v,m,y,x,b,_,w,k,T,M,A,S=t.xaxis,L=t.yaxis,D="log"===S.type,P="log"===L.type,C=S._length,O=L._length,z=t.connectGaps,I=t.baseTolerance,j=t.shape,R="linear"===j,E=t.fill&&"none"!==t.fill,N=[],F=d.minTolerance,H=e.length,B=new Array(H),U=0;function G(r){var a=e[r];if(!a)return!1;var i=t.linearized?S.l2p(a.x):S.c2p(a.x),l=t.linearized?L.l2p(a.y):L.c2p(a.y);if(i===n){if(D&&(i=S.c2p(a.x,!0)),i===n)return!1;P&&l===n&&(i*=Math.abs(S._m*O*(S._m>0?o:s)/(L._m*C*(L._m>0?o:s)))),i*=1e3}if(l===n){if(P&&(l=L.c2p(a.y,!0)),l===n)return!1;l*=1e3}return[i,l]}function Z(e,t,r,n){var a=r-e,i=n-t,o=.5-e,s=.5-t,l=a*a+i*i,c=a*o+i*s;if(c>0&&cre||e[1]ae)return[u(e[0],te,re),u(e[1],ne,ae)]}function se(e,t){return e[0]===t[0]&&(e[0]===te||e[0]===re)||(e[1]===t[1]&&(e[1]===ne||e[1]===ae)||void 0)}function le(e,t,r){return function(n,a){var i=oe(n),o=oe(a),s=[];if(i&&o&&se(i,o))return s;i&&s.push(i),o&&s.push(o);var c=2*l.constrain((n[e]+a[e])/2,t,r)-((i||n)[e]+(o||a)[e]);c&&((i&&o?c>0==i[e]>o[e]?i:o:i||o)[e]+=c);return s}}function ce(e){var t=e[0],r=e[1],n=t===B[U-1][0],a=r===B[U-1][1];if(!n||!a)if(U>1){var i=t===B[U-2][0],o=r===B[U-2][1];n&&(t===te||t===re)&&i?o?U--:B[U-1]=e:a&&(r===ne||r===ae)&&o?i?U--:B[U-1]=e:B[U++]=e}else B[U++]=e}function ue(e){B[U-1][0]!==e[0]&&B[U-1][1]!==e[1]&&ce([X,J]),ce(e),Q=null,X=J=0}function de(e){if(M=e[0]/C,A=e[1]/O,Y=e[0]re?re:0,W=e[1]ae?ae:0,Y||W){if(U)if(Q){var t=$(Q,e);t.length>1&&(ue(t[0]),B[U++]=t[1])}else K=$(B[U-1],e)[0],B[U++]=K;else B[U++]=[Y||e[0],W||e[1]];var r=B[U-1];Y&&W&&(r[0]!==Y||r[1]!==W)?(Q&&(X!==Y&&J!==W?ce(X&&J?(n=Q,i=(a=e)[0]-n[0],o=(a[1]-n[1])/i,(n[1]*a[0]-a[1]*n[0])/i>0?[o>0?te:re,ae]:[o>0?re:te,ne]):[X||Y,J||W]):X&&J&&ce([X,J])),ce([Y,W])):X-Y&&J-W&&ce([Y||X,W||J]),Q=e,X=Y,J=W}else Q&&ue($(Q,e)[0]),B[U++]=e;var n,a,i,o}for("linear"===j||"spline"===j?$=function(e,t){for(var r=[],n=0,a=0;a<4;a++){var i=ie[a],o=c(e[0],e[1],t[0],t[1],i[0],i[1],i[2],i[3]);o&&(!n||Math.abs(o.x-r[0][0])>1||Math.abs(o.y-r[0][1])>1)&&(o=[o.x,o.y],n&&V(o,e)q(p,fe))break;i=p,(_=m[0]*v[0]+m[1]*v[1])>x?(x=_,f=p,g=!1):_=e.length||!p)break;de(p),a=p}}else de(f)}Q&&ce([X||Q[0],J||Q[1]]),N.push(B.slice(0,U))}return N}})),i.register("a5XJI",(function(e,t){"use strict";var r={tonextx:1,tonexty:1,tonext:1};e.exports=function(e,t,n){var a,i,o,s,l,c={},u=!1,d=-1,f=0,h=-1;for(i=0;i=0?l=h:(l=h=f,f++),lq!=(E=O[P][1])>=q&&(I=O[P-1][0],j=O[P][0],E-R&&(z=I+(j-I)*(q-R)/(E-R),B=Math.min(B,z),U=Math.max(U,z)));B=Math.max(B,0),U=Math.min(U,f._length);var V=s.defaultLine;return s.opacity(d.fillcolor)?V=d.fillcolor:s.opacity((d.line||{}).color)&&(V=d.line.color),r.extendFlat(e,{distance:e.maxHoverDistance,x0:B,x1:U,y0:q,y1:q,color:V,hovertemplate:!1}),delete e.index,d.text&&!Array.isArray(d.text)?e.text=String(d.text):e.text=d.name,[e]}}}})),i.register("h56fg",(function(e,t){"use strict";var r=i("1Jf1D"),n=i("elGza");e.exports=function(e,t){var a,i;if("lines"===e.mode)return(a=e.line.color)&&r.opacity(a)?a:e.fillcolor;if("none"===e.mode)return e.fill?e.fillcolor:"";var o=t.mcc||(e.marker||{}).color,s=t.mlcc||((e.marker||{}).line||{}).color;return(i=o&&r.opacity(o)?o:s&&r.opacity(s)&&(t.mlw||((e.marker||{}).line||{}).width)?s:"")?r.opacity(i)<.3?r.addOpacity(i,.3):i:(a=(e.line||{}).color)&&r.opacity(a)&&n.hasLines(e)&&e.line.width?a:e.fillcolor}})),i.register("kU3CM",(function(e,t){"use strict";var r=i("elGza");e.exports=function(e,t){var n,a,i,o,s=e.cd,l=e.xaxis,c=e.yaxis,u=[],d=s[0].trace;if(!r.hasMarkers(d)&&!r.hasText(d))return[];if(!1===t)for(n=0;nd),(e=>d=e)),t(e.exports,"layoutAttributes",(()=>u),(e=>u=e)),t(e.exports,"toSVG",(()=>v),(e=>v=e)),t(e.exports,"attributes",(()=>m),(e=>m=e)),t(e.exports,"updateFx",(()=>x),(e=>x=e)),t(e.exports,"supplyLayoutDefaults",(()=>l),(e=>l=e)),t(e.exports,"idRegex",(()=>g),(e=>g=e)),t(e.exports,"idRoot",(()=>o),(e=>o=e)),t(e.exports,"transitionAxes",(()=>n),(e=>n=e)),t(e.exports,"attrRegex",(()=>c),(e=>c=e)),t(e.exports,"plot",(()=>p),(e=>p=e)),t(e.exports,"rangePlot",(()=>s),(e=>s=e)),t(e.exports,"name",(()=>h),(e=>h=e)),t(e.exports,"clean",(()=>y),(e=>y=e)),t(e.exports,"drawFramework",(()=>a),(e=>a=e)),t(e.exports,"finalizeSubplots",(()=>f),(e=>f=e));var b=i("fP9PH"),_=i("LWtQ1"),w=i("aDPZG"),k=i("dx7II"),T=i("4iYWi"),M=i("e8WsF").getModuleCalcData,A=i("hWd71"),S=i("jvdiU"),L=i("lxkS1"),D=w.ensureSingle;function P(e,t,r){return w.ensureSingle(e,t,r,(function(e){e.datum(r)}))}function C(e,t,r,n,a){for(var i,o,s,l=S.traceLayerClasses,c=e._fullLayout,u=c._modules,d=[],f=[],h=0;h0&&(a["_"+r+"axes"]||{})[t])return a;if((a[r+"axis"]||r)===t){if(o(a,r))return a;if((a[r]||[]).length||a[r+"0"])return a}}}(t,s,l);if(!c)return;if("histogram"===c.type&&l==={v:"y",h:"x"}[c.orientation||"v"])return void(e.type="linear");var u=l+"calendar",d=c[u],f={noMultiCategory:!r(c,"cartesian")||r(c,"noMultiCategory")};"box"===c.type&&c._hasPreCompStats&&l==={h:"x",v:"y"}[c.orientation||"v"]&&(f.noMultiCategory=!0);if(f.autotypenumbers=e.autotypenumbers,o(c,l)){var h=a(c),p=[];for(i=0;i=2){var l,c,u="";if(2===o.length)for(l=0;l<2;l++)if(c=y(o[l])){u=p;break}var d=i("pattern",u);if(d===p)for(l=0;l<2;l++)(c=y(o[l]))&&(t.bounds[l]=o[l]=c-1);if(d)for(l=0;l<2;l++)switch(c=o[l],d){case p:if(!r(c))return void(t.enabled=!1);if((c=+c)!==Math.floor(c)||c<0||c>=7)return void(t.enabled=!1);t.bounds[l]=o[l]=c;break;case g:if(!r(c))return void(t.enabled=!1);if((c=+c)<0||c>24)return void(t.enabled=!1);t.bounds[l]=o[l]=c}if(!1===n.autorange){var f=n.range;if(f[0]f[1])return void(t.enabled=!1)}else if(o[0]>f[0]&&o[1]0;o&&(a="array");var s,l=r("categoryorder",a);"array"===l&&(s=r("categoryarray")),o||"array"!==l||(l=t.categoryorder="trace"),"trace"===l?t._initialCategories=[]:"array"===l?t._initialCategories=s.slice():(s=function(e,t){var r,n,a,i=t.dataAttr||e._id.charAt(0),o={};if(t.axData)r=t.axData;else for(r=[],n=0;ng[1]-1/4096&&(t.domain=s),n.noneOrAll(e.domain,t.domain,s)}return a("layer"),t}})),i.register("aEZqF",(function(e,t){"use strict";var r=i("fP9PH"),n=i("LWtQ1"),a=i("aDPZG"),o=i("4iYWi"),s=i("jzgPx");e.exports=function(e,t,i,l){var c=e._fullLayout;if(0!==t.length){var u,d,f,h;l&&(u=l());var p=r.ease(i.easing);return e._transitionData._interruptCallbacks.push((function(){return window.cancelAnimationFrame(h),h=null,function(){for(var r={},a=0;ai.duration?(!function(){for(var r={},a=0;a rect").call(o.setTranslate,0,0).call(o.setScale,1,1),e.plot.call(o.setTranslate,t._offset,r._offset).call(o.setScale,1,1);var n=e.plot.selectAll(".scatterlayer .trace");n.selectAll(".point").call(o.setPointGroupScale,1,1),n.selectAll(".textpoint").call(o.setTextPointsScale,1,1),n.call(o.hideOutsideRangePoints,e)}function v(t,r){var n=t.plotinfo,i=n.xaxis,l=n.yaxis,c=i._length,u=l._length,d=!!t.xr1,f=!!t.yr1,h=[];if(d){var p=a.simpleMap(t.xr0,i.r2l),g=a.simpleMap(t.xr1,i.r2l),v=p[1]-p[0],m=g[1]-g[0];h[0]=(p[0]*(1-r)+r*g[0]-p[0])/(p[1]-p[0])*c,h[2]=c*(1-r+r*m/v),i.range[0]=i.l2r(p[0]*(1-r)+r*g[0]),i.range[1]=i.l2r(p[1]*(1-r)+r*g[1])}else h[0]=0,h[2]=c;if(f){var y=a.simpleMap(t.yr0,l.r2l),x=a.simpleMap(t.yr1,l.r2l),b=y[1]-y[0],_=x[1]-x[0];h[1]=(y[1]*(1-r)+r*x[1]-y[1])/(y[0]-y[1])*u,h[3]=u*(1-r+r*_/b),l.range[0]=i.l2r(y[0]*(1-r)+r*x[0]),l.range[1]=l.l2r(y[1]*(1-r)+r*x[1])}else h[1]=0,h[3]=u;s.drawOne(e,i,{skipTitle:!0}),s.drawOne(e,l,{skipTitle:!0}),s.redrawComponents(e,[i._id,l._id]);var w=d?c/h[2]:1,k=f?u/h[3]:1,T=d?h[0]:0,M=f?h[1]:0,A=d?h[0]/h[2]*c:0,S=f?h[1]/h[3]*u:0,L=i._offset-A,D=l._offset-S;n.clipRect.call(o.setTranslate,T,M).call(o.setScale,1/w,1/k),n.plot.call(o.setTranslate,L,D).call(o.setScale,w,k),o.setPointGroupScale(n.zoomScalePts,1/w,1/k),o.setTextPointsScale(n.zoomScaleTxt,1/w,1/k)}s.redrawComponents(e)}})),i.register("5M97B",(function(e,t){"use strict";e.exports={moduleType:"component",name:"legend",layoutAttributes:i("i36wJ"),supplyLayoutDefaults:i("kkBCB"),draw:i("ut3qY"),style:i("iPaX5")}})),i.register("kIlze",(function(e,t){"use strict";var r=i("bioqP"),n=i("k6wzA");e.exports={moduleType:"component",name:"annotations",layoutAttributes:i("4dRlN"),supplyLayoutDefaults:i("ku0uL"),includeBasePlot:i("9YBMq")("annotations"),calcAutorange:i("04ZLJ"),draw:r.draw,drawOne:r.drawOne,drawRaw:r.drawRaw,hasClickToShow:n.hasClickToShow,onClick:n.onClick,convertCoords:i("98KNE")}})),i.register("bioqP",(function(e,t){"use strict";var r=i("fP9PH"),n=i("LWtQ1"),a=i("dx7II"),o=i("aDPZG"),s=o.strTranslate,l=i("jzgPx"),c=i("1Jf1D"),u=i("4iYWi"),d=i("a04P9"),f=i("9evQg"),h=i("Tbkiv"),p=i("fh3b6"),g=i("6bzyY").arrayEditor,v=i("8dBxZ");function m(e,t){var r=e._fullLayout.annotations[t]||{},n=l.getFromId(e,r.xref),a=l.getFromId(e,r.yref);n&&n.setScale(),a&&a.setScale(),x(e,r,t,!1,n,a)}function y(e,t,r,n,a){var i=a[r],o=a[r+"ref"],s=-1!==r.indexOf("y"),c="domain"===l.getRefType(o),u=s?n.h:n.w;return e?c?i+(s?-t:t)/e._length:e.p2r(e.r2p(i)+t):i+(s?-t:t)/u}function x(e,t,a,i,m,x){var b,_,w=e._fullLayout,k=e._fullLayout._size,T=e._context.edits;i?(b="annotation-"+i,_=i+".annotations"):(b="annotation",_="annotations");var M=g(e.layout,_,t),A=M.modifyBase,S=M.modifyItem,L=M.getUpdateObj;w._infolayer.selectAll("."+b+'[data-index="'+a+'"]').remove();var D="clip"+w._uid+"_ann"+a;if(t._input&&!1!==t.visible){var P={x:{},y:{}},C=+t.textangle||0,O=w._infolayer.append("g").classed(b,!0).attr("data-index",String(a)).style("opacity",t.opacity),z=O.append("g").classed("annotation-text-g",!0),I=T[t.showarrow?"annotationTail":"annotationPosition"],j=t.captureevents||T.annotationText||I,R=z.append("g").style("pointer-events",j?"all":null).call(h,"pointer").on("click",(function(){e._dragging=!1,e.emit("plotly_clickannotation",V(r.event))}));t.hovertext&&R.on("mouseover",(function(){var r=t.hoverlabel,n=r.font,a=this.getBoundingClientRect(),i=e.getBoundingClientRect();d.loneHover({x0:a.left-i.left,x1:a.right-i.left,y:(a.top+a.bottom)/2-i.top,text:t.hovertext,color:r.bgcolor,borderColor:r.bordercolor,fontFamily:n.family,fontSize:n.size,fontColor:n.color},{container:w._hoverlayer.node(),outerContainer:w._paper.node(),gd:e})})).on("mouseout",(function(){d.loneUnhover(w._hoverlayer.node())}));var E=t.borderwidth,N=t.borderpad,F=E+N,H=R.append("rect").attr("class","bg").style("stroke-width",E+"px").call(c.stroke,t.bordercolor).call(c.fill,t.bgcolor),B=t.width||t.height,U=w._topclips.selectAll("#"+D).data(B?[0]:[]);U.enter().append("clipPath").classed("annclip",!0).attr("id",D).append("rect"),U.exit().remove();var G=t.font,Z=w._meta?o.templateString(t.text,w._meta):t.text,q=R.append("text").classed("annotation-text",!0).text(Z);T.annotationText?q.call(f.makeEditable,{delegate:R,gd:e}).call(Y).on("edit",(function(r){t.text=r,this.call(Y),S("text",r),m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0),n.call("_guiRelayout",e,L())})):q.call(Y)}else r.selectAll("#"+D).remove();function V(e){var r={index:a,annotation:t._input,fullAnnotation:t,event:e};return i&&(r.subplotId=i),r}function Y(r){return r.call(u.font,G).attr({"text-anchor":{left:"start",right:"end"}[t.align]||"middle"}),f.convertToTspans(r,e,W),r}function W(){var r=q.selectAll("a");1===r.size()&&r.text()===q.text()&&R.insert("a",":first-child").attr({"xlink:xlink:href":r.attr("xlink:href"),"xlink:xlink:show":r.attr("xlink:show")}).style({cursor:"pointer"}).node().appendChild(H.node());var a=R.select(".annotation-text-math-group"),d=!a.empty(),g=u.bBox((d?a:q).node()),b=g.width,_=g.height,M=t.width||b,j=t.height||_,N=Math.round(M+2*F),G=Math.round(j+2*F);function Z(e,t){return"auto"===t&&(t=e<1/3?"left":e>2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}for(var Y=!1,W=["x","y"],X=0;X1)&&(ne===re?((he=ae.r2fraction(t["a"+te]))<0||he>1)&&(Y=!0):Y=!0),J=ae._offset+ae.r2p(t[te]),$=.5}else{var pe="domain"===fe;"x"===te?(K=t[te],J=pe?ae._offset+ae._length*K:J=k.l+k.w*K):(K=1-t[te],J=pe?ae._offset+ae._length*K:J=k.t+k.h*K),$=t.showarrow?.5:K}if(t.showarrow){de.head=J;var ge=t["a"+te];if(ee=oe*Z(.5,t.xanchor)-se*Z(.5,t.yanchor),ne===re){var ve=l.getRefType(ne);"domain"===ve?("y"===te&&(ge=1-ge),de.tail=ae._offset+ae._length*ge):"paper"===ve?"y"===te?(ge=1-ge,de.tail=k.t+k.h*ge):de.tail=k.l+k.w*ge:de.tail=ae._offset+ae.r2p(ge),Q=ee}else de.tail=J+ge,Q=ee+ge;de.text=de.tail+ee;var me=w["x"===te?"width":"height"];if("paper"===re&&(de.head=o.constrain(de.head,1,me-1)),"pixel"===ne){var ye=-Math.max(de.tail-3,de.text),xe=Math.min(de.tail+3,de.text)-me;ye>0?(de.tail+=ye,de.text+=ye):xe>0&&(de.tail-=xe,de.text-=xe)}de.tail+=ue,de.head+=ue}else Q=ee=le*Z($,ce),de.text=J+ee;de.text+=ue,ee+=ue,Q+=ue,t["_"+te+"padplus"]=le/2+Q,t["_"+te+"padminus"]=le/2-Q,t["_"+te+"size"]=le,t["_"+te+"shift"]=ee}if(Y)R.remove();else{var be=0,_e=0;if("left"!==t.align&&(be=(M-b)*("center"===t.align?.5:1)),"top"!==t.valign&&(_e=(j-_)*("middle"===t.valign?.5:1)),d)a.select("svg").attr({x:F+be-1,y:F+_e}).call(u.setClipUrl,B?D:null,e);else{var we=F+_e-g.top,ke=F+be-g.left;q.call(f.positionText,ke,we).call(u.setClipUrl,B?D:null,e)}U.select("rect").call(u.setRect,F,F,M,j),H.call(u.setRect,E/2,E/2,N-E,G-E),R.call(u.setTranslate,Math.round(P.x.text-N/2),Math.round(P.y.text-G/2)),z.attr({transform:"rotate("+C+","+P.x.text+","+P.y.text+")"});var Te,Me=function(r,a){O.selectAll(".annotation-arrow-g").remove();var l=P.x.head,d=P.y.head,f=P.x.tail+r,h=P.y.tail+a,g=P.x.text+r,b=P.y.text+a,_=o.rotationXYMatrix(C,g,b),w=o.apply2DTransform(_),M=o.apply2DTransform2(_),D=+H.attr("width"),I=+H.attr("height"),j=g-.5*D,E=j+D,N=b-.5*I,F=N+I,B=[[j,N,j,F],[j,F,E,F],[E,F,E,N],[E,N,j,N]].map(M);if(!B.reduce((function(e,t){return e^!!o.segmentsIntersect(l,d,l+1e6,d+1e6,t[0],t[1],t[2],t[3])}),!1)){B.forEach((function(e){var t=o.segmentsIntersect(f,h,l,d,e[0],e[1],e[2],e[3]);t&&(f=t.x,h=t.y)}));var U=t.arrowwidth,G=t.arrowcolor,Z=t.arrowside,q=O.append("g").style({opacity:c.opacity(G)}).classed("annotation-arrow-g",!0),V=q.append("path").attr("d","M"+f+","+h+"L"+l+","+d).style("stroke-width",U+"px").call(c.stroke,c.rgb(G));if(v(V,Z,t),T.annotationPosition&&V.node().parentNode&&!i){var Y=l,W=d;if(t.standoff){var X=Math.sqrt(Math.pow(l-f,2)+Math.pow(d-h,2));Y+=t.standoff*(f-l)/X,W+=t.standoff*(h-d)/X}var J,Q,K=q.append("path").classed("annotation-arrow",!0).classed("anndrag",!0).classed("cursor-move",!0).attr({d:"M3,3H-3V-3H3ZM0,0L"+(f-Y)+","+(h-W),transform:s(Y,W)}).style("stroke-width",U+6+"px").call(c.stroke,"rgba(0,0,0,0)").call(c.fill,"rgba(0,0,0,0)");p.init({element:K.node(),gd:e,prepFn:function(){var e=u.getTranslate(R);J=e.x,Q=e.y,m&&m.autorange&&A(m._name+".autorange",!0),x&&x.autorange&&A(x._name+".autorange",!0)},moveFn:function(e,r){var n=w(J,Q),a=n[0]+e,i=n[1]+r;R.call(u.setTranslate,a,i),S("x",y(m,e,"x",k,t)),S("y",y(x,r,"y",k,t)),t.axref===t.xref&&S("ax",y(m,e,"ax",k,t)),t.ayref===t.yref&&S("ay",y(x,r,"ay",k,t)),q.attr("transform",s(e,r)),z.attr({transform:"rotate("+C+","+a+","+i+")"})},doneFn:function(){n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}};if(t.showarrow&&Me(0,0),I)p.init({element:R.node(),gd:e,prepFn:function(){Te=z.attr("transform")},moveFn:function(e,r){var n="pointer";if(t.showarrow)t.axref===t.xref?S("ax",y(m,e,"ax",k,t)):S("ax",t.ax+e),t.ayref===t.yref?S("ay",y(x,r,"ay",k.w,t)):S("ay",t.ay+r),Me(e,r);else{if(i)return;var a,o;if(m)a=y(m,e,"x",k,t);else{var l=t._xsize/k.w,c=t.x+(t._xshift-t.xshift)/k.w-l/2;a=p.align(c+e/k.w,l,0,1,t.xanchor)}if(x)o=y(x,r,"y",k,t);else{var u=t._ysize/k.h,d=t.y-(t._yshift+t.yshift)/k.h-u/2;o=p.align(d-r/k.h,u,0,1,t.yanchor)}S("x",a),S("y",o),m&&x||(n=p.getCursor(m?.5:a,x?.5:o,t.xanchor,t.yanchor))}z.attr({transform:s(e,r)+Te}),h(R,n)},clickFn:function(r,n){t.captureevents&&e.emit("plotly_clickannotation",V(n))},doneFn:function(){h(R),n.call("_guiRelayout",e,L());var t=document.querySelector(".js-notes-box-panel");t&&t.redraw(t.selectedObj)}})}}}e.exports={draw:function(e){var t=e._fullLayout;t._infolayer.selectAll(".annotation").remove();for(var r=0;r=0,x=t.indexOf("end")>=0,b=p.backoff*v+i.standoff,_=g.backoff*m+i.startstandoff;if("line"===h.nodeName){o={x:+e.attr("x1"),y:+e.attr("y1")},u={x:+e.attr("x2"),y:+e.attr("y2")};var w=o.x-u.x,k=o.y-u.y;if(f=(d=Math.atan2(k,w))+Math.PI,b&&_&&b+_>Math.sqrt(w*w+k*k))return void I();if(b){if(b*b>w*w+k*k)return void I();var T=b*Math.cos(d),M=b*Math.sin(d);u.x+=T,u.y+=M,e.attr({x2:u.x,y2:u.y})}if(_){if(_*_>w*w+k*k)return void I();var A=_*Math.cos(d),S=_*Math.sin(d);o.x-=A,o.y-=S,e.attr({x1:o.x,y1:o.y})}}else if("path"===h.nodeName){var L=h.getTotalLength(),D="";if(L0||r.explicitOff.length>0},onClick:function(e,t){var i,s,l=o(e,t),c=l.on,u=l.off.concat(l.explicitOff),d={},f=e._fullLayout.annotations;if(!c.length&&!u.length)return;for(i=0;i), bold (), italics (),","hyperlinks (). Tags , , "," are also supported."].join(" ")},textangle:{valType:"angle",dflt:0,editType:"calc+arraydraw",description:["Sets the angle at which the `text` is drawn","with respect to the horizontal."].join(" ")},font:n({editType:"calc+arraydraw",colorEditType:"arraydraw",description:"Sets the annotation text font."}),width:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw",description:["Sets an explicit width for the text box. null (default) lets the","text set the box width. Wider text will be clipped.","There is no automatic wrapping; use
to start a new line."].join(" ")},height:{valType:"number",min:1,dflt:null,editType:"calc+arraydraw",description:["Sets an explicit height for the text box. null (default) lets the","text set the box height. Taller text will be clipped."].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw",description:"Sets the opacity of the annotation (text + arrow)."},align:{valType:"enumerated",values:["left","center","right"],dflt:"center",editType:"arraydraw",description:["Sets the horizontal alignment of the `text` within the box.","Has an effect only if `text` spans two or more lines","(i.e. `text` contains one or more
HTML tags) or if an","explicit width is set to override the text width."].join(" ")},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"arraydraw",description:["Sets the vertical alignment of the `text` within the box.","Has an effect only if an explicit height is set to override","the text height."].join(" ")},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw",description:"Sets the background color of the annotation."},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw",description:["Sets the color of the border enclosing the annotation `text`."].join(" ")},borderpad:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw",description:["Sets the padding (in px) between the `text`","and the enclosing border."].join(" ")},borderwidth:{valType:"number",min:0,dflt:1,editType:"calc+arraydraw",description:["Sets the width (in px) of the border enclosing","the annotation `text`."].join(" ")},showarrow:{valType:"boolean",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not the annotation is drawn with an arrow.","If *true*, `text` is placed near the arrow's tail.","If *false*, `text` lines up with the `x` and `y` provided."].join(" ")},arrowcolor:{valType:"color",editType:"arraydraw",description:"Sets the color of the annotation arrow."},arrowhead:{valType:"integer",min:0,max:r.length,dflt:1,editType:"arraydraw",description:"Sets the end annotation arrow head style."},startarrowhead:{valType:"integer",min:0,max:r.length,dflt:1,editType:"arraydraw",description:"Sets the start annotation arrow head style."},arrowside:{valType:"flaglist",flags:["end","start"],extras:["none"],dflt:"end",editType:"arraydraw",description:"Sets the annotation arrow head position."},arrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw",description:["Sets the size of the end annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},startarrowsize:{valType:"number",min:.3,dflt:1,editType:"calc+arraydraw",description:["Sets the size of the start annotation arrow head, relative to `arrowwidth`.","A value of 1 (default) gives a head about 3x as wide as the line."].join(" ")},arrowwidth:{valType:"number",min:.1,editType:"calc+arraydraw",description:"Sets the width (in px) of annotation arrow line."},standoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the end arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},startstandoff:{valType:"number",min:0,dflt:0,editType:"calc+arraydraw",description:["Sets a distance, in pixels, to move the start arrowhead away from the","position it is pointing at, for example to point at the edge of","a marker independent of zoom. Note that this shortens the arrow","from the `ax` / `ay` vector, in contrast to `xshift` / `yshift`","which moves everything by this amount."].join(" ")},ax:{valType:"any",editType:"calc+arraydraw",description:[c("x","left","right")].join(" ")},ay:{valType:"any",editType:"calc+arraydraw",description:[c("y","top","bottom")].join(" ")},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()],editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",s.axisRefDescription("ax","left","right"),l("x")].join(" ")},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()],editType:"calc",description:["Indicates in what coordinates the tail of the","annotation (ax,ay) is specified.",s.axisRefDescription("ay","bottom","top"),l("y")].join(" ")},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()],editType:"calc",description:["Sets the annotation's x coordinate axis.",s.axisRefDescription("x","left","right")].join(" ")},x:{valType:"any",editType:"calc+arraydraw",description:["Sets the annotation's x position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto",editType:"calc+arraydraw",description:["Sets the text box's horizontal position anchor","This anchor binds the `x` position to the *left*, *center*","or *right* of the annotation.","For example, if `x` is set to 1, `xref` to *paper* and","`xanchor` to *right* then the right-most portion of the","annotation lines up with the right-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *center* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},xshift:{valType:"number",dflt:0,editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow to the","right (positive) or left (negative) by this many pixels."].join(" ")},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()],editType:"calc",description:["Sets the annotation's y coordinate axis.",s.axisRefDescription("y","bottom","top")].join(" ")},y:{valType:"any",editType:"calc+arraydraw",description:["Sets the annotation's y position.","If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, it should be date strings,","like date data, though Date objects and unix milliseconds","will be accepted and converted to strings.","If the axis `type` is *category*, it should be numbers,","using the scale where each category is assigned a serial","number from zero in the order it appears."].join(" ")},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto",editType:"calc+arraydraw",description:["Sets the text box's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the annotation.","For example, if `y` is set to 1, `yref` to *paper* and","`yanchor` to *top* then the top-most portion of the","annotation lines up with the top-most edge of the","plotting area.","If *auto*, the anchor is equivalent to *middle* for","data-referenced annotations or if there is an arrow,","whereas for paper-referenced with no arrow, the anchor picked","corresponds to the closest side."].join(" ")},yshift:{valType:"number",dflt:0,editType:"calc+arraydraw",description:["Shifts the position of the whole annotation and arrow up","(positive) or down (negative) by this many pixels."].join(" ")},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1,editType:"arraydraw",description:["Makes this annotation respond to clicks on the plot.","If you click a data point that exactly matches the `x` and `y`","values of this annotation, and it is hidden (visible: false),","it will appear. In *onoff* mode, you must click the same point","again to make it disappear, so if you click multiple points,","you can show multiple annotations. In *onout* mode, a click","anywhere else in the plot (on another data point or not) will","hide this annotation.","If you need to show/hide this annotation in response to different","`x` or `y` values, you can set `xclick` and/or `yclick`. This is","useful for example to label the side of a bar. To label markers","though, `standoff` is preferred over `xclick` and `yclick`."].join(" ")},xclick:{valType:"any",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `x` value","is `xclick` rather than the annotation's `x` value."].join(" ")},yclick:{valType:"any",editType:"arraydraw",description:["Toggle this annotation when clicking a data point whose `y` value","is `yclick` rather than the annotation's `y` value."].join(" ")},hovertext:{valType:"string",editType:"arraydraw",description:["Sets text to appear when hovering over this annotation.","If omitted or blank, no hover label will appear."].join(" ")},hoverlabel:{bgcolor:{valType:"color",editType:"arraydraw",description:["Sets the background color of the hover label.","By default uses the annotation's `bgcolor` made opaque,","or white if it was transparent."].join(" ")},bordercolor:{valType:"color",editType:"arraydraw",description:["Sets the border color of the hover label.","By default uses either dark grey or white, for maximum","contrast with `hoverlabel.bgcolor`."].join(" ")},font:n({editType:"arraydraw",description:["Sets the hover label text font.","By default uses the global hover font and size,","with color from `hoverlabel.bordercolor`."].join(" ")}),editType:"arraydraw"},captureevents:{valType:"boolean",editType:"arraydraw",description:["Determines whether the annotation text box captures mouse move","and click events, or allows those events to pass through to data","points in the plot that may be behind the annotation. By default","`captureevents` is *false* unless `hovertext` is provided.","If you use the event `plotly_clickannotation` without `hovertext`","you must explicitly enable `captureevents`."].join(" ")},editType:"calc",_deprecated:{ref:{valType:"string",editType:"calc",description:["Obsolete. Set `xref` and `yref` separately instead."].join(" ")}}})})),i.register("bxs3s",(function(e,t){"use strict";e.exports={axisRefDescription:function(e,t,r){return["If set to a",e,"axis id (e.g. *"+e+"* or","*"+e+"2*), the `"+e+"` position refers to a",e,"coordinate. If set to *paper*, the `"+e+"`","position refers to the distance from the",t,"of the plotting","area in normalized coordinates where *0* (*1*) corresponds to the",t,"("+r+"). If set to a",e,"axis ID followed by","*domain* (separated by a space), the position behaves like for","*paper*, but refers to the distance in fractions of the domain","length from the",t,"of the domain of that axis: e.g.,","*"+e+"2 domain* refers to the domain of the second",e," axis and a",e,"position of 0.5 refers to the","point between the",t,"and the",r,"of the domain of the","second",e,"axis."].join(" ")}}})),i.register("ku0uL",(function(e,t){"use strict";var r=i("aDPZG"),n=i("jzgPx"),a=i("j2cSz"),o=i("7UrXz"),s=i("4dRlN");function l(e,t,a){function i(n,a){return r.coerce(e,t,s,n,a)}var l=i("visible"),c=i("clicktoshow");if(l||c){o(e,t,a,i);for(var u=t.showarrow,d=["x","y"],f=[-10,-30],h={_fullLayout:a},p=0;p<2;p++){var g=d[p],v=n.coerceRef(e,t,h,g,"","paper");if("paper"!==v)n.getFromId(h,v)._annIndices.push(t._index);if(n.coercePosition(t,h,i,v,g,.5),u){var m="a"+g,y=n.coerceRef(e,t,h,m,"pixel",["pixel","paper"]);"pixel"!==y&&y!==v&&(y=t[m]="pixel");var x="pixel"===y?f[p]:.4;n.coercePosition(t,h,i,y,m,x)}i(g+"anchor"),i(g+"shift")}if(r.noneOrAll(e,t,["x","y"]),u&&r.noneOrAll(e,t,["ax","ay"]),c){var b=i("xclick"),_=i("yclick");t._xclick=void 0===b?t.x:n.cleanPosition(b,h,t.xref),t._yclick=void 0===_?t.y:n.cleanPosition(_,h,t.yref)}}}e.exports=function(e,t){a(e,t,{name:"annotations",handleItemDefaults:l})}})),i.register("7UrXz",(function(e,t){"use strict";var r=i("aDPZG"),n=i("1Jf1D");e.exports=function(e,t,a,i){i("opacity");var o=i("bgcolor"),s=i("bordercolor"),l=n.opacity(s);i("borderpad");var c=i("borderwidth"),u=i("showarrow");if(i("text",u?" ":a._dfltTitle.annotation),i("textangle"),r.coerceFont(i,"font",a.font),i("width"),i("align"),i("height")&&i("valign"),u){var d,f,h=i("arrowside");-1!==h.indexOf("end")&&(d=i("arrowhead"),f=i("arrowsize")),-1!==h.indexOf("start")&&(i("startarrowhead",d),i("startarrowsize",f)),i("arrowcolor",l?t.bordercolor:n.defaultLine),i("arrowwidth",2*(l&&c||1)),i("standoff"),i("startstandoff")}var p=i("hovertext"),g=a.hoverlabel||{};if(p){var v=i("hoverlabel.bgcolor",g.bgcolor||(n.opacity(o)?n.rgb(o):n.defaultLine)),m=i("hoverlabel.bordercolor",g.bordercolor||n.contrast(v));r.coerceFont(i,"hoverlabel.font",{family:g.font.family,size:g.font.size,color:g.font.color||m})}i("captureevents",!!p)}})),i.register("9YBMq",(function(e,t){"use strict";var r=i("LWtQ1"),n=i("aDPZG"),a=i("hWd71");e.exports=function(e){return function(t,i){var o=t[e];if(Array.isArray(o))for(var s=r.subplotsRegistry.cartesian,l=s.idRegex,c=i._subplots,u=c.xaxis,d=c.yaxis,f=c.cartesian,h=i._has("cartesian")||i._has("gl2d"),p=0;p1){c=!0;break}}c?e.fullLayout._infolayer.select(".annotation-"+e.id+'[data-index="'+s+'"]').remove():(l._pdata=n(e.glplot.cameraParams,[t.xaxis.r2l(l.x)*i[0],t.yaxis.r2l(l.y)*i[1],t.zaxis.r2l(l.z)*i[2]]),r(e.graphDiv,l,s,e.id,l._xa,l._ya))}}})),i.register("5rIFU",(function(e,t){"use strict";function r(e,t){var r,n,a=[0,0,0,0];for(r=0;r<4;++r)for(n=0;n<4;++n)a[n]+=e[4*r+n]*t[r];return a}e.exports=function(e,t){return r(e.projection,r(e.view,r(e.model,[t[0],t[1],t[2],1])))}})),i.register("bxktx",(function(e,t){"use strict";var r=i("hDkUv");e.exports={moduleType:"component",name:"shapes",layoutAttributes:i("jeprC"),supplyLayoutDefaults:i("1Mzjk"),supplyDrawNewShapeDefaults:i("h8pzC"),includeBasePlot:i("9YBMq")("shapes"),calcAutorange:i("1Mrk3"),draw:r.draw,drawOne:r.drawOne}})),i.register("jeprC",(function(e,t){"use strict";var r=i("4dRlN"),n=i("6L7gu").line,a=i("hrhP8").dash,o=i("hYsp9").extendFlat,s=i("6bzyY").templatedArray,l=i("bxs3s");e.exports=s("shape",{visible:{valType:"boolean",dflt:!0,editType:"calc+arraydraw",description:["Determines whether or not this shape is visible."].join(" ")},type:{valType:"enumerated",values:["circle","rect","path","line"],editType:"calc+arraydraw",description:["Specifies the shape type to be drawn.","If *line*, a line is drawn from (`x0`,`y0`) to (`x1`,`y1`)","with respect to the axes' sizing mode.","If *circle*, a circle is drawn from","((`x0`+`x1`)/2, (`y0`+`y1`)/2))","with radius","(|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|)","with respect to the axes' sizing mode.","If *rect*, a rectangle is drawn linking","(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`)","with respect to the axes' sizing mode.","If *path*, draw a custom SVG path using `path`.","with respect to the axes' sizing mode."].join(" ")},layer:{valType:"enumerated",values:["below","above"],dflt:"above",editType:"arraydraw",description:"Specifies whether shapes are drawn below or above traces."},xref:o({},r.xref,{description:["Sets the shape's x coordinate axis.",l.axisRefDescription("x","left","right"),"If the axis `type` is *log*, then you must take the","log of your desired range.","If the axis `type` is *date*, then you must convert","the date to unix time in milliseconds."].join(" ")}),xsizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the x axis.","If set to *scaled*, `x0`, `x1` and x coordinates within `path` refer to","data values on the x axis or a fraction of the plot area's width","(`xref` set to *paper*).","If set to *pixel*, `xanchor` specifies the x position in terms","of data or plot fraction but `x0`, `x1` and x coordinates within `path`","are pixels relative to `xanchor`. This way, the shape can have","a fixed width while maintaining a position relative to data or","plot fraction."].join(" ")},xanchor:{valType:"any",editType:"calc+arraydraw",description:["Only relevant in conjunction with `xsizemode` set to *pixel*.","Specifies the anchor point on the x axis to which `x0`, `x1`","and x coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `xsizemode` not set to *pixel*."].join(" ")},x0:{valType:"any",editType:"calc+arraydraw",description:["Sets the shape's starting x position.","See `type` and `xsizemode` for more info."].join(" ")},x1:{valType:"any",editType:"calc+arraydraw",description:["Sets the shape's end x position.","See `type` and `xsizemode` for more info."].join(" ")},yref:o({},r.yref,{description:["Sets the annotation's y coordinate axis.",l.axisRefDescription("y","bottom","top")].join(" ")}),ysizemode:{valType:"enumerated",values:["scaled","pixel"],dflt:"scaled",editType:"calc+arraydraw",description:["Sets the shapes's sizing mode along the y axis.","If set to *scaled*, `y0`, `y1` and y coordinates within `path` refer to","data values on the y axis or a fraction of the plot area's height","(`yref` set to *paper*).","If set to *pixel*, `yanchor` specifies the y position in terms","of data or plot fraction but `y0`, `y1` and y coordinates within `path`","are pixels relative to `yanchor`. This way, the shape can have","a fixed height while maintaining a position relative to data or","plot fraction."].join(" ")},yanchor:{valType:"any",editType:"calc+arraydraw",description:["Only relevant in conjunction with `ysizemode` set to *pixel*.","Specifies the anchor point on the y axis to which `y0`, `y1`","and y coordinates within `path` are relative to.","E.g. useful to attach a pixel sized shape to a certain data value.","No effect when `ysizemode` not set to *pixel*."].join(" ")},y0:{valType:"any",editType:"calc+arraydraw",description:["Sets the shape's starting y position.","See `type` and `ysizemode` for more info."].join(" ")},y1:{valType:"any",editType:"calc+arraydraw",description:["Sets the shape's end y position.","See `type` and `ysizemode` for more info."].join(" ")},path:{valType:"string",editType:"calc+arraydraw",description:["For `type` *path* - a valid SVG path with the pixel values","replaced by data values in `xsizemode`/`ysizemode` being *scaled*","and taken unmodified as pixels relative to `xanchor` and `yanchor`","in case of *pixel* size mode.","There are a few restrictions / quirks","only absolute instructions, not relative. So the allowed segments","are: M, L, H, V, Q, C, T, S, and Z","arcs (A) are not allowed because radius rx and ry are relative.","In the future we could consider supporting relative commands,","but we would have to decide on how to handle date and log axes.","Note that even as is, Q and C Bezier paths that are smooth on","linear axes may not be smooth on log, and vice versa.",'no chained "polybezier" commands - specify the segment type for',"each one.","On category axes, values are numbers scaled to the serial numbers","of categories because using the categories themselves there would","be no way to describe fractional positions","On data axes: because space and T are both normal components of path","strings, we can't use either to separate date from time parts.","Therefore we'll use underscore for this purpose:","2015-02-21_13:45:56.789"].join(" ")},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"arraydraw",description:"Sets the opacity of the shape."},line:{color:o({},n.color,{editType:"arraydraw"}),width:o({},n.width,{editType:"calc+arraydraw"}),dash:o({},a,{editType:"arraydraw"}),editType:"calc+arraydraw"},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"arraydraw",description:["Sets the color filling the shape's interior. Only applies to closed shapes."].join(" ")},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd",editType:"arraydraw",description:["Determines which regions of complex paths constitute the interior.","For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule"].join(" ")},editable:{valType:"boolean",dflt:!1,editType:"calc+arraydraw",description:["Determines whether the shape could be activated for edit or not.","Has no effect when the older editable shapes mode is enabled via","`config.editable` or `config.edits.shapePosition`."].join(" ")},editType:"arraydraw"})})),i.register("1Mzjk",(function(e,t){"use strict";var r=i("aDPZG"),n=i("jzgPx"),a=i("j2cSz"),o=i("jeprC"),s=i("idGoB");function l(e,t,a){function i(n,a){return r.coerce(e,t,o,n,a)}if(i("visible")){var l=i("path"),c=i("type",l?"path":"rect");"path"!==t.type&&delete t.path,i("editable"),i("layer"),i("opacity"),i("fillcolor"),i("fillrule"),i("line.width")&&(i("line.color"),i("line.dash"));for(var u=i("xsizemode"),d=i("ysizemode"),f=["x","y"],h=0;h<2;h++){var p,g,v,m=f[h],y=m+"anchor",x="x"===m?u:d,b={_fullLayout:a},_=n.coerceRef(e,t,b,m,void 0,"paper");if("range"===n.getRefType(_)?((p=n.getFromId(b,_))._shapeIndices.push(t._index),v=s.rangeToShapePosition(p),g=s.shapePositionToRange(p)):g=v=r.identity,"path"!==c){var w=m+"0",k=m+"1",T=e[w],M=e[k];e[w]=g(e[w],!0),e[k]=g(e[k],!0),"pixel"===x?(i(w,0),i(k,10)):(n.coercePosition(t,b,i,_,w,.25),n.coercePosition(t,b,i,_,k,.75)),t[w]=v(t[w]),t[k]=v(t[k]),e[w]=T,e[k]=M}if("pixel"===x){var A=e[y];e[y]=g(e[y],!0),n.coercePosition(t,b,i,_,y,.25),t[y]=v(t[y]),e[y]=A}}"path"===c?i("path"):r.noneOrAll(e,t,["x0","x1","y0","y1"])}}e.exports=function(e,t){a(e,t,{name:"shapes",handleItemDefaults:l})}})),i.register("h8pzC",(function(e,t){"use strict";var r=i("1Jf1D");e.exports=function(e,t,n){if(n("newshape.drawdirection"),n("newshape.layer"),n("newshape.fillcolor"),n("newshape.fillrule"),n("newshape.opacity"),n("newshape.line.width")){var a=(e||{}).plot_bgcolor||"#FFF";n("newshape.line.color",r.contrast(a)),n("newshape.line.dash")}n("activeshape.fillcolor"),n("activeshape.opacity")}})),i.register("1Mrk3",(function(e,t){"use strict";var r=i("aDPZG"),n=i("jzgPx"),a=i("iVD8b"),o=i("idGoB");function s(e){return c(e.line.width,e.xsizemode,e.x0,e.x1,e.path,!1)}function l(e){return c(e.line.width,e.ysizemode,e.y0,e.y1,e.path,!0)}function c(e,t,n,i,s,l){var c=e/2,u=l;if("pixel"===t){var d=s?o.extractPathCoords(s,l?a.paramIsY:a.paramIsX):[n,i],f=r.aggNums(Math.max,null,d),h=r.aggNums(Math.min,null,d),p=h<0?Math.abs(h)+c:c,g=f>0?f+c:c;return{ppad:c,ppadplus:u?p:g,ppadminus:u?g:p}}return{ppad:c}}function u(e,t,r,n,i){var s="category"===e.type||"multicategory"===e.type?e.r2c:e.d2c;if(void 0!==t)return[s(t),s(r)];if(n){var l,c,u,d,f=1/0,h=-1/0,p=n.match(a.segmentRE);for("date"===e.type&&(s=o.decodeDate(s)),l=0;lh&&(h=d)));return h>=f?[f,h]:void 0}}e.exports=function(e){var t=e._fullLayout,i=r.filterVisible(t.shapes);if(i.length&&e._fullData.length)for(var o=0;o0)&&(o("active"),o("direction"),o("type"),o("showactive"),o("x"),o("y"),r.noneOrAll(e,t,["x","y"]),o("xanchor"),o("yanchor"),o("pad.t"),o("pad.r"),o("pad.b"),o("pad.l"),r.coerceFont(o,"font",i.font),o("bgcolor",i.paper_bgcolor),o("bordercolor"),o("borderwidth"))}function c(e,t){function n(n,a){return r.coerce(e,t,s,n,a)}n("visible","skip"===e.method||Array.isArray(e.args))&&(n("method"),n("args"),n("args2"),n("label"),n("execute"))}e.exports=function(e,t){n(e,t,{name:o,handleItemDefaults:l})}})),i.register("14utf",(function(e,t){"use strict";var r=i("fP9PH"),n=i("dx7II"),a=i("1Jf1D"),o=i("4iYWi"),s=i("aDPZG"),l=i("9evQg"),c=i("6bzyY").arrayEditor,u=i("7GWIR").LINE_SPACING,d=i("ho1Fm"),f=i("8jxL4");function h(e){return e._index}function p(e,t){return+e.attr(d.menuIndexAttrName)===t._index}function g(e,t,r,n,a,i,o,s){t.active=o,c(e.layout,d.name,t).applyUpdate("active",o),"buttons"===t.type?m(e,n,null,null,t):"dropdown"===t.type&&(a.attr(d.menuIndexAttrName,"-1"),v(e,n,a,i,t),s||m(e,n,a,i,t))}function v(e,t,r,n,a){var i=s.ensureSingle(t,"g",d.headerClassName,(function(e){e.style("pointer-events","all")})),l=a._dims,c=a.active,u=a.buttons[c]||d.blankHeaderOpts,f={y:a.pad.t,yPad:0,x:a.pad.l,xPad:0,index:0},h={width:l.headerWidth,height:l.headerHeight};i.call(y,a,u,e).call(A,a,f,h),s.ensureSingle(t,"text",d.headerArrowClassName,(function(e){e.attr("text-anchor","end").call(o.font,a.font).text(d.arrowSymbol[a.direction])})).attr({x:l.headerWidth-d.arrowOffsetX+a.pad.l,y:l.headerHeight/2+d.textOffsetY+a.pad.t}),i.on("click",(function(){r.call(S,String(p(r,a)?-1:a._index)),m(e,t,r,n,a)})),i.on("mouseover",(function(){i.call(w)})),i.on("mouseout",(function(){i.call(k,a)})),o.setTranslate(t,l.lx,l.ly)}function m(e,t,a,i,o){a||(a=t).attr("pointer-events","all");var l=function(e){return-1==+e.attr(d.menuIndexAttrName)}(a)&&"buttons"!==o.type?[]:o.buttons,c="dropdown"===o.type?d.dropdownButtonClassName:d.buttonClassName,u=a.selectAll("g."+c).data(s.filterVisible(l)),f=u.enter().append("g").classed(c,!0),h=u.exit();"dropdown"===o.type?(f.attr("opacity","0").transition().attr("opacity","1"),h.transition().attr("opacity","0").remove()):h.remove();var p=0,v=0,m=o._dims,x=-1!==["up","down"].indexOf(o.direction);"dropdown"===o.type&&(x?v=m.headerHeight+d.gapButtonHeader:p=m.headerWidth+d.gapButtonHeader),"dropdown"===o.type&&"up"===o.direction&&(v=-d.gapButtonHeader+d.gapButton-m.openHeight),"dropdown"===o.type&&"left"===o.direction&&(p=-d.gapButtonHeader+d.gapButton-m.openWidth);var b={x:m.lx+p+o.pad.l,y:m.ly+v+o.pad.t,yPad:d.gapButton,xPad:d.gapButton,index:0},T={l:b.x+o.borderwidth,t:b.y+o.borderwidth};u.each((function(s,l){var c=r.select(this);c.call(y,o,s,e).call(A,o,b),c.on("click",(function(){r.event.defaultPrevented||(s.execute&&(s.args2&&o.active===l?(g(e,o,0,t,a,i,-1),n.executeAPICommand(e,s.method,s.args2)):(g(e,o,0,t,a,i,l),n.executeAPICommand(e,s.method,s.args))),e.emit("plotly_buttonclicked",{menu:o,button:s,active:o.active}))})),c.on("mouseover",(function(){c.call(w)})),c.on("mouseout",(function(){c.call(k,o),u.call(_,o)}))})),u.call(_,o),x?(T.w=Math.max(m.openWidth,m.headerWidth),T.h=b.y-T.t):(T.w=b.x-T.l,T.h=Math.max(m.openHeight,m.headerHeight)),T.direction=o.direction,i&&(u.size()?function(e,t,r,n,a,i){var o,s,l,c=a.direction,u="up"===c||"down"===c,f=a._dims,h=a.active;if(u)for(s=0,l=0;l0?[0]:[]);if(o.enter().append("g").classed(d.containerClassName,!0).style("cursor","pointer"),o.exit().each((function(){r.select(this).selectAll("g."+d.headerGroupClassName).each(i)})).remove(),0!==a.length){var l=o.selectAll("g."+d.headerGroupClassName).data(a,h);l.enter().append("g").classed(d.headerGroupClassName,!0);for(var c=s.ensureSingle(o,"g",d.dropdownButtonGroupClassName,(function(e){e.style("pointer-events","all")})),u=0;uw,M=s.barLength+2*s.barPad,A=s.barWidth+2*s.barPad,S=p,L=v+m;L+A>c&&(L=c-A);var D=this.container.selectAll("rect.scrollbar-horizontal").data(T?[0]:[]);D.exit().on(".drag",null).remove(),D.enter().append("rect").classed("scrollbar-horizontal",!0).call(n.fill,s.barColor),T?(this.hbar=D.attr({rx:s.barRadius,ry:s.barRadius,x:S,y:L,width:M,height:A}),this._hbarXMin=S+M/2,this._hbarTranslateMax=w-M):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var P=m>k,C=s.barWidth+2*s.barPad,O=s.barLength+2*s.barPad,z=p+g,I=v;z+C>l&&(z=l-C);var j=this.container.selectAll("rect.scrollbar-vertical").data(P?[0]:[]);j.exit().on(".drag",null).remove(),j.enter().append("rect").classed("scrollbar-vertical",!0).call(n.fill,s.barColor),P?(this.vbar=j.attr({rx:s.barRadius,ry:s.barRadius,x:z,y:I,width:C,height:O}),this._vbarYMin=I+O/2,this._vbarTranslateMax=k-O):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var R=this.id,E=u-.5,N=P?d+C+.5:d+.5,F=f-.5,H=T?h+A+.5:h+.5,B=o._topdefs.selectAll("#"+R).data(T||P?[0]:[]);if(B.exit().remove(),B.enter().append("clipPath").attr("id",R).append("rect"),T||P?(this._clipRect=B.select("rect").attr({x:Math.floor(E),y:Math.floor(F),width:Math.ceil(N)-Math.floor(E),height:Math.ceil(H)-Math.floor(F)}),this.container.call(a.setClipUrl,R,this.gd),this.bg.attr({x:p,y:v,width:g,height:m})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),T||P){var U=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault()})).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(U);var G=r.behavior.drag().on("dragstart",(function(){r.event.sourceEvent.preventDefault(),r.event.sourceEvent.stopPropagation()})).on("drag",this._onBarDrag.bind(this));T&&this.hbar.on(".drag",null).call(G),P&&this.vbar.on(".drag",null).call(G)}this.setTranslate(t,i)},s.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},s.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=r.event.dx),this.vbar&&(t-=r.event.dy),this.setTranslate(e,t)},s.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=r.event.deltaY),this.vbar&&(t+=r.event.deltaY),this.setTranslate(e,t)},s.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var n=e+this._hbarXMin,a=n+this._hbarTranslateMax;e=(o.constrain(r.event.x,n,a)-n)/(a-n)*(this.position.w-this._box.w)}if(this.vbar){var i=t+this._vbarYMin,s=i+this._vbarTranslateMax;t=(o.constrain(r.event.y,i,s)-i)/(s-i)*(this.position.h-this._box.h)}this.setTranslate(e,t)},s.prototype.setTranslate=function(e,t){var r=this.position.w-this._box.w,n=this.position.h-this._box.h;if(e=o.constrain(e||0,0,r),t=o.constrain(t||0,0,n),this.translateX=e,this.translateY=t,this.container.call(a.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var i=e/r;this.hbar.call(a.setTranslate,e+i*this._hbarTranslateMax,t)}if(this.vbar){var s=t/n;this.vbar.call(a.setTranslate,e,t+s*this._vbarTranslateMax)}}})),i.register("28mWW",(function(e,t){"use strict";var r=i("lbNxX");e.exports={moduleType:"component",name:r.name,layoutAttributes:i("3rY67"),supplyLayoutDefaults:i("2wEDZ"),draw:i("9FSrZ")}})),i.register("lbNxX",(function(e,t){"use strict";e.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}})),i.register("3rY67",(function(e,t){"use strict";var r=i("lCAJ8"),n=i("2inVX"),a=i("hYsp9").extendDeepAll,o=i("eR6Xb").overrideAll,s=i("1boxH"),l=i("6bzyY").templatedArray,c=i("lbNxX"),u=l("step",{visible:{valType:"boolean",dflt:!0,description:["Determines whether or not this step is included in the slider."].join(" ")},method:{valType:"enumerated",values:["restyle","relayout","animate","update","skip"],dflt:"restyle",description:["Sets the Plotly method to be called when the slider value is changed.","If the `skip` method is used, the API slider will function as normal","but will perform no API calls and will not bind automatically to state","updates. This may be used to create a component interface and attach to","slider events manually via JavaScript."].join(" ")},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}],description:["Sets the arguments values to be passed to the Plotly","method set in `method` on slide."].join(" ")},label:{valType:"string",description:"Sets the text label to appear on the slider"},value:{valType:"string",description:["Sets the value of the slider step, used to refer to the step programatically.","Defaults to the slider label if not provided."].join(" ")},execute:{valType:"boolean",dflt:!0,description:["When true, the API method is executed. When false, all other behaviors are the same","and command execution is skipped. This may be useful when hooking into, for example,","the `plotly_sliderchange` method and executing the API command manually without losing","the benefit of the slider automatically binding to the state of the plot through the","specification of `method` and `args`."].join(" ")}});e.exports=o(l("slider",{visible:{valType:"boolean",dflt:!0,description:["Determines whether or not the slider is visible."].join(" ")},active:{valType:"number",min:0,dflt:0,description:["Determines which button (by index starting from 0) is","considered active."].join(" ")},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction",description:["Determines whether this slider length","is set in units of plot *fraction* or in *pixels.","Use `len` to set the value."].join(" ")},len:{valType:"number",min:0,dflt:1,description:["Sets the length of the slider","This measure excludes the padding of both ends.","That is, the slider's length is this length minus the","padding on both ends."].join(" ")},x:{valType:"number",min:-2,max:3,dflt:0,description:"Sets the x position (in normalized coordinates) of the slider."},pad:a(n({editType:"arraydraw"}),{description:"Set the padding of the slider component along each side."},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",description:["Sets the slider's horizontal position anchor.","This anchor binds the `x` position to the *left*, *center*","or *right* of the range selector."].join(" ")},y:{valType:"number",min:-2,max:3,dflt:0,description:"Sets the y position (in normalized coordinates) of the slider."},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top",description:["Sets the slider's vertical position anchor","This anchor binds the `y` position to the *top*, *middle*","or *bottom* of the range selector."].join(" ")},transition:{duration:{valType:"number",min:0,dflt:150,description:"Sets the duration of the slider transition"},easing:{valType:"enumerated",values:s.transition.easing.values,dflt:"cubic-in-out",description:"Sets the easing function of the slider transition"}},currentvalue:{visible:{valType:"boolean",dflt:!0,description:["Shows the currently-selected value above the slider."].join(" ")},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left",description:["The alignment of the value readout relative to the length of the slider."].join(" ")},offset:{valType:"number",dflt:10,description:["The amount of space, in pixels, between the current value label","and the slider."].join(" ")},prefix:{valType:"string",description:"When currentvalue.visible is true, this sets the prefix of the label."},suffix:{valType:"string",description:"When currentvalue.visible is true, this sets the suffix of the label."},font:r({description:"Sets the font of the current value label text."})},font:r({description:"Sets the font of the slider step labels."}),activebgcolor:{valType:"color",dflt:c.gripBgActiveColor,description:["Sets the background color of the slider grip","while dragging."].join(" ")},bgcolor:{valType:"color",dflt:c.railBgColor,description:"Sets the background color of the slider."},bordercolor:{valType:"color",dflt:c.railBorderColor,description:"Sets the color of the border enclosing the slider."},borderwidth:{valType:"number",min:0,dflt:c.railBorderWidth,description:"Sets the width (in px) of the border enclosing the slider."},ticklen:{valType:"number",min:0,dflt:c.tickLength,description:"Sets the length in pixels of step tick marks"},tickcolor:{valType:"color",dflt:c.tickColor,description:"Sets the color of the border enclosing the slider."},tickwidth:{valType:"number",min:0,dflt:1,description:"Sets the tick width (in px)."},minorticklen:{valType:"number",min:0,dflt:c.minorTickLength,description:"Sets the length in pixels of minor step tick marks"}}),"arraydraw","from-root")})),i.register("2wEDZ",(function(e,t){"use strict";var r=i("aDPZG"),n=i("j2cSz"),a=i("3rY67"),o=i("lbNxX").name,s=a.steps;function l(e,t,i){function o(n,i){return r.coerce(e,t,a,n,i)}for(var s=n(e,t,{name:"steps",handleItemDefaults:c}),l=0,u=0;u0&&(s=s.transition().duration(t.transition.duration).ease(t.transition.easing)),s.attr("transform",l(o-.5*d.gripWidth,t._dims.currentValueTotalHeight))}}function L(e,t){var r=e._dims;return r.inputAreaStart+d.stepInset+(r.inputAreaLength-2*d.stepInset)*Math.min(1,Math.max(0,t))}function D(e,t){var r=e._dims;return Math.min(1,Math.max(0,(t-d.stepInset-r.inputAreaStart)/(r.inputAreaLength-2*d.stepInset-2*r.inputAreaStart)))}function P(e,t,r){var n=r._dims,i=s.ensureSingle(e,"rect",d.railTouchRectClass,(function(n){n.call(M,t,e,r).style("pointer-events","all")}));i.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,d.tickOffset+r.ticklen+n.labelHeight)}).call(a.fill,r.bgcolor).attr("opacity",0),o.setTranslate(i,0,n.currentValueTotalHeight)}function C(e,t){var r=t._dims,n=r.inputAreaLength-2*d.railInset,i=s.ensureSingle(e,"rect",d.railRectClass);i.attr({width:n,height:d.railWidth,rx:d.railRadius,ry:d.railRadius,"shape-rendering":"crispEdges"}).call(a.stroke,t.bordercolor).call(a.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),o.setTranslate(i,d.railInset,.5*(r.inputAreaWidth-d.railWidth)+r.currentValueTotalHeight)}e.exports=function(e){var t=e._fullLayout,a=function(e,t){for(var r=e[d.name],n=[],a=0;a0?[0]:[]);function s(t){t._commandObserver&&(t._commandObserver.remove(),delete t._commandObserver),n.autoMargin(e,v(t))}if(i.enter().append("g").classed(d.containerClassName,!0).style("cursor","ew-resize"),i.exit().each((function(){r.select(this).selectAll("g."+d.groupClassName).each(s)})).remove(),0!==a.length){var l=i.selectAll("g."+d.groupClassName).data(a,m);l.enter().append("g").classed(d.groupClassName,!0),l.exit().each(s).remove();for(var c=0;cn),(e=>n=e)),t(e.exports,"autoMarginOpts",(()=>o),(e=>o=e)),t(e.exports,"makeData",(()=>a),(e=>a=e));var s=i("hWd71"),l=i("9evQg"),c=i("5kMnw"),u=i("7GWIR").LINE_SPACING,d=c.name;function f(e){var t=e&&e[d];return t&&t.visible}n=f,a=function(e){var t=s.list({_fullLayout:e},"x",!0),r=e.margin,n=[];if(!e._has("gl2d"))for(var a=0;a=n.max)t=E[r+1];else if(e=n.pmax)t=E[r+1];else if(e0)){var g=function(e,t,r){for(var n=r.filter((function(r){return t[r].anchor===e._id})),a=0,i=0;i1){if(!f&&!h&&!p)"independent"===T("pattern")&&(f=!0);v._hasSubplotGrid=f;var x,b,_="top to bottom"===T("roworder"),w=f?.2:.1,k=f?.3:.1;g&&t._splomGridDflt&&(x=t._splomGridDflt.xside,b=t._splomGridDflt.yside),v._domains={x:u("x",T,w,x,y),y:u("y",T,k,b,m,_)}}else delete t.grid}function T(e,t){return r.coerce(n,v,l,e,t)}},contentDefaults:function(e,t){var r=t.grid;if(r&&r._domains){var n,a,i,o,s,l,u,f=e.grid||{},h=t._subplots,p=r._hasSubplotGrid,g=r.rows,v=r.columns,m="independent"===r.pattern,y=r._axisMap={};if(p){var x=f.subplots||[];l=r.subplots=new Array(g);var b=1;for(n=0;na),(e=>a=e)),t(e.exports,"attributes",(()=>n),(e=>n=e));var o=i("hYsp9").extendFlat;n=function(e,t){t=t||{};var r={valType:"info_array",editType:(e=e||{}).editType,items:[{valType:"number",min:0,max:1,editType:e.editType},{valType:"number",min:0,max:1,editType:e.editType}],dflt:[0,1]},n=e.name?e.name+" ":"",a=e.trace?"trace ":"subplot ",i=t.description?" "+t.description:"",s={x:o({},r,{description:["Sets the horizontal domain of this ",n,a,"(in plot fraction).",i].join("")}),y:o({},r,{description:["Sets the vertical domain of this ",n,a,"(in plot fraction).",i].join("")}),editType:e.editType};return e.noGridCell||(s.row={valType:"integer",min:0,dflt:0,editType:e.editType,description:["If there is a layout grid, use the domain ","for this row in the grid for this ",n,a,".",i].join("")},s.column={valType:"integer",min:0,dflt:0,editType:e.editType,description:["If there is a layout grid, use the domain ","for this column in the grid for this ",n,a,".",i].join("")}),s},a=function(e,t,r,n){var a=n&&n.x||[0,1],i=n&&n.y||[0,1],o=t.grid;if(o){var s=r("domain.column");void 0!==s&&(s0;t.each((function(t){var d,f=t[0].trace,h=f.error_x||{},p=f.error_y||{};f.ids&&(d=function(e){return e.id});var g=o.hasMarkers(f)&&f.marker.maxdisplayed>0;p.visible||h.visible||(t=[]);var v=r.select(this).selectAll("g.errorbar").data(t,d);if(v.exit().remove(),t.length){h.visible||v.selectAll("path.xerror").remove(),p.visible||v.selectAll("path.yerror").remove(),v.style("opacity",1);var m=v.enter().append("g").classed("errorbar",!0);u&&m.style("opacity",0).transition().duration(s.duration).style("opacity",1),a.setClipUrl(v,i.layerClipId,e),v.each((function(e){var t=r.select(this),a=function(e,t,r){var a={x:t.c2p(e.x),y:r.c2p(e.y)};void 0!==e.yh&&(a.yh=r.c2p(e.yh),a.ys=r.c2p(e.ys),n(a.ys)||(a.noYS=!0,a.ys=r.c2p(e.ys,!0)));void 0!==e.xh&&(a.xh=t.c2p(e.xh),a.xs=t.c2p(e.xs),n(a.xs)||(a.noXS=!0,a.xs=t.c2p(e.xs,!0)));return a}(e,l,c);if(!g||e.vis){var i,o=t.select("path.yerror");if(p.visible&&n(a.x)&&n(a.yh)&&n(a.ys)){var d=p.width;i="M"+(a.x-d)+","+a.yh+"h"+2*d+"m-"+d+",0V"+a.ys,a.noYS||(i+="m-"+d+",0h"+2*d),!o.size()?o=t.append("path").style("vector-effect","non-scaling-stroke").classed("yerror",!0):u&&(o=o.transition().duration(s.duration).ease(s.easing)),o.attr("d",i)}else o.remove();var f=t.select("path.xerror");if(h.visible&&n(a.y)&&n(a.xh)&&n(a.xs)){var v=(h.copy_ystyle?p:h).width;i="M"+a.xh+","+(a.y-v)+"v"+2*v+"m0,-"+v+"H"+a.xs,a.noXS||(i+="m0,-"+v+"v"+2*v),!f.size()?f=t.append("path").style("vector-effect","non-scaling-stroke").classed("xerror",!0):u&&(f=f.transition().duration(s.duration).ease(s.easing)),f.attr("d",i)}else f.remove()}}))}}))}})),i.register("kx9WT",(function(e,t){"use strict";var r=i("fP9PH"),n=i("1Jf1D");e.exports=function(e){e.each((function(e){var t=e[0].trace,a=t.error_y||{},i=t.error_x||{},o=r.select(this);o.selectAll("path.yerror").style("stroke-width",a.thickness+"px").call(n.stroke,a.color),i.copy_ystyle&&(i=a),o.selectAll("path.xerror").style("stroke-width",i.thickness+"px").call(n.stroke,i.color)}))}})),i.register("ix0X4",(function(e,t){"use strict";e.exports={moduleType:"component",name:"colorbar",attributes:i("cAXb5"),supplyDefaults:i("joU2w"),draw:i("cSt2y").draw,hasColorbar:i("lRtuB")}})),i.register("cSt2y",(function(e,t){"use strict";var r=i("fP9PH"),n=i("eyX4U"),a=i("dx7II"),o=i("LWtQ1"),s=i("jzgPx"),l=i("fh3b6"),c=i("aDPZG"),u=c.strTranslate,d=i("hYsp9").extendFlat,f=i("Tbkiv"),h=i("4iYWi"),p=i("1Jf1D"),g=i("cHRUQ"),v=i("9evQg"),m=i("51sw9").flipScale,y=i("3zrIK"),x=i("9vIJk"),b=i("9fCTe"),_=i("7GWIR"),w=_.LINE_SPACING,k=_.FROM_TL,T=_.FROM_BR,M=i("lA54i").cn;e.exports={draw:function(e){var t=e._fullLayout._infolayer.selectAll("g."+M.colorbar).data(function(e){var t,r,n,a,i=e._fullLayout,o=e.calcdata,s=[];function l(e){return d(e,{_fillcolor:null,_line:{color:null,width:null,dash:null},_levels:{start:null,end:null,size:null},_filllevels:null,_fillgradient:null,_zrange:null})}function c(){"function"==typeof a.calc?a.calc(e,n,t):(t._fillgradient=r.reversescale?m(r.colorscale):r.colorscale,t._zrange=[r[a.min],r[a.max]])}for(var u=0;u0?n>=l:n<=l));a++)n>u&&n0?n>=l:n<=l));a++)n>r[0]&&n1){var J=Math.pow(10,Math.floor(Math.log(X)/Math.LN10));Y*=J*c.roundUp(X/J,[2,5,10]),(Math.abs(P.start)/P.size+1e-6)%1<2e-6&&(V.tick0=0)}V.dtick=Y}V.domain=[G+H,G+E-H],V.setScale(),e.attr("transform",u(Math.round(l.l),Math.round(l.t)));var Q,K=e.select("."+M.cbtitleunshift).attr("transform",u(-Math.round(l.l),-Math.round(l.t))),$=e.select("."+M.cbaxis),ee=0;function te(r,n){var a={propContainer:V,propName:t._propPrefix+"title",traceIndex:t._traceIndex,_meta:t._meta,placeholder:o._dfltTitle.colorbar,containerGroup:e.select("."+M.cbtitle)},s="h"===r.charAt(0)?r.substr(1):"h"+r;e.selectAll("."+s+",."+s+"-math-group").remove(),g.draw(i,r,d(a,n||{}))}function re(){if(-1!==["top","bottom"].indexOf(A)){var e,r=l.l+(t.x+N)*l.w,n=V.title.font.size;e="top"===A?(1-(G+E-H))*l.h+l.t+3+.75*n:(1-(G+H))*l.h+l.t-3-.25*n,te(V._id+"title",{attributes:{x:r,y:e,"text-anchor":"start"}})}}function ne(){if(-1===["top","bottom"].indexOf(A)){var e=V.title.font.size,t=V._offset+V._length/2,n=l.l+(V.position||0)*l.w+("right"===V.side?10+e*(V.showticklabels?1:.5):-10-e*(V.showticklabels?.5:0));te("h"+V._id+"title",{avoid:{selection:r.select(i).selectAll("g."+V._id+"tick"),side:A,offsetLeft:l.l,offsetTop:0,maxShift:o.width},attributes:{x:n,y:t,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}}function ae(){if(-1!==["top","bottom"].indexOf(A)){var a=e.select("."+M.cbtitle),o=a.select("text"),d=[-t.outlinewidth/2,t.outlinewidth/2],f=a.select(".h"+V._id+"title-math-group").node(),p=15.6;if(o.node()&&(p=parseInt(o.node().style.fontSize,10)*w),f?(ee=h.bBox(f).height)>p&&(d[1]-=(ee-p)/2):o.node()&&!o.classed(M.jsPlaceholder)&&(ee=h.bBox(o.node()).height),ee){if(ee+=5,"top"===A)V.domain[1]-=ee/l.h,d[1]*=-1;else{V.domain[0]+=ee/l.h;var g=v.lineCount(o);d[1]+=(1-g)*p}a.attr("transform",u(d[0],d[1])),V.setScale()}}e.selectAll("."+M.cbfills+",."+M.cblines).attr("transform",u(0,Math.round(l.h*(1-V.domain[1])))),$.attr("transform",u(0,Math.round(-l.t)));var y=e.select("."+M.cbfills).selectAll("rect."+M.cbfill).attr("style","").data(O);y.enter().append("rect").classed(M.cbfill,!0).style("stroke","none"),y.exit().remove();var x=S.map(V.c2p).map(Math.round).sort((function(e,t){return e-t}));y.each((function(e,a){var o=[0===a?S[0]:(O[a]+O[a-1])/2,a===O.length-1?S[1]:(O[a]+O[a+1])/2].map(V.c2p).map(Math.round);o[1]=c.constrain(o[1]+(o[1]>o[0])?1:-1,x[0],x[1]);var s=r.select(this).attr({x:B,width:Math.max(I,2),y:r.min(o),height:Math.max(r.max(o)-r.min(o),2)});if(t._fillgradient)h.gradient(s,i,t._id,"vertical",t._fillgradient,"fill");else{var l=D(e).replace("e-","");s.attr("fill",n(l).toHexString())}}));var b=e.select("."+M.cblines).selectAll("path."+M.cbline).data(m.color&&m.width?z:[]);b.enter().append("path").classed(M.cbline,!0),b.exit().remove(),b.each((function(e){r.select(this).attr("d","M"+B+","+(Math.round(V.c2p(e))+m.width/2%1)+"h"+I).call(h.lineGroupStyle,m.width,L(e),m.dash)})),$.selectAll("g."+V._id+"tick,path").remove();var _=B+I+(t.outlinewidth||0)/2-("outside"===t.ticks?1:0),k=s.calcTicks(V),T=s.getTickSigns(V)[2];return s.drawTicks(i,V,{vals:"inside"===V.ticks?s.clipEnds(V,k):k,layer:$,path:s.makeTickPath(V,_,T),transFn:s.makeTransTickFn(V)}),s.drawLabels(i,V,{vals:k,layer:$,transFn:s.makeTransTickLabelFn(V),labelFns:s.makeLabelFns(V,_)})}function ie(){var r=I+t.outlinewidth/2;if(-1===V.ticklabelposition.indexOf("inside")&&(r+=h.bBox($.node()).width),(Q=K.select("text")).node()&&!Q.classed(M.jsPlaceholder)){var n,o=K.select(".h"+V._id+"title-math-group").node();n=o&&-1!==["top","bottom"].indexOf(A)?h.bBox(o).width:h.bBox(K.node()).right-B-l.l,r=Math.max(r,n)}var s=2*t.xpad+r+t.borderwidth+t.outlinewidth/2,c=Z-q;e.select("."+M.cbbg).attr({x:B-t.xpad-(t.borderwidth+t.outlinewidth)/2,y:q-F,width:Math.max(s,2),height:Math.max(c+2*F,2)}).call(p.fill,t.bgcolor).call(p.stroke,t.bordercolor).style("stroke-width",t.borderwidth),e.selectAll("."+M.cboutline).attr({x:B,y:q+t.ypad+("top"===A?ee:0),width:Math.max(I,2),height:Math.max(c-2*t.ypad-ee,2)}).call(p.stroke,t.outlinecolor).style({fill:"none","stroke-width":t.outlinewidth});var d=({center:.5,right:1}[t.xanchor]||0)*s;e.attr("transform",u(l.l-d,l.t));var f={},g=k[t.yanchor],v=T[t.yanchor];"pixels"===t.lenmode?(f.y=t.y,f.t=c*g,f.b=c*v):(f.t=f.b=0,f.yt=t.y+t.len*g,f.yb=t.y-t.len*v);var m=k[t.xanchor],y=T[t.xanchor];if("pixels"===t.thicknessmode)f.x=t.x,f.l=s*m,f.r=s*y;else{var x=s-I;f.l=x*m,f.r=x*y,f.xl=t.x-t.thickness*m,f.xr=t.x+t.thickness*y}a.autoMargin(i,t._id,f)}return c.syncOrAsync([a.previousPromises,re,ae,ne,a.previousPromises,ie],i)}(i,t,e);m&&m.then&&(e._promises||[]).push(m),e._context.edits.colorbarPosition&&function(e,t,r){var n,a,i,s=r._fullLayout._size;l.init({element:e.node(),gd:r,prepFn:function(){n=e.attr("transform"),f(e)},moveFn:function(r,o){e.attr("transform",n+u(r,o)),a=l.align(t._xLeftFrac+r/s.w,t._thickFrac,0,1,t.xanchor),i=l.align(t._yBottomFrac-o/s.h,t._lenFrac,0,1,t.yanchor);var c=l.getCursor(a,i,t.xanchor,t.yanchor);f(e,c)},doneFn:function(){if(f(e),void 0!==a&&void 0!==i){var n={};n[t._propPrefix+"x"]=a,n[t._propPrefix+"y"]=i,void 0!==t._traceIndex?o.call("_guiRestyle",r,n,t._traceIndex):o.call("_guiRelayout",r,n)}}})}(i,t,e)})),t.exit().each((function(t){a.autoMargin(e,t._id)})).remove(),t.order()}}})),i.register("lA54i",(function(e,t){"use strict";e.exports={cn:{colorbar:"colorbar",cbbg:"cbbg",cbfill:"cbfill",cbfills:"cbfills",cbline:"cbline",cblines:"cblines",cbaxis:"cbaxis",cbtitleunshift:"cbtitleunshift",cbtitle:"cbtitle",cboutline:"cboutline",crisp:"crisp",jsPlaceholder:"js-placeholder"}}})),i.register("kDmH0",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en",dictionary:{"Click to enter Colorscale title":"Click to enter Colourscale title"},format:{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"],periods:["AM","PM"],dateTime:"%a %b %e %X %Y",date:"%d/%m/%Y",time:"%H:%M:%S",decimal:".",thousands:",",grouping:[3],currency:["$",""],year:"%Y",month:"%b %Y",dayMonth:"%b %-d",dayMonthYear:"%b %-d, %Y"}}})),i.register("GyFj1",(function(e,t){"use strict";e.exports={moduleType:"locale",name:"en-US",dictionary:{"Click to enter Colorscale title":"Click to enter Colorscale title"},format:{date:"%m/%d/%Y"}}})),i.register("6gCOK",(function(e,t){"use strict";var r=i("dS0QA"),n={getDelay:r.getDelay,getRedrawFunc:r.getRedrawFunc,clone:i("2KuXk"),toSVG:i("1tGVv"),svgToImg:i("2Kuoq"),toImage:i("eTAQp"),downloadImage:i("1ds32")};e.exports=n})),i.register("2KuXk",(function(e,t){"use strict";var r=i("LWtQ1"),n=i("aDPZG"),a=n.extendFlat,o=n.extendDeep;function s(e){var t;switch(e){case"themes__thumb":t={autosize:!0,width:150,height:150,title:{text:""},showlegend:!1,margin:{l:5,r:5,t:5,b:5,pad:0},annotations:[]};break;case"thumbnail":t={title:{text:""},hidesources:!0,showlegend:!1,borderwidth:0,bordercolor:"",margin:{l:1,r:1,t:1,b:1,pad:0},annotations:[]};break;default:t={}}return t}e.exports=function(e,t){var n,i,l=e.data,c=e.layout,u=o([],l),d=o({},c,s(t.tileClass)),f=e._context||{};if(t.width&&(d.width=t.width),t.height&&(d.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){d.annotations=[];var h=Object.keys(d);for(n=0;n-1&&(d[h[n]].title={text:""});for(n=0;nn),(e=>n=e)),t(e.exports,"name",(()=>a),(e=>a=e)),t(e.exports,"plot",(()=>o),(e=>o=e));var s=i("dx7II");a="treemap",o=function(e,t,r,n){s.plotBasePlot(a,e,t,r,n)},n=function(e,t,r,n){s.cleanBasePlot(a,e,t,r,n)}})),i.register("i4zEC",(function(e,t){"use strict";var r=i("5khNL").hovertemplateAttrs,n=i("5khNL").texttemplateAttrs,a=i("j6CYR"),o=i("JJe2B").attributes,s=i("aJz4V"),l=i("8FUxn"),c=i("7NY31"),u=i("hYsp9").extendFlat;e.exports={labels:l.labels,parents:l.parents,values:l.values,branchvalues:l.branchvalues,count:l.count,level:l.level,maxdepth:l.maxdepth,tiling:{packing:{valType:"enumerated",values:["squarify","binary","dice","slice","slice-dice","dice-slice"],dflt:"squarify",editType:"plot",description:["Determines d3 treemap solver.","For more info please refer to https://github.com/d3/d3-hierarchy#treemap-tiling"].join(" ")},squarifyratio:{valType:"number",min:1,dflt:1,editType:"plot",description:["When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/master/README.md#squarify_ratio","this option specifies the desired aspect ratio of the generated rectangles.","The ratio must be specified as a number greater than or equal to one.","Note that the orientation of the generated rectangles (tall or wide)","is not implied by the ratio; for example, a ratio of two will attempt","to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2.","When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034,","Plotly applies 1 to increase squares in treemap layouts."].join(" ")},flip:{valType:"flaglist",flags:["x","y"],dflt:"",editType:"plot",description:["Determines if the positions obtained from solver are flipped on each axis."].join(" ")},pad:{valType:"number",min:0,dflt:3,editType:"plot",description:["Sets the inner padding (in px)."].join(" ")},editType:"calc"},marker:u({pad:{t:{valType:"number",min:0,editType:"plot",description:["Sets the padding form the top (in px)."].join(" ")},l:{valType:"number",min:0,editType:"plot",description:["Sets the padding form the left (in px)."].join(" ")},r:{valType:"number",min:0,editType:"plot",description:["Sets the padding form the right (in px)."].join(" ")},b:{valType:"number",min:0,editType:"plot",description:["Sets the padding form the bottom (in px)."].join(" ")},editType:"calc"},colors:l.marker.colors,depthfade:{valType:"enumerated",values:[!0,!1,"reversed"],editType:"style",description:["Determines if the sector colors are faded towards","the background from the leaves up to the headers.","This option is unavailable when a `colorscale` is present,","defaults to false when `marker.colors` is set,","but otherwise defaults to true.","When set to *reversed*, the fading direction is inverted,","that is the top elements within hierarchy are drawn with fully saturated colors","while the leaves are faded towards the background color."].join(" ")},line:l.marker.line,editType:"calc"},a("marker",{colorAttr:"colors",anim:!1})),pathbar:{visible:{valType:"boolean",dflt:!0,editType:"plot",description:["Determines if the path bar is drawn","i.e. outside the trace `domain` and","with one pixel gap."].join(" ")},side:{valType:"enumerated",values:["top","bottom"],dflt:"top",editType:"plot",description:["Determines on which side of the the treemap the","`pathbar` should be presented."].join(" ")},edgeshape:{valType:"enumerated",values:[">","<","|","/","\\"],dflt:">",editType:"plot",description:["Determines which shape is used for edges between `barpath` labels."].join(" ")},thickness:{valType:"number",min:12,editType:"plot",description:["Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used","with 3 pixles extra padding on each side."].join(" ")},textfont:u({},s.textfont,{description:"Sets the font used inside `pathbar`."}),editType:"calc"},text:s.text,textinfo:l.textinfo,texttemplate:n({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:s.hovertext,hoverinfo:l.hoverinfo,hovertemplate:r({},{keys:c.eventDataKeys}),textfont:s.textfont,insidetextfont:s.insidetextfont,outsidetextfont:u({},s.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented on top left corner of a treemap graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"top left",editType:"plot",description:["Sets the positions of the `text` elements."].join(" ")},sort:s.sort,root:l.root,domain:o({name:"treemap",trace:!0,editType:"calc"})}})),i.register("aJz4V",(function(e,t){"use strict";var r=i("803hz"),n=i("JJe2B").attributes,a=i("lCAJ8"),o=i("aVZSU"),s=i("5khNL").hovertemplateAttrs,l=i("5khNL").texttemplateAttrs,c=i("hYsp9").extendFlat,u=a({editType:"plot",arrayOk:!0,colorEditType:"plot",description:"Sets the font used for `textinfo`."});e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the sector labels.","If `labels` entries are duplicated, we sum associated `values`","or simply count occurrences if `values` is not provided.","For other array attributes (including color) we use the first","non-empty entry among all occurrences of the label."].join(" ")},label0:{valType:"number",dflt:0,editType:"calc",description:["Alternate to `labels`.","Builds a numeric set of labels.","Use with `dlabel`","where `label0` is the starting label and `dlabel` the step."].join(" ")},dlabel:{valType:"number",dflt:1,editType:"calc",description:"Sets the label step. See `label0` for more info."},values:{valType:"data_array",editType:"calc",description:["Sets the values of the sectors.","If omitted, we count occurrences of each label."].join(" ")},marker:{colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:{valType:"color",dflt:o.defaultLine,arrayOk:!0,editType:"style",description:["Sets the color of the line enclosing each sector."].join(" ")},width:{valType:"number",min:0,dflt:0,arrayOk:!0,editType:"style",description:["Sets the width (in px) of the line enclosing each sector."].join(" ")},editType:"calc"},editType:"calc"},text:{valType:"data_array",editType:"plot",description:["Sets text elements associated with each sector.","If trace `textinfo` contains a *text* flag, these elements will be seen","on the chart.","If trace `hoverinfo` contains a *text* flag and *hovertext* is not set,","these elements will be seen in the hover labels."].join(" ")},hovertext:{valType:"string",dflt:"",arrayOk:!0,editType:"style",description:["Sets hover text elements associated with each sector.","If a single string, the same string appears for","all data points.","If an array of string, the items are mapped in order of","this trace's sectors.","To be seen, trace `hoverinfo` must contain a *text* flag."].join(" ")},scalegroup:{valType:"string",dflt:"",editType:"calc",description:["If there are multiple pie charts that should be sized according to","their totals, link them by providing a non-empty group id here","shared by every trace in the same group."].join(" ")},textinfo:{valType:"flaglist",flags:["label","text","value","percent"],extras:["none"],editType:"calc",description:["Determines which trace information appear on the graph."].join(" ")},hoverinfo:c({},r.hoverinfo,{flags:["label","text","value","percent","name"]}),hovertemplate:s({},{keys:["label","color","value","percent","text"]}),texttemplate:l({editType:"plot"},{keys:["label","color","value","percent","text"]}),textposition:{valType:"enumerated",values:["inside","outside","auto","none"],dflt:"auto",arrayOk:!0,editType:"plot",description:["Specifies the location of the `textinfo`."].join(" ")},textfont:c({},u,{description:"Sets the font used for `textinfo`."}),insidetextorientation:{valType:"enumerated",values:["horizontal","radial","tangential","auto"],dflt:"auto",editType:"plot",description:["Controls the orientation of the text inside chart sectors.","When set to *auto*, text may be oriented in any direction in order","to be as big as possible in the middle of a sector.","The *horizontal* option orients text to be parallel with the bottom","of the chart, and may make text smaller in order to achieve that goal.","The *radial* option orients text along the radius of the sector.","The *tangential* option orients text perpendicular to the radius of the sector."].join(" ")},insidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying inside the sector."}),outsidetextfont:c({},u,{description:"Sets the font used for `textinfo` lying outside the sector."}),automargin:{valType:"boolean",dflt:!1,editType:"plot",description:["Determines whether outside text labels can push the margins."].join(" ")},title:{text:{valType:"string",dflt:"",editType:"plot",description:["Sets the title of the chart.","If it is empty, no title is displayed.","Note that before the existence of `title.text`, the title's","contents used to be defined as the `title` attribute itself.","This behavior has been deprecated."].join(" ")},font:c({},u,{description:["Sets the font used for `title`.","Note that the title's font used to be set","by the now deprecated `titlefont` attribute."].join(" ")}),position:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"plot",description:["Specifies the location of the `title`.","Note that the title's position used to be set","by the now deprecated `titleposition` attribute."].join(" ")},editType:"plot"},domain:n({name:"pie",trace:!0,editType:"calc"}),hole:{valType:"number",min:0,max:1,dflt:0,editType:"calc",description:["Sets the fraction of the radius to cut out of the pie.","Use this to make a donut chart."].join(" ")},sort:{valType:"boolean",dflt:!0,editType:"calc",description:["Determines whether or not the sectors are reordered","from largest to smallest."].join(" ")},direction:{valType:"enumerated",values:["clockwise","counterclockwise"],dflt:"counterclockwise",editType:"calc",description:["Specifies the direction at which succeeding sectors follow","one another."].join(" ")},rotation:{valType:"number",min:-360,max:360,dflt:0,editType:"calc",description:["Instead of the first slice starting at 12 o'clock,","rotate to some other angle."].join(" ")},pull:{valType:"number",min:0,max:1,dflt:0,arrayOk:!0,editType:"calc",description:["Sets the fraction of larger radius to pull the sectors","out from the center. This can be a constant","to pull all slices apart from each other equally","or an array to highlight one or more slices."].join(" ")},_deprecated:{title:{valType:"string",dflt:"",editType:"calc",description:["Deprecated in favor of `title.text`.","Note that value of `title` is no longer a simple","*string* but a set of sub-attributes."].join(" ")},titlefont:c({},u,{description:"Deprecated in favor of `title.font`."}),titleposition:{valType:"enumerated",values:["top left","top center","top right","middle center","bottom left","bottom center","bottom right"],editType:"calc",description:"Deprecated in favor of `title.position`."}}}})),i.register("8FUxn",(function(e,t){"use strict";var r=i("803hz"),n=i("5khNL").hovertemplateAttrs,a=i("5khNL").texttemplateAttrs,o=i("j6CYR"),s=i("JJe2B").attributes,l=i("aJz4V"),c=i("jlBdF"),u=i("hYsp9").extendFlat;e.exports={labels:{valType:"data_array",editType:"calc",description:["Sets the labels of each of the sectors."].join(" ")},parents:{valType:"data_array",editType:"calc",description:["Sets the parent sectors for each of the sectors.","Empty string items '' are understood to reference","the root node in the hierarchy.",'If `ids` is filled, `parents` items are understood to be "ids" themselves.',"When `ids` is not set, plotly attempts to find matching items in `labels`,","but beware they must be unique."].join(" ")},values:{valType:"data_array",editType:"calc",description:["Sets the values associated with each of the sectors.","Use with `branchvalues` to determine how the values are summed."].join(" ")},branchvalues:{valType:"enumerated",values:["remainder","total"],dflt:"remainder",editType:"calc",description:["Determines how the items in `values` are summed.","When set to *total*, items in `values` are taken to be value of all its descendants.","When set to *remainder*, items in `values` corresponding to the root and the branches sectors","are taken to be the extra part not part of the sum of the values at their leaves."].join(" ")},count:{valType:"flaglist",flags:["branches","leaves"],dflt:"leaves",editType:"calc",description:["Determines default for `values` when it is not provided,","by inferring a 1 for each of the *leaves* and/or *branches*, otherwise 0."].join(" ")},level:{valType:"any",editType:"plot",anim:!0,description:["Sets the level from which this trace hierarchy is rendered.","Set `level` to `''` to start from the root node in the hierarchy.",'Must be an "id" if `ids` is filled in, otherwise plotly attempts to find a matching',"item in `labels`."].join(" ")},maxdepth:{valType:"integer",editType:"plot",dflt:-1,description:["Sets the number of rendered sectors from any given `level`.","Set `maxdepth` to *-1* to render all the levels in the hierarchy."].join(" ")},marker:u({colors:{valType:"data_array",editType:"calc",description:["Sets the color of each sector of this trace.","If not specified, the default trace color set is used","to pick the sector colors."].join(" ")},line:{color:u({},l.marker.line.color,{dflt:null,description:["Sets the color of the line enclosing each sector.","Defaults to the `paper_bgcolor` value."].join(" ")}),width:u({},l.marker.line.width,{dflt:1}),editType:"calc"},editType:"calc"},o("marker",{colorAttr:"colors",anim:!1})),leaf:{opacity:{valType:"number",editType:"style",min:0,max:1,description:["Sets the opacity of the leaves. With colorscale","it is defaulted to 1; otherwise it is defaulted to 0.7"].join(" ")},editType:"plot"},text:l.text,textinfo:{valType:"flaglist",flags:["label","text","value","current path","percent root","percent entry","percent parent"],extras:["none"],editType:"plot",description:["Determines which trace information appear on the graph."].join(" ")},texttemplate:a({editType:"plot"},{keys:c.eventDataKeys.concat(["label","value"])}),hovertext:l.hovertext,hoverinfo:u({},r.hoverinfo,{flags:["label","text","value","name","current path","percent root","percent entry","percent parent"],dflt:"label+text+value+name"}),hovertemplate:n({},{keys:c.eventDataKeys}),textfont:l.textfont,insidetextorientation:l.insidetextorientation,insidetextfont:l.insidetextfont,outsidetextfont:u({},l.outsidetextfont,{description:["Sets the font used for `textinfo` lying outside the sector.","This option refers to the root of the hierarchy","presented at the center of a sunburst graph.","Please note that if a hierarchy has multiple root nodes,","this option won't have any effect and `insidetextfont` would be used."].join(" ")}),rotation:{valType:"angle",dflt:0,editType:"plot",description:["Rotates the whole diagram counterclockwise by some angle.","By default the first slice starts at 3 o'clock."].join(" ")},sort:l.sort,root:{color:{valType:"color",editType:"calc",dflt:"rgba(0,0,0,0)",description:["sets the color of the root node for a sunburst/treemap/icicle trace.","this has no effect when a colorscale is used to set the markers."].join(" ")},editType:"calc"},domain:s({name:"sunburst",trace:!0,editType:"calc"})}})),i.register("jlBdF",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"linear",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"]}})),i.register("7NY31",(function(e,t){"use strict";e.exports={CLICK_TRANSITION_TIME:750,CLICK_TRANSITION_EASING:"poly",eventDataKeys:["currentPath","root","entry","percentRoot","percentEntry","percentParent"],gapWithPathbar:1}})),i.register("2Wma8",(function(e,t){"use strict";e.exports={treemapcolorway:{valType:"colorlist",editType:"calc",description:["Sets the default treemap slice colors. Defaults to the main","`colorway` used for trace colors. If you specify a new","list here it can still be extended with lighter and darker","colors, see `extendtreemapcolors`."].join(" ")},extendtreemapcolors:{valType:"boolean",dflt:!0,editType:"calc",description:["If `true`, the treemap slice colors (whether given by `treemapcolorway` or","inherited from `colorway`) will be extended to three times its","original length by first repeating every color 20% lighter then","each color 20% darker. This is intended to reduce the likelihood","of reusing the same color when you have many slices, but you can","set `false` to disable.","Colors provided in the trace, using `marker.colors`, are never","extended."].join(" ")}}})),i.register("hZJdb",(function(e,t){"use strict";var r=i("aDPZG"),n=i("i4zEC"),a=i("1Jf1D"),o=i("JJe2B").defaults,s=i("luOgj").handleText,l=i("4SlpR").TEXTPAD,c=i("a77K1"),u=c.hasColorscale,d=c.handleDefaults;e.exports=function(e,t,i,c){function f(a,i){return r.coerce(e,t,n,a,i)}var h=f("labels"),p=f("parents");if(h&&h.length&&p&&p.length){var g=f("values");g&&g.length?f("branchvalues"):f("count"),f("level"),f("maxdepth"),"squarify"===f("tiling.packing")&&f("tiling.squarifyratio"),f("tiling.flip"),f("tiling.pad");var v=f("text");f("texttemplate"),t.texttemplate||f("textinfo",Array.isArray(v)?"text+label":"label"),f("hovertext"),f("hovertemplate");var m=f("pathbar.visible");s(e,t,c,f,"auto",{hasPathbar:m,moduleHasSelected:!1,moduleHasUnselected:!1,moduleHasConstrain:!1,moduleHasCliponaxis:!1,moduleHasTextangle:!1,moduleHasInsideanchor:!1}),f("textposition");var y=-1!==t.textposition.indexOf("bottom");f("marker.line.width")&&f("marker.line.color",c.paper_bgcolor);var x=f("marker.colors");(t._hasColorscale=u(e,"marker","colors")||(e.marker||{}).coloraxis)?d(e,t,c,f,{prefix:"marker.",cLetter:"c"}):f("marker.depthfade",!(x||[]).length);var b=2*t.textfont.size;f("marker.pad.t",y?b/4:b),f("marker.pad.l",b/4),f("marker.pad.r",b/4),f("marker.pad.b",y?b:b/4),t._hovered={marker:{line:{width:2,color:a.contrast(c.paper_bgcolor)}}},m&&(f("pathbar.thickness",t.pathbar.textfont.size+2*l),f("pathbar.side"),f("pathbar.edgeshape")),f("sort"),f("root.color"),o(t,c,f),t._length=null}else t.visible=!1}})),i.register("luOgj",(function(e,t){"use strict";var r=i("aDPZG"),n=i("1Jf1D"),a=i("LWtQ1"),o=i("1Wbfa"),s=i("ea8M5"),l=i("7ddcj"),c=i("d3YqK").getAxisGroup,u=i("8Atiy"),d=r.coerceFont;function f(e,t,r,n){var a=t.orientation,i=t[{v:"x",h:"y"}[a]+"axis"],o=c(r,i)+a,s=r._alignmentOpts||{},l=n("alignmentgroup"),u=s[o];u||(u=s[o]={});var d=u[l];d?d.traces.push(t):d=u[l]={traces:[t],alignmentIndex:Object.keys(u).length,offsetGroups:{}};var f=n("offsetgroup"),h=d.offsetGroups,p=h[f];f&&(p||(p=h[f]={offsetIndex:Object.keys(h).length}),t._offsetIndex=p.offsetIndex)}function h(e,t,n,a,i,o){var s=!(!1===(o=o||{}).moduleHasSelected),l=!(!1===o.moduleHasUnselected),c=!(!1===o.moduleHasConstrain),u=!(!1===o.moduleHasCliponaxis),f=!(!1===o.moduleHasTextangle),h=!(!1===o.moduleHasInsideanchor),p=!!o.hasPathbar,g=Array.isArray(i)||"auto"===i,v=g||"inside"===i,m=g||"outside"===i;if(v||m){var y=d(a,"textfont",n.font),x=r.extendFlat({},y),b=!(e.textfont&&e.textfont.color);if(b&&delete x.color,d(a,"insidetextfont",x),p){var _=r.extendFlat({},y);b&&delete _.color,d(a,"pathbar.textfont",_)}m&&d(a,"outsidetextfont",y),s&&a("selected.textfont.color"),l&&a("unselected.textfont.color"),c&&a("constraintext"),u&&a("cliponaxis"),f&&a("textangle"),a("texttemplate")}v&&h&&a("insidetextanchor")}e.exports={supplyDefaults:function(e,t,i,c){function d(n,a){return r.coerce(e,t,u,n,a)}if(o(e,t,c,d)){s(e,t,c,d),d("xhoverformat"),d("yhoverformat"),d("orientation",t.x&&!t.y?"h":"v"),d("base"),d("offset"),d("width"),d("text"),d("hovertext"),d("hovertemplate");var f=d("textposition");h(e,t,c,d,f,{moduleHasSelected:!0,moduleHasUnselected:!0,moduleHasConstrain:!0,moduleHasCliponaxis:!0,moduleHasTextangle:!0,moduleHasInsideanchor:!0}),l(e,t,d,i,c);var p=(t.marker.line||{}).color,g=a.getComponentMethod("errorbars","supplyDefaults");g(e,t,p||n.defaultLine,{axis:"y"}),g(e,t,p||n.defaultLine,{axis:"x",inherit:"y"}),r.coerceSelectionMarkerOpacity(t,d)}else t.visible=!1},crossTraceDefaults:function(e,t){var n;function a(e){return r.coerce(n._input,n,u,e)}if("group"===t.barmode)for(var i=0;in),(e=>n=e)),t(e.exports,"crossTraceCalc",(()=>a),(e=>a=e));var o=i("9klHp");n=function(e,t){return o.calc(e,t)},a=function(e){return o._runCrossTraceCalc("treemap",e)}})),i.register("9klHp",(function(e,r){var n,a;t(e.exports,"calc",(()=>n),(e=>n=e)),t(e.exports,"_runCrossTraceCalc",(()=>a),(e=>a=e));var o=i("jnlYb"),s=i("iGPDD"),l=i("bnpJH"),c=i("aDPZG"),u=i("a77K1").makeColorScaleFuncFromTrace,d=i("lGqvH").makePullColorFn,f=i("lGqvH").generateExtendedColors,h=i("a77K1").calc,p=i("5jyN7").ALMOST_EQUAL,g={},v={},m={};function y(e,t,r){var n=0,a=e.children;if(a){for(var i=a.length,o=0;o=0};x?(r=Math.min(m.length,_.length),n=function(e){return S(m[e])&&L(e)},a=function(e){return String(m[e])}):(r=Math.min(b.length,_.length),n=function(e){return S(b[e])&&L(e)},a=function(e){return String(b[e])}),k&&(r=Math.min(r,w.length));for(var D=0;D1){for(var z=c.randstr(),I=0;Ix)),t(e.exports,"computeHeight",(()=>y)),t(e.exports,"default",(()=>g));var n=i("1QvNq"),a=i("8hUGH"),o=i("l8A3T"),s=i("hQahZ"),l=i("cLIm4"),c=i("b6k7L"),u=i("2jwBf"),d=i("bUzx9"),f=i("kOHDT"),h=i("lMr0v"),p=i("3edp4");function g(e,t){var r,n,a,i,o,s=new x(e),l=+e.value&&(s.value=e.value),c=[s];for(null==t&&(t=v);r=c.pop();)if(l&&(r.value=+r.data.value),(a=t(r.data))&&(o=a.length))for(r.children=new Array(o),i=o-1;i>=0;--i)c.push(n=r.children[i]=new x(a[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(y)}function v(e){return e.children}function m(e){e.data=e.data.data}function y(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function x(e){this.data=e,this.depth=this.height=0,this.parent=null}x.prototype=g.prototype={constructor:x,count:n.default,each:a.default,eachAfter:s.default,eachBefore:o.default,sum:l.default,sort:c.default,path:u.default,ancestors:d.default,descendants:f.default,leaves:h.default,links:p.default,copy:function(){return g(this).eachBefore(m)}}})),i.register("1QvNq",(function(e,r){function n(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function a(){return this.eachAfter(n)}t(e.exports,"default",(()=>a))})),i.register("8hUGH",(function(e,r){function n(e){var t,r,n,a,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(e(i),r=i.children)for(n=0,a=r.length;nn))})),i.register("l8A3T",(function(e,r){function n(e){for(var t,r,n=this,a=[n];n=a.pop();)if(e(n),t=n.children)for(r=t.length-1;r>=0;--r)a.push(t[r]);return this}t(e.exports,"default",(()=>n))})),i.register("hQahZ",(function(e,r){function n(e){for(var t,r,n,a=this,i=[a],o=[];a=i.pop();)if(o.push(a),t=a.children)for(r=0,n=t.length;rn))})),i.register("cLIm4",(function(e,r){function n(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,a=n&&n.length;--a>=0;)r+=n[a].value;t.value=r}))}t(e.exports,"default",(()=>n))})),i.register("b6k7L",(function(e,r){function n(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))}t(e.exports,"default",(()=>n))})),i.register("2jwBf",(function(e,r){function n(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),a=null;e=r.pop(),t=n.pop();for(;e===t;)a=e,e=r.pop(),t=n.pop();return a}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var a=n.length;e!==r;)n.splice(a,0,e),e=e.parent;return n}t(e.exports,"default",(()=>n))})),i.register("bUzx9",(function(e,r){function n(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t}t(e.exports,"default",(()=>n))})),i.register("kOHDT",(function(e,r){function n(){var e=[];return this.each((function(t){e.push(t)})),e}t(e.exports,"default",(()=>n))})),i.register("lMr0v",(function(e,r){function n(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e}t(e.exports,"default",(()=>n))})),i.register("3edp4",(function(e,r){function n(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t}t(e.exports,"default",(()=>n))})),i.register("kd19f",(function(e,r){t(e.exports,"default",(()=>o));var n=i("85rMk"),a=i("bsEVs");function o(){var e=1,t=1,r=0,i=!1;function o(o){var s=o.height+1;return o.x0=o.y0=r,o.x1=e,o.y1=t/s,o.eachBefore(function(e,t){return function(n){n.children&&a.default(n,n.x0,e*(n.depth+1)/t,n.x1,e*(n.depth+2)/t);var i=n.x0,o=n.y0,s=n.x1-r,l=n.y1-r;sn))})),i.register("bsEVs",(function(e,r){function n(e,t,r,n,a){for(var i,o=e.children,s=-1,l=o.length,c=e.value&&(n-t)/e.value;++sn))})),i.register("iGPDD",(function(e,r){t(e.exports,"default",(()=>c));var n=i("g5cIe"),a=i("jnlYb"),o={depth:-1};function s(e){return e.id}function l(e){return e.parentId}function c(){var e=s,t=l;function r(r){var n,i,s,l,c=r.length,u=new Array(c);for(i=0;i0)throw new Error("cycle");return s}return r.id=function(t){return arguments.length?(e=n.required(t),r):e},r.parentId=function(e){return arguments.length?(t=n.required(e),r):t},r}})),i.register("g5cIe",(function(e,r){function n(e){if("function"!=typeof e)throw new Error;return e}t(e.exports,"required",(()=>n))})),i.register("cksir",(function(e,r){t(e.exports,"default",(()=>l));var n=i("85rMk"),a=i("2O2MD"),o=i("g5cIe"),s=i("gFfPO");function l(){var e=a.default,t=!1,r=1,i=1,l=[0],c=s.constantZero,u=s.constantZero,d=s.constantZero,f=s.constantZero,h=s.constantZero;function p(e){return e.x0=e.y0=0,e.x1=r,e.y1=i,e.eachBefore(g),l=[0],t&&e.eachBefore(n.default),e}function g(t){var r=l[t.depth],n=t.x0+r,a=t.y0+r,i=t.x1-r,o=t.y1-r;io));var n=i("bsEVs"),a=i("9hjNZ");var o=function e(t){function r(e,r,i,o,s){!function(e,t,r,i,o,s){for(var l,c,u,d,f,h,p,g,v,m,y,x=[],b=t.children,_=0,w=0,k=b.length,T=t.value;_p&&(p=c),y=f*f*m,(g=Math.max(p/y,y/h))>v){f-=c;break}v=g}x.push(l={value:f,dice:u1?t:1)},r}((1+Math.sqrt(5))/2)})),i.register("9hjNZ",(function(e,r){function n(e,t,r,n,a){for(var i,o=e.children,s=-1,l=o.length,c=e.value&&(a-r)/e.value;++sn))})),i.register("gFfPO",(function(e,r){function n(){return 0}function a(e){return function(){return e}}t(e.exports,"default",(()=>a)),t(e.exports,"constantZero",(()=>n))})),i.register("e17t1",(function(e,r){function n(e,t,r,n,a){var i,o,s=e.children,l=s.length,c=new Array(l+1);for(c[0]=o=i=0;i=r-1){var u=s[t];return u.x0=a,u.y0=i,u.x1=o,void(u.y1=l)}var d=c[t],f=n/2+d,h=t+1,p=r-1;for(;h>>1;c[g]l-i){var y=(a*m+o*v)/n;e(t,h,v,a,i,y,l),e(h,r,m,y,i,o,l)}else{var x=(i*m+l*v)/n;e(t,h,v,a,i,o,x),e(h,r,m,a,x,o,l)}}(0,l,e.value,t,r,n,a)}t(e.exports,"default",(()=>n))})),i.register("2Nfu2",(function(e,r){t(e.exports,"default",(()=>o));var n=i("bsEVs"),a=i("9hjNZ");function o(e,t,r,i,o){(1&e.depth?a.default:n.default)(e,t,r,i,o)}})),i.register("lGqvH",(function(e,t){"use strict";var r=i("bnpJH"),n=i("eyX4U"),a=i("1Jf1D"),o={};function s(e){return function(t,r){return!!t&&(!!(t=n(t)).isValid()&&(t=a.addOpacity(t,t.getAlpha()),e[r]||(e[r]=t),t))}}function l(e,t){var r,a=JSON.stringify(e),i=t[a];if(!i){for(i=e.slice(),r=0;rl),(e=>l=e)),t(e.exports,"isEntry",(()=>b),(e=>b=e)),t(e.exports,"isOutsideText",(()=>k),(e=>k=e)),t(e.exports,"getPtId",(()=>n),(e=>n=e)),t(e.exports,"isHierarchyRoot",(()=>x),(e=>x=e)),t(e.exports,"getParent",(()=>u),(e=>u=e)),t(e.exports,"isLeaf",(()=>v),(e=>v=e)),t(e.exports,"findEntryWithLevel",(()=>_),(e=>_=e)),t(e.exports,"getValue",(()=>w),(e=>w=e)),t(e.exports,"getInsideTextFontKey",(()=>g),(e=>g=e)),t(e.exports,"formatPercent",(()=>p),(e=>p=e)),t(e.exports,"hasTransition",(()=>y),(e=>y=e)),t(e.exports,"setSliceCursor",(()=>o),(e=>o=e)),t(e.exports,"getPtLabel",(()=>m),(e=>m=e)),t(e.exports,"determineTextFont",(()=>T),(e=>T=e)),t(e.exports,"getOutsideTextFontKey",(()=>f),(e=>f=e)),t(e.exports,"findEntryWithChild",(()=>c),(e=>c=e)),t(e.exports,"getMaxDepth",(()=>a),(e=>a=e)),t(e.exports,"isHeader",(()=>d),(e=>d=e)),t(e.exports,"listPath",(()=>h),(e=>h=e)),t(e.exports,"getPath",(()=>s),(e=>s=e));var M=i("aDPZG"),A=i("1Jf1D"),S=i("Tbkiv"),L=i("2jpI4");function D(e){return e.data.data.pid}_=function(e,t){var r;return t&&e.eachAfter((function(e){if(n(e)===t)return r=e.copy()})),r||e},c=function(e,t){var r;return e.eachAfter((function(e){for(var a=e.children||[],i=0;i0)},a=function(e){return e.maxdepth>=0?e.maxdepth:1/0},d=function(e,t){return!(v(e)||e.depth===t._maxDepth-1)},u=function(e,t){return _(e,D(t))},h=function(e,t){var r=e.parent;if(!r)return[];var n=t?[r.data[t]]:[r];return h(r,t).concat(n)},s=function(e){return h(e,"label").join("/")+"/"},l=L.formatPieValue,p=function(e,t){var r=M.formatPercent(e,0);return"0%"===r&&(r=L.formatPiePercent(e,t)),r}})),i.register("h064L",(function(e,t){"use strict";var r=i("fP9PH"),n=i("aDPZG");function a(e){return"_"+e+"Text_minsize"}e.exports={recordMinTextSize:function(e,t,r){if(r.uniformtext.mode){var n=a(e),i=r.uniformtext.minsize,o=t.scale*t.fontSize;t.hide=o1||0===a.bargap&&0===a.bargroupgap&&!e[0].trace.marker.line.width)&&r.select(this).attr("shape-rendering","crispEdges")})),t.selectAll("g.points").each((function(t){p(r.select(this),t[0].trace,e)})),s.getComponentMethod("errorbars","style")(t)},styleTextPoints:g,styleOnSelect:function(e,t,n){var i=t[0].trace;i.selectedpoints?function(e,t,n){a.selectedPointStyle(e.selectAll("path"),t),function(e,t,n){e.each((function(e){var i,s=r.select(this);if(e.selected){i=o.ensureUniformFontSize(n,v(s,e,t,n));var l=t.selected.textfont&&t.selected.textfont.color;l&&(i.color=l),a.font(s,i)}else a.selectedTextStyle(s,t)}))}(e.selectAll("text"),t,n)}(n,i,e):(p(n,i,e),s.getComponentMethod("errorbars","style")(n))},getInsideTextFont:y,getOutsideTextFont:x,getBarColor:_,resizeText:l}})),i.register("i3nHM",(function(e,r){var n,a,o,s,l,c;t(e.exports,"coerceColor",(()=>l),(e=>l=e)),t(e.exports,"coerceEnumerated",(()=>o),(e=>o=e)),t(e.exports,"coerceNumber",(()=>a),(e=>a=e)),t(e.exports,"coerceString",(()=>c),(e=>c=e)),t(e.exports,"getLineWidth",(()=>s),(e=>s=e)),t(e.exports,"getValue",(()=>n),(e=>n=e));var u=i("bnpJH"),d=i("eyX4U"),f=i("aDPZG").isArrayOrTypedArray;c=function(e,t,r){if("string"==typeof t){if(t||!e.noBlank)return t}else if(("number"==typeof t||!0===t)&&!e.strict)return String(t);return void 0!==r?r:e.dflt},a=function(e,t,r){if(u(t)){t=+t;var n=e.min,a=e.max;if(!(void 0!==n&&ta))return t}return void 0!==r?r:e.dflt},l=function(e,t,r){return d(t).isValid()?t:void 0!==r?r:e.dflt},o=function(e,t,r){return e.coerceNumber&&(t=+t),-1!==e.values.indexOf(t)?t:void 0!==r?r:e.dflt},n=function(e,t){var r;return Array.isArray(e)?t-1?D+O:-(C+O):0,I={x0:P,x1:P,y0:z,y1:z+C},j=function(e,t,r){var n=v.tiling.pad,a=function(e){return e-n<=t.x0},i=function(e){return e+n>=t.x1},o=function(e){return e-n<=t.y0},s=function(e){return e+n>=t.y1};return e.x0===t.x0&&e.x1===t.x1&&e.y0===t.y0&&e.y1===t.y1?{x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1}:{x0:a(e.x0-n)?0:i(e.x0-n)?r[0]:e.x0,x1:a(e.x1+n)?0:i(e.x1+n)?r[0]:e.x1,y0:o(e.y0-n)?0:s(e.y0-n)?r[1]:e.y0,y1:o(e.y1+n)?0:s(e.y1+n)?r[1]:e.y1}},R=null,E={},N={},F=null,H=function(e,t){return t?E[d(e)]:N[d(e)]},B=function(e,t,r,n){if(t)return E[d(y)]||I;var a=N[v.level]||r;return function(e){return e.data.depth-x.data.depth=(n-=(m?y:y.r)-o)){var x=(r+n)/2;r=x,n=x}var b;d?a<(b=i-(m?y:y.b))&&b"===$?(l.x-=i,c.x-=i,u.x-=i,d.x-=i):"/"===$?(u.x-=i,d.x-=i,o.x-=i/2,s.x-=i/2):"\\"===$?(l.x-=i,c.x-=i,o.x-=i/2,s.x-=i/2):"<"===$&&(o.x-=i,s.x-=i),K(l),K(d),K(o),K(c),K(u),K(s),"M"+J(l.x,l.y)+"L"+J(c.x,c.y)+"L"+J(s.x,s.y)+"L"+J(u.x,u.y)+"L"+J(d.x,d.y)+"L"+J(o.x,o.y)+"Z"},toMoveInsideSlice:ee,makeUpdateSliceInterpolator:re,makeUpdateTextInterpolator:ne,handleSlicesExit:ae,hasTransition:T,strTransform:ie}):_.remove()}})),i.register("jFxMf",(function(e,t){"use strict";var r=i("fP9PH"),n=i("bnpJH"),a=i("aDPZG"),o=i("9evQg"),s=i("1Jf1D"),l=i("4iYWi"),c=i("LWtQ1"),u=i("jzgPx").tickText,d=i("h064L"),f=d.recordMinTextSize,h=d.clearMinTextSize,p=i("5NUww"),g=i("i3nHM"),v=i("4SlpR"),m=i("8Atiy"),y=m.text,x=m.textposition,b=i("kFLuw").appendArrayPointValue,_=v.TEXTPAD;function w(e){return e.id}function k(e,t){return e0}function A(e){return"auto"===e?0:e}function S(e,t){var r=Math.PI/180*t,n=Math.abs(Math.sin(r)),a=Math.abs(Math.cos(r));return{x:e.width*a+e.height*n,y:e.width*n+e.height*a}}function L(e,t,r,n,a,i){var o=!!i.isHorizontal,s=!!i.constrained,l=i.angle||0,c=i.anchor||"end",u="end"===c,d="start"===c,f=((i.leftToRight||0)+1)/2,h=1-f,p=a.width,g=a.height,v=Math.abs(t-e),m=Math.abs(n-r),y=v>2*_&&m>2*_?_:0;v-=2*y,m-=2*y;var x=A(l);"auto"!==l||p<=v&&g<=m||!(p>v||g>m)||(p>m||g>v)&&p.01?Z:function(e,t,r){return r&&e===t?e:Math.abs(e-t)>=2?Z(e):e>t?Math.ceil(e):Math.floor(e)};N=q(N,F,j),F=q(F,N,j),H=q(H,B,!j),B=q(B,H,!j)}var V=T(a.ensureSingle(O,"path"),C,v,m);if(V.style("vector-effect","non-scaling-stroke").attr("d",isNaN((F-N)*(B-H))||U&&e._context.staticPlot?"M0,0Z":"M"+N+","+H+"V"+B+"H"+F+"V"+H+"Z").call(l.setClipUrl,t.layerClipId,e),!C.uniformtext.mode&&R){var Y=l.makePointStyleFns(d);l.singlePointStyle(c,V,d,Y,e)}!function(e,t,r,n,i,s,c,d,h,v,m){var w,M=t.xaxis,D=t.yaxis,P=e._fullLayout;function C(t,r,n){return a.ensureSingle(t,"text").text(r).attr({class:"bartext bartext-"+w,"text-anchor":"middle","data-notex":1}).call(l.font,n).call(o.convertToTspans,e)}var O=n[0].trace,z="h"===O.orientation,I=function(e,t,r,n,i){var o,s=t[0].trace;o=s.texttemplate?function(e,t,r,n,i){var o=t[0].trace,s=a.castOption(o,r,"texttemplate");if(!s)return"";var l,c,d,f,h="waterfall"===o.type,p="funnel"===o.type;"h"===o.orientation?(l="y",c=i,d="x",f=n):(l="x",c=n,d="y",f=i);function g(e){return u(c,c.c2l(e),!0).text}function v(e){return u(f,f.c2l(e),!0).text}var m=t[r],y={};y.label=m.p,y.labelLabel=y[l+"Label"]=g(m.p);var x=a.castOption(o,m.i,"text");(0===x||x)&&(y.text=x);y.value=m.s,y.valueLabel=y[d+"Label"]=v(m.s);var _={};b(_,o,m.i),h&&(y.delta=+m.rawS||m.s,y.deltaLabel=v(y.delta),y.final=m.v,y.finalLabel=v(y.final),y.initial=y.final-y.delta,y.initialLabel=v(y.initial));p&&(y.value=m.s,y.valueLabel=v(y.value),y.percentInitial=m.begR,y.percentInitialLabel=a.formatPercent(m.begR),y.percentPrevious=m.difR,y.percentPreviousLabel=a.formatPercent(m.difR),y.percentTotal=m.sumR,y.percenTotalLabel=a.formatPercent(m.sumR));var w=a.castOption(o,m.i,"customdata");w&&(y.customdata=w);return a.texttemplateString(s,y,e._d3locale,_,y,o._meta||{})}(e,t,r,n,i):s.textinfo?function(e,t,r,n){var i=e[0].trace,o="h"===i.orientation,s="waterfall"===i.type,l="funnel"===i.type;function c(e){return u(o?n:r,e,!0).text}function d(e){return u(o?r:n,+e,!0).text}var f,h=i.textinfo,p=e[t],g=h.split("+"),v=[],m=function(e){return-1!==g.indexOf(e)};m("label")&&v.push(c(e[t].p));m("text")&&(0===(f=a.castOption(i,p.i,"text"))||f)&&v.push(f);if(s){var y=+p.rawS||p.s,x=p.v,b=x-y;m("initial")&&v.push(d(b)),m("delta")&&v.push(d(y)),m("final")&&v.push(d(x))}if(l){m("value")&&v.push(d(p.s));var _=0;m("percent initial")&&_++,m("percent previous")&&_++,m("percent total")&&_++;var w=_>1;m("percent initial")&&(f=a.formatPercent(p.begR),w&&(f+=" of initial"),v.push(f)),m("percent previous")&&(f=a.formatPercent(p.difR),w&&(f+=" of previous"),v.push(f)),m("percent total")&&(f=a.formatPercent(p.sumR),w&&(f+=" of total"),v.push(f))}return v.join("
")}(t,r,n,i):g.getValue(s.text,r);return g.coerceString(y,o)}(P,n,i,M,D);w=function(e,t){var r=g.getValue(e.textposition,t);return g.coerceEnumerated(x,r)}(O,i);var j="stack"===v.mode||"relative"===v.mode,R=n[i],E=!j||R._outmost;if(!I||"none"===w||(R.isBlank||s===c||d===h)&&("auto"===w||"inside"===w))return void r.select("text").remove();var N=P.font,F=p.getBarColor(n[i],O),H=p.getInsideTextFont(O,i,N,F),B=p.getOutsideTextFont(O,i,N),U=r.datum();z?"log"===M.type&&U.s0<=0&&(s=M.range[0]0&&V>0&&(q<=W&&V<=X||q<=X&&V<=W||(z?W>=q*(X/V):X>=V*(W/q)))?w="inside":(w="outside",G.remove(),G=null);else w="inside"}if(!G){var J=(G=C(r,I,Y=a.ensureUniformFontSize(e,"outside"===w?B:H))).attr("transform");if(G.attr("transform",""),q=(Z=l.bBox(G.node())).width,V=Z.height,G.attr("transform",J),q<=0||V<=0)return void G.remove()}var Q,K=O.textangle;Q="outside"===w?function(e,t,r,n,a,i){var o,s=!!i.isHorizontal,l=!!i.constrained,c=i.angle||0,u=a.width,d=a.height,f=Math.abs(t-e),h=Math.abs(n-r);o=s?h>2*_?_:0:f>2*_?_:0;var p=1;l&&(p=s?Math.min(1,h/d):Math.min(1,f/u));var g=A(c),v=S(a,g),m=(s?v.x:v.y)/2,y=(a.left+a.right)/2,x=(a.top+a.bottom)/2,b=(e+t)/2,w=(r+n)/2,T=0,M=0,L=s?k(t,e):k(r,n);s?(b=t-L*o,T=L*m):(w=n+L*o,M=-L*m);return{textX:y,textY:x,targetX:b,targetY:w,anchorX:T,anchorY:M,scale:p,rotate:g}}(s,c,d,h,Z,{isHorizontal:z,constrained:"both"===O.constraintext||"outside"===O.constraintext,angle:K}):L(s,c,d,h,Z,{isHorizontal:z,constrained:"both"===O.constraintext||"inside"===O.constraintext,angle:K,anchor:O.insidetextanchor});Q.fontSize=Y.size,f(O.type,Q,P),R.transform=Q,T(G,P,v,m).attr("transform",a.getTextTransform(Q))}(e,t,O,i,h,N,F,H,B,v,m),t.layerClipId&&l.hideOutsideRangePoint(c,O.select("text"),D,P,d.xcalendar,d.ycalendar)}));var H=!1===d.cliponaxis;l.setClipUrl(c,H?null:t.layerClipId,e)}));c.getComponentMethod("errorbars","plot")(e,O,t,v)},toMoveInsideBar:L}})),i.register("1qLdU",(function(e,t){"use strict";var r=i("fP9PH"),n=i("aDPZG"),a=i("4iYWi"),o=i("9evQg"),s=i("9mCF2"),l=i("enyYb").styleOne,c=i("7NY31"),u=i("2TBEw"),d=i("2QCdN"),f=!0;e.exports=function(e,t,i,h,p){var g=p.barDifY,v=p.width,m=p.height,y=p.viewX,x=p.viewY,b=p.pathSlice,_=p.toMoveInsideSlice,w=p.strTransform,k=p.hasTransition,T=p.handleSlicesExit,M=p.makeUpdateSliceInterpolator,A=p.makeUpdateTextInterpolator,S={},L=e._fullLayout,D=t[0],P=D.trace,C=D.hierarchy,O=v/P._entryDepth,z=u.listPath(i.data,"id"),I=s(C.copy(),[v,m],{packing:"dice",pad:{inner:0,top:0,left:0,right:0,bottom:0}}).descendants();(I=I.filter((function(e){var t=z.indexOf(e.data.id);return-1!==t&&(e.x0=O*t,e.x1=O*(t+1),e.y0=g,e.y1=g+m,e.onPathbar=!0,!0)}))).reverse(),(h=h.data(I,u.getPtId)).enter().append("g").classed("pathbar",!0),T(h,f,S,[v,m],b),h.order();var j=h;k&&(j=j.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:!1})}))),j.each((function(s){s._hoverX=y(s.x1-Math.min(v,m)/2),s._hoverY=x(s.y1-m/2);var h=r.select(this),p=n.ensureSingle(h,"path","surface",(function(e){e.style("pointer-events","all")}));k?p.transition().attrTween("d",(function(e){var t=M(e,f,S,[v,m]);return function(e){return b(t(e))}})):p.attr("d",b),h.call(d,i,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{hideOnRoot:!1,hideOnLeaves:!1,isTransitioning:e._transitioning}),p.call(l,s,P,{hovered:!1}),s._text=(u.getPtLabel(s)||"").split("
").join(" ")||"";var g=n.ensureSingle(h,"g","slicetext"),T=n.ensureSingle(g,"text","",(function(e){e.attr("data-notex",1)})),D=n.ensureUniformFontSize(e,u.determineTextFont(P,s,L.font,{onPathbar:!0}));T.text(s._text||" ").classed("slicetext",!0).attr("text-anchor","start").call(a.font,D).call(o.convertToTspans,e),s.textBB=a.bBox(T.node()),s.transform=_(s,{fontSize:D.size,onPathbar:!0}),s.transform.fontSize=D.size,k?T.transition().attrTween("transform",(function(e){var t=A(e,f,S,[v,m]);return function(e){return w(t(e))}})):T.attr("transform",w(s))}))}})),i.register("9mCF2",(function(e,t){"use strict";var r=i("cksir"),n=i("e17t1"),a=i("2Nfu2"),o=i("9hjNZ"),s=i("bsEVs"),l=i("2O2MD"),c=i("9wruX");e.exports=function(e,t,i){var u,d=i.flipX,f=i.flipY,h="dice-slice"===i.packing,p=i.pad[f?"bottom":"top"],g=i.pad[d?"right":"left"],v=i.pad[d?"left":"right"],m=i.pad[f?"top":"bottom"];h&&(u=g,g=p,p=u,u=v,v=m,m=u);var y=r.default().tile(function(e,t){switch(e){case"squarify":return l.default.ratio(t);case"binary":return n.default;case"dice":return s.default;case"slice":return o.default;default:return a.default}}(i.packing,i.squarifyratio)).paddingInner(i.pad.inner).paddingLeft(g).paddingRight(v).paddingTop(p).paddingBottom(m).size(h?[t[1],t[0]]:t)(e);return(h||d||f)&&c(y,t,{swapXY:h,flipX:d,flipY:f}),y}})),i.register("9wruX",(function(e,t){"use strict";e.exports=function e(t,r,n){var a;n.swapXY&&(a=t.x0,t.x0=t.y0,t.y0=a,a=t.x1,t.x1=t.y1,t.y1=a),n.flipX&&(a=t.x0,t.x0=r[0]-t.x1,t.x1=r[0]-a),n.flipY&&(a=t.y0,t.y0=r[1]-t.y1,t.y1=r[1]-a);var i=t.children;if(i)for(var o=0;o0)for(var x=0;x"),name:T||z("name")?l.name:void 0,color:k("hoverlabel.bgcolor")||y.color,borderColor:k("hoverlabel.bordercolor"),fontFamily:k("hoverlabel.font.family"),fontSize:k("hoverlabel.font.size"),fontColor:k("hoverlabel.font.color"),nameLength:k("hoverlabel.namelength"),textAlign:k("hoverlabel.align"),hovertemplate:T,hovertemplateLabels:P,eventData:[d(n,l,f.eventDataKeys)]};v&&(R.x0=S-n.rInscribed*n.rpx1,R.x1=S+n.rInscribed*n.rpx1,R.idealAlign=n.pxmid[0]<0?"left":"right"),m&&(R.x=S,R.idealAlign=S<0?"left":"right"),o.loneHover(R,{container:i._hoverlayer.node(),outerContainer:i._paper.node(),gd:a}),p._hasHoverLabel=!0}if(m){var E=e.select("path.surface");f.styleOne(E,n,l,{hovered:!0})}p._hasHoverEvent=!0,a.emit("plotly_hover",{points:[d(n,l,f.eventDataKeys)],event:r.event})}})),e.on("mouseout",(function(t){var n=a._fullLayout,i=a._fullData[p.index],s=r.select(this).datum();if(p._hasHoverEvent&&(t.originalEvent=r.event,a.emit("plotly_unhover",{points:[d(s,i,f.eventDataKeys)],event:r.event}),p._hasHoverEvent=!1),p._hasHoverLabel&&(o.loneUnhover(n._hoverlayer.node()),p._hasHoverLabel=!1),m){var l=e.select("path.surface");f.styleOne(l,s,i,{hovered:!1})}})),e.on("click",(function(e){var t=a._fullLayout,i=a._fullData[p.index],s=v&&(c.isHierarchyRoot(e)||c.isLeaf(e)),u=c.getPtId(e),h=c.isEntry(e)?c.findEntryWithChild(g,u):c.findEntryWithLevel(g,u),m=c.getPtId(h),y={points:[d(e,i,f.eventDataKeys)],event:r.event};s||(y.nextLevel=m);var x=l.triggerHandler(a,"plotly_"+p.type+"click",y);if(!1!==x&&t.hovermode&&(a._hoverdata=[d(e,i,f.eventDataKeys)],o.click(a,r.event)),!s&&!1!==x&&!a._dragging&&!a._transitioning){n.call("_storeDirectGUIEdit",i,t._tracePreGUI[i.uid],{level:i.level});var b={data:[{level:m}],traces:[p.index]},_={frame:{redraw:!1,duration:f.transitionTime},transition:{duration:f.transitionTime,easing:f.transitionEasing},mode:"immediate",fromcurrent:!0};o.loneUnhover(t._hoverlayer.node()),n.call("animate",a,b,_)}}))}})),i.register("hszXW",(function(e,t){"use strict";var r=i("fP9PH"),n=i("aDPZG"),a=i("4iYWi"),o=i("9evQg"),s=i("9mCF2"),l=i("enyYb").styleOne,c=i("7NY31"),u=i("2TBEw"),d=i("2QCdN"),f=i("khYSk").formatSliceLabel,h=!1;e.exports=function(e,t,i,p,g){var v=g.width,m=g.height,y=g.viewX,x=g.viewY,b=g.pathSlice,_=g.toMoveInsideSlice,w=g.strTransform,k=g.hasTransition,T=g.handleSlicesExit,M=g.makeUpdateSliceInterpolator,A=g.makeUpdateTextInterpolator,S=g.prevEntry,L=e._fullLayout,D=t[0].trace,P=-1!==D.textposition.indexOf("left"),C=-1!==D.textposition.indexOf("right"),O=-1!==D.textposition.indexOf("bottom"),z=!O&&!D.marker.pad.t||O&&!D.marker.pad.b,I=s(i,[v,m],{packing:D.tiling.packing,squarifyratio:D.tiling.squarifyratio,flipX:D.tiling.flip.indexOf("x")>-1,flipY:D.tiling.flip.indexOf("y")>-1,pad:{inner:D.tiling.pad,top:D.marker.pad.t,left:D.marker.pad.l,right:D.marker.pad.r,bottom:D.marker.pad.b}}).descendants(),j=1/0,R=-1/0;I.forEach((function(e){var t=e.depth;t>=D._maxDepth?(e.x0=e.x1=(e.x0+e.x1)/2,e.y0=e.y1=(e.y0+e.y1)/2):(j=Math.min(j,t),R=Math.max(R,t))})),p=p.data(I,u.getPtId),D._maxVisibleLayers=isFinite(R)?R-j+1:0,p.enter().append("g").classed("slice",!0),T(p,h,{},[v,m],b),p.order();var E=null;if(k&&S){var N=u.getPtId(S);p.each((function(e){null===E&&u.getPtId(e)===N&&(E={x0:e.x0,x1:e.x1,y0:e.y0,y1:e.y1})}))}var F=function(){return E||{x0:0,x1:v,y0:0,y1:m}},H=p;return k&&(H=H.transition().each("end",(function(){var t=r.select(this);u.setSliceCursor(t,e,{hideOnRoot:!0,hideOnLeaves:!1,isTransitioning:!1})}))),H.each((function(s){var p=u.isHeader(s,D);s._hoverX=y(s.x1-D.marker.pad.r),s._hoverY=x(O?s.y1-D.marker.pad.b/2:s.y0+D.marker.pad.t/2);var g=r.select(this),T=n.ensureSingle(g,"path","surface",(function(e){e.style("pointer-events","all")}));k?T.transition().attrTween("d",(function(e){var t=M(e,h,F(),[v,m]);return function(e){return b(t(e))}})):T.attr("d",b),g.call(d,i,e,t,{styleOne:l,eventDataKeys:c.eventDataKeys,transitionTime:c.CLICK_TRANSITION_TIME,transitionEasing:c.CLICK_TRANSITION_EASING}).call(u.setSliceCursor,e,{isTransitioning:e._transitioning}),T.call(l,s,D,{hovered:!1}),s.x0===s.x1||s.y0===s.y1?s._text="":s._text=p?z?"":u.getPtLabel(s)||"":f(s,i,D,t,L)||"";var S=n.ensureSingle(g,"g","slicetext"),I=n.ensureSingle(S,"text","",(function(e){e.attr("data-notex",1)})),j=n.ensureUniformFontSize(e,u.determineTextFont(D,s,L.font));I.text(s._text||" ").classed("slicetext",!0).attr("text-anchor",C?"end":P||p?"start":"middle").call(a.font,j).call(o.convertToTspans,e),s.textBB=a.bBox(I.node()),s.transform=_(s,{fontSize:j.size,isHeader:p}),s.transform.fontSize=j.size,k?I.transition().attrTween("transform",(function(e){var t=A(e,h,F(),[v,m]);return function(e){return w(t(e))}})):I.attr("transform",w(s))})),E}})),i.register("khYSk",(function(e,r){var n;t(e.exports,"formatSliceLabel",(()=>n),(e=>n=e));var a=i("fP9PH"),o=i("kd19f"),s=i("4iYWi"),l=i("aDPZG"),c=i("9evQg"),u=i("h064L"),d=u.recordMinTextSize,f=u.clearMinTextSize,h=i("eGaq6"),p=i("2jpI4").getRotationAngle,g=h.computeTransform,v=h.transformInsideText,m=i("irAWX").styleOne,y=i("5NUww").resizeText,x=i("2QCdN"),b=i("jlBdF"),_=i("2TBEw");function w(e,t,r,i){var u=e._fullLayout,f=!u.uniformtext.mode&&_.hasTransition(i),h=a.select(r).selectAll("g.slice"),y=t[0],w=y.trace,T=y.hierarchy,M=_.findEntryWithLevel(T,w.level),A=_.getMaxDepth(w),S=u._size,L=w.domain,D=S.w*(L.x[1]-L.x[0]),P=S.h*(L.y[1]-L.y[0]),C=.5*Math.min(D,P),O=y.cx=S.l+S.w*(L.x[1]+L.x[0])/2,z=y.cy=S.t+S.h*(1-L.y[0])-P/2;if(!M)return h.remove();var I=null,j={};f&&h.each((function(e){j[_.getPtId(e)]={rpx0:e.rpx0,rpx1:e.rpx1,x0:e.x0,x1:e.x1,transform:e.transform},!I&&_.isEntry(e)&&e}));var R=function(e){return o.default().size([2*Math.PI,e.height+1])(e)}(M).descendants(),E=M.height+1,N=0,F=A;y.hasMultipleRoots&&_.isHierarchyRoot(M)&&(R.slice(1),1,1,1),R.filter((function(e){return e.y1<=F}));var H=p(w.rotation);H&&R.forEach((function(e){e.x0+=H,e.x1+=H}));var B=Math.min(E,A),U=function(e){return(e-N)/B*C},G=function(e,t){return[e*Math.cos(t),-e*Math.sin(t)]},Z=function(e){return l.pathAnnulus(e.rpx0,e.rpx1,e.x0,e.x1,O,z)},q=function(e){return O+k(e)[0]*(e.transform.rCenter||0)+(e.transform.x||0)},V=function(e){return z+k(e)[1]*(e.transform.rCenter||0)+(e.transform.y||0)};h.data(R,_.getPtId).enter().append("g").classed("slice",!0),f?h.exit().transition().each((function(){var e=a.select(this);e.select("path.surface").transition().attrTween("d",(function(e){var t=function(e){var t,r=_.getPtId(e),n=j[r],i=j[_.getPtId(M)];if(i){var o=(e.x1>i.x1?2*Math.PI:0)+H;e.rpx1Y?2*Math.PI:0)+H;({x0:i,x1:i})}else({rpx0:C,rpx1:C}),l.extendFlat(t,J(e));else({rpx0:0,rpx1:0});else({x0:H,x1:H});return a.interpolate(t,n)}(e);return function(e){return Z(t(e))}})):o.attr("d",Z),i.call(x,M,e,t,{eventDataKeys:b.eventDataKeys,transitionTime:b.CLICK_TRANSITION_TIME,transitionEasing:b.CLICK_TRANSITION_EASING}).call(_.setSliceCursor,e,{hideOnRoot:!0,hideOnLeaves:!0,isTransitioning:e._transitioning}),o.call(m,r,w);var h=l.ensureSingle(i,"g","slicetext"),p=l.ensureSingle(h,"text","",(function(e){e.attr("data-notex",1)})),k=l.ensureUniformFontSize(e,_.determineTextFont(w,r,u.font));p.text(n(r,M,w,t,u)).classed("slicetext",!0).attr("text-anchor","middle").call(s.font,k).call(c.convertToTspans,e);var T=s.bBox(p.node());r.transform=v(T,r,y),r.transform.targetX=q(r),r.transform.targetY=V(r);var A=function(e,t){var r=e.transform;return g(r,t),r.fontSize=k.size,d(w.type,r,u),l.getTextTransform(r)};f?p.transition().attrTween("transform",(function(e){var t=function(e){var t,r=j[_.getPtId(e)],n=e.transform;if(r)r;else if({rpx1:e.rpx1,transform:{textPosAngle:n.textPosAngle,scale:0,rotate:n.rotate,rCenter:n.rCenter,x:n.x,y:n.y}},I)if(e.parent)if(Y){var i=e.x1>Y?2*Math.PI:0;t.x0=t.x1=i}else l.extendFlat(t,J(e));else t.x0=t.x1=H;else t.x0=t.x1=H;var o=a.interpolate(t.transform.textPosAngle,e.transform.textPosAngle),s=a.interpolate(t.rpx1,e.rpx1),c=a.interpolate(t.x0,e.x0),f=a.interpolate(t.x1,e.x1),h=a.interpolate(t.transform.scale,n.scale),p=a.interpolate(t.transform.rotate,n.rotate),g=0===n.rCenter?3:0===t.transform.rCenter?1/3:1,v=a.interpolate(t.transform.rCenter,n.rCenter),m=function(e){return v(Math.pow(e,g))};return function(e){var t=s(e),r=c(e),a=f(e),i=m(e),l={pxmid:G(t,(r+a)/2),rpx1:t,transform:{textPosAngle:o(e),rCenter:i,x:n.x,y:n.y}};return d(w.type,n,u),{transform:{targetX:q(l),targetY:V(l),scale:h(e),rotate:p(e),rCenter:i}}}}(e);return function(e){return A(t(e),T)}})):p.attr("transform",A(r,T))}))}function k(e){return e.rpx1,e.transform.textPosAngle,[t*Math.sin(r),-t*Math.cos(r)];var t,r}n=function(e,t,r,n,a){var i=r.texttemplate,o=r.textinfo;if(!(i||o&&"none"!==o))return"";var s=a.separators,c=n[0],u=e.data.data,d=c.hierarchy,f=_.isHierarchyRoot(e),h=_.getParent(d,e),p=_.getValue(e);if(!i){var g,v=o.split("+"),m=function(e){return-1!==v.indexOf(e)},y=[];if(m("label")&&u.label&&y.push(u.label),u.hasOwnProperty("v")&&m("value")&&y.push(_.formatValue(u.v,s)),!f){m("current path")&&y.push(_.getPath(e.data));var x=0;m("percent parent")&&x++,m("percent entry")&&x++,m("percent root")&&x++;var b=x>1;if(x){var w,k=function(e){g=_.formatPercent(w,s),b&&(g+=" of "+e),y.push(g)};m("percent parent")&&!f&&(w=p/_.getValue(h),k("parent")),m("percent entry")&&(w=p/_.getValue(t),k("entry")),m("percent root")&&(w=p/_.getValue(d),k("root"))}}return m("text")&&(g=l.castOption(r,u.i,"text"),l.isValidTextValue(g)&&y.push(g)),y.join("
")}var T=l.castOption(r,u.i,"texttemplate");if(!T)return"";var M={};u.label&&(M.label=u.label),u.hasOwnProperty("v")&&(M.value=u.v,M.valueLabel=_.formatValue(u.v,s)),M.currentPath=_.getPath(e.data),f||(M.percentParent=p/_.getValue(h),M.percentParentLabel=_.formatPercent(M.percentParent,s),M.parent=_.getPtLabel(h)),M.percentEntry=p/_.getValue(t),M.percentEntryLabel=_.formatPercent(M.percentEntry,s),M.entry=_.getPtLabel(t),M.percentRoot=p/_.getValue(d),M.percentRootLabel=_.formatPercent(M.percentRoot,s),M.root=_.getPtLabel(d),u.hasOwnProperty("color")&&(M.color=u.color);var A=l.castOption(r,u.i,"text");return(l.isValidTextValue(A)||""===A)&&(M.text=A),M.customdata=l.castOption(r,u.i,"customdata"),l.texttemplateString(T,M,a._d3locale,M,r._meta||{})}})),i.register("eGaq6",(function(e,t){"use strict";var r,n=i("fP9PH"),a=i("dx7II"),o=i("a04P9"),s=i("1Jf1D"),l=i("4iYWi"),c=(r=i("aDPZG")).strScale,u=r.strTranslate,d=i("9evQg"),f=i("h064L"),h=f.recordMinTextSize,p=f.clearMinTextSize,g=i("4SlpR").TEXTPAD,v=i("2jpI4"),m=i("efiz5"),y=(r=i("aDPZG")).isValidTextValue;function x(e,t,a){var i=a[0],s=i.trace,l=i.cx,c=i.cy;"_hasHoverLabel"in s||(s._hasHoverLabel=!1),"_hasHoverEvent"in s||(s._hasHoverEvent=!1),e.on("mouseover",(function(e){var a=t._fullLayout,u=t._fullData[s.index];if(!t._dragging&&!1!==a.hovermode){var d=u.hoverinfo;if(Array.isArray(d)&&(d=o.castHoverinfo({hoverinfo:[v.castOption(d,e.pts)],_module:s._module},a,0)),"all"===d&&(d="label+text+value+percent+name"),u.hovertemplate||"none"!==d&&"skip"!==d&&d){var f=e.rInscribed||0,h=l+e.pxmid[0]*(1-f),p=c+e.pxmid[1]*(1-f),g=a.separators,y=[];if(d&&-1!==d.indexOf("label")&&y.push(e.label),e.text=v.castOption(u.hovertext||u.text,e.pts),d&&-1!==d.indexOf("text")){var x=e.text;r.isValidTextValue(x)&&y.push(x)}e.value=e.v,e.valueLabel=v.formatPieValue(e.v,g),d&&-1!==d.indexOf("value")&&y.push(e.valueLabel),e.percent=e.v/i.vTotal,e.percentLabel=v.formatPiePercent(e.percent,g),d&&-1!==d.indexOf("percent")&&y.push(e.percentLabel);var b=u.hoverlabel,_=b.font;o.loneHover({trace:s,x0:h-f*i.r,x1:h+f*i.r,y:p,text:y.join("
"),name:u.hovertemplate||-1!==d.indexOf("name")?u.name:void 0,idealAlign:e.pxmid[0]<0?"left":"right",color:v.castOption(b.bgcolor,e.pts)||e.color,borderColor:v.castOption(b.bordercolor,e.pts),fontFamily:v.castOption(_.family,e.pts),fontSize:v.castOption(_.size,e.pts),fontColor:v.castOption(_.color,e.pts),nameLength:v.castOption(b.namelength,e.pts),textAlign:v.castOption(b.align,e.pts),hovertemplate:v.castOption(u.hovertemplate,e.pts),hovertemplateLabels:e,eventData:[m(e,u)]},{container:a._hoverlayer.node(),outerContainer:a._paper.node(),gd:t}),s._hasHoverLabel=!0}s._hasHoverEvent=!0,t.emit("plotly_hover",{points:[m(e,u)],event:n.event})}})),e.on("mouseout",(function(e){var r=t._fullLayout,a=t._fullData[s.index],i=n.select(this).datum();s._hasHoverEvent&&(e.originalEvent=n.event,t.emit("plotly_unhover",{points:[m(i,a)],event:n.event}),s._hasHoverEvent=!1),s._hasHoverLabel&&(o.loneUnhover(r._hoverlayer.node()),s._hasHoverLabel=!1)})),e.on("click",(function(e){var r=t._fullLayout,a=t._fullData[s.index];t._dragging||!1===r.hovermode||(t._hoverdata=[m(e,a)],o.click(t,n.event))}))}function b(e,t,r){var n=v.castOption(e.insidetextfont.color,t.pts);!n&&e._input.textfont&&(n=v.castOption(e._input.textfont.color,t.pts));var a=v.castOption(e.insidetextfont.family,t.pts)||v.castOption(e.textfont.family,t.pts)||r.family,i=v.castOption(e.insidetextfont.size,t.pts)||v.castOption(e.textfont.size,t.pts)||r.size;return{color:n||s.contrast(t.color),family:a,size:i}}function _(e,t){for(var n,a,i=0;it&&t>n||r=-4;v-=2)m(Math.PI*v,"tan");for(v=4;v>=-4;v-=2)m(Math.PI*(v+1),"tan")}if(d||h){for(v=4;v>=-4;v-=2)m(Math.PI*(v+1.5),"rad");for(v=4;v>=-4;v-=2)m(Math.PI*(v+.5),"rad")}}if(s||p||d){var y=Math.sqrt(e.width*e.width+e.height*e.height);if((i={scale:a*n*2/y,rCenter:1-a,rotate:0}).textPosAngle=(t.startangle+t.stopangle)/2,i.scale>=1)return i;g.push(i)}(p||h)&&((i=k(e,n,o,l,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i)),(p||f)&&((i=T(e,n,o,l,c)).textPosAngle=(t.startangle+t.stopangle)/2,g.push(i));for(var x=0,b=0,_=0;_=1)break}return g[x]}function k(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.width/e.height,o=S(i,n,t,r);return{scale:2*o/e.height,rCenter:M(i,o/t),rotate:A(a)}}function T(e,t,r,n,a){t=Math.max(0,t-2*g);var i=e.height/e.width,o=S(i,n,t,r);return{scale:2*o/e.width,rCenter:M(i,o/t),rotate:A(a+Math.PI/2)}}function M(e,t){return Math.cos(t)-e*t}function A(e){return(180/Math.PI*e+720)%180-90}function S(e,t,r,n){var a=e+1/(2*Math.tan(t));return r*Math.min(1/(Math.sqrt(a*a+.5)+a),n/(Math.sqrt(e*e+n/2)+e))}function L(e,t){return e.v!==t.vTotal||t.trace.hole?Math.min(1/(1+1/Math.sin(e.halfangle)),e.ring/2):1}function D(e,t){var r=t.pxmid[0],n=t.pxmid[1],a=e.width/2,i=e.height/2;return r<0&&(a*=-1),n<0&&(i*=-1),{scale:1,rCenter:1,rotate:0,x:a+Math.abs(i)*(a>0?1:-1)/2,y:i/(1+r*r/(n*n)),outside:!0}}function P(e,t){var r,n,a,i=e.trace,o={x:e.cx,y:e.cy},s={tx:0,ty:0};s.ty+=i.title.font.size,a=O(i),-1!==i.title.position.indexOf("top")?(o.y-=(1+a)*e.r,s.ty-=e.titleBox.height):-1!==i.title.position.indexOf("bottom")&&(o.y+=(1+a)*e.r);var l,c,u=(l=e.r,c=e.trace.aspectratio,l/(void 0===c?1:c)),d=t.w*(i.domain.x[1]-i.domain.x[0])/2;return-1!==i.title.position.indexOf("left")?(d+=u,o.x-=(1+a)*u,s.tx+=e.titleBox.width/2):-1!==i.title.position.indexOf("center")?d*=2:-1!==i.title.position.indexOf("right")&&(d+=u,o.x+=(1+a)*u,s.tx-=e.titleBox.width/2),r=d/e.titleBox.width,n=C(e,t)/e.titleBox.height,{x:o.x,y:o.y,scale:Math.min(r,n),tx:s.tx,ty:s.ty}}function C(e,t){var r=e.trace,n=t.h*(r.domain.y[1]-r.domain.y[0]);return Math.min(e.titleBox.height,n/2)}function O(e){var t,r=e.pull;if(!r)return 0;if(Array.isArray(r))for(r=0,t=0;tr&&(r=e.pull[t]);return r}function z(e,t){for(var r=[],n=0;n1?u=(c=r.r)/a.aspectratio:c=(u=r.r)*a.aspectratio,l=(c*=(1+a.baseratio)/2)*u}o=Math.min(o,l/r.vTotal)}for(n=0;n")}if(s){var b=r.castOption(o,t.i,"texttemplate");if(b){var _={label:(a=t).label,value:a.v,valueLabel:v.formatPieValue(a.v,i.separators),percent:a.v/n.vTotal,percentLabel:v.formatPiePercent(a.v/n.vTotal,i.separators),color:a.color,text:a.text,customdata:r.castOption(o,a.i,"customdata")},w=v.getFirstFilled(o.text,t.pts);(y(w)||""===w)&&(_.text=w),t.text=r.texttemplateString(b,_,e._fullLayout._d3locale,_,o._meta||{})}else t.text=""}}function R(e,t){var r=e.rotate*Math.PI/180,n=Math.cos(r),a=Math.sin(r),i=(t.left+t.right)/2,o=(t.top+t.bottom)/2;e.textX=i*n-o*a,e.textY=i*a+o*n,e.noCenter=!0}e.exports={plot:function(e,t){var i=e._fullLayout,o=i._size;p("pie",i),_(t,e),z(t,o);var f=r.makeTraceGroups(i._pielayer,t,"trace").each((function(t){var f=n.select(this),p=t[0],g=p.trace;!function(e){var t,r,n,a=e[0],i=a.r,o=a.trace,s=v.getRotationAngle(o.rotation),l=2*Math.PI/a.vTotal,c="px0",u="px1";if("counterclockwise"===o.direction){for(t=0;ta.vTotal/2?1:0,r.halfangle=Math.PI*Math.min(r.v/a.vTotal,.5),r.ring=1-o.hole,r.rInscribed=L(r,a))}(t),f.attr("stroke-linejoin","round"),f.each((function(){var m=n.select(this).selectAll("g.slice").data(t);m.enter().append("g").classed("slice",!0),m.exit().remove();var y=[[[],[]],[[],[]]],_=!1;m.each((function(a,o){if(a.hidden)n.select(this).selectAll("path,g").remove();else{a.pointNumber=a.i,a.curveNumber=g.index,y[a.pxmid[1]<0?0:1][a.pxmid[0]<0?0:1].push(a);var s=p.cx,c=p.cy,u=n.select(this),f=u.selectAll("path.surface").data([a]);if(f.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),u.call(x,e,t),g.pull){var m=+v.castOption(g.pull,a.pts)||0;m>0&&(s+=m*a.pxmid[0],c+=m*a.pxmid[1])}a.cxFinal=s,a.cyFinal=c;var k=g.hole;if(a.v===p.vTotal){var T="M"+(s+a.px0[0])+","+(c+a.px0[1])+P(a.px0,a.pxmid,!0,1)+P(a.pxmid,a.px0,!0,1)+"Z";k?f.attr("d","M"+(s+k*a.px0[0])+","+(c+k*a.px0[1])+P(a.px0,a.pxmid,!1,k)+P(a.pxmid,a.px0,!1,k)+"Z"+T):f.attr("d",T)}else{var M=P(a.px0,a.px1,!0,1);if(k){var A=1-k;f.attr("d","M"+(s+k*a.px1[0])+","+(c+k*a.px1[1])+P(a.px1,a.px0,!1,k)+"l"+A*a.px0[0]+","+A*a.px0[1]+M+"Z")}else f.attr("d","M"+s+","+c+"l"+a.px0[0]+","+a.px0[1]+M+"Z")}j(e,a,p);var S=v.castOption(g.textposition,a.pts),L=u.selectAll("g.slicetext").data(a.text&&"none"!==S?[0]:[]);L.enter().append("g").classed("slicetext",!0),L.exit().remove(),L.each((function(){var u=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),f=r.ensureUniformFontSize(e,"outside"===S?function(e,t,r){var n=v.castOption(e.outsidetextfont.color,t.pts)||v.castOption(e.textfont.color,t.pts)||r.color,a=v.castOption(e.outsidetextfont.family,t.pts)||v.castOption(e.textfont.family,t.pts)||r.family,i=v.castOption(e.outsidetextfont.size,t.pts)||v.castOption(e.textfont.size,t.pts)||r.size;return{color:n,family:a,size:i}}(g,a,i.font):b(g,a,i.font));u.text(a.text).attr({class:"slicetext",transform:"","text-anchor":"middle"}).call(l.font,f).call(d.convertToTspans,e);var m,y=l.bBox(u.node());if("outside"===S)m=D(y,a);else if(m=w(y,a,p),"auto"===S&&m.scale<1){var x=r.ensureUniformFontSize(e,g.outsidetextfont);u.call(l.font,x),m=D(y=l.bBox(u.node()),a)}var k=m.textPosAngle,T=void 0===k?a.pxmid:I(p.r,k);if(m.targetX=s+T[0]*m.rCenter+(m.x||0),m.targetY=c+T[1]*m.rCenter+(m.y||0),R(m,y),m.outside){var M=m.targetY;a.yLabelMin=M-y.height/2,a.yLabelMid=M,a.yLabelMax=M+y.height/2,a.labelExtraX=0,a.labelExtraY=0,_=!0}m.fontSize=f.size,h(g.type,m,i),t[o].transform=m,u.attr("transform",r.getTextTransform(m))}))}function P(e,t,r,n){var i=n*(t[0]-e[0]),o=n*(t[1]-e[1]);return"a"+n*p.r+","+n*p.r+" 0 "+a.largeArc+(r?" 1 ":" 0 ")+i+","+o}}));var k=n.select(this).selectAll("g.titletext").data(g.title.text?[0]:[]);if(k.enter().append("g").classed("titletext",!0),k.exit().remove(),k.each((function(){var t,a=r.ensureSingle(n.select(this),"text","",(function(e){e.attr("data-notex",1)})),i=g.title.text;g._meta&&(i=r.templateString(i,g._meta)),a.text(i).attr({class:"titletext",transform:"","text-anchor":"middle"}).call(l.font,g.title.font).call(d.convertToTspans,e),t="middle center"===g.title.position?function(e){var t=Math.sqrt(e.titleBox.width*e.titleBox.width+e.titleBox.height*e.titleBox.height);return{x:e.cx,y:e.cy,scale:e.trace.hole*e.r*2/t,tx:0,ty:-e.titleBox.height/2+e.trace.title.font.size}}(p):P(p,o),a.attr("transform",u(t.x,t.y)+c(Math.min(1,t.scale))+u(t.tx,t.ty))})),_&&function(e,t){var r,n,a,i,o,s,l,c,u,d,f,h,p;function g(e,t){return e.pxmid[1]-t.pxmid[1]}function m(e,t){return t.pxmid[1]-e.pxmid[1]}function y(e,r){r||(r={});var a,c,u,f,h=r.labelExtraY+(n?r.yLabelMax:r.yLabelMin),p=n?e.yLabelMin:e.yLabelMax,g=n?e.yLabelMax:e.yLabelMin,m=e.cyFinal+o(e.px0[1],e.px1[1]),y=h-p;if(y*l>0&&(e.labelExtraY=y),Array.isArray(t.pull))for(c=0;c=(v.castOption(t.pull,u.pts)||0)||((e.pxmid[1]-u.pxmid[1])*l>0?(y=u.cyFinal+o(u.px0[1],u.px1[1])-p-e.labelExtraY)*l>0&&(e.labelExtraY+=y):(g+e.labelExtraY-m)*l>0&&(a=3*s*Math.abs(c-d.indexOf(e)),(f=u.cxFinal+i(u.px0[0],u.px1[0])+a-(e.cxFinal+e.pxmid[0])-e.labelExtraX)*s>0&&(e.labelExtraX+=f)))}for(n=0;n<2;n++)for(a=n?g:m,o=n?Math.max:Math.min,l=n?1:-1,r=0;r<2;r++){for(i=r?Math.max:Math.min,s=r?1:-1,(c=e[n][r]).sort(a),u=e[1-n][r],d=u.concat(c),h=[],f=0;fMath.abs(d)?l+="l"+d*e.pxmid[0]/e.pxmid[1]+","+d+"H"+(o+e.labelExtraX+c):l+="l"+e.labelExtraX+","+u+"v"+(d-u)+"h"+c}else l+="V"+(e.yLabelMid+e.labelExtraY)+"h"+c;r.ensureSingle(a,"path","textline").call(s.stroke,t.outsidetextfont.color).attr({"stroke-width":Math.min(2,t.outsidetextfont.size/8),d:l,fill:"none"})}else a.select("path.textline").remove()}))}(m,g),_&&g.automargin){var T=l.bBox(f.node()),M=g.domain,A=o.w*(M.x[1]-M.x[0]),S=o.h*(M.y[1]-M.y[0]),L=(.5*A-p.r)/o.w,C=(.5*S-p.r)/o.h;a.autoMargin(e,"pie."+g.uid+".automargin",{xl:M.x[0]-L,xr:M.x[1]+L,yb:M.y[0]-C,yt:M.y[1]+C,l:Math.max(p.cx-p.r-T.left,0),r:Math.max(T.right-(p.cx+p.r),0),b:Math.max(T.bottom-(p.cy+p.r),0),t:Math.max(p.cy-p.r-T.top,0),pad:5})}}))}));setTimeout((function(){f.selectAll("tspan").each((function(){var e=n.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))}))}),0)},formatSliceLabel:j,transformInsideText:w,determineInsideTextFont:b,positionTitleOutside:P,prerenderTitles:_,layoutAreas:z,attachFxHandlers:x,computeTransform:R}})),i.register("efiz5",(function(e,t){"use strict";var r=i("kFLuw").appendArrayMultiPointValues;e.exports=function(e,t){var n={curveNumber:t.index,pointNumbers:e.pts,data:t._input,fullData:t,label:e.label,color:e.color,value:e.v,percent:e.percent,text:e.text,v:e.v};return 1===e.pts.length&&(n.pointNumber=n.i=e.pts[0]),r(n,t,e.pts),"funnelarea"===t.type&&(delete n.v,delete n.i),n}})),i.register("irAWX",(function(e,t){"use strict";var r=i("fP9PH"),n=i("1Jf1D"),a=i("aDPZG"),o=i("h064L").resizeText;function s(e,t,r){var i=t.data.data,o=!t.children,s=i.i,l=a.castOption(r,s,"marker.line.color")||n.defaultLine,c=a.castOption(r,s,"marker.line.width")||0;e.style("stroke-width",c).call(n.fill,i.color).call(n.stroke,l).style("opacity",o?r.leaf.opacity:null)}e.exports={style:function(e){var t=e._fullLayout._sunburstlayer.selectAll(".trace");o(e,t,"sunburst"),t.each((function(e){var t=r.select(this),n=e[0].trace;t.style("opacity",n.opacity),t.selectAll("path.surface").each((function(e){r.select(this).call(s,e,n)}))}))},styleOne:s}})),s=i("4LGQF"),e(o).register([e(s)]),window.Plotly=e(o)}(); \ No newline at end of file diff --git a/hugo/package-lock.json b/hugo/package-lock.json index 73b7db3..b1f8636 100644 --- a/hugo/package-lock.json +++ b/hugo/package-lock.json @@ -13,32 +13,32 @@ } }, "@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", + "integrity": "sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==", "requires": { - "@babel/highlight": "^7.12.13" + "@babel/highlight": "^7.14.5" } }, "@babel/compat-data": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.0.tgz", - "integrity": "sha512-vu9V3uMM/1o5Hl5OekMUowo3FqXLJSw+s+66nt0fSWVWTtmosdzn45JHOB3cPtZoe6CTBDzvSw0RdOY85Q37+Q==" + "version": "7.14.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.14.7.tgz", + "integrity": "sha512-nS6dZaISCXJ3+518CWiBfEr//gHyMO02uDxBkXTKZDN5POruCnOZ1N4YBRZDCabwF8nZMWBpRxIicmXtBs+fvw==" }, "@babel/core": { - "version": "7.14.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.3.tgz", - "integrity": "sha512-jB5AmTKOCSJIZ72sd78ECEhuPiDMKlQdDI/4QRI6lzYATx5SSogS1oQA2AoPecRCknm30gHi2l+QVvNUu3wZAg==", - "requires": { - "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.14.3", - "@babel/helper-compilation-targets": "^7.13.16", - "@babel/helper-module-transforms": "^7.14.2", - "@babel/helpers": "^7.14.0", - "@babel/parser": "^7.14.3", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.14.2", - "@babel/types": "^7.14.2", + "version": "7.14.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.6.tgz", + "integrity": "sha512-gJnOEWSqTk96qG5BoIrl5bVtc23DCycmIePPYnamY9RboYdI4nFy5vAQMSl81O5K/W0sLDWfGysnOECC+KUUCA==", + "requires": { + "@babel/code-frame": "^7.14.5", + "@babel/generator": "^7.14.5", + "@babel/helper-compilation-targets": "^7.14.5", + "@babel/helper-module-transforms": "^7.14.5", + "@babel/helpers": "^7.14.6", + "@babel/parser": "^7.14.6", + "@babel/template": "^7.14.5", + "@babel/traverse": "^7.14.5", + "@babel/types": "^7.14.5", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -81,11 +81,11 @@ } }, "@babel/generator": { - "version": "7.14.3", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.3.tgz", - "integrity": "sha512-bn0S6flG/j0xtQdz3hsjJ624h3W0r3llttBMfyHX3YrZ/KtLYr15bjA0FXkgW7FpvrDuTuElXeVjiKlYRpnOFA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.5.tgz", + "integrity": "sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA==", "requires": { - "@babel/types": "^7.14.2", + "@babel/types": "^7.14.5", "jsesc": "^2.5.1", "source-map": "^0.5.0" }, @@ -98,13 +98,13 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.13.16", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz", - "integrity": "sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.14.5.tgz", + "integrity": "sha512-v+QtZqXEiOnpO6EYvlImB6zCD2Lel06RzOPzmkz/D/XgQiUu3C/Jb1LOqSt/AIA34TYi/Q+KlT8vTQrgdxkbLw==", "requires": { - "@babel/compat-data": "^7.13.15", - "@babel/helper-validator-option": "^7.12.17", - "browserslist": "^4.14.5", + "@babel/compat-data": "^7.14.5", + "@babel/helper-validator-option": "^7.14.5", + "browserslist": "^4.16.6", "semver": "^6.3.0" }, "dependencies": { @@ -116,120 +116,128 @@ } }, "@babel/helper-function-name": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.2.tgz", - "integrity": "sha512-NYZlkZRydxw+YT56IlhIcS8PAhb+FEUiOzuhFTfqDyPmzAhRge6ua0dQYT/Uh0t/EDHq05/i+e5M2d4XvjgarQ==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz", + "integrity": "sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ==", "requires": { - "@babel/helper-get-function-arity": "^7.12.13", - "@babel/template": "^7.12.13", - "@babel/types": "^7.14.2" + "@babel/helper-get-function-arity": "^7.14.5", + "@babel/template": "^7.14.5", + "@babel/types": "^7.14.5" } }, "@babel/helper-get-function-arity": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", - "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz", + "integrity": "sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg==", "requires": { - "@babel/types": "^7.12.13" + "@babel/types": "^7.14.5" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz", + "integrity": "sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ==", + "requires": { + "@babel/types": "^7.14.5" } }, "@babel/helper-member-expression-to-functions": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz", - "integrity": "sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw==", + "version": "7.14.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.7.tgz", + "integrity": "sha512-TMUt4xKxJn6ccjcOW7c4hlwyJArizskAhoSTOCkA0uZ+KghIaci0Qg9R043kUMWI9mtQfgny+NQ5QATnZ+paaA==", "requires": { - "@babel/types": "^7.13.12" + "@babel/types": "^7.14.5" } }, "@babel/helper-module-imports": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz", - "integrity": "sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz", + "integrity": "sha512-SwrNHu5QWS84XlHwGYPDtCxcA0hrSlL2yhWYLgeOc0w7ccOl2qv4s/nARI0aYZW+bSwAL5CukeXA47B/1NKcnQ==", "requires": { - "@babel/types": "^7.13.12" + "@babel/types": "^7.14.5" } }, "@babel/helper-module-transforms": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.2.tgz", - "integrity": "sha512-OznJUda/soKXv0XhpvzGWDnml4Qnwp16GN+D/kZIdLsWoHj05kyu8Rm5kXmMef+rVJZ0+4pSGLkeixdqNUATDA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz", + "integrity": "sha512-iXpX4KW8LVODuAieD7MzhNjmM6dzYY5tfRqT+R9HDXWl0jPn/djKmA+G9s/2C2T9zggw5tK1QNqZ70USfedOwA==", "requires": { - "@babel/helper-module-imports": "^7.13.12", - "@babel/helper-replace-supers": "^7.13.12", - "@babel/helper-simple-access": "^7.13.12", - "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/helper-validator-identifier": "^7.14.0", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.14.2", - "@babel/types": "^7.14.2" + "@babel/helper-module-imports": "^7.14.5", + "@babel/helper-replace-supers": "^7.14.5", + "@babel/helper-simple-access": "^7.14.5", + "@babel/helper-split-export-declaration": "^7.14.5", + "@babel/helper-validator-identifier": "^7.14.5", + "@babel/template": "^7.14.5", + "@babel/traverse": "^7.14.5", + "@babel/types": "^7.14.5" } }, "@babel/helper-optimise-call-expression": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", - "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz", + "integrity": "sha512-IqiLIrODUOdnPU9/F8ib1Fx2ohlgDhxnIDU7OEVi+kAbEZcyiF7BLU8W6PfvPi9LzztjS7kcbzbmL7oG8kD6VA==", "requires": { - "@babel/types": "^7.12.13" + "@babel/types": "^7.14.5" } }, "@babel/helper-plugin-utils": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz", - "integrity": "sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ==" + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz", + "integrity": "sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ==" }, "@babel/helper-replace-supers": { - "version": "7.14.3", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.14.3.tgz", - "integrity": "sha512-Rlh8qEWZSTfdz+tgNV/N4gz1a0TMNwCUcENhMjHTHKp3LseYH5Jha0NSlyTQWMnjbYcwFt+bqAMqSLHVXkQ6UA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.14.5.tgz", + "integrity": "sha512-3i1Qe9/8x/hCHINujn+iuHy+mMRLoc77b2nI9TB0zjH1hvn9qGlXjWlggdwUcju36PkPCy/lpM7LLUdcTyH4Ow==", "requires": { - "@babel/helper-member-expression-to-functions": "^7.13.12", - "@babel/helper-optimise-call-expression": "^7.12.13", - "@babel/traverse": "^7.14.2", - "@babel/types": "^7.14.2" + "@babel/helper-member-expression-to-functions": "^7.14.5", + "@babel/helper-optimise-call-expression": "^7.14.5", + "@babel/traverse": "^7.14.5", + "@babel/types": "^7.14.5" } }, "@babel/helper-simple-access": { - "version": "7.13.12", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz", - "integrity": "sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.14.5.tgz", + "integrity": "sha512-nfBN9xvmCt6nrMZjfhkl7i0oTV3yxR4/FztsbOASyTvVcoYd0TRHh7eMLdlEcCqobydC0LAF3LtC92Iwxo0wyw==", "requires": { - "@babel/types": "^7.13.12" + "@babel/types": "^7.14.5" } }, "@babel/helper-split-export-declaration": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", - "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz", + "integrity": "sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA==", "requires": { - "@babel/types": "^7.12.13" + "@babel/types": "^7.14.5" } }, "@babel/helper-validator-identifier": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.0.tgz", - "integrity": "sha512-V3ts7zMSu5lfiwWDVWzRDGIN+lnCEUdaXgtVHJgLb1rGaA6jMrtB9EmE7L18foXJIE8Un/A/h6NJfGQp/e1J4A==" + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", + "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==" }, "@babel/helper-validator-option": { - "version": "7.12.17", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz", - "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==" + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", + "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==" }, "@babel/helpers": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.0.tgz", - "integrity": "sha512-+ufuXprtQ1D1iZTO/K9+EBRn+qPWMJjZSw/S0KlFrxCw4tkrzv9grgpDHkY9MeQTjTY8i2sp7Jep8DfU6tN9Mg==", + "version": "7.14.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.14.6.tgz", + "integrity": "sha512-yesp1ENQBiLI+iYHSJdoZKUtRpfTlL1grDIX9NRlAVppljLw/4tTyYupIB7uIYmC3stW/imAv8EqaKaS/ibmeA==", "requires": { - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.14.0", - "@babel/types": "^7.14.0" + "@babel/template": "^7.14.5", + "@babel/traverse": "^7.14.5", + "@babel/types": "^7.14.5" } }, "@babel/highlight": { - "version": "7.14.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.0.tgz", - "integrity": "sha512-YSCOwxvTYEIMSGaBQb5kDDsCopDdiUGsqpatp3fOlI4+2HQSkTmEVWnVuySdAC5EWCqSWWTv0ib63RjR7dTBdg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", + "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", "requires": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, @@ -281,48 +289,49 @@ } }, "@babel/parser": { - "version": "7.14.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.3.tgz", - "integrity": "sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ==" + "version": "7.14.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.7.tgz", + "integrity": "sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==" }, "@babel/plugin-syntax-flow": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.12.13.tgz", - "integrity": "sha512-J/RYxnlSLXZLVR7wTRsozxKT8qbsx1mNKJzXEEjQ0Kjx1ZACcyHgbanNWNCFtc36IzuWhYWPpvJFFoexoOWFmA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.14.5.tgz", + "integrity": "sha512-9WK5ZwKCdWHxVuU13XNT6X73FGmutAXeor5lGFq6qhOFtMFUF4jkbijuyUdZZlpYq6E2hZeZf/u3959X9wsv0Q==", "requires": { - "@babel/helper-plugin-utils": "^7.12.13" + "@babel/helper-plugin-utils": "^7.14.5" } }, "@babel/plugin-transform-flow-strip-types": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.13.0.tgz", - "integrity": "sha512-EXAGFMJgSX8gxWD7PZtW/P6M+z74jpx3wm/+9pn+c2dOawPpBkUX7BrfyPvo6ZpXbgRIEuwgwDb/MGlKvu2pOg==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.14.5.tgz", + "integrity": "sha512-KhcolBKfXbvjwI3TV7r7TkYm8oNXHNBqGOy6JDVwtecFaRoKYsUUqJdS10q0YDKW1c6aZQgO+Ys3LfGkox8pXA==", "requires": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-flow": "^7.12.13" + "@babel/helper-plugin-utils": "^7.14.5", + "@babel/plugin-syntax-flow": "^7.14.5" } }, "@babel/template": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", - "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.14.5.tgz", + "integrity": "sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==", "requires": { - "@babel/code-frame": "^7.12.13", - "@babel/parser": "^7.12.13", - "@babel/types": "^7.12.13" + "@babel/code-frame": "^7.14.5", + "@babel/parser": "^7.14.5", + "@babel/types": "^7.14.5" } }, "@babel/traverse": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.2.tgz", - "integrity": "sha512-TsdRgvBFHMyHOOzcP9S6QU0QQtjxlRpEYOy3mcCO5RgmC305ki42aSAmfZEMSSYBla2oZ9BMqYlncBaKmD/7iA==", - "requires": { - "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.14.2", - "@babel/helper-function-name": "^7.14.2", - "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/parser": "^7.14.2", - "@babel/types": "^7.14.2", + "version": "7.14.7", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.7.tgz", + "integrity": "sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ==", + "requires": { + "@babel/code-frame": "^7.14.5", + "@babel/generator": "^7.14.5", + "@babel/helper-function-name": "^7.14.5", + "@babel/helper-hoist-variables": "^7.14.5", + "@babel/helper-split-export-declaration": "^7.14.5", + "@babel/parser": "^7.14.7", + "@babel/types": "^7.14.5", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -348,11 +357,11 @@ } }, "@babel/types": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.2.tgz", - "integrity": "sha512-SdjAG/3DikRHpUOjxZgnkbR11xUlyDMUFJdvnIgZEE16mqmY0BINMmc4//JMJglEmn6i7sq6p+mGrFWyZ98EEw==", + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.5.tgz", + "integrity": "sha512-M/NzBpEL95I5Hh4dwhin5JlE7EzO5PHMAuzjxss3tiOBD46KfQvVedN/3jEPZvdRvtsK2222XfdHogNIttFgcg==", "requires": { - "@babel/helper-validator-identifier": "^7.14.0", + "@babel/helper-validator-identifier": "^7.14.5", "to-fast-properties": "^2.0.0" } }, @@ -422,63 +431,75 @@ "integrity": "sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==" }, "@nodelib/fs.scandir": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", - "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "requires": { - "@nodelib/fs.stat": "2.0.4", + "@nodelib/fs.stat": "2.0.5", "run-parallel": "^1.1.9" } }, "@nodelib/fs.stat": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", - "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" }, "@nodelib/fs.walk": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", - "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.7.tgz", + "integrity": "sha512-BTIhocbPBSrRmHxOAJFtR18oLhxTtAFDAvL8hY1S3iU8k+E60W/YFs4jrixGzQjMpF4qPXxIQHcjVD9dz1C2QA==", "requires": { - "@nodelib/fs.scandir": "2.1.4", + "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "@parcel/babel-ast-utils": { - "version": "2.0.0-nightly.2310", - "resolved": "https://registry.npmjs.org/@parcel/babel-ast-utils/-/babel-ast-utils-2.0.0-nightly.2310.tgz", - "integrity": "sha512-9WuF3zS9p/PAU71yVO8YLfr2++wod4P5/Mx7usWFUT17ZYaiv7K6lXw6LCcARDBwRGc7jQQN0F0+luL1tn1bAA==", + "version": "2.0.0-nightly.2353", + "resolved": "https://registry.npmjs.org/@parcel/babel-ast-utils/-/babel-ast-utils-2.0.0-nightly.2353.tgz", + "integrity": "sha512-CT8qmMVRphCJ820ik8qS9oQ9XC3C6gn02U/kr2EXEsVWbhnYzvxKlD4hTpIHAaUYZZxEyX7Vq0OCz46gGI0Ujw==", "requires": { "@babel/parser": "^7.0.0", - "@parcel/source-map": "2.0.0-rc.1.0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/babylon-walk": "2.0.0-nightly.2353+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "astring": "^1.6.2" } }, - "@parcel/bundler-default": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/bundler-default/-/bundler-default-2.0.0-nightly.688.tgz", - "integrity": "sha512-sbcok3gz+0clC4dSKM40cuXwCqHIICwB6Mlen/6dxUFItF0kT0CX3czU+sOQXbYeWGsOC8gEx5gyuUH8NupPCA==", + "@parcel/babylon-walk": { + "version": "2.0.0-nightly.2353", + "resolved": "https://registry.npmjs.org/@parcel/babylon-walk/-/babylon-walk-2.0.0-nightly.2353.tgz", + "integrity": "sha512-oiRRgKWcur3QW9gRmG6F1hI3T1OJGZhIK0rUgxryWmWmNgxa6ezO0vq9iHmduETumBfObNrix78Q3K98fhJlBg==", "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@babel/types": "^7.12.13", + "lodash.clone": "^4.5.0" + } + }, + "@parcel/bundler-default": { + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/bundler-default/-/bundler-default-2.0.0-nightly.731.tgz", + "integrity": "sha512-jQ/KDfNU02UIikq5Gz11MtzaarX8mhcjZ8AGXu+gwbFadE8cvGjvElSwdqpCw9gHFJftC7G94KX+XY43G/pLkg==", + "requires": { + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/hash": "2.0.0-nightly.2353+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1" } }, "@parcel/cache": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.0.0-nightly.688.tgz", - "integrity": "sha512-XUbabahriftl9AJcS726Fl2nC7/2Hdh3onLtxKP/WtMDebvuCWTINSGnzneJs9m2CaquHb3ymjzCM1t7L6/uFw==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/cache/-/cache-2.0.0-nightly.731.tgz", + "integrity": "sha512-K/vyHpgCYDcReQQ20Kcb/eEO7Nd0AHx1888ozSC2dNOT6QzYW6SZAUTXFkDvlBSX05Q0Kvi+qAFDe/7wx0+tog==", "requires": { - "@parcel/logger": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0" + "@parcel/logger": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", + "lmdb-store": "^1.5.4" } }, "@parcel/codeframe": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.0.0-nightly.688.tgz", - "integrity": "sha512-I+gfC7YTiF56xuSWeE9NMlyaV3x8ewAhCUXQrr9k0vPJ0lnAOC50QvA6ZeeN7MM2zxJWtU4qHcwmqfo23RtI+Q==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.0.0-nightly.731.tgz", + "integrity": "sha512-veThLs4EtycJ9tGsj8EaTL/trRpTlN/SBpM6sp79i4VD0EJwEZZ21SUiVILwMfP3SVl07d17B/HVgQQZhpIPUA==", "requires": { "chalk": "^4.1.0", "emphasize": "^4.2.0", @@ -487,51 +508,52 @@ } }, "@parcel/config-default": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/config-default/-/config-default-2.0.0-nightly.688.tgz", - "integrity": "sha512-EH5absz//z45BcecHiz73R14y6JFTLq4oENkHucZsE2JDb6BFLfL6XeRZxr61YQNkthSgdEM+BbzBcl7uaBJBg==", - "requires": { - "@parcel/bundler-default": "2.0.0-nightly.688+14a039f0", - "@parcel/namer-default": "2.0.0-nightly.688+14a039f0", - "@parcel/optimizer-cssnano": "2.0.0-nightly.688+14a039f0", - "@parcel/optimizer-htmlnano": "2.0.0-nightly.688+14a039f0", - "@parcel/optimizer-terser": "2.0.0-nightly.688+14a039f0", - "@parcel/packager-css": "2.0.0-nightly.688+14a039f0", - "@parcel/packager-html": "2.0.0-nightly.688+14a039f0", - "@parcel/packager-js": "2.0.0-nightly.688+14a039f0", - "@parcel/packager-raw": "2.0.0-nightly.688+14a039f0", - "@parcel/reporter-dev-server": "2.0.0-nightly.688+14a039f0", - "@parcel/resolver-default": "2.0.0-nightly.688+14a039f0", - "@parcel/runtime-browser-hmr": "2.0.0-nightly.688+14a039f0", - "@parcel/runtime-js": "2.0.0-nightly.688+14a039f0", - "@parcel/runtime-react-refresh": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-babel": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-css": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-html": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-js": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-json": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-postcss": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-posthtml": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-raw": "2.0.0-nightly.688+14a039f0", - "@parcel/transformer-react-refresh-wrap": "2.0.0-nightly.688+14a039f0" + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/config-default/-/config-default-2.0.0-nightly.731.tgz", + "integrity": "sha512-DPD5TDJKDlTz9XoXbv8LsCOM8y4oFgidwks9Y5d02AEliI7GWKsIUR83etqYHqLxrAAcCD47hOYAXeV9kiZiJQ==", + "requires": { + "@parcel/bundler-default": "2.0.0-nightly.731+e63235f3", + "@parcel/namer-default": "2.0.0-nightly.731+e63235f3", + "@parcel/optimizer-cssnano": "2.0.0-nightly.731+e63235f3", + "@parcel/optimizer-htmlnano": "2.0.0-nightly.731+e63235f3", + "@parcel/optimizer-terser": "2.0.0-nightly.731+e63235f3", + "@parcel/packager-css": "2.0.0-nightly.731+e63235f3", + "@parcel/packager-html": "2.0.0-nightly.731+e63235f3", + "@parcel/packager-js": "2.0.0-nightly.731+e63235f3", + "@parcel/packager-raw": "2.0.0-nightly.731+e63235f3", + "@parcel/reporter-dev-server": "2.0.0-nightly.731+e63235f3", + "@parcel/resolver-default": "2.0.0-nightly.731+e63235f3", + "@parcel/runtime-browser-hmr": "2.0.0-nightly.731+e63235f3", + "@parcel/runtime-js": "2.0.0-nightly.731+e63235f3", + "@parcel/runtime-react-refresh": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-babel": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-css": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-html": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-js": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-json": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-postcss": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-posthtml": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-raw": "2.0.0-nightly.731+e63235f3", + "@parcel/transformer-react-refresh-wrap": "2.0.0-nightly.731+e63235f3" } }, "@parcel/core": { - "version": "2.0.0-nightly.686", - "resolved": "https://registry.npmjs.org/@parcel/core/-/core-2.0.0-nightly.686.tgz", - "integrity": "sha512-EQjE3Hh1EgdV2/4Qg8TehQpBsed011KStNBajgEcF04+bccm/jmX3ge/ht9hk5rH0uYcux5mEbhOMaafFN8FDA==", - "requires": { - "@parcel/cache": "2.0.0-nightly.688+14a039f0", - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/events": "2.0.0-nightly.688+14a039f0", - "@parcel/fs": "2.0.0-nightly.688+14a039f0", - "@parcel/logger": "2.0.0-nightly.688+14a039f0", - "@parcel/package-manager": "2.0.0-nightly.688+14a039f0", - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", - "@parcel/types": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", - "@parcel/workers": "2.0.0-nightly.688+14a039f0", + "version": "2.0.0-nightly.729", + "resolved": "https://registry.npmjs.org/@parcel/core/-/core-2.0.0-nightly.729.tgz", + "integrity": "sha512-qqcAQAUV1zkxzO/jPspFOixmyuJb6jUGANq+6cCRhA64Y6q95GVsUXtUS8LvJC3TM1T9pwEGhZIE0FZPzh0qdw==", + "requires": { + "@parcel/cache": "2.0.0-nightly.731+e63235f3", + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/events": "2.0.0-nightly.731+e63235f3", + "@parcel/fs": "2.0.0-nightly.731+e63235f3", + "@parcel/hash": "2.0.0-nightly.2353+e63235f3", + "@parcel/logger": "2.0.0-nightly.731+e63235f3", + "@parcel/package-manager": "2.0.0-nightly.731+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "@parcel/types": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", + "@parcel/workers": "2.0.0-nightly.731+e63235f3", "abortcontroller-polyfill": "^1.1.9", "base-x": "^3.0.8", "browserslist": "^4.6.6", @@ -547,48 +569,58 @@ } }, "@parcel/diagnostic": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.0.0-nightly.688.tgz", - "integrity": "sha512-dZrMZvmhqcPa83rRLw/jCX9jdqzvYGBym1HtU8E8Rvfh6fq/yMifT6+T0xgDqmc+jkMNUahgYvtd8mFl25SVNQ==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.0.0-nightly.731.tgz", + "integrity": "sha512-LzhgGwvlHypVkhJOBcFX0ZfcssVkI764+3zJVnE9SJVxn7ILtA9AAxezkQxHNfsa4akGLIofOkdSAavFQA6iBA==", "requires": { "json-source-map": "^0.6.1", "nullthrows": "^1.1.1" } }, "@parcel/events": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.0.0-nightly.688.tgz", - "integrity": "sha512-9kaQx/xSY5OZcXZS1kccmg1aERs8j8/axQNT0gac0jiAqYNnDpuGfUsdD2VEaslbczw6kFtqPnuTkwbEskHnjg==" + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/events/-/events-2.0.0-nightly.731.tgz", + "integrity": "sha512-TOGTMb8T1YJU7s/aBBMaPuMDgxaxej+cd996vb9JIkL576DvPtm2LetMOG/zFh/hNtOVf2DCoYm7p57f6LgftA==" }, "@parcel/fs": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.0.0-nightly.688.tgz", - "integrity": "sha512-9kdYcp5KVA0nwdEAdBSE1tt8//PLrdjqP0VpuoBtCYZ8vo5Zm1u2/pGjgfiG0o2o0O0wWmywmMkD1beR7o/jQA==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/fs/-/fs-2.0.0-nightly.731.tgz", + "integrity": "sha512-HQkbKjGmfr7NwD/StpqUNBQmXWBOvCC6dkVYE6zyGb+TDxsExsm9paqjM7oG/VHGr5X1iV7xZuADHTFs4fiCUA==", "requires": { - "@parcel/fs-search": "2.0.0-nightly.2310+14a039f0", - "@parcel/fs-write-stream-atomic": "2.0.0-nightly.2310+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/fs-search": "2.0.0-nightly.2353+e63235f3", + "@parcel/fs-write-stream-atomic": "2.0.0-nightly.2353+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "@parcel/watcher": "2.0.0-alpha.10", - "@parcel/workers": "2.0.0-nightly.688+14a039f0", + "@parcel/workers": "2.0.0-nightly.731+e63235f3", "graceful-fs": "^4.2.4", "mkdirp": "^0.5.1", "ncp": "^2.0.0", "nullthrows": "^1.1.1", "rimraf": "^3.0.2" + }, + "dependencies": { + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } + } } }, "@parcel/fs-search": { - "version": "2.0.0-nightly.2310", - "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.0.0-nightly.2310.tgz", - "integrity": "sha512-v/ckPrcnxOJp6XMwEnad+F6zigo+kvoWr2X+nbtv8gpk2r6cbsYC7fW7v5YSkFRgwQAyWJ3l2LqT7r5Shxt25g==", + "version": "2.0.0-nightly.2353", + "resolved": "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.0.0-nightly.2353.tgz", + "integrity": "sha512-KCaVk5Th8LDnYMsm6rHE9FS3sR97xxjtma0s6Ug5ZMavrtSD2HHnScFoP9R3Oib+OG+PxXb44E1c2ysUAR6qlw==", "requires": { "detect-libc": "^1.0.3" } }, "@parcel/fs-write-stream-atomic": { - "version": "2.0.0-nightly.2310", - "resolved": "https://registry.npmjs.org/@parcel/fs-write-stream-atomic/-/fs-write-stream-atomic-2.0.0-nightly.2310.tgz", - "integrity": "sha512-p15KW6eIjnuIm1gs28+Qe7Ir2khU/k4wBP+pjvayLFKCaBQoYtgrjKndh5C5ZDk1yqxQ1x9fbXPqlJ1CjWixPw==", + "version": "2.0.0-nightly.2353", + "resolved": "https://registry.npmjs.org/@parcel/fs-write-stream-atomic/-/fs-write-stream-atomic-2.0.0-nightly.2353.tgz", + "integrity": "sha512-LX2CJuLNtIxZH0ooBkVm+PgIo5AIMKjrbjPaiH1yHZDMuiA6redTU6yVM+EsKYc2kXfdDNA9fT4IhZYIA+S2kw==", "requires": { "graceful-fs": "^4.1.2", "iferr": "^1.0.2", @@ -596,37 +628,46 @@ "readable-stream": "1 || 2" } }, + "@parcel/hash": { + "version": "2.0.0-nightly.2353", + "resolved": "https://registry.npmjs.org/@parcel/hash/-/hash-2.0.0-nightly.2353.tgz", + "integrity": "sha512-WLG9fStLhANSoyZ3d7fDO8RGersuBXoK0e7igR0x8PqdiL7QNmpcBUPplHkMX3e2BU8vYOwYHldL6H4eFUW7rg==", + "requires": { + "detect-libc": "^1.0.3", + "xxhash-wasm": "^0.4.1" + } + }, "@parcel/logger": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.0.0-nightly.688.tgz", - "integrity": "sha512-OocZpBi3YPW/rQZfeS2ZnykyFA1xUj+BwK016+2yJ9BRWHrARrkjyX4jNTdE2+MmdEAHEtRncTM1429Urq893g==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/logger/-/logger-2.0.0-nightly.731.tgz", + "integrity": "sha512-S3CXf27NF6RbO/HlwFM0ZPrhAMasImjP3f8WmP8n3GqJaUKn6mcLFzHci2VsIFZhQkklpu2ydOj9wdFVoAZW/g==", "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/events": "2.0.0-nightly.688+14a039f0" + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/events": "2.0.0-nightly.731+e63235f3" } }, "@parcel/markdown-ansi": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.0.0-nightly.688.tgz", - "integrity": "sha512-V1wgSNXQWuNAMWWUn7oOGoJHM/n0JctMBUZjxtRR/qrF6pUbngrxz7Umg89H9XXGdT3npdBNe/X5Li/caGgn4A==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.0.0-nightly.731.tgz", + "integrity": "sha512-a5v6X41ZK4q4A+3j7MXuSBv+auzItZv4bxzskwHMDtF1U6Yh9ZviuWv2Smdj/sfRtFLSUMfYJyJt5C/ocwHZIw==", "requires": { "chalk": "^4.1.0" } }, "@parcel/namer-default": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.0.0-nightly.688.tgz", - "integrity": "sha512-JXngn/Ooj8IgLMcz4Gv5alqU0oGK+wirMHwF6AgS7XYI+DfP6R+fC+USzbal0EYTY7CSMbWjYq+MxBrxwuz3uQ==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.0.0-nightly.731.tgz", + "integrity": "sha512-A3n3dvYuBzU+iVfpl2zV9bFX6+nXq6ei2U6QI8pAo7/OePkFc5BdgXCXRvAEvANZuJ0BWtmHgLS/aEVFf0mYmw==", "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1" } }, "@parcel/node-libs-browser": { - "version": "2.0.0-nightly.2310", - "resolved": "https://registry.npmjs.org/@parcel/node-libs-browser/-/node-libs-browser-2.0.0-nightly.2310.tgz", - "integrity": "sha512-R/KYdFgoZ5pzoC7TW1QgJhCN89Bzilbhmz1/XeVthIimzKz9p572eP57NgK3VUSdc3dwka80DmSSYCl6qs+HYQ==", + "version": "2.0.0-nightly.2353", + "resolved": "https://registry.npmjs.org/@parcel/node-libs-browser/-/node-libs-browser-2.0.0-nightly.2353.tgz", + "integrity": "sha512-XZeXYsy7weXfLchXQOmRNT6KNWQ9KGzyrpiRtGVJ7TkmxTWfCjDGLVtUZOg3/vswyNKZA69kUqxOw04Y+YjAzg==", "requires": { "assert": "^2.0.0", "browserify-zlib": "^0.2.0", @@ -678,13 +719,13 @@ } }, "@parcel/node-resolver-core": { - "version": "2.0.0-nightly.2310", - "resolved": "https://registry.npmjs.org/@parcel/node-resolver-core/-/node-resolver-core-2.0.0-nightly.2310.tgz", - "integrity": "sha512-pe2ZLqsgXzwdlr+W4Z4XGAPCfU2V4uPMLrgn522DDQGwAAgt84k2w0LgXW/X7cSSObMMP02Ggv/UlQgqL5xwlg==", + "version": "2.0.0-nightly.2353", + "resolved": "https://registry.npmjs.org/@parcel/node-resolver-core/-/node-resolver-core-2.0.0-nightly.2353.tgz", + "integrity": "sha512-XFoOayc0Oxc1/wsh8ZXjieZgtAzXHgt3SPLbuTi0WMxWQRQt8i2CvvixnltMQNP9DNLoFjUFZgWaSozIqVUGfQ==", "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/node-libs-browser": "2.0.0-nightly.2310+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/node-libs-browser": "2.0.0-nightly.2353+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "micromatch": "^3.0.4", "nullthrows": "^1.1.1", "querystring": "^0.2.0" @@ -788,51 +829,51 @@ } }, "@parcel/optimizer-cssnano": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/optimizer-cssnano/-/optimizer-cssnano-2.0.0-nightly.688.tgz", - "integrity": "sha512-/gVPvbPZR20xyHc/IzCT4GjtN3vOjstcGNSNsITCVg2VSgt7RCBj3KkhP804rJObt72+471mnOm/bxVDjveZAg==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/optimizer-cssnano/-/optimizer-cssnano-2.0.0-nightly.731.tgz", + "integrity": "sha512-NlrmJyYY+OzkaPp4PBEd28U/+KyytpT50dbfmC7dZVGPPbNcUJ1uK8mGevhyIZu3ZXdqsmODr/ngf1XAUW4ZvA==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", - "cssnano": "^4.1.10", - "postcss": "^8.0.5" + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "cssnano": "^5.0.5", + "postcss": "^8.3.0" } }, "@parcel/optimizer-htmlnano": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/optimizer-htmlnano/-/optimizer-htmlnano-2.0.0-nightly.688.tgz", - "integrity": "sha512-Lb1ADnyNloBHLvypBe01S8q7I7kl09LyG14qg4Ipcsojk/PS0DFrjf2iLQZijcOuRWyuXV2RosVb58DigD2yQQ==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/optimizer-htmlnano/-/optimizer-htmlnano-2.0.0-nightly.731.tgz", + "integrity": "sha512-wxC0Eg3mR/2BROLrMIJbetFHtT/yBjNUyHoGO8vWgpdKpPoJItYjYXmIeMvpoT1DeGSgIzZ0meoVJVdSc5Yh+Q==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", - "htmlnano": "^0.2.2", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", + "htmlnano": "^1.0.0", "nullthrows": "^1.1.1", "posthtml": "^0.15.1" } }, "@parcel/optimizer-terser": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/optimizer-terser/-/optimizer-terser-2.0.0-nightly.688.tgz", - "integrity": "sha512-8u+xn9JQQbu61kldEQ8ZIqTzeUwX2x0INcGqaIFPfvcul4JEJYVdCYzfY14PKLqIG8IebA/ZLPb8LvwB8M4TPQ==", - "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/optimizer-terser/-/optimizer-terser-2.0.0-nightly.731.tgz", + "integrity": "sha512-7rCqpQ5DF/Yg7VcH5Rck3lTygM7No60veUuOTXV99fXKW3FpU+ThrUvO+dnyEsZvpPU10V5XfxfQhrKZYpzFsw==", + "requires": { + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1", "terser": "^5.2.0" } }, "@parcel/package-manager": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.0.0-nightly.688.tgz", - "integrity": "sha512-vH37Op0BHdTX/zYSEz7slfnr1+w/83uAp4Qx8Klz/kOBVzmNJf5FH3tdvGxopBSSSkNTV0Rb/Tbvm/tlrN4LBw==", - "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/fs": "2.0.0-nightly.688+14a039f0", - "@parcel/logger": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", - "@parcel/workers": "2.0.0-nightly.688+14a039f0", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.0.0-nightly.731.tgz", + "integrity": "sha512-B3acWUKTOReC4q/V3RiQII7gM49FhGnUqMPQslJ2SSaPaKC1NxO8SYfWymPrpA14OQyJSQpth8rJ+59LHbRSAg==", + "requires": { + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/fs": "2.0.0-nightly.731+e63235f3", + "@parcel/logger": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", + "@parcel/workers": "2.0.0-nightly.731+e63235f3", "command-exists": "^1.2.6", "cross-spawn": "^6.0.4", "nullthrows": "^1.1.1", @@ -841,66 +882,67 @@ } }, "@parcel/packager-css": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/packager-css/-/packager-css-2.0.0-nightly.688.tgz", - "integrity": "sha512-f5p7aC/E5G3kBMnEIXfQeXNX1JUcJYaI8IEWbgBaBg59LdmxkTbwuNYhVsJD+hMgek2KtFr03PEFdbMO7e/Tsw==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/packager-css/-/packager-css-2.0.0-nightly.731.tgz", + "integrity": "sha512-uoHyVRcTt4SsWnkwICb+Wdxppx5rsY8AIYI3T3XitQcoNzfApkCTYmW4HWd3J9qJD1djx8jTo37iRw3A/Dix1A==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1", - "postcss": "^8.2.1" + "postcss": "^8.3.0" } }, "@parcel/packager-html": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/packager-html/-/packager-html-2.0.0-nightly.688.tgz", - "integrity": "sha512-Yv1pcEhmd7W2pCp4XP0oUdvXBAOk/pSVEs/bU+D7HE6uEEJMdscn318iGQAGNoBLIcBcdzdaGurKBA2qBa/Cwg==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/packager-html/-/packager-html-2.0.0-nightly.731.tgz", + "integrity": "sha512-87LjmQR7pbD5gtSZZnpyEhdPG6AobRJzVO7UOpX0Dm1wBt3R0N8NYyxvwPwctEwgJSCS78QcFa4nEdJ1DD79oQ==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/types": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/types": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1", "posthtml": "^0.15.1" } }, "@parcel/packager-js": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/packager-js/-/packager-js-2.0.0-nightly.688.tgz", - "integrity": "sha512-BNMkDksMZpM/DIA8Jepk9qHFg2xemZueM4EhkqQkyfYKx/H3iTb+Xd4YxTi/8JWdrLYDM8Ykd6ERHXqh57st9Q==", - "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/packager-js/-/packager-js-2.0.0-nightly.731.tgz", + "integrity": "sha512-LO4th05UAXRJQm4wLup3IvQr8j6UyhczDSrGzA/w8BdGQ0ON0pWsn9goxw0PoGn9RkQmP1ymb3bOtMh0ts9qhA==", + "requires": { + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/hash": "2.0.0-nightly.2353+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "globals": "^13.2.0", "nullthrows": "^1.1.1" } }, "@parcel/packager-raw": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/packager-raw/-/packager-raw-2.0.0-nightly.688.tgz", - "integrity": "sha512-4QDyN4TribGAoVA/PfWZr0uXvqI2O8AB1ekfgQ44fgQ19xouKHmiN3VPLMNLKeP1V3leKGPDbo72UhJ2ThEUCA==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/packager-raw/-/packager-raw-2.0.0-nightly.731.tgz", + "integrity": "sha512-33XpBNexHY+tT+HkvjZHgV7Ey9x5fQgEPq7oidC6EN78BPA5eLZrSXaGJ8BAgKPBK4Jl7BkJhb1WTCoSOlyang==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0" + "@parcel/plugin": "2.0.0-nightly.731+e63235f3" } }, "@parcel/plugin": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.0.0-nightly.688.tgz", - "integrity": "sha512-EVIyL+c2rpxP2k3VyG19rttyYchgNSeFyNJw9W2g53N7wi40oYb+IW6UQpBLS9GsuhIBQpp2FwrTzXxqOtUd5Q==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.0.0-nightly.731.tgz", + "integrity": "sha512-I6A+JcvUpj8P+0yMLgSnJnSbO4dCtRtA6TIC1zd+4F146mrAik7dZaVAzODD8mCKbqyd7smLuo4r0rhd850L2g==", "requires": { - "@parcel/types": "2.0.0-nightly.688+14a039f0" + "@parcel/types": "2.0.0-nightly.731+e63235f3" } }, "@parcel/reporter-cli": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/reporter-cli/-/reporter-cli-2.0.0-nightly.688.tgz", - "integrity": "sha512-MqGRYmAhSiXvOe74FPW6094uVE1Mwy1/SeIGZXChoIeSokbxcsiOuZgfLB5kvyejDpqekqwdVc7ec92LSwxutA==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/reporter-cli/-/reporter-cli-2.0.0-nightly.731.tgz", + "integrity": "sha512-grsYc4KDoYM0naIP046MMEy/a/1LblUJOqsmKjlDrnJWOMPZz/VhPLXwn90TaaTRLkQs4InMYh1zI+6jw+rlLQ==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/types": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/types": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "chalk": "^4.1.0", "filesize": "^6.1.0", "nullthrows": "^1.1.1", @@ -911,12 +953,12 @@ } }, "@parcel/reporter-dev-server": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/reporter-dev-server/-/reporter-dev-server-2.0.0-nightly.688.tgz", - "integrity": "sha512-rCpzm2p44Segcc0iK+bf71qgnIfyccbmZsOxBhX1mVKeVurgLmWPXn1Oi1eS7ddstaLpFJ/OuIBK3aJk81Jw9Q==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/reporter-dev-server/-/reporter-dev-server-2.0.0-nightly.731.tgz", + "integrity": "sha512-FWkEunClZMTIRwZzqk+gBzewuD/TmS7+RElvQXyodR4/Z9zgDDkodGeVYzAOvXlNA8AOlZ3daIbywg0mkaNSLA==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "connect": "^3.7.0", "ejs": "^2.6.1", "http-proxy-middleware": "^1.0.0", @@ -926,72 +968,73 @@ }, "dependencies": { "ws": { - "version": "7.4.6", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", - "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==" + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.0.tgz", + "integrity": "sha512-6ezXvzOZupqKj4jUqbQ9tXuJNo+BR2gU8fFRk3XCP3e0G6WT414u5ELe6Y0vtp7kmSJ3F7YWObSNr1ESsgi4vw==" } } }, "@parcel/resolver-default": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/resolver-default/-/resolver-default-2.0.0-nightly.688.tgz", - "integrity": "sha512-XfrPmY/tbrTPV2j+0MES8agscwJFcZv+OwNrzsCQeNICERgCayXzIU/Jp/byKJs7u1NcW08XFVWcZDQv1I/f0g==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/resolver-default/-/resolver-default-2.0.0-nightly.731.tgz", + "integrity": "sha512-A7t1hsWjsrcLTLvzMQ5plTu/XhUloDFjJJZ9hx5M/NoQCNsHKHArFsbNXS/ITgtD0tdXVvKYLq8xPzZk6HaDTw==", "requires": { - "@parcel/node-resolver-core": "2.0.0-nightly.2310+14a039f0", - "@parcel/plugin": "2.0.0-nightly.688+14a039f0" + "@parcel/node-resolver-core": "2.0.0-nightly.2353+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3" } }, "@parcel/runtime-browser-hmr": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/runtime-browser-hmr/-/runtime-browser-hmr-2.0.0-nightly.688.tgz", - "integrity": "sha512-+uZRLXO0QAiCiZdca9JQLLC+sO2bjz9exs0SYma2+F1GaTss/wcKhRm4AV4mj4YbgFmSa0S/xdm28qGC/WfvjA==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/runtime-browser-hmr/-/runtime-browser-hmr-2.0.0-nightly.731.tgz", + "integrity": "sha512-oOP6OBSTFuo3pG1BNuTkeej9paVqAO7k/9dFR2xcQ3jE1Bx2UUOKCX5wyrFULAxxlfG2dJ4xNbjIJJugEhddsw==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0" + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3" } }, "@parcel/runtime-js": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/runtime-js/-/runtime-js-2.0.0-nightly.688.tgz", - "integrity": "sha512-G/p/CERre4Cs9aREOCxLRm3bSQQ/QBWUKKPHiHY4aW+BeXvACBsvcE4YzTsHSn3ZFp01ukbFT/3eILMQW8OgoQ==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/runtime-js/-/runtime-js-2.0.0-nightly.731.tgz", + "integrity": "sha512-7OvPCYeeGOZuzYXCr0utI/x/jPoXR9U5KB6CYqg+VmDpyF/3HdYHf9aRxNkwJVRcXIC73GHhvVrpZXYFTnPdvQ==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1" } }, "@parcel/runtime-react-refresh": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/runtime-react-refresh/-/runtime-react-refresh-2.0.0-nightly.688.tgz", - "integrity": "sha512-OoBQhnxzVqlJ48kDFOf3wejmefsfmpNm40WQdIqOIy4Ds4pvAIKRau0lv/Z+FGp0aM0yDWY+QuSlQ0A8SlmAZQ==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/runtime-react-refresh/-/runtime-react-refresh-2.0.0-nightly.731.tgz", + "integrity": "sha512-2Rg3yV3HIEkX3xnkTIrv4yMk5AitfiZLBXBjMclwRpVn+YpAal5AJLKO0667h9bUbdKqE7/6T2davVDT63RBHA==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "react-refresh": "^0.9.0" } }, "@parcel/source-map": { - "version": "2.0.0-rc.1.0", - "resolved": "https://registry.npmjs.org/@parcel/source-map/-/source-map-2.0.0-rc.1.0.tgz", - "integrity": "sha512-X+1Eef2eVLqGbUSBjP6n2tNnqQv0HyLu6j324hPSqqA8JeHk3X1M5V6FzUe9W2RbCF1Y49VvlXRfC6BqMrZyEw==", + "version": "2.0.0-rc.4", + "resolved": "https://registry.npmjs.org/@parcel/source-map/-/source-map-2.0.0-rc.4.tgz", + "integrity": "sha512-Yl6pNy34YNQfXtx03CCTKTrV6X3hh7v2vSrFDzJe/m6HFSlc1/n2pz05bbPOoeojR8zVNRRVoAdSH0iDMKGRuQ==", "requires": { "detect-libc": "^1.0.3", "globby": "^11.0.3" } }, "@parcel/transformer-babel": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-babel/-/transformer-babel-2.0.0-nightly.688.tgz", - "integrity": "sha512-nCOtsrwmkpKeewVP/Lc2jKgS9qy5SxwJIOFurzP+yoPCEHySziBZZr1pYNMq9F+xvrArWsXoagRFi2uNiEyk/Q==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-babel/-/transformer-babel-2.0.0-nightly.731.tgz", + "integrity": "sha512-3XIi3tKSb760j7cbJZF129W0+PiuqpKjM1YqMSI0bjlSDn9TJtoGY/gP3gTOLdqIqemkh0l8sU/aZRpaYMkMtg==", "requires": { "@babel/core": "^7.12.0", "@babel/generator": "^7.9.0", "@babel/helper-compilation-targets": "^7.8.4", "@babel/plugin-transform-flow-strip-types": "^7.0.0", "@babel/traverse": "^7.0.0", - "@parcel/babel-ast-utils": "2.0.0-nightly.2310+14a039f0", - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/babel-ast-utils": "2.0.0-nightly.2353+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "browserslist": "^4.6.6", "core-js": "^3.2.1", "nullthrows": "^1.1.1", @@ -999,116 +1042,52 @@ } }, "@parcel/transformer-css": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-css/-/transformer-css-2.0.0-nightly.688.tgz", - "integrity": "sha512-UuYkH5UOtvrO136fwsMZf7z6bvAR95mPee2hAADEOLQPt+4NfeeeDqE/Qf99JktX2smh16g3AbVm21+ZsNjcAg==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-css/-/transformer-css-2.0.0-nightly.731.tgz", + "integrity": "sha512-RNxEou337zla0hyvCcHQgRIHXKU8YSZ461qBa2lhIjBbc8M+9YaTAGYViwDvXKIZwg2b5w5yKEwxCnUeDT/fJQ==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1", - "postcss": "^8.2.1", + "postcss": "^8.3.0", "postcss-value-parser": "^4.1.0", "semver": "^5.4.1" } }, "@parcel/transformer-html": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-html/-/transformer-html-2.0.0-nightly.688.tgz", - "integrity": "sha512-sNDcq2FS6JPK21TzIuK1dyOFR7RW3XLBnqHnuutteWrCoNIS6i5U0iOJCLhPyRcpNaXNH03EuQT3ppmthHleyw==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-html/-/transformer-html-2.0.0-nightly.731.tgz", + "integrity": "sha512-cC9J2I4C083MCAh/ZlJ4JJW07iLJ4TjCjRtfTyqKH5bkeQUXNrO25p6kmq8Pxzts0huDn/BDqOOuQzucthAhrw==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/hash": "2.0.0-nightly.2353+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1", "posthtml": "^0.15.1", - "posthtml-parser": "^0.6.0", + "posthtml-parser": "^0.9.0", "posthtml-render": "^1.4.0", "semver": "^5.4.1" }, "dependencies": { - "dom-serializer": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", - "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - }, - "dependencies": { - "domhandler": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", - "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", - "requires": { - "domelementtype": "^2.2.0" - } - } - } - }, - "domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" - }, - "domhandler": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", - "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", - "requires": { - "domelementtype": "^2.0.1" - } - }, - "domutils": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", - "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", - "requires": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - }, - "dependencies": { - "domhandler": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", - "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", - "requires": { - "domelementtype": "^2.2.0" - } - } - } - }, - "htmlparser2": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-5.0.1.tgz", - "integrity": "sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ==", - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^3.3.0", - "domutils": "^2.4.2", - "entities": "^2.0.0" - } - }, "posthtml-parser": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.6.0.tgz", - "integrity": "sha512-5ffwKQNgtVHdhZniWxu+1ryvaZv5l25HPLUV6W5xy5nYVWMXtvjtwRnbSpfbKFvbyl7XI+d4AqkjmonkREqnXA==", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.9.0.tgz", + "integrity": "sha512-Ybw75S+aNJuXCoCUBF2drLRip18cwbT4IBKAT6Xx7VU6FxjuDIV5VofPZRQzgwzGsASZ++5JpRhK3vagPZ4JIQ==", "requires": { - "htmlparser2": "^5.0.1" + "htmlparser2": "^6.0.0" } } } }, "@parcel/transformer-js": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-js/-/transformer-js-2.0.0-nightly.688.tgz", - "integrity": "sha512-kMGjd1+OLXZRoZ5p789j6zBfMfa8PGMuJJIp/Tgcp6BNhHVKzx0YmNPf5mwOEK1HwgImtoiHnHAz2/wn1Kd1Cw==", - "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-js/-/transformer-js-2.0.0-nightly.731.tgz", + "integrity": "sha512-rvIHItuqVGUHbWxSlA/DE17dNy4Qh0Lp3zv9BUYNo7GgagxEOrDtieJN0mzx08OAwqsPbrXlwaHiZZlQsOgmkQ==", + "requires": { + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "@swc/helpers": "^0.2.11", "browserslist": "^4.6.6", "detect-libc": "^1.0.3", @@ -1119,11 +1098,11 @@ } }, "@parcel/transformer-json": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-json/-/transformer-json-2.0.0-nightly.688.tgz", - "integrity": "sha512-L/8+E33OmTkj4XKa5wR6J5mn/jYqBk0/PobB+/LXZ9IR3aBgeKOLgi409cd6YRNSVXeEIIAU0RhVGg9NdZ2BVw==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-json/-/transformer-json-2.0.0-nightly.731.tgz", + "integrity": "sha512-zcHL2zjoUpW08P6Uo16Hj4hrmjdPZJ9XG0nZk+PmAYi/EiTLF8oCWaTXZlIMpflqC1XKlDJJxhGYWJFd5ZdBkQ==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", "json5": "^2.1.0" }, "dependencies": { @@ -1138,12 +1117,13 @@ } }, "@parcel/transformer-postcss": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-postcss/-/transformer-postcss-2.0.0-nightly.688.tgz", - "integrity": "sha512-FIThKDr4jQjJ0EjH1+LvkQLuHIyCNLoIe8UfAAvHys1pRGpo4juVsD6UMoAEEQG74xqXT296u+2tTFmQtDcuaA==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-postcss/-/transformer-postcss-2.0.0-nightly.731.tgz", + "integrity": "sha512-QRIwhTW1JR9I0cyZfEHGIQa/4GgvohxwXGnEFcmR46lSo+rKVoktPT5xDqSr6Vd2dyZD2CwFzVflJpPsQJNUsw==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/hash": "2.0.0-nightly.2353+e63235f3", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "clone": "^2.1.1", "css-modules-loader-core": "^1.1.0", "nullthrows": "^1.1.1", @@ -1153,127 +1133,64 @@ } }, "@parcel/transformer-posthtml": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-posthtml/-/transformer-posthtml-2.0.0-nightly.688.tgz", - "integrity": "sha512-BoowtVC1PkI8OwVDaTjewKU1XnJ/KsNlwrnflWRt+JTSeBo9/1FxtRA5KxkiBrFBoXWgiin6D2SG/UaBZacAww==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-posthtml/-/transformer-posthtml-2.0.0-nightly.731.tgz", + "integrity": "sha512-H7p+hy9w3jVOgI+wVsABJKqZws5PnJHOzJz/bUkb/HNcrpvO/DXduM4NqSWxrJefxXUq9WkjigHEC41ajj8Tsw==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "nullthrows": "^1.1.1", "posthtml": "^0.15.1", - "posthtml-parser": "^0.6.0", + "posthtml-parser": "^0.9.0", "posthtml-render": "^1.4.0", "semver": "^5.4.1" }, "dependencies": { - "dom-serializer": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", - "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - }, - "dependencies": { - "domhandler": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", - "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", - "requires": { - "domelementtype": "^2.2.0" - } - } - } - }, - "domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" - }, - "domhandler": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", - "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", - "requires": { - "domelementtype": "^2.0.1" - } - }, - "domutils": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", - "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", - "requires": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - }, - "dependencies": { - "domhandler": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.2.0.tgz", - "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", - "requires": { - "domelementtype": "^2.2.0" - } - } - } - }, - "htmlparser2": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-5.0.1.tgz", - "integrity": "sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ==", - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^3.3.0", - "domutils": "^2.4.2", - "entities": "^2.0.0" - } - }, "posthtml-parser": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.6.0.tgz", - "integrity": "sha512-5ffwKQNgtVHdhZniWxu+1ryvaZv5l25HPLUV6W5xy5nYVWMXtvjtwRnbSpfbKFvbyl7XI+d4AqkjmonkREqnXA==", + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.9.0.tgz", + "integrity": "sha512-Ybw75S+aNJuXCoCUBF2drLRip18cwbT4IBKAT6Xx7VU6FxjuDIV5VofPZRQzgwzGsASZ++5JpRhK3vagPZ4JIQ==", "requires": { - "htmlparser2": "^5.0.1" + "htmlparser2": "^6.0.0" } } } }, "@parcel/transformer-raw": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-raw/-/transformer-raw-2.0.0-nightly.688.tgz", - "integrity": "sha512-hpBYUDUmUes6YI4MQVxxq6qXdrq0oZBM9fMLRkHB6J6WsaCf/qCYrqY1XU37JEhwkQastjFHbTVDvKGwRDKm5g==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-raw/-/transformer-raw-2.0.0-nightly.731.tgz", + "integrity": "sha512-IthiLDMibVM61IZMeXYYHRB72ypwHzgaHgc+ExQNG3iaDIQgF5P+EAH+7pjxXrRkjs7YhORDDey02ht8KczKYg==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0" + "@parcel/plugin": "2.0.0-nightly.731+e63235f3" } }, "@parcel/transformer-react-refresh-wrap": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/transformer-react-refresh-wrap/-/transformer-react-refresh-wrap-2.0.0-nightly.688.tgz", - "integrity": "sha512-W49VjUtcIaT30SHJMOt1tJKb6Xh1+Z5Ah18D4xnjU+sszav4r7dnMl3BS0Ai7ijwkB+8sM8+P7wwOn428loisQ==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/transformer-react-refresh-wrap/-/transformer-react-refresh-wrap-2.0.0-nightly.731.tgz", + "integrity": "sha512-y5aSGG/XOLyrdliypMuIokpq7uhNerVZ2vLgDgwm1KlOPdyyreAER+BFsiate25ZA4ssa5Y/W3kXJhWl6zVbCA==", "requires": { - "@parcel/plugin": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/plugin": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "react-refresh": "^0.9.0" } }, "@parcel/types": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.0.0-nightly.688.tgz", - "integrity": "sha512-243BwQXP3CUr9ejImjjdg6OQCYxx1BrYwOi6AiDHRl4gHYmF8csWuf9lUg75Zg3WW3V18FQM1BJQz4ELBTc+OA==" + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/types/-/types-2.0.0-nightly.731.tgz", + "integrity": "sha512-Rji8GYcvW0xUZpBLSxutTFHCnZQHzVJJsF0WPf7fi5fFgtviSSdSSP/wraS40HqLyVXISPgK5QwyLTMZ1Sa+sw==" }, "@parcel/utils": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.0.0-nightly.688.tgz", - "integrity": "sha512-TyuYZZtYP7ggkKICcqKKp82Hit5NrGFQ0iiSRJg7mwLCOezu1PCsXb6usWVapfcPQyFz8xHYqRQXYDRsGsFEQQ==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/utils/-/utils-2.0.0-nightly.731.tgz", + "integrity": "sha512-1WdShZPGe6T6HqXJ39+0IgchVjoXBTPpTz70EXfYF+Pf91v7qMoKnb3f6hL1GHNAc1FE99wzCrVqsOnP9SpS0g==", "requires": { "@iarna/toml": "^2.2.0", - "@parcel/codeframe": "2.0.0-nightly.688+14a039f0", - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/logger": "2.0.0-nightly.688+14a039f0", - "@parcel/markdown-ansi": "2.0.0-nightly.688+14a039f0", - "@parcel/source-map": "2.0.0-rc.1.0", + "@parcel/codeframe": "2.0.0-nightly.731+e63235f3", + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/hash": "2.0.0-nightly.2353+e63235f3", + "@parcel/logger": "2.0.0-nightly.731+e63235f3", + "@parcel/markdown-ansi": "2.0.0-nightly.731+e63235f3", + "@parcel/source-map": "2.0.0-rc.4", "ansi-html": "^0.0.7", "chalk": "^4.1.0", "clone": "^2.1.1", @@ -1299,17 +1216,22 @@ } }, "@parcel/workers": { - "version": "2.0.0-nightly.688", - "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.0.0-nightly.688.tgz", - "integrity": "sha512-WdpSAV5rfsEwx3vIlUF7Q5VgjZ9NnV7fQwfhmUNJemjFeYI7BId9I4dLJ+I1gyIgUNrHKsbQaUQ8yKJaQ8mAKg==", + "version": "2.0.0-nightly.731", + "resolved": "https://registry.npmjs.org/@parcel/workers/-/workers-2.0.0-nightly.731.tgz", + "integrity": "sha512-ZCboNzQw6EtNBTaj7HD6mq2TfHoVsH8Ub19CyQLETcTGNVXR/zk8q2bZZTxZf3vsFF89k1pXN+w5Q0wxUcjArA==", "requires": { - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/logger": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/logger": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "chrome-trace-event": "^1.0.2", "nullthrows": "^1.1.1" } }, + "@plotly/d3": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/@plotly/d3/-/d3-3.6.0.tgz", + "integrity": "sha512-5p6+3TlVn4k/xEfnohYzC2sWQBLW+4l0JbRdNJpO5dAVMOuNTXd0Bdbcsu299u/AjVHmBAGsXPrSNQSXugBrHA==" + }, "@plotly/d3-sankey": { "version": "0.7.2", "resolved": "https://registry.npmjs.org/@plotly/d3-sankey/-/d3-sankey-0.7.2.tgz", @@ -1353,44 +1275,49 @@ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.2.12.tgz", "integrity": "sha512-hsPGC/U/0xe/WghMeSgyFsq9nNPfA5oY1Il2AaeAJcu/vTm4Bv8o9ev4eAgxcA61i5WWp72amN20XVyxWwM5aQ==" }, + "@trysound/sax": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@trysound/sax/-/sax-0.1.1.tgz", + "integrity": "sha512-Z6DoceYb/1xSg5+e+ZlPZ9v0N16ZvZ+wYMraFue4HYrE4ttONKtsvruIRf6t9TBR0YvSOfi1hUU0fJfBLCDYow==" + }, "@turf/area": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@turf/area/-/area-6.3.0.tgz", - "integrity": "sha512-Y1cYyAQ2fk94npdgOeMF4msc2uabHY1m7A7ntixf1I8rkyDd6/iHh1IMy1QsM+VZXAEwDwsXhu+ZFYd3Jkeg4A==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@turf/area/-/area-6.4.0.tgz", + "integrity": "sha512-zJxRZX8UUCHlKuk0oRfYUnEMKw6+TiNDJHJ3R4q7/AC+yz/Wh3m+CkEoTryiXJ8+VoMiPFXrseleUHidfOOZzQ==", "requires": { - "@turf/helpers": "^6.3.0", - "@turf/meta": "^6.3.0" + "@turf/helpers": "^6.4.0", + "@turf/meta": "^6.4.0" } }, "@turf/bbox": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-6.3.0.tgz", - "integrity": "sha512-N4ue5Xopu1qieSHP2MA/CJGWHPKaTrVXQJjzHRNcY1vtsO126xbSaJhWUrFc5x5vVkXp0dcucGryO0r5m4o/KA==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-6.4.0.tgz", + "integrity": "sha512-eASq6Op3sGAA293Qo3gTwuQAvdoQCKah4rgA5FZkQ2xvkYquQnkUhV2U18bFgw58aSP1g2Y+rpmSEPHDFX6/6g==", "requires": { - "@turf/helpers": "^6.3.0", - "@turf/meta": "^6.3.0" + "@turf/helpers": "^6.4.0", + "@turf/meta": "^6.4.0" } }, "@turf/centroid": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@turf/centroid/-/centroid-6.3.0.tgz", - "integrity": "sha512-7KTyqhUEqXDoyR/nf/jAXiW8ZVszEnrp5XZkgYyrf2GWdSovSO0iCN1J3bE2jkJv7IWyeDmGYL61GGzuTSZS2Q==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@turf/centroid/-/centroid-6.4.0.tgz", + "integrity": "sha512-p78MVeJ3InVZzkBP4rpoWTUspsRqsW6a/fGuigfjizHz+YqTRXyG7HDkqoR8IwLwpQC83Nlw5kyacgMlgEbN+Q==", "requires": { - "@turf/helpers": "^6.3.0", - "@turf/meta": "^6.3.0" + "@turf/helpers": "^6.4.0", + "@turf/meta": "^6.4.0" } }, "@turf/helpers": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-6.3.0.tgz", - "integrity": "sha512-kr6KuD4Z0GZ30tblTEvi90rvvVNlKieXuMC8CTzE/rVQb0/f/Cb29zCXxTD7giQTEQY/P2nRW23wEqqyNHulCg==" + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@turf/helpers/-/helpers-6.4.0.tgz", + "integrity": "sha512-7vVpWZwHP0Qn8DDSlM++nhs3/6zfPt+GODjvLVZ+sWIG4S3vOtUUOfO5eIjRzxsUHHqhgiIL0QA17u79uLM+mQ==" }, "@turf/meta": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-6.3.0.tgz", - "integrity": "sha512-qBJjaAJS9H3ap0HlGXyF/Bzfl0qkA9suafX/jnDsZvWMfVLt+s+o6twKrXOGk5t7nnNON2NFRC8+czxpu104EQ==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/@turf/meta/-/meta-6.4.0.tgz", + "integrity": "sha512-fMra6vMskwz1knn0/tb22ppOeE8CCmpvOvTIxLdV1WYWAoC4bJ4WdXKvZRsJKpHOX5iFehx4DT8aaGdROA4Y3Q==", "requires": { - "@turf/helpers": "^6.3.0" + "@turf/helpers": "^6.4.0" } }, "@types/http-proxy": { @@ -1402,14 +1329,14 @@ } }, "@types/node": { - "version": "15.6.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.1.tgz", - "integrity": "sha512-7EIraBEyRHEe7CH+Fm1XvgqU6uwZN8Q7jppJGcqjROMT29qhAuuOxYB1uEY5UMYQKEmA5D+5tBnhdaPXSsLONA==" + "version": "15.12.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.12.4.tgz", + "integrity": "sha512-zrNj1+yqYF4WskCMOHwN+w9iuD12+dGm0rQ35HLl9/Ouuq52cEtd0CH9qMgrdNmi5ejC1/V7vKEXYubB+65DkA==" }, - "@types/q": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz", - "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==" + "@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==" }, "a-big-triangle": { "version": "1.0.3", @@ -1528,21 +1455,6 @@ "color-convert": "^2.0.1" } }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "requires": { - "sprintf-js": "~1.0.2" - }, - "dependencies": { - "sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - } - } - }, "arr-diff": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", @@ -1647,9 +1559,9 @@ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==" }, "astring": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/astring/-/astring-1.7.4.tgz", - "integrity": "sha512-WiVqDJV0AayUUH65FfUrbnBO4KD10854cyU49lK30+2n/lEkJDRqBKj/2fYGhZSD3uIt1H1VfW/pQtO07kR2Xg==" + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.7.5.tgz", + "integrity": "sha512-lobf6RWXb8c4uZ7Mdq0U12efYmpD1UFnyOWVJPTa3ukqZrMopav+2hdNu0hgBF0JIBFK9QgrBDfwYvh3DFJDAA==" }, "async-limiter": { "version": "1.0.1", @@ -2071,26 +1983,10 @@ "get-intrinsic": "^1.0.2" } }, - "caller-callsite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", - "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", - "requires": { - "callsites": "^2.0.0" - } - }, - "caller-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", - "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", - "requires": { - "caller-callsite": "^2.0.0" - } - }, "callsites": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", - "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=" + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" }, "caniuse-api": { "version": "3.0.0", @@ -2104,9 +2000,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001228", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz", - "integrity": "sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==" + "version": "1.0.30001239", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001239.tgz", + "integrity": "sha512-cyBkXJDMeI4wthy8xJ2FvDU6+0dtcZSJW3voUF8+e9f1bBeuvyZfc3PNbkOETyhbR+dGCPzn9E7MA3iwzusOhQ==" }, "canvas-fit": { "version": "1.5.0", @@ -2234,62 +2130,6 @@ "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" }, - "coa": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz", - "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==", - "requires": { - "@types/q": "^1.5.1", - "chalk": "^2.4.1", - "q": "^1.1.2" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, "collection-visit": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", @@ -2299,30 +2139,6 @@ "object-visit": "^1.0.0" } }, - "color": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/color/-/color-3.1.3.tgz", - "integrity": "sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==", - "requires": { - "color-convert": "^1.9.1", - "color-string": "^1.5.4" - }, - "dependencies": { - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - } - } - }, "color-alpha": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/color-alpha/-/color-alpha-1.0.4.tgz", @@ -2391,14 +2207,10 @@ "mumath": "^3.3.4" } }, - "color-string": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.5.tgz", - "integrity": "sha512-jgIoum0OfQfq9Whcfc2z/VhCNcmQjWbey6qBX0vqt7YICflUmBCh9E9CiQD5GSJ+Uehixm3NUwHVhqUAWRivZg==", - "requires": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } + "colord": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/colord/-/colord-2.0.1.tgz", + "integrity": "sha512-vm5YpaWamD0Ov6TSG0GGmUIwstrWcfKQV/h2CmbR7PbNu41+qdB5PW9lpzhjedrpm08uuYvcXi0Oel1RLZIJuA==" }, "colorette": { "version": "1.2.2", @@ -2561,9 +2373,9 @@ "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=" }, "convert-source-map": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", - "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", "requires": { "safe-buffer": "~5.1.1" }, @@ -2591,9 +2403,9 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=" }, "core-js": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.12.1.tgz", - "integrity": "sha512-Ne9DKPHTObRuB09Dru5AjwKjY4cJHVGu+y5f7coGn1E9Grkc3p2iBwE9AI/nJzsE29mQF7oq+mhYYRqOMFN1Bw==" + "version": "3.15.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.15.1.tgz", + "integrity": "sha512-h8VbZYnc9pDzueiS2610IULDkpFFPunHwIpl8yRwFahAEEdSpHlTy3h3z3rKq5h11CaUdBEeRViu9AYvbxiMeg==" }, "core-util-is": { "version": "1.0.2", @@ -2601,14 +2413,15 @@ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.0.tgz", + "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==", "requires": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" } }, "country-regex": { @@ -2681,83 +2494,16 @@ } }, "css-color-names": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", - "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-1.0.1.tgz", + "integrity": "sha512-/loXYOch1qU1biStIFsHH8SxTmOseh1IJqFvy8IujXOm1h+QjUdDhkzOrR5HG8K8mlxREj0yfi8ewCHx0eMxzA==" }, "css-declaration-sorter": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz", - "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.0.3.tgz", + "integrity": "sha512-52P95mvW1SMzuRZegvpluT6yEv0FqQusydKQPZsNN5Q7hh8EwQvN8E2nwuJ16BBvNN6LcoIZXu/Bk58DAhrrxw==", "requires": { - "postcss": "^7.0.1", "timsort": "^0.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "css-font": { @@ -2882,21 +2628,17 @@ } }, "css-select": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz", - "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-3.1.2.tgz", + "integrity": "sha512-qmss1EihSuBNWNNhHjxzxSfJoFBM/lERB/Q4EnsJQQC62R2evJDW481091oAdOr9uh46/0n4nrg0It5cAnj1RA==", "requires": { "boolbase": "^1.0.0", - "css-what": "^3.2.1", - "domutils": "^1.7.0", - "nth-check": "^1.0.2" + "css-what": "^4.0.0", + "domhandler": "^4.0.0", + "domutils": "^2.4.3", + "nth-check": "^2.0.0" } }, - "css-select-base-adapter": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz", - "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==" - }, "css-selector-tokenizer": { "version": "0.7.3", "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.3.tgz", @@ -2912,18 +2654,18 @@ "integrity": "sha1-hcbwhquk6zLFcaMIav/ENLhII+0=" }, "css-tree": { - "version": "1.0.0-alpha.37", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.37.tgz", - "integrity": "sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", "requires": { - "mdn-data": "2.0.4", + "mdn-data": "2.0.14", "source-map": "^0.6.1" } }, "css-what": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz", - "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ==" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-4.0.0.tgz", + "integrity": "sha512-teijzG7kwYfNVsUh2H/YN62xW3KK9YhXEgSlbxMlcyjPNvdKJqFx5lrwlJgoFP1ZHlB89iGDlo/JyshKeRhv5A==" }, "csscolorparser": { "version": "1.0.3", @@ -2936,273 +2678,55 @@ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==" }, "cssnano": { - "version": "4.1.11", - "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.11.tgz", - "integrity": "sha512-6gZm2htn7xIPJOHY824ERgj8cNPgPxyCSnkXc4v7YvNW+TdVfzgngHcEhy/8D11kUWRUMbke+tC+AUcUsnMz2g==", - "requires": { - "cosmiconfig": "^5.0.0", - "cssnano-preset-default": "^4.0.8", - "is-resolvable": "^1.0.0", - "postcss": "^7.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "cssnano-preset-default": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.8.tgz", - "integrity": "sha512-LdAyHuq+VRyeVREFmuxUZR1TXjQm8QQU/ktoo/x7bz+SdOge1YKc5eMN6pRW7YWBmyq59CqYba1dJ5cUukEjLQ==", - "requires": { - "css-declaration-sorter": "^4.0.1", - "cssnano-util-raw-cache": "^4.0.1", - "postcss": "^7.0.0", - "postcss-calc": "^7.0.1", - "postcss-colormin": "^4.0.3", - "postcss-convert-values": "^4.0.1", - "postcss-discard-comments": "^4.0.2", - "postcss-discard-duplicates": "^4.0.2", - "postcss-discard-empty": "^4.0.1", - "postcss-discard-overridden": "^4.0.1", - "postcss-merge-longhand": "^4.0.11", - "postcss-merge-rules": "^4.0.3", - "postcss-minify-font-values": "^4.0.2", - "postcss-minify-gradients": "^4.0.2", - "postcss-minify-params": "^4.0.2", - "postcss-minify-selectors": "^4.0.2", - "postcss-normalize-charset": "^4.0.1", - "postcss-normalize-display-values": "^4.0.2", - "postcss-normalize-positions": "^4.0.2", - "postcss-normalize-repeat-style": "^4.0.2", - "postcss-normalize-string": "^4.0.2", - "postcss-normalize-timing-functions": "^4.0.2", - "postcss-normalize-unicode": "^4.0.1", - "postcss-normalize-url": "^4.0.1", - "postcss-normalize-whitespace": "^4.0.2", - "postcss-ordered-values": "^4.1.2", - "postcss-reduce-initial": "^4.0.3", - "postcss-reduce-transforms": "^4.0.2", - "postcss-svgo": "^4.0.3", - "postcss-unique-selectors": "^4.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "cssnano-util-get-arguments": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz", - "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=" - }, - "cssnano-util-get-match": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz", - "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=" - }, - "cssnano-util-raw-cache": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz", - "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-5.0.6.tgz", + "integrity": "sha512-NiaLH/7yqGksFGsFNvSRe2IV/qmEBAeDE64dYeD8OBrgp6lE8YoMeQJMtsv5ijo6MPyhuoOvFhI94reahBRDkw==", "requires": { - "postcss": "^7.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } + "cosmiconfig": "^7.0.0", + "cssnano-preset-default": "^5.1.3", + "is-resolvable": "^1.1.0" } }, - "cssnano-util-same-parent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz", - "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==" + "cssnano-preset-default": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.1.3.tgz", + "integrity": "sha512-qo9tX+t4yAAZ/yagVV3b+QBKeLklQbmgR3wI7mccrDcR+bEk9iHgZN1E7doX68y9ThznLya3RDmR+nc7l6/2WQ==", + "requires": { + "css-declaration-sorter": "^6.0.3", + "cssnano-utils": "^2.0.1", + "postcss-calc": "^8.0.0", + "postcss-colormin": "^5.2.0", + "postcss-convert-values": "^5.0.1", + "postcss-discard-comments": "^5.0.1", + "postcss-discard-duplicates": "^5.0.1", + "postcss-discard-empty": "^5.0.1", + "postcss-discard-overridden": "^5.0.1", + "postcss-merge-longhand": "^5.0.2", + "postcss-merge-rules": "^5.0.2", + "postcss-minify-font-values": "^5.0.1", + "postcss-minify-gradients": "^5.0.1", + "postcss-minify-params": "^5.0.1", + "postcss-minify-selectors": "^5.1.0", + "postcss-normalize-charset": "^5.0.1", + "postcss-normalize-display-values": "^5.0.1", + "postcss-normalize-positions": "^5.0.1", + "postcss-normalize-repeat-style": "^5.0.1", + "postcss-normalize-string": "^5.0.1", + "postcss-normalize-timing-functions": "^5.0.1", + "postcss-normalize-unicode": "^5.0.1", + "postcss-normalize-url": "^5.0.2", + "postcss-normalize-whitespace": "^5.0.1", + "postcss-ordered-values": "^5.0.2", + "postcss-reduce-initial": "^5.0.1", + "postcss-reduce-transforms": "^5.0.1", + "postcss-svgo": "^5.0.2", + "postcss-unique-selectors": "^5.0.1" + } + }, + "cssnano-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-2.0.1.tgz", + "integrity": "sha512-i8vLRZTnEH9ubIyfdZCAdIdgnHAUeQeByEeQ2I7oTilvP9oHO6RScpeq3GsFUVqeB8uZgOQ9pw8utofNn32hhQ==" }, "csso": { "version": "4.2.0", @@ -3210,22 +2734,6 @@ "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==", "requires": { "css-tree": "^1.1.2" - }, - "dependencies": { - "css-tree": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", - "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", - "requires": { - "mdn-data": "2.0.14", - "source-map": "^0.6.1" - } - }, - "mdn-data": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", - "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==" - } } }, "cssom": { @@ -3263,11 +2771,6 @@ "type": "^1.0.1" } }, - "d3": { - "version": "3.5.17", - "resolved": "https://registry.npmjs.org/d3/-/d3-3.5.17.tgz", - "integrity": "sha1-vEZ0gAQ3iyGjYMn8fPUjF5B2L7g=" - }, "d3-array": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", @@ -3501,19 +3004,13 @@ } }, "dom-serializer": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", - "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", + "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", "requires": { "domelementtype": "^2.0.1", + "domhandler": "^4.2.0", "entities": "^2.0.0" - }, - "dependencies": { - "domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" - } } }, "domain-browser": { @@ -3522,9 +3019,9 @@ "integrity": "sha512-zrzUu6auyZWRexjCEPJnfWc30Hupxh2lJZOJAF3qa2bCuD4O/55t0FvQt3ZMhEw++gjNkwdkOVZh8yA32w/Vfw==" }, "domelementtype": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", + "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" }, "domexception": { "version": "1.0.1", @@ -3540,37 +3037,16 @@ "integrity": "sha512-zk7sgt970kzPks2Bf+dwT/PLzghLnsivb9CcxkvR8Mzr66Olr0Ofd8neSbglHJHaHa2MadfoSdNlKYAaafmWfA==", "requires": { "domelementtype": "^2.2.0" - }, - "dependencies": { - "domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" - } } }, "domutils": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", - "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.7.0.tgz", + "integrity": "sha512-8eaHa17IwJUPAiB+SoTYBo5mCdeMgdcAoXJ59m6DT1vw+5iLS3gNoqYaRowaBKtGVrOF1Jz4yDTgYKLK2kvfJg==", "requires": { - "dom-serializer": "0", - "domelementtype": "1" - } - }, - "dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "requires": { - "is-obj": "^2.0.0" - }, - "dependencies": { - "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" - } + "dom-serializer": "^1.0.1", + "domelementtype": "^2.2.0", + "domhandler": "^4.2.0" } }, "dotenv": { @@ -3685,9 +3161,9 @@ "integrity": "sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==" }, "electron-to-chromium": { - "version": "1.3.738", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.738.tgz", - "integrity": "sha512-vCMf4gDOpEylPSLPLSwAEsz+R3ShP02Y3cAKMZvTqule3XcPp7tgc/0ESI7IS6ZeyBlGClE50N53fIOkcIVnpw==" + "version": "1.3.754", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.754.tgz", + "integrity": "sha512-Q50dJbfYYRtwK3G9mFP/EsJVzlgcYwKxFjbXmvVa1lDAbdviPcT9QOpFoufDApub4j0hBfDRL6v3lWNLEdEDXQ==" }, "element-size": { "version": "1.1.1", @@ -3770,9 +3246,9 @@ } }, "es-abstract": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.1.tgz", - "integrity": "sha512-LEPRJp87wbQP5Skd3aMpAQePWPC3axO9VD3WmgFYL96dylzMi4xd2G4e/6lrH+wkSYchcPO+0hrSTugYOBjMdQ==", + "version": "1.18.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.3.tgz", + "integrity": "sha512-nQIr12dxV7SSxE6r6f1l3DtAeEYdsGpps13dR0TwJg1S8gyp4ZPgy3FZcHBgbiQqnoqSTb+oC+kO4UQ0C/J8vw==", "requires": { "call-bind": "^1.0.2", "es-to-primitive": "^1.2.1", @@ -3827,11 +3303,6 @@ "resolved": "https://registry.npmjs.org/es6-object-assign/-/es6-object-assign-1.1.0.tgz", "integrity": "sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw=" }, - "es6-promise": { - "version": "4.2.8", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", - "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" - }, "es6-symbol": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", @@ -4166,19 +3637,12 @@ } }, "filtered-vector": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/filtered-vector/-/filtered-vector-1.2.4.tgz", - "integrity": "sha1-VkU8A030MC0pPKjs3qw/kKvGeNM=", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/filtered-vector/-/filtered-vector-1.2.5.tgz", + "integrity": "sha512-5Vu6wdtQJ1O2nRmz39dIr9m3hEDq1skYby5k1cJQdNWK4dMgvYcUEiA/9j7NcKfNZ5LGxn8w2LSLiigyH7pTAw==", "requires": { - "binary-search-bounds": "^1.0.0", + "binary-search-bounds": "^2.0.0", "cubic-hermite": "^1.0.0" - }, - "dependencies": { - "binary-search-bounds": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-1.0.0.tgz", - "integrity": "sha1-MjyjF+PypA9CRMclX1OEpbIHu2k=" - } } }, "finalhandler": { @@ -4440,22 +3904,6 @@ "resolved": "https://registry.npmjs.org/gl-constants/-/gl-constants-1.0.0.tgz", "integrity": "sha1-WXpQTjZHUP9QJTqjX43qevSl0jM=" }, - "gl-contour2d": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/gl-contour2d/-/gl-contour2d-1.1.7.tgz", - "integrity": "sha512-GdebvJ9DtT3pJDpoE+eU2q+Wo9S3MijPpPz5arZbhK85w2bARmpFpVfPaDlZqWkB644W3BlH8TVyvAo1KE4Bhw==", - "requires": { - "binary-search-bounds": "^2.0.4", - "cdt2d": "^1.0.0", - "clean-pslg": "^1.1.2", - "gl-buffer": "^2.1.2", - "gl-shader": "^4.2.1", - "glslify": "^7.0.0", - "iota-array": "^1.0.0", - "ndarray": "^1.0.18", - "surface-nets": "^1.0.2" - } - }, "gl-error3d": { "version": "1.0.16", "resolved": "https://registry.npmjs.org/gl-error3d/-/gl-error3d-1.0.16.tgz", @@ -4805,17 +4253,17 @@ } }, "globals": { - "version": "13.8.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.8.0.tgz", - "integrity": "sha512-rHtdA6+PDBIjeEvA91rpqzEvk/k3/i7EeNQiryiWuJH0Hw9cpyJMAt2jtbAwUaRdhD+573X4vWw6IcjKPasi9Q==", + "version": "13.9.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.9.0.tgz", + "integrity": "sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA==", "requires": { "type-fest": "^0.20.2" } }, "globby": { - "version": "11.0.3", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz", - "integrity": "sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", + "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", "requires": { "array-union": "^2.1.0", "dir-glob": "^3.0.1", @@ -5260,16 +4708,17 @@ "integrity": "sha1-x43mW1Zjqll5id0rerSSANfk25g=" }, "htmlnano": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/htmlnano/-/htmlnano-0.2.9.tgz", - "integrity": "sha512-jWTtP3dCd7R8x/tt9DK3pvpcQd7HDMcRPUqPxr/i9989q2k5RHIhmlRDFeyQ/LSd8IKrteG8Ce5g0Ig4eGIipg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/htmlnano/-/htmlnano-1.0.0.tgz", + "integrity": "sha512-1lmF8MK6UZEEOtSusKn4/NJhJxw8vMb6lqie6Vmd80gxykPVstCqYGr4EYNlfkbLNQomQW++qHmnBDAe1XEytw==", "requires": { - "cssnano": "^4.1.11", - "posthtml": "^0.15.1", - "purgecss": "^2.3.0", + "cssnano": "^5.0.0", + "postcss": "^8.2.9", + "posthtml": "^0.15.2", + "purgecss": "^4.0.0", "relateurl": "^0.2.7", "srcset": "^3.0.0", - "svgo": "^1.3.2", + "svgo": "^2.3.0", "terser": "^5.6.1", "timsort": "^0.3.0", "uncss": "^0.17.3" @@ -5284,33 +4733,6 @@ "domhandler": "^4.0.0", "domutils": "^2.5.2", "entities": "^2.0.0" - }, - "dependencies": { - "dom-serializer": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz", - "integrity": "sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig==", - "requires": { - "domelementtype": "^2.0.1", - "domhandler": "^4.2.0", - "entities": "^2.0.0" - } - }, - "domelementtype": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz", - "integrity": "sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A==" - }, - "domutils": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-2.6.0.tgz", - "integrity": "sha512-y0BezHuy4MDYxh6OvolXYsH+1EMGmFbwv5FKW7ovwMG6zTPWqNPq3WF9ayZssFq+UlKdffGLbOEaghNdaOm1WA==", - "requires": { - "dom-serializer": "^1.0.1", - "domelementtype": "^2.2.0", - "domhandler": "^4.2.0" - } - } } }, "http-proxy": { @@ -5425,9 +4847,9 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "7.0.36", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz", + "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==", "requires": { "chalk": "^2.4.2", "source-map": "^0.6.1", @@ -5469,18 +4891,13 @@ "quantize": "^1.0.2" } }, - "image-size": { - "version": "0.7.5", - "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.7.5.tgz", - "integrity": "sha512-Hiyv+mXHfFEP7LzUL/llg9RwFxxY+o9N3JVLIeG5E7iFIFAalxvRU9UZthBdYDEVnzHMgjnKJPPpay5BWf1g9g==" - }, "import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", "requires": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" } }, "imurmurhash": { @@ -5517,18 +4934,11 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "interval-tree-1d": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/interval-tree-1d/-/interval-tree-1d-1.0.3.tgz", - "integrity": "sha1-j9veArayx9verWNry+2OCHENhcE=", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/interval-tree-1d/-/interval-tree-1d-1.0.4.tgz", + "integrity": "sha512-wY8QJH+6wNI0uh4pDQzMvl+478Qh7Rl4qLmqiluxALlNvl+I+o5x38Pw3/z7mDPTPS1dQalZJXsmbvxx5gclhQ==", "requires": { - "binary-search-bounds": "^1.0.0" - }, - "dependencies": { - "binary-search-bounds": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-1.0.0.tgz", - "integrity": "sha1-MjyjF+PypA9CRMclX1OEpbIHu2k=" - } + "binary-search-bounds": "^2.0.0" } }, "invert-permutation": { @@ -5542,9 +4952,9 @@ "integrity": "sha1-ge9X/l0FgUzVjCSDYyqZwwoOgIc=" }, "is-absolute-url": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", - "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=" + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-3.0.3.tgz", + "integrity": "sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q==" }, "is-accessor-descriptor": { "version": "0.1.6", @@ -5626,6 +5036,13 @@ "hsla-regex": "^1.0.0", "rgb-regex": "^1.0.1", "rgba-regex": "^1.0.0" + }, + "dependencies": { + "css-color-names": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", + "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=" + } } }, "is-core-module": { @@ -5676,11 +5093,6 @@ } } }, - "is-directory": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", - "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=" - }, "is-docker": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", @@ -5896,15 +5308,6 @@ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, - "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - } - }, "jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", @@ -5948,10 +5351,10 @@ "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" }, "json-schema": { "version": "0.2.3", @@ -6016,6 +5419,23 @@ "type-check": "~0.3.2" } }, + "lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=" + }, + "lmdb-store": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/lmdb-store/-/lmdb-store-1.5.5.tgz", + "integrity": "sha512-EwCn+eSGH1XD35qaDzbHTYMig+Aj+kBbCpxWHzhtrIBJpFYq5uoBo4zWG4JRFxsbfonFELhuiyX0QokISIxzsQ==", + "requires": { + "mkdirp": "^1.0.4", + "msgpackr": "^1.3.2", + "nan": "^2.14.2", + "node-gyp-build": "^4.2.3", + "weak-lru-cache": "^0.4.1" + } + }, "loader-utils": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", @@ -6036,11 +5456,21 @@ "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" }, + "lodash.clone": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.clone/-/lodash.clone-4.5.0.tgz", + "integrity": "sha1-GVhwRQ9aExkkeN9Lw9I9LeoZB7Y=" + }, "lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=" }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + }, "lodash.sortby": { "version": "4.7.0", "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", @@ -6181,21 +5611,14 @@ "integrity": "sha1-+4lBvl9evol55xjmJzsXjlhpRWU=" }, "matrix-camera-controller": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/matrix-camera-controller/-/matrix-camera-controller-2.1.3.tgz", - "integrity": "sha1-NeUmDMHNVQliunmfLY1OlLGjk3A=", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/matrix-camera-controller/-/matrix-camera-controller-2.1.4.tgz", + "integrity": "sha512-zsPGPONclrKSImNpqqKDTcqFpWLAIwMXEJtCde4IFPOw1dA9udzFg4HOFytOTosOFanchrx7+Hqq6glLATIxBA==", "requires": { - "binary-search-bounds": "^1.0.0", + "binary-search-bounds": "^2.0.0", "gl-mat4": "^1.1.2", "gl-vec3": "^1.0.3", "mat4-interpolate": "^1.0.3" - }, - "dependencies": { - "binary-search-bounds": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-1.0.0.tgz", - "integrity": "sha1-MjyjF+PypA9CRMclX1OEpbIHu2k=" - } } }, "md5.js": { @@ -6209,9 +5632,9 @@ } }, "mdn-data": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz", - "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==" + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==" }, "merge2": { "version": "1.4.1", @@ -6237,16 +5660,16 @@ } }, "mime-db": { - "version": "1.47.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", - "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==" + "version": "1.48.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz", + "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==" }, "mime-types": { - "version": "2.1.30", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", - "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", + "version": "2.1.31", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz", + "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==", "requires": { - "mime-db": "1.47.0" + "mime-db": "1.48.0" } }, "mimic-fn": { @@ -6297,12 +5720,9 @@ } }, "mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "requires": { - "minimist": "^1.2.5" - } + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" }, "monotone-convex-hull-2d": { "version": "1.0.1", @@ -6352,6 +5772,25 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, + "msgpackr": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/msgpackr/-/msgpackr-1.3.3.tgz", + "integrity": "sha512-2XWOqBxqVupqnmv6AHXjs78Ha4nOhmNQJ58gcu1Rzk/IiEseIa2KLk8EPIyzMQDYrzcxQ3Fy2ZLAOkXeqKPkRQ==", + "optional": true, + "requires": { + "msgpackr-extract": "^1.0.11" + } + }, + "msgpackr-extract": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-1.0.11.tgz", + "integrity": "sha512-qE31O3AX4zUxGcf0eIxYF1h2n6FnJHmsfiT5M/aAeGmHQmiWJCkqeIDXGD0trDFQ7/tb8KBN69LLBQpon2WQnQ==", + "optional": true, + "requires": { + "nan": "^2.14.2", + "node-gyp-build": "^4.2.3" + } + }, "mumath": { "version": "3.3.4", "resolved": "https://registry.npmjs.org/mumath/-/mumath-3.3.4.tgz", @@ -6365,6 +5804,11 @@ "resolved": "https://registry.npmjs.org/murmurhash-js/-/murmurhash-js-1.0.0.tgz", "integrity": "sha1-sGJ44h/Gw3+lMTcysEEry2rhX1E=" }, + "nan": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" + }, "nanoid": { "version": "3.1.23", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.23.tgz", @@ -6388,6 +5832,11 @@ "to-regex": "^3.0.1" } }, + "native-promise-only": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/native-promise-only/-/native-promise-only-0.8.1.tgz", + "integrity": "sha1-IKMYwwy0X3H+et+/eyHJnBRy7xE=" + }, "ncp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz", @@ -6459,6 +5908,31 @@ "typedarray-pool": "^1.0.0" } }, + "needle": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.6.0.tgz", + "integrity": "sha512-KKYdza4heMsEfSWD7VPUIz3zX2XDwOyX2d+geb4vrERZMT5RMU6ujjaD+I5Yr54uZxQ2w6XRTAhHBbSCyovZBg==", + "requires": { + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + } + } + }, "next-tick": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", @@ -6478,9 +5952,9 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" }, "node-addon-api": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.0.tgz", - "integrity": "sha512-kcwSAWhPi4+QzAtsL2+2s/awvDo2GKLsvMCwNRxb5BUshteXU8U97NCyvQDsGKs/m0He9WcG4YWew/BnuLx++w==" + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==" }, "node-forge": { "version": "0.10.0", @@ -6493,9 +5967,9 @@ "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==" }, "node-releases": { - "version": "1.1.72", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.72.tgz", - "integrity": "sha512-LLUo+PpH3dU6XizX3iVoubUNheF/owjXCZZ5yACDxNnPtgFuludV1ZL3ayK1kVep42Rmm0+R9/Y60NQbZ2bifw==" + "version": "1.1.73", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.73.tgz", + "integrity": "sha512-uW7fodD6pyW2FZNZnp/Z3hvWKeEW1Y8R1+1CnErE8cXFXzl5blBOoVB41CvMer6P6Q0S5FXDwcHgFd1Wj0U9zg==" }, "normalize-svg-path": { "version": "0.1.0", @@ -6503,9 +5977,9 @@ "integrity": "sha1-RWNg5g7Odfvve11+FgSA5//Rb+U=" }, "normalize-url": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz", - "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==" + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", + "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==" }, "normals": { "version": "1.1.0", @@ -6513,11 +5987,11 @@ "integrity": "sha1-MltZXtNK/kZ6bFWhT9kIV4f/WcA=" }, "nth-check": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", - "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.0.tgz", + "integrity": "sha512-i4sc/Kj8htBrAiH1viZ0TgU8Y5XqCaV/FziYK6TBczxmeKm3AEFWqqF3195yKudrarqy7Zu80Ra5dobFjn9X/Q==", "requires": { - "boolbase": "~1.0.0" + "boolbase": "^1.0.0" } }, "nullthrows": { @@ -6619,16 +6093,6 @@ "object-keys": "^1.1.1" } }, - "object.getownpropertydescriptors": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz", - "integrity": "sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2" - } - }, "object.pick": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", @@ -6637,17 +6101,6 @@ "isobject": "^3.0.1" } }, - "object.values": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz", - "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==", - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2", - "has": "^1.0.3" - } - }, "on-finished": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", @@ -6695,9 +6148,9 @@ } }, "ora": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.0.tgz", - "integrity": "sha512-1StwyXQGoU6gdjYkyVcqOLnVlbKj+6yPNNOxJVgpt9t4eksKjiriiHuxktLYkgllwk+D6MbC4ihH84L1udRXPg==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", "requires": { "bl": "^4.1.0", "chalk": "^4.1.0", @@ -6768,20 +6221,20 @@ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" }, "parcel": { - "version": "2.0.0-nightly.686", - "resolved": "https://registry.npmjs.org/parcel/-/parcel-2.0.0-nightly.686.tgz", - "integrity": "sha512-5jpqWBwltGFkr3J4XP8ID3AaE1Ik/eHeclfqjDsE8hYWBPZcqAnNbMzlBkyuWfc0dM5qY/uK0sUYXvz+0J8Z4A==", - "requires": { - "@parcel/config-default": "2.0.0-nightly.688+14a039f0", - "@parcel/core": "2.0.0-nightly.686+14a039f0", - "@parcel/diagnostic": "2.0.0-nightly.688+14a039f0", - "@parcel/events": "2.0.0-nightly.688+14a039f0", - "@parcel/fs": "2.0.0-nightly.688+14a039f0", - "@parcel/logger": "2.0.0-nightly.688+14a039f0", - "@parcel/package-manager": "2.0.0-nightly.688+14a039f0", - "@parcel/reporter-cli": "2.0.0-nightly.688+14a039f0", - "@parcel/reporter-dev-server": "2.0.0-nightly.688+14a039f0", - "@parcel/utils": "2.0.0-nightly.688+14a039f0", + "version": "2.0.0-nightly.729", + "resolved": "https://registry.npmjs.org/parcel/-/parcel-2.0.0-nightly.729.tgz", + "integrity": "sha512-7vDF+uo7+EG+u7q5VWMEfPnQzzPerpqr+nfFbHia3dCPm6r96Vt2JaU7OuLT+QThbmX1qYG42NzGJ3l7rmwgOw==", + "requires": { + "@parcel/config-default": "2.0.0-nightly.731+e63235f3", + "@parcel/core": "2.0.0-nightly.729+e63235f3", + "@parcel/diagnostic": "2.0.0-nightly.731+e63235f3", + "@parcel/events": "2.0.0-nightly.731+e63235f3", + "@parcel/fs": "2.0.0-nightly.731+e63235f3", + "@parcel/logger": "2.0.0-nightly.731+e63235f3", + "@parcel/package-manager": "2.0.0-nightly.731+e63235f3", + "@parcel/reporter-cli": "2.0.0-nightly.731+e63235f3", + "@parcel/reporter-dev-server": "2.0.0-nightly.731+e63235f3", + "@parcel/utils": "2.0.0-nightly.731+e63235f3", "chalk": "^4.1.0", "commander": "^7.0.0", "get-port": "^4.2.0", @@ -6795,6 +6248,14 @@ } } }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "requires": { + "callsites": "^3.0.0" + } + }, "parenthesis": { "version": "3.1.7", "resolved": "https://registry.npmjs.org/parenthesis/-/parenthesis-3.1.7.tgz", @@ -6813,12 +6274,14 @@ } }, "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "requires": { + "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" } }, "parse-rect": { @@ -6966,10 +6429,11 @@ } }, "plotly.js": { - "version": "1.58.4", - "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-1.58.4.tgz", - "integrity": "sha512-hdt/aEvkPjS1HJ7tJKcPqsqi9ErEZPhUFs4d2ANTLeBim+AmVcHzS1rtwr7ZrVCINgliW/+92u81omJoy+lbUw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/plotly.js/-/plotly.js-2.1.0.tgz", + "integrity": "sha512-2gV5Y2oVi1I+H6CLkZpPG4uyjpNE0SftskkTNN7m695H0cXEYD0D6sxryenNrTG46ejv/HB5HhujITrc8irLsw==", "requires": { + "@plotly/d3": "^3.6.0", "@plotly/d3-sankey": "0.7.2", "@plotly/d3-sankey-circular": "0.33.1", "@plotly/point-cluster": "^3.1.9", @@ -6984,18 +6448,15 @@ "color-rgba": "2.1.1", "convex-hull": "^1.0.3", "country-regex": "^1.1.0", - "d3": "^3.5.17", "d3-force": "^1.2.1", "d3-hierarchy": "^1.1.9", "d3-interpolate": "^1.4.0", "d3-time-format": "^2.2.3", "delaunay-triangulate": "^1.1.6", - "es6-promise": "^4.2.8", "fast-isnumeric": "^1.1.4", "gl-cone3d": "^1.5.2", - "gl-contour2d": "^1.1.7", "gl-error3d": "^1.0.16", - "gl-heatmap2d": "^1.1.0", + "gl-heatmap2d": "^1.1.1", "gl-line3d": "1.2.1", "gl-mat4": "^1.2.0", "gl-mesh3d": "^2.3.1", @@ -7011,25 +6472,25 @@ "glslify": "^7.1.1", "has-hover": "^1.0.1", "has-passive-events": "^1.0.0", - "image-size": "^0.7.5", "is-mobile": "^2.2.2", "mapbox-gl": "1.10.1", - "matrix-camera-controller": "^2.1.3", + "matrix-camera-controller": "^2.1.4", "mouse-change": "^1.4.0", "mouse-event-offset": "^3.0.2", "mouse-wheel": "^1.2.0", + "native-promise-only": "^0.8.1", "ndarray": "^1.0.19", "ndarray-linear-interpolate": "^1.0.0", "parse-svg-path": "^0.1.2", "polybooljs": "^1.2.0", + "probe-image-size": "^7.2.1", "regl": "^1.6.1", "regl-error2d": "^2.0.11", - "regl-line2d": "^3.0.18", - "regl-scatter2d": "^3.2.1", - "regl-splom": "^1.0.12", + "regl-line2d": "^3.1.0", + "regl-scatter2d": "^3.2.3", + "regl-splom": "^1.0.14", "right-now": "^1.0.0", "robust-orientation": "^1.1.3", - "sane-topojson": "^4.0.0", "strongly-connected-components": "^1.0.1", "superscript-text": "^1.0.0", "svg-path-sdf": "^1.1.3", @@ -7046,21 +6507,14 @@ "integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==" }, "point-in-big-polygon": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/point-in-big-polygon/-/point-in-big-polygon-2.0.0.tgz", - "integrity": "sha1-ObYT6mzxfWtD4Yj3fzTETGszulU=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/point-in-big-polygon/-/point-in-big-polygon-2.0.1.tgz", + "integrity": "sha512-DtrN8pa2VfMlvmWlCcypTFeBE4+OYz1ojDNJLKCWa4doiVAD6PRBbxFYAT71tsp5oKaRXT5sxEiHCAQKb1zr2Q==", "requires": { - "binary-search-bounds": "^1.0.0", + "binary-search-bounds": "^2.0.0", "interval-tree-1d": "^1.0.1", "robust-orientation": "^1.1.3", "slab-decomposition": "^1.0.1" - }, - "dependencies": { - "binary-search-bounds": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/binary-search-bounds/-/binary-search-bounds-1.0.0.tgz", - "integrity": "sha1-MjyjF+PypA9CRMclX1OEpbIHu2k=" - } } }, "polybooljs": { @@ -7082,9 +6536,9 @@ "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=" }, "postcss": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.0.tgz", - "integrity": "sha512-+ogXpdAjWGa+fdYY5BQ96V/6tAo+TdSSIMP5huJBIygdWwKtVoB5JWZ7yUd4xZ8r+8Kvvx4nyg/PQ071H4UtcQ==", + "version": "8.3.5", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.3.5.tgz", + "integrity": "sha512-NxTuJocUhYGsMiMFHDUkmjSKT3EdH4/WbGF6GCi1NDGk+vbcUTun4fpbOqaPtD8IIsztA2ilZm2DhYCuyN58gA==", "requires": { "colorette": "^1.2.2", "nanoid": "^3.1.23", @@ -7092,13 +6546,128 @@ } }, "postcss-calc": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.5.tgz", - "integrity": "sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-8.0.0.tgz", + "integrity": "sha512-5NglwDrcbiy8XXfPM11F3HeC6hoT9W7GUH/Zi5U/p7u3Irv4rHhdDcIZwG0llHXV4ftsBjpfWMXAnXNl4lnt8g==", "requires": { - "postcss": "^7.0.27", "postcss-selector-parser": "^6.0.2", "postcss-value-parser": "^4.0.2" + } + }, + "postcss-colormin": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.2.0.tgz", + "integrity": "sha512-+HC6GfWU3upe5/mqmxuqYZ9B2Wl4lcoUUNkoaX59nEWV4EtADCMiBqui111Bu8R8IvaZTmqmxrqOAqjbHIwXPw==", + "requires": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0", + "colord": "^2.0.1", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-convert-values": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.0.1.tgz", + "integrity": "sha512-C3zR1Do2BkKkCgC0g3sF8TS0koF2G+mN8xxayZx3f10cIRmTaAnpgpRQZjNekTZxM2ciSPoh2IWJm0VZx8NoQg==", + "requires": { + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-discard-comments": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.0.1.tgz", + "integrity": "sha512-lgZBPTDvWrbAYY1v5GYEv8fEO/WhKOu/hmZqmCYfrpD6eyDWWzAOsl2rF29lpvziKO02Gc5GJQtlpkTmakwOWg==" + }, + "postcss-discard-duplicates": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-5.0.1.tgz", + "integrity": "sha512-svx747PWHKOGpAXXQkCc4k/DsWo+6bc5LsVrAsw+OU+Ibi7klFZCyX54gjYzX4TH+f2uzXjRviLARxkMurA2bA==" + }, + "postcss-discard-empty": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-5.0.1.tgz", + "integrity": "sha512-vfU8CxAQ6YpMxV2SvMcMIyF2LX1ZzWpy0lqHDsOdaKKLQVQGVP1pzhrI9JlsO65s66uQTfkQBKBD/A5gp9STFw==" + }, + "postcss-discard-overridden": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-5.0.1.tgz", + "integrity": "sha512-Y28H7y93L2BpJhrdUR2SR2fnSsT+3TVx1NmVQLbcnZWwIUpJ7mfcTC6Za9M2PG6w8j7UQRfzxqn8jU2VwFxo3Q==" + }, + "postcss-merge-longhand": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.0.2.tgz", + "integrity": "sha512-BMlg9AXSI5G9TBT0Lo/H3PfUy63P84rVz3BjCFE9e9Y9RXQZD3+h3YO1kgTNsNJy7bBc1YQp8DmSnwLIW5VPcw==", + "requires": { + "css-color-names": "^1.0.1", + "postcss-value-parser": "^4.1.0", + "stylehacks": "^5.0.1" + } + }, + "postcss-merge-rules": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.0.2.tgz", + "integrity": "sha512-5K+Md7S3GwBewfB4rjDeol6V/RZ8S+v4B66Zk2gChRqLTCC8yjnHQ601omj9TKftS19OPGqZ/XzoqpzNQQLwbg==", + "requires": { + "browserslist": "^4.16.6", + "caniuse-api": "^3.0.0", + "cssnano-utils": "^2.0.1", + "postcss-selector-parser": "^6.0.5", + "vendors": "^1.0.3" + } + }, + "postcss-minify-font-values": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-5.0.1.tgz", + "integrity": "sha512-7JS4qIsnqaxk+FXY1E8dHBDmraYFWmuL6cgt0T1SWGRO5bzJf8sUoelwa4P88LEWJZweHevAiDKxHlofuvtIoA==", + "requires": { + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-minify-gradients": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.0.1.tgz", + "integrity": "sha512-odOwBFAIn2wIv+XYRpoN2hUV3pPQlgbJ10XeXPq8UY2N+9ZG42xu45lTn/g9zZ+d70NKSQD6EOi6UiCMu3FN7g==", + "requires": { + "cssnano-utils": "^2.0.1", + "is-color-stop": "^1.1.0", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-minify-params": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-5.0.1.tgz", + "integrity": "sha512-4RUC4k2A/Q9mGco1Z8ODc7h+A0z7L7X2ypO1B6V8057eVK6mZ6xwz6QN64nHuHLbqbclkX1wyzRnIrdZehTEHw==", + "requires": { + "alphanum-sort": "^1.0.2", + "browserslist": "^4.16.0", + "cssnano-utils": "^2.0.1", + "postcss-value-parser": "^4.1.0", + "uniqs": "^2.0.0" + } + }, + "postcss-minify-selectors": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-5.1.0.tgz", + "integrity": "sha512-NzGBXDa7aPsAcijXZeagnJBKBPMYLaJJzB8CQh6ncvyl2sIndLVWfbcDi0SBjRWk5VqEjXvf8tYwzoKf4Z07og==", + "requires": { + "alphanum-sort": "^1.0.2", + "postcss-selector-parser": "^6.0.5" + } + }, + "postcss-modules": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-3.2.2.tgz", + "integrity": "sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw==", + "requires": { + "generic-names": "^2.0.1", + "icss-replace-symbols": "^1.1.0", + "lodash.camelcase": "^4.3.0", + "postcss": "^7.0.32", + "postcss-modules-extract-imports": "^2.0.0", + "postcss-modules-local-by-default": "^3.0.2", + "postcss-modules-scope": "^2.2.0", + "postcss-modules-values": "^3.0.0", + "string-hash": "^1.1.1" }, "dependencies": { "ansi-styles": { @@ -7148,15 +6717,52 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "7.0.36", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz", + "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==", "requires": { "chalk": "^2.4.2", "source-map": "^0.6.1", "supports-color": "^6.1.0" } }, + "postcss-modules-extract-imports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz", + "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==", + "requires": { + "postcss": "^7.0.5" + } + }, + "postcss-modules-local-by-default": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz", + "integrity": "sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==", + "requires": { + "icss-utils": "^4.1.1", + "postcss": "^7.0.32", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-modules-scope": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz", + "integrity": "sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==", + "requires": { + "postcss": "^7.0.6", + "postcss-selector-parser": "^6.0.0" + } + }, + "postcss-modules-values": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz", + "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==", + "requires": { + "icss-utils": "^4.0.0", + "postcss": "^7.0.6" + } + }, "supports-color": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", @@ -7167,16 +6773,12 @@ } } }, - "postcss-colormin": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz", - "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==", + "postcss-modules-extract-imports": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz", + "integrity": "sha1-thTJcgvmgW6u41+zpfqh26agXds=", "requires": { - "browserslist": "^4.0.0", - "color": "^3.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "postcss": "^6.0.1" }, "dependencies": { "ansi-styles": { @@ -7195,16 +6797,6 @@ "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "color-convert": { @@ -7226,37 +6818,32 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", "requires": { - "chalk": "^2.4.2", + "chalk": "^2.4.1", "source-map": "^0.6.1", - "supports-color": "^6.1.0" + "supports-color": "^5.4.0" } }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { "has-flag": "^3.0.0" } } } }, - "postcss-convert-values": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz", - "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==", - "requires": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" + "postcss-modules-local-by-default": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz", + "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", + "requires": { + "css-selector-tokenizer": "^0.7.0", + "postcss": "^6.0.1" }, "dependencies": { "ansi-styles": { @@ -7275,16 +6862,6 @@ "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "color-convert": { @@ -7306,36 +6883,32 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", "requires": { - "chalk": "^2.4.2", + "chalk": "^2.4.1", "source-map": "^0.6.1", - "supports-color": "^6.1.0" + "supports-color": "^5.4.0" } }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { "has-flag": "^3.0.0" } } } }, - "postcss-discard-comments": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz", - "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==", + "postcss-modules-scope": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz", + "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", "requires": { - "postcss": "^7.0.0" + "css-selector-tokenizer": "^0.7.0", + "postcss": "^6.0.1" }, "dependencies": { "ansi-styles": { @@ -7354,16 +6927,6 @@ "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "color-convert": { @@ -7385,31 +6948,32 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", "requires": { - "chalk": "^2.4.2", + "chalk": "^2.4.1", "source-map": "^0.6.1", - "supports-color": "^6.1.0" + "supports-color": "^5.4.0" } }, "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { "has-flag": "^3.0.0" } } } }, - "postcss-discard-duplicates": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz", - "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==", + "postcss-modules-values": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz", + "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", "requires": { - "postcss": "^7.0.0" + "icss-replace-symbols": "^1.1.0", + "postcss": "^6.0.1" }, "dependencies": { "ansi-styles": { @@ -7428,16 +6992,6 @@ "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } } }, "color-convert": { @@ -7459,2183 +7013,153 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "6.0.23", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", + "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", "requires": { - "chalk": "^2.4.2", + "chalk": "^2.4.1", "source-map": "^0.6.1", - "supports-color": "^6.1.0" + "supports-color": "^5.4.0" } }, "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { "has-flag": "^3.0.0" } } } }, - "postcss-discard-empty": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz", - "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==", + "postcss-normalize-charset": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.0.1.tgz", + "integrity": "sha512-6J40l6LNYnBdPSk+BHZ8SF+HAkS4q2twe5jnocgd+xWpz/mx/5Sa32m3W1AA8uE8XaXN+eg8trIlfu8V9x61eg==" + }, + "postcss-normalize-display-values": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-5.0.1.tgz", + "integrity": "sha512-uupdvWk88kLDXi5HEyI9IaAJTE3/Djbcrqq8YgjvAVuzgVuqIk3SuJWUisT2gaJbZm1H9g5k2w1xXilM3x8DjQ==", "requires": { - "postcss": "^7.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } + "cssnano-utils": "^2.0.1", + "postcss-value-parser": "^4.1.0" } }, - "postcss-discard-overridden": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz", - "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==", + "postcss-normalize-positions": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-5.0.1.tgz", + "integrity": "sha512-rvzWAJai5xej9yWqlCb1OWLd9JjW2Ex2BCPzUJrbaXmtKtgfL8dBMOOMTX6TnvQMtjk3ei1Lswcs78qKO1Skrg==", "requires": { - "postcss": "^7.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } + "postcss-value-parser": "^4.1.0" } }, - "postcss-merge-longhand": { - "version": "4.0.11", - "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz", - "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==", - "requires": { - "css-color-names": "0.0.4", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "stylehacks": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-merge-rules": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz", - "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==", - "requires": { - "browserslist": "^4.0.0", - "caniuse-api": "^3.0.0", - "cssnano-util-same-parent": "^4.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0", - "vendors": "^1.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-selector-parser": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", - "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", - "requires": { - "dot-prop": "^5.2.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-minify-font-values": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz", - "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==", - "requires": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-minify-gradients": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz", - "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==", - "requires": { - "cssnano-util-get-arguments": "^4.0.0", - "is-color-stop": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-minify-params": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz", - "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==", - "requires": { - "alphanum-sort": "^1.0.0", - "browserslist": "^4.0.0", - "cssnano-util-get-arguments": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "uniqs": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-minify-selectors": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz", - "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==", - "requires": { - "alphanum-sort": "^1.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-selector-parser": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", - "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", - "requires": { - "dot-prop": "^5.2.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-modules": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/postcss-modules/-/postcss-modules-3.2.2.tgz", - "integrity": "sha512-JQ8IAqHELxC0N6tyCg2UF40pACY5oiL6UpiqqcIFRWqgDYO8B0jnxzoQ0EOpPrWXvcpu6BSbQU/3vSiq7w8Nhw==", - "requires": { - "generic-names": "^2.0.1", - "icss-replace-symbols": "^1.1.0", - "lodash.camelcase": "^4.3.0", - "postcss": "^7.0.32", - "postcss-modules-extract-imports": "^2.0.0", - "postcss-modules-local-by-default": "^3.0.2", - "postcss-modules-scope": "^2.2.0", - "postcss-modules-values": "^3.0.0", - "string-hash": "^1.1.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-modules-extract-imports": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz", - "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==", - "requires": { - "postcss": "^7.0.5" - } - }, - "postcss-modules-local-by-default": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz", - "integrity": "sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==", - "requires": { - "icss-utils": "^4.1.1", - "postcss": "^7.0.32", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.1.0" - } - }, - "postcss-modules-scope": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz", - "integrity": "sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==", - "requires": { - "postcss": "^7.0.6", - "postcss-selector-parser": "^6.0.0" - } - }, - "postcss-modules-values": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz", - "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==", - "requires": { - "icss-utils": "^4.0.0", - "postcss": "^7.0.6" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-modules-extract-imports": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.1.0.tgz", - "integrity": "sha1-thTJcgvmgW6u41+zpfqh26agXds=", - "requires": { - "postcss": "^6.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", - "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", - "requires": { - "chalk": "^2.4.1", - "source-map": "^0.6.1", - "supports-color": "^5.4.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-modules-local-by-default": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz", - "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", - "requires": { - "css-selector-tokenizer": "^0.7.0", - "postcss": "^6.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", - "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", - "requires": { - "chalk": "^2.4.1", - "source-map": "^0.6.1", - "supports-color": "^5.4.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-modules-scope": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz", - "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", - "requires": { - "css-selector-tokenizer": "^0.7.0", - "postcss": "^6.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", - "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", - "requires": { - "chalk": "^2.4.1", - "source-map": "^0.6.1", - "supports-color": "^5.4.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-modules-values": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz", - "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", - "requires": { - "icss-replace-symbols": "^1.1.0", - "postcss": "^6.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", - "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", - "requires": { - "chalk": "^2.4.1", - "source-map": "^0.6.1", - "supports-color": "^5.4.0" - } - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-charset": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz", - "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==", - "requires": { - "postcss": "^7.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-display-values": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz", - "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==", - "requires": { - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-positions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz", - "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==", - "requires": { - "cssnano-util-get-arguments": "^4.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-repeat-style": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz", - "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==", - "requires": { - "cssnano-util-get-arguments": "^4.0.0", - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-string": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz", - "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==", - "requires": { - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-timing-functions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz", - "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==", - "requires": { - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-unicode": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz", - "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==", - "requires": { - "browserslist": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-url": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz", - "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==", - "requires": { - "is-absolute-url": "^2.0.0", - "normalize-url": "^3.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-normalize-whitespace": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz", - "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==", - "requires": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-ordered-values": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz", - "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==", - "requires": { - "cssnano-util-get-arguments": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "postcss-reduce-initial": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz", - "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==", - "requires": { - "browserslist": "^4.0.0", - "caniuse-api": "^3.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } + "postcss-normalize-repeat-style": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.0.1.tgz", + "integrity": "sha512-syZ2itq0HTQjj4QtXZOeefomckiV5TaUO6ReIEabCh3wgDs4Mr01pkif0MeVwKyU/LHEkPJnpwFKRxqWA/7O3w==", + "requires": { + "cssnano-utils": "^2.0.1", + "postcss-value-parser": "^4.1.0" } }, - "postcss-reduce-transforms": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz", - "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==", + "postcss-normalize-string": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-5.0.1.tgz", + "integrity": "sha512-Ic8GaQ3jPMVl1OEn2U//2pm93AXUcF3wz+OriskdZ1AOuYV25OdgS7w9Xu2LO5cGyhHCgn8dMXh9bO7vi3i9pA==", "requires": { - "cssnano-util-get-match": "^4.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } + "postcss-value-parser": "^4.1.0" } }, - "postcss-selector-parser": { - "version": "6.0.6", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz", - "integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==", + "postcss-normalize-timing-functions": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.0.1.tgz", + "integrity": "sha512-cPcBdVN5OsWCNEo5hiXfLUnXfTGtSFiBU9SK8k7ii8UD7OLuznzgNRYkLZow11BkQiiqMcgPyh4ZqXEEUrtQ1Q==", "requires": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" + "cssnano-utils": "^2.0.1", + "postcss-value-parser": "^4.1.0" } }, - "postcss-svgo": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.3.tgz", - "integrity": "sha512-NoRbrcMWTtUghzuKSoIm6XV+sJdvZ7GZSc3wdBN0W19FTtp2ko8NqLsgoh/m9CzNhU3KLPvQmjIwtaNFkaFTvw==", + "postcss-normalize-unicode": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-5.0.1.tgz", + "integrity": "sha512-kAtYD6V3pK0beqrU90gpCQB7g6AOfP/2KIPCVBKJM2EheVsBQmx/Iof+9zR9NFKLAx4Pr9mDhogB27pmn354nA==", "requires": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "svgo": "^1.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } + "browserslist": "^4.16.0", + "postcss-value-parser": "^4.1.0" } }, - "postcss-unique-selectors": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz", - "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==", + "postcss-normalize-url": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-5.0.2.tgz", + "integrity": "sha512-k4jLTPUxREQ5bpajFQZpx8bCF2UrlqOTzP9kEqcEnOfwsRshWs2+oAFIHfDQB8GO2PaUaSE0NlTAYtbluZTlHQ==", "requires": { - "alphanum-sort": "^1.0.0", - "postcss": "^7.0.0", - "uniqs": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } + "is-absolute-url": "^3.0.3", + "normalize-url": "^6.0.1", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-normalize-whitespace": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.0.1.tgz", + "integrity": "sha512-iPklmI5SBnRvwceb/XH568yyzK0qRVuAG+a1HFUsFRf11lEJTiQQa03a4RSCQvLKdcpX7XsI1Gen9LuLoqwiqA==", + "requires": { + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-ordered-values": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-5.0.2.tgz", + "integrity": "sha512-8AFYDSOYWebJYLyJi3fyjl6CqMEG/UVworjiyK1r573I56kb3e879sCJLGvR3merj+fAdPpVplXKQZv+ey6CgQ==", + "requires": { + "cssnano-utils": "^2.0.1", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-reduce-initial": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-5.0.1.tgz", + "integrity": "sha512-zlCZPKLLTMAqA3ZWH57HlbCjkD55LX9dsRyxlls+wfuRfqCi5mSlZVan0heX5cHr154Dq9AfbH70LyhrSAezJw==", + "requires": { + "browserslist": "^4.16.0", + "caniuse-api": "^3.0.0" + } + }, + "postcss-reduce-transforms": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-5.0.1.tgz", + "integrity": "sha512-a//FjoPeFkRuAguPscTVmRQUODP+f3ke2HqFNgGPwdYnpeC29RZdCBvGRGTsKpMURb/I3p6jdKoBQ2zI+9Q7kA==", + "requires": { + "cssnano-utils": "^2.0.1", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-selector-parser": { + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.6.tgz", + "integrity": "sha512-9LXrvaaX3+mcv5xkg5kFwqSzSH1JIObIx51PrndZwlmznwXRfxMddDvo9gve3gVR8ZTKgoFDdWkbRFmEhT4PMg==", + "requires": { + "cssesc": "^3.0.0", + "util-deprecate": "^1.0.2" + } + }, + "postcss-svgo": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.0.2.tgz", + "integrity": "sha512-YzQuFLZu3U3aheizD+B1joQ94vzPfE6BNUcSYuceNxlVnKKsOtdo6hL9/zyC168Q8EwfLSgaDSalsUGa9f2C0A==", + "requires": { + "postcss-value-parser": "^4.1.0", + "svgo": "^2.3.0" + } + }, + "postcss-unique-selectors": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-5.0.1.tgz", + "integrity": "sha512-gwi1NhHV4FMmPn+qwBNuot1sG1t2OmacLQ/AX29lzyggnjd+MnVD5uqQmpXO3J17KGL2WAxQruj1qTd3H0gG/w==", + "requires": { + "alphanum-sort": "^1.0.2", + "postcss-selector-parser": "^6.0.5", + "uniqs": "^2.0.0" } }, "postcss-value-parser": { @@ -9675,6 +7199,16 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" }, + "probe-image-size": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/probe-image-size/-/probe-image-size-7.2.1.tgz", + "integrity": "sha512-d+6L3NvQBCNt4peRDoEfA7r9bPm6/qy18FnLKwg4NWBC5JrJm0pMLRg1kF4XNsPe1bUdt3WIMonPJzQWN2HXjQ==", + "requires": { + "lodash.merge": "^4.6.2", + "needle": "^2.5.2", + "stream-parser": "~0.3.1" + } + }, "process": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", @@ -9714,84 +7248,20 @@ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" }, "purgecss": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-2.3.0.tgz", - "integrity": "sha512-BE5CROfVGsx2XIhxGuZAT7rTH9lLeQx/6M0P7DTXQH4IUc3BBzs9JUzt4yzGf3JrH9enkeq6YJBe9CTtkm1WmQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/purgecss/-/purgecss-4.0.3.tgz", + "integrity": "sha512-PYOIn5ibRIP34PBU9zohUcCI09c7drPJJtTDAc0Q6QlRz2/CHQ8ywGLdE7ZhxU2VTqB7p5wkvj5Qcm05Rz3Jmw==", "requires": { - "commander": "^5.0.0", + "commander": "^6.0.0", "glob": "^7.0.0", - "postcss": "7.0.32", + "postcss": "^8.2.1", "postcss-selector-parser": "^6.0.2" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, "commander": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", - "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.32", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.32.tgz", - "integrity": "sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==" } } }, @@ -9815,11 +7285,6 @@ } } }, - "q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=" - }, "qs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", @@ -10092,9 +7557,9 @@ } }, "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=" + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" }, "resolve-protobuf-schema": { "version": "2.1.0", @@ -10282,11 +7747,6 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, - "sane-topojson": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/sane-topojson/-/sane-topojson-4.0.0.tgz", - "integrity": "sha512-bJILrpBboQfabG3BNnHI2hZl52pbt80BE09u4WhnrmzuF2JbMKZdl62G5glXskJ46p+gxE2IzOwGj/awR4g8AA==" - }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -10398,21 +7858,6 @@ "resolved": "https://registry.npmjs.org/signum/-/signum-0.0.0.tgz", "integrity": "sha1-q1UbEAM1EHCnBHg/GgnF52kfnPY=" }, - "simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "requires": { - "is-arrayish": "^0.3.1" - }, - "dependencies": { - "is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - } - } - }, "simplicial-complex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/simplicial-complex/-/simplicial-complex-1.0.0.tgz", @@ -10791,6 +8236,14 @@ } } }, + "stream-parser": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/stream-parser/-/stream-parser-0.3.1.tgz", + "integrity": "sha1-FhhUhpRCACGhGC/wrxkRwSl2F3M=", + "requires": { + "debug": "2" + } + }, "stream-shift": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", @@ -10872,89 +8325,12 @@ "integrity": "sha1-CSDitN9nyOrulsa2I0/inoc9upk=" }, "stylehacks": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz", - "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-5.0.1.tgz", + "integrity": "sha512-Es0rVnHIqbWzveU1b24kbw92HsebBepxfcqe5iix7t9j0PQqhs0IxXVXv0pY2Bxa08CgMkzD6OWql7kbGOuEdA==", "requires": { - "browserslist": "^4.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "dependencies": { - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "requires": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - } - }, - "postcss-selector-parser": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", - "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", - "requires": { - "dot-prop": "^5.2.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - } - }, - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "requires": { - "has-flag": "^3.0.0" - } - } + "browserslist": "^4.16.0", + "postcss-selector-parser": "^6.0.4" } }, "supercluster": { @@ -11027,68 +8403,23 @@ } }, "svgo": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz", - "integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==", - "requires": { - "chalk": "^2.4.1", - "coa": "^2.0.2", - "css-select": "^2.0.0", - "css-select-base-adapter": "^0.1.1", - "css-tree": "1.0.0-alpha.37", - "csso": "^4.0.2", - "js-yaml": "^3.13.1", - "mkdirp": "~0.5.1", - "object.values": "^1.1.0", - "sax": "~1.2.4", - "stable": "^0.1.8", - "unquote": "~1.1.1", - "util.promisify": "~1.0.0" + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/svgo/-/svgo-2.3.0.tgz", + "integrity": "sha512-fz4IKjNO6HDPgIQxu4IxwtubtbSfGEAJUq/IXyTPIkGhWck/faiiwfkvsB8LnBkKLvSoyNNIY6d13lZprJMc9Q==", + "requires": { + "@trysound/sax": "0.1.1", + "chalk": "^4.1.0", + "commander": "^7.1.0", + "css-select": "^3.1.2", + "css-tree": "^1.1.2", + "csso": "^4.2.0", + "stable": "^0.1.8" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "requires": { - "color-convert": "^1.9.0" - } - }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - } - }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "requires": { - "color-name": "1.1.3" - } - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "requires": { - "has-flag": "^3.0.0" - } + "commander": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz", + "integrity": "sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==" } } }, @@ -11427,15 +8758,10 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" }, - "is-absolute-url": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-3.0.3.tgz", - "integrity": "sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q==" - }, "postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "version": "7.0.36", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz", + "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==", "requires": { "chalk": "^2.4.2", "source-map": "^0.6.1", @@ -11584,9 +8910,9 @@ "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==" }, "util": { - "version": "0.12.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.3.tgz", - "integrity": "sha512-I8XkoQwE+fPQEhy9v012V+TSdH2kp9ts29i20TaaDUXsg7x/onePbhFJUExBfv/2ay1ZOp/Vsm3nDlmnFGSAog==", + "version": "0.12.4", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.4.tgz", + "integrity": "sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw==", "requires": { "inherits": "^2.0.3", "is-arguments": "^1.0.4", @@ -11601,17 +8927,6 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, - "util.promisify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz", - "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==", - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.2", - "has-symbols": "^1.0.1", - "object.getownpropertydescriptors": "^2.1.0" - } - }, "utils-copy": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/utils-copy/-/utils-copy-1.1.1.tgz", @@ -11781,9 +9096,9 @@ "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" }, "vt-pbf": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.2.tgz", - "integrity": "sha512-2+WbhabeHzcCfyw4KpxlB1DD1Kvg+aJRgNFBetGww3TnSX/YMfkvJBt8/+1cz9aF4mEgzcc8poeoMclK27xRjg==", + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/vt-pbf/-/vt-pbf-3.1.3.tgz", + "integrity": "sha512-2LzDFzt0mZKZ9IpVF2r69G9bXaP2Q2sArJCmcCgvfTdCCZzSyz4aCLoQyUilu37Ll56tCblIZrXFIjNUpGIlmA==", "requires": { "@mapbox/point-geometry": "0.1.0", "@mapbox/vector-tile": "^1.3.1", @@ -11816,6 +9131,11 @@ "defaults": "^1.0.3" } }, + "weak-lru-cache": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-0.4.1.tgz", + "integrity": "sha512-NJS+edQXFd9zHuWuAWfieUDj0pAS6Qg6HX0NW548vhoU+aOSkRFZvcJC988PjVkrH/Q/p/E18bPctGoUE++Pdw==" + }, "weak-map": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/weak-map/-/weak-map-1.0.5.tgz", @@ -11915,9 +9235,9 @@ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "ws": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.2.tgz", + "integrity": "sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==", "requires": { "async-limiter": "~1.0.0" } @@ -11937,11 +9257,21 @@ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" }, + "xxhash-wasm": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-0.4.1.tgz", + "integrity": "sha512-sAaACjH5Th5O2Y1Pl6Mm03bHdie8htTm7ZG146by2ITXuxD1Ksx46ZEOYaDhtlCY3fHrmDfdvzTOGzO1R00COA==" + }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, + "yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==" + }, "zero-crossings": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/zero-crossings/-/zero-crossings-1.0.1.tgz", diff --git a/hugo/package.json b/hugo/package.json index 8a84796..0d0458a 100644 --- a/hugo/package.json +++ b/hugo/package.json @@ -1,7 +1,7 @@ { "dependencies": { - "parcel": "^2.0.0-beta.3.1", - "plotly.js": "1.58.4" + "parcel": "^2.0.0-nightly.729", + "plotly.js": "2.1.0" }, "scripts": { "build-plotly": "NODE_ENV=production ./node_modules/.bin/parcel build --dist-dir assets/js --no-source-maps assets/js/plotly.js" From 11e38a22030f8030a8c5012b45fcb29f5649574a Mon Sep 17 00:00:00 2001 From: Thomas Kluth Date: Sat, 9 Oct 2021 18:55:49 +0200 Subject: [PATCH 4/5] try to workaround plotly bug --- generate_plots.py | 3 ++- hugo/layouts/shortcodes/modules_muenster.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/generate_plots.py b/generate_plots.py index 4742ce6..98f4946 100644 --- a/generate_plots.py +++ b/generate_plots.py @@ -371,11 +371,12 @@ ## create a single treemap plot for every overarching category +modules_df = modules_df.fillna("None") + # delete old plot file os.remove("hugo/layouts/shortcodes/modules_" + city + ".html") modules_plot_file = open("hugo/layouts/shortcodes/modules_" + city + ".html", "a") - for cat in categories: modules_onecat = modules_df[modules_df.id.str.startswith(cat)] diff --git a/hugo/layouts/shortcodes/modules_muenster.html b/hugo/layouts/shortcodes/modules_muenster.html index 2a844a5..9caacb2 100644 --- a/hugo/layouts/shortcodes/modules_muenster.html +++ b/hugo/layouts/shortcodes/modules_muenster.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file From 25c3bad2e734fd7d66f6c2f4f8c33bfa15031070 Mon Sep 17 00:00:00 2001 From: Thomas Kluth Date: Sat, 9 Oct 2021 19:13:01 +0200 Subject: [PATCH 5/5] second try to workaround plotly bug --- generate_plots.py | 3 ++- hugo/layouts/shortcodes/modules_muenster.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/generate_plots.py b/generate_plots.py index 98f4946..5ee224a 100644 --- a/generate_plots.py +++ b/generate_plots.py @@ -379,7 +379,8 @@ for cat in categories: - modules_onecat = modules_df[modules_df.id.str.startswith(cat)] + modules_onecat = modules_df[modules_df.id.str.startswith(cat)].copy() + modules_onecat["potential"] = modules_onecat["potential"].astype(str) fig_modules = go.Figure( go.Treemap( diff --git a/hugo/layouts/shortcodes/modules_muenster.html b/hugo/layouts/shortcodes/modules_muenster.html index 9caacb2..019ffdb 100644 --- a/hugo/layouts/shortcodes/modules_muenster.html +++ b/hugo/layouts/shortcodes/modules_muenster.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file