L&&(S=L),R1)return R/(N-1)},e.deviation=function(){var c=e.variance.apply(this,arguments);return c&&Math.sqrt(c)};function m(c){return{left:function(p,x,A,S){for(arguments.length>>1;c(p[L],x)>>1;c(p[L],x)>0?S=L:A=L+1}return A}}}var y=m(v);e.bisectLeft=y.left,e.bisect=e.bisectRight=y.right,e.bisector=function(c){return m(c.length===1?function(p,x){return v(c(p),x)}:c)},e.shuffle=function(c,p,x){(A=arguments.length)=0;)for(R=c[p],x=R.length;--x>=0;)L[--S]=R[x];return L};var _=Math.abs;e.range=function(c,p,x){if(arguments.lengthp;)A.push(R/S);else for(;(R=c+x*++L)
=p.length)return S?S.call(c,N):A?N.sort(A):N;for(var X=-1,j=N.length,ee=p[W++],de,we,te,se=new b,ue;++X=p.length)return E;var W=[],X=x[N++];return E.forEach(function(j,ee){W.push({key:j,values:R(ee,N)})}),X?W.sort(function(j,ee){return X(j.key,ee.key)}):W}return c.map=function(E,N){return L(N,E,0)},c.entries=function(E){return R(L(e.map,E,0),0)},c.key=function(E){return p.push(E),c},c.sortKeys=function(E){return x[p.length-1]=E,c},c.sortValues=function(E){return A=E,c},c.rollup=function(E){return S=E,c},c},e.set=function(c){var p=new I;if(c)for(var x=0,A=c.length;x=0&&(A=c.slice(x+1),c=c.slice(0,x)),c)return arguments.length=0&&(x=c.slice(0,p))!=="xmlns"&&(c=c.slice(p+1)),le.hasOwnProperty(x)?{space:le[x],local:c}:c}},ge.attr=function(c,p){if(arguments.length=0;)(L=x[A])&&(S&&S!==L.nextSibling&&S.parentNode.insertBefore(L,S),S=L);return this},ge.sort=function(c){c=xe.apply(this,arguments);for(var p=-1,x=this.length;++p=p&&(p=S+1);!(N=R[p])&&++p0&&(c=c.slice(0,S));var R=He.get(c);R&&(c=R,L=Ue);function E(){var X=this[A];X&&(this.removeEventListener(c,X,X.$),delete this[A])}function N(){var X=L(p,t(arguments));E.call(this),this.addEventListener(c,this[A]=X,X.$=x),X._=p}function W(){var X=new RegExp("^__on([^.]+)"+e.requote(c)+"$"),j;for(var ee in this)if(j=ee.match(X)){var de=this[ee];this.removeEventListener(j[1],de,de.$),delete this[ee]}}return S?p?N:E:p?H:W}var He=e.map({mouseenter:"mouseover",mouseleave:"mouseout"});a&&He.forEach(function(c){"on"+c in a&&He.remove(c)});function Ze(c,p){return function(x){var A=e.event;e.event=x,p[0]=this.__data__;try{c.apply(this,p)}finally{e.event=A}}}function Ue(c,p){var x=Ze(c,p);return function(A){var S=this,L=A.relatedTarget;(!L||L!==S&&!(L.compareDocumentPosition(S)&8))&&x.call(S,A)}}var Ge,ir=0;function ar(c){var p=".dragsuppress-"+ ++ir,x="click"+p,A=e.select(i(c)).on("touchmove"+p,ne).on("dragstart"+p,ne).on("selectstart"+p,ne);if(Ge==null&&(Ge="onselectstart"in c?!1:G(c.style,"userSelect")),Ge){var S=n(c).style,L=S[Ge];S[Ge]="none"}return function(R){if(A.on(p,null),Ge&&(S[Ge]=L),R){var E=function(){A.on(x,null)};A.on(x,function(){ne(),E()},!0),setTimeout(E,0)}}}e.mouse=function(c){return Ne(c,ce())};var er=this.navigator&&/WebKit/.test(this.navigator.userAgent)?-1:0;function Ne(c,p){p.changedTouches&&(p=p.changedTouches[0]);var x=c.ownerSVGElement||c;if(x.createSVGPoint){var A=x.createSVGPoint();if(er0?1:c1?0:c1?sr:c0&&(rr=rr.transition().duration(R)),rr.call(Te.event)}function dr(){se&&se.domain(te.range().map(function(rr){return(rr-c.x)/c.k}).map(te.invert)),_e&&_e.domain(ue.range().map(function(rr){return(rr-c.y)/c.k}).map(ue.invert))}function pr(rr){E++||rr({type:"zoomstart"})}function Cr(rr){dr(),rr({type:"zoom",scale:c.k,translate:[c.x,c.y]})}function mr(rr){--E||(rr({type:"zoomend"}),x=null)}function Tr(){var rr=this,Lr=we.of(rr,arguments),qr=0,Qr=e.select(i(rr)).on(W,pa).on(X,Da),wt=ve(e.mouse(rr)),Ut=ar(rr);hv.call(rr),pr(Lr);function pa(){qr=1,fr(e.mouse(rr),wt),Cr(Lr)}function Da(){Qr.on(W,null).on(X,null),Ut(qr),mr(Lr)}}function Kr(){var rr=this,Lr=we.of(rr,arguments),qr={},Qr=0,wt,Ut=".zoom-"+e.event.changedTouches[0].identifier,pa="touchmove"+Ut,Da="touchend"+Ut,Ua=[],Ea=e.select(rr),Za=ar(rr);Ja(),pr(Lr),Ea.on(N,null).on(ee,Ja);function Ta(){var Wn=e.touches(rr);return wt=c.k,Wn.forEach(function(ma){ma.identifier in qr&&(qr[ma.identifier]=ve(ma))}),Wn}function Ja(){var Wn=e.event.target;e.select(Wn).on(pa,ao).on(Da,cI),Ua.push(Wn);for(var ma=e.event.changedTouches,xn=0,yi=ma.length;xn1){var no=_n[0],fl=_n[1],mv=no[0]-fl[0],pb=no[1]-fl[1];Qr=mv*mv+pb*pb}}function ao(){var Wn=e.touches(rr),ma,xn,yi,_n;hv.call(rr);for(var gs=0,no=Wn.length;gs1?1:p,x=x1?1:x,S=x360?E-=360:E0?new at(Math.atan2(x,p)*Ir,Math.sqrt(p*p+x*x),c):new at(NaN,NaN,c)}function zu(c){return c>.206893034?c*c*c:(c-4/29)/7.787037}function Nu(c){return c>.008856?Math.pow(c,1/3):7.787037*c+4/29}function Fu(c){return Math.round(255*(c>16,c>>8&255,c&255)}function fs(c){return Xc(c)+""}var cs=qa.prototype=new Jr;cs.brighter=function(c){c=Math.pow(.7,arguments.length?c:1);var p=this.r,x=this.g,A=this.b,S=30;return!p&&!x&&!A?new qa(S,S,S):(p&&p>4,A=A>>4|A,S=N&240,S=S>>4|S,L=N&15,L=L>16,S=(N&65280)>>8,L=N&255)),p(A,S,L))}function $r(c,p,x){var A=Math.min(c/=255,p/=255,x/=255),S=Math.max(c,p,x),L=S-A,R,E,N=(S+A)/2;return L?(E=N<.5>0&&N3&&W()};function W(){var X=E.status,j;if(!X&&hN(E)||X>=200&&X=we)return ee;if(_e)return _e=!1,j;var Ye=te;if(W.charCodeAt(Ye)===34){for(var nr=Ye;nr++24?(isFinite(p)&&(clearTimeout(Qc),Qc=setTimeout(w1,p)),Kc=0):(Kc=1,r5(w1))}e.timer.flush=function(){t5(),a5()};function t5(){for(var c=Date.now(),p=Zc;p;)c>=p.t&&p.c(c-p.t)&&(p.c=null),p=p.n;return c}function a5(){for(var c,p=Zc,x=1/0;p;)p.c?(p.t=0;--E)te.push(S[W[j[E]][2]]);for(E=+de;E1&<(c[x[A-2]],c[x[A-1]],c[S])oe)E=E.L;else if(R=p-gN(E,x),R>oe){if(!E.R){A=E;break}E=E.R}else{L>-oe?(A=E.P,S=E):R>-oe?(A=E,S=E.N):A=S=E;break}var N=s5(c);if(ds.insert(A,N),!(!A&&!S)){if(A===S){ms(A),S=s5(A.site),ds.insert(N,S),N.edge=S.edge=Ou(A.site,N.site),ps(A),ps(S);return}if(!S){N.edge=Ou(A.site,N.site);return}ms(A),ms(S);var W=A.site,X=W.x,j=W.y,ee=c.x-X,de=c.y-j,we=S.site,te=we.x-X,se=we.y-j,ue=2*(ee*se-de*te),_e=ee*ee+de*de,Te=te*te+se*se,ve={x:(se*_e-de*Te)/ue+X,y:(ee*Te-te*_e)/ue+j};ev(S.edge,W,we,ve),N.edge=Ou(W,c,null,ve),S.edge=Ou(c,we,null,ve),ps(A),ps(S)}}function u5(c,p){var x=c.site,A=x.x,S=x.y,L=S-p;if(!L)return A;var R=c.P;if(!R)return-1/0;x=R.site;var E=x.x,N=x.y,W=N-p;if(!W)return E;var X=E-A,j=1/L-1/W,ee=X/W;return j?(-ee+Math.sqrt(ee*ee-2*j*(X*X/(-2*W)-N+W/2+S-L/2)))/j+A:(A+E)/2}function gN(c,p){var x=c.N;if(x)return u5(x,p);var A=c.site;return A.y===p?A.x:1/0}function f5(c){this.site=c,this.edges=[]}f5.prototype.prepare=function(){for(var c=this.edges,p=c.length,x;p--;)x=c[p].edge,(!x.b||!x.a)&&c.splice(p,1);return c.sort(c5),c.length};function bN(c){for(var p=c[0][0],x=c[1][0],A=c[0][1],S=c[1][1],L,R,E,N,W=eo,X=W.length,j,ee,de,we,te,se;X--;)if(j=W[X],!(!j||!j.prepare()))for(de=j.edges,we=de.length,ee=0;eeoe||_(N-R)>oe)&&(de.splice(ee,0,new rv(MN(j.site,se,_(E-p)oe?{x:p,y:_(L-p)oe?{x:_(R-S)oe?{x,y:_(L-x)oe?{x:_(R-A)=-qe)){var ee=N*N+W*W,de=X*X+se*se,we=(se*ee-W*de)/j,te=(N*de-X*ee)/j,se=te+E,ue=o5.pop()||new xN;ue.arc=c,ue.site=S,ue.x=we+R,ue.y=se+Math.sqrt(we*we+te*te),ue.cy=se,c.circle=ue;for(var _e=null,Te=Hu._;Te;)if(ue.y0)){if(te/=de,de0){if(te>ee)return;te>j&&(j=te)}if(te=x-E,!(!de&&teee)return;te>j&&(j=te)}else if(de>0){if(te0)){if(te/=we,we0){if(te>ee)return;te>j&&(j=te)}if(te=A-N,!(!we&&teee)return;te>j&&(j=te)}else if(we>0){if(te0&&(S.a={x:E+j*de,y:N+j*we}),ee=L)return;if(X>ee){if(!A)A={x:we,y:R};else if(A.y>=E)return;x={x:we,y:E}}else{if(!A)A={x:we,y:E};else if(A.y1)if(X>ee){if(!A)A={x:(R-ue)/se,y:R};else if(A.y>=E)return;x={x:(E-ue)/se,y:E}}else{if(!A)A={x:(E-ue)/se,y:E};else if(A.y=L)return;x={x:L,y:se*L+ue}}else{if(!A)A={x:L,y:se*L+ue};else if(A.x=X&&ue.x=j&&ue.yTe&&(Te=X.x),X.y>ve&&(ve=X.y),de.push(X.x),we.push(X.y);else for(te=0;teTe&&(Te=Ye),nr>ve&&(ve=nr),de.push(Ye),we.push(nr)}var fr=Te-ue,lr=ve-_e;fr>lr?ve=_e+fr:Te=ue+lr;function dr(mr,Tr,Kr,Ct,et,rr,Lr,qr){if(!(isNaN(Kr)||isNaN(Ct)))if(mr.leaf){var Qr=mr.x,wt=mr.y;if(Qr!=null)if(_(Qr-Kr)+_(wt-Ct)<.01 ut="mr.point;mr.x=mr.y=mr.point=null,pr(mr,Ut,Qr,wt,et,rr,Lr,qr),pr(mr,Tr,Kr,Ct,et,rr,Lr,qr)}else" mr.x="Kr,mr.y=Ct,mr.point=Tr}else" pr qr="(et+Lr)*.5,wt=(rr+qr)*.5,Ut=Kr">=Qr,pa=Ct>=wt,Da=paL||ee>R||de=Ye,lr=x>=nr,dr=lrx&&(L=p.slice(x,L),E[R]?E[R]+=L:E[++R]=L),(A=A[0])===(S=S[0])?E[R]?E[R]+=S:E[++R]=S:(E[++R]=null,N.push({i:R,x:Yi(A,S)})),x=D1.lastIndex;return x=0&&!(A=e.interpolators[x](c,p)););return A}e.interpolators=[function(c,p){var x=typeof p;return(x==="string"?da.has(p.toLowerCase())||/^(#|rgb\(|hsl\()/i.test(p)?L1:m5:p instanceof Jr?L1:Array.isArray(p)?nv:x==="object"&&isNaN(p)?p5:Yi)(c,p)}],e.interpolateArray=nv;function nv(c,p){var x=[],A=[],S=c.length,L=p.length,R=Math.min(c.length,p.length),E;for(E=0;E=0?c.slice(0,p):c,A=p>=0?c.slice(p+1):"in";return x=qN.get(x)||y5,A=DN.get(A)||V,EN(A(x.apply(null,r.call(arguments,1))))};function EN(c){return function(p){return p=1?1:c(p)}}function g5(c){return function(p){return 1-c(1-p)}}function b5(c){return function(p){return .5*(p<.5 pn c rn zn>=1)return 1;var p=c*c,x=p*c;return 4*(c<.5 nn function math.pow fn in hn on x arguments.length bn c p yn un isnan>180?L-=360:L180?L-=360:L180?p+=360:p-c>180&&(c+=360),A.push({i:x.push(ys(x)+"rotate(",null,")")-2,x:Yi(c,p)})):p&&x.push(ys(x)+"rotate("+p+")")}function KN(c,p,x,A){c!==p?A.push({i:x.push(ys(x)+"skewX(",null,")")-2,x:Yi(c,p)}):p&&x.push(ys(x)+"skewX("+p+")")}function QN(c,p,x,A){if(c[0]!==p[0]||c[1]!==p[1]){var S=x.push(ys(x)+"scale(",null,",",null,")");A.push({i:S-4,x:Yi(c[0],p[0])},{i:S-2,x:Yi(c[1],p[1])})}else(p[0]!==1||p[1]!==1)&&x.push(ys(x)+"scale("+p+")")}function M5(c,p){var x=[],A=[];return c=e.transform(c),p=e.transform(p),ZN(c.translate,p.translate,x,A),JN(c.rotate,p.rotate,x,A),KN(c.skew,p.skew,x,A),QN(c.scale,p.scale,x,A),c=p=null,function(S){for(var L=-1,R=A.length,E;++L0?L=ve:(x.c=null,x.t=NaN,x=null,p.end({type:"end",alpha:L=0})):ve>0&&(p.start({type:"start",alpha:L=ve}),x=$c(c.tick)),c):L},c.start=function(){var ve,Ye=de.length,nr=we.length,fr=A[0],lr=A[1],dr,pr;for(ve=0;ve=0;)L.push(X=W[N]),X.parent=E,X.depth=E.depth+1;x&&(E.value=0),E.children=W}else x&&(E.value=+x.call(A,E,E.depth)||0),delete E.children;return mi(S,function(j){var ee,de;c&&(ee=j.children)&&ee.sort(c),x&&(de=j.parent)&&(de.value+=j.value)}),R}return A.sort=function(S){return arguments.length?(c=S,A):c},A.children=function(S){return arguments.length?(p=S,A):p},A.value=function(S){return arguments.length?(x=S,A):x},A.revalue=function(S){return x&&(Gu(S,function(L){L.children&&(L.value=0)}),mi(S,function(L){var R;L.children||(L.value=+x.call(A,L,L.depth)||0),(R=L.parent)&&(R.value+=L.value)})),S},A};function Vu(c,p){return e.rebind(c,p,"sort","children","value"),c.nodes=c,c.links=vF,c}function Gu(c,p){for(var x=[c];(c=x.pop())!=null;)if(p(c),(S=c.children)&&(A=S.length))for(var A,S;--A>=0;)x.push(S[A])}function mi(c,p){for(var x=[c],A=[];(c=x.pop())!=null;)if(A.push(c),(R=c.children)&&(L=R.length))for(var S=-1,L,R;++SS&&(S=E),A.push(E)}for(R=0;RA&&(x=p,A=S);return x}function bF(c){return c.reduce(xF,0)}function xF(c,p){return c+p[1]}e.layout.histogram=function(){var c=!0,p=Number,x=wF,A=_F;function S(L,ee){for(var E=[],N=L.map(p,this),W=x.call(this,N,ee),X=A.call(this,W,N,ee),j,ee=-1,de=N.length,we=X.length-1,te=c?1:1/de,se;++ee0)for(ee=-1;++ee=W[0]&&sex*x+A*A}function D5(c){if(!(p=c.children)||!(ee=p.length))return;var p,x=1/0,A=-1/0,S=1/0,L=-1/0,R,E,N,W,X,j,ee;function de(ve){x=Math.min(ve.x-ve.r,x),A=Math.max(ve.x+ve.r,A),S=Math.min(ve.y-ve.r,S),L=Math.max(ve.y+ve.r,L)}if(p.forEach(MF),R=p[0],R.x=-R.r,R.y=0,de(R),ee>1&&(E=p[1],E.x=E.r,E.y=0,de(E),ee>2))for(N=p[2],P5(R,E,N),de(N),R1(R,N),R._pack_prev=N,R1(N,E),E=R._pack_next,W=3;Wse.x&&(se=Ye),Ye.depth>ue.depth&&(ue=Ye)});var _e=p(te,se)/2-te.x,Te=x[0]/(se.x+p(se,te)/2+_e),ve=x[1]/(ue.depth||1);Gu(de,function(Ye){Ye.x=(Ye.x+_e)*Te,Ye.y=Ye.depth*ve})}return ee}function L(X){for(var j={A:null,children:[X]},ee=[j],de;(de=ee.pop())!=null;)for(var we=de.children,te,se=0,ue=we.length;se0&&(kF(CF(te,X,ee),X,Ye),ue+=Ye,_e+=Ye),Te+=te.m,ue+=de.m,ve+=se.m,_e+=we.m;te&&!N1(we)&&(we.t=te,we.m+=Te-_e),de&&!z1(se)&&(se.t=de,se.m+=ue-ve,ee=X)}return ee}function W(X){X.x*=x[0],X.y=X.depth*x[1]}return S.separation=function(X){return arguments.length?(p=X,S):p},S.size=function(X){return arguments.length?(A=(x=X)==null?W:null,S):A?null:x},S.nodeSize=function(X){return arguments.length?(A=(x=X)==null?null:W,S):A?x:null},Vu(S,c)};function R5(c,p){return c.parent==p.parent?1:2}function z1(c){var p=c.children;return p.length?p[0]:c.t}function N1(c){var p=c.children,x;return(x=p.length)?p[x-1]:c.t}function kF(c,p,x){var A=x/(p.i-c.i);p.c-=A,p.s+=x,c.c+=A,p.z+=x,p.m+=x}function SF(c){for(var p=0,x=0,A=c.children,S=A.length,L;--S>=0;)L=A[S],L.z+=p,L.m+=p,p+=L.s+(x+=L.c)}function CF(c,p,x){return c.a.parent===p.parent?c.a:x}e.layout.cluster=function(){var c=e.layout.hierarchy().sort(null).value(null),p=R5,x=[1,1],A=!1;function S(L,R){var E=c.call(this,L,R),N=E[0],W,X=0;mi(N,function(te){var se=te.children;se&&se.length?(te.x=qF(se),te.y=LF(se)):(te.x=W?X+=p(te,W):0,te.y=0,W=te)});var j=z5(N),ee=N5(N),de=j.x-p(j,ee)/2,we=ee.x+p(ee,j)/2;return mi(N,A?function(te){te.x=(te.x-N.x)*x[0],te.y=(N.y-te.y)*x[1]}:function(te){te.x=(te.x-de)/(we-de)*x[0],te.y=(1-(N.y?te.y/N.y:1))*x[1]}),E}return S.separation=function(L){return arguments.length?(p=L,S):p},S.size=function(L){return arguments.length?(A=(x=L)==null,S):A?null:x},S.nodeSize=function(L){return arguments.length?(A=(x=L)!=null,S):A?x:null},Vu(S,c)};function LF(c){return 1+e.max(c,function(p){return p.y})}function qF(c){return c.reduce(function(p,x){return p+x.x},0)/c.length}function z5(c){var p=c.children;return p&&p.length?z5(p[0]):c}function N5(c){var p=c.children,x;return p&&(x=p.length)?N5(p[x-1]):c}e.layout.treemap=function(){var c=e.layout.hierarchy(),p=Math.round,x=[1,1],A=null,S=F1,L=!1,R,E="squarify",N=.5*(1+Math.sqrt(5));function W(te,se){for(var ue=-1,_e=te.length,Te,ve;++ue<_e x se="te.children;if(se&&se.length){var" ue='S(te),_e=[],Te=se.slice(),ve,Ye=1/0,nr,fr=E==="slice"?ue.dx:E==="dice"?ue.dy:E==="slice-dice"?te.depth&1?ue.dy:ue.dx:Math.min(ue.dx,ue.dy),lr;for(W(Te,ue.dx*ue.dy/te.value),_e.area=0;(lr=Te.length)'>0;)_e.push(ve=Te[lr-1]),_e.area+=ve.area,E!=="squarify"||(nr=ee(_e,fr))Te&&(Te=_e));return ue*=ue,se*=se,ue?Math.max(se*Te*N/ue,ue/(se*ve*N)):1/0}function de(te,se,ue,_e){var Te=-1,ve=te.length,Ye=ue.x,nr=ue.y,fr=se?p(te.area/se):0,lr;if(se==ue.dx){for((_e||fr>ue.dy)&&(fr=ue.dy);++Teue.dx)&&(fr=ue.dx);++Te1);return c+p*A*Math.sqrt(-2*Math.log(L)/L)}},logNormal:function(){var c=e.random.normal.apply(e,arguments);return function(){return Math.exp(c())}},bates:function(c){var p=e.random.irwinHall(c);return function(){return p()/c}},irwinHall:function(c){return function(){for(var p=0,x=0;x2?PF:DF,W=A?jN:$N;return S=N(c,p,W,x),L=N(p,c,W,ro),E}function E(N){return S(N)}return E.invert=function(N){return L(N)},E.domain=function(N){return arguments.length?(c=N.map(Number),R()):c},E.range=function(N){return arguments.length?(p=N,R()):p},E.rangeRound=function(N){return E.range(N).interpolate(x5)},E.clamp=function(N){return arguments.length?(A=N,R()):A},E.interpolate=function(N){return arguments.length?(x=N,R()):x},E.ticks=function(N){return O1(c,N)},E.tickFormat=function(N,W){return d3_scale_linearTickFormat(c,N,W)},E.nice=function(N){return B5(c,N),R()},E.copy=function(){return H5(c,p,x,A)},R()}function O5(c,p){return e.rebind(c,p,"range","rangeRound","interpolate","clamp")}function B5(c,p){return I1(c,I5(H1(c,p)[2])),I1(c,I5(H1(c,p)[2])),c}function H1(c,p){p==null&&(p=10);var x=iv(c),A=x[1]-x[0],S=Math.pow(10,Math.floor(Math.log(A/p)/Math.LN10)),L=p/A*S;return L0?0:-E))/Math.log(p)}function L(E){return x?Math.pow(p,E):-Math.pow(p,-E)}function R(E){return c(S(E))}return R.invert=function(E){return L(c.invert(E))},R.domain=function(E){return arguments.length?(x=E[0]>=0,c.domain((A=E.map(Number)).map(S)),R):A},R.base=function(E){return arguments.length?(p=+E,c.domain(A.map(S)),R):p},R.nice=function(){var E=I1(A.map(S),x?Math:zF);return c.domain(E),A=E.map(L),R},R.ticks=function(){var E=iv(A),N=[],W=E[0],X=E[1],j=Math.floor(S(W)),ee=Math.ceil(S(X)),de=p%1?2:p;if(isFinite(ee-j)){if(x){for(;j0;we--)N.push(L(j)*we);for(j=0;N[j]X;ee--);N=N.slice(j,ee)}return N},R.copy=function(){return U5(c.copy(),p,x,A)},O5(R,c)}var zF={floor:function(c){return-Math.ceil(-c)},ceil:function(c){return-Math.floor(-c)}};e.scale.pow=function(){return V5(e.scale.linear(),1,[0,1])};function V5(c,p,x){var A=ov(p),S=ov(1/p);function L(R){return c(A(R))}return L.invert=function(R){return S(c.invert(R))},L.domain=function(R){return arguments.length?(c.domain((x=R.map(Number)).map(A)),L):x},L.ticks=function(R){return O1(x,R)},L.tickFormat=function(R,E){return d3_scale_linearTickFormat(x,R,E)},L.nice=function(R){return L.domain(B5(x,R))},L.exponent=function(R){return arguments.length?(A=ov(p=R),S=ov(1/p),c.domain(x.map(A)),L):p},L.copy=function(){return V5(c.copy(),p,x)},O5(L,c)}function ov(c){return function(p){return p0?x[L-1]:c[0],Lee?0:1;if(X=cr)return N(X,we)+(W?N(W,1-we):"")+"Z";var te,se,ue,_e,Te=0,ve=0,Ye,nr,fr,lr,dr,pr,Cr,mr,Tr=[];if((_e=(+R.apply(this,arguments)||0)/2)&&(ue=A===sv?Math.sqrt(W*W+X*X):+A.apply(this,arguments),we||(ve*=-1),X&&(ve=gt(ue/X*Math.sin(_e))),W&&(Te=gt(ue/W*Math.sin(_e)))),X){Ye=X*Math.cos(j+ve),nr=X*Math.sin(j+ve),fr=X*Math.cos(ee-ve),lr=X*Math.sin(ee-ve);var Kr=Math.abs(ee-j-2*ve)oe&&(te=Math.min(Math.abs(X-W)/2,+x.apply(this,arguments)))>.001){se=W0?0:1}function fv(c,p,x,A,S){var L=c[0]-p[0],R=c[1]-p[1],E=(S?A:-A)/Math.sqrt(L*L+R*R),N=E*R,W=-E*L,X=c[0]+N,j=c[1]+W,ee=p[0]+N,de=p[1]+W,we=(X+ee)/2,te=(j+de)/2,se=ee-X,ue=de-j,_e=se*se+ue*ue,Te=x-A,ve=X*de-ee*j,Ye=(uemr*mr+Tr*Tr&&(nr=lr,fr=dr),[[nr-N,fr-W],[nr*x/Te,fr*x/Te]]}function $5(){return!0}function j5(c){var p=vs,x=Iu,A=$5,S=Gn,L=S.key,R=.7;function E(N){var W=[],X=[],j=-1,ee=N.length,de,we=Rr(p),te=Rr(x);function se(){W.push("M",S(c(X),R))}for(;++j1?c.join("L"):c+"Z"}function eb(c){return c.join("L")+"Z"}function VF(c){for(var p=0,x=c.length,A=c[0],S=[A[0],",",A[1]];++p1&&S.push("H",A[0]),S.join("")}function Y1(c){for(var p=0,x=c.length,A=c[0],S=[A[0],",",A[1]];++p1){E=p[1],L=c[N],N++,A+="C"+(S[0]+R[0])+","+(S[1]+R[1])+","+(L[0]-E[0])+","+(L[1]-E[1])+","+L[0]+","+L[1];for(var W=2;W9&&(L=x*3/Math.sqrt(L),R[E]=L*A,R[E+1]=L*S));for(E=-1;++EPe)+",1 "+j}function W(X,j,ee,de){return"Q 0,0 "+de}return L.radius=function(X){return arguments.length?(x=Rr(X),L):x},L.source=function(X){return arguments.length?(c=Rr(X),L):c},L.target=function(X){return arguments.length?(p=Rr(X),L):p},L.startAngle=function(X){return arguments.length?(A=Rr(X),L):A},L.endAngle=function(X){return arguments.length?(S=Rr(X),L):S},L};function eI(c){return c.radius}e.svg.diagonal=function(){var c=lb,p=ob,x=sb;function A(S,L){var R=c.call(this,S,L),E=p.call(this,S,L),N=(R.y+E.y)/2,W=[R,{x:R.x,y:N},{x:E.x,y:N},E];return W=W.map(x),"M"+W[0]+"C"+W[1]+" "+W[2]+" "+W[3]}return A.source=function(S){return arguments.length?(c=Rr(S),A):c},A.target=function(S){return arguments.length?(p=Rr(S),A):p},A.projection=function(S){return arguments.length?(x=S,A):x},A};function sb(c){return[c.x,c.y]}e.svg.diagonal.radial=function(){var c=e.svg.diagonal(),p=sb,x=c.projection;return c.projection=function(A){return arguments.length?x(rI(p=A)):p},c};function rI(c){return function(){var p=c.apply(this,arguments),x=p[0],A=p[1]-sr;return[x*Math.cos(A),x*Math.sin(A)]}}e.svg.symbol=function(){var c=aI,p=tI;function x(A,S){return(fb.get(c.call(this,A,S))||ub)(p.call(this,A,S))}return x.type=function(A){return arguments.length?(c=Rr(A),x):c},x.size=function(A){return arguments.length?(p=Rr(A),x):p},x};function tI(){return 64}function aI(){return"circle"}function ub(c){var p=Math.sqrt(c/Pe);return"M0,"+p+"A"+p+","+p+" 0 1,1 0,"+-p+"A"+p+","+p+" 0 1,1 0,"+p+"Z"}var fb=e.map({circle:ub,cross:function(c){var p=Math.sqrt(c/5)/2;return"M"+-3*p+","+-p+"H"+-p+"V"+-3*p+"H"+p+"V"+-p+"H"+3*p+"V"+p+"H"+p+"V"+3*p+"H"+-p+"V"+p+"H"+-3*p+"Z"},diamond:function(c){var p=Math.sqrt(c/(2*cb)),x=p*cb;return"M0,"+-p+"L"+x+",0 0,"+p+" "+-x+",0Z"},square:function(c){var p=Math.sqrt(c)/2;return"M"+-p+","+-p+"L"+p+","+-p+" "+p+","+p+" "+-p+","+p+"Z"},"triangle-down":function(c){var p=Math.sqrt(c/vv),x=p*vv/2;return"M0,"+x+"L"+p+","+-x+" "+-p+","+-x+"Z"},"triangle-up":function(c){var p=Math.sqrt(c/vv),x=p*vv/2;return"M0,"+-x+"L"+p+","+x+" "+-p+","+x+"Z"}});e.svg.symbolTypes=fb.keys();var vv=Math.sqrt(3),cb=Math.tan(30*Mr);ge.transition=function(c){for(var p=to||++hb,x=Z1(c),A=[],S,L,R=dv||{time:Date.now(),ease:zN,delay:0,duration:250},E=-1,N=this.length;++E0;)j[--_e].call(c,ue);if(se>=1)return R.event&&R.event.end.call(c,c.__data__,p),--L.count?delete L[A]:delete c[x],1}R||(E=S.time,N=$c(ee,0,E),R=L[A]={tween:new b,time:E,timer:N,delay:S.delay,duration:S.duration,ease:S.ease,index:p},S=null,++L.count)}e.svg.axis=function(){var c=e.scale.linear(),p=db,x=6,A=6,S=3,L=[10],R=null,E;function N(W){W.each(function(){var X=e.select(this),j=this.__chart__||c,ee=this.__chart__=c.copy(),de=R==null?ee.ticks?ee.ticks.apply(ee,L):ee.domain():R,we=E==null?ee.tickFormat?ee.tickFormat.apply(ee,L):V:E,te=X.selectAll(".tick").data(de,ee),se=te.enter().insert("g",".domain").attr("class","tick").style("opacity",oe),ue=e.transition(te.exit()).style("opacity",oe).remove(),_e=e.transition(te.order()).style("opacity",1),Te=Math.max(x,0)+S,ve,Ye=lv(ee),nr=X.selectAll(".domain").data([0]),fr=(nr.enter().append("path").attr("class","domain"),e.transition(nr));se.append("line"),se.append("text");var lr=se.select("line"),dr=_e.select("line"),pr=te.select("text").text(we),Cr=se.select("text"),mr=_e.select("text"),Tr=p==="top"||p==="left"?-1:1,Kr,Ct,et,rr;if(p==="bottom"||p==="top"?(ve=lI,Kr="x",et="y",Ct="x2",rr="y2",pr.attr("dy",Trrect,.s>rect").attr("width",A[1]-A[0])}function de(te){te.select(".extent").attr("y",S[0]),te.selectAll(".extent,.e>rect,.w>rect").attr("height",S[1]-S[0])}function we(){var te=this,se=e.select(e.event.target),ue=c.of(te,arguments),_e=e.select(te),Te=se.datum(),ve=!/^(n|s)$/.test(Te)&&p,Ye=!/^(e|w)$/.test(Te)&&x,nr=se.classed("extent"),fr=ar(te),lr,dr=e.mouse(te),pr,Cr=e.select(i(te)).on("keydown.brush",Kr).on("keyup.brush",Ct);if(e.event.changedTouches?Cr.on("touchmove.brush",et).on("touchend.brush",Lr):Cr.on("mousemove.brush",et).on("mouseup.brush",Lr),_e.interrupt().selectAll("*").interrupt(),nr)dr[0]=A[0]-dr[0],dr[1]=S[0]-dr[1];else if(Te){var mr=+/w$/.test(Te),Tr=+/^n/.test(Te);pr=[A[1-mr]-dr[0],S[1-Tr]-dr[1]],dr[0]=A[mr],dr[1]=S[Tr]}else e.event.altKey&&(lr=dr.slice());_e.style("pointer-events","none").selectAll(".resize").style("display",null),e.select("body").style("cursor",se.style("cursor")),ue({type:"brushstart"}),et();function Kr(){e.event.keyCode==32&&(nr||(lr=null,dr[0]-=A[1],dr[1]-=S[1],nr=2),ne())}function Ct(){e.event.keyCode==32&&nr==2&&(dr[0]+=A[1],dr[1]+=S[1],nr=0,ne())}function et(){var qr=e.mouse(te),Qr=!1;pr&&(qr[0]+=pr[0],qr[1]+=pr[1]),nr||(e.event.altKey?(lr||(lr=[(A[0]+A[1])/2,(S[0]+S[1])/2]),dr[0]=A[+(qr[0]{(function(e,r){typeof _v=="object"&&typeof _b!="undefined"?r(_v):(e=e||self,r(e.d3=e.d3||{}))})(_v,function(e){"use strict";var r=new Date,t=new Date;function a(ie,xe,Ke,hr){function ze(Me){return ie(Me=arguments.length===0?new Date:new Date(+Me)),Me}return ze.floor=function(Me){return ie(Me=new Date(+Me)),Me},ze.ceil=function(Me){return ie(Me=new Date(Me-1)),xe(Me,1),ie(Me),Me},ze.round=function(Me){var ke=ze(Me),He=ze.ceil(Me);return Me-ke0))return Ze;do Ze.push(Ue=new Date(+Me)),xe(Me,He),ie(Me);while(Ue=ke)for(;ie(ke),!Me(ke);)ke.setTime(ke-1)},function(ke,He){if(ke>=ke)if(He=0;)for(;xe(ke,1),!Me(ke););})},Ke&&(ze.count=function(Me,ke){return r.setTime(+Me),t.setTime(+ke),ie(r),ie(t),Math.floor(Ke(r,t))},ze.every=function(Me){return Me=Math.floor(Me),!isFinite(Me)||!(Me>0)?null:Me>1?ze.filter(hr?function(ke){return hr(ke)%Me===0}:function(ke){return ze.count(0,ke)%Me===0}):ze}),ze}var n=a(function(){},function(ie,xe){ie.setTime(+ie+xe)},function(ie,xe){return xe-ie});n.every=function(ie){return ie=Math.floor(ie),!isFinite(ie)||!(ie>0)?null:ie>1?a(function(xe){xe.setTime(Math.floor(xe/ie)*ie)},function(xe,Ke){xe.setTime(+xe+Ke*ie)},function(xe,Ke){return(Ke-xe)/ie}):n};var i=n.range,l=1e3,o=6e4,s=36e5,u=864e5,f=6048e5,v=a(function(ie){ie.setTime(ie-ie.getMilliseconds())},function(ie,xe){ie.setTime(+ie+xe*l)},function(ie,xe){return(xe-ie)/l},function(ie){return ie.getUTCSeconds()}),h=v.range,d=a(function(ie){ie.setTime(ie-ie.getMilliseconds()-ie.getSeconds()*l)},function(ie,xe){ie.setTime(+ie+xe*o)},function(ie,xe){return(xe-ie)/o},function(ie){return ie.getMinutes()}),m=d.range,y=a(function(ie){ie.setTime(ie-ie.getMilliseconds()-ie.getSeconds()*l-ie.getMinutes()*o)},function(ie,xe){ie.setTime(+ie+xe*s)},function(ie,xe){return(xe-ie)/s},function(ie){return ie.getHours()}),g=y.range,_=a(function(ie){ie.setHours(0,0,0,0)},function(ie,xe){ie.setDate(ie.getDate()+xe)},function(ie,xe){return(xe-ie-(xe.getTimezoneOffset()-ie.getTimezoneOffset())*o)/u},function(ie){return ie.getDate()-1}),T=_.range;function w(ie){return a(function(xe){xe.setDate(xe.getDate()-(xe.getDay()+7-ie)%7),xe.setHours(0,0,0,0)},function(xe,Ke){xe.setDate(xe.getDate()+Ke*7)},function(xe,Ke){return(Ke-xe-(Ke.getTimezoneOffset()-xe.getTimezoneOffset())*o)/f})}var b=w(0),M=w(1),C=w(2),k=w(3),q=w(4),D=w(5),P=w(6),z=b.range,F=M.range,O=C.range,I=k.range,V=q.range,J=D.range,G=P.range,U=a(function(ie){ie.setDate(1),ie.setHours(0,0,0,0)},function(ie,xe){ie.setMonth(ie.getMonth()+xe)},function(ie,xe){return xe.getMonth()-ie.getMonth()+(xe.getFullYear()-ie.getFullYear())*12},function(ie){return ie.getMonth()}),H=U.range,Q=a(function(ie){ie.setMonth(0,1),ie.setHours(0,0,0,0)},function(ie,xe){ie.setFullYear(ie.getFullYear()+xe)},function(ie,xe){return xe.getFullYear()-ie.getFullYear()},function(ie){return ie.getFullYear()});Q.every=function(ie){return!isFinite(ie=Math.floor(ie))||!(ie>0)?null:a(function(xe){xe.setFullYear(Math.floor(xe.getFullYear()/ie)*ie),xe.setMonth(0,1),xe.setHours(0,0,0,0)},function(xe,Ke){xe.setFullYear(xe.getFullYear()+Ke*ie)})};var Z=Q.range,ne=a(function(ie){ie.setUTCSeconds(0,0)},function(ie,xe){ie.setTime(+ie+xe*o)},function(ie,xe){return(xe-ie)/o},function(ie){return ie.getUTCMinutes()}),ce=ne.range,ye=a(function(ie){ie.setUTCMinutes(0,0,0)},function(ie,xe){ie.setTime(+ie+xe*s)},function(ie,xe){return(xe-ie)/s},function(ie){return ie.getUTCHours()}),Se=ye.range,re=a(function(ie){ie.setUTCHours(0,0,0,0)},function(ie,xe){ie.setUTCDate(ie.getUTCDate()+xe)},function(ie,xe){return(xe-ie)/u},function(ie){return ie.getUTCDate()-1}),Ce=re.range;function pe(ie){return a(function(xe){xe.setUTCDate(xe.getUTCDate()-(xe.getUTCDay()+7-ie)%7),xe.setUTCHours(0,0,0,0)},function(xe,Ke){xe.setUTCDate(xe.getUTCDate()+Ke*7)},function(xe,Ke){return(Ke-xe)/f})}var be=pe(0),Ae=pe(1),ge=pe(2),B=pe(3),$=pe(4),Y=pe(5),le=pe(6),he=be.range,me=Ae.range,Re=ge.range,Ee=B.range,Le=$.range,Ve=Y.range,Fe=le.range,Xe=a(function(ie){ie.setUTCDate(1),ie.setUTCHours(0,0,0,0)},function(ie,xe){ie.setUTCMonth(ie.getUTCMonth()+xe)},function(ie,xe){return xe.getUTCMonth()-ie.getUTCMonth()+(xe.getUTCFullYear()-ie.getUTCFullYear())*12},function(ie){return ie.getUTCMonth()}),De=Xe.range,Ie=a(function(ie){ie.setUTCMonth(0,1),ie.setUTCHours(0,0,0,0)},function(ie,xe){ie.setUTCFullYear(ie.getUTCFullYear()+xe)},function(ie,xe){return xe.getUTCFullYear()-ie.getUTCFullYear()},function(ie){return ie.getUTCFullYear()});Ie.every=function(ie){return!isFinite(ie=Math.floor(ie))||!(ie>0)?null:a(function(xe){xe.setUTCFullYear(Math.floor(xe.getUTCFullYear()/ie)*ie),xe.setUTCMonth(0,1),xe.setUTCHours(0,0,0,0)},function(xe,Ke){xe.setUTCFullYear(xe.getUTCFullYear()+Ke*ie)})};var We=Ie.range;e.timeDay=_,e.timeDays=T,e.timeFriday=D,e.timeFridays=J,e.timeHour=y,e.timeHours=g,e.timeInterval=a,e.timeMillisecond=n,e.timeMilliseconds=i,e.timeMinute=d,e.timeMinutes=m,e.timeMonday=M,e.timeMondays=F,e.timeMonth=U,e.timeMonths=H,e.timeSaturday=P,e.timeSaturdays=G,e.timeSecond=v,e.timeSeconds=h,e.timeSunday=b,e.timeSundays=z,e.timeThursday=q,e.timeThursdays=V,e.timeTuesday=C,e.timeTuesdays=O,e.timeWednesday=k,e.timeWednesdays=I,e.timeWeek=b,e.timeWeeks=z,e.timeYear=Q,e.timeYears=Z,e.utcDay=re,e.utcDays=Ce,e.utcFriday=Y,e.utcFridays=Ve,e.utcHour=ye,e.utcHours=Se,e.utcMillisecond=n,e.utcMilliseconds=i,e.utcMinute=ne,e.utcMinutes=ce,e.utcMonday=Ae,e.utcMondays=me,e.utcMonth=Xe,e.utcMonths=De,e.utcSaturday=le,e.utcSaturdays=Fe,e.utcSecond=v,e.utcSeconds=h,e.utcSunday=be,e.utcSundays=he,e.utcThursday=$,e.utcThursdays=Le,e.utcTuesday=ge,e.utcTuesdays=Re,e.utcWednesday=B,e.utcWednesdays=Ee,e.utcWeek=be,e.utcWeeks=he,e.utcYear=Ie,e.utcYears=We,Object.defineProperty(e,"__esModule",{value:!0})})});var bs=K((wv,wb)=>{(function(e,r){typeof wv=="object"&&typeof wb!="undefined"?r(wv,K1()):(e=e||self,r(e.d3=e.d3||{},e.d3))})(wv,function(e,r){"use strict";function t(ae){if(053)return null;"w"in or||(or.w=1),"Z"in or?(st=a(n(or.y,0,1)),da=st.getUTCDay(),st=da>4||da===0?r.utcMonday.ceil(st):r.utcMonday(st),st=r.utcDay.offset(st,(or.V-1)*7),or.y=st.getUTCFullYear(),or.m=st.getUTCMonth(),or.d=st.getUTCDate()+(or.w+6)%7):(st=t(n(or.y,0,1)),da=st.getDay(),st=da>4||da===0?r.timeMonday.ceil(st):r.timeMonday(st),st=r.timeDay.offset(st,(or.V-1)*7),or.y=st.getFullYear(),or.m=st.getMonth(),or.d=st.getDate()+(or.w+6)%7)}else("W"in or||"U"in or)&&("w"in or||(or.w="u"in or?or.u%7:"W"in or?1:0),da="Z"in or?a(n(or.y,0,1)).getUTCDay():t(n(or.y,0,1)).getDay(),or.m=0,or.d="W"in or?(or.w+6)%7+or.W*7-(da+5)%7:or.w+or.U*7-(da+6)%7);return"Z"in or?(or.H+=or.Z/100|0,or.M+=or.Z%100,a(or)):t(or)}}function nt(yr,Gr,$r,or){for(var ha=0,st=Gr.length,da=$r.length,Rr,Vn;ha=da)return-1;if(Rr=Gr.charCodeAt(ha++),Rr===37){if(Rr=Gr.charAt(ha++),Vn=vr[Rr in l?Gr.charAt(ha++):Rr],!Vn||(or=Vn(yr,$r,or))=12)]}function zu(yr){return 1+~~(yr.getMonth()/3)}function Nu(yr){return sr[yr.getUTCDay()]}function Fu(yr){return cr[yr.getUTCDay()]}function qa(yr){return Ir[yr.getUTCMonth()]}function Xc(yr){return Mr[yr.getUTCMonth()]}function fs(yr){return $e[+(yr.getUTCHours()>=12)]}function cs(yr){return 1+~~(yr.getUTCMonth()/3)}return{format:function(yr){var Gr=ot(yr+="",na);return Gr.toString=function(){return yr},Gr},parse:function(yr){var Gr=Jr(yr+="",!1);return Gr.toString=function(){return yr},Gr},utcFormat:function(yr){var Gr=ot(yr+="",ia);return Gr.toString=function(){return yr},Gr},utcParse:function(yr){var Gr=Jr(yr+="",!0);return Gr.toString=function(){return yr},Gr}}}var l={"-":"",_:" ",0:"0"},o=/^\s*\d+/,s=/^%/,u=/[\\^$*+?|[\]().{}]/g;function f(ae,oe,qe){var Pe=ae68?1900:2e3),qe+Pe[0].length):-1}function M(ae,oe,qe){var Pe=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(oe.slice(qe,qe+6));return Pe?(ae.Z=Pe[1]?0:-(Pe[2]+(Pe[3]||"00")),qe+Pe[0].length):-1}function C(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+1));return Pe?(ae.q=Pe[0]*3-3,qe+Pe[0].length):-1}function k(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.m=Pe[0]-1,qe+Pe[0].length):-1}function q(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.d=+Pe[0],qe+Pe[0].length):-1}function D(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+3));return Pe?(ae.m=0,ae.d=+Pe[0],qe+Pe[0].length):-1}function P(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.H=+Pe[0],qe+Pe[0].length):-1}function z(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.M=+Pe[0],qe+Pe[0].length):-1}function F(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+2));return Pe?(ae.S=+Pe[0],qe+Pe[0].length):-1}function O(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+3));return Pe?(ae.L=+Pe[0],qe+Pe[0].length):-1}function I(ae,oe,qe){var Pe=o.exec(oe.slice(qe,qe+6));return Pe?(ae.L=Math.floor(Pe[0]/1e3),qe+Pe[0].length):-1}function V(ae,oe,qe){var Pe=s.exec(oe.slice(qe,qe+1));return Pe?qe+Pe[0].length:-1}function J(ae,oe,qe){var Pe=o.exec(oe.slice(qe));return Pe?(ae.Q=+Pe[0],qe+Pe[0].length):-1}function G(ae,oe,qe){var Pe=o.exec(oe.slice(qe));return Pe?(ae.s=+Pe[0],qe+Pe[0].length):-1}function U(ae,oe){return f(ae.getDate(),oe,2)}function H(ae,oe){return f(ae.getHours(),oe,2)}function Q(ae,oe){return f(ae.getHours()%12||12,oe,2)}function Z(ae,oe){return f(1+r.timeDay.count(r.timeYear(ae),ae),oe,3)}function ne(ae,oe){return f(ae.getMilliseconds(),oe,3)}function ce(ae,oe){return ne(ae,oe)+"000"}function ye(ae,oe){return f(ae.getMonth()+1,oe,2)}function Se(ae,oe){return f(ae.getMinutes(),oe,2)}function re(ae,oe){return f(ae.getSeconds(),oe,2)}function Ce(ae){var oe=ae.getDay();return oe===0?7:oe}function pe(ae,oe){return f(r.timeSunday.count(r.timeYear(ae)-1,ae),oe,2)}function be(ae,oe){var qe=ae.getDay();return ae=qe>=4||qe===0?r.timeThursday(ae):r.timeThursday.ceil(ae),f(r.timeThursday.count(r.timeYear(ae),ae)+(r.timeYear(ae).getDay()===4),oe,2)}function Ae(ae){return ae.getDay()}function ge(ae,oe){return f(r.timeMonday.count(r.timeYear(ae)-1,ae),oe,2)}function B(ae,oe){return f(ae.getFullYear()%100,oe,2)}function $(ae,oe){return f(ae.getFullYear()%1e4,oe,4)}function Y(ae){var oe=ae.getTimezoneOffset();return(oe>0?"-":(oe*=-1,"+"))+f(oe/60|0,"0",2)+f(oe%60,"0",2)}function le(ae,oe){return f(ae.getUTCDate(),oe,2)}function he(ae,oe){return f(ae.getUTCHours(),oe,2)}function me(ae,oe){return f(ae.getUTCHours()%12||12,oe,2)}function Re(ae,oe){return f(1+r.utcDay.count(r.utcYear(ae),ae),oe,3)}function Ee(ae,oe){return f(ae.getUTCMilliseconds(),oe,3)}function Le(ae,oe){return Ee(ae,oe)+"000"}function Ve(ae,oe){return f(ae.getUTCMonth()+1,oe,2)}function Fe(ae,oe){return f(ae.getUTCMinutes(),oe,2)}function Xe(ae,oe){return f(ae.getUTCSeconds(),oe,2)}function De(ae){var oe=ae.getUTCDay();return oe===0?7:oe}function Ie(ae,oe){return f(r.utcSunday.count(r.utcYear(ae)-1,ae),oe,2)}function We(ae,oe){var qe=ae.getUTCDay();return ae=qe>=4||qe===0?r.utcThursday(ae):r.utcThursday.ceil(ae),f(r.utcThursday.count(r.utcYear(ae),ae)+(r.utcYear(ae).getUTCDay()===4),oe,2)}function ie(ae){return ae.getUTCDay()}function xe(ae,oe){return f(r.utcMonday.count(r.utcYear(ae)-1,ae),oe,2)}function Ke(ae,oe){return f(ae.getUTCFullYear()%100,oe,2)}function hr(ae,oe){return f(ae.getUTCFullYear()%1e4,oe,4)}function ze(){return"+0000"}function Me(){return"%"}function ke(ae){return+ae}function He(ae){return Math.floor(+ae/1e3)}var Ze;Ue({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Ue(ae){return Ze=i(ae),e.timeFormat=Ze.format,e.timeParse=Ze.parse,e.utcFormat=Ze.utcFormat,e.utcParse=Ze.utcParse,Ze}var Ge="%Y-%m-%dT%H:%M:%S.%LZ";function ir(ae){return ae.toISOString()}var ar=Date.prototype.toISOString?ir:e.utcFormat(Ge);function er(ae){var oe=new Date(ae);return isNaN(oe)?null:oe}var Ne=+new Date("2000-01-01T00:00:00.000Z")?er:e.utcParse(Ge);e.isoFormat=ar,e.isoParse=Ne,e.timeFormatDefaultLocale=Ue,e.timeFormatLocale=i,Object.defineProperty(e,"__esModule",{value:!0})})});var Q1=K((Tv,Tb)=>{(function(e,r){typeof Tv=="object"&&typeof Tb!="undefined"?r(Tv):(e=typeof globalThis!="undefined"?globalThis:e||self,r(e.d3=e.d3||{}))})(Tv,function(e){"use strict";function r(k){return Math.abs(k=Math.round(k))>=1e21?k.toLocaleString("en").replace(/,/g,""):k.toString(10)}function t(k,q){if((D=(k=q?k.toExponential(q-1):k.toExponential()).indexOf("e"))1?P[0]+P.slice(2):P,+k.slice(D+1)]}function a(k){return k=t(Math.abs(k)),k?k[1]:NaN}function n(k,q){return function(D,P){for(var z=D.length,F=[],O=0,I=k[0],V=0;z>0&&I>0&&(V+I+1>P&&(I=Math.max(1,P-V)),F.push(D.substring(z-=I,z+I)),!((V+=I+1)>P));)I=k[O=(O+1)%k.length];return F.reverse().join(q)}}function i(k){return function(q){return q.replace(/[0-9]/g,function(D){return k[+D]})}}var l=/^(?:(.)?([=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(k){if(!(q=l.exec(k)))throw new Error("invalid format: "+k);var q;return new s({fill:q[1],align:q[2],sign:q[3],symbol:q[4],zero:q[5],width:q[6],comma:q[7],precision:q[8]&&q[8].slice(1),trim:q[9],type:q[10]})}o.prototype=s.prototype;function s(k){this.fill=k.fill===void 0?" ":k.fill+"",this.align=k.align===void 0?">":k.align+"",this.sign=k.sign===void 0?"-":k.sign+"",this.symbol=k.symbol===void 0?"":k.symbol+"",this.zero=!!k.zero,this.width=k.width===void 0?void 0:+k.width,this.comma=!!k.comma,this.precision=k.precision===void 0?void 0:+k.precision,this.trim=!!k.trim,this.type=k.type===void 0?"":k.type+""}s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function u(k){e:for(var q=k.length,D=1,P=-1,z;D0&&(P=0);break}return P>0?k.slice(0,P)+k.slice(z+1):k}var f;function v(k,q){var D=t(k,q);if(!D)return k+"";var P=D[0],z=D[1],F=z-(f=Math.max(-8,Math.min(8,Math.floor(z/3)))*3)+1,O=P.length;return F===O?P:F>O?P+new Array(F-O+1).join("0"):F>0?P.slice(0,F)+"."+P.slice(F):"0."+new Array(1-F).join("0")+t(k,Math.max(0,q+F-1))[0]}function h(k,q){var D=t(k,q);if(!D)return k+"";var P=D[0],z=D[1];return zz+1?P.slice(0,z+1)+"."+P.slice(z+1):P+new Array(z-P.length+2).join("0")}var d={"%":function(k,q){return(k*100).toFixed(q)},b:function(k){return Math.round(k).toString(2)},c:function(k){return k+""},d:r,e:function(k,q){return k.toExponential(q)},f:function(k,q){return k.toFixed(q)},g:function(k,q){return k.toPrecision(q)},o:function(k){return Math.round(k).toString(8)},p:function(k,q){return h(k*100,q)},r:h,s:v,X:function(k){return Math.round(k).toString(16).toUpperCase()},x:function(k){return Math.round(k).toString(16)}};function m(k){return k}var y=Array.prototype.map,g=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function _(k){var q=k.grouping===void 0||k.thousands===void 0?m:n(y.call(k.grouping,Number),k.thousands+""),D=k.currency===void 0?"":k.currency[0]+"",P=k.currency===void 0?"":k.currency[1]+"",z=k.decimal===void 0?".":k.decimal+"",F=k.numerals===void 0?m:i(y.call(k.numerals,String)),O=k.percent===void 0?"%":k.percent+"",I=k.minus===void 0?"-":k.minus+"",V=k.nan===void 0?"NaN":k.nan+"";function J(U){U=o(U);var H=U.fill,Q=U.align,Z=U.sign,ne=U.symbol,ce=U.zero,ye=U.width,Se=U.comma,re=U.precision,Ce=U.trim,pe=U.type;pe==="n"?(Se=!0,pe="g"):d[pe]||(re===void 0&&(re=12),Ce=!0,pe="g"),(ce||H==="0"&&Q==="=")&&(ce=!0,H="0",Q="=");var be=ne==="$"?D:ne==="#"&&/[boxX]/.test(pe)?"0"+pe.toLowerCase():"",Ae=ne==="$"?P:/[%p]/.test(pe)?O:"",ge=d[pe],B=/[defgprs%]/.test(pe);re=re===void 0?6:/[gprs]/.test(pe)?Math.max(1,Math.min(21,re)):Math.max(0,Math.min(20,re));function $(Y){var le=be,he=Ae,me,Re,Ee;if(pe==="c")he=ge(Y)+he,Y="";else{Y=+Y;var Le=YEe||Ee>57){he=(Ee===46?z+Y.slice(me+1):Y.slice(me))+he,Y=Y.slice(0,me);break}}}Se&&!ce&&(Y=q(Y,1/0));var Ve=le.length+Y.length+he.length,Fe=Ve>1)+le+Y+he+Fe.slice(Ve);break;default:Y=Fe+le+Y+he;break}return F(Y)}return $.toString=function(){return U+""},$}function G(U,H){var Q=J((U=o(U),U.type="f",U)),Z=Math.max(-8,Math.min(8,Math.floor(a(H)/3)))*3,ne=Math.pow(10,-Z),ce=g[8+Z/3];return function(ye){return Q(ne*ye)+ce}}return{format:J,formatPrefix:G}}var T;w({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});function w(k){return T=_(k),e.format=T.format,e.formatPrefix=T.formatPrefix,T}function b(k){return Math.max(0,-a(Math.abs(k)))}function M(k,q){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(a(q)/3)))*3-a(Math.abs(k)))}function C(k,q){return k=Math.abs(k),q=Math.abs(q)-k,Math.max(0,a(q)-a(k))+1}e.FormatSpecifier=s,e.formatDefaultLocale=w,e.formatLocale=_,e.formatSpecifier=o,e.precisionFixed=b,e.precisionPrefix=M,e.precisionRound=C,Object.defineProperty(e,"__esModule",{value:!0})})});var Ab=K((Pie,Mb)=>{"use strict";Mb.exports=function(e){for(var r=e.length,t,a=0;a13)&&t!==32&&t!==133&&t!==160&&t!==5760&&t!==6158&&(t8205)&&t!==8232&&t!==8233&&t!==8239&&t!==8287&&t!==8288&&t!==12288&&t!==65279)return!1;return!0}});var Or=K((Rie,kb)=>{"use strict";var yI=Ab();kb.exports=function(e){var r=typeof e;if(r==="string"){var t=e;if(e=+e,e===0&&yI(t))return!1}else if(r!=="number")return!1;return e-e{"use strict";Sb.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE*1e-4,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,ONEMILLI:1,ONEMICROSEC:.001,EPOCHJD:24405875e-1,ALMOST_EQUAL:1-1e-6,LOG_CLIP:10,MINUS_SIGN:"\u2212"}});var $1=K((Mv,Cb)=>{(function(e,r){typeof Mv=="object"&&typeof Cb!="undefined"?r(Mv):(e=typeof globalThis!="undefined"?globalThis:e||self,r(e["base64-arraybuffer"]={}))})(Mv,function(e){"use strict";for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),a=0;a>2],f+=r[(o[s]&3)>4],f+=r[(o[s+1]&15)>6],f+=r[o[s+2]&63];return u%3===2?f=f.substring(0,f.length-1)+"=":u%3===1&&(f=f.substring(0,f.length-2)+"=="),f},i=function(l){var o=l.length*.75,s=l.length,u,f=0,v,h,d,m;l[l.length-1]==="="&&(o--,l[l.length-2]==="="&&o--);var y=new ArrayBuffer(o),g=new Uint8Array(y);for(u=0;u>4,g[f++]=(h&15)>2,g[f++]=(d&3){"use strict";Lb.exports=function(r){return window&&window.process&&window.process.versions?Object.prototype.toString.call(r)==="[object Object]":Object.prototype.toString.call(r)==="[object Object]"&&Object.getPrototypeOf(r).hasOwnProperty("hasOwnProperty")}});var Ka=K(Xn=>{"use strict";var gI=$1().decode,bI=cl(),j1=Array.isArray,xI=ArrayBuffer,_I=DataView;function qb(e){return xI.isView(e)&&!(e instanceof _I)}Xn.isTypedArray=qb;function Av(e){return j1(e)||qb(e)}Xn.isArrayOrTypedArray=Av;function wI(e){return!Av(e[0])}Xn.isArray1D=wI;Xn.ensureArray=function(e,r){return j1(e)||(e=[]),e.length=r,e};var sa={u1c:typeof Uint8ClampedArray=="undefined"?void 0:Uint8ClampedArray,i1:typeof Int8Array=="undefined"?void 0:Int8Array,u1:typeof Uint8Array=="undefined"?void 0:Uint8Array,i2:typeof Int16Array=="undefined"?void 0:Int16Array,u2:typeof Uint16Array=="undefined"?void 0:Uint16Array,i4:typeof Int32Array=="undefined"?void 0:Int32Array,u4:typeof Uint32Array=="undefined"?void 0:Uint32Array,f4:typeof Float32Array=="undefined"?void 0:Float32Array,f8:typeof Float64Array=="undefined"?void 0:Float64Array};sa.uint8c=sa.u1c;sa.uint8=sa.u1;sa.int8=sa.i1;sa.uint16=sa.u2;sa.int16=sa.i2;sa.uint32=sa.u4;sa.int32=sa.i4;sa.float32=sa.f4;sa.float64=sa.f8;function ep(e){return e.constructor===ArrayBuffer}Xn.isArrayBuffer=ep;Xn.decodeTypedArraySpec=function(e){var r=[],t=TI(e),a=t.dtype,n=sa[a];if(!n)throw new Error('Error in dtype: "'+a+'"');var i=n.BYTES_PER_ELEMENT,l=t.bdata;ep(l)||(l=gI(l));var o=t.shape===void 0?[l.byteLength/i]:(""+t.shape).split(",");o.reverse();var s=o.length,u,f,v=+o[0],h=i*v,d=0;if(s===1)r=new n(l);else if(s===2)for(u=+o[1],f=0;f{"use strict";var Eb=Or(),tp=Ka().isArrayOrTypedArray;Nb.exports=function(r,t){if(Eb(t))t=String(t);else if(typeof t!="string"||t.slice(-4)==="[-1]")throw"bad property string";var a=t.split("."),n,i,l,o;for(o=0;o{"use strict";var xs=kv(),CI=/^\w*$/,LI=0,Fb=1,Sv=2,Ib=3,lo=4;Hb.exports=function(r,t,a,n){a=a||"name",n=n||"value";var i,l,o,s={};t&&t.length?(o=xs(r,t),l=o.get()):l=r,t=t||"";var u={};if(l)for(i=0;i2)return s[d]=s[d]|Sv,v.set(h,null);if(f){for(i=d;i{"use strict";var qI=/^(.*)(\.[^\.\[\]]+|\[\d\])$/,DI=/^[^\.\[\]]+$/;Bb.exports=function(e,r){for(;r;){var t=e.match(qI);if(t)e=t[1];else if(e.match(DI))e="";else throw new Error("bad relativeAttr call:"+[e,r]);if(r.charAt(0)==="^")r=r.slice(1);else break}return e&&r.charAt(0)!=="["?e+"."+r:e+r}});var Cv=K((Bie,Ub)=>{"use strict";var EI=Or();Ub.exports=function(r,t){if(r>0)return Math.log(r)/Math.LN10;var a=Math.log(Math.min(t[0],t[1]))/Math.LN10;return EI(a)||(a=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),a}});var Wb=K((Yie,Gb)=>{"use strict";var Vb=Ka().isArrayOrTypedArray,Xu=cl();Gb.exports=function e(r,t){for(var a in t){var n=t[a],i=r[a];if(i!==n)if(a.charAt(0)==="_"||typeof n=="function"){if(a in r)continue;r[a]=n}else if(Vb(n)&&Vb(i)&&Xu(n[0])){if(a==="customdata"||a==="ids")continue;for(var l=Math.min(n.length,i.length),o=0;o{"use strict";function PI(e,r){var t=e%r;return tr/2?e-Math.round(e/r)*r:e}Xb.exports={mod:PI,modHalf:RI}});var wn=K((Vie,Lv)=>{(function(e){var r=/^\s+/,t=/\s+$/,a=0,n=e.round,i=e.min,l=e.max,o=e.random;function s(B,$){if(B=B||"",$=$||{},B instanceof s)return B;if(!(this instanceof s))return new s(B,$);var Y=u(B);this._originalInput=B,this._r=Y.r,this._g=Y.g,this._b=Y.b,this._a=Y.a,this._roundA=n(100*this._a)/100,this._format=$.format||Y.format,this._gradientType=$.gradientType,this._r=0,he=!$&&le&&(B==="hex"||B==="hex6"||B==="hex3"||B==="hex4"||B==="hex8"||B==="name");return he?B==="name"&&this._a===0?this.toName():this.toRgbString():(B==="rgb"&&(Y=this.toRgbString()),B==="prgb"&&(Y=this.toPercentageRgbString()),(B==="hex"||B==="hex6")&&(Y=this.toHexString()),B==="hex3"&&(Y=this.toHexString(!0)),B==="hex4"&&(Y=this.toHex8String(!0)),B==="hex8"&&(Y=this.toHex8String()),B==="name"&&(Y=this.toName()),B==="hsl"&&(Y=this.toHslString()),B==="hsv"&&(Y=this.toHsvString()),Y||this.toHexString())},clone:function(){return s(this.toString())},_applyModification:function(B,$){var Y=B.apply(null,[this].concat([].slice.call($)));return this._r=Y._r,this._g=Y._g,this._b=Y._b,this.setAlpha(Y._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(C,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(T,arguments)},saturate:function(){return this._applyModification(w,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(q,arguments)},_applyCombination:function(B,$){return B.apply(null,[this].concat([].slice.call($)))},analogous:function(){return this._applyCombination(O,arguments)},complement:function(){return this._applyCombination(D,arguments)},monochromatic:function(){return this._applyCombination(I,arguments)},splitcomplement:function(){return this._applyCombination(F,arguments)},triad:function(){return this._applyCombination(P,arguments)},tetrad:function(){return this._applyCombination(z,arguments)}},s.fromRatio=function(B,$){if(typeof B=="object"){var Y={};for(var le in B)B.hasOwnProperty(le)&&(le==="a"?Y[le]=B[le]:Y[le]=Se(B[le]));B=Y}return s(B,$)};function u(B){var $={r:0,g:0,b:0},Y=1,le=null,he=null,me=null,Re=!1,Ee=!1;return typeof B=="string"&&(B=Ae(B)),typeof B=="object"&&(be(B.r)&&be(B.g)&&be(B.b)?($=f(B.r,B.g,B.b),Re=!0,Ee=String(B.r).substr(-1)==="%"?"prgb":"rgb"):be(B.h)&&be(B.s)&&be(B.v)?(le=Se(B.s),he=Se(B.v),$=m(B.h,le,he),Re=!0,Ee="hsv"):be(B.h)&&be(B.s)&&be(B.l)&&(le=Se(B.s),me=Se(B.l),$=h(B.h,le,me),Re=!0,Ee="hsl"),B.hasOwnProperty("a")&&(Y=B.a)),Y=U(Y),{ok:Re,format:B.format||Ee,r:i(255,l($.r,0)),g:i(255,l($.g,0)),b:i(255,l($.b,0)),a:Y}}function f(B,$,Y){return{r:H(B,255)*255,g:H($,255)*255,b:H(Y,255)*255}}function v(B,$,Y){B=H(B,255),$=H($,255),Y=H(Y,255);var le=l(B,$,Y),he=i(B,$,Y),me,Re,Ee=(le+he)/2;if(le==he)me=Re=0;else{var Le=le-he;switch(Re=Ee>.5?Le/(2-le-he):Le/(le+he),le){case B:me=($-Y)/Le+($1&&(Xe-=1),Xe>1)+720)%360;--$;)le.h=(le.h+he)%360,me.push(s(le));return me}function I(B,$){$=$||6;for(var Y=s(B).toHsv(),le=Y.h,he=Y.s,me=Y.v,Re=[],Ee=1/$;$--;)Re.push(s({h:le,s:he,v:me})),me=(me+Ee)%1;return Re}s.mix=function(B,$,Y){Y=Y===0?0:Y||50;var le=s(B).toRgb(),he=s($).toRgb(),me=Y/100,Re={r:(he.r-le.r)*me+le.r,g:(he.g-le.g)*me+le.g,b:(he.b-le.b)*me+le.b,a:(he.a-le.a)*me+le.a};return s(Re)},s.readability=function(B,$){var Y=s(B),le=s($);return(e.max(Y.getLuminance(),le.getLuminance())+.05)/(e.min(Y.getLuminance(),le.getLuminance())+.05)},s.isReadable=function(B,$,Y){var le=s.readability(B,$),he,me;switch(me=!1,he=ge(Y),he.level+he.size){case"AAsmall":case"AAAlarge":me=le>=4.5;break;case"AAlarge":me=le>=3;break;case"AAAsmall":me=le>=7;break}return me},s.mostReadable=function(B,$,Y){var le=null,he=0,me,Re,Ee,Le;Y=Y||{},Re=Y.includeFallbackColors,Ee=Y.level,Le=Y.size;for(var Ve=0;Vehe&&(he=me,le=s($[Ve]));return s.isReadable(B,le,{level:Ee,size:Le})||!Re?le:(Y.includeFallbackColors=!1,s.mostReadable(B,["#fff","#000"],Y))};var V=s.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"},J=s.hexNames=G(V);function G(B){var $={};for(var Y in B)B.hasOwnProperty(Y)&&($[B[Y]]=Y);return $}function U(B){return B=parseFloat(B),(isNaN(B)||B1)&&(B=1),B}function H(B,$){ne(B)&&(B="100%");var Y=ce(B);return B=i($,l(0,parseFloat(B))),Y&&(B=parseInt(B*$,10)/100),e.abs(B-$){"use strict";var Zb=cl(),Zu=Array.isArray;function zI(e,r){var t,a;for(t=0;t{"use strict";Jb.exports=function(e){var r=e.variantValues,t=e.editType,a=e.colorEditType;a===void 0&&(a=t);var n={editType:t,valType:"integer",min:1,max:1e3,extras:["normal","bold"],dflt:"normal"};e.noNumericWeightValues&&(n.valType="enumerated",n.values=n.extras,n.extras=void 0,n.min=void 0,n.max=void 0);var i={family:{valType:"string",noBlank:!0,strict:!0,editType:t},size:{valType:"number",min:1,editType:t},color:{valType:"color",editType:a},weight:n,style:{editType:t,valType:"enumerated",values:["normal","italic"],dflt:"normal"},variant:e.noFontVariant?void 0:{editType:t,valType:"enumerated",values:r||["normal","small-caps","all-small-caps","all-petite-caps","petite-caps","unicase"],dflt:"normal"},textcase:e.noFontTextcase?void 0:{editType:t,valType:"enumerated",values:["normal","word caps","upper","lower"],dflt:"normal"},lineposition:e.noFontLineposition?void 0:{editType:t,valType:"flaglist",flags:["under","over","through"],extras:["none"],dflt:"none"},shadow:e.noFontShadow?void 0:{editType:t,valType:"string",dflt:e.autoShadowDflt?"auto":"none"},editType:t};return e.autoSize&&(i.size.dflt="auto"),e.autoColor&&(i.color.dflt="auto"),e.arrayOk&&(i.family.arrayOk=!0,i.weight.arrayOk=!0,i.style.arrayOk=!0,e.noFontVariant||(i.variant.arrayOk=!0),e.noFontTextcase||(i.textcase.arrayOk=!0),e.noFontLineposition||(i.lineposition.arrayOk=!0),e.noFontShadow||(i.shadow.arrayOk=!0),i.size.arrayOk=!0,i.color.arrayOk=!0),i}});var Qu=K((Xie,Kb)=>{"use strict";Kb.exports={YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,HOVERID:"-hover"}});var ws=K((Zie,jb)=>{"use strict";var Qb=Qu(),$b=ya(),ap=$b({editType:"none"});ap.family.dflt=Qb.HOVERFONT;ap.size.dflt=Qb.HOVERFONTSIZE;jb.exports={clickmode:{valType:"flaglist",flags:["event","select"],dflt:"event",editType:"plot",extras:["none"]},dragmode:{valType:"enumerated",values:["zoom","pan","select","lasso","drawclosedpath","drawopenpath","drawline","drawrect","drawcircle","orbit","turntable",!1],dflt:"zoom",editType:"modebar"},hovermode:{valType:"enumerated",values:["x","y","closest",!1,"x unified","y unified"],dflt:"closest",editType:"modebar"},hoversort:{valType:"enumerated",values:["trace","value descending","value ascending"],dflt:"trace",editType:"none"},hoversubplots:{valType:"enumerated",values:["single","overlaying","axis"],dflt:"overlaying",editType:"none"},hoveranywhere:{valType:"boolean",dflt:!1,editType:"none"},clickanywhere:{valType:"boolean",dflt:!1,editType:"none"},hoverdistance:{valType:"integer",min:-1,dflt:20,editType:"none"},spikedistance:{valType:"integer",min:-1,dflt:-1,editType:"none"},hoverlabel:{bgcolor:{valType:"color",editType:"none"},bordercolor:{valType:"color",editType:"none"},font:ap,grouptitlefont:$b({editType:"none"}),align:{valType:"enumerated",values:["left","right","auto"],dflt:"auto",editType:"none"},namelength:{valType:"integer",min:-1,dflt:15,editType:"none"},showarrow:{valType:"boolean",dflt:!0,editType:"none"},editType:"none"},selectdirection:{valType:"enumerated",values:["h","v","d","any"],dflt:"any",editType:"none"}}});var qv=K((Jie,ex)=>{"use strict";var NI=ya(),$u=ws().hoverlabel,ju=Gt().extendFlat;ex.exports={hoverlabel:{bgcolor:ju({},$u.bgcolor,{arrayOk:!0}),bordercolor:ju({},$u.bordercolor,{arrayOk:!0}),font:NI({arrayOk:!0,editType:"none"}),align:ju({},$u.align,{arrayOk:!0}),namelength:ju({},$u.namelength,{arrayOk:!0}),showarrow:ju({},$u.showarrow),editType:"none"}}});var Zn=K((Kie,rx)=>{"use strict";var FI=ya(),II=qv();rx.exports={type:{valType:"enumerated",values:[],dflt:"scatter",editType:"calc+clearAxisTypes",_noTemplating:!0},visible:{valType:"enumerated",values:[!0,!1,"legendonly"],dflt:!0,editType:"calc"},showlegend:{valType:"boolean",dflt:!0,editType:"style"},legend:{valType:"subplotid",dflt:"legend",editType:"style"},legendgroup:{valType:"string",dflt:"",editType:"style"},legendgrouptitle:{text:{valType:"string",dflt:"",editType:"style"},font:FI({editType:"style"}),editType:"style"},legendrank:{valType:"number",dflt:1e3,editType:"style"},legendwidth:{valType:"number",min:0,editType:"style"},opacity:{valType:"number",min:0,max:1,dflt:1,editType:"style"},name:{valType:"string",editType:"style"},uid:{valType:"string",editType:"plot",anim:!0},ids:{valType:"data_array",editType:"calc",anim:!0},customdata:{valType:"data_array",editType:"calc"},meta:{valType:"any",arrayOk:!0,editType:"plot"},selectedpoints:{valType:"any",editType:"calc"},hoverinfo:{valType:"flaglist",flags:["x","y","z","text","name"],extras:["all","none","skip"],arrayOk:!0,dflt:"all",editType:"none"},hoverlabel:II.hoverlabel,stream:{token:{valType:"string",noBlank:!0,strict:!0,editType:"calc"},maxpoints:{valType:"number",min:0,max:1e4,dflt:500,editType:"calc"},editType:"calc"},uirevision:{valType:"any",editType:"none"}}});var oo=K((Qie,nx)=>{"use strict";var HI=wn(),Dv={Greys:[[0,"rgb(0,0,0)"],[1,"rgb(255,255,255)"]],YlGnBu:[[0,"rgb(8,29,88)"],[.125,"rgb(37,52,148)"],[.25,"rgb(34,94,168)"],[.375,"rgb(29,145,192)"],[.5,"rgb(65,182,196)"],[.625,"rgb(127,205,187)"],[.75,"rgb(199,233,180)"],[.875,"rgb(237,248,217)"],[1,"rgb(255,255,217)"]],Greens:[[0,"rgb(0,68,27)"],[.125,"rgb(0,109,44)"],[.25,"rgb(35,139,69)"],[.375,"rgb(65,171,93)"],[.5,"rgb(116,196,118)"],[.625,"rgb(161,217,155)"],[.75,"rgb(199,233,192)"],[.875,"rgb(229,245,224)"],[1,"rgb(247,252,245)"]],YlOrRd:[[0,"rgb(128,0,38)"],[.125,"rgb(189,0,38)"],[.25,"rgb(227,26,28)"],[.375,"rgb(252,78,42)"],[.5,"rgb(253,141,60)"],[.625,"rgb(254,178,76)"],[.75,"rgb(254,217,118)"],[.875,"rgb(255,237,160)"],[1,"rgb(255,255,204)"]],Bluered:[[0,"rgb(0,0,255)"],[1,"rgb(255,0,0)"]],RdBu:[[0,"rgb(5,10,172)"],[.35,"rgb(106,137,247)"],[.5,"rgb(190,190,190)"],[.6,"rgb(220,170,132)"],[.7,"rgb(230,145,90)"],[1,"rgb(178,10,28)"]],Reds:[[0,"rgb(220,220,220)"],[.2,"rgb(245,195,157)"],[.4,"rgb(245,160,105)"],[1,"rgb(178,10,28)"]],Blues:[[0,"rgb(5,10,172)"],[.35,"rgb(40,60,190)"],[.5,"rgb(70,100,245)"],[.6,"rgb(90,120,245)"],[.7,"rgb(106,137,247)"],[1,"rgb(220,220,220)"]],Picnic:[[0,"rgb(0,0,255)"],[.1,"rgb(51,153,255)"],[.2,"rgb(102,204,255)"],[.3,"rgb(153,204,255)"],[.4,"rgb(204,204,255)"],[.5,"rgb(255,255,255)"],[.6,"rgb(255,204,255)"],[.7,"rgb(255,153,255)"],[.8,"rgb(255,102,204)"],[.9,"rgb(255,102,102)"],[1,"rgb(255,0,0)"]],Rainbow:[[0,"rgb(150,0,90)"],[.125,"rgb(0,0,200)"],[.25,"rgb(0,25,255)"],[.375,"rgb(0,152,255)"],[.5,"rgb(44,255,150)"],[.625,"rgb(151,255,0)"],[.75,"rgb(255,234,0)"],[.875,"rgb(255,111,0)"],[1,"rgb(255,0,0)"]],Portland:[[0,"rgb(12,51,131)"],[.25,"rgb(10,136,186)"],[.5,"rgb(242,211,56)"],[.75,"rgb(242,143,56)"],[1,"rgb(217,30,30)"]],Jet:[[0,"rgb(0,0,131)"],[.125,"rgb(0,60,170)"],[.375,"rgb(5,255,255)"],[.625,"rgb(255,255,0)"],[.875,"rgb(250,0,0)"],[1,"rgb(128,0,0)"]],Hot:[[0,"rgb(0,0,0)"],[.3,"rgb(230,0,0)"],[.6,"rgb(255,210,0)"],[1,"rgb(255,255,255)"]],Blackbody:[[0,"rgb(0,0,0)"],[.2,"rgb(230,0,0)"],[.4,"rgb(230,210,0)"],[.7,"rgb(255,255,255)"],[1,"rgb(160,200,255)"]],Earth:[[0,"rgb(0,0,130)"],[.1,"rgb(0,180,180)"],[.2,"rgb(40,210,40)"],[.4,"rgb(230,230,50)"],[.6,"rgb(120,70,20)"],[1,"rgb(255,255,255)"]],Electric:[[0,"rgb(0,0,0)"],[.15,"rgb(30,0,100)"],[.4,"rgb(120,0,100)"],[.6,"rgb(160,90,0)"],[.8,"rgb(230,200,0)"],[1,"rgb(255,250,220)"]],Viridis:[[0,"#440154"],[.06274509803921569,"#48186a"],[.12549019607843137,"#472d7b"],[.18823529411764706,"#424086"],[.25098039215686274,"#3b528b"],[.3137254901960784,"#33638d"],[.3764705882352941,"#2c728e"],[.4392156862745098,"#26828e"],[.5019607843137255,"#21918c"],[.5647058823529412,"#1fa088"],[.6274509803921569,"#28ae80"],[.6901960784313725,"#3fbc73"],[.7529411764705882,"#5ec962"],[.8156862745098039,"#84d44b"],[.8784313725490196,"#addc30"],[.9411764705882353,"#d8e219"],[1,"#fde725"]],Cividis:[[0,"rgb(0,32,76)"],[.058824,"rgb(0,42,102)"],[.117647,"rgb(0,52,110)"],[.176471,"rgb(39,63,108)"],[.235294,"rgb(60,74,107)"],[.294118,"rgb(76,85,107)"],[.352941,"rgb(91,95,109)"],[.411765,"rgb(104,106,112)"],[.470588,"rgb(117,117,117)"],[.529412,"rgb(131,129,120)"],[.588235,"rgb(146,140,120)"],[.647059,"rgb(161,152,118)"],[.705882,"rgb(176,165,114)"],[.764706,"rgb(192,177,109)"],[.823529,"rgb(209,191,102)"],[.882353,"rgb(225,204,92)"],[.941176,"rgb(243,219,79)"],[1,"rgb(255,233,69)"]]},tx=Dv.RdBu;function OI(e,r){if(r||(r=tx),!e)return r;function t(){try{e=Dv[e]||JSON.parse(e)}catch(a){e=r}}return typeof e=="string"&&(t(),typeof e=="string"&&t()),ax(e)?e:r}function ax(e){var r=0;if(!Array.isArray(e)||e.length{"use strict";so.defaults=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"];so.defaultLine="#444";so.lightLine="#eee";so.background="#fff";so.borderLine="#BEC8D9";so.lightFraction=100*10/11});var Er=K((jie,ix)=>{"use strict";var Qa=wn(),YI=Or(),UI=Ka().isTypedArray,Kt=ix.exports={},Ev=gi();Kt.defaults=Ev.defaults;var VI=Kt.defaultLine=Ev.defaultLine;Kt.lightLine=Ev.lightLine;var ip=Kt.background=Ev.background;Kt.tinyRGB=function(e){var r=e.toRgb();return"rgb("+Math.round(r.r)+", "+Math.round(r.g)+", "+Math.round(r.b)+")"};Kt.rgb=function(e){return Kt.tinyRGB(Qa(e))};Kt.opacity=function(e){return e?Qa(e).getAlpha():0};Kt.addOpacity=function(e,r){var t=Qa(e).toRgb();return"rgba("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+", "+r+")"};Kt.combine=function(e,r){var t=Qa(e).toRgb();if(t.a===1)return Qa(e).toRgbString();var a=Qa(r||ip).toRgb(),n=a.a===1?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},i={r:n.r*(1-t.a)+t.r*t.a,g:n.g*(1-t.a)+t.g*t.a,b:n.b*(1-t.a)+t.b*t.a};return Qa(i).toRgbString()};Kt.interpolate=function(e,r,t){var a=Qa(e).toRgb(),n=Qa(r).toRgb(),i={r:t*a.r+(1-t)*n.r,g:t*a.g+(1-t)*n.g,b:t*a.b+(1-t)*n.b};return Qa(i).toRgbString()};Kt.contrast=function(e,r,t){var a=Qa(e);a.getAlpha()!==1&&(a=Qa(Kt.combine(e,ip)));var n=a.isDark()?r?a.lighten(r):ip:t?a.darken(t):VI;return n.toString()};Kt.stroke=function(e,r){var t=Qa(r);e.style({stroke:Kt.tinyRGB(t),"stroke-opacity":t.getAlpha()})};Kt.fill=function(e,r){var t=Qa(r);e.style({fill:Kt.tinyRGB(t),"fill-opacity":t.getAlpha()})};Kt.clean=function(e){if(!(!e||typeof e!="object")){var r=Object.keys(e),t,a,n,i;for(t=0;t=0)))return e;if(i===3)a[i]>1&&(a[i]=1);else if(a[i]>=1)return e}var l=Math.round(a[0]*255)+", "+Math.round(a[1]*255)+", "+Math.round(a[2]*255);return n?"rgba("+l+", "+a[3]+")":"rgb("+l+")"}});var Pv=K((ele,lx)=>{"use strict";lx.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3,DESELECTDIM:.2}});var Ts=K(ox=>{"use strict";ox.counter=function(e,r,t,a){var n=(r||"")+(t?"":"$"),i=a===!1?"":"^";return e==="xy"?new RegExp(i+"x([2-9]|[1-9][0-9]+)?y([2-9]|[1-9][0-9]+)?"+n):new RegExp(i+e+"([2-9]|[1-9][0-9]+)?"+n)}});var cx=K($a=>{"use strict";var lp=Or(),sx=wn(),ux=Gt().extendFlat,GI=Zn(),WI=oo(),XI=Er(),ZI=Pv().DESELECTDIM,Ms=kv(),fx=Ts().counter,JI=_s().modHalf,Jn=Ka().isArrayOrTypedArray,vl=Ka().isTypedArraySpec,hl=Ka().decodeTypedArraySpec;$a.valObjectMeta={data_array:{coerceFunction:function(e,r,t){r.set(Jn(e)?e:vl(e)?hl(e):t)}},enumerated:{coerceFunction:function(e,r,t,a){a.coerceNumber&&(e=+e),a.values.indexOf(e)===-1?r.set(t):r.set(e)},validateFunction:function(e,r){r.coerceNumber&&(e=+e);for(var t=r.values,a=0;ai===!0||i===!1;n(e)||a.arrayOk&&Array.isArray(e)&&e.length>0&&e.every(n)?r.set(e):r.set(t)}},number:{coerceFunction:function(e,r,t,a){vl(e)&&(e=hl(e)),!lp(e)||a.min!==void 0&&ea.max?r.set(t):r.set(+e)}},integer:{coerceFunction:function(e,r,t,a){if((a.extras||[]).indexOf(e)!==-1){r.set(e);return}vl(e)&&(e=hl(e)),e%1||!lp(e)||a.min!==void 0&&ea.max?r.set(t):r.set(+e)}},string:{coerceFunction:function(e,r,t,a){if(typeof e!="string"){var n=typeof e=="number";a.strict===!0||!n?r.set(t):r.set(String(e))}else a.noBlank&&!e?r.set(t):r.set(e)}},color:{coerceFunction:function(e,r,t){vl(e)&&(e=hl(e)),sx(e).isValid()?r.set(e):r.set(t)}},colorlist:{coerceFunction:function(e,r,t){function a(n){return sx(n).isValid()}!Array.isArray(e)||!e.length?r.set(t):e.every(a)?r.set(e):r.set(t)}},colorscale:{coerceFunction:function(e,r,t){r.set(WI.get(e,t))}},angle:{coerceFunction:function(e,r,t){vl(e)&&(e=hl(e)),e==="auto"?r.set("auto"):lp(e)?r.set(JI(+e,360)):r.set(t)}},subplotid:{coerceFunction:function(e,r,t,a){var n=a.regex||fx(t);let i=l=>typeof l=="string"&&n.test(l);i(e)||a.arrayOk&&Jn(e)&&e.length>0&&e.every(i)?r.set(e):r.set(t)},validateFunction:function(e,r){var t=r.dflt;return e===t?!0:typeof e!="string"?!1:!!fx(t).test(e)}},flaglist:{coerceFunction:function(e,r,t,a){if((a.extras||[]).indexOf(e)!==-1){r.set(e);return}if(typeof e!="string"){r.set(t);return}for(var n=e.split("+"),i=0;i{"use strict";var vx={staticPlot:{valType:"boolean",dflt:!1},typesetMath:{valType:"boolean",dflt:!0},plotlyServerURL:{valType:"string",dflt:""},editable:{valType:"boolean",dflt:!1},edits:{annotationPosition:{valType:"boolean",dflt:!1},annotationTail:{valType:"boolean",dflt:!1},annotationText:{valType:"boolean",dflt:!1},axisTitleText:{valType:"boolean",dflt:!1},colorbarPosition:{valType:"boolean",dflt:!1},colorbarTitleText:{valType:"boolean",dflt:!1},legendPosition:{valType:"boolean",dflt:!1},legendText:{valType:"boolean",dflt:!1},shapePosition:{valType:"boolean",dflt:!1},titleText:{valType:"boolean",dflt:!1}},editSelection:{valType:"boolean",dflt:!0},autosizable:{valType:"boolean",dflt:!1},responsive:{valType:"boolean",dflt:!1},fillFrame:{valType:"boolean",dflt:!1},frameMargins:{valType:"number",dflt:0,min:0,max:.5},scrollZoom:{valType:"flaglist",flags:["cartesian","gl3d","geo","mapbox","map"],extras:[!0,!1],dflt:"gl3d+geo+map"},doubleClick:{valType:"enumerated",values:[!1,"reset","autosize","reset+autosize"],dflt:"reset+autosize"},doubleClickDelay:{valType:"number",dflt:300,min:0},showAxisDragHandles:{valType:"boolean",dflt:!0},showAxisRangeEntryBoxes:{valType:"boolean",dflt:!0},showTips:{valType:"boolean",dflt:!0},displayNotifier:{valType:"boolean",dflt:!0},showLink:{valType:"boolean",dflt:!1},linkText:{valType:"string",dflt:"Edit chart",noBlank:!0},sendData:{valType:"boolean",dflt:!0},showSources:{valType:"any",dflt:!1},displayModeBar:{valType:"enumerated",values:["hover",!0,!1],dflt:"hover"},showSendToCloud:{valType:"boolean",dflt:!1},showEditInChartStudio:{valType:"boolean",dflt:!1},modeBarButtonsToRemove:{valType:"any",dflt:[]},modeBarButtonsToAdd:{valType:"any",dflt:[]},modeBarButtons:{valType:"any",dflt:!1},toImageButtonOptions:{valType:"any",dflt:{}},displaylogo:{valType:"boolean",dflt:!0},watermark:{valType:"boolean",dflt:!1},plotGlPixelRatio:{valType:"number",dflt:2,min:1,max:4},setBackground:{valType:"any",dflt:"transparent"},topojsonURL:{valType:"string",noBlank:!0,dflt:"https://cdn.plot.ly/un/"},mapboxAccessToken:{valType:"string",dflt:null},logging:{valType:"integer",min:0,max:2,dflt:1},notifyOnLogging:{valType:"integer",min:0,max:2,dflt:0},queueLength:{valType:"integer",min:0,dflt:0},locale:{valType:"string",dflt:"en-US"},locales:{valType:"any",dflt:{}}},hx={};function dx(e,r){for(var t in e){var a=e[t];a.valType?r[t]=a.dflt:(r[t]||(r[t]={}),dx(a,r[t]))}}dx(vx,hx);px.exports={configAttributes:vx,dfltConfig:hx}});var sp=K((nle,mx)=>{"use strict";var op=Hr(),KI=Or(),ef=[];mx.exports=function(e,r,t){var o;if(((o=t==null?void 0:t._context)==null?void 0:o.displayNotifier)===!1||ef.indexOf(e)!==-1)return;ef.push(e);var a=1e3;KI(r)?a=r:r==="long"&&(a=3e3);var n=op.select("body").selectAll(".plotly-notifier").data([0]);n.enter().append("div").classed("plotly-notifier",!0);var i=n.selectAll(".notifier-note").data(ef);function l(s){s.duration(700).style("opacity",0).each("end",function(u){var f=ef.indexOf(u);f!==-1&&ef.splice(f,1),op.select(this).remove()})}i.enter().append("div").classed("notifier-note",!0).style("opacity",0).each(function(s){var u=op.select(this);u.append("button").classed("notifier-close",!0).html("×").on("click",function(){u.transition().call(l)});for(var f=u.append("p"),v=s.split(/
/g),h=0;h{"use strict";var As=uo().dfltConfig,up=sp(),fp=yx.exports={};fp.log=function(){var e;if(As.logging>1){var r=["LOG:"];for(e=0;e1){var t=[];for(e=0;e"),"long")}};fp.warn=function(){var e;if(As.logging>0){var r=["WARN:"];for(e=0;e0){var t=[];for(e=0;e"),"stick")}};fp.error=function(){var e;if(As.logging>0){var r=["ERROR:"];for(e=0;e0){var t=[];for(e=0;e"),"stick")}}});var zv=K((lle,gx)=>{"use strict";gx.exports=function(){}});var cp=K((ole,bx)=>{"use strict";bx.exports=function(r,t){if(t instanceof RegExp){for(var a=t.toString(),n=0;n{xx.exports=QI;function QI(){var e=new Float32Array(16);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var Tx=K((ule,wx)=>{wx.exports=$I;function $I(e){var r=new Float32Array(16);return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r[6]=e[6],r[7]=e[7],r[8]=e[8],r[9]=e[9],r[10]=e[10],r[11]=e[11],r[12]=e[12],r[13]=e[13],r[14]=e[14],r[15]=e[15],r}});var Ax=K((fle,Mx)=>{Mx.exports=jI;function jI(e,r){return e[0]=r[0],e[1]=r[1],e[2]=r[2],e[3]=r[3],e[4]=r[4],e[5]=r[5],e[6]=r[6],e[7]=r[7],e[8]=r[8],e[9]=r[9],e[10]=r[10],e[11]=r[11],e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15],e}});var vp=K((cle,kx)=>{kx.exports=eH;function eH(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var Cx=K((vle,Sx)=>{Sx.exports=rH;function rH(e,r){if(e===r){var t=r[1],a=r[2],n=r[3],i=r[6],l=r[7],o=r[11];e[1]=r[4],e[2]=r[8],e[3]=r[12],e[4]=t,e[6]=r[9],e[7]=r[13],e[8]=a,e[9]=i,e[11]=r[14],e[12]=n,e[13]=l,e[14]=o}else e[0]=r[0],e[1]=r[4],e[2]=r[8],e[3]=r[12],e[4]=r[1],e[5]=r[5],e[6]=r[9],e[7]=r[13],e[8]=r[2],e[9]=r[6],e[10]=r[10],e[11]=r[14],e[12]=r[3],e[13]=r[7],e[14]=r[11],e[15]=r[15];return e}});var qx=K((hle,Lx)=>{Lx.exports=tH;function tH(e,r){var t=r[0],a=r[1],n=r[2],i=r[3],l=r[4],o=r[5],s=r[6],u=r[7],f=r[8],v=r[9],h=r[10],d=r[11],m=r[12],y=r[13],g=r[14],_=r[15],T=t*o-a*l,w=t*s-n*l,b=t*u-i*l,M=a*s-n*o,C=a*u-i*o,k=n*u-i*s,q=f*y-v*m,D=f*g-h*m,P=f*_-d*m,z=v*g-h*y,F=v*_-d*y,O=h*_-d*g,I=T*O-w*F+b*z+M*P-C*D+k*q;return I?(I=1/I,e[0]=(o*O-s*F+u*z)*I,e[1]=(n*F-a*O-i*z)*I,e[2]=(y*k-g*C+_*M)*I,e[3]=(h*C-v*k-d*M)*I,e[4]=(s*P-l*O-u*D)*I,e[5]=(t*O-n*P+i*D)*I,e[6]=(g*b-m*k-_*w)*I,e[7]=(f*k-h*b+d*w)*I,e[8]=(l*F-o*P+u*q)*I,e[9]=(a*P-t*F-i*q)*I,e[10]=(m*C-y*b+_*T)*I,e[11]=(v*b-f*C-d*T)*I,e[12]=(o*D-l*z-s*q)*I,e[13]=(t*z-a*D+n*q)*I,e[14]=(y*w-m*M-g*T)*I,e[15]=(f*M-v*w+h*T)*I,e):null}});var Ex=K((dle,Dx)=>{Dx.exports=aH;function aH(e,r){var t=r[0],a=r[1],n=r[2],i=r[3],l=r[4],o=r[5],s=r[6],u=r[7],f=r[8],v=r[9],h=r[10],d=r[11],m=r[12],y=r[13],g=r[14],_=r[15];return e[0]=o*(h*_-d*g)-v*(s*_-u*g)+y*(s*d-u*h),e[1]=-(a*(h*_-d*g)-v*(n*_-i*g)+y*(n*d-i*h)),e[2]=a*(s*_-u*g)-o*(n*_-i*g)+y*(n*u-i*s),e[3]=-(a*(s*d-u*h)-o*(n*d-i*h)+v*(n*u-i*s)),e[4]=-(l*(h*_-d*g)-f*(s*_-u*g)+m*(s*d-u*h)),e[5]=t*(h*_-d*g)-f*(n*_-i*g)+m*(n*d-i*h),e[6]=-(t*(s*_-u*g)-l*(n*_-i*g)+m*(n*u-i*s)),e[7]=t*(s*d-u*h)-l*(n*d-i*h)+f*(n*u-i*s),e[8]=l*(v*_-d*y)-f*(o*_-u*y)+m*(o*d-u*v),e[9]=-(t*(v*_-d*y)-f*(a*_-i*y)+m*(a*d-i*v)),e[10]=t*(o*_-u*y)-l*(a*_-i*y)+m*(a*u-i*o),e[11]=-(t*(o*d-u*v)-l*(a*d-i*v)+f*(a*u-i*o)),e[12]=-(l*(v*g-h*y)-f*(o*g-s*y)+m*(o*h-s*v)),e[13]=t*(v*g-h*y)-f*(a*g-n*y)+m*(a*h-n*v),e[14]=-(t*(o*g-s*y)-l*(a*g-n*y)+m*(a*s-n*o)),e[15]=t*(o*h-s*v)-l*(a*h-n*v)+f*(a*s-n*o),e}});var Rx=K((ple,Px)=>{Px.exports=nH;function nH(e){var r=e[0],t=e[1],a=e[2],n=e[3],i=e[4],l=e[5],o=e[6],s=e[7],u=e[8],f=e[9],v=e[10],h=e[11],d=e[12],m=e[13],y=e[14],g=e[15],_=r*l-t*i,T=r*o-a*i,w=r*s-n*i,b=t*o-a*l,M=t*s-n*l,C=a*s-n*o,k=u*m-f*d,q=u*y-v*d,D=u*g-h*d,P=f*y-v*m,z=f*g-h*m,F=v*g-h*y;return _*F-T*z+w*P+b*D-M*q+C*k}});var Nx=K((mle,zx)=>{zx.exports=iH;function iH(e,r,t){var a=r[0],n=r[1],i=r[2],l=r[3],o=r[4],s=r[5],u=r[6],f=r[7],v=r[8],h=r[9],d=r[10],m=r[11],y=r[12],g=r[13],_=r[14],T=r[15],w=t[0],b=t[1],M=t[2],C=t[3];return e[0]=w*a+b*o+M*v+C*y,e[1]=w*n+b*s+M*h+C*g,e[2]=w*i+b*u+M*d+C*_,e[3]=w*l+b*f+M*m+C*T,w=t[4],b=t[5],M=t[6],C=t[7],e[4]=w*a+b*o+M*v+C*y,e[5]=w*n+b*s+M*h+C*g,e[6]=w*i+b*u+M*d+C*_,e[7]=w*l+b*f+M*m+C*T,w=t[8],b=t[9],M=t[10],C=t[11],e[8]=w*a+b*o+M*v+C*y,e[9]=w*n+b*s+M*h+C*g,e[10]=w*i+b*u+M*d+C*_,e[11]=w*l+b*f+M*m+C*T,w=t[12],b=t[13],M=t[14],C=t[15],e[12]=w*a+b*o+M*v+C*y,e[13]=w*n+b*s+M*h+C*g,e[14]=w*i+b*u+M*d+C*_,e[15]=w*l+b*f+M*m+C*T,e}});var Ix=K((yle,Fx)=>{Fx.exports=lH;function lH(e,r,t){var a=t[0],n=t[1],i=t[2],l,o,s,u,f,v,h,d,m,y,g,_;return r===e?(e[12]=r[0]*a+r[4]*n+r[8]*i+r[12],e[13]=r[1]*a+r[5]*n+r[9]*i+r[13],e[14]=r[2]*a+r[6]*n+r[10]*i+r[14],e[15]=r[3]*a+r[7]*n+r[11]*i+r[15]):(l=r[0],o=r[1],s=r[2],u=r[3],f=r[4],v=r[5],h=r[6],d=r[7],m=r[8],y=r[9],g=r[10],_=r[11],e[0]=l,e[1]=o,e[2]=s,e[3]=u,e[4]=f,e[5]=v,e[6]=h,e[7]=d,e[8]=m,e[9]=y,e[10]=g,e[11]=_,e[12]=l*a+f*n+m*i+r[12],e[13]=o*a+v*n+y*i+r[13],e[14]=s*a+h*n+g*i+r[14],e[15]=u*a+d*n+_*i+r[15]),e}});var Ox=K((gle,Hx)=>{Hx.exports=oH;function oH(e,r,t){var a=t[0],n=t[1],i=t[2];return e[0]=r[0]*a,e[1]=r[1]*a,e[2]=r[2]*a,e[3]=r[3]*a,e[4]=r[4]*n,e[5]=r[5]*n,e[6]=r[6]*n,e[7]=r[7]*n,e[8]=r[8]*i,e[9]=r[9]*i,e[10]=r[10]*i,e[11]=r[11]*i,e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15],e}});var Yx=K((ble,Bx)=>{Bx.exports=sH;function sH(e,r,t,a){var n=a[0],i=a[1],l=a[2],o=Math.sqrt(n*n+i*i+l*l),s,u,f,v,h,d,m,y,g,_,T,w,b,M,C,k,q,D,P,z,F,O,I,V;return Math.abs(o){Ux.exports=uH;function uH(e,r,t){var a=Math.sin(t),n=Math.cos(t),i=r[4],l=r[5],o=r[6],s=r[7],u=r[8],f=r[9],v=r[10],h=r[11];return r!==e&&(e[0]=r[0],e[1]=r[1],e[2]=r[2],e[3]=r[3],e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15]),e[4]=i*n+u*a,e[5]=l*n+f*a,e[6]=o*n+v*a,e[7]=s*n+h*a,e[8]=u*n-i*a,e[9]=f*n-l*a,e[10]=v*n-o*a,e[11]=h*n-s*a,e}});var Wx=K((_le,Gx)=>{Gx.exports=fH;function fH(e,r,t){var a=Math.sin(t),n=Math.cos(t),i=r[0],l=r[1],o=r[2],s=r[3],u=r[8],f=r[9],v=r[10],h=r[11];return r!==e&&(e[4]=r[4],e[5]=r[5],e[6]=r[6],e[7]=r[7],e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15]),e[0]=i*n-u*a,e[1]=l*n-f*a,e[2]=o*n-v*a,e[3]=s*n-h*a,e[8]=i*a+u*n,e[9]=l*a+f*n,e[10]=o*a+v*n,e[11]=s*a+h*n,e}});var Zx=K((wle,Xx)=>{Xx.exports=cH;function cH(e,r,t){var a=Math.sin(t),n=Math.cos(t),i=r[0],l=r[1],o=r[2],s=r[3],u=r[4],f=r[5],v=r[6],h=r[7];return r!==e&&(e[8]=r[8],e[9]=r[9],e[10]=r[10],e[11]=r[11],e[12]=r[12],e[13]=r[13],e[14]=r[14],e[15]=r[15]),e[0]=i*n+u*a,e[1]=l*n+f*a,e[2]=o*n+v*a,e[3]=s*n+h*a,e[4]=u*n-i*a,e[5]=f*n-l*a,e[6]=v*n-o*a,e[7]=h*n-s*a,e}});var Kx=K((Tle,Jx)=>{Jx.exports=vH;function vH(e,r,t){var a,n,i,l=t[0],o=t[1],s=t[2],u=Math.sqrt(l*l+o*o+s*s);return Math.abs(u){Qx.exports=hH;function hH(e,r,t){var a=r[0],n=r[1],i=r[2],l=r[3],o=a+a,s=n+n,u=i+i,f=a*o,v=a*s,h=a*u,d=n*s,m=n*u,y=i*u,g=l*o,_=l*s,T=l*u;return e[0]=1-(d+y),e[1]=v+T,e[2]=h-_,e[3]=0,e[4]=v-T,e[5]=1-(f+y),e[6]=m+g,e[7]=0,e[8]=h+_,e[9]=m-g,e[10]=1-(f+d),e[11]=0,e[12]=t[0],e[13]=t[1],e[14]=t[2],e[15]=1,e}});var e_=K((Ale,jx)=>{jx.exports=dH;function dH(e,r){return e[0]=r[0],e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=r[1],e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=r[2],e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var t_=K((kle,r_)=>{r_.exports=pH;function pH(e,r){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=r[0],e[13]=r[1],e[14]=r[2],e[15]=1,e}});var n_=K((Sle,a_)=>{a_.exports=mH;function mH(e,r){var t=Math.sin(r),a=Math.cos(r);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=a,e[6]=t,e[7]=0,e[8]=0,e[9]=-t,e[10]=a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var l_=K((Cle,i_)=>{i_.exports=yH;function yH(e,r){var t=Math.sin(r),a=Math.cos(r);return e[0]=a,e[1]=0,e[2]=-t,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=t,e[9]=0,e[10]=a,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var s_=K((Lle,o_)=>{o_.exports=gH;function gH(e,r){var t=Math.sin(r),a=Math.cos(r);return e[0]=a,e[1]=t,e[2]=0,e[3]=0,e[4]=-t,e[5]=a,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var f_=K((qle,u_)=>{u_.exports=bH;function bH(e,r){var t=r[0],a=r[1],n=r[2],i=r[3],l=t+t,o=a+a,s=n+n,u=t*l,f=a*l,v=a*o,h=n*l,d=n*o,m=n*s,y=i*l,g=i*o,_=i*s;return e[0]=1-v-m,e[1]=f+_,e[2]=h-g,e[3]=0,e[4]=f-_,e[5]=1-u-m,e[6]=d+y,e[7]=0,e[8]=h+g,e[9]=d-y,e[10]=1-u-v,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}});var v_=K((Dle,c_)=>{c_.exports=xH;function xH(e,r,t,a,n,i,l){var o=1/(t-r),s=1/(n-a),u=1/(i-l);return e[0]=i*2*o,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=i*2*s,e[6]=0,e[7]=0,e[8]=(t+r)*o,e[9]=(n+a)*s,e[10]=(l+i)*u,e[11]=-1,e[12]=0,e[13]=0,e[14]=l*i*2*u,e[15]=0,e}});var d_=K((Ele,h_)=>{h_.exports=_H;function _H(e,r,t,a,n){var i=1/Math.tan(r/2),l=1/(a-n);return e[0]=i/t,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=i,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=(n+a)*l,e[11]=-1,e[12]=0,e[13]=0,e[14]=2*n*a*l,e[15]=0,e}});var m_=K((Ple,p_)=>{p_.exports=wH;function wH(e,r,t,a){var n=Math.tan(r.upDegrees*Math.PI/180),i=Math.tan(r.downDegrees*Math.PI/180),l=Math.tan(r.leftDegrees*Math.PI/180),o=Math.tan(r.rightDegrees*Math.PI/180),s=2/(l+o),u=2/(n+i);return e[0]=s,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=u,e[6]=0,e[7]=0,e[8]=-((l-o)*s*.5),e[9]=(n-i)*u*.5,e[10]=a/(t-a),e[11]=-1,e[12]=0,e[13]=0,e[14]=a*t/(t-a),e[15]=0,e}});var g_=K((Rle,y_)=>{y_.exports=TH;function TH(e,r,t,a,n,i,l){var o=1/(r-t),s=1/(a-n),u=1/(i-l);return e[0]=-2*o,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=-2*s,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=2*u,e[11]=0,e[12]=(r+t)*o,e[13]=(n+a)*s,e[14]=(l+i)*u,e[15]=1,e}});var x_=K((zle,b_)=>{var MH=vp();b_.exports=AH;function AH(e,r,t,a){var n,i,l,o,s,u,f,v,h,d,m=r[0],y=r[1],g=r[2],_=a[0],T=a[1],w=a[2],b=t[0],M=t[1],C=t[2];return Math.abs(m-b){__.exports=kH;function kH(e){return"mat4("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+", "+e[4]+", "+e[5]+", "+e[6]+", "+e[7]+", "+e[8]+", "+e[9]+", "+e[10]+", "+e[11]+", "+e[12]+", "+e[13]+", "+e[14]+", "+e[15]+")"}});var hp=K((Fle,T_)=>{T_.exports={create:_x(),clone:Tx(),copy:Ax(),identity:vp(),transpose:Cx(),invert:qx(),adjoint:Ex(),determinant:Rx(),multiply:Nx(),translate:Ix(),scale:Ox(),rotate:Yx(),rotateX:Vx(),rotateY:Wx(),rotateZ:Zx(),fromRotation:Kx(),fromRotationTranslation:$x(),fromScaling:e_(),fromTranslation:t_(),fromXRotation:n_(),fromYRotation:l_(),fromZRotation:s_(),fromQuat:f_(),frustum:v_(),perspective:d_(),perspectiveFromFieldOfView:m_(),ortho:g_(),lookAt:x_(),str:w_()}});var Nv=K(Lt=>{"use strict";var SH=hp();Lt.init2dArray=function(e,r){for(var t=new Array(e),a=0;a{"use strict";var CH=Hr(),M_=fo(),LH=Nv(),qH=hp();function DH(e){var r;if(typeof e=="string"){if(r=document.getElementById(e),r===null)throw new Error("No DOM element with id '"+e+"' exists on the page.");return r}else if(e==null)throw new Error("DOM element provided is null or undefined");return e}function EH(e){var r=CH.select(e);return r.node()instanceof HTMLElement&&r.size()&&r.classed("js-plotly-plot")}function A_(e){var r=e&&e.parentNode;r&&r.removeChild(e)}function PH(e,r){k_("global",e,r)}function k_(e,r,t){var a="plotly.js-style-"+e,n=document.getElementById(a);if(!(n&&n.matches(".no-inline-styles"))){n||(n=document.createElement("style"),n.setAttribute("id",a),n.appendChild(document.createTextNode("")),document.head.appendChild(n));var i=n.sheet;i?i.insertRule?i.insertRule(r+"{"+t+"}",0):i.addRule?i.addRule(r,t,0):M_.warn("addStyleRule failed"):M_.warn("Cannot addRelatedStyleRule, probably due to strict CSP...")}}function RH(e){var r="plotly.js-style-"+e,t=document.getElementById(r);t&&A_(t)}function zH(e,r,t,a,n,i){var l=a.split(":"),o=n.split(":"),s="data-btn-style-event-added";i||(i=document),i.querySelectorAll(e).forEach(function(u){u.getAttribute(s)||(u.addEventListener("mouseenter",function(){var f=this.querySelector(t);f&&(f.style[l[0]]=l[1])}),u.addEventListener("mouseleave",function(){var f=this.querySelector(t);f&&(r&&this.matches(r)?f.style[l[0]]=l[1]:f.style[o[0]]=o[1])}),u.setAttribute(s,!0))})}function NH(e){var r=C_(e),t=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];return r.forEach(function(a){var n=S_(a);if(n){var i=LH.convertCssMatrix(n);t=qH.multiply(t,t,i)}}),t}function S_(e){var r=window.getComputedStyle(e,null),t=r.getPropertyValue("-webkit-transform")||r.getPropertyValue("-moz-transform")||r.getPropertyValue("-ms-transform")||r.getPropertyValue("-o-transform")||r.getPropertyValue("transform");return t==="none"?null:t.replace("matrix","").replace("3d","").slice(1,-1).split(",").map(function(a){return+a})}function C_(e){for(var r=[];FH(e);)r.push(e),e=e.parentNode,typeof ShadowRoot=="function"&&e instanceof ShadowRoot&&(e=e.host);return r}function FH(e){return e&&(e instanceof Element||e instanceof HTMLElement)}function IH(e,r){return e&&r&&e.top===r.top&&e.left===r.left&&e.right===r.right&&e.bottom===r.bottom}L_.exports={getGraphDiv:DH,isPlotDiv:EH,removeElement:A_,addStyleRule:PH,addRelatedStyleRule:k_,deleteRelatedStyleRule:RH,setStyleOnHover:zH,getFullTransformMatrix:NH,getElementTransformMatrix:S_,getElementAndAncestors:C_,equalDomRects:IH}});var tf=K((Ole,q_)=>{"use strict";q_.exports={mode:{valType:"enumerated",dflt:"afterall",values:["immediate","next","afterall"]},direction:{valType:"enumerated",values:["forward","reverse"],dflt:"forward"},fromcurrent:{valType:"boolean",dflt:!1},frame:{duration:{valType:"number",min:0,dflt:500},redraw:{valType:"boolean",dflt:!0}},transition:{duration:{valType:"number",min:0,dflt:500,editType:"none"},easing:{valType:"enumerated",dflt:"cubic-in-out",values:["linear","quad","cubic","sin","exp","circle","elastic","back","bounce","linear-in","quad-in","cubic-in","sin-in","exp-in","circle-in","elastic-in","back-in","bounce-in","linear-out","quad-out","cubic-out","sin-out","exp-out","circle-out","elastic-out","back-out","bounce-out","linear-in-out","quad-in-out","cubic-in-out","sin-in-out","exp-in-out","circle-in-out","elastic-in-out","back-in-out","bounce-in-out"],editType:"none"},ordering:{valType:"enumerated",values:["layout first","traces first"],dflt:"layout first",editType:"none"}}}});var bi=K((Ble,F_)=>{"use strict";var E_=Gt().extendFlat,HH=cl(),P_={valType:"flaglist",extras:["none"],flags:["calc","clearAxisTypes","plot","style","markerSize","colorbars"]},R_={valType:"flaglist",extras:["none"],flags:["calc","plot","legend","ticks","axrange","layoutstyle","modebar","camera","arraydraw","colorbars"]},OH=P_.flags.slice().concat(["fullReplot"]),BH=R_.flags.slice().concat("layoutReplot");F_.exports={traces:P_,layout:R_,traceFlags:function(){return D_(OH)},layoutFlags:function(){return D_(BH)},update:function(e,r){var t=r.editType;if(t&&t!=="none")for(var a=t.split("+"),n=0;n{"use strict";dp.dash={valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid",editType:"style"};dp.pattern={shape:{valType:"enumerated",values:["","/","\\","x","-","|","+","."],dflt:"",arrayOk:!0,editType:"style"},path:{valType:"string",arrayOk:!0,editType:"style"},fillmode:{valType:"enumerated",values:["replace","overlay"],dflt:"replace",editType:"style"},bgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgcolor:{valType:"color",arrayOk:!0,editType:"style"},fgopacity:{valType:"number",editType:"style",min:0,max:1},size:{valType:"number",min:0,dflt:8,arrayOk:!0,editType:"style"},solidity:{valType:"number",min:0,max:1,dflt:.3,arrayOk:!0,editType:"style"},editType:"style"}});var pp=K((Ule,I_)=>{"use strict";I_.exports={FORMAT_LINK:"https://github.com/d3/d3-format/tree/v1.4.5#d3-format",DATE_FORMAT_LINK:"https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format"}});var co=K(ks=>{"use strict";var{DATE_FORMAT_LINK:YH,FORMAT_LINK:UH}=pp(),VH=["Variables that can't be found will be replaced with the specifier.",'For example, a template of "data: %{x}, %{y}" will result in a value of "data: 1, %{y}" if x is 1 and y is missing.',"Variables with an undefined value will be replaced with the fallback value."].join(" ");function GH({supportOther:e}={}){return["Variables are inserted using %{variable},",'for example "y: %{y}"'+(e?" 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}".`,UH,"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}".`,YH,"for details on the date formatting syntax.",VH].join(" ")}ks.templateFormatStringDescription=GH;ks.hovertemplateAttrs=({editType:e="none",arrayOk:r}={},t={})=>io({valType:"string",dflt:"",editType:e},r!==!1?{arrayOk:!0}:{});ks.texttemplateAttrs=({editType:e="calc",arrayOk:r}={},t={})=>io({valType:"string",dflt:"",editType:e},r!==!1?{arrayOk:!0}:{});ks.shapeTexttemplateAttrs=({editType:e="arraydraw",newshape:r}={},t={})=>({valType:"string",dflt:"",editType:e});ks.templatefallbackAttrs=({editType:e="none"}={})=>({valType:"any",dflt:"-",editType:e})});var Hv=K((Wle,V_)=>{"use strict";function dl(e,r){return r?r.d2l(e):e}function H_(e,r){return r?r.l2d(e):e}function WH(e){return e.x0}function XH(e){return e.x1}function ZH(e){return e.y0}function JH(e){return e.y1}function O_(e){return e.x0shift||0}function B_(e){return e.x1shift||0}function Y_(e){return e.y0shift||0}function U_(e){return e.y1shift||0}function Fv(e,r){return dl(e.x1,r)+B_(e)-dl(e.x0,r)-O_(e)}function Iv(e,r,t){return dl(e.y1,t)+U_(e)-dl(e.y0,t)-Y_(e)}function KH(e,r){return Math.abs(Fv(e,r))}function QH(e,r,t){return Math.abs(Iv(e,r,t))}function $H(e,r,t){return e.type!=="line"?void 0:Math.sqrt(Math.pow(Fv(e,r),2)+Math.pow(Iv(e,r,t),2))}function jH(e,r){return H_((dl(e.x1,r)+B_(e)+dl(e.x0,r)+O_(e))/2,r)}function eO(e,r,t){return H_((dl(e.y1,t)+U_(e)+dl(e.y0,t)+Y_(e))/2,t)}function rO(e,r,t){return e.type!=="line"?void 0:Iv(e,r,t)/Fv(e,r)}var tO=["x0","x1","y0","y1","dy","height","ycenter"],aO=["x0","x1","y0","y1","dx","width","xcenter"];V_.exports={x0:WH,x1:XH,y0:ZH,y1:JH,slope:rO,dx:Fv,dy:Iv,width:KH,height:QH,length:$H,xcenter:jH,ycenter:eO,simpleXVariables:tO,simpleYVariables:aO}});var X_=K((Xle,W_)=>{"use strict";var nO=bi().overrideAll,vo=Zn(),G_=ya(),iO=xi().dash,pl=Gt().extendFlat,{shapeTexttemplateAttrs:lO,templatefallbackAttrs:oO}=co(),sO=Hv();W_.exports=nO({newshape:{visible:pl({},vo.visible,{}),showlegend:{valType:"boolean",dflt:!1},legend:pl({},vo.legend,{}),legendgroup:pl({},vo.legendgroup,{}),legendgrouptitle:{text:pl({},vo.legendgrouptitle.text,{}),font:G_({})},legendrank:pl({},vo.legendrank,{}),legendwidth:pl({},vo.legendwidth,{}),line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:4},dash:pl({},iO,{dflt:"solid"})},fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},fillrule:{valType:"enumerated",values:["evenodd","nonzero"],dflt:"evenodd"},opacity:{valType:"number",min:0,max:1,dflt:1},layer:{valType:"enumerated",values:["below","above","between"],dflt:"above"},drawdirection:{valType:"enumerated",values:["ortho","horizontal","vertical","diagonal"],dflt:"diagonal"},name:pl({},vo.name,{}),label:{text:{valType:"string",dflt:""},texttemplate:lO({newshape:!0},{keys:Object.keys(sO)}),texttemplatefallback:oO({editType:"arraydraw"}),font:G_({}),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right","start","middle","end"]},textangle:{valType:"angle",dflt:"auto"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},padding:{valType:"number",dflt:3,min:0}}},activeshape:{fillcolor:{valType:"color",dflt:"rgb(255,0,255)",description:"Sets the color filling the active shape' interior."},opacity:{valType:"number",min:0,max:1,dflt:.5}}},"none","from-root")});var J_=K((Zle,Z_)=>{"use strict";var uO=xi().dash,fO=Gt().extendFlat;Z_.exports={newselection:{mode:{valType:"enumerated",values:["immediate","gradual"],dflt:"immediate",editType:"none"},line:{color:{valType:"color",editType:"none"},width:{valType:"number",min:1,dflt:1,editType:"none"},dash:fO({},uO,{dflt:"dot",editType:"none"}),editType:"none"},editType:"none"},activeselection:{fillcolor:{valType:"color",dflt:"rgba(0,0,0,0)",editType:"none"},opacity:{valType:"number",min:0,max:1,dflt:.5,editType:"none"},editType:"none"}}});var Ov=K((Jle,K_)=>{"use strict";K_.exports=function(e){var r=e.editType;return{t:{valType:"number",dflt:0,editType:r},r:{valType:"number",dflt:0,editType:r},b:{valType:"number",dflt:0,editType:r},l:{valType:"number",dflt:0,editType:r},editType:r}}});var Ss=K((Kle,e4)=>{"use strict";var mp=ya(),cO=tf(),Bv=gi(),Q_=X_(),$_=J_(),vO=Ov(),j_=Gt().extendFlat,Yv=mp({editType:"calc"});Yv.family.dflt='"Open Sans", verdana, arial, sans-serif';Yv.size.dflt=12;Yv.color.dflt=Bv.defaultLine;e4.exports={font:Yv,title:{text:{valType:"string",editType:"layoutstyle"},font:mp({editType:"layoutstyle"}),subtitle:{text:{valType:"string",editType:"layoutstyle"},font:mp({editType:"layoutstyle"}),editType:"layoutstyle"},xref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},yref:{valType:"enumerated",dflt:"container",values:["container","paper"],editType:"layoutstyle"},x:{valType:"number",min:0,max:1,dflt:.5,editType:"layoutstyle"},y:{valType:"number",min:0,max:1,dflt:"auto",editType:"layoutstyle"},xanchor:{valType:"enumerated",dflt:"auto",values:["auto","left","center","right"],editType:"layoutstyle"},yanchor:{valType:"enumerated",dflt:"auto",values:["auto","top","middle","bottom"],editType:"layoutstyle"},pad:j_(vO({editType:"layoutstyle"}),{}),automargin:{valType:"boolean",dflt:!1,editType:"plot"},editType:"layoutstyle"},uniformtext:{mode:{valType:"enumerated",values:[!1,"hide","show"],dflt:!1,editType:"plot"},minsize:{valType:"number",min:0,dflt:0,editType:"plot"},editType:"plot"},autosize:{valType:"boolean",dflt:!1,editType:"none"},width:{valType:"number",min:10,dflt:700,editType:"plot"},height:{valType:"number",min:10,dflt:450,editType:"plot"},minreducedwidth:{valType:"number",min:2,dflt:64,editType:"plot"},minreducedheight:{valType:"number",min:2,dflt:64,editType:"plot"},margin:{l:{valType:"number",min:0,dflt:80,editType:"plot"},r:{valType:"number",min:0,dflt:80,editType:"plot"},t:{valType:"number",min:0,dflt:100,editType:"plot"},b:{valType:"number",min:0,dflt:80,editType:"plot"},pad:{valType:"number",min:0,dflt:0,editType:"plot"},autoexpand:{valType:"boolean",dflt:!0,editType:"plot"},editType:"plot"},computed:{valType:"any",editType:"none"},paper_bgcolor:{valType:"color",dflt:Bv.background,editType:"plot"},plot_bgcolor:{valType:"color",dflt:Bv.background,editType:"layoutstyle"},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc"},separators:{valType:"string",editType:"plot"},hidesources:{valType:"boolean",dflt:!1,editType:"plot"},showlegend:{valType:"boolean",editType:"legend"},colorway:{valType:"colorlist",dflt:Bv.defaults,editType:"calc"},datarevision:{valType:"any",editType:"calc"},uirevision:{valType:"any",editType:"none"},editrevision:{valType:"any",editType:"none"},selectionrevision:{valType:"any",editType:"none"},template:{valType:"any",editType:"calc"},newshape:Q_.newshape,activeshape:Q_.activeshape,newselection:$_.newselection,activeselection:$_.activeselection,meta:{valType:"any",arrayOk:!0,editType:"plot"},transition:j_({},cO.transition,{editType:"none"})}});var r4=K(()=>{(function(){if(!document.getElementById("8431bff7cc77ea8693f8122c6e0981316b936a0a4930625e08b1512d134062bc")){var e=document.createElement("style");e.id="8431bff7cc77ea8693f8122c6e0981316b936a0a4930625e08b1512d134062bc",e.textContent=`.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}.maplibregl-ctrl button:not(:disabled):hover{background-color:rgb(0 0 0/5%)}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:hsla(0,0%,100%,.5);margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:hsla(0,0%,100%,.5);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:rgb(0 0 0/5%)}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:hsla(0,0%,100%,.75);border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:rgb(0 0 0/5%)}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px rgba(0,0,0,.35);box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:rgba(0,0,0,.4);color:#fff;display:flex;font-size:1.4em;inset:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(width {"use strict";var Cs=fo(),t4=zv(),a4=cp(),hO=cl(),dO=rf().addStyleRule,n4=Gt(),pO=Zn(),mO=Ss(),yO=n4.extendFlat,yp=n4.extendDeepAll;zr.modules={};zr.allCategories={};zr.allTypes=[];zr.subplotsRegistry={};zr.componentsRegistry={};zr.layoutArrayContainers=[];zr.layoutArrayRegexes=[];zr.traceLayoutAttributes={};zr.localeRegistry={};zr.apiMethodRegistry={};zr.collectableSubplotTypes=null;zr.register=function(r){if(zr.collectableSubplotTypes=null,r)r&&!Array.isArray(r)&&(r=[r]);else throw new Error("No argument passed to Plotly.register.");for(var t=0;t{"use strict";var TO=bs().timeFormat,p4=Or(),gp=fo(),yl=_s().mod,Ds=Vt(),Tn=Ds.BADNUM,ja=Ds.ONEDAY,af=Ds.ONEHOUR,ml=Ds.ONEMIN,qs=Ds.ONESEC,nf=Ds.EPOCHJD,Ui=br(),u4=bs().utcFormat,MO=/^\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,AO=/^\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,f4=new Date().getFullYear()-70;function Vi(e){return e&&Ui.componentsRegistry.calendars&&typeof e=="string"&&e!=="gregorian"}qt.dateTick0=function(e,r){var t=kO(e,!!r);if(r=Vv&&e=Vv&&e=Vv+ja&&e0&&(i=i.replace(/0+$/,"").replace(/[\.]$/,"")),a+=":"+i}return a}qt.formatDate=function(e,r,t,a,n,i){if(n=Vi(n)&&n,!r)if(t==="y")r=i.year;else if(t==="m")r=i.month;else if(t==="d")r=i.dayMonth+`
`+i.year;else return DO(e,t)+`
`+h4(i.dayMonthYear,e,a,n);return h4(r,e,a,n)};var d4=3*ja;qt.incrementMonth=function(e,r,t){t=Vi(t)&&t;var a=yl(e,ja);if(e=Math.round(e-a),t)try{var n=Math.round(e/ja)+nf,i=Ui.getComponentMethod("calendars","getCal")(t),l=i.fromJD(n);return r%12?i.add(l,r,"m"):i.add(l,r/12,"y"),(l.toJD()-nf)*ja+a}catch(s){gp.error("invalid ms "+e+" in calendar "+t)}var o=new Date(e+d4);return o.setUTCMonth(o.getUTCMonth()+r)+a-d4};qt.findExactDates=function(e,r){for(var t=0,a=0,n=0,i=0,l,o,s=Vi(r)&&Ui.getComponentMethod("calendars","getCal")(r),u=0;u{"use strict";g4.exports=function(r){return r}});var _p=K(Gi=>{"use strict";var EO=Or(),PO=fo(),RO=bp(),zO=Vt().BADNUM,xp=1e-9;Gi.findBin=function(e,r,t){if(EO(r.start))return t?Math.ceil((e-r.start)/r.size-xp)-1:Math.floor((e-r.start)/r.size+xp);var a=0,n=r.length,i=0,l=n>1?(r[n-1]-r[0])/(n-1):1,o,s;for(l>=0?s=t?NO:FO:s=t?HO:IO,e+=l*xp*(t?-1:1)*(l>=0?1:-1);a90&&PO.log("Long binary search..."),a-1};function NO(e,r){return er}function HO(e,r){return e>=r}Gi.sorterAsc=function(e,r){return e-r};Gi.sorterDes=function(e,r){return r-e};Gi.distinctVals=function(e){var r=e.slice();r.sort(Gi.sorterAsc);var t;for(t=r.length-1;t>-1&&r[t]===zO;t--);for(var a=r[t]-r[0]||1,n=a/(t||1)/1e4,i=[],l,o=0;on&&(a=Math.min(a,u),i.push(s),l=s)}return{vals:i,minDiff:a}};Gi.roundUp=function(e,r,t){for(var a=0,n=r.length-1,i,l=0,o=t?0:1,s=t?1:0,u=t?Math.ceil:Math.floor;a0&&(a=1),t&&a)return e.sort(r)}return a?e:e.reverse()};Gi.findIndexOfMin=function(e,r){r=r||RO;for(var t=1/0,a,n=0;n{"use strict";b4.exports=function(r){return Object.keys(r).sort()}});var x4=K(Dt=>{"use strict";var lf=Or(),OO=Ka().isArrayOrTypedArray;Dt.aggNums=function(e,r,t,a){var n,i;if((!a||a>t.length)&&(a=t.length),lf(r)||(r=!1),OO(t[0])){for(i=new Array(a),n=0;ne.length-1)return e[e.length-1];var t=r%1;return t*e[Math.ceil(r)]+(1-t)*e[Math.floor(r)]}});var A4=K((ioe,M4)=>{"use strict";var _4=_s(),Tp=_4.mod,BO=_4.modHalf,of=Math.PI,gl=2*of;function YO(e){return e/180*of}function UO(e){return e/of*180}function Mp(e){return Math.abs(e[1]-e[0])>gl-1e-14}function w4(e,r){return BO(r-e,gl)}function VO(e,r){return Math.abs(w4(e,r))}function T4(e,r){if(Mp(r))return!0;var t,a;r[0]a&&(a+=gl);var n=Tp(e,gl),i=n+gl;return n>=t&&n=t&&i=n&&e{"use strict";ho.isLeftAnchor=function(r){return r.xanchor==="left"||r.xanchor==="auto"&&r.x1/3&&r.x=2/3};ho.isTopAnchor=function(r){return r.yanchor==="top"||r.yanchor==="auto"&&r.y>=2/3};ho.isMiddleAnchor=function(r){return r.yanchor==="middle"||r.yanchor==="auto"&&r.y>1/3&&r.y{"use strict";var kp=_s().mod;po.segmentsIntersect=C4;function C4(e,r,t,a,n,i,l,o){var s=t-e,u=n-e,f=l-n,v=a-r,h=i-r,d=o-i,m=s*d-f*v;if(m===0)return null;var y=(u*d-f*h)/m,g=(u*v-s*h)/m;return g1||y1?null:{x:e+s*y,y:r+v*y}}po.segmentDistance=function(r,t,a,n,i,l,o,s){if(C4(r,t,a,n,i,l,o,s))return 0;var u=a-r,f=n-t,v=o-i,h=s-l,d=u*u+f*f,m=v*v+h*h,y=Math.min(Wv(u,f,d,i-r,l-t),Wv(u,f,d,o-r,s-t),Wv(v,h,m,r-i,t-l),Wv(v,h,m,a-i,n-l));return Math.sqrt(y)};function Wv(e,r,t,a,n){var i=a*e+n*r;if(it){var l=a-e,o=n-r;return l*l+o*o}else{var s=a*r-n*e;return s*s/t}}var Xv,Sp,S4;po.getTextLocation=function(r,t,a,n){if((r!==Sp||n!==S4)&&(Xv={},Sp=r,S4=n),Xv[a])return Xv[a];var i=r.getPointAtLength(kp(a-n/2,t)),l=r.getPointAtLength(kp(a+n/2,t)),o=Math.atan((l.y-i.y)/(l.x-i.x)),s=r.getPointAtLength(kp(a,t)),u=(s.x*4+i.x+l.x)/6,f=(s.y*4+i.y+l.y)/6,v={x:u,y:f,theta:o};return Xv[a]=v,v};po.clearLocationCache=function(){Sp=null};po.getVisibleSegment=function(r,t,a){var n=t.left,i=t.right,l=t.top,o=t.bottom,s=0,u=r.getTotalLength(),f=u,v,h;function d(y){var g=r.getPointAtLength(y);y===0?v=g:y===u&&(h=g);var _=g.xi?g.x-i:0,T=g.yo?g.y-o:0;return Math.sqrt(_*_+T*T)}for(var m=d(s);m;){if(s+=m+a,s>f)return;m=d(s)}for(m=d(f);m;){if(f-=m+a,s>f)return;m=d(f)}return{min:s,max:f,len:f-s,total:u,isClosed:s===0&&f===u&&Math.abs(v.x-h.x)<.1 i="n.pathLength||r.getTotalLength(),l=n.tolerance||.001,o=n.iterationLimit||30,s=r.getPointAtLength(0)[a]">r.getPointAtLength(i)[a]?-1:1,u=0,f=0,v=i,h,d,m;u0?v=h:f=h,u++}return d}});var Zv=K(sf=>{"use strict";var Wi={};sf.throttle=function(r,t,a){var n=Wi[r],i=Date.now();if(!n){for(var l in Wi)Wi[l].tsn.ts+t){o();return}n.timer=setTimeout(function(){o(),n.timer=null},t)};sf.done=function(e){var r=Wi[e];return!r||!r.timer?Promise.resolve():new Promise(function(t){var a=r.onDone;r.onDone=function(){a&&a(),t(),r.onDone=null}})};sf.clear=function(e){if(e)q4(Wi[e]),delete Wi[e];else for(var r in Wi)sf.clear(r)};function q4(e){e&&e.timer!==null&&(clearTimeout(e.timer),e.timer=null)}});var E4=K((uoe,D4)=>{"use strict";D4.exports=function(r){r._responsiveChartHandler&&(window.removeEventListener("resize",r._responsiveChartHandler),delete r._responsiveChartHandler)}});var P4=K((foe,Jv)=>{"use strict";Jv.exports=Cp;Jv.exports.isMobile=Cp;Jv.exports.default=Cp;var JO=/(android|bb\d+|meego).+mobile|armv7l|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|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,KO=/CrOS/,QO=/android|ipad|playbook|silk/i;function Cp(e){e||(e={});let r=e.ua;if(!r&&typeof navigator!="undefined"&&(r=navigator.userAgent),r&&r.headers&&typeof r.headers["user-agent"]=="string"&&(r=r.headers["user-agent"]),typeof r!="string")return!1;let t=JO.test(r)&&!KO.test(r)||!!e.tablet&&QO.test(r);return!t&&e.tablet&&e.featureDetect&&navigator&&navigator.maxTouchPoints>1&&r.indexOf("Macintosh")!==-1&&r.indexOf("Safari")!==-1&&(t=!0),t}});var z4=K((coe,R4)=>{"use strict";var $O=Or(),jO=P4();R4.exports=function(r){var t;if(r&&r.hasOwnProperty("userAgent")?t=r.userAgent:t=eB(),typeof t!="string")return!0;var a=jO({ua:{headers:{"user-agent":t}},tablet:!0,featureDetect:!1});if(!a)for(var n=t.split(" "),i=1;i-1;o--){var s=n[o];if(s.slice(0,8)==="Version/"){var u=s.slice(8).split(".")[0];if($O(u)&&(u=+u),u>=13)return!0}}}return a};function eB(){var e;return typeof navigator!="undefined"&&(e=navigator.userAgent),e&&e.headers&&typeof e.headers["user-agent"]=="string"&&(e=e.headers["user-agent"]),e}});var F4=K((voe,N4)=>{"use strict";var rB=Hr();N4.exports=function(r,t,a){var n=r.selectAll("g."+a.replace(/\s/g,".")).data(t,function(l){return l[0].trace.uid});n.exit().remove(),n.enter().append("g").attr("class",a),n.order();var i=r.classed("rangeplot")?"nodeRangePlot3":"node3";return n.each(function(l){l[0][i]=rB.select(this)}),n}});var H4=K((hoe,I4)=>{"use strict";var tB=br();I4.exports=function(r,t){for(var a=r._context.locale,n=0;n{"use strict";O4.exports=function(r){for(var t={},a=[],n=0,i=0;i{"use strict";Y4.exports=function(r){for(var t=iB(r)?nB:aB,a=[],n=0;n{"use strict";V4.exports=function(r,t){if(!t)return r;var a=1/Math.abs(t),n=a>1?(a*r+a*t)/a:r+t,i=String(n).length;if(i>16){var l=String(t).length,o=String(r).length;if(i>=o+l){var s=parseFloat(n).toPrecision(12);s.indexOf("e+")===-1&&(n=+s)}}return n}});var X4=K((yoe,W4)=>{"use strict";var lB=Or(),oB=Vt().BADNUM,sB=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;W4.exports=function(r){return typeof r=="string"&&(r=r.replace(sB,"")),lB(r)?Number(r):oB}});var Oe=K((goe,l6)=>{"use strict";var uf=Hr(),uB=bs().utcFormat,fB=Q1().format,j4=Or(),e6=Vt(),r6=e6.FP_SAFE,cB=-r6,Z4=e6.BADNUM,fe=l6.exports={};fe.adjustFormat=function(r){return!r||/^\d[.]\df/.test(r)||/[.]\d%/.test(r)?r:r==="0.f"?"~f":/^\d%/.test(r)?"~%":/^\ds/.test(r)?"~s":!/^[~,.0$]/.test(r)&&/[&fps]/.test(r)?"~"+r:r};var J4={};fe.warnBadFormat=function(e){var r=String(e);J4[r]||(J4[r]=1,fe.warn('encountered bad format: "'+r+'"'))};fe.noFormat=function(e){return String(e)};fe.numberFormat=function(e){var r;try{r=fB(fe.adjustFormat(e))}catch(t){return fe.warnBadFormat(e),fe.noFormat}return r};fe.nestedProperty=kv();fe.keyedContainer=Ob();fe.relativeAttr=Yb();fe.isPlainObject=cl();fe.toLogRange=Cv();fe.relinkPrivateKeys=Wb();var bl=Ka();fe.isArrayBuffer=bl.isArrayBuffer;fe.isTypedArray=bl.isTypedArray;fe.isArrayOrTypedArray=bl.isArrayOrTypedArray;fe.isArray1D=bl.isArray1D;fe.ensureArray=bl.ensureArray;fe.concat=bl.concat;fe.maxRowLength=bl.maxRowLength;fe.minRowLength=bl.minRowLength;var t6=_s();fe.mod=t6.mod;fe.modHalf=t6.modHalf;var xl=cx();fe.valObjectMeta=xl.valObjectMeta;fe.coerce=xl.coerce;fe.coerce2=xl.coerce2;fe.coerceFont=xl.coerceFont;fe.coercePattern=xl.coercePattern;fe.coerceHoverinfo=xl.coerceHoverinfo;fe.coerceSelectionMarkerOpacity=xl.coerceSelectionMarkerOpacity;fe.validate=xl.validate;var sn=y4();fe.dateTime2ms=sn.dateTime2ms;fe.isDateTime=sn.isDateTime;fe.ms2DateTime=sn.ms2DateTime;fe.ms2DateTimeLocal=sn.ms2DateTimeLocal;fe.cleanDate=sn.cleanDate;fe.isJSDate=sn.isJSDate;fe.formatDate=sn.formatDate;fe.incrementMonth=sn.incrementMonth;fe.dateTick0=sn.dateTick0;fe.dfltRange=sn.dfltRange;fe.findExactDates=sn.findExactDates;fe.MIN_MS=sn.MIN_MS;fe.MAX_MS=sn.MAX_MS;var mo=_p();fe.findBin=mo.findBin;fe.sorterAsc=mo.sorterAsc;fe.sorterDes=mo.sorterDes;fe.distinctVals=mo.distinctVals;fe.roundUp=mo.roundUp;fe.sort=mo.sort;fe.findIndexOfMin=mo.findIndexOfMin;fe.sortObjectKeys=wp();var Xi=x4();fe.aggNums=Xi.aggNums;fe.len=Xi.len;fe.mean=Xi.mean;fe.geometricMean=Xi.geometricMean;fe.median=Xi.median;fe.midRange=Xi.midRange;fe.variance=Xi.variance;fe.stdev=Xi.stdev;fe.interp=Xi.interp;var Kn=Nv();fe.init2dArray=Kn.init2dArray;fe.transposeRagged=Kn.transposeRagged;fe.dot=Kn.dot;fe.translationMatrix=Kn.translationMatrix;fe.rotationMatrix=Kn.rotationMatrix;fe.rotationXYMatrix=Kn.rotationXYMatrix;fe.apply3DTransform=Kn.apply3DTransform;fe.apply2DTransform=Kn.apply2DTransform;fe.apply2DTransform2=Kn.apply2DTransform2;fe.convertCssMatrix=Kn.convertCssMatrix;fe.inverseTransformMatrix=Kn.inverseTransformMatrix;var _i=A4();fe.deg2rad=_i.deg2rad;fe.rad2deg=_i.rad2deg;fe.angleDelta=_i.angleDelta;fe.angleDist=_i.angleDist;fe.isFullCircle=_i.isFullCircle;fe.isAngleInsideSector=_i.isAngleInsideSector;fe.isPtInsideSector=_i.isPtInsideSector;fe.pathArc=_i.pathArc;fe.pathSector=_i.pathSector;fe.pathAnnulus=_i.pathAnnulus;var Ps=k4();fe.isLeftAnchor=Ps.isLeftAnchor;fe.isCenterAnchor=Ps.isCenterAnchor;fe.isRightAnchor=Ps.isRightAnchor;fe.isTopAnchor=Ps.isTopAnchor;fe.isMiddleAnchor=Ps.isMiddleAnchor;fe.isBottomAnchor=Ps.isBottomAnchor;var Rs=L4();fe.segmentsIntersect=Rs.segmentsIntersect;fe.segmentDistance=Rs.segmentDistance;fe.getTextLocation=Rs.getTextLocation;fe.clearLocationCache=Rs.clearLocationCache;fe.getVisibleSegment=Rs.getVisibleSegment;fe.findPointOnPath=Rs.findPointOnPath;var $v=Gt();fe.extendFlat=$v.extendFlat;fe.extendDeep=$v.extendDeep;fe.extendDeepAll=$v.extendDeepAll;fe.extendDeepNoArrays=$v.extendDeepNoArrays;var Lp=fo();fe.log=Lp.log;fe.warn=Lp.warn;fe.error=Lp.error;var vB=Ts();fe.counterRegex=vB.counter;var qp=Zv();fe.throttle=qp.throttle;fe.throttleDone=qp.done;fe.clearThrottle=qp.clear;var Qn=rf();fe.getGraphDiv=Qn.getGraphDiv;fe.isPlotDiv=Qn.isPlotDiv;fe.removeElement=Qn.removeElement;fe.addStyleRule=Qn.addStyleRule;fe.addRelatedStyleRule=Qn.addRelatedStyleRule;fe.deleteRelatedStyleRule=Qn.deleteRelatedStyleRule;fe.setStyleOnHover=Qn.setStyleOnHover;fe.getFullTransformMatrix=Qn.getFullTransformMatrix;fe.getElementTransformMatrix=Qn.getElementTransformMatrix;fe.getElementAndAncestors=Qn.getElementAndAncestors;fe.equalDomRects=Qn.equalDomRects;fe.clearResponsive=E4();fe.preserveDrawingBuffer=z4();fe.makeTraceGroups=F4();fe._=H4();fe.notifier=sp();fe.filterUnique=B4();fe.filterVisible=U4();fe.pushUnique=cp();fe.increment=G4();fe.cleanNumber=X4();fe.ensureNumber=function(r){return j4(r)?(r=Number(r),r>r6||r=r?!1:j4(e)&&e>=0&&e%1===0};fe.noop=zv();fe.identity=bp();fe.repeat=function(e,r){for(var t=new Array(r),a=0;at?Math.max(t,Math.min(r,e)):Math.max(r,Math.min(t,e))};fe.bBoxIntersect=function(e,r,t){return t=t||0,e.left=Math.pow(2,t)?n>10?(fe.warn("randstr failed uniqueness"),l):e(r,t,a,(n||0)+1):l};fe.OptionControl=function(e,r){e||(e={}),r||(r="opt");var t={};return t.optionList=[],t._newoption=function(a){a[r]=e,t[a.name]=a,t.optionList.push(a)},t["_"+r]=e,t};fe.smooth=function(e,r){if(r=Math.round(r)||0,r=a&&(u-=a*Math.floor(u/a)),u=t&&(u=a-1-u),f+=e[u]*i[s];l[o]=f}return l};fe.syncOrAsync=function(e,r,t){var a,n;function i(){return fe.syncOrAsync(e,r,t)}for(;e.length;)if(n=e.splice(0,1)[0],a=n(r),a&&a.then)return a.then(i);return t&&t(r)};fe.stripTrailingSlash=function(e){return e.slice(-1)==="/"?e.slice(0,-1):e};fe.noneOrAll=function(e,r,t){if(e){var a=!1,n=!0,i,l;for(i=0;i0?n:0})};fe.fillArray=function(e,r,t,a){if(a=a||fe.identity,fe.isArrayOrTypedArray(e))for(var n=0;npB.test(window.navigator.userAgent);var mB=/Firefox\/(\d+)\.\d+/;fe.getFirefoxVersion=function(){var e=mB.exec(window.navigator.userAgent);if(e&&e.length===2){var r=parseInt(e[1]);if(!isNaN(r))return r}return null};fe.isD3Selection=function(e){return e instanceof uf.selection};fe.ensureSingle=function(e,r,t,a){var n=e.select(r+(t?"."+t:""));if(n.size())return n;var i=e.append(r);return t&&i.classed(t,!0),a&&i.call(a),i};fe.ensureSingleById=function(e,r,t,a){var n=e.select(r+"#"+t);if(n.size())return n;var i=e.append(r).attr("id",t);return a&&i.call(a),i};fe.objectFromPath=function(e,r){for(var t=e.split("."),a,n=a={},i=0;i1?n+l[1]:"";if(i&&(l.length>1||o.length>4||t))for(;a.test(o);)o=o.replace(a,"$1"+i+"$2");return o+s};fe.TEMPLATE_STRING_REGEX=/%{([^\s%{}:]*)([:|\|][^}]*)?}/g;var i6=/^\w*$/;fe.templateString=function(e,r){var t={};return e.replace(fe.TEMPLATE_STRING_REGEX,function(a,n){var i;return i6.test(n)?i=r[n]:(t[n]=t[n]||fe.nestedProperty(r,n).get,i=t[n](!0)),i!==void 0?i:""})};var bB={max:10,count:0,name:"hovertemplate"};fe.hovertemplateString=e=>Dp(yv(io({},e),{opts:bB}));var xB={max:10,count:0,name:"texttemplate"};fe.texttemplateString=e=>Dp(yv(io({},e),{opts:xB}));var _B=/^(\S+)([\*\/])(-?\d+(\.\d+)?)$/;function wB(e){var r=e.match(_B);return r?{key:r[1],op:r[2],number:Number(r[3])}:{key:e,op:null,number:null}}var TB={max:10,count:0,name:"texttemplate",parseMultDiv:!0};fe.texttemplateStringForShapes=e=>Dp(yv(io({},e),{opts:TB}));var K4=/^[:|\|]/;function Dp({data:e=[],locale:r,fallback:t,labels:a={},opts:n,template:i}){return i.replace(fe.TEMPLATE_STRING_REGEX,(l,o,s)=>{let u=["xother","yother"].includes(o),f=["_xother","_yother"].includes(o),v=["_xother_","_yother_"].includes(o),h=["xother_","yother_"].includes(o),d=u||f||h||v;(f||v)&&(o=o.substring(1)),(h||v)&&(o=o.substring(0,o.length-1));let m=null,y=null;if(n.parseMultDiv){var g=wB(o);o=g.key,m=g.op,y=g.number}let _;if(d){if(a[o]===void 0)return"";_=a[o]}else for(let M of e)if(M){if(M.hasOwnProperty(o)){_=M[o];break}if(i6.test(o)||(_=fe.nestedProperty(M,o).get(!0)),_!==void 0)break}if(_===void 0){let{count:M,max:C,name:k}=n,q=t===!1?l:t;return M=Qv&&l=Qv&&o1&&(u=1):u=0,fe.strTranslate(n-u*(t+l),i-u*(a+o))+fe.strScale(u)+(s?"rotate("+s+(r?"":" "+t+" "+a)+")":"")};fe.setTransormAndDisplay=function(e,r){e.attr("transform",fe.getTextTransform(r)),e.style("display",r.scale?null:"none")};fe.ensureUniformFontSize=function(e,r){var t=fe.extendFlat({},r);return t.size=Math.max(r.size,e._fullLayout.uniformtext.minsize||0),t};fe.join2=function(e,r,t){var a=e.length;return a>1?e.slice(0,-1).join(r)+t+e[a-1]:e.join(r)};fe.bigFont=function(e){return Math.round(1.2*e)};var $4=fe.getFirefoxVersion(),MB=$4!==null&&$4{"use strict";var AB=Oe(),o6={"X,X div":'direction:ltr;font-family:"Open Sans",verdana,arial,sans-serif;margin:0;padding:0;border:0;',"X input,X button":'font-family:"Open Sans",verdana,arial,sans-serif;',"X input:focus,X button:focus":"outline:none;","X a":"text-decoration:none;","X a:hover":"text-decoration:none;","X .crisp":"shape-rendering:crispEdges;","X .user-select-none":"-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;","X svg a":"fill:#447adb;","X svg a:hover":"fill:#3c6dc5;","X .main-svg":"position:absolute;top:0;left:0;pointer-events:none;","X .main-svg .draglayer":"pointer-events:all;","X .cursor-default":"cursor:default;","X .cursor-pointer":"cursor:pointer;","X .cursor-crosshair":"cursor:crosshair;","X .cursor-move":"cursor:move;","X .cursor-col-resize":"cursor:col-resize;","X .cursor-row-resize":"cursor:row-resize;","X .cursor-ns-resize":"cursor:ns-resize;","X .cursor-ew-resize":"cursor:ew-resize;","X .cursor-sw-resize":"cursor:sw-resize;","X .cursor-s-resize":"cursor:s-resize;","X .cursor-se-resize":"cursor:se-resize;","X .cursor-w-resize":"cursor:w-resize;","X .cursor-e-resize":"cursor:e-resize;","X .cursor-nw-resize":"cursor:nw-resize;","X .cursor-n-resize":"cursor:n-resize;","X .cursor-ne-resize":"cursor:ne-resize;","X .cursor-grab":"cursor:-webkit-grab;cursor:grab;","X .modebar":"position:absolute;top:2px;right:2px;","X .ease-bg":"-webkit-transition:background-color .3s ease 0s;-moz-transition:background-color .3s ease 0s;-ms-transition:background-color .3s ease 0s;-o-transition:background-color .3s ease 0s;transition:background-color .3s ease 0s;","X .modebar--hover>: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:focus-within .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-group a":"display:grid;place-content:center;","X .modebar-btn":"position:relative;font-size:16px;padding:3px 4px;height:22px;cursor:pointer;line-height:normal;box-sizing:border-box;border:none;background:rgba(0,0,0,0);","X .modebar-btn svg":"position:relative;","X .modebar-btn:focus-visible":"outline:1px solid #000;outline-offset:1px;border-radius:3px;","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:rgba(0,0,0,0);border:6px solid rgba(0,0,0,0);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 rgba(0,0,0,0);border-left-color:#69738a;margin-top:8px;margin-right:-30px;",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(Ep in o6)s6=Ep.replace(/^,/," ,").replace(/X/g,".js-plotly-plot .plotly").replace(/Y/g,".plotly-notifier"),AB.addStyleRule(s6,o6[Ep]);var s6,Ep});var Pp=K((woe,f6)=>{f6.exports=!0});var zp=K((Toe,c6)=>{"use strict";var kB=Pp(),Rp;typeof window.matchMedia=="function"?Rp=!window.matchMedia("(hover: none)").matches:Rp=kB;c6.exports=Rp});var r0=K((Moe,Np)=>{"use strict";var zs=typeof Reflect=="object"?Reflect:null,v6=zs&&typeof zs.apply=="function"?zs.apply:function(r,t,a){return Function.prototype.apply.call(r,t,a)},jv;zs&&typeof zs.ownKeys=="function"?jv=zs.ownKeys:Object.getOwnPropertySymbols?jv=function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:jv=function(r){return Object.getOwnPropertyNames(r)};function SB(e){console&&console.warn&&console.warn(e)}var d6=Number.isNaN||function(r){return r!==r};function ht(){ht.init.call(this)}Np.exports=ht;Np.exports.once=DB;ht.EventEmitter=ht;ht.prototype._events=void 0;ht.prototype._eventsCount=0;ht.prototype._maxListeners=void 0;var h6=10;function e0(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}Object.defineProperty(ht,"defaultMaxListeners",{enumerable:!0,get:function(){return h6},set:function(e){if(typeof e!="number"||e0&&(l=t[0]),l instanceof Error)throw l;var o=new Error("Unhandled error."+(l?" ("+l.message+")":""));throw o.context=l,o}var s=i[r];if(s===void 0)return!1;if(typeof s=="function")v6(s,this,t);else for(var u=s.length,f=x6(s,u),a=0;a0&&l.length>n&&!l.warned){l.warned=!0;var o=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(r)+" listeners added. Use emitter.setMaxListeners() to increase limit");o.name="MaxListenersExceededWarning",o.emitter=e,o.type=r,o.count=l.length,SB(o)}return e}ht.prototype.addListener=function(r,t){return m6(this,r,t,!1)};ht.prototype.on=ht.prototype.addListener;ht.prototype.prependListener=function(r,t){return m6(this,r,t,!0)};function CB(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function y6(e,r,t){var a={fired:!1,wrapFn:void 0,target:e,type:r,listener:t},n=CB.bind(a);return n.listener=t,a.wrapFn=n,n}ht.prototype.once=function(r,t){return e0(t),this.on(r,y6(this,r,t)),this};ht.prototype.prependOnceListener=function(r,t){return e0(t),this.prependListener(r,y6(this,r,t)),this};ht.prototype.removeListener=function(r,t){var a,n,i,l,o;if(e0(t),n=this._events,n===void 0)return this;if(a=n[r],a===void 0)return this;if(a===t||a.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete n[r],n.removeListener&&this.emit("removeListener",r,a.listener||t));else if(typeof a!="function"){for(i=-1,l=a.length-1;l>=0;l--)if(a[l]===t||a[l].listener===t){o=a[l].listener,i=l;break}if(i=0;n--)this.removeListener(r,t[n]);return this};function g6(e,r,t){var a=e._events;if(a===void 0)return[];var n=a[r];return n===void 0?[]:typeof n=="function"?t?[n.listener||n]:[n]:t?qB(n):x6(n,n.length)}ht.prototype.listeners=function(r){return g6(this,r,!0)};ht.prototype.rawListeners=function(r){return g6(this,r,!1)};ht.listenerCount=function(e,r){return typeof e.listenerCount=="function"?e.listenerCount(r):b6.call(e,r)};ht.prototype.listenerCount=b6;function b6(e){var r=this._events;if(r!==void 0){var t=r[e];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}ht.prototype.eventNames=function(){return this._eventsCount>0?jv(this._events):[]};function x6(e,r){for(var t=new Array(r),a=0;a{"use strict";var Fp=r0().EventEmitter,PB={init:function(e){if(e._ev instanceof Fp)return e;var r=new Fp,t=new Fp;return e._ev=r,e._internalEv=t,e.on=r.on.bind(r),e.once=r.once.bind(r),e.removeListener=r.removeListener.bind(r),e.removeAllListeners=r.removeAllListeners.bind(r),e._internalOn=t.on.bind(t),e._internalOnce=t.once.bind(t),e._removeInternalListener=t.removeListener.bind(t),e._removeAllInternalListeners=t.removeAllListeners.bind(t),e.emit=function(a,n){r.emit(a,n),t.emit(a,n)},typeof e.addEventListener=="function"&&e.addEventListener("wheel",()=>{},{passive:!0}),e},triggerHandler:function(e,r,t){var a,n=e._ev;if(!n)return;var i=n._events[r];if(!i)return;function l(s){if(s.listener){if(n.removeListener(r,s.listener),!s.fired)return s.fired=!0,s.listener.apply(n,[t])}else return s.apply(n,[t])}i=Array.isArray(i)?i:[i];var o;for(o=0;o{"use strict";var T6=Oe(),RB=uo().dfltConfig;function zB(e,r){for(var t=[],a,n=0;nRB.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--)};Zi.startSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0};Zi.stopSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1};Zi.undo=function(r){var t,a;if(!(r.undoQueue===void 0||isNaN(r.undoQueue.index)||r.undoQueue.index=r.undoQueue.queue.length)){for(t=r.undoQueue.queue[r.undoQueue.index],r.undoQueue.inSequence=!0,a=0;a{"use strict";k6.exports={_isLinkedToArray:"frames_entry",group:{valType:"string"},name:{valType:"string"},traces:{valType:"any"},baseframe:{valType:"string"},data:{valType:"any"},layout:{valType:"any"}}});var Is=K(Wt=>{"use strict";var Mn=br(),cf=Oe(),a0=Zn(),Hp=Ss(),NB=Ip(),FB=tf(),IB=uo().configAttributes,S6=bi(),$n=cf.extendDeepAll,Ns=cf.isPlainObject,HB=cf.isArrayOrTypedArray,n0=cf.nestedProperty,OB=cf.valObjectMeta,Op="_isSubplotObj",i0="_isLinkedToArray",BB="_arrayAttrRegexps",L6="_deprecated",Bp=[Op,i0,BB,L6];Wt.IS_SUBPLOT_OBJ=Op;Wt.IS_LINKED_TO_ARRAY=i0;Wt.DEPRECATED=L6;Wt.UNDERSCORE_ATTRS=Bp;Wt.get=function(){var e={};return Mn.allTypes.forEach(function(r){e[r]=UB(r)}),{defs:{valObjects:OB,metaKeys:Bp.concat(["description","role","editType","impliedEdits"]),editType:{traces:S6.traces,layout:S6.layout},impliedEdits:{}},traces:e,layout:VB(),frames:GB(),animation:Fs(FB),config:Fs(IB)}};Wt.crawl=function(e,r,t,a){var n=t||0;a=a||"",Object.keys(e).forEach(function(i){var l=e[i];if(Bp.indexOf(i)===-1){var o=(a?a+".":"")+i;r(l,i,e,n,o),!Wt.isValObject(l)&&Ns(l)&&i!=="impliedEdits"&&Wt.crawl(l,r,n+1,o)}})};Wt.isValObject=function(e){return e&&e.valType!==void 0};Wt.findArrayAttributes=function(e){var r=[],t=[],a=[],n,i;function l(s,u,f,v){t=t.slice(0,v).concat([u]),a=a.slice(0,v).concat([s&&s._isLinkedToArray]);var h=s&&(s.valType==="data_array"||s.arrayOk===!0)&&!(t[v-1]==="colorbar"&&(u==="ticktext"||u==="tickvals"));h&&o(n,0,"")}function o(s,u,f){var v=s[t[u]],h=f+t[u];if(u===t.length-1)HB(v)&&r.push(i+h);else if(a[u]){if(Array.isArray(v))for(var d=0;d=i.length)return!1;if(e.dimensions===2){if(t++,r.length===t)return e;var l=r[t];if(!t0(l))return!1;e=i[n][l]}else e=i[n]}else e=i}}return e}function t0(e){return e===Math.round(e)&&e>=0}function UB(e){var r,t;r=Mn.modules[e]._module,t=r.basePlotModule;var a={};a.type=null;var n=$n({},a0),i=$n({},r.attributes);Wt.crawl(i,function(s,u,f,v,h){n0(n,h).set(void 0),s===void 0&&n0(i,h).set(void 0)}),$n(a,n),Mn.traceIs(e,"noOpacity")&&delete a.opacity,Mn.traceIs(e,"showLegend")||(delete a.showlegend,delete a.legendgroup),Mn.traceIs(e,"noHover")&&(delete a.hoverinfo,delete a.hoverlabel),r.selectPoints||delete a.selectedpoints,$n(a,i),t.attributes&&$n(a,t.attributes),a.type=e;var l={meta:r.meta||{},categories:r.categories||{},animatable:!!r.animatable,type:e,attributes:Fs(a)};if(r.layoutAttributes){var o={};$n(o,r.layoutAttributes),l.layoutAttributes=Fs(o)}return r.animatable||Wt.crawl(l,function(s){Wt.isValObject(s)&&"anim"in s&&delete s.anim}),l}function VB(){var e={},r,t;$n(e,Hp);for(r in Mn.subplotsRegistry)if(t=Mn.subplotsRegistry[r],!!t.layoutAttributes)if(Array.isArray(t.attr))for(var a=0;a{"use strict";var Hs=Oe(),KB=Zn(),_l="templateitemname",Yp={name:{valType:"string",editType:"none"}};Yp[_l]={valType:"string",editType:"calc"};yo.templatedArray=function(e,r){return r._isLinkedToArray=e,r.name=Yp.name,r[_l]=Yp[_l],r};yo.traceTemplater=function(e){var r={},t,a;for(t in e)a=e[t],Array.isArray(a)&&a.length&&(r[t]=0);function n(i){t=Hs.coerce(i,{},KB,"type");var l={type:t,_template:null};if(t in r){a=e[t];var o=r[t]%a.length;r[t]++,l._template=a[o]}return l}return{newTrace:n}};yo.newContainer=function(e,r,t){var a=e._template,n=a&&(a[r]||t&&a[t]);Hs.isPlainObject(n)||(n=null);var i=e[r]={_template:n};return i};yo.arrayTemplater=function(e,r,t){var a=e._template,n=a&&a[E6(r)],i=a&&a[r];(!Array.isArray(i)||!i.length)&&(i=[]);var l={};function o(u){var f={name:u.name,_input:u},v=f[_l]=u[_l];if(!D6(v))return f._template=n,f;for(var h=0;h=a&&(t._input||{})._templateitemname;i&&(n=a);var l=r+"["+n+"]",o;function s(){o={},i&&(o[l]={},o[l][_l]=i)}s();function u(d,m){o[d]=m}function f(d,m){i?Hs.nestedProperty(o[l],d).set(m):o[l+"."+d]=m}function v(){var d=o;return s(),d}function h(d,m){d&&f(d,m);var y=v();for(var g in y)Hs.nestedProperty(e,g).set(y[g])}return{modifyBase:u,modifyItem:f,getUpdateObj:v,applyUpdate:h}}});var Qt=K((qoe,P6)=>{"use strict";var vf=Ts().counter;P6.exports={idRegex:{x:vf("x","( domain)?"),y:vf("y","( domain)?")},attrRegex:vf("[xy]axis"),xAxisMatch:vf("xaxis"),yAxisMatch:vf("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,MINZOOM:20,DRAGGERSIZE:20,REDRAWDELAY:50,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"},zindexSeparator:"z"}});var Xt=K(en=>{"use strict";var QB=br(),Up=Qt();en.id2name=function(r){if(!(typeof r!="string"||!r.match(Up.AX_ID_PATTERN))){var t=r.split(" ")[0].slice(1);return t==="1"&&(t=""),r.charAt(0)+"axis"+t}};en.name2id=function(r){if(r.match(Up.AX_NAME_PATTERN)){var t=r.slice(5);return t==="1"&&(t=""),r.charAt(0)+t}};en.cleanId=function(r,t,a){var n=/( domain)$/.test(r);if(!(typeof r!="string"||!r.match(Up.AX_ID_PATTERN))&&!(t&&r.charAt(0)!==t)&&!(n&&!a)){var i=r.split(" ")[0].slice(1).replace(/^0+/,"");return i==="1"&&(i=""),r.charAt(0)+i+(n&&a?" domain":"")}};en.list=function(e,r,t){var a=e._fullLayout;if(!a)return[];var n=en.listIds(e,r),i=new Array(n.length),l;for(l=0;la?1:-1:+(e.slice(1)||1)-+(r.slice(1)||1)};en.ref2id=function(e){return/^[xyz]/.test(e)?e.split(" ")[0]:!1};function R6(e,r){if(r&&r.length){for(var t=0;t{"use strict";function $B(e){var r=e._fullLayout._zoomlayer;r&&r.selectAll(".outline-controllers").remove()}function jB(e){var r=e._fullLayout._zoomlayer;r&&r.selectAll(".select-outline").remove(),e._fullLayout._outlining=!1}z6.exports={clearOutlineControllers:$B,clearOutline:jB}});var l0=K((Poe,N6)=>{"use strict";N6.exports={scattermode:{valType:"enumerated",values:["group","overlay"],dflt:"overlay",editType:"calc"},scattergap:{valType:"number",min:0,max:1,editType:"calc"}}});var Vp=K(s0=>{"use strict";var o0=br(),Roe=Qt().SUBPLOT_PATTERN;s0.getSubplotCalcData=function(e,r,t){var a=o0.subplotsRegistry[r];if(!a)return[];for(var n=a.attr,i=[],l=0;l{"use strict";var eY=br(),Os=Oe();go.manageCommandObserver=function(e,r,t,a){var n={},i=!0;r&&r._commandObserver&&(n=r._commandObserver),n.cache||(n.cache={}),n.lookupTable={};var l=go.hasSimpleAPICommandBindings(e,t,n.lookupTable);if(r&&r._commandObserver){if(l)return n;if(r._commandObserver.remove)return r._commandObserver.remove(),r._commandObserver=null,n}if(l){F6(e,l,n.cache),n.check=function(){if(i){var f=F6(e,l,n.cache);return f.changed&&a&&n.lookupTable[f.value]!==void 0&&(n.disable(),Promise.resolve(a({value:f.value,type:l.type,prop:l.prop,traces:l.traces,index:n.lookupTable[f.value]})).then(n.enable,n.enable)),f.changed}};for(var o=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],s=0;s0?".":"")+n;Os.isPlainObject(i)?Gp(i,r,l,a+1):r(l,n,i)}})}});var Ft=K((Foe,e7)=>{"use strict";var X6=Hr(),tY=bs().timeFormatLocale,aY=Q1().formatLocale,hf=Or(),nY=$1(),Wr=br(),Z6=Is(),iY=ct(),ur=Oe(),J6=Er(),B6=Vt().BADNUM,rn=Xt(),lY=wl().clearOutline,oY=l0(),Wp=tf(),sY=Ip(),uY=Vp().getModuleCalcData,Y6=ur.relinkPrivateKeys,bo=ur._,Qe=e7.exports={};ur.extendFlat(Qe,Wr);Qe.attributes=Zn();Qe.attributes.type.values=Qe.allTypes;Qe.fontAttrs=ya();Qe.layoutAttributes=Ss();var f0=O6();Qe.executeAPICommand=f0.executeAPICommand;Qe.computeAPICommandBindings=f0.computeAPICommandBindings;Qe.manageCommandObserver=f0.manageCommandObserver;Qe.hasSimpleAPICommandBindings=f0.hasSimpleAPICommandBindings;Qe.redrawText=function(e){return e=ur.getGraphDiv(e),new Promise(function(r){setTimeout(function(){e._fullLayout&&(Wr.getComponentMethod("annotations","draw")(e),Wr.getComponentMethod("legend","draw")(e),Wr.getComponentMethod("colorbar","draw")(e),r(Qe.previousPromises(e)))},300)})};Qe.resize=function(e){e=ur.getGraphDiv(e);var r,t=new Promise(function(a,n){(!e||ur.isHidden(e))&&n(new Error("Resize must be passed a displayed plot div element.")),e._redrawTimer&&clearTimeout(e._redrawTimer),e._resolveResize&&(r=e._resolveResize),e._resolveResize=a,e._redrawTimer=setTimeout(function(){if(!e.layout||e.layout.width&&e.layout.height||ur.isHidden(e)){a(e);return}delete e.layout.width,delete e.layout.height;var i=e.changed;e.autoplay=!0,Wr.call("relayout",e,{autosize:!0}).then(function(){e.changed=i,e._resolveResize===a&&(delete e._resolveResize,a(e))})},100)});return r&&r(t),t};Qe.previousPromises=function(e){if((e._promises||[]).length)return Promise.all(e._promises).then(function(){e._promises=[]})};Qe.addLinks=function(e){if(!(!e._context.showLink&&!e._context.showSources)){var r=e._fullLayout,t=ur.ensureSingle(r._paper,"text","js-plot-link-container",function(s){s.style({"font-family":'"Open Sans", Arial, sans-serif',"font-size":"12px",fill:J6.defaultLine,"pointer-events":"all"}).each(function(){var u=X6.select(this);u.append("tspan").classed("js-link-to-tool",!0),u.append("tspan").classed("js-link-spacer",!0),u.append("tspan").classed("js-sourcelinks",!0)})}),a=t.node(),n={y:r._paper.attr("height")-9};document.body.contains(a)&&a.getComputedTextLength()>=r.width-20?(n["text-anchor"]="start",n.x=5):(n["text-anchor"]="end",n.x=r._paper.attr("width")-7),t.attr(n);var i=t.select(".js-link-to-tool"),l=t.select(".js-link-spacer"),o=t.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&fY(e,i),l.text(i.text()&&o.text()?" - ":"")}};function fY(e,r){r.text("");var t=r.append("a").attr({"xlink:xlink:href":"#",class:"link--impt link--embedview","font-weight":"bold"}).text(e._context.linkText+" \xBB");if(e._context.sendData)t.on("click",function(){Qe.sendDataToCloud(e)});else{var a=window.location.pathname.split("/"),n=window.location.search;t.attr({"xlink:xlink:show":"new","xlink:xlink:href":"/"+a[2].split(".")[0]+"/"+a[1]+n})}}Qe.sendDataToCloud=function(e){var r=(window.PLOTLYENV||{}).BASE_URL||e._context.plotlyServerURL;if(r){e.emit("plotly_beforeexport");var t=X6.select(e).append("div").attr("id","hiddenform").style("display","none"),a=t.append("form").attr({action:r+"/external",method:"post",target:"_blank"}),n=a.append("input").attr({type:"text",name:"data"});return n.node().value=Qe.graphJson(e,!1,"keepdata"),a.node().submit(),t.remove(),e.emit("plotly_afterexport"),!1}};var cY=["days","shortDays","months","shortMonths","periods","dateTime","date","time","decimal","thousands","grouping","currency"],vY=["year","month","dayMonth","dayMonthYear"];Qe.supplyDefaults=function(e,r){var t=r&&r.skipUpdateCalc,a=e._fullLayout||{};if(a._skipDefaults){delete a._skipDefaults;return}var n=e._fullLayout={},i=e.layout||{},l=e._fullData||[],o=e._fullData=[],s=e.data||[],u=e.calcdata||[],f=e._context||{},v;e._transitionData||Qe.createTransitionData(e),n._dfltTitle={plot:bo(e,"Click to enter Plot title"),subtitle:bo(e,"Click to enter Plot subtitle"),x:bo(e,"Click to enter X axis title"),y:bo(e,"Click to enter Y axis title"),colorbar:bo(e,"Click to enter Colorscale title"),annotation:bo(e,"new text")},n._traceWord=bo(e,"trace");var h=U6(e,cY);if(n._mapboxAccessToken=f.mapboxAccessToken,a._initialAutoSizeIsDone){var d=a.width,m=a.height;Qe.supplyLayoutGlobalDefaults(i,n,h),i.width||(n.width=d),i.height||(n.height=m),Qe.sanitizeMargins(n)}else{Qe.supplyLayoutGlobalDefaults(i,n,h);var y=!i.width||!i.height,g=n.autosize,_=f.autosizable,T=y&&(g||_);T?Qe.plotAutoSize(e,i,n):y&&Qe.sanitizeMargins(n),!g&&y&&(i.width=n.width,i.height=n.height)}n._d3locale=pY(h,n.separators),n._extraFormat=U6(e,vY),n._initialAutoSizeIsDone=!0,n._dataLength=s.length,n._modules=[],n._visibleModules=[],n._basePlotModules=[];var w=n._subplots=dY(),b=n._splomAxes={x:{},y:{}},M=n._splomSubplots={};n._splomGridDflt={},n._scatterStackOpts={},n._firstScatter={},n._alignmentOpts={},n._colorAxes={},n._requestRangeslider={},n._traceUids=hY(l,s),Qe.supplyDataDefaults(s,o,i,n);var C=Object.keys(b.x),k=Object.keys(b.y);if(C.length>1&&k.length>1){for(Wr.getComponentMethod("grid","sizeDefaults")(i,n),v=0;v15&&k.length>15&&n.shapes.length===0&&n.images.length===0,Qe.linkSubplots(o,n,l,a),Qe.cleanPlot(o,n,l,a);var F=!!(a._has&&a._has("cartesian")),O=!!(n._has&&n._has("cartesian")),I=F,V=O;I&&!V?a._bgLayer.remove():V&&!I&&(n._shouldCreateBgLayer=!0),a._zoomlayer&&!e._dragging&&lY({_fullLayout:a}),mY(o,n),Y6(n,a),Wr.getComponentMethod("colorscale","crossTraceDefaults")(o,n),n._preGUI||(n._preGUI={}),n._tracePreGUI||(n._tracePreGUI={});var J=n._tracePreGUI,G={},U;for(U in J)G[U]="old";for(v=0;v0){var f=1-2*i;l=Math.round(f*l),o=Math.round(f*o)}}var v=Qe.layoutAttributes.width.min,h=Qe.layoutAttributes.height.min;l1,m=!t.height&&Math.abs(a.height-o)>1;(m||d)&&(d&&(a.width=l),m&&(a.height=o)),r._initialAutoSize||(r._initialAutoSize={width:l,height:o}),Qe.sanitizeMargins(a)};Qe.supplyLayoutModuleDefaults=function(e,r,t,a){var n=Wr.componentsRegistry,i=r._basePlotModules,l,o,s,u=Wr.subplotsRegistry.cartesian;for(l in n)s=n[l],s.includeBasePlot&&s.includeBasePlot(e,r);i.length||i.push(u),r._has("cartesian")&&(Wr.getComponentMethod("grid","contentDefaults")(e,r),u.finalizeSubplots(e,r));for(var f in r._subplots)r._subplots[f].sort(ur.subplotSort);for(o=0;o1&&(t.l/=g,t.r/=g)}if(h){var _=(t.t+t.b)/h;_>1&&(t.t/=_,t.b/=_)}var T=t.xl!==void 0?t.xl:t.x,w=t.xr!==void 0?t.xr:t.x,b=t.yt!==void 0?t.yt:t.y,M=t.yb!==void 0?t.yb:t.y;d[r]={l:{val:T,size:t.l+y},r:{val:w,size:t.r+y},b:{val:M,size:t.b+y},t:{val:b,size:t.t+y}},m[r]=1}if(!a._replotting)return Qe.doAutoMargin(e)}};function gY(e){if("_redrawFromAutoMarginCount"in e._fullLayout)return!1;var r=rn.list(e,"",!0);for(var t in r)if(r[t].autoshift||r[t].shift)return!0;return!1}Qe.doAutoMargin=function(e){var r=e._fullLayout,t=r.width,a=r.height;r._size||(r._size={}),K6(r);var n=r._size,i=r.margin,l={t:0,b:0,l:0,r:0},o=ur.extendFlat({},n),s=i.l,u=i.r,f=i.t,v=i.b,h=r._pushmargin,d=r._pushmarginIds,m=r.minreducedwidth,y=r.minreducedheight;if(i.autoexpand!==!1){for(var g in h)d[g]||delete h[g];var _=e._fullLayout._reservedMargin;for(var T in _)for(var w in _[T]){var b=_[T][w];l[w]=Math.max(l[w],b)}h.base={l:{val:0,size:s},r:{val:1,size:u},t:{val:1,size:f},b:{val:0,size:v}};for(var M in l){var C=0;for(var k in h)k!=="base"&&hf(h[k][M].size)&&(C=h[k][M].size>C?h[k][M].size:C);var q=Math.max(0,i[M]-C);l[M]=Math.max(0,l[M]-q)}for(var D in h){var P=h[D].l||{},z=h[D].b||{},F=P.val,O=P.size,I=z.val,V=z.size,J=t-l.r-l.l,G=a-l.t-l.b;for(var U in h){if(hf(O)&&h[U].r){var H=h[U].r.val,Q=h[U].r.size;if(H>F){var Z=(O*H+(Q-J)*F)/(H-F),ne=(Q*(1-F)+(O-J)*(1-H))/(H-F);Z+ne>s+u&&(s=Z,u=ne)}}if(hf(V)&&h[U].t){var ce=h[U].t.val,ye=h[U].t.size;if(ce>I){var Se=(V*ce+(ye-G)*I)/(ce-I),re=(ye*(1-I)+(V-G)*(1-ce))/(ce-I);Se+re>v+f&&(v=Se,f=re)}}}}}var Ce=ur.constrain(t-i.l-i.r,Q6,m),pe=ur.constrain(a-i.t-i.b,$6,y),be=Math.max(0,t-Ce),Ae=Math.max(0,a-pe);if(be){var ge=(s+u)/be;ge>1&&(s/=ge,u/=ge)}if(Ae){var B=(v+f)/Ae;B>1&&(v/=B,f/=B)}if(n.l=Math.round(s)+l.l,n.r=Math.round(u)+l.r,n.t=Math.round(f)+l.t,n.b=Math.round(v)+l.b,n.p=Math.round(i.pad),n.w=Math.round(t)-n.l-n.r,n.h=Math.round(a)-n.t-n.b,!r._replotting&&(Qe.didMarginChange(o,n)||gY(e))){"_redrawFromAutoMarginCount"in r?r._redrawFromAutoMarginCount++:r._redrawFromAutoMarginCount=1;var $=3*(1+Object.keys(d).length);if(r._redrawFromAutoMarginCount1)return!0}return!1};Qe.graphJson=function(e,r,t,a,n,i){(n&&r&&!e._fullData||n&&!r&&!e._fullLayout)&&Qe.supplyDefaults(e);var l=n?e._fullData:e.data,o=n?e._fullLayout:e.layout,s=(e._transitionData||{})._frames;function u(h,d){if(typeof h=="function")return d?"_function_":null;if(ur.isPlainObject(h)){var m={},y;return Object.keys(h).sort().forEach(function(w){if(["_","["].indexOf(w.charAt(0))===-1){if(typeof h[w]=="function"){d&&(m[w]="_function");return}if(t==="keepdata"){if(w.slice(-3)==="src")return}else if(t==="keepstream"){if(y=h[w+"src"],typeof y=="string"&&y.indexOf(":")>0&&!ur.isPlainObject(h.stream))return}else if(t!=="keepall"&&(y=h[w+"src"],typeof y=="string"&&y.indexOf(":")>0))return;m[w]=u(h[w],d)}}),m}var g=Array.isArray(h),_=ur.isTypedArray(h);if((g||_)&&h.dtype&&h.shape){var T=h.bdata;return u({dtype:h.dtype,shape:h.shape,bdata:ur.isArrayBuffer(T)?nY.encode(T):T},d)}return g?h.map(function(w){return u(w,d)}):_?ur.simpleMap(h,ur.identity):ur.isJSDate(h)?ur.ms2DateTimeLocal(+h):h}var f={data:(l||[]).map(function(h){var d=u(h);return r&&delete d.fit,d})};if(!r&&(f.layout=u(o),n)){var v=o._size;f.layout.computed={margin:{b:v.b,l:v.l,r:v.r,t:v.t}}}return s&&(f.frames=u(s)),i&&(f.config=u(e._context,!0)),a==="object"?f:JSON.stringify(f)};Qe.modifyFrames=function(e,r){var t,a,n,i=e._transitionData._frames,l=e._transitionData._frameHash;for(t=0;t0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push(function(){a=!0}),t.redraw&&e._transitionData._interruptCallbacks.push(function(){return Wr.call("redraw",e)}),e._transitionData._interruptCallbacks.push(function(){e.emit("plotly_transitioninterrupted",[])});var h=0,d=0;function m(){return h++,function(){d++,!a&&d===h&&o(v)}}t.runFn(m),setTimeout(m())})}function o(v){if(e._transitionData)return i(e._transitionData._interruptCallbacks),Promise.resolve().then(function(){if(t.redraw)return Wr.call("redraw",e)}).then(function(){e._transitioning=!1,e._transitioningWithDuration=!1,e.emit("plotly_transitioned",[])}).then(v)}function s(){if(e._transitionData)return e._transitioning=!1,n(e._transitionData._interruptCallbacks)}var u=[Qe.previousPromises,s,t.prepareFn,Qe.rehover,Qe.reselect,l],f=ur.syncOrAsync(u,e);return(!f||!f.then)&&(f=Promise.resolve()),f.then(function(){return e})}Qe.doCalcdata=function(e,r){var t=rn.list(e),a=e._fullData,n=e._fullLayout,i,l,o,s,u=new Array(a.length),f=(e.calcdata||[]).slice();for(e.calcdata=u,n._numBoxes=0,n._numViolins=0,n._violinScaleGroupStats={},e._hmpixcount=0,e._hmlumcount=0,n._piecolormap={},n._sunburstcolormap={},n._treemapcolormap={},n._iciclecolormap={},n._funnelareacolormap={},o=0;o=0;s--)if(M[s].enabled){i._indexToPoints=M[s]._indexToPoints;break}l&&l.calc&&(b=l.calc(e,i))}(!Array.isArray(b)||!b[0])&&(b=[{x:B6,y:B6}]),b[0].t||(b[0].t={}),b[0].trace=i,u[T]=b}}for(G6(t,a,n),o=0;o{"use strict";xo.xmlns="http://www.w3.org/2000/xmlns/";xo.svg="http://www.w3.org/2000/svg";xo.xlink="http://www.w3.org/1999/xlink";xo.svgAttrs={xmlns:xo.svg,"xmlns:xlink":xo.xlink}});var Ma=K((Hoe,r7)=>{"use strict";r7.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"}}});var ga=K(An=>{"use strict";var It=Hr(),Ji=Oe(),wY=Ji.strTranslate,Xp=_o(),TY=Ma().LINE_SPACING,MY=/([^$]*)([$]+[^$]*[$]+)([^$]*)/;An.convertToTspans=function(e,r,t){var a=e.text(),n=!e.attr("data-notex")&&r&&r._context.typesetMath&&typeof MathJax!="undefined"&&a.match(MY),i=It.select(e.node().parentNode);if(i.empty())return;var l=e.attr("class")?e.attr("class").split(" ")[0]:"text";l+="-math",i.selectAll("svg."+l).remove(),i.selectAll("g."+l+"-group").remove(),e.style("display",null).attr({"data-unformatted":a,"data-math":"N"});function o(){i.empty()||(l=e.attr("class")+"-math",i.select("svg."+l).remove()),e.text("").style("white-space","pre");var s=FY(e.node(),a);s&&e.style("pointer-events","all"),An.positionText(e),t&&t.call(e)}return n?(r&&r._promises||[]).push(new Promise(function(s){e.style("display","none");var u=parseInt(e.node().style.fontSize,10),f={fontSize:u};CY(n[2],f,function(v,h,d){i.selectAll("svg."+l).remove(),i.selectAll("g."+l+"-group").remove();var m=v&&v.select("svg");if(!m||!m.node()){o(),s();return}var y=i.append("g").classed(l+"-group",!0).attr({"pointer-events":"none","data-unformatted":a,"data-math":"Y"});y.node().appendChild(m.node()),h&&h.node()&&m.node().insertBefore(h.node().cloneNode(!0),m.node().firstChild);var g=d.width,_=d.height;m.attr({class:l,height:_,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var T=e.node().style.fill||"black",w=m.select("g");w.attr({fill:T,stroke:T});var b=w.node().getBoundingClientRect(),M=b.width,C=b.height;(M>g||C>_)&&(m.style("overflow","hidden"),b=m.node().getBoundingClientRect(),M=b.width,C=b.height);var k=+e.attr("x"),q=+e.attr("y"),D=u||e.node().getBoundingClientRect().height,P=-D/4;if(l[0]==="y")y.attr({transform:"rotate("+[-90,k,q]+")"+wY(-M/2,P-C/2)});else if(l[0]==="l")q=P-C/2;else if(l[0]==="a"&&l.indexOf("atitle")!==0)k=0,q=P;else{var z=e.attr("text-anchor");k=k-M*(z==="middle"?.5:z==="end"?1:0),q=q+P-C/2}m.attr({x:k,y:q}),t&&t.call(e,y),s(y)})})):o(),e};var AY=/(|>|>)/g;function SY(e){return e.replace(AY,"\\lt ").replace(kY,"\\gt ")}var t7=[["$","$"],["\\(","\\)"]];function CY(e,r,t){var a=parseInt((MathJax.version||"").split(".")[0]);if(a!==2&&a!==3){Ji.warn("No MathJax version:",MathJax.version);return}var n,i,l,o,s=function(){return i=Ji.extendDeepAll({},MathJax.Hub.config),l=MathJax.Hub.processSectionDelay,MathJax.Hub.processSectionDelay!==void 0&&(MathJax.Hub.processSectionDelay=0),MathJax.Hub.Config({messageStyle:"none",tex2jax:{inlineMath:t7},displayAlign:"left"})},u=function(){i=Ji.extendDeepAll({},MathJax.config),MathJax.config.tex||(MathJax.config.tex={}),MathJax.config.tex.inlineMath=t7},f=function(){if(n=MathJax.Hub.config.menuSettings.renderer,n!=="SVG")return MathJax.Hub.setRenderer("SVG")},v=function(){n=MathJax.config.startup.output,n!=="svg"&&(MathJax.config.startup.output="svg")},h=function(){var T="math-output-"+Ji.randstr({},64);o=It.select("body").append("div").attr({id:T}).style({visibility:"hidden",position:"absolute","font-size":r.fontSize+"px"}).text(SY(e));var w=o.node();return a===2?MathJax.Hub.Typeset(w):MathJax.typeset([w])},d=function(){var T=o.select(a===2?".MathJax_SVG":".MathJax"),w=!T.empty()&&o.select("svg").node();if(!w)Ji.log("There was an error in the tex syntax.",e),t();else{var b=w.getBoundingClientRect(),M;a===2?M=It.select("body").select("#MathJax_SVG_glyphs"):M=T.select("defs"),t(T,M,b)}o.remove()},m=function(){if(n!=="SVG")return MathJax.Hub.setRenderer(n)},y=function(){n!=="svg"&&(MathJax.config.startup.output=n)},g=function(){return l!==void 0&&(MathJax.Hub.processSectionDelay=l),MathJax.Hub.Config(i)},_=function(){MathJax.config=i};a===2?MathJax.Hub.Queue(s,f,h,d,m,g):a===3&&(u(),v(),MathJax.startup.defaultReady(),MathJax.startup.promise.then(function(){h(),d(),y(),_()}))}var l7={sup:"font-size:70%",sub:"font-size:70%",s:"text-decoration:line-through",u:"text-decoration:underline",b:"font-weight:bold",i:"font-style:italic",a:"cursor:pointer",span:"",em:"font-style:italic;font-weight:bold"},LY={sub:"0.3em",sup:"-0.6em"},qY={sub:"-0.21em",sup:"0.42em"},a7="\u200B",n7=["http:","https:","mailto:","",void 0,":"],o7=An.NEWLINES=/(\r\n?|\n)/g,Jp=/(]*>)/,Kp=/]*)(\s+(.*))?>/i,DY=/
/i;An.BR_TAG_ALL=/
/gi;var s7=/(^|[\s"'])style\s*=\s*("([^"]*);?"|'([^']*);?')/i,u7=/(^|[\s"'])href\s*=\s*("([^"]*)"|'([^']*)')/i,f7=/(^|[\s"'])target\s*=\s*("([^"\s]*)"|'([^'\s]*)')/i,EY=/(^|[\s"'])popup\s*=\s*("([\w=,]*)"|'([\w=,]*)')/i;function wo(e,r){if(!e)return null;var t=e.match(r),a=t&&(t[3]||t[4]);return a&&c0(a)}var PY=/(^|;)\s*color:/;An.plainText=function(e,r){r=r||{};for(var t=r.len!==void 0&&r.len!==-1?r.len:1/0,a=r.allowedTags!==void 0?r.allowedTags:["br"],n="...",i=n.length,l=e.split(Jp),o=[],s="",u=0,f=0;fi?o.push(v.slice(0,Math.max(0,y-i))+n):o.push(v.slice(0,y));break}s=""}}return o.join("")};var RY={mu:"\u03BC",amp:"&",lt:"",nbsp:"\xA0",times:"\xD7",plusmn:"\xB1",deg:"\xB0"},zY=/&(#\d+|#x[\da-fA-F]+|[a-z]+);/g;function c0(e){return e.replace(zY,function(r,t){var a;return t.charAt(0)==="#"?a=NY(t.charAt(1)==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10)):a=RY[t],a||r})}An.convertEntities=c0;function NY(e){if(!(e>1114111)){var r=String.fromCodePoint;if(r)return r(e);var t=String.fromCharCode;return e>10)+55232,e%1024+56320)}}function FY(e,r){r=r.replace(o7," ");var t=!1,a=[],n,i=-1;function l(){i++;var C=document.createElementNS(Xp.svg,"tspan");It.select(C).attr({class:"line",dy:i*TY+"em"}),e.appendChild(C),n=C;var k=a;if(a=[{node:C}],k.length>1)for(var q=1;q.",r);return}var k=a.pop();C!==k.type&&Ji.log("Start tag doesnt match end tag . Pretending it did match.",r),n=a[a.length-1].node}var f=DY.test(r);f?l():(n=e,a=[{node:e}]);for(var v=r.split(Jp),h=0;h{"use strict";var IY=Hr(),h0=wn(),pf=Or(),v0=Oe(),v7=Er(),HY=oo().isValid;function OY(e,r,t){var a=r?v0.nestedProperty(e,r).get()||{}:e,n=a[t||"color"];n&&n._inputArray&&(n=n._inputArray);var i=!1;if(v0.isArrayOrTypedArray(n)){for(var l=0;l=0;a--,n++){var i=e[a];t[n]=[1-i[0],i[1]]}return t}function g7(e,r){r=r||{};for(var t=e.domain,a=e.range,n=a.length,i=new Array(n),l=0;l{"use strict";var x7=pp(),YY=x7.FORMAT_LINK,UY=x7.DATE_FORMAT_LINK;function VY(e,r){return{valType:"string",dflt:"",editType:"none",description:(r?Qp:_7)("hover text",e)+["By default the values are formatted using "+(r?"generic number format":"`"+e+"axis.hoverformat`")+"."].join(" ")}}function Qp(e,r){return["Sets the "+e+" formatting rule"+(r?"for `"+r+"` ":""),"using d3 formatting mini-languages","which are very similar to those in Python. For numbers, see: "+YY+"."].join(" ")}function _7(e,r){return Qp(e,r)+[" And for dates see: "+UY+".","We add two items to d3's date formatter:","*%h* for half of the year as a decimal number as well as","*%{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(" ")}w7.exports={axisHoverFormat:VY,descriptionOnlyNumbers:Qp,descriptionWithDates:_7}});var jn=K((Voe,H7)=>{"use strict";var T7=ya(),Bs=gi(),I7=xi().dash,jp=Gt().extendFlat,M7=ct().templatedArray,Uoe=co().templateFormatStringDescription,A7=d0().descriptionWithDates,GY=Vt().ONEDAY,wi=Qt(),WY=wi.HOUR_PATTERN,XY=wi.WEEKDAY_PATTERN,$p={valType:"enumerated",values:["auto","linear","array"],editType:"ticks",impliedEdits:{tick0:void 0,dtick:void 0}},ZY=jp({},$p,{values:$p.values.slice().concat(["sync"])});function k7(e){return{valType:"integer",min:0,dflt:e?5:0,editType:"ticks"}}var S7={valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"}},C7={valType:"any",editType:"ticks",impliedEdits:{tickmode:"linear"}},L7={valType:"data_array",editType:"ticks"},q7={valType:"enumerated",values:["outside","inside",""],editType:"ticks"};function D7(e){var r={valType:"number",min:0,editType:"ticks"};return e||(r.dflt=5),r}function E7(e){var r={valType:"number",min:0,editType:"ticks"};return e||(r.dflt=1),r}var P7={valType:"color",dflt:Bs.defaultLine,editType:"ticks"},R7={valType:"color",dflt:Bs.lightLine,editType:"ticks"};function z7(e){var r={valType:"number",min:0,editType:"ticks"};return e||(r.dflt=1),r}var N7=jp({},I7,{editType:"ticks"}),F7={valType:"boolean",editType:"ticks"};H7.exports={visible:{valType:"boolean",editType:"plot"},color:{valType:"color",dflt:Bs.defaultLine,editType:"ticks"},title:{text:{valType:"string",editType:"ticks"},font:T7({editType:"ticks"}),standoff:{valType:"number",min:0,editType:"ticks"},editType:"ticks"},type:{valType:"enumerated",values:["-","linear","log","date","category","multicategory"],dflt:"-",editType:"calc",_noTemplating:!0},autotypenumbers:{valType:"enumerated",values:["convert types","strict"],dflt:"convert types",editType:"calc"},autorange:{valType:"enumerated",values:[!0,!1,"reversed","min reversed","max reversed","min","max"],dflt:!0,editType:"axrange",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},autorangeoptions:{minallowed:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},maxallowed:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},clipmin:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},clipmax:{valType:"any",editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},include:{valType:"any",arrayOk:!0,editType:"plot",impliedEdits:{"range[0]":void 0,"range[1]":void 0}},editType:"plot"},rangemode:{valType:"enumerated",values:["normal","tozero","nonnegative"],dflt:"normal",editType:"plot"},range:{valType:"info_array",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},minallowed:{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},maxallowed:{valType:"any",editType:"plot",impliedEdits:{"^autorange":!1}},fixedrange:{valType:"boolean",dflt:!1,editType:"calc"},modebardisable:{valType:"flaglist",flags:["autoscale","zoominout"],extras:["none"],dflt:"none",editType:"modebar"},insiderange:{valType:"info_array",items:[{valType:"any",editType:"plot"},{valType:"any",editType:"plot"}],editType:"plot"},scaleanchor:{valType:"enumerated",values:[wi.idRegex.x.toString(),wi.idRegex.y.toString(),!1],editType:"plot"},scaleratio:{valType:"number",min:0,dflt:1,editType:"plot"},constrain:{valType:"enumerated",values:["range","domain"],editType:"plot"},constraintoward:{valType:"enumerated",values:["left","center","right","top","middle","bottom"],editType:"plot"},matches:{valType:"enumerated",values:[wi.idRegex.x.toString(),wi.idRegex.y.toString()],editType:"calc"},rangebreaks:M7("rangebreak",{enabled:{valType:"boolean",dflt:!0,editType:"calc"},bounds:{valType:"info_array",items:[{valType:"any",editType:"calc"},{valType:"any",editType:"calc"}],editType:"calc"},pattern:{valType:"enumerated",values:[XY,WY,""],editType:"calc"},values:{valType:"info_array",freeLength:!0,editType:"calc",items:{valType:"any",editType:"calc"}},dvalue:{valType:"number",editType:"calc",min:0,dflt:GY},editType:"calc"}),tickmode:ZY,nticks:k7(),tick0:S7,dtick:C7,ticklabelstep:{valType:"integer",min:1,dflt:1,editType:"ticks"},tickvals:L7,ticktext:{valType:"data_array",editType:"ticks"},ticks:q7,tickson:{valType:"enumerated",values:["labels","boundaries"],dflt:"labels",editType:"ticks"},ticklabelmode:{valType:"enumerated",values:["instant","period"],dflt:"instant",editType:"ticks"},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"},ticklabeloverflow:{valType:"enumerated",values:["allow","hide past div","hide past domain"],editType:"calc"},ticklabelshift:{valType:"integer",dflt:0,editType:"ticks"},ticklabelstandoff:{valType:"integer",dflt:0,editType:"ticks"},ticklabelindex:{valType:"integer",arrayOk:!0,editType:"calc"},mirror:{valType:"enumerated",values:[!0,"ticks",!1,"all","allticks"],dflt:!1,editType:"ticks+layoutstyle"},ticklen:D7(),tickwidth:E7(),tickcolor:P7,showticklabels:{valType:"boolean",dflt:!0,editType:"ticks"},labelalias:{valType:"any",dflt:!1,editType:"ticks"},automargin:{valType:"flaglist",flags:["height","width","left","right","top","bottom"],extras:[!0,!1],dflt:!1,editType:"ticks"},showspikes:{valType:"boolean",dflt:!1,editType:"modebar"},spikecolor:{valType:"color",dflt:null,editType:"none"},spikethickness:{valType:"number",dflt:3,editType:"none"},spikedash:jp({},I7,{dflt:"dash",editType:"none"}),spikemode:{valType:"flaglist",flags:["toaxis","across","marker"],dflt:"toaxis",editType:"none"},spikesnap:{valType:"enumerated",values:["data","cursor","hovered data"],dflt:"hovered data",editType:"none"},tickfont:T7({editType:"ticks"}),tickangle:{valType:"angle",dflt:"auto",editType:"ticks"},autotickangles:{valType:"info_array",freeLength:!0,items:{valType:"angle"},dflt:[0,30,90],editType:"ticks"},tickprefix:{valType:"string",dflt:"",editType:"ticks"},showtickprefix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},ticksuffix:{valType:"string",dflt:"",editType:"ticks"},showticksuffix:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},showexponent:{valType:"enumerated",values:["all","first","last","none"],dflt:"all",editType:"ticks"},exponentformat:{valType:"enumerated",values:["none","e","E","power","SI","B","SI extended"],dflt:"B",editType:"ticks"},minexponent:{valType:"number",dflt:3,min:0,editType:"ticks"},separatethousands:{valType:"boolean",dflt:!1,editType:"ticks"},tickformat:{valType:"string",dflt:"",editType:"ticks",description:A7("tick label")},tickformatstops:M7("tickformatstop",{enabled:{valType:"boolean",dflt:!0,editType:"ticks"},dtickrange:{valType:"info_array",items:[{valType:"any",editType:"ticks"},{valType:"any",editType:"ticks"}],editType:"ticks"},value:{valType:"string",dflt:"",editType:"ticks"},editType:"ticks"}),hoverformat:{valType:"string",dflt:"",editType:"none",description:A7("hover text")},unifiedhovertitle:{text:{valType:"string",dflt:"",editType:"none"},editType:"none"},showline:{valType:"boolean",dflt:!1,editType:"ticks+layoutstyle"},linecolor:{valType:"color",dflt:Bs.defaultLine,editType:"layoutstyle"},linewidth:{valType:"number",min:0,dflt:1,editType:"ticks+layoutstyle"},showgrid:F7,gridcolor:R7,gridwidth:z7(),griddash:N7,zeroline:{valType:"boolean",editType:"ticks"},zerolinecolor:{valType:"color",dflt:Bs.defaultLine,editType:"ticks"},zerolinelayer:{valType:"enumerated",values:["above traces","below traces"],dflt:"below traces",editType:"plot"},zerolinewidth:{valType:"number",dflt:1,editType:"ticks"},showdividers:{valType:"boolean",dflt:!0,editType:"ticks"},dividercolor:{valType:"color",dflt:Bs.defaultLine,editType:"ticks"},dividerwidth:{valType:"number",dflt:1,editType:"ticks"},anchor:{valType:"enumerated",values:["free",wi.idRegex.x.toString(),wi.idRegex.y.toString()],editType:"plot"},side:{valType:"enumerated",values:["top","bottom","left","right"],editType:"plot"},overlaying:{valType:"enumerated",values:["free",wi.idRegex.x.toString(),wi.idRegex.y.toString()],editType:"plot"},minor:{tickmode:$p,nticks:k7("minor"),tick0:S7,dtick:C7,tickvals:L7,ticks:q7,ticklen:D7("minor"),tickwidth:E7("minor"),tickcolor:P7,gridcolor:R7,gridwidth:z7("minor"),griddash:N7,showgrid:F7,editType:"ticks"},minorloglabels:{valType:"enumerated",values:["small digits","complete","none"],dflt:"small digits",editType:"calc"},layer:{valType:"enumerated",values:["above traces","below traces"],dflt:"above traces",editType:"plot"},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"},position:{valType:"number",min:0,max:1,dflt:0,editType:"plot"},autoshift:{valType:"boolean",dflt:!1,editType:"plot"},shift:{valType:"number",editType:"plot"},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","geometric mean ascending","geometric mean descending","median ascending","median descending"],dflt:"trace",editType:"calc"},categoryarray:{valType:"data_array",editType:"calc"},uirevision:{valType:"any",editType:"none"},editType:"calc"}});var p0=K((Goe,Y7)=>{"use strict";var dt=jn(),O7=ya(),B7=Gt().extendFlat,JY=bi().overrideAll;Y7.exports=JY({orientation:{valType:"enumerated",values:["h","v"],dflt:"v"},thicknessmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels"},thickness:{valType:"number",min:0,dflt:30},lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["left","center","right"]},xpad:{valType:"number",min:0,dflt:10},y:{valType:"number"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["top","middle","bottom"]},ypad:{valType:"number",min:0,dflt:10},outlinecolor:dt.linecolor,outlinewidth:dt.linewidth,bordercolor:dt.linecolor,borderwidth:{valType:"number",min:0,dflt:0},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},tickmode:dt.minor.tickmode,nticks:dt.nticks,tick0:dt.tick0,dtick:dt.dtick,tickvals:dt.tickvals,ticktext:dt.ticktext,ticks:B7({},dt.ticks,{dflt:""}),ticklabeloverflow:B7({},dt.ticklabeloverflow,{}),ticklabelposition:{valType:"enumerated",values:["outside","inside","outside top","inside top","outside left","inside left","outside right","inside right","outside bottom","inside bottom"],dflt:"outside"},ticklen:dt.ticklen,tickwidth:dt.tickwidth,tickcolor:dt.tickcolor,ticklabelstep:dt.ticklabelstep,showticklabels:dt.showticklabels,labelalias:dt.labelalias,tickfont:O7({}),tickangle:dt.tickangle,tickformat:dt.tickformat,tickformatstops:dt.tickformatstops,tickprefix:dt.tickprefix,showtickprefix:dt.showtickprefix,ticksuffix:dt.ticksuffix,showticksuffix:dt.showticksuffix,separatethousands:dt.separatethousands,exponentformat:dt.exponentformat,minexponent:dt.minexponent,showexponent:dt.showexponent,title:{text:{valType:"string"},font:O7({}),side:{valType:"enumerated",values:["right","top","bottom"]}}},"colorbars","from-root")});var mf=K((Xoe,V7)=>{"use strict";var KY=p0(),QY=Ts().counter,$Y=wp(),U7=oo().scales,Woe=$Y(U7);function m0(e){return"`"+e+"`"}V7.exports=function(r,t){r=r||"",t=t||{};var a=t.cLetter||"c",n="onlyIfNumerical"in t?t.onlyIfNumerical:!!r,i="noScale"in t?t.noScale:r==="marker.line",l="showScaleDflt"in t?t.showScaleDflt:a==="z",o=typeof t.colorscaleDflt=="string"?U7[t.colorscaleDflt]:null,s=t.editTypeOverride||"",u=r?r+".":"",f,v;"colorAttr"in t?(f=t.colorAttr,v=t.colorAttr):(f={z:"z",c:"color"}[a],v="in "+m0(u+f));var h=n?" Has an effect only if "+v+" is set to a numerical array.":"",d=a+"auto",m=a+"min",y=a+"max",g=a+"mid",_=m0(u+d),T=m0(u+m),w=m0(u+y),b=T+" and "+w,M={};M[m]=M[y]=void 0;var C={};C[d]=!1;var k={};return f==="color"&&(k.color={valType:"color",arrayOk:!0,editType:s||"style"},t.anim&&(k.color.anim=!0)),k[d]={valType:"boolean",dflt:!0,editType:"calc",impliedEdits:M},k[m]={valType:"number",dflt:null,editType:s||"plot",impliedEdits:C},k[y]={valType:"number",dflt:null,editType:s||"plot",impliedEdits:C},k[g]={valType:"number",dflt:null,editType:"calc",impliedEdits:M},k.colorscale={valType:"colorscale",editType:"calc",dflt:o,impliedEdits:{autocolorscale:!1}},k.autocolorscale={valType:"boolean",dflt:t.autoColorDflt!==!1,editType:"calc",impliedEdits:{colorscale:void 0}},k.reversescale={valType:"boolean",dflt:!1,editType:"plot"},i||(k.showscale={valType:"boolean",dflt:l,editType:"calc"},k.colorbar=KY),t.noColorAxis||(k.coloraxis={valType:"subplotid",regex:QY("coloraxis"),dflt:null,editType:"calc"}),k}});var rm=K((Zoe,G7)=>{"use strict";var jY=Gt().extendFlat,eU=mf(),em=oo().scales;G7.exports={editType:"calc",colorscale:{editType:"calc",sequential:{valType:"colorscale",dflt:em.Reds,editType:"calc"},sequentialminus:{valType:"colorscale",dflt:em.Blues,editType:"calc"},diverging:{valType:"colorscale",dflt:em.RdBu,editType:"calc"}},coloraxis:jY({_isSubplotObj:!0,editType:"calc"},eU("",{colorAttr:"corresponding trace color array(s)",noColorAxis:!0,showScaleDflt:!0}))}});var tm=K((Joe,W7)=>{"use strict";var rU=Oe();W7.exports=function(r){return rU.isPlainObject(r.colorbar)}});var im=K(nm=>{"use strict";var am=Or(),X7=Oe(),Z7=Vt(),tU=Z7.ONEDAY,aU=Z7.ONEWEEK;nm.dtick=function(e,r){var t=r==="log",a=r==="date",n=r==="category",i=a?tU:1;if(!e)return i;if(am(e))return e=Number(e),e{"use strict";var J7=im(),nU=Oe().isArrayOrTypedArray,iU=Ka().isTypedArraySpec,lU=Ka().decodeTypedArraySpec;K7.exports=function(r,t,a,n,i){i||(i={});var l=i.isMinor,o=l?r.minor||{}:r,s=l?t.minor:t,u=l?"minor.":"";function f(T){var w=o[T];return iU(w)&&(w=lU(w)),w!==void 0?w:(s._template||{})[T]}var v=f("tick0"),h=f("dtick"),d=f("tickvals"),m=nU(d)?"array":h?"linear":"auto",y=a(u+"tickmode",m);if(y==="auto"||y==="sync")a(u+"nticks");else if(y==="linear"){var g=s.dtick=J7.dtick(h,n);s.tick0=J7.tick0(v,n,t.calendar,g)}else if(n!=="multicategory"){var _=a(u+"tickvals");_===void 0?s.tickmode="auto":l||a("ticktext")}}});var sm=K(($oe,$7)=>{"use strict";var om=Oe(),Q7=jn();$7.exports=function(r,t,a,n){var i=n.isMinor,l=i?r.minor||{}:r,o=i?t.minor:t,s=i?Q7.minor:Q7,u=i?"minor.":"",f=om.coerce2(l,o,s,"ticklen",i?(t.ticklen||5)*.6:void 0),v=om.coerce2(l,o,s,"tickwidth",i?t.tickwidth||1:void 0),h=om.coerce2(l,o,s,"tickcolor",(i?t.tickcolor:void 0)||o.color),d=a(u+"ticks",!i&&n.outerTicks||f||v||h?"outside":"");d||(delete o.ticklen,delete o.tickwidth,delete o.tickcolor)}});var um=K((joe,j7)=>{"use strict";j7.exports=function(r){var t=["showexponent","showtickprefix","showticksuffix"],a=t.filter(function(i){return r[i]!==void 0}),n=function(i){return r[i]===r[a[0]]};if(a.every(n)||a.length===1)return r[a[0]]}});var ei=K((ese,e9)=>{"use strict";var y0=Oe(),oU=ct();e9.exports=function(r,t,a){var n=a.name,i=a.inclusionAttr||"visible",l=t[n],o=y0.isArrayOrTypedArray(r[n])?r[n]:[],s=t[n]=[],u=oU.arrayTemplater(t,n,i),f,v;for(f=0;f{"use strict";var fm=Oe(),sU=Er().contrast,r9=jn(),uU=um(),fU=ei();t9.exports=function(r,t,a,n,i){i||(i={});var l=a("labelalias");fm.isPlainObject(l)||delete t.labelalias;var o=uU(r),s=a("showticklabels");if(s){i.noTicklabelshift||a("ticklabelshift"),i.noTicklabelstandoff||a("ticklabelstandoff");var u=i.font||{},f=t.color,v=t.ticklabelposition||"",h=v.indexOf("inside")!==-1?sU(i.bgColor):f&&f!==r9.color.dflt?f:u.color;if(fm.coerceFont(a,"tickfont",u,{overrideDflt:{color:h}}),!i.noTicklabelstep&&n!=="multicategory"&&n!=="log"&&a("ticklabelstep"),!i.noAng){var d=a("tickangle");!i.noAutotickangles&&d==="auto"&&a("autotickangles")}if(n!=="category"){var m=a("tickformat");fU(r,t,{name:"tickformatstops",inclusionAttr:"enabled",handleItemDefaults:cU}),t.tickformatstops.length||delete t.tickformatstops,!i.noExp&&!m&&n!=="date"&&(a("showexponent",o),a("exponentformat"),a("minexponent"),a("separatethousands"))}!i.noMinorloglabels&&n==="log"&&a("minorloglabels")}};function cU(e,r){function t(n,i){return fm.coerce(e,r,r9.tickformatstops,n,i)}var a=t("enabled");a&&(t("dtickrange"),t("value"))}});var vm=K((tse,a9)=>{"use strict";var vU=um();a9.exports=function(r,t,a,n,i){i||(i={});var l=i.tickSuffixDflt,o=vU(r),s=a("tickprefix");s&&a("showtickprefix",o);var u=a("ticksuffix",l);u&&a("showticksuffix",o)}});var hm=K((ase,n9)=>{"use strict";var Tl=Oe(),hU=ct(),dU=lm(),pU=sm(),mU=cm(),yU=vm(),gU=p0();n9.exports=function(r,t,a){var n=hU.newContainer(t,"colorbar"),i=r.colorbar||{};function l(z,F){return Tl.coerce(i,n,gU,z,F)}var o=a.margin||{t:0,b:0,l:0,r:0},s=a.width-o.l-o.r,u=a.height-o.t-o.b,f=l("orientation"),v=f==="v",h=l("thicknessmode");l("thickness",h==="fraction"?30/(v?s:u):30);var d=l("lenmode");l("len",d==="fraction"?1:v?u:s);var m=l("yref"),y=l("xref"),g=m==="paper",_=y==="paper",T,w,b,M="left";v?(b="middle",M=_?"left":"right",T=_?1.02:1,w=.5):(b=g?"bottom":"top",M="center",T=.5,w=g?1.02:1),Tl.coerce(i,n,{x:{valType:"number",min:_?-2:0,max:_?3:1,dflt:T}},"x"),Tl.coerce(i,n,{y:{valType:"number",min:g?-2:0,max:g?3:1,dflt:w}},"y"),l("xanchor",M),l("xpad"),l("yanchor",b),l("ypad"),Tl.noneOrAll(i,n,["x","y"]),l("outlinecolor"),l("outlinewidth"),l("bordercolor"),l("borderwidth"),l("bgcolor");var C=Tl.coerce(i,n,{ticklabelposition:{valType:"enumerated",dflt:"outside",values:v?["outside","inside","outside top","inside top","outside bottom","inside bottom"]:["outside","inside","outside left","inside left","outside right","inside right"]}},"ticklabelposition");l("ticklabeloverflow",C.indexOf("inside")!==-1?"hide past domain":"hide past div"),dU(i,n,l,"linear");var k=a.font,q={noAutotickangles:!0,noTicklabelshift:!0,noTicklabelstandoff:!0,outerTicks:!1,font:k};C.indexOf("inside")!==-1&&(q.bgColor="black"),yU(i,n,l,"linear",q),mU(i,n,l,"linear",q),pU(i,n,l,"linear",q),l("title.text",a._dfltTitle.colorbar);var D=n.showticklabels?n.tickfont:k,P=Tl.extendFlat({},k,{family:D.family,size:Tl.bigFont(D.size)});Tl.coerceFont(l,"title.font",P),l("title.side",v?"top":"right")}});var Ys=K((nse,o9)=>{"use strict";var i9=Or(),pm=Oe(),bU=tm(),xU=hm(),l9=oo().isValid,_U=br().traceIs;function dm(e,r){var t=r.slice(0,r.length-1);return r?pm.nestedProperty(e,t).get()||{}:e}o9.exports=function e(r,t,a,n,i){var l=i.prefix,o=i.cLetter,s="_module"in t,u=dm(r,l),f=dm(t,l),v=dm(t._template||{},l)||{},h=function(){return delete r.coloraxis,delete t.coloraxis,e(r,t,a,n,i)};if(s){var d=a._colorAxes||{},m=n(l+"coloraxis");if(m){var y=_U(t,"contour")&&pm.nestedProperty(t,"contours.coloring").get()||"heatmap",g=d[m];g?(g[2].push(h),g[0]!==y&&(g[0]=!1,pm.warn(["Ignoring coloraxis:",m,"setting","as it is linked to incompatible colorscales."].join(" ")))):d[m]=[y,t,[h]];return}}var _=u[o+"min"],T=u[o+"max"],w=i9(_)&&i9(T)&&_{"use strict";var s9=Oe(),wU=ct(),u9=rm(),TU=Ys();f9.exports=function(r,t){function a(v,h){return s9.coerce(r,t,u9,v,h)}a("colorscale.sequential"),a("colorscale.sequentialminus"),a("colorscale.diverging");var n=t._colorAxes,i,l;function o(v,h){return s9.coerce(i,l,u9.coloraxis,v,h)}for(var s in n){var u=n[s];if(u[0])i=r[s]||{},l=wU.newContainer(t,s,"coloraxis"),l._name=s,TU(i,l,t,o,{prefix:"",cLetter:"c"});else{for(var f=0;f{"use strict";var MU=Oe(),AU=kn().hasColorscale,kU=kn().extractOpts;v9.exports=function(r,t){function a(f,v){var h=f["_"+v];h!==void 0&&(f[v]=h)}function n(f,v){var h=v.container?MU.nestedProperty(f,v.container).get():f;if(h)if(h.coloraxis)h._colorAx=t[h.coloraxis];else{var d=kU(h),m=d.auto;(m||d.min===void 0)&&a(h,v.min),(m||d.max===void 0)&&a(h,v.max),d.autocolorscale&&a(h,"colorscale")}}for(var i=0;i{"use strict";var d9=Or(),mm=Oe(),SU=kn().extractOpts;p9.exports=function(r,t,a){var n=r._fullLayout,i=a.vals,l=a.containerStr,o=l?mm.nestedProperty(t,l).get():t,s=SU(o),u=s.auto!==!1,f=s.min,v=s.max,h=s.mid,d=function(){return mm.aggNums(Math.min,null,i)},m=function(){return mm.aggNums(Math.max,null,i)};if(f===void 0?f=d():u&&(o._colorAx&&d9(f)?f=Math.min(f,d()):f=d()),v===void 0?v=m():u&&(o._colorAx&&d9(v)?v=Math.max(v,m()):v=m()),u&&h!==void 0&&(v-h>h-f?f=h-(v-h):v-h=0?y=n.colorscale.sequential:y=n.colorscale.sequentialminus,s._sync("colorscale",y)}}});var ym=K((sse,m9)=>{"use strict";var b0=oo(),Us=kn();m9.exports={moduleType:"component",name:"colorscale",attributes:mf(),layoutAttributes:rm(),supplyLayoutDefaults:c9(),handleDefaults:Ys(),crossTraceDefaults:h9(),calc:g0(),scales:b0.scales,defaultScale:b0.defaultScale,getScale:b0.get,isValidScale:b0.isValid,hasColorscale:Us.hasColorscale,extractOpts:Us.extractOpts,extractScale:Us.extractScale,flipScale:Us.flipScale,makeColorScaleFunc:Us.makeColorScaleFunc,makeColorScaleFuncFromTrace:Us.makeColorScaleFuncFromTrace}});var un=K((use,g9)=>{"use strict";var y9=Oe(),CU=Ka().isTypedArraySpec;g9.exports={hasLines:function(e){return e.visible&&e.mode&&e.mode.indexOf("lines")!==-1},hasMarkers:function(e){return e.visible&&(e.mode&&e.mode.indexOf("markers")!==-1||e.type==="splom")},hasText:function(e){return e.visible&&e.mode&&e.mode.indexOf("text")!==-1},isBubble:function(e){var r=e.marker;return y9.isPlainObject(r)&&(y9.isArrayOrTypedArray(r.size)||CU(r.size))}}});var x9=K((fse,b9)=>{"use strict";var LU=Or();b9.exports=function(r,t){t||(t=2);var a=r.marker,n=a.sizeref||1,i=a.sizemin||0,l=a.sizemode==="area"?function(o){return Math.sqrt(o/n)}:function(o){return o/n};return function(o){var s=l(o/t);return LU(s)&&s>0?Math.max(s,i):0}}});var Ti=K(Aa=>{"use strict";var x0=Oe();Aa.getSubplot=function(e){return e.subplot||e.xaxis+e.yaxis||e.geo};Aa.isTraceInSubplots=function(e,r){if(e.type==="splom"){for(var t=e.xaxes||[],a=e.yaxes||[],n=0;n=0&&t.index{T9.exports=RU;var gm={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},PU=/([astvzqmhlc])([^astvzqmhlc]*)/ig;function RU(e){var r=[];return e.replace(PU,function(t,a,n){var i=a.toLowerCase();for(n=NU(n),i=="m"&&n.length>2&&(r.push([a].concat(n.splice(0,2))),i="l",a=a=="m"?"l":"L");;){if(n.length==gm[i])return n.unshift(a),r.push(n);if(n.length{"use strict";var FU=bm(),Je=function(e,r){return r?Math.round(e*(r=Math.pow(10,r)))/r:Math.round(e)},Ar="M0,0Z",M9=Math.sqrt(2),Ml=Math.sqrt(3),xm=Math.PI,_m=Math.cos,wm=Math.sin;L9.exports={circle:{n:0,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n="M"+a+",0A"+a+","+a+" 0 1,1 0,-"+a+"A"+a+","+a+" 0 0,1 "+a+",0Z";return t?Sr(r,t,n):n}},square:{n:1,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M"+a+","+a+"H-"+a+"V-"+a+"H"+a+"Z")}},diamond:{n:2,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.3,2);return Sr(r,t,"M"+a+",0L0,"+a+"L-"+a+",0L0,-"+a+"Z")}},cross:{n:3,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.4,2),n=Je(e*1.2,2);return Sr(r,t,"M"+n+","+a+"H"+a+"V"+n+"H-"+a+"V"+a+"H-"+n+"V-"+a+"H-"+a+"V-"+n+"H"+a+"V-"+a+"H"+n+"Z")}},x:{n:4,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.8/M9,2),n="l"+a+","+a,i="l"+a+",-"+a,l="l-"+a+",-"+a,o="l-"+a+","+a;return Sr(r,t,"M0,"+a+n+i+l+i+l+o+l+o+n+o+n+"Z")}},"triangle-up":{n:5,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2/Ml,2),n=Je(e/2,2),i=Je(e,2);return Sr(r,t,"M-"+a+","+n+"H"+a+"L0,-"+i+"Z")}},"triangle-down":{n:6,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2/Ml,2),n=Je(e/2,2),i=Je(e,2);return Sr(r,t,"M-"+a+",-"+n+"H"+a+"L0,"+i+"Z")}},"triangle-left":{n:7,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2/Ml,2),n=Je(e/2,2),i=Je(e,2);return Sr(r,t,"M"+n+",-"+a+"V"+a+"L-"+i+",0Z")}},"triangle-right":{n:8,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2/Ml,2),n=Je(e/2,2),i=Je(e,2);return Sr(r,t,"M-"+n+",-"+a+"V"+a+"L"+i+",0Z")}},"triangle-ne":{n:9,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.6,2),n=Je(e*1.2,2);return Sr(r,t,"M-"+n+",-"+a+"H"+a+"V"+n+"Z")}},"triangle-se":{n:10,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.6,2),n=Je(e*1.2,2);return Sr(r,t,"M"+a+",-"+n+"V"+a+"H-"+n+"Z")}},"triangle-sw":{n:11,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.6,2),n=Je(e*1.2,2);return Sr(r,t,"M"+n+","+a+"H-"+a+"V-"+n+"Z")}},"triangle-nw":{n:12,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.6,2),n=Je(e*1.2,2);return Sr(r,t,"M-"+a+","+n+"V-"+a+"H"+n+"Z")}},pentagon:{n:13,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.951,2),n=Je(e*.588,2),i=Je(-e,2),l=Je(e*-.309,2),o=Je(e*.809,2);return Sr(r,t,"M"+a+","+l+"L"+n+","+o+"H-"+n+"L-"+a+","+l+"L0,"+i+"Z")}},hexagon:{n:14,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e/2,2),i=Je(e*Ml/2,2);return Sr(r,t,"M"+i+",-"+n+"V"+n+"L0,"+a+"L-"+i+","+n+"V-"+n+"L0,-"+a+"Z")}},hexagon2:{n:15,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e/2,2),i=Je(e*Ml/2,2);return Sr(r,t,"M-"+n+","+i+"H"+n+"L"+a+",0L"+n+",-"+i+"H-"+n+"L-"+a+",0Z")}},octagon:{n:16,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.924,2),n=Je(e*.383,2);return Sr(r,t,"M-"+n+",-"+a+"H"+n+"L"+a+",-"+n+"V"+n+"L"+n+","+a+"H-"+n+"L-"+a+","+n+"V-"+n+"Z")}},star:{n:17,f:function(e,r,t){if(kr(r))return Ar;var a=e*1.4,n=Je(a*.225,2),i=Je(a*.951,2),l=Je(a*.363,2),o=Je(a*.588,2),s=Je(-a,2),u=Je(a*-.309,2),f=Je(a*.118,2),v=Je(a*.809,2),h=Je(a*.382,2);return Sr(r,t,"M"+n+","+u+"H"+i+"L"+l+","+f+"L"+o+","+v+"L0,"+h+"L-"+o+","+v+"L-"+l+","+f+"L-"+i+","+u+"H-"+n+"L0,"+s+"Z")}},hexagram:{n:18,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.66,2),n=Je(e*.38,2),i=Je(e*.76,2);return Sr(r,t,"M-"+i+",0l-"+n+",-"+a+"h"+i+"l"+n+",-"+a+"l"+n+","+a+"h"+i+"l-"+n+","+a+"l"+n+","+a+"h-"+i+"l-"+n+","+a+"l-"+n+",-"+a+"h-"+i+"Z")}},"star-triangle-up":{n:19,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*Ml*.8,2),n=Je(e*.8,2),i=Je(e*1.6,2),l=Je(e*4,2),o="A "+l+","+l+" 0 0 1 ";return Sr(r,t,"M-"+a+","+n+o+a+","+n+o+"0,-"+i+o+"-"+a+","+n+"Z")}},"star-triangle-down":{n:20,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*Ml*.8,2),n=Je(e*.8,2),i=Je(e*1.6,2),l=Je(e*4,2),o="A "+l+","+l+" 0 0 1 ";return Sr(r,t,"M"+a+",-"+n+o+"-"+a+",-"+n+o+"0,"+i+o+a+",-"+n+"Z")}},"star-square":{n:21,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.1,2),n=Je(e*2,2),i="A "+n+","+n+" 0 0 1 ";return Sr(r,t,"M-"+a+",-"+a+i+"-"+a+","+a+i+a+","+a+i+a+",-"+a+i+"-"+a+",-"+a+"Z")}},"star-diamond":{n:22,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2),n=Je(e*1.9,2),i="A "+n+","+n+" 0 0 1 ";return Sr(r,t,"M-"+a+",0"+i+"0,"+a+i+a+",0"+i+"0,-"+a+i+"-"+a+",0Z")}},"diamond-tall":{n:23,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*.7,2),n=Je(e*1.4,2);return Sr(r,t,"M0,"+n+"L"+a+",0L0,-"+n+"L-"+a+",0Z")}},"diamond-wide":{n:24,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2),n=Je(e*.7,2);return Sr(r,t,"M0,"+n+"L"+a+",0L0,-"+n+"L-"+a+",0Z")}},hourglass:{n:25,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M"+a+","+a+"H-"+a+"L"+a+",-"+a+"H-"+a+"Z")},noDot:!0},bowtie:{n:26,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M"+a+","+a+"V-"+a+"L-"+a+","+a+"V-"+a+"Z")},noDot:!0},"circle-cross":{n:27,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M0,"+a+"V-"+a+"M"+a+",0H-"+a+"M"+a+",0A"+a+","+a+" 0 1,1 0,-"+a+"A"+a+","+a+" 0 0,1 "+a+",0Z")},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e/M9,2);return Sr(r,t,"M"+n+","+n+"L-"+n+",-"+n+"M"+n+",-"+n+"L-"+n+","+n+"M"+a+",0A"+a+","+a+" 0 1,1 0,-"+a+"A"+a+","+a+" 0 0,1 "+a+",0Z")},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M0,"+a+"V-"+a+"M"+a+",0H-"+a+"M"+a+","+a+"H-"+a+"V-"+a+"H"+a+"Z")},needLine:!0,noDot:!0},"square-x":{n:30,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M"+a+","+a+"L-"+a+",-"+a+"M"+a+",-"+a+"L-"+a+","+a+"M"+a+","+a+"H-"+a+"V-"+a+"H"+a+"Z")},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.3,2);return Sr(r,t,"M"+a+",0L0,"+a+"L-"+a+",0L0,-"+a+"ZM0,-"+a+"V"+a+"M-"+a+",0H"+a)},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.3,2),n=Je(e*.65,2);return Sr(r,t,"M"+a+",0L0,"+a+"L-"+a+",0L0,-"+a+"ZM-"+n+",-"+n+"L"+n+","+n+"M-"+n+","+n+"L"+n+",-"+n)},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2);return Sr(r,t,"M0,"+a+"V-"+a+"M"+a+",0H-"+a)},needLine:!0,noDot:!0,noFill:!0},"x-thin":{n:34,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M"+a+","+a+"L-"+a+",-"+a+"M"+a+",-"+a+"L-"+a+","+a)},needLine:!0,noDot:!0,noFill:!0},asterisk:{n:35,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*.85,2);return Sr(r,t,"M0,"+a+"V-"+a+"M"+a+",0H-"+a+"M"+n+","+n+"L-"+n+",-"+n+"M"+n+",-"+n+"L-"+n+","+n)},needLine:!0,noDot:!0,noFill:!0},hash:{n:36,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e/2,2),n=Je(e,2);return Sr(r,t,"M"+a+","+n+"V-"+n+"M"+(a-n)+",-"+n+"V"+n+"M"+n+","+a+"H-"+n+"M-"+n+","+(a-n)+"H"+n)},needLine:!0,noFill:!0},"y-up":{n:37,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*1.6,2),i=Je(e*.8,2);return Sr(r,t,"M-"+a+","+i+"L0,0M"+a+","+i+"L0,0M0,-"+n+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-down":{n:38,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*1.6,2),i=Je(e*.8,2);return Sr(r,t,"M-"+a+",-"+i+"L0,0M"+a+",-"+i+"L0,0M0,"+n+"L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-left":{n:39,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*1.6,2),i=Je(e*.8,2);return Sr(r,t,"M"+i+","+a+"L0,0M"+i+",-"+a+"L0,0M-"+n+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"y-right":{n:40,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.2,2),n=Je(e*1.6,2),i=Je(e*.8,2);return Sr(r,t,"M-"+i+","+a+"L0,0M-"+i+",-"+a+"L0,0M"+n+",0L0,0")},needLine:!0,noDot:!0,noFill:!0},"line-ew":{n:41,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2);return Sr(r,t,"M"+a+",0H-"+a)},needLine:!0,noDot:!0,noFill:!0},"line-ns":{n:42,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*1.4,2);return Sr(r,t,"M0,"+a+"V-"+a)},needLine:!0,noDot:!0,noFill:!0},"line-ne":{n:43,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M"+a+",-"+a+"L-"+a+","+a)},needLine:!0,noDot:!0,noFill:!0},"line-nw":{n:44,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2);return Sr(r,t,"M"+a+","+a+"L-"+a+",-"+a)},needLine:!0,noDot:!0,noFill:!0},"arrow-up":{n:45,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e*2,2);return Sr(r,t,"M0,0L-"+a+","+n+"H"+a+"Z")},backoff:1,noDot:!0},"arrow-down":{n:46,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e*2,2);return Sr(r,t,"M0,0L-"+a+",-"+n+"H"+a+"Z")},noDot:!0},"arrow-left":{n:47,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2,2),n=Je(e,2);return Sr(r,t,"M0,0L"+a+",-"+n+"V"+n+"Z")},noDot:!0},"arrow-right":{n:48,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2,2),n=Je(e,2);return Sr(r,t,"M0,0L-"+a+",-"+n+"V"+n+"Z")},noDot:!0},"arrow-bar-up":{n:49,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e*2,2);return Sr(r,t,"M-"+a+",0H"+a+"M0,0L-"+a+","+n+"H"+a+"Z")},backoff:1,needLine:!0,noDot:!0},"arrow-bar-down":{n:50,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e,2),n=Je(e*2,2);return Sr(r,t,"M-"+a+",0H"+a+"M0,0L-"+a+",-"+n+"H"+a+"Z")},needLine:!0,noDot:!0},"arrow-bar-left":{n:51,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2,2),n=Je(e,2);return Sr(r,t,"M0,-"+n+"V"+n+"M0,0L"+a+",-"+n+"V"+n+"Z")},needLine:!0,noDot:!0},"arrow-bar-right":{n:52,f:function(e,r,t){if(kr(r))return Ar;var a=Je(e*2,2),n=Je(e,2);return Sr(r,t,"M0,-"+n+"V"+n+"M0,0L-"+a+",-"+n+"V"+n+"Z")},needLine:!0,noDot:!0},arrow:{n:53,f:function(e,r,t){if(kr(r))return Ar;var a=xm/2.5,n=2*e*_m(a),i=2*e*wm(a);return Sr(r,t,"M0,0L"+-n+","+i+"L"+n+","+i+"Z")},backoff:.9,noDot:!0},"arrow-wide":{n:54,f:function(e,r,t){if(kr(r))return Ar;var a=xm/4,n=2*e*_m(a),i=2*e*wm(a);return Sr(r,t,"M0,0L"+-n+","+i+"A "+2*e+","+2*e+" 0 0 1 "+n+","+i+"Z")},backoff:.4,noDot:!0}};function kr(e){return e===null}var A9,k9,S9,C9;function Sr(e,r,t){if((!e||e%360===0)&&!r)return t;if(S9===e&&C9===r&&A9===t)return k9;S9=e,C9=r,A9=t;function a(g,_){var T=_m(g),w=wm(g),b=_[0],M=_[1]+(r||0);return[b*T-M*w,b*w+M*T]}for(var n=e/180*xm,i=0,l=0,o=FU(t),s="",u=0;u{"use strict";var $t=Hr(),rt=Oe(),IU=rt.numberFormat,ko=Or(),Cm=wn(),w0=br(),ba=Er(),HU=ym(),gf=rt.strTranslate,T0=ga(),OU=_o(),BU=Ma(),YU=BU.LINE_SPACING,O9=Pv().DESELECTDIM,UU=un(),VU=x9(),GU=Ti().appendArrayPointValue,je=K9.exports={};je.font=function(e,r){var t=r.variant,a=r.style,n=r.weight,i=r.color,l=r.size,o=r.family,s=r.shadow,u=r.lineposition,f=r.textcase;o&&e.style("font-family",o),l+1&&e.style("font-size",l+"px"),i&&e.call(ba.fill,i),n&&e.style("font-weight",n),a&&e.style("font-style",a),t&&e.style("font-variant",t),f&&e.style("text-transform",Tm(XU(f))),s&&e.style("text-shadow",s==="auto"?T0.makeTextShadow(ba.contrast(i)):Tm(s)),u&&e.style("text-decoration-line",Tm(ZU(u)))};function Tm(e){return e==="none"?void 0:e}var WU={normal:"none",lower:"lowercase",upper:"uppercase","word caps":"capitalize"};function XU(e){return WU[e]}function ZU(e){return e.replace("under","underline").replace("over","overline").replace("through","line-through").split("+").join(" ")}je.setPosition=function(e,r,t){e.attr("x",r).attr("y",t)};je.setSize=function(e,r,t){e.attr("width",r).attr("height",t)};je.setRect=function(e,r,t,a,n){e.call(je.setPosition,r,t).call(je.setSize,a,n)};je.translatePoint=function(e,r,t,a){var n=t.c2p(e.x),i=a.c2p(e.y);if(ko(n)&&ko(i)&&r.node())r.node().nodeName==="text"?r.attr("x",n).attr("y",i):r.attr("transform",gf(n,i));else return!1;return!0};je.translatePoints=function(e,r,t){e.each(function(a){var n=$t.select(this);je.translatePoint(a,n,r,t)})};je.hideOutsideRangePoint=function(e,r,t,a,n,i){r.attr("display",t.isPtWithinRange(e,n)&&a.isPtWithinRange(e,i)?null:"none")};je.hideOutsideRangePoints=function(e,r){if(r._hasClipOnAxisFalse){var t=r.xaxis,a=r.yaxis;e.each(function(n){var i=n[0].trace,l=i.xcalendar,o=i.ycalendar,s=w0.traceIs(i,"bar-like")?".bartext":".point,.textpoint";e.selectAll(s).each(function(u){je.hideOutsideRangePoint(u,$t.select(this),t,a,l,o)})})}};je.crispRound=function(e,r,t){return!r||!ko(r)?t||0:e._context.staticPlot?r:r0&&(r=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(r+=200,e=e.replace("-dot","")),e=je.symbolNames.indexOf(e),e>=0&&(e+=r)}return e%100>=JU||e>=400?0:Math.floor(Math.max(e,0))};function Y9(e,r,t,a){var n=e%100;return je.symbolFuncs[n](r,t,a)+(e>=200?KU:"")}var E9=IU("~f"),U9={radial:{type:"radial"},radialreversed:{type:"radial",reversed:!0},horizontal:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0}},horizontalreversed:{type:"linear",start:{x:1,y:0},stop:{x:0,y:0},reversed:!0},vertical:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0}},verticalreversed:{type:"linear",start:{x:0,y:1},stop:{x:0,y:0},reversed:!0}};je.gradient=function(e,r,t,a,n,i){var l=U9[a];return V9(e,r,t,l.type,n,i,l.start,l.stop,!1,l.reversed)};function V9(e,r,t,a,n,i,l,o,s,u){var f=n.length,v;a==="linear"?v={node:"linearGradient",attrs:{x1:l.x,y1:l.y,x2:o.x,y2:o.y,gradientUnits:s?"userSpaceOnUse":"objectBoundingBox"},reversed:u}:a==="radial"&&(v={node:"radialGradient",reversed:u});for(var h=new Array(f),d=0;d=0&&e.i===void 0&&(e.i=i.i),r.style("opacity",a.selectedOpacityFn?a.selectedOpacityFn(e):e.mo===void 0?l.opacity:e.mo),a.ms2mrc){var s;e.ms==="various"||l.size==="various"?s=3:s=a.ms2mrc(e.ms),e.mrc=s,a.selectedSizeFn&&(s=e.mrc=a.selectedSizeFn(e));var u=je.symbolNumber(e.mx||l.symbol)||0;e.om=u%200>=100;var f=Dm(e,t),v=qm(e,t);r.attr("d",Y9(u,s,f,v))}var h=!1,d,m,y;if(e.so)y=o.outlierwidth,m=o.outliercolor,d=l.outliercolor;else{var g=(o||{}).width;y=(e.mlw+1||g+1||(e.trace?(e.trace.marker.line||{}).width:0)+1)-1||0,"mlc"in e?m=e.mlcc=a.lineScale(e.mlc):rt.isArrayOrTypedArray(o.color)?m=ba.defaultLine:m=o.color,rt.isArrayOrTypedArray(l.color)&&(d=ba.defaultLine,h=!0),"mc"in e?d=e.mcc=a.markerScale(e.mc):d=l.color||l.colors||"rgba(0,0,0,0)",a.selectedColorFn&&(d=a.selectedColorFn(e))}let _=e.mld||(o||{}).dash;if(_&&je.dashLine(r,_,y),e.om)r.call(ba.stroke,d).style({"stroke-width":(y||1)+"px",fill:"none"});else{r.style("stroke-width",(e.isBlank?0:y)+"px");var T=l.gradient,w=e.mgt;w?h=!0:w=T&&T.type,rt.isArrayOrTypedArray(w)&&(w=w[0],U9[w]||(w=0));var b=l.pattern,M=je.getPatternAttr,C=b&&(M(b.shape,e.i,"")||M(b.path,e.i,""));if(w&&w!=="none"){var k=e.mgc;k?h=!0:k=T.color;var q=t.uid;h&&(q+="-"+e.i),je.gradient(r,n,q,w,[[0,k],[1,d]],"fill")}else if(C){var D=!1,P=b.fgcolor;!P&&i&&i.color&&(P=i.color,D=!0);var z=M(P,e.i,i&&i.color||null),F=M(b.bgcolor,e.i,null),O=b.fgopacity,I=M(b.size,e.i,8),V=M(b.solidity,e.i,.3);D=D||e.mcc||rt.isArrayOrTypedArray(b.shape)||rt.isArrayOrTypedArray(b.path)||rt.isArrayOrTypedArray(b.bgcolor)||rt.isArrayOrTypedArray(b.fgcolor)||rt.isArrayOrTypedArray(b.size)||rt.isArrayOrTypedArray(b.solidity);var J=t.uid;D&&(J+="-"+e.i),je.pattern(r,"point",n,J,C,I,V,e.mcc,b.fillmode,F,z,O)}else rt.isArrayOrTypedArray(d)?ba.fill(r,d[e.i]):ba.fill(r,d);y&&ba.stroke(r,m)}};je.makePointStyleFns=function(e){var r={},t=e.marker;return r.markerScale=je.tryColorscale(t,""),r.lineScale=je.tryColorscale(t,"line"),w0.traceIs(e,"symbols")&&(r.ms2mrc=UU.isBubble(e)?VU(e):function(){return(t.size||6)/2}),e.selectedpoints&&rt.extendFlat(r,je.makeSelectedPointStyleFns(e)),r};je.makeSelectedPointStyleFns=function(e){var r={},t=e.selected||{},a=e.unselected||{},n=e.marker||{},i=t.marker||{},l=a.marker||{},o=n.opacity,s=i.opacity,u=l.opacity,f=s!==void 0,v=u!==void 0;(rt.isArrayOrTypedArray(o)||f||v)&&(r.selectedOpacityFn=function(b){var M=b.mo===void 0?n.opacity:b.mo;return b.selected?f?s:M:v?u:O9*M});var h=n.color,d=i.color,m=l.color;(d||m)&&(r.selectedColorFn=function(b){var M=b.mcc||h;return b.selected?d||M:m||M});var y=n.size,g=i.size,_=l.size,T=g!==void 0,w=_!==void 0;return w0.traceIs(e,"symbols")&&(T||w)&&(r.selectedSizeFn=function(b){var M=b.mrc||y/2;return b.selected?T?g/2:M:w?_/2:M}),r};je.makeSelectedTextStyleFns=function(e){var r={},t=e.selected||{},a=e.unselected||{},n=e.textfont||{},i=t.textfont||{},l=a.textfont||{},o=n.color,s=i.color,u=l.color;return r.selectedTextColorFn=function(f){var v=f.tc||o;return f.selected?s||v:u||(s?v:ba.addOpacity(v,O9))},r};je.selectedPointStyle=function(e,r){if(!(!e.size()||!r.selectedpoints)){var t=je.makeSelectedPointStyleFns(r),a=r.marker||{},n=[];t.selectedOpacityFn&&n.push(function(i,l){i.style("opacity",t.selectedOpacityFn(l))}),t.selectedColorFn&&n.push(function(i,l){ba.fill(i,t.selectedColorFn(l))}),t.selectedSizeFn&&n.push(function(i,l){var o=l.mx||a.symbol||0,s=t.selectedSizeFn(l);i.attr("d",Y9(je.symbolNumber(o),s,Dm(l,r),qm(l,r))),l.mrc2=s}),n.length&&e.each(function(i){for(var l=$t.select(this),o=0;o0?t:0}je.textPointStyle=function(e,r,t){if(e.size()){var a;if(r.selectedpoints){var n=je.makeSelectedTextStyleFns(r);a=n.selectedTextColorFn}var i=r.texttemplate,l=t._fullLayout;e.each(function(o){var s=$t.select(this),u=i?rt.extractOption(o,r,"txt","texttemplate"):rt.extractOption(o,r,"tx","text");if(!u&&u!==0){s.remove();return}if(i){var f=r._module.formatLabels,v=f?f(o,r,l):{},h={};GU(h,r,o.i),u=rt.texttemplateString({data:[h,o,r._meta],fallback:r.texttemplatefallback,labels:v,locale:l._d3locale,template:u})}var d=o.tp||r.textposition,m=W9(o,r),y=a?a(o):o.tc||r.textfont.color;s.call(je.font,{family:o.tf||r.textfont.family,weight:o.tw||r.textfont.weight,style:o.ty||r.textfont.style,variant:o.tv||r.textfont.variant,textcase:o.tC||r.textfont.textcase,lineposition:o.tE||r.textfont.lineposition,shadow:o.tS||r.textfont.shadow,size:m,color:y}).text(u).call(T0.convertToTspans,t).call(G9,d,m,o.mrc)})}};je.selectedTextStyle=function(e,r){if(!(!e.size()||!r.selectedpoints)){var t=je.makeSelectedTextStyleFns(r);e.each(function(a){var n=$t.select(this),i=t.selectedTextColorFn(a),l=a.tp||r.textposition,o=W9(a,r);ba.fill(n,i);var s=w0.traceIs(r,"bar-like");G9(n,l,o,a.mrc2||a.mrc,s)})}};var P9=.5;je.smoothopen=function(e,r){if(e.length=s||b>=f&&b=u||M>=v&&M=jU&&(je.savedBBoxes={},Am=0),t&&(je.savedBBoxes[t]=d),Am++,rt.extendFlat({},d)};function R9(e){var r=e.getAttribute("data-unformatted");if(r!==null)return r+e.getAttribute("data-math")+e.getAttribute("text-anchor")+e.getAttribute("style")}je.setClipUrl=function(e,r,t){e.attr("clip-path",Lm(r,t))};function Lm(e,r){if(!e)return null;var t=r._context,a=t._exportedPlot?"":t._baseUrl||"";return a?"url('"+a+"#"+e+"')":"url(#"+e+")"}je.getTranslate=function(e){var r=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,t=e.attr?"attr":"getAttribute",a=e[t]("transform")||"",n=a.replace(r,function(i,l,o){return[l,o].join(" ")}).split(" ");return{x:+n[0]||0,y:+n[1]||0}};je.setTranslate=function(e,r,t){var a=/(\btranslate\(.*?\);?)/,n=e.attr?"attr":"getAttribute",i=e.attr?"attr":"setAttribute",l=e[n]("transform")||"";return r=r||0,t=t||0,l=l.replace(a,"").trim(),l+=gf(r,t),l=l.trim(),e[i]("transform",l),l};je.getScale=function(e){var r=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,t=e.attr?"attr":"getAttribute",a=e[t]("transform")||"",n=a.replace(r,function(i,l,o){return[l,o].join(" ")}).split(" ");return{x:+n[0]||1,y:+n[1]||1}};je.setScale=function(e,r,t){var a=/(\bscale\(.*?\);?)/,n=e.attr?"attr":"getAttribute",i=e.attr?"attr":"setAttribute",l=e[n]("transform")||"";return r=r||1,t=t||1,l=l.replace(a,"").trim(),l+="scale("+r+","+t+")",l=l.trim(),e[i]("transform",l),l};var eV=/\s*sc.*/;je.setPointGroupScale=function(e,r,t){if(r=r||1,t=t||1,!!e){var a=r===1&&t===1?"":"scale("+r+","+t+")";e.each(function(){var n=(this.getAttribute("transform")||"").replace(eV,"");n+=a,n=n.trim(),this.setAttribute("transform",n)})}};var rV=/translate\([^)]*\)\s*$/;je.setTextPointsScale=function(e,r,t){e&&e.each(function(){var a,n=$t.select(this),i=n.select("text");if(i.node()){var l=parseFloat(i.attr("x")||0),o=parseFloat(i.attr("y")||0),s=(n.attr("transform")||"").match(rV);r===1&&t===1?a=[]:a=[gf(l,o),"scale("+r+","+t+")",gf(-l,-o)],s&&a.push(s),n.attr("transform",a.join(""))}})};function qm(e,r){var t;return e&&(t=e.mf),t===void 0&&(t=r.marker&&r.marker.standoff||0),!r._geo&&!r._xA?-t:t}je.getMarkerStandoff=qm;var yf=Math.atan2,To=Math.cos,Gs=Math.sin;function z9(e,r){var t=r[0],a=r[1];return[t*To(e)-a*Gs(e),t*Gs(e)+a*To(e)]}var N9,F9,I9,H9,km,Sm;function Dm(e,r){var t=e.ma;t===void 0&&(t=r.marker.angle,(!t||rt.isArrayOrTypedArray(t))&&(t=0));var a,n,i=r.marker.angleref;if(i==="previous"||i==="north"){if(r._geo){var l=r._geo.project(e.lonlat);a=l[0],n=l[1]}else{var o=r._xA,s=r._yA;if(o&&s)a=o.c2p(e.x),n=s.c2p(e.y);else return 90}if(r._geo){var u=e.lonlat[0],f=e.lonlat[1],v=r._geo.project([u,f+1e-5]),h=r._geo.project([u+1e-5,f]),d=yf(h[1]-n,h[0]-a),m=yf(v[1]-n,v[0]-a),y;if(i==="north")y=t/180*Math.PI;else if(i==="previous"){var g=u/180*Math.PI,_=f/180*Math.PI,T=N9/180*Math.PI,w=F9/180*Math.PI,b=T-g,M=To(w)*Gs(b),C=Gs(w)*To(_)-To(w)*Gs(_)*To(b);y=-yf(M,C)-Math.PI,N9=u,F9=f}var k=z9(d,[To(y),0]),q=z9(m,[Gs(y),0]);t=yf(k[1]+q[1],k[0]+q[0])/Math.PI*180,i==="previous"&&!(Sm===r.uid&&e.i===km+1)&&(t=null)}if(i==="previous"&&!r._geo)if(Sm===r.uid&&e.i===km+1&&ko(a)&&ko(n)){var D=a-I9,P=n-H9,z=r.line&&r.line.shape||"",F=z.slice(z.length-1);F==="h"&&(P=0),F==="v"&&(D=0),t+=yf(P,D)/Math.PI*180+90}else t=null}return I9=a,H9=n,km=e.i,Sm=r.uid,t}je.getMarkerAngle=Dm});var bf=K((pse,e8)=>{"use strict";var Ws=Hr(),tV=Or(),aV=Ft(),Em=br(),So=Oe(),Q9=So.strTranslate,M0=tt(),A0=Er(),Xs=ga(),$9=Pv(),nV=Ma().OPPOSITE_SIDE,j9=/ [XY][0-9]* /,Pm=1.6,Rm=1.6;function iV(e,r,t){var a=e._fullLayout,n=t.propContainer,i=t.propName,l=t.placeholder,o=t.traceIndex,s=t.avoid||{},u=t.attributes,f=t.transform,v=t.containerGroup,h=1,d=n.title,m=(d&&d.text?d.text:"").trim(),y=!1,g=d&&d.font?d.font:{},_=g.family,T=g.size,w=g.color,b=g.weight,M=g.style,C=g.variant,k=g.textcase,q=g.lineposition,D=g.shadow,P=t.subtitlePropName,z=!!P,F=t.subtitlePlaceholder,O=(n.title||{}).subtitle||{text:"",font:{}},I=(O.text||"").trim(),V=!1,J=1,G=O.font,U=G.family,H=G.size,Q=G.color,Z=G.weight,ne=G.style,ce=G.variant,ye=G.textcase,Se=G.lineposition,re=G.shadow,Ce;i==="title.text"?Ce="titleText":i.indexOf("axis")!==-1?Ce="axisTitleText":i.indexOf("colorbar")!==-1&&(Ce="colorbarTitleText");var pe=e._context.edits[Ce];function be(Fe,Xe){return Fe===void 0||Xe===void 0?!1:Fe.replace(j9," % ")===Xe.replace(j9," % ")}m===""?h=0:be(m,l)&&(pe||(m=""),h=.2,y=!0),z&&(I===""?J=0:be(I,F)&&(pe||(I=""),J=.2,V=!0)),t._meta?m=So.templateString(m,t._meta):a._meta&&(m=So.templateString(m,a._meta));var Ae=m||I||pe,ge;v||(v=So.ensureSingle(a._infolayer,"g","g-"+r),ge=a._hColorbarMoveTitle);var B=v.selectAll("text."+r).data(Ae?[0]:[]);B.enter().append("text"),B.text(m).attr("class",r),B.exit().remove();var $=null,Y=r+"-subtitle",le=I||pe;if(z&&($=v.selectAll("text."+Y).data(le?[0]:[]),$.enter().append("text"),$.text(I).attr("class",Y),$.exit().remove()),!Ae)return v;function he(Fe,Xe){So.syncOrAsync([me,Re],{title:Fe,subtitle:Xe})}function me(Fe){var Xe=Fe.title,De=Fe.subtitle,Ie;!f&&ge&&(f={}),f?(Ie="",f.rotate&&(Ie+="rotate("+[f.rotate,u.x,u.y]+")"),(f.offset||ge)&&(Ie+=Q9(0,(f.offset||0)-(ge||0)))):Ie=null,Xe.attr("transform",Ie);function We(Me){if(Me){var ke=Ws.select(Me.node().parentNode).select("."+Y);if(!ke.empty()){var He=Me.node().getBBox();if(He.height){var Ze=He.y+He.height+Pm*H;ke.attr("y",Ze)}}}}if(Xe.style("opacity",h*A0.opacity(w)).call(M0.font,{color:A0.rgb(w),size:Ws.round(T,2),family:_,weight:b,style:M,variant:C,textcase:k,shadow:D,lineposition:q}).attr(u).call(Xs.convertToTspans,e,We),De&&!De.empty()){var ie=v.select("."+r+"-math-group"),xe=Xe.node().getBBox(),Ke=ie.node()?ie.node().getBBox():void 0,hr=Ke?Ke.y+Ke.height+Pm*H:xe.y+xe.height+Rm*H,ze=So.extendFlat({},u,{y:hr});De.attr("transform",Ie),De.style("opacity",J*A0.opacity(Q)).call(M0.font,{color:A0.rgb(Q),size:Ws.round(H,2),family:U,weight:Z,style:ne,variant:ce,textcase:ye,shadow:re,lineposition:Se}).attr(ze).call(Xs.convertToTspans,e)}return aV.previousPromises(e)}function Re(Fe){var Xe=Fe.title,De=Ws.select(Xe.node().parentNode);if(s&&s.selection&&s.side&&m){De.attr("transform",null);var Ie=nV[s.side],We=s.side==="left"||s.side==="top"?-1:1,ie=tV(s.pad)?s.pad:2,xe=M0.bBox(De.node()),Ke={t:0,b:0,l:0,r:0},hr=e._fullLayout._reservedMargin;for(var ze in hr)for(var Me in hr[ze]){var ke=hr[ze][Me];Ke[Me]=Math.max(Ke[Me],ke)}var He={left:Ke.l,top:Ke.t,right:a.width-Ke.r,bottom:a.height-Ke.b},Ze=s.maxShift||We*(He[s.side]-xe[s.side]),Ue=0;if(Ze0||Ze{"use strict";var lV=Hr(),oV=bs().utcFormat,it=Oe(),sV=it.numberFormat,Mi=Or(),Al=it.cleanNumber,uV=it.ms2DateTime,r8=it.dateTime2ms,Ai=it.ensureNumber,t8=it.isArrayOrTypedArray,kl=Vt(),k0=kl.FP_SAFE,ri=kl.BADNUM,fV=kl.LOG_CLIP,cV=kl.ONEWEEK,S0=kl.ONEDAY,C0=kl.ONEHOUR,a8=kl.ONEMIN,n8=kl.ONESEC,L0=Xt(),E0=Qt(),q0=E0.HOUR_PATTERN,D0=E0.WEEKDAY_PATTERN;function xf(e){return Math.pow(10,e)}function zm(e){return e!=null}i8.exports=function(r,t){t=t||{};var a=r._id||"x",n=a.charAt(0);function i(b,M){if(b>0)return Math.log(b)/Math.LN10;if(br.range[1]&&(C=!C);for(var k=C?-1:1,q=k*b,D=0,P=0;PF)D=P+1;else{D=qr._rangebreaks[k].pmax&&(C=k+1);return y(b,r._m2,r._B[C])}}r.c2l=r.type==="log"?i:Ai,r.l2c=r.type==="log"?xf:Ai,r.l2p=g,r.p2l=_,r.c2p=r.type==="log"?function(b,M){return g(i(b,M))}:g,r.p2c=r.type==="log"?function(b){return xf(_(b))}:_,["linear","-"].indexOf(r.type)!==-1?(r.d2r=r.r2d=r.d2c=r.r2c=r.d2l=r.r2l=Al,r.c2d=r.c2r=r.l2d=r.l2r=Ai,r.d2p=r.r2p=function(b){return r.l2p(Al(b))},r.p2d=r.p2r=_,r.cleanPos=Ai):r.type==="log"?(r.d2r=r.d2l=function(b,M){return i(Al(b),M)},r.r2d=r.r2c=function(b){return xf(Al(b))},r.d2c=r.r2l=Al,r.c2d=r.l2r=Ai,r.c2r=i,r.l2d=xf,r.d2p=function(b,M){return r.l2p(r.d2r(b,M))},r.p2d=function(b){return xf(_(b))},r.r2p=function(b){return r.l2p(Al(b))},r.p2r=_,r.cleanPos=Ai):r.type==="date"?(r.d2r=r.r2d=it.identity,r.d2c=r.r2c=r.d2l=r.r2l=l,r.c2d=r.c2r=r.l2d=r.l2r=o,r.d2p=r.r2p=function(b,M,C){return r.l2p(l(b,0,C))},r.p2d=r.p2r=function(b,M,C){return o(_(b),M,C)},r.cleanPos=function(b){return it.cleanDate(b,ri,r.calendar)}):r.type==="category"?(r.d2c=r.d2l=u,r.r2d=r.c2d=r.l2d=s,r.d2r=r.d2l_noadd=h,r.r2c=function(b){var M=d(b);return M!==void 0?M:r.fraction2r(.5)},r.l2r=r.c2r=Ai,r.r2l=d,r.d2p=function(b){return r.l2p(r.r2c(b))},r.p2d=function(b){return s(_(b))},r.r2p=r.d2p,r.p2r=_,r.cleanPos=function(b){return typeof b=="string"&&b!==""?b:Ai(b)}):r.type==="multicategory"&&(r.r2d=r.c2d=r.l2d=s,r.d2r=r.d2l_noadd=h,r.r2c=function(b){var M=h(b);return M!==void 0?M:r.fraction2r(.5)},r.r2c_just_indices=v,r.l2r=r.c2r=Ai,r.r2l=h,r.d2p=function(b){return r.l2p(r.r2c(b))},r.p2d=function(b){return s(_(b))},r.r2p=r.d2p,r.p2r=_,r.cleanPos=function(b){return Array.isArray(b)||typeof b=="string"&&b!==""?b:Ai(b)},r.setupMultiCategory=function(b){var M=r._traceIndices,C,k,q=r._matchGroup;if(q&&r._categories.length===0){for(var D in q)if(D!==a){var P=t[L0.id2name(D)];M=M.concat(P._traceIndices)}}var z=[[0,{}],[0,{}]],F=[];for(C=0;CP[1]&&(k[D?0:1]=C,q[1]=P[1]),q[0]>=q[1])if(M!==void 0){var z=P[0]+1;C!==void 0&&(z=Math.min(z,P[1])),k[D?0:1]=r.l2r(z)}else C!==void 0&&(k[D?1:0]=r.l2r(P[1]-1))}},r.cleanRange=function(b,M){r._cleanRange(b,M),r.limitRange(b)},r._cleanRange=function(b,M){M||(M={}),b||(b="range");var C=it.nestedProperty(r,b).get(),k,q;if(r.type==="date"?q=it.dfltRange(r.calendar):n==="y"?q=E0.DFLTRANGEY:r._name==="realaxis"?q=[0,1]:q=M.dfltRange||E0.DFLTRANGEX,q=q.slice(),(r.rangemode==="tozero"||r.rangemode==="nonnegative")&&(q[0]=0),!C||C.length!==2){it.nestedProperty(r,b).set(q);return}var D=C[0]===null,P=C[1]===null;for(r.type==="date"&&!r.autorange&&(C[0]=it.cleanDate(C[0],ri,r.calendar),C[1]=it.cleanDate(C[1],ri,r.calendar)),k=0;kk0&&(C[k]=k0),C[0]===C[1]){var F=Math.max(1,Math.abs(C[0]*1e-6));C[0]-=F,C[1]+=F}}},r.setScale=function(b){var M=t._size;if(r.overlaying){var C=L0.getFromId({_fullLayout:t},r.overlaying);r.domain=C.domain}var k=b&&r._r?"_r":"range",q=r.calendar;r.cleanRange(k);var D=r.r2l(r[k][0],q),P=r.r2l(r[k][1],q),z=n==="y";if(z?(r._offset=M.t+(1-r.domain[1])*M.h,r._length=M.h*(r.domain[1]-r.domain[0]),r._m=r._length/(D-P),r._b=-r._m*P):(r._offset=M.l+r.domain[0]*M.w,r._length=M.w*(r.domain[1]-r.domain[0]),r._m=r._length/(P-D),r._b=-r._m*D),r._rangebreaks=[],r._lBreaks=0,r._m2=0,r._B=[],r.rangebreaks){var F,O;if(r._rangebreaks=r.locateBreaks(Math.min(D,P),Math.max(D,P)),r._rangebreaks.length){for(F=0;FP&&(I=!I),I&&r._rangebreaks.reverse();var V=I?-1:1;for(r._m2=V*r._length/(Math.abs(P-D)-r._lBreaks),r._B.push(-r._m2*(z?P:D)),F=0;Fq&&(q+=7,Dq&&(q+=24,D=k&&D=k&&b=re.min&&(nere.max&&(re.max=ce),ye=!1)}ye&&P.push({min:ne,max:ce})}};for(C=0;C{"use strict";var l8=Or(),Nm=Oe(),vV=Vt().BADNUM,R0=Nm.isArrayOrTypedArray,hV=Nm.isDateTime,dV=Nm.cleanNumber,o8=Math.round;u8.exports=function(r,t,a){var n=r,i=a.noMultiCategory;if(R0(n)&&!n.length)return"-";if(!i&&bV(n))return"multicategory";if(i&&Array.isArray(n[0])){for(var l=[],o=0;oi*2}function s8(e){return Math.max(1,(e-1)/1e3)}function gV(e,r){for(var t=e.length,a=s8(t),n=0,i=0,l={},o=0;on*2}function bV(e){return R0(e[0])&&R0(e[1])}});var _f=K((gse,y8)=>{"use strict";var xV=Hr(),h8=Or(),Sl=Oe(),z0=Vt().FP_SAFE,_V=br(),wV=tt(),d8=Xt(),TV=d8.getFromId,MV=d8.isLinked;y8.exports={applyAutorangeOptions:m8,getAutoRange:Im,makePadFn:Hm,doAutoRange:kV,findExtremes:SV,concatExtremes:Ym};function Im(e,r){var t,a,n=[],i=e._fullLayout,l=Hm(i,r,0),o=Hm(i,r,1),s=Ym(e,r),u=s.min,f=s.max;if(u.length===0||f.length===0)return Sl.simpleMap(r.range,r.r2l);var v=u[0].val,h=f[0].val;for(t=1;t0&&(P=w-l(C)-o(k),P>b?z/P>M&&(q=C,D=k,M=z/P):z/w>M&&(q={val:C.val,nopad:1},D={val:k.val,nopad:1},M=z/w));function F(G,U){return Math.max(G,o(U))}if(v===h){var O=v-1,I=v+1;if(_)if(v===0)n=[0,1];else{var V=(v>0?f:u).reduce(F,0),J=v/(1-Math.min(.5,V/w));n=v>0?[0,J]:[J,0]}else T?n=[Math.max(0,O),Math.max(1,I)]:n=[O,I]}else _?(q.val>=0&&(q={val:0,nopad:1}),D.val0?t.ppadplus:t.ppadminus)||t.ppad||0),C=b((e._m>0?t.ppadminus:t.ppadplus)||t.ppad||0),k=b(t.vpadplus||t.vpad),q=b(t.vpadminus||t.vpad);if(!u){if(T=1/0,w=-1/0,s)for(v=0;v0&&(T=h),h>w&&h-z0&&(T=h),h>w&&h=z;v--)P(v);return{min:a,max:n,opts:t}}function Om(e,r,t,a){p8(e,r,t,a,CV)}function Bm(e,r,t,a){p8(e,r,t,a,LV)}function p8(e,r,t,a,n){for(var i=a.tozero,l=a.extrapad,o=!0,s=0;s=t&&(u.extrapad||!l)){o=!1;break}else n(r,u.val)&&u.pad=r}function qV(e,r){var t=r.autorangeoptions;return t&&t.minallowed!==void 0&&N0(r,t.minallowed,t.maxallowed)?t.minallowed:t&&t.clipmin!==void 0&&N0(r,t.clipmin,t.clipmax)?Math.max(e,r.d2l(t.clipmin)):e}function DV(e,r){var t=r.autorangeoptions;return t&&t.maxallowed!==void 0&&N0(r,t.minallowed,t.maxallowed)?t.maxallowed:t&&t.clipmax!==void 0&&N0(r,t.clipmin,t.clipmax)?Math.min(e,r.d2l(t.clipmax)):e}function N0(e,r,t){return r!==void 0&&t!==void 0?(r=e.d2l(r),t=e.d2l(t),r=s&&(i=s,t=s),l{"use strict";var Sn=Hr(),Ht=Or(),Zs=Ft(),Tf=br(),gr=Oe(),Js=gr.strTranslate,Co=ga(),EV=bf(),Mf=Er(),fn=tt(),PV=jn(),g8=im(),bse=Qt(),xa=Vt(),RV=xa.ONEMAXYEAR,H0=xa.ONEAVGYEAR,O0=xa.ONEMINYEAR,zV=xa.ONEMAXQUARTER,Wm=xa.ONEAVGQUARTER,B0=xa.ONEMINQUARTER,NV=xa.ONEMAXMONTH,Ks=xa.ONEAVGMONTH,Y0=xa.ONEMINMONTH,cn=xa.ONEWEEK,Pa=xa.ONEDAY,Cl=Pa/2,Si=xa.ONEHOUR,Af=xa.ONEMIN,U0=xa.ONESEC,FV=xa.ONEMILLI,IV=xa.ONEMICROSEC,Lo=xa.MINUS_SIGN,G0=xa.BADNUM,Xm={K:"zeroline"},Zm={K:"gridline",L:"path"},Jm={K:"minor-gridline",L:"path"},L8={K:"tick",L:"path"},b8={K:"tick",L:"text"},x8={width:["x","r","l","xl","xr"],height:["y","t","b","yt","yb"],right:["r","xr"],left:["l","xl"],top:["t","yt"],bottom:["b","yb"]},W0=Ma(),wf=W0.MID_SHIFT,qo=W0.CAP_SHIFT,kf=W0.LINE_SPACING,HV=W0.OPPOSITE_SIDE,V0=3,Be=O8.exports={};Be.setConvert=P0();var OV=Fm(),Ci=Xt(),BV=Ci.idSort,YV=Ci.isLinked;Be.id2name=Ci.id2name;Be.name2id=Ci.name2id;Be.cleanId=Ci.cleanId;Be.list=Ci.list;Be.listIds=Ci.listIds;Be.getFromId=Ci.getFromId;Be.getFromTrace=Ci.getFromTrace;var q8=_f();Be.getAutoRange=q8.getAutoRange;Be.findExtremes=q8.findExtremes;var UV=1e-4;function jm(e){var r=(e[1]-e[0])*UV;return[e[0]-r,e[1]+r]}Be.coerceRef=function(e,r,t,a,n,i){var l=a.charAt(a.length-1),o=t._fullLayout._subplots[l+"axis"],s=a+"ref",u={};return n||(n=o[0]||(typeof i=="string"?i:i[0])),i||(i=n),o=o.concat(o.map(function(f){return f+" domain"})),u[s]={valType:"enumerated",values:o.concat(i?typeof i=="string"?[i]:i:[]),dflt:n},gr.coerce(e,r,u,s)};Be.coerceRefArray=function(e,r,t,a,n,i,l){let o=a.charAt(a.length-1);var s=t._fullLayout._subplots[o+"axis"];let u=a+"ref";var f=e[u];n||(n=s[0]||(typeof i=="string"?i:i[0])),s=s.concat(s.map(h=>h+" domain")),s=s.concat(i||[]),f.length>l?(gr.warn("Array attribute "+u+" has more entries than expected, truncating to "+l),f=f.slice(0,l)):f.length2e-6||((t-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0))};Be.saveRangeInitial=function(e,r){for(var t=Be.list(e,"",!0),a=!1,n=0;nv*.3||u(a)||u(n))){var h=t.dtick/2;e+=e+hl){var o=Number(t.slice(1));i.exactYears>l&&o%12===0?e=Be.tickIncrement(e,"M6","reverse")+Pa*1.5:i.exactMonths>l?e=Be.tickIncrement(e,"M1","reverse")+Pa*15.5:e-=Cl;var s=Be.tickIncrement(e,t);if(s=12&&f===2&&(e.dtick="M3"):e.dtick=r.dtick:String(e.dtick).charAt(0)==="L"?String(r.dtick).charAt(0)==="L"?Um(u,f)||(e.dtick=T8(u/f,2.5)?r.dtick/2:r.dtick):e.dtick="D1":e.dtick==="D2"&&+r.dtick>1&&(e.dtick=1)}e.range=r.range}((h=r.minor)==null?void 0:h._tick0Init)===void 0&&(e.tick0=r.tick0)};function Um(e,r){return Math.abs((e/r+.5)%1-.5)<.001 t8 math.abs t="gr.simpleMap(e.range,e.r2l,void" a='e.nticks,n;a||(e.type==="category"||e.type==="multicategory"?(n=e.tickfont?gr.bigFont(e.tickfont.size||12):15,a=e._length/n):(n=e._id.charAt(0)==="y"?40:80,a=gr.constrain(e._length/n,4,9)+1),e._name==="radialaxis"&&(a*=2)),e.minor&&e.minor.tickmode!=="array"||e.tickmode==="array"&&(a*=100),e._roughDTick=Math.abs(t[1]-t[0])/a,Be.autoTicks(e,e._roughDTick),e._minDtick'>0&&e.dtick0?(i=a-1,l=a):(i=a,l=a);var o=e[i].value,s=e[l].value,u=Math.abs(s-o),f=t||u,v=0;f>=O0?u>=O0&&u=B0?u>=B0&&u=Y0?u>=Y0&&u=cn?v=cn:f>=Pa?v=Pa:t===Cl&&f>=Cl?v=Cl:t===Si&&f>=Si&&(v=Si);var h;v>=u&&(v=u,h=!0);var d=n+v;if(r.rangebreaks&&v>0){for(var m=84,y=0,g=0;gcn&&(v=u)}(v>0||a===0)&&(e[a].periodX=n+v/2)}}Be.calcTicks=function(r,t){for(var a=r.type,n=r.calendar,i=r.ticklabelstep,l=r.ticklabelmode==="period",o=r.range[0]>r.range[1],s=!r.ticklabelindex||gr.isArrayOrTypedArray(r.ticklabelindex)?r.ticklabelindex:[r.ticklabelindex],u=gr.simpleMap(r.range,r.r2l,void 0,void 0,t),f=u[1]=(b?0:1);M--){var C=!M;M?(r._dtickInit=r.dtick,r._tick0Init=r.tick0):b&&(r.minor._dtickInit=r.minor.dtick,r.minor._tick0Init=r.minor.tick0);var k=M?r:gr.extendFlat({},r,b?r.minor:{minor:{}});if(C?Be.prepMinorTicks(k,r,t):Be.prepTicks(k,t),k.tickmode==="array"){M?(g=[],m=M8(r,!C)):(_=[],y=M8(r,!C));continue}if(k.tickmode==="sync"){g=[],m=JV(r);continue}var q=jm(u),D=q[0],P=q[1],z=Ht(k.dtick),F=a==="log"&&!(z||k.dtick.charAt(0)==="L"),O=Be.tickFirst(k,t);if(M){if(r._tmin=O,O=P:V=h)break}if(g.length>d||V===I)break;I=V;var H={value:V};M?(F&&V!==(V|0)&&(H.simpleLabel=!0),i>1&&J%i&&(H.skipLabel=!0),g.push(H)):(H.minor=!0,_.push(H))}}if(!_||_.length=0&&De-1;ge--){if(g[ge].drop){g.splice(ge,1);continue}g[ge].value=Gm(g[ge].value,r);var le=r.c2p(g[ge].value);(B?Y>le-$:Yh||Ieh&&(De.periodX=h),Ien&&hH0)r/=H0,a=n(10),e.dtick="M"+12*ki(r,a,F0);else if(i>Ks)r/=Ks,e.dtick="M"+ki(r,1,A8);else if(i>Pa){if(e.dtick=ki(r,Pa,e._hasDayOfWeekBreaks?[1,2,7,14]:KV),!t){var l=Be.getTickFormat(e),o=e.ticklabelmode==="period";o&&(e._rawTick0=e.tick0),/%[uVW]/.test(l)?e.tick0=gr.dateTick0(e.calendar,2):e.tick0=gr.dateTick0(e.calendar,1),o&&(e._dowTick0=e.tick0)}}else i>Si?e.dtick=ki(r,Si,A8):i>Af?e.dtick=ki(r,Af,k8):i>U0?e.dtick=ki(r,U0,k8):(a=n(10),e.dtick=ki(r,a,F0))}else if(e.type==="log"){e.tick0=0;var s=gr.simpleMap(e.range,e.r2l);if(e._isMinor&&(r*=1.5),r>.7)e.dtick=Math.ceil(r);else if(Math.abs(s[1]-s[0]).3?"D2":"D1"}else e.type==="category"||e.type==="multicategory"?(e.tick0=0,e.dtick=Math.ceil(Math.max(r,1))):ay(e)?(e.tick0=0,a=1,e.dtick=ki(r,a,QV)):(e.tick0=0,a=n(10),e.dtick=ki(r,a,F0));if(e.dtick===0&&(e.dtick=1),!Ht(e.dtick)&&typeof e.dtick!="string"){var f=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(f)}};function R8(e){var r=e.dtick;if(e._tickexponent=0,!Ht(r)&&typeof r!="string"&&(r=1),(e.type==="category"||e.type==="multicategory")&&(e._tickround=null),e.type==="date"){var t=e.r2l(e.tick0),a=e.l2r(t).replace(/(^-|i)/g,""),n=a.length;if(String(r).charAt(0)==="M")n>10||a.slice(5)!=="01-01"?e._tickround="d":e._tickround=+r.slice(1)%12===0?"y":"m";else if(r>=Pa&&n=Pa*15)e._tickround="d";else if(r>=Af&&n=Si)e._tickround="M";else if(r>=U0&&n=Af)e._tickround="S";else{var i=e.l2r(t+r).replace(/^-/,"").length;e._tickround=Math.max(n,i)-20,e._tickroundu&&(Qs(e.exponentformat)&&e.exponentformat!=="SI extended"&&!ey(s)||Qs(e.exponentformat)&&e.exponentformat==="SI extended"&&!ry(s)?e._tickexponent=3*Math.round((s-1)/3):e._tickexponent=s)}else e._tickround=null}Be.tickIncrement=function(e,r,t,a){var n=t?-1:1;if(Ht(r))return gr.increment(e,n*r);var i=r.charAt(0),l=n*Number(r.slice(1));if(i==="M")return gr.incrementMonth(e,l,a);if(i==="L")return Math.log(Math.pow(10,e)+l)/Math.LN10;if(i==="D"){var o=r==="D2"?P8:E8,s=e+n*.01,u=gr.roundUp(gr.mod(s,1),o,t);return Math.floor(s)+Math.log(Sn.round(Math.pow(10,u),1))/Math.LN10}throw"unrecognized dtick "+String(r)};Be.tickFirst=function(e,r){var t=e.r2l||Number,a=gr.simpleMap(e.range,t,void 0,void 0,r),n=a[1]=0&&_"+o;else{var u=Cf(e),f=e._trueSide||e.side;(!u&&f==="top"||u&&f==="bottom")&&(l+="
")}r.text=l}function jV(e,r,t,a,n){var i=e.dtick,l=r.x,o=e.tickformat,s=typeof i=="string"&&i.charAt(0);if(n==="never"&&(n=""),a&&s!=="L"&&(i="L3",s="L"),o||s==="L")r.text=Sf(Math.pow(10,l),e,n,a);else if(Ht(i)||s==="D"&&(e.minorloglabels==="complete"||gr.mod(l+.01,1)<.1 u f='Math.pow(10,l).toExponential(0),v=f.split("e"),h=+v[1],d=Math.abs(h),m=e.exponentformat;m==="power"||Qs(m)&&m!=="SI' extended>0&&(r.text+="x10"),r.text==="1x10"&&(r.text="10"),h!==0&&h!==1&&(r.text+=""+(h>0?"":Lo)+d+""),r.fontSize*=1.25):(m==="e"||m==="E")&&d>2?r.text=v[0]+m+(h>0?"+":Lo)+d:(r.text=Sf(Math.pow(10,l),e,"","fakehover"),i==="D1"&&e._id.charAt(0)==="y"&&(r.dy-=r.fontSize/6))}else if(s==="D")r.text=e.minorloglabels==="none"?"":String(Math.round(Math.pow(10,gr.mod(l,1)))),r.fontSize*=.75;else throw"unrecognized dtick "+String(i);if(e.dtick==="D1"){var y=String(r.text).charAt(0);(y==="0"||y==="1")&&(e._id.charAt(0)==="y"?r.dx-=r.fontSize/4:(r.dy+=r.fontSize/2,r.dx+=(e.range[1]>e.range[0]?1:-1)*r.fontSize*(l=100)r.text=Sf(gr.deg2rad(r.x),e,n,a);else{var o=r.x",l[0],"","\u2044","",l[1],"","\u03C0"].join(""),o&&(r.text=Lo+r.text)}}}else r.text=Sf(r.x,e,n,a)}function nG(e){function r(o,s){return Math.abs(o-s)["SI","SI extended","B"].includes(e);function ey(e){return e>14||e32||e"+m+"":l==="B"&&o===9?e+="B":Qs(l)&&(e+=l==="SI extended"?iG[o/3+10]:N8[o/3+5])}return n?Lo+e:e}Be.getTickFormat=function(e){var r;function t(s){return typeof s!="string"?s:Number(s.replace("M",""))*Ks}function a(s,u){var f=["L","D"];if(typeof s==typeof u){if(typeof s=="number")return s-u;var v=f.indexOf(s.charAt(0)),h=f.indexOf(u.charAt(0));return v===h?Number(s.replace(/(L|D)/g,""))-Number(u.replace(/(L|D)/g,"")):v-h}else return typeof s=="number"?1:-1}function n(s,u,f){var v=f||function(m){return m},h=u[0],d=u[1];return(!h&&typeof h!="number"||v(h)=v(s))}function i(s,u){var f=u[0]===null,v=u[1]===null,h=a(s,u[0])>=0,d=a(s,u[1])0)switch(e.type){case"date":case"linear":{for(r=0;r=0&&n.unshift(n.splice(f,1).shift())}});var o={false:{left:0,right:0}};return gr.syncOrAsync(n.map(function(s){return function(){if(s){var u=Be.getFromId(e,s);t||(t={}),t.axShifts=o,t.overlayingShiftedAx=l;var f=Be.drawOne(e,u,t);return u._shiftPusher&&$m(u,u._fullDepth||0,o,!0),u._r=u.range.slice(),u._rl=gr.simpleMap(u._r,u.r2l),f}}}))};Be.drawOne=function(e,r,t){t=t||{};var a=t.axShifts||{},n=t.overlayingShiftedAx||[],i,l,o;r.setScale();var s=e._fullLayout,u=r._id,f=u.charAt(0),v=Be.counterLetter(u),h=s._plots[r._mainSubplot],d=r.zerolinelayer==="above traces";if(!h)return;if(r._shiftPusher=r.autoshift||n.indexOf(r._id)!==-1||n.indexOf(r.overlaying)!==-1,r._shiftPusher&r.anchor==="free"){var m=r.linewidth/2||0;r.ticks==="inside"&&(m+=r.ticklen),$m(r,m,a,!0),$m(r,r.shift||0,a,!1)}(t.skipTitle!==!0||r._shift===void 0)&&(r._shift=bG(r,a));var y=h[f+"axislayer"],g=r._mainLinePosition,_=g+=r._shift,T=r._mainMirrorPosition,w=r._vals=Be.calcTicks(r),b=[r.mirror,_,T].join("_");for(i=0;i0?De.bottom-Fe:0,Xe))));var xe=0,Ke=0;if(r._shiftPusher&&(xe=Math.max(Xe,De.height>0?Le==="l"?Fe-De.left:De.right-Fe:0),r.title.text!==s._dfltTitle[f]&&(Ke=(r._titleStandoff||0)+(r._titleScoot||0),Le==="l"&&(Ke+=C8(r))),r._fullDepth=Math.max(xe,Ke)),r.automargin){Ie={x:0,y:0,r:0,l:0,t:0,b:0};var hr=[0,1],ze=typeof r._shift=="number"?r._shift:0;if(f==="x"){if(Le==="b"?Ie[Le]=r._depth:(Ie[Le]=r._depth=Math.max(De.width>0?Fe-De.top:0,Xe),hr.reverse()),De.width>0){var Me=De.right-(r._offset+r._length);Me>0&&(Ie.xr=1,Ie.r=Me);var ke=r._offset-De.left;ke>0&&(Ie.xl=0,Ie.l=ke)}}else if(Le==="l"?(r._depth=Math.max(De.height>0?Fe-De.left:0,Xe),Ie[Le]=r._depth-ze):(r._depth=Math.max(De.height>0?De.right-Fe:0,Xe),Ie[Le]=r._depth+ze,hr.reverse()),De.height>0){var He=De.bottom-(r._offset+r._length);He>0&&(Ie.yb=0,Ie.b=He);var Ze=r._offset-De.top;Ze>0&&(Ie.yt=1,Ie.t=Ze)}Ie[v]=r.anchor==="free"?r.position:r._anchorAxis.domain[hr[0]],r.title.text!==s._dfltTitle[f]&&(Ie[Le]+=C8(r)+(r.title.standoff||0)),r.mirror&&r.anchor!=="free"&&(We={x:0,y:0,r:0,l:0,t:0,b:0},We[Ve]=r.linewidth,r.mirror&&r.mirror!==!0&&(We[Ve]+=Xe),r.mirror===!0||r.mirror==="ticks"?We[v]=r._anchorAxis.domain[hr[1]]:(r.mirror==="all"||r.mirror==="allticks")&&(We[v]=[r._counterDomainMin,r._counterDomainMax][hr[1]]))}Ee&&(ie=Tf.getComponentMethod("rangeslider","autoMarginOpts")(e,r)),typeof r.automargin=="string"&&(S8(Ie,r.automargin),S8(We,r.automargin)),Zs.autoMargin(e,ty(r),Ie),Zs.autoMargin(e,I8(r),We),Zs.autoMargin(e,H8(r),ie)}),gr.syncOrAsync(me)}};function S8(e,r){if(e){var t=Object.keys(x8).reduce(function(a,n){return r.indexOf(n)!==-1&&x8[n].forEach(function(i){a[i]=1}),a},{});Object.keys(e).forEach(function(a){t[a]||(a.length===1?e[a]=0:delete e[a])})}}function oG(e,r){var t=[],a,n=function(i,l){var o=i.xbnd[l];o!==null&&t.push(gr.extendFlat({},i,{x:o}))};if(r.length){for(a=0;ae.range[1],o=e.ticklabelposition&&e.ticklabelposition.indexOf("inside")!==-1,s=!o;if(t){var u=l?-1:1;t=t*u}if(a){var f=e.side,v=o&&(f==="top"||f==="left")||s&&(f==="bottom"||f==="right")?1:-1;a=a*v}return e._id.charAt(0)==="x"?function(h){return Js(n+e._offset+e.l2p(Km(h))+t,i+a)}:function(h){return Js(i+a,n+e._offset+e.l2p(Km(h))+t)}};function Km(e){return e.periodX!==void 0?e.periodX:e.x}function cG(e){var r=e.ticklabelposition||"",t=e.tickson||"",a=function(m){return r.indexOf(m)!==-1},n=a("top"),i=a("left"),l=a("right"),o=a("bottom"),s=a("inside"),u=t!=="boundaries"&&(o||i||n||l);if(!u&&!s)return[0,0];var f=e.side,v=u?(e.tickwidth||0)/2:0,h=V0,d=e.tickfont?e.tickfont.size:12;return(o||n)&&(v+=d*qo,h+=(e.linewidth||0)/2),(i||l)&&(v+=(e.linewidth||0)/2,h+=V0),s&&f==="top"&&(h-=d*(1-qo)),(i||n)&&(v=-v),(f==="bottom"||f==="right")&&(h=-h),[u?v:0,s?h:0]}Be.makeTickPath=function(e,r,t,a){a||(a={});var n=a.minor;if(n&&!e.minor)return"";var i=a.len!==void 0?a.len:n?e.minor.ticklen:e.ticklen,l=e._id.charAt(0),o=(e.linewidth||1)/2;return l==="x"?"M0,"+(r+o*t)+"v"+i*t:"M"+(r+o*t)+",0h"+i*t};Be.makeLabelFns=function(e,r,t){var a=e.ticklabelposition||"",n=e.tickson||"",i=function(O){return a.indexOf(O)!==-1},l=i("top"),o=i("left"),s=i("right"),u=i("bottom"),f=n!=="boundaries"&&(u||o||l||s),v=i("inside"),h=a==="inside"&&e.ticks==="inside"||!v&&e.ticks==="outside"&&n!=="boundaries",d=0,m=0,y=h?e.ticklen:0;if(v?y*=-1:f&&(y=0),h&&(d+=y,t)){var g=gr.deg2rad(t);d=y*Math.cos(g)+1,m=y*Math.sin(g)}e.showticklabels&&(h||e.showline)&&(d+=.2*e.tickfont.size),d+=(e.linewidth||1)/2*(v?-1:1);var _={labelStandoff:d,labelShift:m},T,w,b,M,C=0,k=e.side,q=e._id.charAt(0),D=e.tickangle,P;if(q==="x")P=!v&&k==="bottom"||v&&k==="top",M=P?1:-1,v&&(M*=-1),T=m*M,w=r+d*M,b=P?1:-.2,Math.abs(D)===90&&(v?b+=wf:D===-90&&k==="bottom"?b=qo:D===90&&k==="top"?b=wf:b=.5,C=wf/2*(D/90)),_.xFn=function(O){return O.dx+T+C*O.fontSize},_.yFn=function(O){return O.dy+w+O.fontSize*b},_.anchorFn=function(O,I){if(f){if(o)return"end";if(s)return"start"}return!Ht(I)||I===0||I===180?"middle":I*M60?-.5*V:e.side==="top"!==v?-V:0};else if(q==="y"){if(P=!v&&k==="left"||v&&k==="right",M=P?1:-1,v&&(M*=-1),T=d,w=m*M,b=0,!v&&Math.abs(D)===90&&(D===-90&&k==="left"||D===90&&k==="right"?b=qo:b=.5),v){var z=Ht(D)?+D:0;if(z!==0){var F=gr.deg2rad(z);C=Math.abs(Math.sin(F))*qo*M,b=0}}_.xFn=function(O){return O.dx+r-(T+O.fontSize*b)*M+C*O.fontSize},_.yFn=function(O){return O.dy+w+O.fontSize*wf},_.anchorFn=function(O,I){return Ht(I)&&Math.abs(I)===90?"middle":P?"end":"start"},_.heightFn=function(O,I,V){return e.side==="right"&&(I*=-1),I=0;m--){var y=m?h:d;if(y){var g=y.selectAll("path."+a).data(m?l:i,X0);g.exit().remove(),g.enter().append("path").classed(a,1).classed("crisp",t.crisp!==!1),g.attr("transform",t.transFn).attr("d",t.path).each(function(_){return Mf.stroke(Sn.select(this),_.minor?r.minor.gridcolor:r.gridcolor||"#ddd")}).style("stroke-dasharray",function(_){return fn.dashStyle(_.minor?r.minor.griddash:r.griddash,_.minor?r.minor.gridwidth:r.gridwidth)}).style("stroke-width",function(_){return(_.minor?v:r._gw)+"px"}).style("display",null),typeof t.path=="function"&&g.attr("d",t.path)}}Z0(r,[Zm,Jm])}};Be.drawZeroLine=function(e,r,t){t=t||t;var a=r._id+"zl",n=Be.shouldShowZeroLine(e,r,t.counterAxis),i=t.layer.selectAll("path."+a).data(n?[{x:0,id:r._id}]:[]);i.exit().remove(),i.enter().append("path").classed(a,1).classed("zl",1).classed("crisp",t.crisp!==!1).each(function(){t.layer.selectAll("path").sort(function(l,o){return BV(l.id,o.id)})}),i.attr("transform",t.transFn).attr("d",t.path).call(Mf.stroke,r.zerolinecolor||Mf.defaultLine).style("stroke-width",fn.crispRound(e,r.zerolinewidth,r._gw||1)+"px").style("display",null),Z0(r,[Xm])};Be.drawLabels=function(e,r,t){t=t||{};var a=e._fullLayout,n=r._id,i=r.zerolinelayer==="above traces",l=t.cls||n+"tick",o=t.vals.filter(function(H){return H.text}),s=t.labelFns,u=t.secondary?0:r.tickangle,f=(r._prevTickAngles||{})[l],v=t.layer.selectAll("g."+l).data(r.showticklabels?o:[],X0),h=[];v.enter().append("g").classed(l,1).append("text").attr("text-anchor","middle").each(function(H){var Q=Sn.select(this),Z=e._promises.length;Q.call(Co.positionText,s.xFn(H),s.yFn(H)).call(fn.font,{family:H.font,size:H.fontSize,color:H.fontColor,weight:H.fontWeight,style:H.fontStyle,variant:H.fontVariant,textcase:H.fontTextcase,lineposition:H.fontLineposition,shadow:H.fontShadow}).text(H.text).call(Co.convertToTspans,e),e._promises[Z]?h.push(e._promises.pop().then(function(){d(Q,u)})):d(Q,u)}),Z0(r,[b8]),v.exit().remove(),t.repositionOnUpdate&&v.each(function(H){Sn.select(this).select("text").call(Co.positionText,s.xFn(H),s.yFn(H))});function d(H,Q){H.each(function(Z){var ne=Sn.select(this),ce=ne.select(".text-math-group"),ye=s.anchorFn(Z,Q),Se=t.transFn.call(ne.node(),Z)+(Ht(Q)&&+Q!=0?" rotate("+Q+","+s.xFn(Z)+","+(s.yFn(Z)-Z.fontSize/2)+")":""),re=Co.lineCount(ne),Ce=kf*Z.fontSize,pe=s.heightFn(Z,Ht(Q)?+Q:0,(re-1)*Ce);if(pe&&(Se+=Js(0,pe)),ce.empty()){var be=ne.select("text");be.attr({transform:Se,"text-anchor":ye}),be.style("display",null),r._adjustTickLabelsOverflow&&r._adjustTickLabelsOverflow()}else{var Ae=fn.bBox(ce.node()).width,ge=Ae*{end:-.5,start:.5}[ye];ce.attr("transform",Se+Js(ge,0))}})}r._adjustTickLabelsOverflow=function(){var H=r.ticklabeloverflow;if(!(!H||H==="allow")){var Q=H.indexOf("hide")!==-1,Z=r._id.charAt(0)==="x",ne=0,ce=Z?e._fullLayout.width:e._fullLayout.height;if(H.indexOf("domain")!==-1){var ye=gr.simpleMap(r.range,r.r2l);ne=r.l2p(ye[0])+r._offset,ce=r.l2p(ye[1])+r._offset}var Se=Math.min(ne,ce),re=Math.max(ne,ce),Ce=r.side,pe=1/0,be=-1/0;v.each(function($){var Y=Sn.select(this),le=Y.select(".text-math-group");if(le.empty()){var he=fn.bBox(Y.node()),me=0;Z?(he.right>re||he.leftre||he.top+(r.tickangle?0:$.fontSize/4)r["_visibleLabelMin_"+ye._id]?Y.style("display","none"):re.K==="tick"&&!Se&&Y.node().style.display!=="none"&&Y.style("display",null)})})})})},d(v,f+1?f:u);function m(){return h.length&&Promise.all(h)}var y=null;function g(){if(d(v,u),o.length&&r.autotickangles&&(r.type!=="log"||String(r.dtick).charAt(0)!=="D")){y=r.autotickangles[0];var H=0,Q=[],Z,ne=1;v.each(function(Ie){H=Math.max(H,Ie.fontSize);var We=r.l2p(Ie.x),ie=Qm(this),xe=fn.bBox(ie.node());ne=Math.max(ne,Co.lineCount(ie)),Q.push({top:0,bottom:10,height:10,left:We-xe.width/2,right:We+xe.width/2+2,width:xe.width+2})});var ce=(r.tickson==="boundaries"||r.showdividers)&&!t.secondary,ye=o.length,Se=Math.abs((o[ye-1].x-o[0].x)*r._m)/(ye-1),re=ce?Se/2:Se,Ce=ce?r.ticklen:H*1.25*ne,pe=Math.sqrt(Math.pow(re,2)+Math.pow(Ce,2)),be=re/pe,Ae=r.autotickangles.map(function(Ie){return Ie*Math.PI/180}),ge=Ae.find(function(Ie){return Math.abs(Math.cos(Ie))J*V&&(F=V,D[q]=P[q]=O[q])}var G=Math.abs(F-z);G-M>0?(G-=M,M*=1+M/G):M=0,r._id.charAt(0)!=="y"&&(M=-M),D[k]=w.p2r(w.r2p(P[k])+C*M),w.autorange==="min"||w.autorange==="max reversed"?(D[0]=null,w._rangeInitial0=void 0,w._rangeInitial1=void 0):(w.autorange==="max"||w.autorange==="min reversed")&&(D[1]=null,w._rangeInitial0=void 0,w._rangeInitial1=void 0),a._insideTickLabelsUpdaterange[w._name+".range"]=D}var U=gr.syncOrAsync(_);return U&&U.then&&e._promises.push(U),U};function vG(e,r,t){var a=r._id+"divider",n=t.vals,i=t.layer.selectAll("path."+a).data(n,X0);i.exit().remove(),i.enter().insert("path",":first-child").classed(a,1).classed("crisp",1).call(Mf.stroke,r.dividercolor).style("stroke-width",fn.crispRound(e,r.dividerwidth,1)+"px"),i.attr("transform",t.transFn).attr("d",t.path)}Be.getPxPosition=function(e,r){var t=e._fullLayout._size,a=r._id.charAt(0),n=r.side,i;if(r.anchor!=="free"?i=r._anchorAxis:a==="x"?i={_offset:t.t+(1-(r.position||0))*t.h,_length:0}:a==="y"&&(i={_offset:t.l+(r.position||0)*t.w+r._shift,_length:0}),n==="top"||n==="left")return i._offset;if(n==="bottom"||n==="right")return i._offset+i._length};function C8(e){var r=e.title.font.size,t=(e.title.text.match(Co.BR_TAG_ALL)||[]).length;return e.title.hasOwnProperty("standoff")?r*(qo+t*kf):t?r*(t+1)*kf:r}function hG(e,r){var t=e._fullLayout,a=r._id,n=a.charAt(0),i=r.title.font.size,l,o=(r.title.text.match(Co.BR_TAG_ALL)||[]).length;if(r.title.hasOwnProperty("standoff"))r.side==="bottom"||r.side==="right"?l=r._depth+r.title.standoff+i*qo:(r.side==="top"||r.side==="left")&&(l=r._depth+r.title.standoff+i*(wf+o*kf));else{var s=Cf(r);if(r.type==="multicategory")l=r._depth;else{var u=1.5*i;s&&(u=.5*i,r.ticks==="outside"&&(u+=r.ticklen)),l=10+u+(r.linewidth?r.linewidth-1:0)}s||(n==="x"?l+=r.side==="top"?i*(r.showticklabels?1:0):i*(r.showticklabels?1.5:.5):l+=r.side==="right"?i*(r.showticklabels?1:.5):i*(r.showticklabels?.5:0))}var f=Be.getPxPosition(e,r),v,h,d;n==="x"?(h=r._offset+r._length/2,d=r.side==="top"?f-l:f+l):(d=r._offset+r._length/2,h=r.side==="right"?f+l:f-l,v={rotate:"-90",offset:0});var m;if(r.type!=="multicategory"){var y=r._selections[r._id+"tick"];if(m={selection:y,side:r.side},y&&y.node()&&y.node().parentNode){var g=fn.getTranslate(y.node().parentNode);m.offsetLeft=g.x,m.offsetTop=g.y}r.title.hasOwnProperty("standoff")&&(m.pad=0)}return r._titleStandoff=l,EV.draw(e,a+"title",{propContainer:r,propName:r._name+".title.text",placeholder:t._dfltTitle[n],avoid:m,transform:v,attributes:{x:h,y:d,"text-anchor":"middle"}})}Be.shouldShowZeroLine=function(e,r,t){var a=gr.simpleMap(r.range,r.r2l);return a[0]*a[1]1&&t1)for(n=1;n=n.min&&e=IV:/%L/.test(r)?e>=FV:/%[SX]/.test(r)?e>=U0:/%M/.test(r)?e>=Af:/%[HI]/.test(r)?e>=Si:/%p/.test(r)?e>=Cl:/%[Aadejuwx]/.test(r)?e>=Pa:/%[UVW]/.test(r)?e>=cn:/%[Bbm]/.test(r)?e>=Y0:/%[q]/.test(r)?e>=B0:/%[Yy]/.test(r)?e>=O0:!0}});var Y8=K((_se,B8)=>{"use strict";B8.exports=function(r,t,a){var n,i;if(a){var l=t==="reversed"||t==="min reversed"||t==="max reversed";n=a[l?1:0],i=a[l?0:1]}var o=r("autorangeoptions.minallowed",i===null?n:void 0),s=r("autorangeoptions.maxallowed",n===null?i:void 0);o===void 0&&r("autorangeoptions.clipmin"),s===void 0&&r("autorangeoptions.clipmax"),r("autorangeoptions.include")}});var ny=K((wse,U8)=>{"use strict";var _G=Y8();U8.exports=function(r,t,a,n){var i=t._template||{},l=t.type||i.type||"-";a("minallowed"),a("maxallowed");var o=a("range");if(!o){var s;!n.noInsiderange&&l!=="log"&&(s=a("insiderange"),s&&(s[0]===null||s[1]===null)&&(t.insiderange=!1,s=void 0),s&&(o=a("range",s)))}var u=t.getAutorangeDflt(o,n),f=a("autorange",u),v;o&&(o[0]===null&&o[1]===null||(o[0]===null||o[1]===null)&&(f==="reversed"||f===!0)||o[0]!==null&&(f==="min"||f==="max reversed")||o[1]!==null&&(f==="max"||f==="min reversed"))&&(o=void 0,delete t.range,t.autorange=!0,v=!0),v||(u=t.getAutorangeDflt(o,n),f=a("autorange",u)),f&&(_G(a,f,o),(l==="linear"||l==="-")&&a("rangemode")),t.cleanRange()}});var G8=K((Tse,V8)=>{var wG={left:0,top:0};V8.exports=TG;function TG(e,r,t){r=r||e.currentTarget||e.srcElement,Array.isArray(t)||(t=[0,0]);var a=e.clientX||0,n=e.clientY||0,i=MG(r);return t[0]=a-i.left,t[1]=n-i.top,t}function MG(e){return e===window||e===document||e===document.body?wG:e.getBoundingClientRect()}});var iy=K((Mse,W8)=>{"use strict";var AG=Pp();function kG(){var e=!1;try{var r=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,r),window.removeEventListener("test",null,r)}catch(t){e=!1}return e}W8.exports=AG&&kG()});var Z8=K((Ase,X8)=>{"use strict";X8.exports=function(r,t,a,n,i){var l=(r-a)/(n-a),o=l+t/(n-a),s=(l+o)/2;return i==="left"||i==="bottom"?l:i==="center"||i==="middle"?s:i==="right"||i==="top"?o:l4/3-s?o:s}});var Q8=K((kse,K8)=>{"use strict";var J8=Oe(),SG=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];K8.exports=function(r,t,a,n){return a==="left"?r=0:a==="center"?r=1:a==="right"?r=2:r=J8.constrain(Math.floor(r*3),0,2),n==="bottom"?t=0:n==="middle"?t=1:n==="top"?t=2:t=J8.constrain(Math.floor(t*3),0,2),SG[t][r]}});var j8=K((Sse,$8)=>{"use strict";var CG=ff(),LG=Zv(),qG=rf().getGraphDiv,DG=Qu(),ly=$8.exports={};ly.wrapped=function(e,r,t){e=qG(e),e._fullLayout&&LG.clear(e._fullLayout._uid+DG.HOVERID),ly.raw(e,r,t)};ly.raw=function(r,t){var a=r._fullLayout,n=r._hoverdata;t||(t={}),!(t.target&&!r._dragged&&CG.triggerHandler(r,"plotly_beforehover",t)===!1)&&(a._hoverlayer.selectAll("g").remove(),a._hoverlayer.selectAll("line").remove(),a._hoverlayer.selectAll("circle").remove(),r._hoverdata=void 0,t.target&&n&&r.emit("plotly_unhover",{event:t,points:n}))}});var ti=K((Cse,aw)=>{"use strict";var EG=G8(),oy=zp(),PG=iy(),RG=Oe().removeElement,zG=Qt(),Do=aw.exports={};Do.align=Z8();Do.getCursor=Q8();var rw=j8();Do.unhover=rw.wrapped;Do.unhoverRaw=rw.raw;Do.init=function(r){var t=r.gd,a=1,n=t._context.doubleClickDelay,i=r.element,l,o,s,u,f,v,h,d;t._mouseDownTime||(t._mouseDownTime=0),i.style.pointerEvents="all",i.onmousedown=g,PG?(i._ontouchstart&&i.removeEventListener("touchstart",i._ontouchstart),i._ontouchstart=g,i.addEventListener("touchstart",g,{passive:!1})):i.ontouchstart=g;function m(w,b,M){return Math.abs(w)n&&(a=Math.max(a-1,1)),t._dragged)r.doneFn&&r.doneFn();else{var b;v.target===h?b=v:(b={target:h,srcElement:h,toElement:h},Object.keys(v).concat(Object.keys(v.__proto__)).forEach(M=>{var C=v[M];!b[M]&&typeof C!="function"&&(b[M]=C)})),r.clickFn&&r.clickFn(a,b),d||h.dispatchEvent(new MouseEvent("click",w))}t._dragging=!1,t._dragged=!1}};function tw(){var e=document.createElement("div");e.className="dragcover";var r=e.style;return r.position="fixed",r.left=0,r.right=0,r.top=0,r.bottom=0,r.zIndex=999999999,r.background="none",document.body.appendChild(e),e}Do.coverSlip=tw;function ew(e){return EG(e.changedTouches?e.changedTouches[0]:e,document.body)}});var Ll=K((Lse,nw)=>{"use strict";nw.exports=function(r,t){(r.attr("class")||"").split(" ").forEach(function(a){a.indexOf("cursor-")===0&&r.classed(a,!1)}),t&&r.classed("cursor-"+t,!0)}});var ow=K((qse,lw)=>{"use strict";var sy=Ll(),Lf="data-savedcursor",iw="!!";lw.exports=function(r,t){var a=r.attr(Lf);if(t){if(!a){for(var n=(r.attr("class")||"").split(" "),i=0;i{"use strict";var uy=ya(),NG=gi();sw.exports={_isSubplotObj:!0,visible:{valType:"boolean",dflt:!0,editType:"legend"},bgcolor:{valType:"color",editType:"legend"},bordercolor:{valType:"color",dflt:NG.defaultLine,editType:"legend"},maxheight:{valType:"number",min:0,editType:"legend"},borderwidth:{valType:"number",min:0,dflt:0,editType:"legend"},font:uy({editType:"legend"}),grouptitlefont:uy({editType:"legend"}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v",editType:"legend"},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"],editType:"legend"},tracegroupgap:{valType:"number",min:0,dflt:10,editType:"legend"},entrywidth:{valType:"number",min:0,editType:"legend"},entrywidthmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"pixels",editType:"legend"},indentation:{valType:"number",min:-15,dflt:0,editType:"legend"},itemsizing:{valType:"enumerated",values:["trace","constant"],dflt:"trace",editType:"legend"},itemwidth:{valType:"number",min:30,dflt:30,editType:"legend"},itemclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggle",editType:"legend"},itemdoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],dflt:"toggleothers",editType:"legend"},groupclick:{valType:"enumerated",values:["toggleitem","togglegroup"],dflt:"togglegroup",editType:"legend"},titleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],editType:"legend"},titledoubleclick:{valType:"enumerated",values:["toggle","toggleothers",!1],editType:"legend"},x:{valType:"number",editType:"legend"},xref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left",editType:"legend"},y:{valType:"number",editType:"legend"},yref:{valType:"enumerated",dflt:"paper",values:["container","paper"],editType:"layoutstyle"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],editType:"legend"},uirevision:{valType:"any",editType:"none"},valign:{valType:"enumerated",values:["top","middle","bottom"],dflt:"middle",editType:"legend"},title:{text:{valType:"string",dflt:"",editType:"legend"},font:uy({editType:"legend"}),side:{valType:"enumerated",values:["top","left","top left","top center","top right"],editType:"legend"},editType:"legend"},editType:"legend"}});var Df=K(qf=>{"use strict";qf.isGrouped=function(r){return(r.traceorder||"").indexOf("grouped")!==-1};qf.isVertical=function(r){return r.orientation!=="h"};qf.isReversed=function(r){return(r.traceorder||"").indexOf("reversed")!==-1};qf.getId=function(r){return r._id||"legend"}});var vy=K((Pse,uw)=>{"use strict";var J0=br(),vn=Oe(),FG=ct(),IG=Zn(),HG=fy(),OG=Ss(),cy=Df();function BG(e,r,t,a,n){var i=r[e]||{},l=FG.newContainer(t,e);function o(H,Q){return vn.coerce(i,l,HG,H,Q)}var s=vn.coerceFont(o,"font",t.font);o("bgcolor",t.paper_bgcolor),o("bordercolor");var u=o("visible");if(!u)return;var f,v=function(H,Q){var Z=f._input,ne=f;return vn.coerce(Z,ne,IG,H,Q)},h=t.font||{},d=vn.coerceFont(o,"grouptitlefont",h,{overrideDflt:{size:Math.round(h.size*1.1)}}),m=0,y=!1,g="normal",_=(t.shapes||[]).filter(function(H){return H.showlegend});function T(H){return J0.traceIs(H,"pie-like")&&H._length!=null&&(Array.isArray(H.legend)||Array.isArray(H.showlegend))}a.filter(T).forEach(function(H){H.visible&&m++;for(var Q=0;QH.legend.length)for(var ne=H.legend.length;ne(e==="legend"?1:0));if(C===!1&&(t[e]=void 0),!(C===!1&&!i.uirevision)&&(o("uirevision",t.uirevision),C!==!1)){o("borderwidth");var k=o("orientation"),q=o("yref"),D=o("xref"),P=k==="h",z=q==="paper",F=D==="paper",O,I,V,J="left";P?(O=0,J0.getComponentMethod("rangeslider","isVisible")(r.xaxis)?z?(I=1.1,V="bottom"):(I=1,V="top"):z?(I=-.1,V="top"):(I=0,V="bottom")):(I=1,V="auto",F?O=1.02:(O=1,J="right")),vn.coerce(i,l,{x:{valType:"number",editType:"legend",min:F?-2:0,max:F?3:1,dflt:O}},"x"),vn.coerce(i,l,{y:{valType:"number",editType:"legend",min:z?-2:0,max:z?3:1,dflt:I}},"y"),o("traceorder",g),cy.isGrouped(t[e])&&o("tracegroupgap"),o("entrywidth"),o("entrywidthmode"),o("indentation"),o("itemsizing"),o("itemwidth"),o("itemclick"),o("itemdoubleclick"),o("groupclick"),o("xanchor",J),o("yanchor",V),o("maxheight"),o("valign"),vn.noneOrAll(i,l,["x","y"]);var G=o("title.text");if(G){o("title.side",P?"left":"top");var U=vn.extendFlat({},s,{size:vn.bigFont(s.size)});vn.coerceFont(o,"title.font",U);let H=n>1;o("titleclick",H?"toggle":!1),o("titledoubleclick",H?"toggleothers":!1)}}}uw.exports=function(r,t,a){var n,i=a.slice(),l=t.shapes;if(l)for(n=0;n{"use strict";var ql=br(),hy=Oe(),YG=hy.pushUnique,UG=Df(),fw=!0;dy.handleItemClick=function(r,t,a,n){var i=t._fullLayout;if(t._dragged||t._editing)return;var l=r.data()[0][0];if(l.groupTitle&&l.noClick)return;var o=a.groupclick;n==="toggle"&&a.itemdoubleclick==="toggleothers"&&fw&&t.data&&t._context.showTips&&(hy.notifier(hy._(t,"Double-click on legend to isolate one trace"),"long",t),fw=!1);var s=o==="togglegroup",u=i.hiddenlabels?i.hiddenlabels.slice():[],f=t._fullData;let v=(i.shapes||[]).filter(Ee=>Ee.showlegend||Ee.legendgroup);var h=f.concat(v),d=l.trace;d._isShape&&(d=d._fullInput);var m=d.legendgroup,y,g,_,T,w,b,M={},C=[],k=[],q=[];function D(Ee,Le){var Ve=C.indexOf(Ee),Fe=M.visible;return Fe||(Fe=M.visible=[]),C.indexOf(Ee)===-1&&(C.push(Ee),Ve=C.length-1),Fe[Ve]=Le,Ve}var P=(i.shapes||[]).map(function(Ee){return Ee._input}),z=!1;function F(Ee,Le){P[Ee].visible=Le,z=!0}function O(Ee,Le){if(!(l.groupTitle&&!s)){var Ve=Ee._fullInput||Ee,Fe=Ve._isShape,Xe=Ve.index;Xe===void 0&&(Xe=Ve._index);var De=Ve.visible===!1?!1:Le;Fe?F(Xe,De):D(Xe,De)}}var I=d.legend,V=d._fullInput,J=V&&V._isShape;if(!J&&ql.traceIs(d,"pie-like")){var G=l.label,U=u.indexOf(G);if(n==="toggle")U===-1?u.push(G):u.splice(U,1);else if(n==="toggleothers"){var H=U!==-1,Q=[];for(y=0;y_.showlegend||_.legendgroup),s=i.concat(o);function u(_){return(_.legend||"legend")===l}var f,v;if(a==="toggle")f=!s.some(function(T){return u(T)&&T.visible===!0}),v=!1;else{let _=s.some(function(T){return!u(T)&&T.visible===!0&&T.showlegend!==!1});f=!0,v=!_}let h={visible:[]},d=[],m=(n.shapes||[]).map(function(_){return _._input});for(var y=!1,g=0;g{"use strict";cw.exports={scrollBarWidth:6,scrollBarMinHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4,scrollBarEnterAttrs:{rx:20,ry:3,width:0,height:0},titlePad:2,itemGap:5}});var dw=K((Nse,hw)=>{"use strict";var{isArrayOrTypedArray:yy}=Ka(),vw=br(),gy=Df();hw.exports=function(r,t,a){var n=t._inHover,i=gy.isGrouped(t),l=gy.isReversed(t),o={},s=[],u=!1,f={},v=0,h=0,d,m;function y(Q,Z,ne){if(t.visible!==!1&&!(a&&Q!==t._id))if(Z===""||!gy.isGrouped(t)){var ce="~~i"+v;s.push(ce),o[ce]=[ne],v++}else s.indexOf(Z)===-1?(s.push(Z),u=!0,o[Z]=[ne]):o[Z].push(ne)}for(d=0;dO&&(z=O)}D[d][0]._groupMinRank=z,D[d][0]._preGroupSort=d}var I=function(Q,Z){return Q[0]._groupMinRank-Z[0]._groupMinRank||Q[0]._preGroupSort-Z[0]._preGroupSort},V=function(Q,Z){var ne=yy(Q.trace.legendrank)?Q.trace.legendrank[Q.i]:Q.trace.legendrank,ce=yy(Z.trace.legendrank)?Z.trace.legendrank[Z.i]:Z.trace.legendrank;return ne-ce||Q._preSort-Z._preSort};for(D.forEach(function(Q,Z){Q[0]._preGroupSort=Z}),D.sort(I),d=0;d{"use strict";var K0=Oe();function pw(e){return e.indexOf("e")!==-1?e.replace(/[.]?0+e/,"e"):e.indexOf(".")!==-1?e.replace(/[.]?0+$/,""):e}Eo.formatPiePercent=function(r,t){var a=pw((r*100).toPrecision(3));return K0.numSeparate(a,t)+"%"};Eo.formatPieValue=function(r,t){var a=pw(r.toPrecision(10));return K0.numSeparate(a,t)};Eo.getFirstFilled=function(r,t){if(K0.isArrayOrTypedArray(r))for(var a=0;a{"use strict";var VG=tt(),GG=Er();mw.exports=function(r,t,a,n){var i=a.marker.pattern;i&&i.shape?VG.pointStyle(r,a,n,t):GG.fill(r,t.color)}});var $0=K((Hse,xw)=>{"use strict";var gw=Er(),bw=Q0().castOption,WG=yw();xw.exports=function(r,t,a,n){var i=a.marker.line,l=bw(i.color,t.pts)||gw.defaultLine,o=bw(i.width,t.pts)||0;r.call(WG,t,a,n).style("stroke-width",o).call(gw.stroke,l)}});var wy=K((Ose,kw)=>{"use strict";var Ra=Hr(),by=br(),ka=Oe(),_w=ka.strTranslate,hn=tt(),Cn=Er(),xy=kn().extractOpts,j0=un(),XG=$0(),ZG=Q0().castOption,JG=my(),ww=12,Tw=5,Po=2,KG=10,$s=5;kw.exports=function(r,t,a){var n=t._fullLayout;a||(a=n.legend);var i=a.itemsizing==="constant",l=a.itemwidth,o=(l+JG.itemGap*2)/2,s=_w(o,0),u=function(k,q,D,P){var z;if(k+1)z=k;else if(q&&q.width>0)z=q.width;else return 0;return i?P:Math.min(z,D)};r.each(function(k){var q=Ra.select(this),D=ka.ensureSingle(q,"g","layers");D.style("opacity",k[0].trace.opacity);var P=a.indentation,z=a.valign,F=k[0].lineHeight,O=k[0].height;if(z==="middle"&&P===0||!F||!O)D.attr("transform",null);else{var I={top:1,bottom:-1}[z],V=I*(.5*(F-O+3))||0,J=a.indentation;D.attr("transform",_w(J,V))}var G=D.selectAll("g.legendfill").data([k]);G.enter().append("g").classed("legendfill",!0);var U=D.selectAll("g.legendlines").data([k]);U.enter().append("g").classed("legendlines",!0);var H=D.selectAll("g.legendsymbols").data([k]);H.enter().append("g").classed("legendsymbols",!0),H.selectAll("g.legendpoints").data([k]).enter().append("g").classed("legendpoints",!0)}).each(C).each(h).each(m).each(d).each(g).each(b).each(w).each(f).each(v).each(_).each(T);function f(k){var q=Mw(k),D=q.showFill,P=q.showLine,z=q.showGradientLine,F=q.showGradientFill,O=q.anyFill,I=q.anyLine,V=k[0],J=V.trace,G,U,H=xy(J),Q=H.colorscale,Z=H.reversescale,ne=function(be){if(be.size())if(D)hn.fillGroupStyle(be,t,!0);else{var Ae="legendfill-"+J.uid;hn.gradient(be,t,Ae,_y(Z),Q,"fill")}},ce=function(be){if(be.size()){var Ae="legendline-"+J.uid;hn.lineGroupStyle(be),hn.gradient(be,t,Ae,_y(Z),Q,"stroke")}},ye=j0.hasMarkers(J)||!O?"M5,0":I?"M5,-2":"M5,-3",Se=Ra.select(this),re=Se.select(".legendfill").selectAll("path").data(D||F?[k]:[]);if(re.enter().append("path").classed("js-fill",!0),re.exit().remove(),re.attr("d",ye+"h"+l+"v6h-"+l+"z").call(ne),P||z){var Ce=u(void 0,J.line,KG,Tw);U=ka.minExtend(J,{line:{width:Ce}}),G=[ka.minExtend(V,{trace:U})]}var pe=Se.select(".legendlines").selectAll("path").data(P||z?[G]:[]);pe.enter().append("path").classed("js-line",!0),pe.exit().remove(),pe.attr("d",ye+(z?"l"+l+",0.0001":"h"+l)).call(P?hn.lineGroupStyle:ce)}function v(k){var q=Mw(k),D=q.anyFill,P=q.anyLine,z=q.showLine,F=q.showMarker,O=k[0],I=O.trace,V=!F&&!P&&!D&&j0.hasText(I),J,G;function U(re,Ce,pe,be){var Ae=ka.nestedProperty(I,re).get(),ge=ka.isArrayOrTypedArray(Ae)&&Ce?Ce(Ae):Ae;if(i&&ge&&be!==void 0&&(ge=be),pe){if(gepe[1])return pe[1]}return ge}function H(re){return O._distinct&&O.index&&re[O.index]?re[O.index]:re[0]}if(F||V||z){var Q={},Z={};if(F){Q.mc=U("marker.color",H),Q.mx=U("marker.symbol",H),Q.mo=U("marker.opacity",ka.mean,[.2,1]),Q.mlc=U("marker.line.color",H),Q.mlw=U("marker.line.width",ka.mean,[0,5],Po),Q.mld=I._isShape?"solid":U("marker.line.dash",H),Z.marker={sizeref:1,sizemin:1,sizemode:"diameter"};var ne=U("marker.size",ka.mean,[2,16],ww);Q.ms=ne,Z.marker.size=ne}z&&(Z.line={width:U("line.width",H,[0,10],Tw)}),V&&(Q.tx="Aa",Q.tp=U("textposition",H),Q.ts=10,Q.tc=U("textfont.color",H),Q.tf=U("textfont.family",H),Q.tw=U("textfont.weight",H),Q.ty=U("textfont.style",H),Q.tv=U("textfont.variant",H),Q.tC=U("textfont.textcase",H),Q.tE=U("textfont.lineposition",H),Q.tS=U("textfont.shadow",H)),J=[ka.minExtend(O,Q)],G=ka.minExtend(I,Z),G.selectedpoints=null,G.texttemplate=null}var ce=Ra.select(this).select("g.legendpoints"),ye=ce.selectAll("path.scatterpts").data(F?J:[]);ye.enter().insert("path",":first-child").classed("scatterpts",!0).attr("transform",s),ye.exit().remove(),ye.call(hn.pointStyle,G,t),F&&(J[0].mrc=3);var Se=ce.selectAll("g.pointtext").data(V?J:[]);Se.enter().append("g").classed("pointtext",!0).append("text").attr("transform",s),Se.exit().remove(),Se.selectAll("text").call(hn.textPointStyle,G,t)}function h(k){var q=k[0].trace,D=q.type==="waterfall";if(k[0]._distinct&&D){var P=k[0].trace[k[0].dir].marker;return k[0].mc=P.color,k[0].mlw=P.line.width,k[0].mlc=P.line.color,y(k,this,"waterfall")}var z=[];q.visible&&D&&(z=k[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 F=Ra.select(this).select("g.legendpoints").selectAll("path.legendwaterfall").data(z);F.enter().append("path").classed("legendwaterfall",!0).attr("transform",s).style("stroke-miterlimit",1),F.exit().remove(),F.each(function(O){var I=Ra.select(this),V=q[O[0]].marker,J=u(void 0,V.line,$s,Po);I.attr("d",O[1]).style("stroke-width",J+"px").call(Cn.fill,V.color),J&&I.call(Cn.stroke,V.line.color)})}function d(k){y(k,this)}function m(k){y(k,this,"funnel")}function y(k,q,D){var P=k[0].trace,z=P.marker||{},F=z.line||{},O=z.cornerradius?"M6,3a3,3,0,0,1-3,3H-3a3,3,0,0,1-3-3V-3a3,3,0,0,1,3-3H3a3,3,0,0,1,3,3Z":"M6,6H-6V-6H6Z",I=D?P.visible&&P.type===D:by.traceIs(P,"bar"),V=Ra.select(q).select("g.legendpoints").selectAll("path.legend"+D).data(I?[k]:[]);V.enter().append("path").classed("legend"+D,!0).attr("d",O).attr("transform",s),V.exit().remove(),V.each(function(J){var G=Ra.select(this),U=J[0],H=u(U.mlw,z.line,$s,Po);G.style("stroke-width",H+"px");var Q=U.mcc;if(!a._inHover&&"mc"in U){var Z=xy(z),ne=Z.mid;ne===void 0&&(ne=(Z.max+Z.min)/2),Q=hn.tryColorscale(z,"")(ne)}var ce=Q||U.mc||z.color,ye=z.pattern,Se=hn.getPatternAttr,re=ye&&(Se(ye.shape,0,"")||Se(ye.path,0,""));if(re){var Ce=Se(ye.bgcolor,0,null),pe=Se(ye.fgcolor,0,null),be=ye.fgopacity,Ae=Aw(ye.size,8,10),ge=Aw(ye.solidity,.5,1),B="legend-"+P.uid;G.call(hn.pattern,"legend",t,B,re,Ae,ge,Q,ye.fillmode,Ce,pe,be)}else G.call(Cn.fill,ce);H&&Cn.stroke(G,U.mlc||F.color)})}function g(k){var q=k[0].trace,D=Ra.select(this).select("g.legendpoints").selectAll("path.legendbox").data(q.visible&&by.traceIs(q,"box-violin")?[k]:[]);D.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform",s),D.exit().remove(),D.each(function(){var P=Ra.select(this);if((q.boxpoints==="all"||q.points==="all")&&Cn.opacity(q.fillcolor)===0&&Cn.opacity((q.line||{}).color)===0){var z=ka.minExtend(q,{marker:{size:i?ww:ka.constrain(q.marker.size,2,16),sizeref:1,sizemin:1,sizemode:"diameter"}});D.call(hn.pointStyle,z,t)}else{var F=u(void 0,q.line,$s,Po);P.style("stroke-width",F+"px").call(Cn.fill,q.fillcolor),F&&Cn.stroke(P,q.line.color)}})}function _(k){var q=k[0].trace,D=Ra.select(this).select("g.legendpoints").selectAll("path.legendcandle").data(q.visible&&q.type==="candlestick"?[k,k]:[]);D.enter().append("path").classed("legendcandle",!0).attr("d",function(P,z){return z?"M-15,0H-8M-8,6V-6H8Z":"M15,0H8M8,-6V6H-8Z"}).attr("transform",s).style("stroke-miterlimit",1),D.exit().remove(),D.each(function(P,z){var F=Ra.select(this),O=q[z?"increasing":"decreasing"],I=u(void 0,O.line,$s,Po);F.style("stroke-width",I+"px").call(Cn.fill,O.fillcolor),I&&Cn.stroke(F,O.line.color)})}function T(k){var q=k[0].trace,D=Ra.select(this).select("g.legendpoints").selectAll("path.legendohlc").data(q.visible&&q.type==="ohlc"?[k,k]:[]);D.enter().append("path").classed("legendohlc",!0).attr("d",function(P,z){return z?"M-15,0H0M-8,-6V0":"M15,0H0M8,6V0"}).attr("transform",s).style("stroke-miterlimit",1),D.exit().remove(),D.each(function(P,z){var F=Ra.select(this),O=q[z?"increasing":"decreasing"],I=u(void 0,O.line,$s,Po);F.style("fill","none").call(hn.dashLine,O.line.dash,I),I&&Cn.stroke(F,O.line.color)})}function w(k){M(k,this,"pie")}function b(k){M(k,this,"funnelarea")}function M(k,q,D){var P=k[0],z=P.trace,F=D?z.visible&&z.type===D:by.traceIs(z,D),O=Ra.select(q).select("g.legendpoints").selectAll("path.legend"+D).data(F?[k]:[]);if(O.enter().append("path").classed("legend"+D,!0).attr("d","M6,6H-6V-6H6Z").attr("transform",s),O.exit().remove(),O.size()){var I=z.marker||{},V=u(ZG(I.line.width,P.pts),I.line,$s,Po),J="pieLike",G=ka.minExtend(z,{marker:{line:{width:V}}},J),U=ka.minExtend(P,{trace:G},J);XG(O,U,G,t)}}function C(k){var q=k[0].trace,D,P=[];if(q.visible)switch(q.type){case"histogram2d":case"heatmap":P=[["M-15,-2V4H15V-2Z"]],D=!0;break;case"choropleth":case"choroplethmapbox":case"choroplethmap":P=[["M-6,-6V6H6V-6Z"]],D=!0;break;case"densitymapbox":case"densitymap":P=[["M-6,0 a6,6 0 1,0 12,0 a 6,6 0 1,0 -12,0"]],D="radial";break;case"cone":P=[["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"]],D=!1;break;case"streamtube":P=[["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"]],D=!1;break;case"surface":P=[["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"]],D=!0;break;case"mesh3d":P=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],D=!1;break;case"volume":P=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6H6L0,6Z"]],D=!0;break;case"isosurface":P=[["M-6,6H0L-6,-6Z"],["M6,6H0L6,-6Z"],["M-6,-6 A12,24 0 0,0 6,-6 L0,6Z"]],D=!1;break}var z=Ra.select(this).select("g.legendpoints").selectAll("path.legend3dandfriends").data(P);z.enter().append("path").classed("legend3dandfriends",!0).attr("transform",s).style("stroke-miterlimit",1),z.exit().remove(),z.each(function(F,O){var I=Ra.select(this),V=xy(q),J=V.colorscale,G=V.reversescale,U=function(ne){if(ne.size()){var ce="legendfill-"+q.uid;hn.gradient(ne,t,ce,_y(G,D==="radial"),J,"fill")}},H;if(J){if(!D){var Z=J.length;H=O===0?J[G?Z-1:0][1]:O===1?J[G?0:Z-1][1]:J[Math.floor((Z-1)/2)][1]}}else{var Q=q.vertexcolor||q.facecolor||q.color;H=ka.isArrayOrTypedArray(Q)?Q[O]||Q[0]:Q}I.attr("d",F[0]),H?I.call(Cn.fill,H):I.call(U)})}};function _y(e,r){var t=r?"radial":"horizontal";return t+(e?"":"reversed")}function Mw(e){var r=e[0].trace,t=r.contours,a=j0.hasLines(r),n=j0.hasMarkers(r),i=r.visible&&r.fill&&r.fill!=="none",l=!1,o=!1;if(t){var s=t.coloring;s==="lines"?l=!0:a=s==="none"||s==="heatmap"||t.showlines,t.type==="constraint"?i=t._operation!=="=":(s==="fill"||s==="heatmap")&&(o=!0)}return{showMarker:n,showLine:a,showFill:i,showGradientLine:l,showGradientFill:o,anyLine:a||l,anyFill:i||o}}function Aw(e,r,t){return e&&ka.isArrayOrTypedArray(e)?r:e>t?t:e}});var ky=K((Bse,zw)=>{"use strict";var Va=Hr(),Et=Oe(),My=Ft(),Ro=br(),th=ff(),Ty=ti(),Pt=tt(),Ef=Er(),zo=ga(),Sw=py().handleItemClick,Cw=py().handleTitleClick,Ot=my(),Ay=Ma(),Pw=Ay.LINE_SPACING,eu=Ay.FROM_TL,Lw=Ay.FROM_BR,qw=dw(),QG=wy(),ru=Df(),js=1,$G=/^legend[0-9]*$/;zw.exports=function(r,t){if(t)Dw(r,t);else{var a=r._fullLayout,n=a._legends,i=a._infolayer.selectAll('[class^="legend"]');i.each(function(){var u=Va.select(this),f=u.attr("class"),v=f.split(" ")[0];v.match($G)&&n.indexOf(v)===-1&&u.remove()});for(var l=0;l1)}var m=a.hiddenlabels||[];if(!o&&(!a.showlegend||!s.length))return l.selectAll("."+n).remove(),a._topdefs.select("#"+i).remove(),My.autoMargin(e,n);var y=Et.ensureSingle(l,"g",n,function(q){o||q.attr("pointer-events","all")}),g=Et.ensureSingleById(a._topdefs,"clipPath",i,function(q){q.append("rect")}),_=Et.ensureSingle(y,"rect","bg",function(q){q.attr("shape-rendering","crispEdges")});_.call(Ef.stroke,t.bordercolor).call(Ef.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px");var T=Et.ensureSingle(y,"g","scrollbox"),w=t.title;t._titleWidth=0,t._titleHeight=0;var b;w.text?(b=Et.ensureSingle(T,"text",n+"titletext"),b.attr("text-anchor","start").call(Pt.font,w.font).text(w.text),rh(b,T,e,t,js),!o&&(t.titleclick||t.titledoubleclick)&&tW(T,e,t,n)):(T.selectAll("."+n+"titletext").remove(),T.selectAll("."+n+"titletoggle").remove());var M=Et.ensureSingle(y,"rect","scrollbar",function(q){q.attr(Ot.scrollBarEnterAttrs).call(Ef.fill,Ot.scrollBarColor)}),C=T.selectAll("g.groups").data(s);C.enter().append("g").attr("class","groups"),C.exit().remove();var k=C.selectAll("g.traces").data(Et.identity);k.enter().append("g").attr("class","traces"),k.exit().remove(),k.style("opacity",function(q){let D=q[0],P=D.trace;if(D.groupTitle){let z=P.legendgroup,F=(a.shapes||[]).filter(function(I){return I.showlegend});return e._fullData.concat(F).some(function(I){return I.legendgroup===z&&(I.legend||"legend")===n&&I.visible===!0})?1:.5}return Ro.traceIs(P,"pie-like")?m.indexOf(q[0].label)!==-1?.5:1:P.visible==="legendonly"?.5:1}).each(function(){Va.select(this).call(eW,e,t)}).call(QG,e,t).each(function(q){o||q[0].groupTitle&&t.groupclick==="toggleitem"||Va.select(this).call(rW,e,n)}),Et.syncOrAsync([My.previousPromises,function(){return iW(e,C,k,t,T)},function(){var q=a._size,D=t.borderwidth,P=t.xref==="paper",z=t.yref==="paper";if(w.text){let le=(a.shapes||[]).filter(function(me){return me.showlegend}),he=e._fullData.concat(le).some(function(me){let Re=me.legend||"legend";var Ee=Array.isArray(Re)?Re.includes(n):Re===n;return Ee&&me.visible===!0});b.style("opacity",he?1:.5)}if(!o){var F,O;P?F=q.l+q.w*t.x-eu[ah(t)]*t._width:F=a.width*t.x-eu[ah(t)]*t._width,z?O=q.t+q.h*(1-t.y)-eu[nh(t)]*t._effHeight:O=a.height*(1-t.y)-eu[nh(t)]*t._effHeight;var I=lW(e,n,F,O);if(I)return;if(a.margin.autoexpand){var V=F,J=O;F=P?Et.constrain(F,0,a.width-t._width):V,O=z?Et.constrain(O,0,a.height-t._effHeight):J,F!==V&&Et.log("Constrain "+n+".x to make legend fit inside graph"),O!==J&&Et.log("Constrain "+n+".y to make legend fit inside graph")}Pt.setTranslate(y,F,O)}if(M.on(".drag",null),y.on("wheel",null),o||t._height=Re.left&&he.clientX=Re.top&&he.clientY0&&Rw(e,t,me,le,he)}})}}],e)}}function eh(e,r,t){var a=e[0],n=a.width,i=r.entrywidthmode,l=a.trace.legendwidth||r.entrywidth;return i==="fraction"?r._maxWidth*l:t+(l||n)}function Rw(e,r,t,a,n){var i=e._fullLayout,l=t.data()[0][0].trace,o=r.itemclick,s=r.itemdoubleclick,u={event:n,node:t.node(),curveNumber:l.index,expandedIndex:l.index,data:e.data,layout:e.layout,frames:e._transitionData._frames,config:e._context,fullData:e._fullData,fullLayout:i};l._group&&(u.group=l._group),Ro.traceIs(l,"pie-like")&&(u.label=t.datum()[0].label);var f=th.triggerHandler(e,"plotly_legendclick",u);if(a===1){if(f===!1)return;r._clickTimeout=setTimeout(function(){e._fullLayout&&o&&Sw(t,e,r,o)},e._context.doubleClickDelay)}else if(a===2){r._clickTimeout&&clearTimeout(r._clickTimeout),e._legendMouseDownTime=0;var v=th.triggerHandler(e,"plotly_legenddoubleclick",u);v!==!1&&f!==!1&&s&&Sw(t,e,r,s)}}function eW(e,r,t){var a=ru.getId(t),n=e.data()[0][0],i=n.trace,l=Ro.traceIs(i,"pie-like"),o=!t._inHover&&r._context.edits.legendText&&!l,s=t._maxNameLength,u,f;n.groupTitle?(u=n.groupTitle.text,f=n.groupTitle.font):(f=t.font,t.entries?u=n.text:(u=l?n.label:i.name,i._meta&&(u=Et.templateString(u,i._meta))));var v=Et.ensureSingle(e,"text",a+"text");v.attr("text-anchor","start").call(Pt.font,f).text(o?Ew(u,s):u);var h=t.indentation+t.itemwidth+Ot.itemGap*2;zo.positionText(v,h,0),o?v.call(zo.makeEditable,{gd:r,text:u}).call(rh,e,r,t).on("edit",function(d){this.text(Ew(d,s)).call(rh,e,r,t);var m=n.trace._fullInput||{},y={};return y.name=d,m._isShape?Ro.call("_guiRelayout",r,"shapes["+i.index+"].name",y.name):Ro.call("_guiRestyle",r,y,i.index)}):rh(v,e,r,t)}function Ew(e,r){var t=Math.max(4,r);if(e&&e.trim().length>=t/2)return e;e=e||"";for(var a=t-e.length;a>0;a--)e+=" ";return e}function rW(e,r,t){var a=r._context.doubleClickDelay,n,i=1,l=Et.ensureSingle(e,"rect",t+"toggle",function(o){r._context.staticPlot||o.style("cursor","pointer").attr("pointer-events","all"),o.call(Ef.fill,"rgba(0,0,0,0)")});r._context.staticPlot||(l.on("mousedown",function(){n=new Date().getTime(),n-r._legendMouseDownTimea&&(i=Math.max(i-1,1)),Rw(r,o,e,i,Va.event)}}))}function tW(e,r,t,a){if(r._fullData.some(function(u){let f=u.legend||"legend";return(Array.isArray(f)?f.includes(a):f===a)&&Ro.traceIs(u,"pie-like")}))return;let i=r._context.doubleClickDelay;var l,o=1;let s=Et.ensureSingle(e,"rect",a+"titletoggle",function(u){r._context.staticPlot||u.style("cursor","pointer").attr("pointer-events","all"),u.call(Ef.fill,"rgba(0,0,0,0)")});r._context.staticPlot||(s.on("mousedown",function(){l=new Date().getTime(),l-r._legendMouseDownTimei&&(o=Math.max(o-1,1));let u={event:Va.event,legendId:a,data:r.data,layout:r.layout,fullData:r._fullData,fullLayout:r._fullLayout};if(o===1&&t.titleclick){if(th.triggerHandler(r,"plotly_legendtitleclick",u)===!1)return;t._titleClickTimeout=setTimeout(function(){r._fullLayout&&Cw(r,t,t.titleclick)},i)}else o===2&&(t._titleClickTimeout&&clearTimeout(t._titleClickTimeout),r._legendMouseDownTime=0,th.triggerHandler(r,"plotly_legendtitledoubleclick",u)!==!1&&t.titledoubleclick&&Cw(r,t,t.titledoubleclick))}))}function rh(e,r,t,a,n){a._inHover&&e.attr("data-notex",!0),zo.convertToTspans(e,t,function(){aW(r,t,a,n)})}function aW(e,r,t,a){var n=e.data()[0][0],i=n&&n.trace.showlegend;if(Array.isArray(i)&&(i=i[n.i]!==!1),!t._inHover&&n&&!i){e.remove();return}var l=e.select("g[class*=math-group]"),o=l.node(),s=ru.getId(t);t||(t=r._fullLayout[s]);var u=t.borderwidth,f;a===js?f=t.title.font:n.groupTitle?f=n.groupTitle.font:f=t.font;var v=f.size*Pw,h,d;if(o){var m=Pt.bBox(o);h=m.height,d=m.width,a===js?Pt.setTranslate(l,u,u+h*.75):Pt.setTranslate(l,0,h*.25)}else{var y="."+s+(a===js?"title":"")+"text",g=e.select(y),_=zo.lineCount(g),T=g.node();if(h=v*_,d=T?Pt.bBox(T).width:0,a===js)t.title.side==="left"&&(d+=Ot.itemGap*2),zo.positionText(g,u+Ot.titlePad,u+v);else{var w=Ot.itemGap*2+t.indentation+t.itemwidth;n.groupTitle&&(w=Ot.itemGap,d-=t.indentation+t.itemwidth),zo.positionText(g,w,-v*((_-1)/2-.3))}}a===js?(t._titleWidth=d,t._titleHeight=h):(n.lineHeight=v,n.height=Math.max(h,16)+3,n.width=d)}function nW(e){var r=0,t=0,a=e.title.side;return a&&(a.indexOf("left")!==-1&&(r=e._titleWidth),a.indexOf("top")!==-1&&(t=e._titleHeight)),[r,t]}function iW(e,r,t,a,n){var i=e._fullLayout,l=ru.getId(a);a||(a=i[l]);var o=i._size,s=ru.isVertical(a),u=ru.isGrouped(a),f=a.entrywidthmode==="fraction",v=a.borderwidth,h=2*v,d=Ot.itemGap,m=a.indentation+a.itemwidth+d*2,y=2*(v+d),g=nh(a),_=a.y1||a.y===1&&g==="bottom",w=a.tracegroupgap,b={};let{orientation:M,yref:C}=a,{maxheight:k}=a,q=_||T||M!=="v"||C!=="paper";k||(k=q?.5:1);let D=q?i.height:o.h;a._maxHeight=Math.max(k>1?k:k*D,30);var P=0;a._width=0,a._height=0;var z=nW(a);if(s)t.each(function(le){var he=le[0].height;Pt.setTranslate(this,v+z[0],v+z[1]+a._height+he/2+d),a._height+=he,a._width=Math.max(a._width,le[0].width)}),P=m+a._width,a._width+=d+m+h,a._height+=y,u&&(r.each(function(le,he){Pt.setTranslate(this,0,he*a.tracegroupgap)}),a._height+=(a._lgroupsLength-1)*a.tracegroupgap);else{var F=ah(a),O=a.x1||a.x===1&&F==="left",V=T||_,J=i.width/2;a._maxWidth=Math.max(O?V&&F==="left"?o.l+o.w:J:I?V&&F==="right"?o.r+o.w:J:o.w,2*m);var G=0,U=0;t.each(function(le){var he=eh(le,a,m);G=Math.max(G,he),U+=he}),P=null;var H=0;if(u){var Q=0,Z=0,ne=0;r.each(function(){var le=0,he=0;Va.select(this).selectAll("g.traces").each(function(Re){var Ee=eh(Re,a,m),Le=Re[0].height;Pt.setTranslate(this,z[0],z[1]+v+d+Le/2+he),he+=Le,le=Math.max(le,Ee),b[Re[0].trace.legendgroup]=le});var me=le+d;Z>0&&me+v+Z>a._maxWidth?(H=Math.max(H,Z),Z=0,ne+=Q+w,Q=he):Q=Math.max(Q,he),Pt.setTranslate(this,Z,ne),Z+=me}),a._width=Math.max(H,Z)+v,a._height=ne+Q+y}else{var ce=t.size(),ye=U+h+(ce-1)*d=a._maxWidth&&(H=Math.max(H,pe),re=0,Ce+=Se,a._height+=Se,Se=0),Pt.setTranslate(this,z[0]+v+re,z[1]+v+Ce+he/2+d),pe=re+me+d,re+=Re,Se=Math.max(Se,he)}),ye?(a._width=re+h,a._height=Se+y):(a._width=Math.max(H,pe)+h,a._height+=Se+y)}}a._width=Math.ceil(Math.max(a._width+z[0],a._titleWidth+2*(v+Ot.titlePad))),a._height=Math.ceil(Math.max(a._height+z[1],a._titleHeight+2*(v+Ot.itemGap))),a._effHeight=Math.min(a._height,a._maxHeight);var be=e._context.edits,Ae=be.legendText||be.legendPosition;t.each(function(le){var he=Va.select(this).select("."+l+"toggle"),me=le[0].height,Re=le[0].trace.legendgroup,Ee=eh(le,a,m);u&&Re!==""&&(Ee=b[Re]);var Le=Ae?m:P||Ee;!s&&!f&&(Le+=d/2),Pt.setRect(he,0,-me/2,Le,me)});var ge=n.select("."+l+"titletext");ge.node()&&jG(ge,a,v);var B=n.select("."+l+"titletoggle");if(B.size()&&ge.node()){var $=ge.attr("x")||0,Y=Ot.titlePad;Pt.setRect(B,$-Y,v,a._titleWidth+2*Y,a._titleHeight+2*Y)}}function lW(e,r,t,a){var n=e._fullLayout,i=n[r],l=ah(i),o=nh(i),s=i.xref==="paper",u=i.yref==="paper";e._fullLayout._reservedMargin[r]={};var f=i.y<.5 my.automargin ah et.isrightanchor nh et.isbottomanchor qy="K(Ly=">{"use strict";var No=Hr(),Ki=Or(),Nw=wn(),Tt=Oe(),oW=Tt.pushUnique,Sy=Tt.strTranslate,sW=Tt.strRotate,uW=ff(),Ln=ga(),fW=ow(),Li=tt(),jt=Er(),ih=ti(),qi=pt(),cW=Qt().zindexSeparator,au=br(),ai=Ti(),Fo=Qu(),vW=vy(),hW=ky(),Vw=Fo.YANGLE,Cy=Math.PI*Vw/180,dW=1/Math.sin(Cy),pW=Math.cos(Cy),mW=Math.sin(Cy),mt=Fo.HOVERARROWSIZE,Br=Fo.HOVERTEXTPAD,Fw={box:!0,ohlc:!0,violin:!0,candlestick:!0},yW={scatter:!0,scattergl:!0,splom:!0};function Iw(e,r){return e.distance-r.distance}Ly.hover=function(r,t,a,n){r=Tt.getGraphDiv(r);var i=t.target;Tt.throttle(r._fullLayout._uid+Fo.HOVERID,Fo.HOVERMINTIME,function(){gW(r,t,a,n,i)})};Ly.loneHover=function(r,t){var a=!0;Array.isArray(r)||(a=!1,r=[r]);var n=t.gd,i=Jw(n),l=Kw(n),o=r.map(function(g){var _=g._x0||g.x0||g.x||0,T=g._x1||g.x1||g.x||0,w=g._y0||g.y0||g.y||0,b=g._y1||g.y1||g.y||0,M=g.eventData;if(M){var C=Math.min(_,T),k=Math.max(_,T),q=Math.min(w,b),D=Math.max(w,b),P=g.trace;if(au.traceIs(P,"gl3d")){var z=n._fullLayout[P.scene]._scene.container,F=z.offsetLeft,O=z.offsetTop;C+=F,k+=F,q+=O,D+=O}M.bbox={x0:C+l,x1:k+l,y0:q+i,y1:D+i},M.xPixel=(_+T)/2,M.yPixel=(w+b)/2,t.inOut_bbox&&t.inOut_bbox.push(M.bbox)}else M=!1;return{color:g.color||jt.defaultLine,x0:g.x0||g.x||0,x1:g.x1||g.x||0,y0:g.y0||g.y||0,y1:g.y1||g.y||0,xLabel:g.xLabel,yLabel:g.yLabel,zLabel:g.zLabel,text:g.text,name:g.name,idealAlign:g.idealAlign,borderColor:g.borderColor,fontFamily:g.fontFamily,fontSize:g.fontSize,fontColor:g.fontColor,fontWeight:g.fontWeight,fontStyle:g.fontStyle,fontVariant:g.fontVariant,nameLength:g.nameLength,textAlign:g.textAlign,trace:g.trace||{index:0,hoverinfo:""},xa:{_offset:0},ya:{_offset:0},index:0,hovertemplate:g.hovertemplate||!1,hovertemplateLabels:g.hovertemplateLabels||!1,eventData:M}}),s=!1,u=Ww(o,{gd:n,hovermode:"closest",rotateLabels:s,bgColor:t.bgColor||jt.background,container:No.select(t.container),outerContainer:t.outerContainer||t.container}),f=u.hoverLabels,v=5,h=0,d=0;f.sort(function(g,_){return g.y0-_.y0}).each(function(g,_){var T=g.y0-g.by/2;T-vk[0]._length||Yq[0]._length)return ih.unhoverRaw(e,r)}if(r.pointerX=$+k[0]._offset,r.pointerY=Y+q[0]._offset,"xval"in r?J=ai.flat(i,r.xval):J=ai.p2c(k,$),"yval"in r?G=ai.flat(i,r.yval):G=ai.p2c(q,Y),!Ki(J[0])||!Ki(G[0]))return Tt.warn("Fx.hover failed",r,e),ih.unhoverRaw(e,r)}o.clickanywhere&&(e._hoverXVals=J,e._hoverYVals=G,e._hoverXAxes=k,e._hoverYAxes=q);var me=1/0;function Re(vr,ot){for(H=0;Hpe&&(I.splice(0,pe),me=I[0].distance),v&&O!==0&&I.length===0){Ce.distance=O,Ce.index=!1;var at=Z._module.hoverPoints(Ce,Se,re,"closest",{hoverLayer:o._hoverlayer});if(at&&(at=at.filter(function(Ya){return Ya.spikeDistanceXa.spikeDistance)&&(be.vLinePoint=Xa))}var vt=at.filter(function(Ya){return Ya.ya.showspikes&&Ya.ya.spikesnap!=="hovered data"});if(vt.length){var Nt=vt[0];Ki(Nt.x0)&&Ki(Nt.y0)&&(Xa=Le(Nt),(!be.hLinePoint||be.hLinePoint.spikeDistance>Xa.spikeDistance)&&(be.hLinePoint=Xa))}}}}}Re();function Ee(vr,ot,Jr){for(var nt=null,la=1/0,oa,at=0;atvr.trace.index===ke.trace.index):I=[ke];var He=I.length,Ze=Uw("x",ke,o),Ue=Uw("y",ke,o);Re(Ze,Ue);var Ge=[],ir={},ar=0,er=function(vr){var ot=Fw[vr.trace.type]?Gw(vr):vr.trace.index;if(!ir[ot])ar++,ir[ot]=ar,Ge.push(vr);else{var Jr=ir[ot]-1,nt=Ge[Jr];Jr>0&&Math.abs(vr.distance)He-1;Ne--)er(I[Ne]);I=Ge,De()}var ae=e._hoverdata,oe=[],qe=Jw(e),Pe=Kw(e);for(let vr of I){var $e=ai.makeEventData(vr,vr.trace,vr.cd);if(vr.hovertemplate!==!1){var cr=!1;vr.cd[vr.index]&&vr.cd[vr.index].ht&&(cr=vr.cd[vr.index].ht),vr.hovertemplate=cr||vr.trace.hovertemplate||!1}if(vr.xa&&vr.ya){var sr=vr.x0+vr.xa._offset,Mr=vr.x1+vr.xa._offset,Ir=vr.y0+vr.ya._offset,Zr=vr.y1+vr.ya._offset,lt=Math.min(sr,Mr),_t=Math.max(sr,Mr),gt=Math.min(Ir,Zr),Bt=Math.max(Ir,Zr);$e.bbox={x0:lt+Pe,x1:_t+Pe,y0:gt+qe,y1:Bt+qe},$e.xPixel=(sr+Mr)/2,$e.yPixel=(Ir+Zr)/2}vr.eventData=[$e],oe.push($e)}e._hoverdata=oe;var zt=h==="y"&&(V.length>1||I.length>1)||h==="closest"&&Ae&&I.length>1,Oa=jt.combine(o.plot_bgcolor||jt.background,o.paper_bgcolor),va=Ww(I,{gd:e,hovermode:h,rotateLabels:zt,bgColor:Oa,container:o._hoverlayer,outerContainer:o._paper.node(),commonLabelOpts:o.hoverlabel,hoverdistance:o.hoverdistance}),aa=va.hoverLabels;if(ai.isUnifiedHover(h)||(xW(aa,zt,o,va.commonLabelBoundingBox),Zw(aa,zt,o._invScaleX,o._invScaleY)),n&&n.tagName){var Ba=au.getComponentMethod("annotations","hasClickToShow")(e,oe);fW(No.select(n),Ba?"pointer":"")}var na=TW(e,r,ae);if(!n||a||!na&&!o.hoveranywhere)return;ae&&na&&e.emit("plotly_unhover",{event:r,points:ae}),ia(e._hoverdata);function ia(vr){e.emit("plotly_hover",{event:r,points:vr,xaxes:k,yaxes:q,xvals:J,yvals:G})}}function Gw(e){return[e.trace.index,e.index,e.x0,e.y0,e.name,e.attr,e.xa?e.xa._id:"",e.ya?e.ya._id:""].join(",")}var bW=/([\s\S]*)/;function Ww(e,r){var t=r.gd,a=t._fullLayout,n=r.hovermode,i=r.rotateLabels,l=r.bgColor,o=r.container,s=r.outerContainer,u=r.commonLabelOpts||{};if(e.length===0)return[[]];var f=r.fontFamily||Fo.HOVERFONT,v=r.fontSize||Fo.HOVERFONTSIZE,h=r.fontWeight||a.font.weight,d=r.fontStyle||a.font.style,m=r.fontVariant||a.font.variant,y=r.fontTextcase||a.font.textcase,g=r.fontLineposition||a.font.lineposition,_=r.fontShadow||a.font.shadow,T=e[0],w=T.xa,b=T.ya,M=n.charAt(0),C=M+"Label",k=T[C];if(k===void 0&&w.type==="multicategory")for(var q=0;qa.width-oe&&(qe=a.width-oe),Me.attr("d","M"+(er-qe)+",0L"+(er-qe+mt)+","+ae+mt+"H"+oe+"v"+ae+(Br*2+ar.height)+"H"+-oe+"V"+ae+mt+"H"+(er-qe-mt)+"Z"),er=qe,H.minX=er-oe,H.maxX=er+oe,w.side==="top"?(H.minY=Ne-(Br*2+ar.height),H.maxY=Ne-Br):(H.minY=Ne+Br,H.maxY=Ne+(Br*2+ar.height))}else{var Pe,$e,cr;b.side==="right"?(Pe="start",$e=1,cr="",er=w._offset+w._length):(Pe="end",$e=-1,cr="-",er=w._offset),Ne=b._offset+(T.y0+T.y1)/2,ke.attr("text-anchor",Pe),Me.attr("d","M0,0L"+cr+mt+","+mt+"V"+(Br+ar.height/2)+"h"+cr+(Br*2+ar.width)+"V-"+(Br+ar.height/2)+"H"+cr+mt+"V-"+mt+"Z"),H.minY=Ne-(Br+ar.height/2),H.maxY=Ne+(Br+ar.height/2),b.side==="right"?(H.minX=er+mt,H.maxX=er+mt+(Br*2+ar.width)):(H.minX=er-mt-(Br*2+ar.width),H.maxX=er-mt);var sr=ar.height/2,Mr=P-ar.top-sr,Ir="clip"+a._uid+"commonlabel"+b._id,Zr;if(erMe.hoverinfo!=="none");if(ze.length===0)return[];var Q=a.hoverlabel,Z=Q.font,ne=ze[0],ce=((n==="x unified"?ne.xa:ne.ya).unifiedhovertitle||{}).text,ye=ce?Tt.hovertemplateString({data:n==="x unified"?[{xa:ne.xa,x:ne.xVal}]:[{ya:ne.ya,y:ne.yVal}],fallback:ne.trace.hovertemplatefallback,locale:a._d3locale,template:ce}):k,Se={showlegend:!0,legend:{title:{text:ye,font:Z},font:Z,bgcolor:Q.bgcolor,bordercolor:Q.bordercolor,borderwidth:1,tracegroupgap:7,traceorder:a.legend?a.legend.traceorder:void 0,orientation:"v"}},re={font:Z};vW(Se,re,t._fullData);var Ce=re.legend;Ce.entries=[];for(var pe=0;pe=0?xe=De:Ie+he=0?xe=Ie:We+he=0?Ke=Fe:Xe+me=0?Ke=Xe:ie+me=0,(ze.idealAlign==="top"||!gt)&&Bt?(cr-=Mr/2,ze.anchor="end"):gt?(cr+=Mr/2,ze.anchor="start"):ze.anchor="middle",ze.crossPos=cr;else{if(ze.pos=cr,gt=$e+sr/2+_t=0,(ze.idealAlign==="left"||!gt)&&Bt)$e-=sr/2,ze.anchor="end";else if(gt)$e+=sr/2,ze.anchor="start";else{ze.anchor="middle";var zt=_t/2,Oa=$e+zt-z,va=$e-zt;Oa>0&&($e-=Oa),va"),e.yLabel!==void 0&&(o+="y: "+e.yLabel+"
"),e.trace.type!=="choropleth"&&e.trace.type!=="choroplethmapbox"&&e.trace.type!=="choroplethmap"&&(o+=(o?"z: ":"")+e.zLabel)):r&&e[s+"Label"]===n?o=e[u+"Label"]||"":e.xLabel===void 0?e.yLabel!==void 0&&e.trace.type!=="scattercarpet"&&(o=e.yLabel):e.yLabel===void 0?o=e.xLabel:o="("+e.xLabel+", "+e.yLabel+")",(e.text||e.text===0)&&!Array.isArray(e.text)&&(o+=(o?"
":"")+e.text),e.extraText!==void 0&&(o+=(o?"
":"")+e.extraText),i&&o===""&&!e.hovertemplate&&(l===""&&i.remove(),o=l),(h=(v=e.trace)==null?void 0:v.hoverlabel)!=null&&h.split&&(e.hovertemplate="");let{hovertemplate:f=!1}=e;if(f){let d=e.hovertemplateLabels||e;e[s+"Label"]!==n&&(d[s+"other"]=d[s+"Val"],d[s+"otherLabel"]=d[s+"Label"]),o=Tt.hovertemplateString({data:[e.eventData[0]||{},e.trace._meta],fallback:e.trace.hovertemplatefallback,labels:d,locale:a._d3locale,template:f}),o=o.replace(bW,(m,y)=>(l=Yw(y,e.nameLength),""))}return[o,l]}function xW(e,r,t,a){var n=r?"xa":"ya",i=r?"ya":"xa",l=0,o=1,s=e.size(),u=new Array(s),f=0,v=a.minX,h=a.maxX,d=a.minY,m=a.maxY,y=function(J){return J*t._invScaleX},g=function(J){return J*t._invScaleY};e.each(function(J){var G=J[n],U=J[i],H=G._id.charAt(0)==="x",Q=G.range;f===0&&Q&&Q[0]>Q[1]!==H&&(o=-1);var Z=0,ne=H?t.width:t.height;if(t.hovermode==="x"||t.hovermode==="y"){var ce=Xw(J,r),ye=J.anchor,Se=ye==="end"?-1:1,re,Ce;if(ye==="middle")re=J.crossPos+(H?g(ce.y-J.by/2):y(J.bx/2+J.tx2width/2)),Ce=re+(H?g(J.by):y(J.bx));else if(H)re=J.crossPos+g(mt+ce.y)-g(J.by/2-mt),Ce=re+g(J.by);else{var pe=y(Se*mt+ce.x),be=pe+y(Se*J.bx);re=J.crossPos+Math.min(pe,be),Ce=J.crossPos+Math.max(pe,be)}H?d!==void 0&&m!==void 0&&Math.min(Ce,m)-Math.max(re,d)>1&&(U.side==="left"?(Z=U._mainLinePosition,ne=t.width):ne=U._mainLinePosition):v!==void 0&&h!==void 0&&Math.min(Ce,h)-Math.max(re,v)>1&&(U.side==="top"?(Z=U._mainLinePosition,ne=t.height):ne=U._mainLinePosition)}u[f++]=[{datum:J,traceIndex:J.trace.index,dp:0,pos:J.pos,posref:J.posref,size:J.by*(H?dW:1)/2,pmin:Z,pmax:ne}]}),u.sort(function(J,G){return J[0].posref-G[0].posref||o*(G[0].traceIndex-J[0].traceIndex)});var _,T,w,b,M,C,k;function q(J){var G=J[0],U=J[J.length-1];if(T=G.pmin-G.pos-G.dp+G.size,w=U.pos+U.dp+U.size-G.pmax,T>.01){for(M=J.length-1;M>=0;M--)J[M].dp+=T;_=!1}if(!(w<.01>=0;M--)J[M].dp-=w;_=!1}if(_){var H=0;for(b=0;bG.pmax&&H++;for(b=J.length-1;b>=0&&!(HG.pmax-1&&(C.del=!0,H--);for(b=0;b=0;M--)J[M].dp-=w;for(b=J.length-1;b>=0&&!(HG.pmax&&(C.del=!0,H--)}}}for(;!_&&l.01){for(M=P.length-1;M>=0;M--)P[M].dp+=T;for(D.push.apply(D,P),u.splice(b+1,1),k=0,M=D.length-1;M>=0;M--)k+=D[M].dp;for(w=k/D.length,M=D.length-1;M>=0;M--)D[M].dp-=w;_=!1}else b++}u.forEach(q)}for(b=u.length-1;b>=0;b--){var O=u[b];for(M=O.length-1;M>=0;M--){var I=O[M],V=I.datum;V.offset=I.dp,V.del=I.del}}}function Xw(e,r){var t=0,a=e.offset;return r&&(a*=-mW,t=e.offset*pW),{x:t,y:a}}function _W(e){var r={start:1,end:-1,middle:0}[e.anchor],t=r*(mt+Br),a=t+r*(e.txwidth+Br),n=e.anchor==="middle";return n&&(t-=e.tx2width/2,a+=e.txwidth/2+Br),{alignShift:r,textShiftX:t,text2ShiftX:a}}function Zw(e,r,t,a){var n=function(l){return l*t},i=function(l){return l*a};e.each(function(l){var o=No.select(this);if(l.del)return o.remove();var s=o.select("text.nums"),u=l.anchor,f=u==="end"?-1:1,v=_W(l),h=Xw(l,r),d=h.x,m=h.y,y=u==="middle",g="hoverlabel"in l.trace?l.trace.hoverlabel.showarrow:!0,_;y?_="M-"+n(l.bx/2+l.tx2width/2)+","+i(m-l.by/2)+"h"+n(l.bx)+"v"+i(l.by)+"h-"+n(l.bx)+"Z":g?_="M0,0L"+n(f*mt+d)+","+i(mt+m)+"v"+i(l.by/2-mt)+"h"+n(f*l.bx)+"v-"+i(l.by)+"H"+n(f*mt+d)+"V"+i(m-mt)+"Z":_="M"+n(f*mt+d)+","+i(m-l.by/2)+"h"+n(f*l.bx)+"v"+i(l.by)+"h"+n(-f*l.bx)+"Z",o.select("path").attr("d",_);var T=d+v.textShiftX,w=m+l.ty0-l.by/2+Br,b=l.textAlign||"auto";b!=="auto"&&(b==="left"&&u!=="start"?(s.attr("text-anchor","start"),T=y?-l.bx/2-l.tx2width/2+Br:-l.bx-Br):b==="right"&&u!=="end"&&(s.attr("text-anchor","end"),T=y?l.bx/2-l.tx2width/2-Br:l.bx+Br)),s.call(Ln.positionText,n(T),i(w)),l.tx2width&&(o.select("text.name").call(Ln.positionText,n(v.text2ShiftX+v.alignShift*Br+d),i(m+l.ty0-l.by/2+Br)),o.select("rect").call(Li.setRect,n(v.text2ShiftX+(v.alignShift-1)*l.tx2width/2+d),i(m-l.by/2-1),n(l.tx2width),i(l.by+2)))})}function wW(e,r){var t=e.index,a=e.trace||{},n=e.cd[0],i=e.cd[t]||{};function l(h){return h||Ki(h)&&h===0}var o=Array.isArray(t)?function(h,d){var m=Tt.castOption(n,t,h);return l(m)?m:Tt.extractOption({},a,"",d)}:function(h,d){return Tt.extractOption(i,a,h,d)};function s(h,d,m){var y=o(d,m);l(y)&&(e[h]=y)}if(s("hoverinfo","hi","hoverinfo"),s("bgcolor","hbg","hoverlabel.bgcolor"),s("borderColor","hbc","hoverlabel.bordercolor"),s("fontFamily","htf","hoverlabel.font.family"),s("fontSize","hts","hoverlabel.font.size"),s("fontColor","htc","hoverlabel.font.color"),s("fontWeight","htw","hoverlabel.font.weight"),s("fontStyle","hty","hoverlabel.font.style"),s("fontVariant","htv","hoverlabel.font.variant"),s("nameLength","hnl","hoverlabel.namelength"),s("textAlign","hta","hoverlabel.align"),e.posref=r==="y"||r==="closest"&&a.orientation==="h"?e.xa._offset+(e.x0+e.x1)/2:e.ya._offset+(e.y0+e.y1)/2,e.x0=Tt.constrain(e.x0,0,e.xa._length),e.x1=Tt.constrain(e.x1,0,e.xa._length),e.y0=Tt.constrain(e.y0,0,e.ya._length),e.y1=Tt.constrain(e.y1,0,e.ya._length),e.xLabelVal!==void 0&&(e.xLabel="xLabel"in e?e.xLabel:qi.hoverLabelText(e.xa,e.xLabelVal,a.xhoverformat),e.xVal=e.xa.c2d(e.xLabelVal)),e.yLabelVal!==void 0&&(e.yLabel="yLabel"in e?e.yLabel:qi.hoverLabelText(e.ya,e.yLabelVal,a.yhoverformat),e.yVal=e.ya.c2d(e.yLabelVal)),e.zLabelVal!==void 0&&e.zLabel===void 0&&(e.zLabel=String(e.zLabelVal)),!isNaN(e.xerr)&&!(e.xa.type==="log"&&e.xerr=0;a--){var n=t[a],i=e._hoverdata[a];if(n.curveNumber!==i.curveNumber||String(n.pointNumber)!==String(i.pointNumber)||String(n.pointNumbers)!==String(i.pointNumbers)||n.binNumber!==i.binNumber)return!0}return!1}function Bw(e,r){return!r||r.vLinePoint!==e._spikepoints.vLinePoint||r.hLinePoint!==e._spikepoints.hLinePoint}function Yw(e,r){return Ln.plainText(e||"",{len:r,allowedTags:["br","sub","sup","b","i","em","s","u"]})}function MW(e,r){for(var t=r.charAt(0),a=[],n=[],i=[],l=0;le.offsetTop+e.clientTop,Kw=e=>e.offsetLeft+e.clientLeft;function tu(e,r){var t=e._fullLayout,a=r.getBoundingClientRect(),n=a.left,i=a.top,l=n+a.width,o=i+a.height,s=Tt.apply3DTransform(t._invTransform)(n,i),u=Tt.apply3DTransform(t._invTransform)(l,o),f=s[0],v=s[1],h=u[0],d=u[1];return{x:f,y:v,width:h-f,height:d-v,top:Math.min(v,d),left:Math.min(f,h),right:Math.max(f,h),bottom:Math.max(v,d)}}});var lh=K((Use,Qw)=>{"use strict";var AW=Oe(),kW=Er(),SW=Ti().isUnifiedHover;Qw.exports=function(r,t,a,n){n=n||{};var i=t.legend;function l(o){n.font[o]||(n.font[o]=i?t.legend.font[o]:t.font[o])}t&&SW(t.hovermode)&&(n.font||(n.font={}),l("size"),l("family"),l("color"),l("weight"),l("style"),l("variant"),i?(n.bgcolor||(n.bgcolor=kW.combine(t.legend.bgcolor,t.paper_bgcolor)),n.bordercolor||(n.bordercolor=t.legend.bordercolor)):n.bgcolor||(n.bgcolor=t.paper_bgcolor)),a("hoverlabel.bgcolor",n.bgcolor),a("hoverlabel.bordercolor",n.bordercolor),a("hoverlabel.namelength",n.namelength),a("hoverlabel.showarrow",n.showarrow),AW.coerceFont(a,"hoverlabel.font",n.font),a("hoverlabel.align",n.align)}});var jw=K((Vse,$w)=>{"use strict";var CW=Oe(),LW=lh(),qW=ws();$w.exports=function(r,t){function a(n,i){return CW.coerce(r,t,qW,n,i)}LW(r,t,a)}});var tT=K((Gse,rT)=>{"use strict";var eT=Oe(),DW=qv(),EW=lh();rT.exports=function(r,t,a,n){function i(o,s){return eT.coerce(r,t,DW,o,s)}var l=eT.extendFlat({},n.hoverlabel);t.hovertemplate&&(l.namelength=-1),EW(r,t,i,l)}});var Dy=K((Wse,aT)=>{"use strict";var PW=Oe(),RW=ws();aT.exports=function(r,t){function a(n,i){return t[n]!==void 0?t[n]:PW.coerce(r,t,RW,n,i)}return a("clickmode"),a("hoversubplots"),a("hoveranywhere"),a("clickanywhere"),a("hovermode")}});var lT=K((Xse,iT)=>{"use strict";var nT=Oe(),zW=ws(),NW=Dy(),FW=lh();iT.exports=function(r,t){function a(f,v){return nT.coerce(r,t,zW,f,v)}var n=NW(r,t);n&&(a("hoverdistance"),a("spikedistance"),n.indexOf("unified")!==-1&&a("hoversort"));var i=a("dragmode");i==="select"&&a("selectdirection");var l=t._has("mapbox"),o=t._has("map"),s=t._has("geo"),u=t._basePlotModules.length;t.dragmode==="zoom"&&((l||o||s)&&u===1||(l||o)&&s&&u===2)&&(t.dragmode="pan"),FW(r,t,a),nT.coerceFont(a,"hoverlabel.grouptitlefont",t.hoverlabel.font)}});var uT=K((Zse,sT)=>{"use strict";var Ey=Oe(),oT=br();sT.exports=function(r){var t=r.calcdata,a=r._fullLayout;function n(u){return function(f){return Ey.coerceHoverinfo({hoverinfo:f},{_module:u._module},a)}}for(var i=0;i{"use strict";var HW=br(),OW=qy().hover;fT.exports=function(r,t,a){var n=HW.getComponentMethod("annotations","onClick")(r,r._hoverdata),i=r._fullLayout;a!==void 0&&OW(r,t,a,!0);function l(){var s,u,f,v;var o={points:r._hoverdata,event:t};(s=o.xaxes)!=null||(o.xaxes=r._hoverXAxes),(u=o.yaxes)!=null||(o.yaxes=r._hoverYAxes),(f=o.xvals)!=null||(o.xvals=r._hoverXVals),(v=o.yvals)!=null||(o.yvals=r._hoverYVals),r.emit("plotly_click",o)}(r._hoverdata||i.clickanywhere)&&t&&t.target&&(r._hoverdata||(r._hoverdata=[]),n&&n.then?n.then(l):l(),t.stopImmediatePropagation&&t.stopImmediatePropagation())}});var ni=K((Kse,dT)=>{"use strict";var BW=Hr(),oh=Oe(),YW=ti(),Pf=Ti(),vT=ws(),hT=qy();dT.exports={moduleType:"component",name:"fx",constants:Qu(),schema:{layout:vT},attributes:qv(),layoutAttributes:vT,supplyLayoutGlobalDefaults:jw(),supplyDefaults:tT(),supplyLayoutDefaults:lT(),calc:uT(),getDistanceFunction:Pf.getDistanceFunction,getClosest:Pf.getClosest,inbox:Pf.inbox,quadrature:Pf.quadrature,appendArrayPointValue:Pf.appendArrayPointValue,castHoverOption:VW,castHoverinfo:GW,hover:hT.hover,unhover:YW.unhover,loneHover:hT.loneHover,loneUnhover:UW,click:cT()};function UW(e){var r=oh.isD3Selection(e)?e:BW.select(e);r.selectAll("g.hovertext").remove(),r.selectAll(".spikeline").remove()}function VW(e,r,t){return oh.castOption(e,r,"hoverlabel."+t)}function GW(e,r,t){function a(n){return oh.coerceHoverinfo({hoverinfo:n},{_module:e._module},r)}return oh.castOption(e,t,"hoverinfo",a)}});var nu=K(Qi=>{"use strict";Qi.selectMode=function(e){return e==="lasso"||e==="select"};Qi.drawMode=function(e){return e==="drawclosedpath"||e==="drawopenpath"||e==="drawline"||e==="drawrect"||e==="drawcircle"};Qi.openMode=function(e){return e==="drawline"||e==="drawopenpath"};Qi.rectMode=function(e){return e==="select"||e==="drawline"||e==="drawrect"||e==="drawcircle"};Qi.freeMode=function(e){return e==="lasso"||e==="drawclosedpath"||e==="drawopenpath"};Qi.selectingOrDrawing=function(e){return Qi.freeMode(e)||Qi.rectMode(e)}});var sh=K(($se,pT)=>{"use strict";pT.exports=function(r){var t=r._fullLayout;t._glcanvas&&t._glcanvas.size()&&t._glcanvas.each(function(a){a.regl&&a.regl.clear({color:!0,depth:!0})})}});var uh=K((jse,mT)=>{"use strict";mT.exports={undo:{width:857.1,height:1e3,path:"m857 350q0-87-34-166t-91-137-137-92-166-34q-96 0-183 41t-147 114q-4 6-4 13t5 11l76 77q6 5 14 5 9-1 13-7 41-53 100-82t126-29q58 0 110 23t92 61 61 91 22 111-22 111-61 91-92 61-110 23q-55 0-105-20t-90-57l77-77q17-16 8-38-10-23-33-23h-250q-15 0-25 11t-11 25v250q0 24 22 33 22 10 39-8l72-72q60 57 137 88t159 31q87 0 166-34t137-92 91-137 34-166z",transform:"matrix(1 0 0 -1 0 850)"},home:{width:928.6,height:1e3,path:"m786 296v-267q0-15-11-26t-25-10h-214v214h-143v-214h-214q-15 0-25 10t-11 26v267q0 1 0 2t0 2l321 264 321-264q1-1 1-4z m124 39l-34-41q-5-5-12-6h-2q-7 0-12 3l-386 322-386-322q-7-4-13-4-7 2-12 7l-35 41q-4 5-3 13t6 12l401 334q18 15 42 15t43-15l136-114v109q0 8 5 13t13 5h107q8 0 13-5t5-13v-227l122-102q5-5 6-12t-4-13z",transform:"matrix(1 0 0 -1 0 850)"},"camera-retro":{width:1e3,height:1e3,path:"m518 386q0 8-5 13t-13 5q-37 0-63-27t-26-63q0-8 5-13t13-5 12 5 5 13q0 23 16 38t38 16q8 0 13 5t5 13z m125-73q0-59-42-101t-101-42-101 42-42 101 42 101 101 42 101-42 42-101z m-572-320h858v71h-858v-71z m643 320q0 89-62 152t-152 62-151-62-63-152 63-151 151-63 152 63 62 151z m-571 358h214v72h-214v-72z m-72-107h858v143h-462l-36-71h-360v-72z m929 143v-714q0-30-21-51t-50-21h-858q-29 0-50 21t-21 51v714q0 30 21 51t50 21h858q29 0 50-21t21-51z",transform:"matrix(1 0 0 -1 0 850)"},zoombox:{width:1e3,height:1e3,path:"m1000-25l-250 251c40 63 63 138 63 218 0 224-182 406-407 406-224 0-406-182-406-406s183-406 407-406c80 0 155 22 218 62l250-250 125 125z m-812 250l0 438 437 0 0-438-437 0z m62 375l313 0 0-312-313 0 0 312z",transform:"matrix(1 0 0 -1 0 850)"},pan:{width:1e3,height:1e3,path:"m1000 350l-187 188 0-125-250 0 0 250 125 0-188 187-187-187 125 0 0-250-250 0 0 125-188-188 186-187 0 125 252 0 0-250-125 0 187-188 188 188-125 0 0 250 250 0 0-126 187 188z",transform:"matrix(1 0 0 -1 0 850)"},zoom_plus:{width:875,height:1e3,path:"m1 787l0-875 875 0 0 875-875 0z m687-500l-187 0 0-187-125 0 0 187-188 0 0 125 188 0 0 187 125 0 0-187 187 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},zoom_minus:{width:875,height:1e3,path:"m0 788l0-876 875 0 0 876-875 0z m688-500l-500 0 0 125 500 0 0-125z",transform:"matrix(1 0 0 -1 0 850)"},autoscale:{width:1e3,height:1e3,path:"m250 850l-187 0-63 0 0-62 0-188 63 0 0 188 187 0 0 62z m688 0l-188 0 0-62 188 0 0-188 62 0 0 188 0 62-62 0z m-875-938l0 188-63 0 0-188 0-62 63 0 187 0 0 62-187 0z m875 188l0-188-188 0 0-62 188 0 62 0 0 62 0 188-62 0z m-125 188l-1 0-93-94-156 156 156 156 92-93 2 0 0 250-250 0 0-2 93-92-156-156-156 156 94 92 0 2-250 0 0-250 0 0 93 93 157-156-157-156-93 94 0 0 0-250 250 0 0 0-94 93 156 157 156-157-93-93 0 0 250 0 0 250z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_basic:{width:1500,height:1e3,path:"m375 725l0 0-375-375 375-374 0-1 1125 0 0 750-1125 0z",transform:"matrix(1 0 0 -1 0 850)"},tooltip_compare:{width:1125,height:1e3,path:"m187 786l0 2-187-188 188-187 0 0 937 0 0 373-938 0z m0-499l0 1-187-188 188-188 0 0 937 0 0 376-938-1z",transform:"matrix(1 0 0 -1 0 850)"},plotlylogo:{width:1542,height:1e3,path:"m0-10h182v-140h-182v140z m228 146h183v-286h-183v286z m225 714h182v-1000h-182v1000z m225-285h182v-715h-182v715z m225 142h183v-857h-183v857z m231-428h182v-429h-182v429z m225-291h183v-138h-183v138z",transform:"matrix(1 0 0 -1 0 850)"},"z-axis":{width:1e3,height:1e3,path:"m833 5l-17 108v41l-130-65 130-66c0 0 0 38 0 39 0-1 36-14 39-25 4-15-6-22-16-30-15-12-39-16-56-20-90-22-187-23-279-23-261 0-341 34-353 59 3 60 228 110 228 110-140-8-351-35-351-116 0-120 293-142 474-142 155 0 477 22 477 142 0 50-74 79-163 96z m-374 94c-58-5-99-21-99-40 0-24 65-43 144-43 79 0 143 19 143 43 0 19-42 34-98 40v216h87l-132 135-133-135h88v-216z m167 515h-136v1c16 16 31 34 46 52l84 109v54h-230v-71h124v-1c-16-17-28-32-44-51l-89-114v-51h245v72z",transform:"matrix(1 0 0 -1 0 850)"},"3d_rotate":{width:1e3,height:1e3,path:"m922 660c-5 4-9 7-14 11-359 263-580-31-580-31l-102 28 58-400c0 1 1 1 2 2 118 108 351 249 351 249s-62 27-100 42c88 83 222 183 347 122 16-8 30-17 44-27-2 1-4 2-6 4z m36-329c0 0 64 229-88 296-62 27-124 14-175-11 157-78 225-208 249-266 8-19 11-31 11-31 2 5 6 15 11 32-5-13-8-20-8-20z m-775-239c70-31 117-50 198-32-121 80-199 346-199 346l-96-15-58-12c0 0 55-226 155-287z m603 133l-317-139c0 0 4-4 19-14 7-5 24-15 24-15s-177-147-389 4c235-287 536-112 536-112l31-22 100 299-4-1z m-298-153c6-4 14-9 24-15 0 0-17 10-24 15z",transform:"matrix(1 0 0 -1 0 850)"},camera:{width:1e3,height:1e3,path:"m500 450c-83 0-150-67-150-150 0-83 67-150 150-150 83 0 150 67 150 150 0 83-67 150-150 150z m400 150h-120c-16 0-34 13-39 29l-31 93c-6 15-23 28-40 28h-340c-16 0-34-13-39-28l-31-94c-6-15-23-28-40-28h-120c-55 0-100-45-100-100v-450c0-55 45-100 100-100h800c55 0 100 45 100 100v450c0 55-45 100-100 100z m-400-550c-138 0-250 112-250 250 0 138 112 250 250 250 138 0 250-112 250-250 0-138-112-250-250-250z m365 380c-19 0-35 16-35 35 0 19 16 35 35 35 19 0 35-16 35-35 0-19-16-35-35-35z",transform:"matrix(1 0 0 -1 0 850)"},movie:{width:1e3,height:1e3,path:"m938 413l-188-125c0 37-17 71-44 94 64 38 107 107 107 187 0 121-98 219-219 219-121 0-219-98-219-219 0-61 25-117 66-156h-115c30 33 49 76 49 125 0 103-84 187-187 187s-188-84-188-187c0-57 26-107 65-141-38-22-65-62-65-109v-250c0-70 56-126 125-126h500c69 0 125 56 125 126l188-126c34 0 62 28 62 63v375c0 35-28 63-62 63z m-750 0c-69 0-125 56-125 125s56 125 125 125 125-56 125-125-56-125-125-125z m406-1c-87 0-157 70-157 157 0 86 70 156 157 156s156-70 156-156-70-157-156-157z",transform:"matrix(1 0 0 -1 0 850)"},question:{width:857.1,height:1e3,path:"m500 82v107q0 8-5 13t-13 5h-107q-8 0-13-5t-5-13v-107q0-8 5-13t13-5h107q8 0 13 5t5 13z m143 375q0 49-31 91t-77 65-95 23q-136 0-207-119-9-14 4-24l74-55q4-4 10-4 9 0 14 7 30 38 48 51 19 14 48 14 27 0 48-15t21-33q0-21-11-34t-38-25q-35-16-65-48t-29-70v-20q0-8 5-13t13-5h107q8 0 13 5t5 13q0 10 12 27t30 28q18 10 28 16t25 19 25 27 16 34 7 45z m214-107q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z",transform:"matrix(1 0 0 -1 0 850)"},disk:{width:857.1,height:1e3,path:"m214-7h429v214h-429v-214z m500 0h72v500q0 8-6 21t-11 20l-157 156q-5 6-19 12t-22 5v-232q0-22-15-38t-38-16h-322q-22 0-37 16t-16 38v232h-72v-714h72v232q0 22 16 38t37 16h465q22 0 38-16t15-38v-232z m-214 518v178q0 8-5 13t-13 5h-107q-7 0-13-5t-5-13v-178q0-8 5-13t13-5h107q7 0 13 5t5 13z m357-18v-518q0-22-15-38t-38-16h-750q-23 0-38 16t-16 38v750q0 22 16 38t38 16h517q23 0 50-12t42-26l156-157q16-15 27-42t11-49z",transform:"matrix(1 0 0 -1 0 850)"},drawopenpath:{width:70,height:70,path:"M33.21,85.65a7.31,7.31,0,0,1-2.59-.48c-8.16-3.11-9.27-19.8-9.88-41.3-.1-3.58-.19-6.68-.35-9-.15-2.1-.67-3.48-1.43-3.79-2.13-.88-7.91,2.32-12,5.86L3,32.38c1.87-1.64,11.55-9.66,18.27-6.9,2.13.87,4.75,3.14,5.17,9,.17,2.43.26,5.59.36,9.25a224.17,224.17,0,0,0,1.5,23.4c1.54,10.76,4,12.22,4.48,12.4.84.32,2.79-.46,5.76-3.59L43,80.07C41.53,81.57,37.68,85.64,33.21,85.65ZM74.81,69a11.34,11.34,0,0,0,6.09-6.72L87.26,44.5,74.72,32,56.9,38.35c-2.37.86-5.57,3.42-6.61,6L38.65,72.14l8.42,8.43ZM55,46.27a7.91,7.91,0,0,1,3.64-3.17l14.8-5.3,8,8L76.11,60.6l-.06.19a6.37,6.37,0,0,1-3,3.43L48.25,74.59,44.62,71Zm16.57,7.82A6.9,6.9,0,1,0,64.64,61,6.91,6.91,0,0,0,71.54,54.09Zm-4.05,0a2.85,2.85,0,1,1-2.85-2.85A2.86,2.86,0,0,1,67.49,54.09Zm-4.13,5.22L60.5,56.45,44.26,72.7l2.86,2.86ZM97.83,35.67,84.14,22l-8.57,8.57L89.26,44.24Zm-13.69-8,8,8-2.85,2.85-8-8Z",transform:"matrix(1 0 0 1 -15 -15)"},drawclosedpath:{width:90,height:90,path:"M88.41,21.12a26.56,26.56,0,0,0-36.18,0l-2.07,2-2.07-2a26.57,26.57,0,0,0-36.18,0,23.74,23.74,0,0,0,0,34.8L48,90.12a3.22,3.22,0,0,0,4.42,0l36-34.21a23.73,23.73,0,0,0,0-34.79ZM84,51.24,50.16,83.35,16.35,51.25a17.28,17.28,0,0,1,0-25.47,20,20,0,0,1,27.3,0l4.29,4.07a3.23,3.23,0,0,0,4.44,0l4.29-4.07a20,20,0,0,1,27.3,0,17.27,17.27,0,0,1,0,25.46ZM66.76,47.68h-33v6.91h33ZM53.35,35H46.44V68h6.91Z",transform:"matrix(1 0 0 1 -5 -5)"},lasso:{width:1031,height:1e3,path:"m1018 538c-36 207-290 336-568 286-277-48-473-256-436-463 10-57 36-108 76-151-13-66 11-137 68-183 34-28 75-41 114-42l-55-70 0 0c-2-1-3-2-4-3-10-14-8-34 5-45 14-11 34-8 45 4 1 1 2 3 2 5l0 0 113 140c16 11 31 24 45 40 4 3 6 7 8 11 48-3 100 0 151 9 278 48 473 255 436 462z m-624-379c-80 14-149 48-197 96 42 42 109 47 156 9 33-26 47-66 41-105z m-187-74c-19 16-33 37-39 60 50-32 109-55 174-68-42-25-95-24-135 8z m360 75c-34-7-69-9-102-8 8 62-16 128-68 170-73 59-175 54-244-5-9 20-16 40-20 61-28 159 121 317 333 354s407-60 434-217c28-159-121-318-333-355z",transform:"matrix(1 0 0 -1 0 850)"},selectbox:{width:1e3,height:1e3,path:"m0 850l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-285l0-143 143 0 0 143-143 0z m857 0l0-143 143 0 0 143-143 0z m-857-286l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z m285 0l0-143 143 0 0 143-143 0z m286 0l0-143 143 0 0 143-143 0z",transform:"matrix(1 0 0 -1 0 850)"},drawline:{width:70,height:70,path:"M60.64,62.3a11.29,11.29,0,0,0,6.09-6.72l6.35-17.72L60.54,25.31l-17.82,6.4c-2.36.86-5.57,3.41-6.6,6L24.48,65.5l8.42,8.42ZM40.79,39.63a7.89,7.89,0,0,1,3.65-3.17l14.79-5.31,8,8L61.94,54l-.06.19a6.44,6.44,0,0,1-3,3.43L34.07,68l-3.62-3.63Zm16.57,7.81a6.9,6.9,0,1,0-6.89,6.9A6.9,6.9,0,0,0,57.36,47.44Zm-4,0a2.86,2.86,0,1,1-2.85-2.85A2.86,2.86,0,0,1,53.32,47.44Zm-4.13,5.22L46.33,49.8,30.08,66.05l2.86,2.86ZM83.65,29,70,15.34,61.4,23.9,75.09,37.59ZM70,21.06l8,8-2.84,2.85-8-8ZM87,80.49H10.67V87H87Z",transform:"matrix(1 0 0 1 -15 -15)"},drawrect:{width:80,height:80,path:"M78,22V79H21V22H78m9-9H12V88H87V13ZM68,46.22H31V54H68ZM53,32H45.22V69H53Z",transform:"matrix(1 0 0 1 -10 -10)"},drawcircle:{width:80,height:80,path:"M50,84.72C26.84,84.72,8,69.28,8,50.3S26.84,15.87,50,15.87,92,31.31,92,50.3,73.16,84.72,50,84.72Zm0-60.59c-18.6,0-33.74,11.74-33.74,26.17S31.4,76.46,50,76.46,83.74,64.72,83.74,50.3,68.6,24.13,50,24.13Zm17.15,22h-34v7.11h34Zm-13.8-13H46.24v34h7.11Z",transform:"matrix(1 0 0 1 -10 -10)"},eraseshape:{width:80,height:80,path:"M82.77,78H31.85L6,49.57,31.85,21.14H82.77a8.72,8.72,0,0,1,8.65,8.77V69.24A8.72,8.72,0,0,1,82.77,78ZM35.46,69.84H82.77a.57.57,0,0,0,.49-.6V29.91a.57.57,0,0,0-.49-.61H35.46L17,49.57Zm32.68-34.7-24,24,5,5,24-24Zm-19,.53-5,5,24,24,5-5Z",transform:"matrix(1 0 0 1 -10 -10)"},spikeline:{width:1e3,height:1e3,path:"M512 409c0-57-46-104-103-104-57 0-104 47-104 104 0 57 47 103 104 103 57 0 103-46 103-103z m-327-39l92 0 0 92-92 0z m-185 0l92 0 0 92-92 0z m370-186l92 0 0 93-92 0z m0-184l92 0 0 92-92 0z",transform:"matrix(1.5 0 0 -1.5 0 850)"},pencil:{width:1792,height:1792,path:"M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z",transform:"matrix(1 0 0 1 0 1)"},newplotlylogo:{name:"newplotlylogo",svg:[""].join("")}}});var ch=K((eue,yT)=>{"use strict";var fh=32;yT.exports={CIRCLE_SIDES:fh,i000:0,i090:fh/4,i180:fh/2,i270:fh/4*3,cos45:Math.cos(Math.PI/4),sin45:Math.sin(Math.PI/4),SQRT2:Math.sqrt(2)}});var vh=K((rue,bT)=>{"use strict";var WW=Oe().strTranslate;function gT(e,r){switch(e.type){case"log":return e.p2d(r);case"date":return e.p2r(r,0,e.calendar);default:return e.p2r(r)}}function XW(e,r){switch(e.type){case"log":return e.d2p(r);case"date":return e.r2p(r,0,e.calendar);default:return e.r2p(r)}}function ZW(e){var r=e._id.charAt(0)==="y"?1:0;return function(t){return gT(e,t[r])}}function JW(e){return WW(e.xaxis._offset,e.yaxis._offset)}bT.exports={p2r:gT,r2p:XW,axValue:ZW,getTransform:JW}});var Dl=K($i=>{"use strict";var KW=bm(),wT=ch(),iu=wT.CIRCLE_SIDES,Py=wT.SQRT2,TT=vh(),xT=TT.p2r,_T=TT.r2p,QW=[0,3,4,5,6,1,2],$W=[0,3,4,1,2];$i.writePaths=function(e){var r=e.length;if(!r)return"M0,0Z";for(var t="",a=0;a0&&s{"use strict";var MT=Xt(),LT=nu(),jW=LT.drawMode,eX=LT.openMode,lu=ch(),AT=lu.i000,kT=lu.i090,ST=lu.i180,CT=lu.i270,rX=lu.cos45,tX=lu.sin45,qT=vh(),dh=qT.p2r,El=qT.r2p,aX=wl(),nX=aX.clearOutline,ph=Dl(),iX=ph.readPaths,lX=ph.writePaths,oX=ph.ellipseOver,sX=ph.fixDatesForPaths;function uX(e,r){if(e.length){var t=e[0][0];if(t){var a=r.gd,n=r.isActiveShape,i=r.dragmode,l=(a.layout||{}).shapes||[];if(!jW(i)&&n!==void 0){var o=a._fullLayout._activeShapeIndex;if(o{"use strict";var fX=nu(),cX=fX.selectMode,vX=wl(),hX=vX.clearOutline,Ry=Dl(),dX=Ry.readPaths,pX=Ry.writePaths,mX=Ry.fixDatesForPaths;PT.exports=function(r,t){if(r.length){var a=r[0][0];if(a){var n=a.getAttribute("d"),i=t.gd,l=i._fullLayout.newselection,o=t.plotinfo,s=o.xaxis,u=o.yaxis,f=t.isActiveSelection,v=t.dragmode,h=(i.layout||{}).selections||[];if(!cX(v)&&f!==void 0){var d=i._fullLayout._activeSelectionIndex;if(d{"use strict";RT.exports={segmentRE:/[MLHVQCTSZ][^MLHVQCTSZ]*/g,paramRE:/[^\s,]+/g,paramIsX:{M:{0:!0,drawn:0},L:{0:!0,drawn:0},H:{0:!0,drawn:0},V:{},Q:{0:!0,2:!0,drawn:2},C:{0:!0,2:!0,4:!0,drawn:4},T:{0:!0,drawn:0},S:{0:!0,2:!0,drawn:2},Z:{}},paramIsY:{M:{1:!0,drawn:1},L:{1:!0,drawn:1},H:{},V:{0:!0,drawn:0},Q:{1:!0,3:!0,drawn:3},C:{1:!0,3:!0,5:!0,drawn:5},T:{1:!0,drawn:1},S:{1:!0,3:!0,drawn:3},Z:{}},numParams:{M:2,L:2,H:1,V:1,Q:4,C:6,T:2,S:4,Z:0}}});var Rl=K(ua=>{"use strict";var Ei=zf(),zT=Oe(),Pl=pt();ua.rangeToShapePosition=function(e){return e.type==="log"?e.r2d:function(r){return r}};ua.shapePositionToRange=function(e){return e.type==="log"?e.d2r:function(r){return r}};ua.decodeDate=function(e){return function(r){return r.replace&&(r=r.replace("_"," ")),e(r)}};ua.encodeDate=function(e){return function(r){return e(r).replace(" ","_")}};ua.extractPathCoords=function(e,r,t){var a=[],n=e.match(Ei.segmentRE);return n.forEach(function(i){var l=r[i.charAt(0)].drawn;if(l!==void 0){var o=i.slice(1).match(Ei.paramRE);if(!(!o||o.length{let o=l.charAt(0),s=n[o].drawn!==void 0;return i+(s?1:0)},0)};ua.getDataToPixel=function(e,r,t,a,n){var i=e._fullLayout._size,l;if(r)if(n==="domain")l=function(s){return r._length*(a?1-s:s)+r._offset};else{var o=ua.shapePositionToRange(r);l=function(s){var u=Di(r,t);return r._offset+r.r2p(o(s,!0))+u},r.type==="date"&&(l=ua.decodeDate(l))}else a?l=function(s){return i.t+i.h*(1-s)}:l=function(s){return i.l+i.w*s};return l};ua.getPixelToData=function(e,r,t,a){var n=e._fullLayout._size,i;if(r)if(a==="domain")i=function(o){var s=(o-r._offset)/r._length;return t?1-s:s};else{var l=ua.rangeToShapePosition(r);i=function(o){return l(r.p2r(o-r._offset))}}else t?i=function(o){return 1-(o-n.t)/n.h}:i=function(o){return(o-n.l)/n.w};return i};ua.roundPositionForSharpStrokeRendering=function(e,r){var t=Math.round(r%2)===1,a=Math.round(e);return t?a+.5:a};ua.makeShapesOptionsAndPlotinfo=function(e,r){var t=e._fullLayout.shapes[r]||{},a=e._fullLayout._plots[t.xref+t.yref],n=!!a;return n?a._hadPlotinfo=!0:(a={},t.xref&&t.xref!=="paper"&&(a.xaxis=e._fullLayout[t.xref+"axis"]),t.yref&&t.yref!=="paper"&&(a.yaxis=e._fullLayout[t.yref+"axis"])),a.xsizemode=t.xsizemode,a.ysizemode=t.ysizemode,a.xanchor=t.xanchor,a.yanchor=t.yanchor,{options:t,plotinfo:a}};ua.makeSelectionsOptionsAndPlotinfo=function(e,r){var t=e._fullLayout.selections[r]||{},a=e._fullLayout._plots[t.xref+t.yref],n=!!a;return n?a._hadPlotinfo=!0:(a={},t.xref&&(a.xaxis=e._fullLayout[t.xref+"axis"]),t.yref&&(a.yaxis=e._fullLayout[t.yref+"axis"])),{options:t,plotinfo:a}};ua.getPathString=function(e,r){let t=r.type,a=Pl.getRefType(r.xref),n=Pl.getRefType(r.yref),i=e._fullLayout._size;var l,o,s,u,f,v,h,d,m,y,g,_;function T(P,z,F,O){var I;if(P)if(z==="domain")O?I=function(V){return P._offset+P._length*(1-V)}:I=function(V){return P._offset+P._length*V};else{let V=ua.shapePositionToRange(P);I=function(J){return P._offset+P.r2p(V(J,!0))},F==="path"&&P.type==="date"&&(I=ua.decodeDate(I))}else O?I=function(V){return i.t+i.h*(1-V)}:I=function(V){return i.l+i.w*V};return I}if(a==="array"?(h=[],l=r.xref.map(function(P){return Pl.getFromId(e,P)}),h=r.xref.map(function(P,z){return T(l[z],Pl.getRefType(P),t,!1)})):(l=Pl.getFromId(e,r.xref),h=T(l,a,t,!1)),n==="array"?(d=[],o=r.yref.map(function(P){return Pl.getFromId(e,P)}),d=r.yref.map(function(P,z){return T(o[z],Pl.getRefType(P),t,!0)})):(o=Pl.getFromId(e,r.yref),d=T(o,n,t,!0)),t==="path")return yX(r,h,d);if(a==="array")s=Di(l[0],r.x0shift),u=Di(l[1],r.x1shift),m=h[0](r.x0)+s,y=h[1](r.x1)+u;else if(s=Di(l,r.x0shift),u=Di(l,r.x1shift),r.xsizemode==="pixel"){let P=h(r.xanchor);m=P+r.x0+s,y=P+r.x1+u}else m=h(r.x0)+s,y=h(r.x1)+u;if(n==="array")f=Di(o[0],r.y0shift),v=Di(o[1],r.y1shift),g=d[0](r.y0)+f,_=d[1](r.y1)+v;else if(f=Di(o,r.y0shift),v=Di(o,r.y1shift),r.ysizemode==="pixel"){let P=d(r.yanchor);g=P-r.y0+f,_=P-r.y1+v}else g=d(r.y0)+f,_=d(r.y1)+v;if(t==="line")return"M"+m+","+g+"L"+y+","+_;if(t==="rect")return"M"+m+","+g+"H"+y+"V"+_+"H"+m+"Z";var w=(m+y)/2,b=(g+_)/2,M=Math.abs(w-m),C=Math.abs(b-g),k="A"+M+","+C,q=w+M+","+b,D=w+","+(b-C);return"M"+q+k+" 0 1,1 "+D+k+" 0 0,1 "+q+"Z"};function yX(e,r,t){let a=e.path,n=e.xsizemode,i=e.ysizemode,l=e.xanchor,o=e.yanchor,s=Array.isArray(e.xref),u=Array.isArray(e.yref);var f=0,v=0;return a.replace(Ei.segmentRE,function(h){var d=0,m=h.charAt(0),y=Ei.paramIsX[m],g=Ei.paramIsY[m],_=Ei.numParams[m];let T=y.drawn!==void 0,w=g.drawn!==void 0,b=s?r[f]:r,M=u?t[v]:t;var C=h.slice(1).replace(Ei.paramRE,function(k){return y[d]?n==="pixel"?k=b(l)+Number(k):k=b(k):g[d]&&(i==="pixel"?k=M(o)-Number(k):k=M(k)),d++,d>_&&(k="X"),k});return d>_&&(C=C.replace(/[\s,]*X.*/,""),zT.log("Ignoring extra params in segment "+h)),T&&f++,w&&v++,m+C})}ua.getPixelShift=Di;function Di(e,r){r=r||0;var t=0;return r&&e&&(e.type==="category"||e.type==="multicategory")&&(t=(e.r2p(1)-e.r2p(0))*r),t}});var Ny=K((oue,IT)=>{"use strict";var gX=Oe(),Pi=pt(),NT=ga(),FT=tt(),bX=Dl().readPaths,Io=Rl(),xX=Io.getPathString,Nf=Hv(),_X=Ma().FROM_TL;IT.exports=function(r,t,a,n){if(n.selectAll(".shape-label").remove(),!!(a.label.text||a.label.texttemplate)){var i;if(a.label.texttemplate){var l={};if(a.type!=="path"){var o=Pi.getFromId(r,a.xref),s=Pi.getFromId(r,a.yref);let Z=Array.isArray(a.xref),ne=Array.isArray(a.yref);for(var u in Nf){var f=typeof Nf[u]=="function",v=!Z||Nf.simpleXVariables.includes(u),h=!ne||Nf.simpleYVariables.includes(u);if(f&&v&&h){var d=Nf[u](a,o,s);d!==void 0&&(l[u]=d)}}}i=gX.texttemplateStringForShapes({data:[l],fallback:a.label.texttemplatefallback,locale:r._fullLayout._d3locale,template:a.label.texttemplate})}else i=a.label.text;var m={"data-index":t},y=a.label.font,g={"data-notex":1},_=n.append("g").attr(m).classed("shape-label",!0),T=_.append("text").attr(g).classed("shape-label-text",!0).text(i),w,b,M,C;if(a.path){var k=xX(r,a),q=bX(k,r);w=1/0,M=1/0,b=-1/0,C=-1/0;for(var D=0;DIo.getDataToPixel(r,le,Y,!1,he)($),B=($,Y,le,he)=>Io.getDataToPixel(r,le,Y,!0,he)($);if(a.xsizemode==="pixel"){let $=ge(a.xanchor,void 0,ce,Ce),Y=Io.getPixelShift(ce,a.x0shift),le=Io.getPixelShift(ce,a.x1shift);w=$+a.x0+Y,b=$+a.x1+le}else w=ge(a.x0,a.x0shift,ce,Ce),b=ge(a.x1,a.x1shift,ye,pe);if(a.ysizemode==="pixel"){let $=B(a.yanchor,void 0,Se,be),Y=Io.getPixelShift(Se,a.y0shift),le=Io.getPixelShift(Se,a.y1shift);M=$-a.y0+Y,C=$-a.y1+le}else M=B(a.y0,a.y0shift,Se,be),C=B(a.y1,a.y1shift,re,Ae)}var V=a.label.textangle;V==="auto"&&(a.type==="line"?V=wX(w,M,b,C):V=0),T.call(function(Z){return Z.call(FT.font,y).attr({}),NT.convertToTspans(Z,r),Z});var J=FT.bBox(T.node()),G=TX(w,M,b,C,a,V,J),U=G.textx,H=G.texty,Q=G.xanchor;T.attr({"text-anchor":{left:"start",center:"middle",right:"end"}[Q],y:H,x:U,transform:"rotate("+V+","+U+","+H+")"}).call(NT.positionText,U,H)}};function wX(e,r,t,a){var n,i;return i=Math.abs(t-e),t>=e?n=r-a:n=a-r,-180/Math.PI*Math.atan2(n,i)}function TX(e,r,t,a,n,i,l){var o=n.label.textposition,s=n.label.textangle,u=n.label.padding,f=n.type,v=Math.PI/180*i,h=Math.sin(v),d=Math.cos(v),m=n.label.xanchor,y=n.label.yanchor,g,_,T,w;if(f==="line"){o==="start"?(g=e,_=r):o==="end"?(g=t,_=a):(g=(e+t)/2,_=(r+a)/2),m==="auto"&&(o==="start"?s==="auto"?t>e?m="left":te?m="right":te?m="right":te?m="left":t{"use strict";var MX=Oe(),AX=MX.strTranslate,HT=ti(),YT=nu(),kX=YT.drawMode,UT=YT.selectMode,VT=br(),OT=Er(),gh=ch(),SX=gh.i000,CX=gh.i090,LX=gh.i180,qX=gh.i270,DX=wl(),GT=DX.clearOutlineControllers,Iy=Dl(),yh=Iy.pointsOnRectangle,Fy=Iy.pointsOnEllipse,EX=Iy.writePaths,PX=mh().newShapes,RX=mh().createShapeObj,zX=zy(),NX=Ny();WT.exports=function e(r,t,a,n){n||(n=0);var i=a.gd;function l(){e(r,t,a,n++),(Fy(r[0])||a.hasText)&&o({redrawing:!0})}function o(G){var U={};a.isActiveShape!==void 0&&(a.isActiveShape=!1,U=PX(t,a)),a.isActiveSelection!==void 0&&(a.isActiveSelection=!1,U=zX(t,a),i._fullLayout._reselect=!0),Object.keys(U).length&&VT.call((G||{}).redrawing?"relayout":"_guiRelayout",i,U)}var s=i._fullLayout,u=s._zoomlayer,f=a.dragmode,v=kX(f),h=UT(f);(v||h)&&(i._fullLayout._outlining=!0),GT(i),t.attr("d",EX(r));var d,m,y,g,_;if(!n&&(a.isActiveShape||a.isActiveSelection)){_=FX([],r);var T=u.append("g").attr("class","outline-controllers");P(T),J()}if(v&&a.hasText){var w=u.select(".label-temp"),b=RX(t,a,a.dragmode);NX(i,"label-temp",b,w)}function M(G){y=+G.srcElement.getAttribute("data-i"),g=+G.srcElement.getAttribute("data-j"),d[y][g].moveFn=C}function C(G,U){if(r.length){var H=_[y][g][1],Q=_[y][g][2],Z=r[y],ne=Z.length;if(yh(Z)){var ce=G,ye=U;if(a.isActiveSelection){var Se=BT(Z,g);Se[1]===Z[g][1]?ye=0:ce=0}for(var re=0;re1&&!(G.length===2&&G[1][0]==="Z")&&(g===0&&(G[0][0]="M"),r[y]=G,l(),o())}}function D(G,U){if(G===2){y=+U.srcElement.getAttribute("data-i"),g=+U.srcElement.getAttribute("data-j");var H=r[y];!yh(H)&&!Fy(H)&&q()}}function P(G){d=[];for(var U=0;U{"use strict";var HX=Hr(),$T=br(),Oy=Oe(),Ho=pt(),OX=Dl().readPaths,BX=bh(),_h=Ny(),jT=wl().clearOutlineControllers,Hy=Er(),wh=tt(),YX=ct().arrayEditor,XT=ti(),ZT=ni(),JT=Ll(),Oo=zf(),tn=Rl(),By=tn.getPathString;tM.exports={draw:Yy,drawOne:eM,eraseActiveShape:XX,drawLabel:_h};function Yy(e){var r=e._fullLayout;r._shapeUpperLayer.selectAll("path").remove(),r._shapeLowerLayer.selectAll("path").remove(),r._shapeUpperLayer.selectAll("text").remove(),r._shapeLowerLayer.selectAll("text").remove();for(var t in r._plots){var a=r._plots[t].shapelayer;a&&(a.selectAll("path").remove(),a.selectAll("text").remove())}for(var n=0;n{if(!e._dragging&&e._fullLayout.hoveranywhere){let l=n(i);l&&ZT.hover(e,l,t.id)}}),a.addEventListener("click",i=>{if(!e._dragged&&e._fullLayout.clickanywhere){let l=n(i);l&&ZT.click(e,l,t.id)}})}function rM(e,r,t){let a=t.xref,n=t.yref;if(Array.isArray(a)||Array.isArray(n)){let i="clip"+r._fullLayout._uid+"shape"+t._index,l=VX(r,a,n);Oy.ensureSingleById(r._fullLayout._clips,"clipPath",i,function(o){o.append("rect")}).select("rect").attr(l),wh.setClipUrl(e,i,r)}else{let i=(a+n).replace(/paper/g,"").replace(/[xyz][0-9]* *domain/g,"");wh.setClipUrl(e,i?"clip"+r._fullLayout._uid+i:null,r)}}function VX(e,r,t){let a=e._fullLayout._size;function n(o,s){let u=(Array.isArray(o)?o:[o]).map(h=>Ho.getFromId(e,h)).filter(Boolean);if(!u.length)return s?[a.t,a.t+a.h]:[a.l,a.l+a.w];let f=u.map(function(h){return h._offset}),v=u.map(function(h){return h._offset+h._length});return[Math.min(...f),Math.max(...v)]}let i=n(r,!1),l=n(t,!0);return{x:i[0],y:l[0],width:i[1]-i[0],height:l[1]-l[0]}}function GX(e,r,t,a,n,i){var l=10,o=10,s=t.xsizemode==="pixel",u=t.ysizemode==="pixel",f=t.type==="line",v=t.type==="path",h=i.modifyItem,d,m,y,g,_,T,w,b,M,C,k,q,D,P,z,F=HX.select(r.node().parentNode),O=Ho.getFromId(e,t.xref),I=Ho.getRefType(t.xref),V=Ho.getFromId(e,t.yref),J=Ho.getRefType(t.yref),G=t.x0shift,U=t.x1shift,H=t.y0shift,Q=t.y1shift,Z=function(Ee,Le){var Ve=tn.getDataToPixel(e,O,Le,!1,I);return Ve(Ee)},ne=function(Ee,Le){var Ve=tn.getDataToPixel(e,V,Le,!0,J);return Ve(Ee)},ce=tn.getPixelToData(e,O,!1,I),ye=tn.getPixelToData(e,V,!0,J),Se=pe(),re={element:Se.node(),gd:e,prepFn:ge,doneFn:B,clickFn:$},Ce;XT.init(re),Se.node().onmousemove=Ae;function pe(){return f?be():r}function be(){var Ee=10,Le=Math.max(t.line.width,Ee),Ve=n.append("g").attr("data-index",a).attr("drag-helper",!0);Ve.append("path").attr("d",r.attr("d")).style({cursor:"move","stroke-width":Le,"stroke-opacity":"0"});var Fe={"fill-opacity":"0"},Xe=Math.max(Le/2,Ee);return Ve.append("circle").attr({"data-line-point":"start-point",cx:s?Z(t.xanchor)+t.x0:Z(t.x0,G),cy:u?ne(t.yanchor)-t.y0:ne(t.y0,H),r:Xe}).style(Fe).classed("cursor-grab",!0),Ve.append("circle").attr({"data-line-point":"end-point",cx:s?Z(t.xanchor)+t.x1:Z(t.x1,U),cy:u?ne(t.yanchor)-t.y1:ne(t.y1,Q),r:Xe}).style(Fe).classed("cursor-grab",!0),Ve}function Ae(Ee){if(xh(e)){Ce=null;return}if(f)Ee.target.tagName==="path"?Ce="move":Ce=Ee.target.attributes["data-line-point"].value==="start-point"?"resize-over-start-point":"resize-over-end-point";else{var Le=re.element.getBoundingClientRect(),Ve=Le.right-Le.left,Fe=Le.bottom-Le.top,Xe=Ee.clientX-Le.left,De=Ee.clientY-Le.top,Ie=!v&&Ve>l&&Fe>o&&!Ee.shiftKey?XT.getCursor(Xe/Ve,1-De/Fe):"move";JT(r,Ie),Ce=Ie.split("-")[0]}}function ge(Ee){xh(e)||(s&&(_=Z(t.xanchor)),u&&(T=ne(t.yanchor)),t.type==="path"?z=t.path:(d=s?t.x0:Z(t.x0),m=u?t.y0:ne(t.y0),y=s?t.x1:Z(t.x1),g=u?t.y1:ne(t.y1)),dg?(w=m,k="y0",b=g,q="y1"):(w=g,k="y1",b=m,q="y0"),Ae(Ee),he(n,t),Re(r,t,e),re.moveFn=Ce==="move"?Y:le,re.altKey=Ee.altKey)}function B(){xh(e)||(JT(r),me(n),rM(r,e,t),$T.call("_guiRelayout",e,i.getUpdateObj()))}function $(){xh(e)||me(n)}function Y(Ee,Le){if(t.type==="path"){var Ve=function(De){return De},Fe=Ve,Xe=Ve;s?h("xanchor",t.xanchor=ce(_+Ee)):(Fe=function(Ie){return ce(Z(Ie)+Ee)},O&&O.type==="date"&&(Fe=tn.encodeDate(Fe))),u?h("yanchor",t.yanchor=ye(T+Le)):(Xe=function(Ie){return ye(ne(Ie)+Le)},V&&V.type==="date"&&(Xe=tn.encodeDate(Xe))),h("path",t.path=KT(z,Fe,Xe))}else s?h("xanchor",t.xanchor=ce(_+Ee)):(h("x0",t.x0=ce(d+Ee)),h("x1",t.x1=ce(y+Ee))),u?h("yanchor",t.yanchor=ye(T+Le)):(h("y0",t.y0=ye(m+Le)),h("y1",t.y1=ye(g+Le)));r.attr("d",By(e,t)),he(n,t),_h(e,a,t,F)}function le(Ee,Le){if(v){var Ve=function(Ge){return Ge},Fe=Ve,Xe=Ve;s?h("xanchor",t.xanchor=ce(_+Ee)):(Fe=function(ir){return ce(Z(ir)+Ee)},O&&O.type==="date"&&(Fe=tn.encodeDate(Fe))),u?h("yanchor",t.yanchor=ye(T+Le)):(Xe=function(ir){return ye(ne(ir)+Le)},V&&V.type==="date"&&(Xe=tn.encodeDate(Xe))),h("path",t.path=KT(z,Fe,Xe))}else if(f){if(Ce==="resize-over-start-point"){var De=d+Ee,Ie=u?m-Le:m+Le;h("x0",t.x0=s?De:ce(De)),h("y0",t.y0=u?Ie:ye(Ie))}else if(Ce==="resize-over-end-point"){var We=y+Ee,ie=u?g-Le:g+Le;h("x1",t.x1=s?We:ce(We)),h("y1",t.y1=u?ie:ye(ie))}}else{var xe=function(Ge){return Ce.indexOf(Ge)!==-1},Ke=xe("n"),hr=xe("s"),ze=xe("w"),Me=xe("e"),ke=Ke?w+Le:w,He=hr?b+Le:b,Ze=ze?M+Ee:M,Ue=Me?C+Ee:C;u&&(Ke&&(ke=w-Le),hr&&(He=b-Le)),(!u&&He-ke>o||u&&ke-He>o)&&(h(k,t[k]=u?ke:ye(ke)),h(q,t[q]=u?He:ye(He))),Ue-Ze>l&&(h(D,t[D]=s?Ze:ce(Ze)),h(P,t[P]=s?Ue:ce(Ue)))}r.attr("d",By(e,t)),he(n,t),_h(e,a,t,F)}function he(Ee,Le){(s||u)&&Ve();function Ve(){var Fe=Le.type!=="path",Xe=Ee.selectAll(".visual-cue").data([0]),De=1;Xe.enter().append("path").attr({fill:"#fff","fill-rule":"evenodd",stroke:"#000","stroke-width":De}).classed("visual-cue",!0);var Ie=Z(s?Le.xanchor:Oy.midRange(Fe?[Le.x0,Le.x1]:tn.extractPathCoords(Le.path,Oo.paramIsX))),We=ne(u?Le.yanchor:Oy.midRange(Fe?[Le.y0,Le.y1]:tn.extractPathCoords(Le.path,Oo.paramIsY)));if(Ie=tn.roundPositionForSharpStrokeRendering(Ie,De),We=tn.roundPositionForSharpStrokeRendering(We,De),s&&u){var ie="M"+(Ie-1-De)+","+(We-1-De)+"h-8v2h8 v8h2v-8 h8v-2h-8 v-8h-2 Z";Xe.attr("d",ie)}else if(s){var xe="M"+(Ie-1-De)+","+(We-9-De)+"v18 h2 v-18 Z";Xe.attr("d",xe)}else{var Ke="M"+(Ie-9-De)+","+(We-1-De)+"h18 v2 h-18 Z";Xe.attr("d",Ke)}}}function me(Ee){Ee.selectAll(".visual-cue").remove()}function Re(Ee,Le,Ve){var Fe=Le.xref,Xe=Le.yref,De=Ho.getFromId(Ve,Fe),Ie=Ho.getFromId(Ve,Xe),We="";Fe!=="paper"&&!De.autorange&&(We+=Fe),Xe!=="paper"&&!Ie.autorange&&(We+=Xe),wh.setClipUrl(Ee,We?"clip"+Ve._fullLayout._uid+We:null,Ve)}}function KT(e,r,t){return e.replace(Oo.segmentRE,function(a){var n=0,i=a.charAt(0),l=Oo.paramIsX[i],o=Oo.paramIsY[i],s=Oo.numParams[i],u=a.slice(1).replace(Oo.paramRE,function(f){return n>=s||(l[n]?f=r(f):o[n]&&(f=t(f)),n++),f});return i+u})}function WX(e,r){if(Th(e)){var t=r.node(),a=+t.getAttribute("data-index");if(a>=0){if(a===e._fullLayout._activeShapeIndex){QT(e);return}e._fullLayout._activeShapeIndex=a,e._fullLayout._deactivateShape=QT,Yy(e)}}}function QT(e){if(Th(e)){var r=e._fullLayout._activeShapeIndex;r>=0&&(jT(e),delete e._fullLayout._activeShapeIndex,Yy(e))}}function XX(e){if(Th(e)){jT(e);var r=e._fullLayout._activeShapeIndex,t=(e.layout||{}).shapes||[];if(r{"use strict";var qn=br(),aM=Ft(),nM=Xt(),Ur=uh(),ZX=Mh().eraseActiveShape,Ah=Oe(),Nr=Ah._,Vr=cM.exports={};Vr.toImage={name:"toImage",title:function(e){var r=e._context.toImageButtonOptions||{},t=r.format||"png";return t==="png"?Nr(e,"Download plot as a PNG"):Nr(e,"Download plot")},icon:Ur.camera,click:function(e){var r=e._context.toImageButtonOptions,t={format:r.format||"png"};Ah.notifier(Nr(e,"Taking snapshot - this may take a few seconds"),"long",e),["filename","width","height","scale"].forEach(function(a){a in r&&(t[a]=r[a])}),qn.call("downloadImage",e,t).then(function(a){Ah.notifier(Nr(e,"Snapshot succeeded")+" - "+a,"long",e)}).catch(function(){Ah.notifier(Nr(e,"Sorry, there was a problem downloading your snapshot!"),"long",e)})}};Vr.sendDataToCloud={name:"sendDataToCloud",title:function(e){return Nr(e,"Edit in Chart Studio")},icon:Ur.disk,click:function(e){aM.sendDataToCloud(e)}};Vr.editInChartStudio={name:"editInChartStudio",title:function(e){return Nr(e,"Edit in Chart Studio")},icon:Ur.pencil,click:function(e){aM.sendDataToCloud(e)}};Vr.zoom2d={name:"zoom2d",_cat:"zoom",title:function(e){return Nr(e,"Zoom")},attr:"dragmode",val:"zoom",icon:Ur.zoombox,click:za};Vr.pan2d={name:"pan2d",_cat:"pan",title:function(e){return Nr(e,"Pan")},attr:"dragmode",val:"pan",icon:Ur.pan,click:za};Vr.select2d={name:"select2d",_cat:"select",title:function(e){return Nr(e,"Box Select")},attr:"dragmode",val:"select",icon:Ur.selectbox,click:za};Vr.lasso2d={name:"lasso2d",_cat:"lasso",title:function(e){return Nr(e,"Lasso Select")},attr:"dragmode",val:"lasso",icon:Ur.lasso,click:za};Vr.drawclosedpath={name:"drawclosedpath",title:function(e){return Nr(e,"Draw closed freeform")},attr:"dragmode",val:"drawclosedpath",icon:Ur.drawclosedpath,click:za};Vr.drawopenpath={name:"drawopenpath",title:function(e){return Nr(e,"Draw open freeform")},attr:"dragmode",val:"drawopenpath",icon:Ur.drawopenpath,click:za};Vr.drawline={name:"drawline",title:function(e){return Nr(e,"Draw line")},attr:"dragmode",val:"drawline",icon:Ur.drawline,click:za};Vr.drawrect={name:"drawrect",title:function(e){return Nr(e,"Draw rectangle")},attr:"dragmode",val:"drawrect",icon:Ur.drawrect,click:za};Vr.drawcircle={name:"drawcircle",title:function(e){return Nr(e,"Draw circle")},attr:"dragmode",val:"drawcircle",icon:Ur.drawcircle,click:za};Vr.eraseshape={name:"eraseshape",title:function(e){return Nr(e,"Erase active shape")},icon:Ur.eraseshape,click:ZX};Vr.zoomIn2d={name:"zoomIn2d",_cat:"zoomin",title:function(e){return Nr(e,"Zoom in")},attr:"zoom",val:"in",icon:Ur.zoom_plus,click:za};Vr.zoomOut2d={name:"zoomOut2d",_cat:"zoomout",title:function(e){return Nr(e,"Zoom out")},attr:"zoom",val:"out",icon:Ur.zoom_minus,click:za};Vr.autoScale2d={name:"autoScale2d",_cat:"autoscale",title:function(e){return Nr(e,"Autoscale")},attr:"zoom",val:"auto",icon:Ur.autoscale,click:za};Vr.resetScale2d={name:"resetScale2d",_cat:"resetscale",title:function(e){return Nr(e,"Reset axes")},attr:"zoom",val:"reset",icon:Ur.home,click:za};Vr.hoverClosestCartesian={name:"hoverClosestCartesian",_cat:"hoverclosest",title:function(e){return Nr(e,"Show closest data on hover")},attr:"hovermode",val:"closest",icon:Ur.tooltip_basic,gravity:"ne",click:za};Vr.hoverCompareCartesian={name:"hoverCompareCartesian",_cat:"hoverCompare",title:function(e){return Nr(e,"Compare data on hover")},attr:"hovermode",val:function(e){return e._fullLayout._isHoriz?"y":"x"},icon:Ur.tooltip_compare,gravity:"ne",click:za};function za(e,r){var t=r.currentTarget,a=t.getAttribute("data-attr"),n=t.getAttribute("data-val")||!0,i=e._fullLayout,l={},o=nM.list(e,null,!0),s=i._cartesianSpikesEnabled,u,f;if(a==="zoom"){var v=n==="in"?.5:2,h=(1+v)/2,d=(1-v)/2,m,y;for(f=0;f{"use strict";var vM=Gy(),QX=Object.keys(vM),hM=["drawline","drawopenpath","drawclosedpath","drawcircle","drawrect","eraseshape"],dM=["v1hovermode","hoverclosest","hovercompare","togglehover","togglespikelines"].concat(hM),su=[],$X=function(e){if(dM.indexOf(e._cat||e.name)===-1){var r=e.name,t=(e._cat||e.name).toLowerCase();su.indexOf(r)===-1&&su.push(r),su.indexOf(t)===-1&&su.push(t)}};QX.forEach(function(e){$X(vM[e])});su.sort();pM.exports={DRAW_MODES:hM,backButtons:dM,foreButtons:su}});var Xy=K((hue,mM)=>{"use strict";var vue=Wy();mM.exports={editType:"modebar",orientation:{valType:"enumerated",values:["v","h"],dflt:"h",editType:"modebar"},bgcolor:{valType:"color",editType:"modebar"},color:{valType:"color",editType:"modebar"},activecolor:{valType:"color",editType:"modebar"},uirevision:{valType:"any",editType:"none"},add:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"},remove:{valType:"string",arrayOk:!0,dflt:"",editType:"modebar"}}});var gM=K((due,yM)=>{"use strict";var jX=Oe(),Ff=Er(),eZ=ct(),rZ=Xy();yM.exports=function(r,t){var a=r.modebar||{},n=eZ.newContainer(t,"modebar");function i(o,s){return jX.coerce(a,n,rZ,o,s)}i("orientation"),i("bgcolor",Ff.addOpacity(t.paper_bgcolor,.5));var l=Ff.contrast(Ff.rgb(t.modebar.bgcolor));i("color",Ff.addOpacity(l,.3)),i("activecolor",Ff.addOpacity(l,.7)),i("uirevision",t.uirevision),i("add"),i("remove")}});var wM=K((pue,_M)=>{"use strict";var Zy=Hr(),tZ=Or(),Sh=Oe(),bM=uh(),aZ=gv().version,nZ=new DOMParser;function xM(e){this.container=e.container,this.element=document.createElement("div"),this.update(e.graphInfo,e.buttons),this.container.appendChild(this.element)}var Ri=xM.prototype;Ri.update=function(e,r){this.graphInfo=e;var t=this.graphInfo._context,a=this.graphInfo._fullLayout,n="modebar-"+a._uid;this.element.setAttribute("id",n),this.element.setAttribute("role","toolbar"),this._uid=n,this.element.className="modebar modebar--custom",t.displayModeBar==="hover"&&(this.element.className+=" modebar--hover ease-bg"),a.modebar.orientation==="v"&&(this.element.className+=" vertical",r=r.reverse());var i=a.modebar,l="#"+n+" .modebar-group";document.querySelectorAll(l).forEach(function(v){v.style.backgroundColor=i.bgcolor});var o=!this.hasButtons(r),s=this.hasLogo!==t.displaylogo,u=this.locale!==t.locale;if(this.locale=t.locale,(o||s||u)&&(this.removeAllButtons(),this.updateButtons(r),t.watermark||t.displaylogo)){var f=this.getLogo();t.watermark&&(f.className=f.className+" watermark"),a.modebar.orientation==="v"?this.element.insertBefore(f,this.element.childNodes[0]):this.element.appendChild(f),this.hasLogo=!0}this.updateActiveButton(),Sh.setStyleOnHover("#"+n+" .modebar-btn",".active",".icon path","fill: "+i.activecolor,"fill: "+i.color,this.element)};Ri.updateButtons=function(e){var r=this;this.buttons=e,this.buttonElements=[],this.buttonsNames=[],this.buttons.forEach(function(t){var a=r.createGroup();t.forEach(function(n){var i=n.name;if(!i)throw new Error("must provide button 'name' in button config");if(r.buttonsNames.indexOf(i)!==-1)throw new Error("button name '"+i+"' is taken");r.buttonsNames.push(i);var l=r.createButton(n);r.buttonElements.push(l),a.appendChild(l)}),r.element.appendChild(a)})};Ri.createGroup=function(){var e=document.createElement("div");e.className="modebar-group";var r=this.graphInfo._fullLayout.modebar;return e.style.backgroundColor=r.bgcolor,e};Ri.createButton=function(e){var r=this,t=document.createElement("button");t.setAttribute("type","button"),t.setAttribute("rel","tooltip"),t.className="modebar-btn";var a=e.title;a===void 0?a=e.name:typeof a=="function"&&(a=a(this.graphInfo)),(a||a===0)&&(t.setAttribute("data-title",a),t.setAttribute("aria-label",a)),e.attr!==void 0&&t.setAttribute("data-attr",e.attr);var n=e.val;n!==void 0&&(typeof n=="function"&&(n=n(this.graphInfo)),t.setAttribute("data-val",n));var i=e.click;if(typeof i!="function")throw new Error("must provide button 'click' function in button config");t.addEventListener("click",function(o){e.click(r.graphInfo,o),r.updateActiveButton(o.currentTarget)}),t.setAttribute("data-toggle",e.toggle||!1),e.toggle&&Zy.select(t).classed("active",!0);var l=e.icon;return typeof l=="function"?t.appendChild(l()):t.appendChild(this.createIcon(l||bM.question)),t.setAttribute("data-gravity",e.gravity||"n"),t};Ri.createIcon=function(e){var r=tZ(e.height)?Number(e.height):e.ascent-e.descent,t="http://www.w3.org/2000/svg",a;if(e.path){a=document.createElementNS(t,"svg"),a.setAttribute("viewBox",[0,0,e.width,r].join(" ")),a.setAttribute("class","icon");var n=document.createElementNS(t,"path");n.setAttribute("d",e.path),e.transform?n.setAttribute("transform",e.transform):e.ascent!==void 0&&n.setAttribute("transform","matrix(1 0 0 -1 0 "+e.ascent+")"),a.appendChild(n)}if(e.svg){var i=nZ.parseFromString(e.svg,"application/xml");a=i.childNodes[0]}return a.setAttribute("height","1em"),a.setAttribute("width","1em"),a};Ri.updateActiveButton=function(e){var r=this.graphInfo._fullLayout,t=e!==void 0?e.getAttribute("data-attr"):null;this.buttonElements.forEach(function(a){var n=a.getAttribute("data-val")||!0,i=a.getAttribute("data-attr"),l=a.getAttribute("data-toggle")==="true",o=Zy.select(a),s=function(v,h){var d=r.modebar,m=v.querySelector(".icon path");m&&(h||v.matches(":hover")?m.style.fill=d.activecolor:m.style.fill=d.color)};if(l){if(i===t){var u=!o.classed("active");o.classed("active",u),s(a,u)}}else{var f=i===null?i:Sh.nestedProperty(r,i).get();o.classed("active",f===n),s(a,f===n)}})};Ri.hasButtons=function(e){var r=this.buttons;if(!r||e.length!==r.length)return!1;for(var t=0;t{"use strict";var oZ=Xt(),TM=un(),Jy=br(),sZ=Ti().isUnifiedHover,uZ=wM(),Ch=Gy(),fZ=Wy().DRAW_MODES,cZ=Oe().extendDeep;MM.exports=function(r){var t=r._fullLayout,a=r._context,n=t._modeBar;if(!a.displayModeBar&&!a.watermark){n&&(n.destroy(),delete t._modeBar);return}if(!Array.isArray(a.modeBarButtonsToRemove))throw new Error(["*modeBarButtonsToRemove* configuration options","must be an array."].join(" "));if(!Array.isArray(a.modeBarButtonsToAdd))throw new Error(["*modeBarButtonsToAdd* configuration options","must be an array."].join(" "));var i=a.modeBarButtons,l;Array.isArray(i)&&i.length?l=yZ(i):!a.displayModeBar&&a.watermark?l=[]:l=vZ(r),n?n.update(r,l):t._modeBar=uZ(r,l)};function vZ(e){var r=e._fullLayout,t=e._fullData,a=e._context;function n(U,H){if(typeof H=="string"){if(H.toLowerCase()===U.toLowerCase())return!0}else{var Q=H.name,Z=H._cat||H.name;if(Q===U||Z===U.toLowerCase())return!0}return!1}var i=r.modebar.add;typeof i=="string"&&(i=[i]);var l=r.modebar.remove;typeof l=="string"&&(l=[l]);var o=a.modeBarButtonsToAdd.concat(i.filter(function(U){for(var H=0;H1?(P=["toggleHover"],z=["resetViews"]):v?(D=["zoomInGeo","zoomOutGeo"],P=["hoverClosestGeo"],z=["resetGeo"]):f?(P=["hoverClosest3d"],z=["resetCameraDefault3d","resetCameraLastSave3d"]):y?(D=["zoomInMapbox","zoomOutMapbox"],P=["toggleHover"],z=["resetViewMapbox"]):g?(D=["zoomInMap","zoomOutMap"],P=["toggleHover"],z=["resetViewMap"]):h?P=["hoverClosestPie"]:w?(P=["hoverClosestCartesian","hoverCompareCartesian"],z=["resetViewSankey"]):P=["toggleHover"],u&&P.push("toggleSpikelines","hoverClosestCartesian","hoverCompareCartesian"),(pZ(t)||M)&&(P=[]),u&&!b&&(D=["zoomIn2d","zoomOut2d","autoScale2d"],z[0]!=="resetViews"&&(z=["resetScale2d"])),f?F=["zoom3d","pan3d","orbitRotation","tableRotation"]:u&&!b||m?F=["zoom2d","pan2d"]:y||g||v?F=["pan2d"]:_&&(F=["zoom2d"]),dZ(t)&&F.push("select2d","lasso2d");var O=[],I=function(U){O.indexOf(U)===-1&&P.indexOf(U)!==-1&&O.push(U)};if(Array.isArray(o)){for(var V=[],J=0;J{"use strict";kM.exports={moduleType:"component",name:"modebar",layoutAttributes:Xy(),supplyLayoutDefaults:gM(),manage:AM()}});var Qy=K((gue,SM)=>{"use strict";var gZ=Ma().FROM_BL;SM.exports=function(r,t,a){a===void 0&&(a=gZ[r.constraintoward||"center"]);var n=[r.r2l(r.range[0]),r.r2l(r.range[1])],i=n[0]+(n[1]-n[0])*a;r.range=r._input.range=[r.l2r(i+(n[0]-i)*t),r.l2r(i+(n[1]-i)*t)],r.setScale()}});var Hf=K(If=>{"use strict";var Bo=Oe(),$y=_f(),ii=Xt().id2name,bZ=jn(),CM=Qy(),xZ=P0(),_Z=Vt().ALMOST_EQUAL,wZ=Ma().FROM_BL;If.handleDefaults=function(e,r,t){var a=t.axIds,n=t.axHasImage,i=r._axisConstraintGroups=[],l=r._axisMatchGroups=[],o,s,u,f,v,h,d,m;for(o=0;oi?t.slice(i):a.slice(n))+l}function MZ(e,r){for(var t=r._size,a=t.h/t.w,n={},i=Object.keys(e),l=0;l_Z*m&&!T)){for(i=0;iF&&QP&&(P=Q);var ne=(P-D)/(2*z);v/=ne,D=s.l2r(D),P=s.l2r(P),s.range=s._input.range=C{"use strict";var qh=Hr(),Na=br(),dn=Ft(),Dn=Oe(),rg=ga(),tg=sh(),Of=Er(),uu=tt(),EM=bf(),FM=Ky(),Bf=pt(),ji=Ma(),IM=Hf(),AZ=IM.enforce,kZ=IM.clean,PM=_f().doAutoRange,HM="start",SZ="middle",OM="end",CZ=Qt().zindexSeparator;ea.layoutStyles=function(e){return Dn.syncOrAsync([dn.doAutoMargin,qZ],e)};function LZ(e,r,t){for(var a=0;a=e[1]||n[1]r[0])return!0}return!1}function qZ(e){var r=e._fullLayout,t=r._size,a=t.p,n=Bf.list(e,"",!0),i,l,o,s,u,f;if(r._paperdiv.style({width:e._context.responsive&&r.autosize&&!e._context._hasZeroWidth&&!e.layout.width?"100%":r.width+"px",height:e._context.responsive&&r.autosize&&!e._context._hasZeroHeight&&!e.layout.height?"100%":r.height+"px"}).selectAll(".main-svg").call(uu.setSize,r.width,r.height),e._context.setBackground(e,r.paper_bgcolor),ea.drawMainTitle(e),FM.manage(e),!r._has("cartesian"))return dn.previousPromises(e);function v(ge,B,$){var Y=ge._lw/2;if(ge._id.charAt(0)==="x"){if(B){if($==="top")return B._offset-a-Y}else return t.t+t.h*(1-(ge.position||0))+Y%1;return B._offset+B._length+a+Y}if(B){if($==="right")return B._offset+B._length+a+Y}else return t.l+t.w*(ge.position||0)+Y%1;return B._offset-a-Y}for(i=0;i0){RZ(e,i,u,s),o.attr({x:l,y:i,"text-anchor":a,dy:NM(r.yanchor)}).call(rg.positionText,l,i);var f=(r.text.match(rg.BR_TAG_ALL)||[]).length;if(f){var v=ji.LINE_SPACING*f+ji.MID_SHIFT;r.y===0&&(v=-v),o.selectAll(".line").each(function(){var g=+this.getAttribute("dy").slice(0,-2)-v+"em";this.setAttribute("dy",g)})}var h=qh.select(e).selectAll(".gtitle-subtitle");if(h.node()){var d=o.node().getBBox(),m=d.y+d.height,y=m+EM.SUBTITLE_PADDING_EM*r.subtitle.font.size;h.attr({x:l,y,"text-anchor":a,dy:NM(r.yanchor)}).call(rg.positionText,l,y)}}}};function DZ(e,r,t,a,n){var i=r.yref==="paper"?e._fullLayout._size.h:e._fullLayout.height,l=Dn.isTopAnchor(r)?a:a-n,o=t==="b"?i-l:l;return Dn.isTopAnchor(r)&&t==="t"||Dn.isBottomAnchor(r)&&t==="b"?!1:o.5?"t":"b",l=e._fullLayout.margin[i],o=0;return r.yref==="paper"?o=t+r.pad.t+r.pad.b:r.yref==="container"&&(o=EZ(i,a,n,e._fullLayout.height,t)+r.pad.t+r.pad.b),o>l?o:0}function RZ(e,r,t,a){var n="title.automargin",i=e._fullLayout.title,l=i.y>.5?"t":"b",o={x:i.x,y:i.y,t:0,b:0},s={};i.yref==="paper"&&DZ(e,i,l,r,a)?o[l]=t:i.yref==="container"&&(s[l]=t,e._fullLayout._reservedMargin[n]=s),dn.allowAutoMargin(e,n),dn.autoMargin(e,n,o)}function zZ(e,r){var t=e.title,a=e._size,n=0;switch(r===HM?n=t.pad.l:r===OM&&(n=-t.pad.r),t.xref){case"paper":return a.l+a.w*t.x+n;case"container":default:return e.width*t.x+n}}function NZ(e,r){var t=e.title,a=e._size,n=0;if(r==="0em"||!r?n=-t.pad.b:r===ji.CAP_SHIFT+"em"&&(n=t.pad.t),t.y==="auto")return a.t/2;switch(t.yref){case"paper":return a.t+a.h-a.h*t.y+n;case"container":default:return e.height-e.height*t.y+n}}function NM(e){return e==="top"?ji.CAP_SHIFT+.3+"em":e==="bottom"?"-0.3em":ji.MID_SHIFT+"em"}function FZ(e){var r=e.title,t=SZ;return Dn.isRightAnchor(r)?t=OM:Dn.isLeftAnchor(r)&&(t=HM),t}function IZ(e){var r=e.title,t="0em";return Dn.isTopAnchor(r)?t=ji.CAP_SHIFT+"em":Dn.isMiddleAnchor(r)&&(t=ji.MID_SHIFT+"em"),t}ea.doTraceStyle=function(e){var r=e.calcdata,t=[],a;for(a=0;a{"use strict";var HZ=Dl().readPaths,OZ=bh(),BM=wl().clearOutlineControllers,ag=Er(),YM=tt(),BZ=ct().arrayEditor,UM=Rl(),YZ=UM.getPathString;GM.exports={draw:Eh,drawOne:VM,activateLastSelection:GZ};function Eh(e){var r=e._fullLayout;BM(e),r._selectionLayer.selectAll("path").remove();for(var t in r._plots){var a=r._plots[t].selectionLayer;a&&a.selectAll("path").remove()}for(var n=0;n=0;g--){var _=l.append("path").attr(s).style("opacity",g?.1:u).call(ag.stroke,v).call(ag.fill,f).call(YM.dashLine,g?"solid":d,g?4+h:h);if(UZ(_,e,a),m){var T=BZ(e.layout,"selections",a);_.style({cursor:"move"});var w={element:_.node(),plotinfo:n,gd:e,editHelpers:T,isActiveSelection:!0},b=HZ(o,e);OZ(b,_,w)}else _.style("pointer-events",g?"all":"none");y[g]=_}var M=y[0],C=y[1];C.node().addEventListener("click",function(){return VZ(e,M)})}}function UZ(e,r,t){var a=t.xref+t.yref;YM.setClipUrl(e,"clip"+r._fullLayout._uid+a,r)}function VZ(e,r){if(Ph(e)){var t=r.node(),a=+t.getAttribute("data-index");if(a>=0){if(a===e._fullLayout._activeSelectionIndex){ng(e);return}e._fullLayout._activeSelectionIndex=a,e._fullLayout._deactivateSelection=ng,Eh(e)}}}function GZ(e){if(Ph(e)){var r=e._fullLayout.selections.length-1;e._fullLayout._activeSelectionIndex=r,e._fullLayout._deactivateSelection=ng,Eh(e)}}function ng(e){if(Ph(e)){var r=e._fullLayout._activeSelectionIndex;r>=0&&(BM(e),delete e._fullLayout._activeSelectionIndex,Eh(e))}}});var XM=K((wue,WM)=>{function WZ(){var e,r=0,t=!1;function a(n,i){return e.list.push({type:n,data:i?JSON.parse(JSON.stringify(i)):void 0}),e}return e={list:[],segmentId:function(){return r++},checkIntersection:function(n,i){return a("check",{seg1:n,seg2:i})},segmentChop:function(n,i){return a("div_seg",{seg:n,pt:i}),a("chop",{seg:n,pt:i})},statusRemove:function(n){return a("pop_seg",{seg:n})},segmentUpdate:function(n){return a("seg_update",{seg:n})},segmentNew:function(n,i){return a("new_seg",{seg:n,primary:i})},segmentRemove:function(n){return a("rem_seg",{seg:n})},tempStatus:function(n,i,l){return a("temp_status",{seg:n,above:i,below:l})},rewind:function(n){return a("rewind",{seg:n})},status:function(n,i,l){return a("status",{seg:n,above:i,below:l})},vert:function(n){return n===t?e:(t=n,a("vert",{x:n}))},log:function(n){return typeof n!="string"&&(n=JSON.stringify(n,!1," ")),a("log",{txt:n})},reset:function(){return a("reset")},selected:function(n){return a("selected",{segs:n})},chainStart:function(n){return a("chain_start",{seg:n})},chainRemoveHead:function(n,i){return a("chain_rem_head",{index:n,pt:i})},chainRemoveTail:function(n,i){return a("chain_rem_tail",{index:n,pt:i})},chainNew:function(n,i){return a("chain_new",{pt1:n,pt2:i})},chainMatch:function(n){return a("chain_match",{index:n})},chainClose:function(n){return a("chain_close",{index:n})},chainAddHead:function(n,i){return a("chain_add_head",{index:n,pt:i})},chainAddTail:function(n,i){return a("chain_add_tail",{index:n,pt:i})},chainConnect:function(n,i){return a("chain_con",{index1:n,index2:i})},chainReverse:function(n){return a("chain_rev",{index:n})},chainJoin:function(n,i){return a("chain_join",{index1:n,index2:i})},done:function(){return a("done")}},e}WM.exports=WZ});var JM=K((Tue,ZM)=>{function XZ(e){typeof e!="number"&&(e=1e-10);var r={epsilon:function(t){return typeof t=="number"&&(e=t),e},pointAboveOrOnLine:function(t,a,n){var i=a[0],l=a[1],o=n[0],s=n[1],u=t[0],f=t[1];return(o-i)*(f-l)-(s-l)*(u-i)>=-e},pointBetween:function(t,a,n){var i=t[1]-a[1],l=n[0]-a[0],o=t[0]-a[0],s=n[1]-a[1],u=o*l+i*s;if(u-e)},pointsSameX:function(t,a){return Math.abs(t[0]-a[0])e!=o-i>e&&(l-f)*(i-v)/(o-v)+f-n>e&&(s=!s),l=f,o=v}return s}};return r}ZM.exports=XZ});var QM=K((Mue,KM)=>{var ZZ={create:function(){var e={root:{root:!0,next:null},exists:function(r){return!(r===null||r===e.root)},isEmpty:function(){return e.root.next===null},getHead:function(){return e.root.next},insertBefore:function(r,t){for(var a=e.root,n=e.root.next;n!==null;){if(t(n)){r.prev=n.prev,r.next=n,n.prev.next=r,n.prev=r;return}a=n,n=n.next}a.next=r,r.prev=a,r.next=null},findTransition:function(r){for(var t=e.root,a=e.root.next;a!==null&&!r(a);)t=a,a=a.next;return{before:t===e.root?null:t,after:a,insert:function(n){return n.prev=t,n.next=a,t.next=n,a!==null&&(a.prev=n),n}}}};return e},node:function(e){return e.prev=null,e.next=null,e.remove=function(){e.prev.next=e.next,e.next&&(e.next.prev=e.prev),e.prev=null,e.next=null},e}};KM.exports=ZZ});var jM=K((Aue,$M)=>{var Yf=QM();function JZ(e,r,t){function a(m,y){return{id:t?t.segmentId():-1,start:m,end:y,myFill:{above:null,below:null},otherFill:null}}function n(m,y,g){return{id:t?t.segmentId():-1,start:m,end:y,myFill:{above:g.myFill.above,below:g.myFill.below},otherFill:null}}var i=Yf.create();function l(m,y,g,_,T,w){var b=r.pointsCompare(y,T);return b!==0?b:r.pointsSame(g,w)?0:m!==_?m?1:-1:r.pointAboveOrOnLine(g,_?T:w,_?w:T)?1:-1}function o(m,y){i.insertBefore(m,function(g){var _=l(m.isStart,m.pt,y,g.isStart,g.pt,g.other.pt);return _0})}function w(V,J){var G=V.seg,U=J.seg,H=G.start,Q=G.end,Z=U.start,ne=U.end;t&&t.checkIntersection(G,U);var ce=r.linesIntersect(H,Q,Z,ne);if(ce===!1){if(!r.pointsCollinear(H,Q,Z)||r.pointsSame(H,ne)||r.pointsSame(Q,Z))return!1;var ye=r.pointsSame(H,Z),Se=r.pointsSame(Q,ne);if(ye&&Se)return J;var re=!ye&&r.pointBetween(H,Z,ne),Ce=!Se&&r.pointBetween(Q,Z,ne);if(ye)return Ce?h(J,Q):h(V,ne),J;re&&(Se||(Ce?h(J,Q):h(V,ne)),h(J,H))}else ce.alongA===0&&(ce.alongB===-1?h(V,Z):ce.alongB===0?h(V,ce.pt):ce.alongB===1&&h(V,ne)),ce.alongB===0&&(ce.alongA===-1?h(J,H):ce.alongA===0?h(J,ce.pt):ce.alongA===1&&h(J,Q));return!1}for(var b=[];!i.isEmpty();){var M=i.getHead();if(t&&t.vert(M.pt[0]),M.isStart){let V=function(){if(k){var J=w(M,k);if(J)return J}return q?w(M,q):!1};var I=V;t&&t.segmentNew(M.seg,M.primary);var C=T(M),k=C.before?C.before.ev:null,q=C.after?C.after.ev:null;t&&t.tempStatus(M.seg,k?k.seg:!1,q?q.seg:!1);var D=V();if(D){if(e){var P;M.seg.myFill.below===null?P=!0:P=M.seg.myFill.above!==M.seg.myFill.below,P&&(D.seg.myFill.above=!D.seg.myFill.above)}else D.seg.otherFill=M.seg.myFill;t&&t.segmentUpdate(D.seg),M.other.remove(),M.remove()}if(i.getHead()!==M){t&&t.rewind(M.seg);continue}if(e){var P;M.seg.myFill.below===null?P=!0:P=M.seg.myFill.above!==M.seg.myFill.below,q?M.seg.myFill.below=q.seg.myFill.above:M.seg.myFill.below=m,P?M.seg.myFill.above=!M.seg.myFill.below:M.seg.myFill.above=M.seg.myFill.below}else if(M.seg.otherFill===null){var z;q?M.primary===q.primary?z=q.seg.otherFill.above:z=q.seg.myFill.above:z=M.primary?y:m,M.seg.otherFill={above:z,below:z}}t&&t.status(M.seg,k?k.seg:!1,q?q.seg:!1),M.other.status=C.insert(Yf.node({ev:M}))}else{var F=M.status;if(F===null)throw new Error("PolyBool: Zero-length segment detected; your epsilon is probably too small or too large");if(g.exists(F.prev)&&g.exists(F.next)&&w(F.prev.ev,F.next.ev),t&&t.statusRemove(F.ev.seg),F.remove(),!M.primary){var O=M.seg.myFill;M.seg.myFill=M.seg.otherFill,M.seg.otherFill=O}b.push(M.seg)}i.getHead().remove()}return t&&t.done(),b}return e?{addRegion:function(m){for(var y,g=m[m.length-1],_=0;_