@kie-tools.dashbuilder-client.dist.dashbuilder.component.map.index.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-dashbuilder-ui
Show all versions of quarkus-dashbuilder-ui
Dashbuilder extension Web Bundle
/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={4389:(e,t,n)=>{"use strict";n.r(t),n.d(t,{geoAlbers:()=>wr,geoAlbersUsa:()=>kr,geoArea:()=>oe,geoAzimuthalEqualArea:()=>xr,geoAzimuthalEqualAreaRaw:()=>Sr,geoAzimuthalEquidistant:()=>Nr,geoAzimuthalEquidistantRaw:()=>Mr,geoBounds:()=>De,geoCentroid:()=>Xe,geoCircle:()=>lt,geoClipAntimeridian:()=>wt,geoClipCircle:()=>kt,geoClipExtent:()=>Pt,geoClipRectangle:()=>Ct,geoConicConformal:()=>Lr,geoConicConformalRaw:()=>zr,geoConicEqualArea:()=>br,geoConicEqualAreaRaw:()=>yr,geoConicEquidistant:()=>Ir,geoConicEquidistantRaw:()=>Ar,geoContains:()=>Wt,geoDistance:()=>It,geoEqualEarth:()=>Vr,geoEqualEarthRaw:()=>Zr,geoEquirectangular:()=>Rr,geoEquirectangularRaw:()=>jr,geoGnomonic:()=>Wr,geoGnomonicRaw:()=>qr,geoGraticule:()=>Yt,geoGraticule10:()=>Xt,geoIdentity:()=>Hr,geoInterpolate:()=>Kt,geoLength:()=>jt,geoMercator:()=>Pr,geoMercatorRaw:()=>Cr,geoNaturalEarth1:()=>Gr,geoNaturalEarth1Raw:()=>Qr,geoOrthographic:()=>Xr,geoOrthographicRaw:()=>Yr,geoPath:()=>nr,geoProjection:()=>gr,geoProjectionMutator:()=>mr,geoRotation:()=>it,geoStereographic:()=>Jr,geoStereographicRaw:()=>Kr,geoStream:()=>j,geoTransform:()=>rr,geoTransverseMercator:()=>to,geoTransverseMercatorRaw:()=>eo});class r{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const t=this._partials;let n=0;for(let r=0;r0){for(i=e[--o];o>0&&(t=i,n=e[--o],i=t+n,r=n-(i-t),!r););o>0&&(r<0&&e[o-1]<0||r>0&&e[o-1]>0)&&(n=2*r,t=i+n,n==t-i&&(i=t))}return i}}var o=1e-6,i=1e-12,a=Math.PI,u=a/2,l=a/4,s=2*a,c=180/a,f=a/180,d=Math.abs,p=Math.atan,h=Math.atan2,g=Math.cos,m=Math.ceil,v=Math.exp,y=(Math.floor,Math.hypot),b=Math.log,w=Math.pow,k=Math.sin,_=Math.sign||function(e){return e>0?1:e<0?-1:0},E=Math.sqrt,S=Math.tan;function x(e){return e>1?0:e<-1?a:Math.acos(e)}function M(e){return e>1?u:e<-1?-u:Math.asin(e)}function N(e){return(e=k(e/2))*e}function C(){}function P(e,t){e&&T.hasOwnProperty(e.type)&&T[e.type](e,t)}var O={Feature:function(e,t){P(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r=0?1:-1,o=r*n,i=g(t=(t*=f)/2+l),a=k(t),u=D*a,s=F*i+u*g(o),c=u*r*k(o);X.add(h(c,s)),I=e,F=i,D=a}function oe(e){return K=new r,j(e,J),2*K}function ie(e){return[h(e[1],e[0]),M(e[2])]}function ae(e){var t=e[0],n=e[1],r=g(n);return[r*g(t),r*k(t),k(n)]}function ue(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function le(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function se(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function ce(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function fe(e){var t=E(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}var de,pe,he,ge,me,ve,ye,be,we,ke,_e,Ee,Se,xe,Me,Ne,Ce={point:Pe,lineStart:Te,lineEnd:ze,polygonStart:function(){Ce.point=Le,Ce.lineStart=je,Ce.lineEnd=Re,Q=new r,J.polygonStart()},polygonEnd:function(){J.polygonEnd(),Ce.point=Pe,Ce.lineStart=Te,Ce.lineEnd=ze,X<0?(U=-($=180),B=-(Z=90)):Q>o?Z=90:Q<-o&&(B=-90),Y[0]=U,Y[1]=$},sphere:function(){U=-($=180),B=-(Z=90)}};function Pe(e,t){G.push(Y=[U=e,$=e]),tZ&&(Z=t)}function Oe(e,t){var n=ae([e*f,t*f]);if(H){var r=le(H,n),o=le([r[1],-r[0],0],r);fe(o),o=ie(o);var i,a=e-V,u=a>0?1:-1,l=o[0]*c*u,s=d(a)>180;s^(u*VZ&&(Z=i):s^(u*V<(l=(l+360)%360-180)&&lZ&&(Z=t)),s?eAe(U,$)&&($=e):Ae(e,$)>Ae(U,$)&&(U=e):$>=U?(e$&&($=e)):e>V?Ae(U,e)>Ae(U,$)&&($=e):Ae(e,$)>Ae(U,$)&&(U=e)}else G.push(Y=[U=e,$=e]);tZ&&(Z=t),H=n,V=e}function Te(){Ce.point=Oe}function ze(){Y[0]=U,Y[1]=$,Ce.point=Pe,H=null}function Le(e,t){if(H){var n=e-V;Q.add(d(n)>180?n+(n>0?360:-360):n)}else q=e,W=t;J.point(e,t),Oe(e,t)}function je(){J.lineStart()}function Re(){Le(q,W),J.lineEnd(),d(Q)>o&&(U=-($=180)),Y[0]=U,Y[1]=$,H=null}function Ae(e,t){return(t-=e)<0?t+360:t}function Ie(e,t){return e[0]-t[0]}function Fe(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:tAe(r[0],r[1])&&(r[1]=o[1]),Ae(o[0],r[1])>Ae(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,t=0,r=i[n=i.length-1];t<=n;r=o,++t)o=i[t],(u=Ae(r[1],o[0]))>a&&(a=u,U=o[0],$=r[1])}return G=Y=null,U===1/0||B===1/0?[[NaN,NaN],[NaN,NaN]]:[[U,B],[$,Z]]}var Ue={sphere:C,point:Be,lineStart:Ze,lineEnd:We,polygonStart:function(){Ue.lineStart=He,Ue.lineEnd=Qe},polygonEnd:function(){Ue.lineStart=Ze,Ue.lineEnd=We}};function Be(e,t){e*=f;var n=g(t*=f);$e(n*g(e),n*k(e),k(t))}function $e(e,t,n){++de,he+=(e-he)/de,ge+=(t-ge)/de,me+=(n-me)/de}function Ze(){Ue.point=Ve}function Ve(e,t){e*=f;var n=g(t*=f);xe=n*g(e),Me=n*k(e),Ne=k(t),Ue.point=qe,$e(xe,Me,Ne)}function qe(e,t){e*=f;var n=g(t*=f),r=n*g(e),o=n*k(e),i=k(t),a=h(E((a=Me*i-Ne*o)*a+(a=Ne*r-xe*i)*a+(a=xe*o-Me*r)*a),xe*r+Me*o+Ne*i);pe+=a,ve+=a*(xe+(xe=r)),ye+=a*(Me+(Me=o)),be+=a*(Ne+(Ne=i)),$e(xe,Me,Ne)}function We(){Ue.point=Be}function He(){Ue.point=Ge}function Qe(){Ye(Ee,Se),Ue.point=Be}function Ge(e,t){Ee=e,Se=t,e*=f,t*=f,Ue.point=Ye;var n=g(t);xe=n*g(e),Me=n*k(e),Ne=k(t),$e(xe,Me,Ne)}function Ye(e,t){e*=f;var n=g(t*=f),r=n*g(e),o=n*k(e),i=k(t),a=Me*i-Ne*o,u=Ne*r-xe*i,l=xe*o-Me*r,s=y(a,u,l),c=M(s),d=s&&-c/s;we.add(d*a),ke.add(d*u),_e.add(d*l),pe+=c,ve+=c*(xe+(xe=r)),ye+=c*(Me+(Me=o)),be+=c*(Ne+(Ne=i)),$e(xe,Me,Ne)}function Xe(e){de=pe=he=ge=me=ve=ye=be=0,we=new r,ke=new r,_e=new r,j(e,Ue);var t=+we,n=+ke,a=+_e,u=y(t,n,a);return ua?e+Math.round(-e/s)*s:e,t]}function tt(e,t,n){return(e%=s)?t||n?Je(rt(e),ot(t,n)):rt(e):t||n?ot(t,n):et}function nt(e){return function(t,n){return[(t+=e)>a?t-s:t<-a?t+s:t,n]}}function rt(e){var t=nt(e);return t.invert=nt(-e),t}function ot(e,t){var n=g(e),r=k(e),o=g(t),i=k(t);function a(e,t){var a=g(t),u=g(e)*a,l=k(e)*a,s=k(t),c=s*n+u*r;return[h(l*o-c*i,u*n-s*r),M(c*o+l*i)]}return a.invert=function(e,t){var a=g(t),u=g(e)*a,l=k(e)*a,s=k(t),c=s*o-l*i;return[h(l*o+s*i,u*n+c*r),M(c*n-u*r)]},a}function it(e){function t(t){return(t=e(t[0]*f,t[1]*f))[0]*=c,t[1]*=c,t}return e=tt(e[0]*f,e[1]*f,e.length>2?e[2]*f:0),t.invert=function(t){return(t=e.invert(t[0]*f,t[1]*f))[0]*=c,t[1]*=c,t},t}function at(e,t,n,r,o,i){if(n){var a=g(t),u=k(t),l=r*n;null==o?(o=t+r*s,i=t-l/2):(o=ut(a,o),i=ut(a,i),(r>0?oi)&&(o+=r*s));for(var c,f=o;r>0?f>i:f1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}}function ct(e,t){return d(e[0]-t[0])=0;--i)o.point((c=s[i])[0],c[1]);else r(d.x,d.p.x,-1,o);d=d.p}s=(d=d.o).z,p=!p}while(!d.v);o.lineEnd()}}}function pt(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r=0?1:-1,A=R*j,I=A>a,F=x*z;if(m.add(h(F*R*k(A),N*L+F*g(A))),d+=I?j+R*s:j,I^E>=n^O>=n){var D=le(ae(_),ae(P));fe(D);var U=le(f,D);fe(U);var B=(I^j>=0?-1:1)*M(U[2]);(i>B||i===B&&(D[0]||D[1]))&&(p+=I^j>=0?1:-1)}}return(d<-o||d0){for(f||(o.polygonStart(),f=!0),o.lineStart(),e=0;e1&&2&l&&d.push(d.pop().concat(d.shift())),a.push(d.filter(yt))}return d}}function yt(e){return e.length>1}function bt(e,t){return((e=e.x)[0]<0?e[1]-u-o:u-e[1])-((t=t.x)[0]<0?t[1]-u-o:u-t[1])}et.invert=et;const wt=vt((function(){return!0}),(function(e){var t,n=NaN,r=NaN,i=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(l,s){var c=l>0?a:-a,f=d(l-n);d(f-a)0?u:-u),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(c,r),e.point(l,r),t=0):i!==c&&f>=a&&(d(n-i)o?p((k(t)*(a=g(r))*k(n)-k(r)*(i=g(t))*k(e))/(i*a*u)):(t+r)/2}(n,r,l,s),e.point(i,r),e.lineEnd(),e.lineStart(),e.point(c,r),t=0),e.point(n=l,r=s),i=c},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}),(function(e,t,n,r){var i;if(null==e)i=n*u,r.point(-a,i),r.point(0,i),r.point(a,i),r.point(a,0),r.point(a,-i),r.point(0,-i),r.point(-a,-i),r.point(-a,0),r.point(-a,i);else if(d(e[0]-t[0])>o){var l=e[0]0,i=d(t)>o;function u(e,n){return g(e)*g(n)>t}function l(e,n,r){var i=[1,0,0],u=le(ae(e),ae(n)),l=ue(u,u),s=u[0],c=l-s*s;if(!c)return!r&&e;var f=t*l/c,p=-t*s/c,h=le(i,u),g=ce(i,f);se(g,ce(u,p));var m=h,v=ue(g,m),y=ue(m,m),b=v*v-y*(ue(g,g)-1);if(!(b<0)){var w=E(b),k=ce(m,(-v-w)/y);if(se(k,g),k=ie(k),!r)return k;var _,S=e[0],x=n[0],M=e[1],N=n[1];x0^k[1]<(d(k[0]-S)a^(S<=k[0]&&k[0]<=x)){var O=ce(m,(-v+w)/y);return se(O,g),[k,ie(O)]}}}function s(t,n){var o=r?e:a-e,i=0;return t<-o?i|=1:t>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return vt(u,(function(e){var t,n,o,c,f;return{lineStart:function(){c=o=!1,f=1},point:function(d,p){var h,g=[d,p],m=u(d,p),v=r?m?0:s(d,p):m?s(d+(d<0?a:-a),p):0;if(!t&&(c=o=m)&&e.lineStart(),m!==o&&(!(h=l(t,g))||ct(t,h)||ct(g,h))&&(g[2]=1),m!==o)f=0,m?(e.lineStart(),h=l(g,t),e.point(h[0],h[1])):(h=l(t,g),e.point(h[0],h[1],2),e.lineEnd()),t=h;else if(i&&t&&r^m){var y;v&n||!(y=l(g,t,!0))||(f=0,r?(e.lineStart(),e.point(y[0][0],y[0][1]),e.point(y[1][0],y[1][1]),e.lineEnd()):(e.point(y[1][0],y[1][1]),e.lineEnd(),e.lineStart(),e.point(y[0][0],y[0][1],3)))}!m||t&&ct(t,g)||e.point(g[0],g[1]),t=g,o=m,n=v},lineEnd:function(){o&&e.lineEnd(),t=null},clean:function(){return f|(c&&o)<<1}}}),(function(t,r,o,i){at(i,e,n,o,t,r)}),r?[0,-e]:[-a,e-a])}var _t,Et,St,xt,Mt=1e9,Nt=-Mt;function Ct(e,t,n,r){function i(o,i){return e<=o&&o<=n&&t<=i&&i<=r}function a(o,i,a,l){var c=0,f=0;if(null==o||(c=u(o,a))!==(f=u(i,a))||s(o,i)<0^a>0)do{l.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+a+4)%4)!==f);else l.point(i[0],i[1])}function u(r,i){return d(r[0]-e)0?0:3:d(r[0]-n)0?2:1:d(r[1]-t)0?1:0:i>0?3:2}function l(e,t){return s(e.x,t.x)}function s(e,t){var n=u(e,1),r=u(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(o){var u,s,c,f,d,p,h,g,m,v,y,b=o,w=st(),k={point:_,lineStart:function(){k.point=E,s&&s.push(c=[]),v=!0,m=!1,h=g=NaN},lineEnd:function(){u&&(E(f,d),p&&m&&w.rejoin(),u.push(w.result())),k.point=_,m&&b.lineEnd()},polygonStart:function(){b=w,u=[],s=[],y=!0},polygonEnd:function(){var t=function(){for(var t=0,n=0,o=s.length;nr&&(d-i)*(r-a)>(p-a)*(e-i)&&++t:p<=r&&(d-i)*(r-a)<(p-a)*(e-i)&&--t;return t}(),n=y&&t,i=(u=mt(u)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),i&&dt(u,l,t,a,o),o.polygonEnd()),b=o,u=s=c=null}};function _(e,t){i(e,t)&&b.point(e,t)}function E(o,a){var u=i(o,a);if(s&&c.push([o,a]),v)f=o,d=a,p=u,v=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&m)b.point(o,a);else{var l=[h=Math.max(Nt,Math.min(Mt,h)),g=Math.max(Nt,Math.min(Mt,g))],w=[o=Math.max(Nt,Math.min(Mt,o)),a=Math.max(Nt,Math.min(Mt,a))];!function(e,t,n,r,o,i){var a,u=e[0],l=e[1],s=0,c=1,f=t[0]-u,d=t[1]-l;if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a0){if(a>c)return;a>s&&(s=a)}if(a=o-u,f||!(a<0)){if(a/=f,f<0){if(a>c)return;a>s&&(s=a)}else if(f>0){if(a0)){if(a/=d,d<0){if(a0){if(a>c)return;a>s&&(s=a)}if(a=i-l,d||!(a<0)){if(a/=d,d<0){if(a>c)return;a>s&&(s=a)}else if(d>0){if(a0&&(e[0]=u+s*f,e[1]=l+s*d),c<1&&(t[0]=u+c*f,t[1]=l+c*d),!0}}}}}(l,w,e,t,n,r)?u&&(b.lineStart(),b.point(o,a),y=!1):(m||(b.lineStart(),b.point(l[0],l[1])),b.point(w[0],w[1]),u||b.lineEnd(),y=!1)}h=o,g=a,m=u}return k}}function Pt(){var e,t,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return e&&t===n?e:e=Ct(r,o,i,a)(t=n)},extent:function(u){return arguments.length?(r=+u[0][0],o=+u[0][1],i=+u[1][0],a=+u[1][1],e=t=null,n):[[r,o],[i,a]]}}}var Ot={sphere:C,point:C,lineStart:function(){Ot.point=zt,Ot.lineEnd=Tt},lineEnd:C,polygonStart:C,polygonEnd:C};function Tt(){Ot.point=Ot.lineEnd=C}function zt(e,t){Et=e*=f,St=k(t*=f),xt=g(t),Ot.point=Lt}function Lt(e,t){e*=f;var n=k(t*=f),r=g(t),o=d(e-Et),i=g(o),a=r*k(o),u=xt*n-St*r*i,l=St*n+xt*r*i;_t.add(h(E(a*a+u*u),l)),Et=e,St=n,xt=r}function jt(e){return _t=new r,j(e,Ot),+_t}var Rt=[null,null],At={type:"LineString",coordinates:Rt};function It(e,t){return Rt[0]=e,Rt[1]=t,jt(At)}var Ft={Feature:function(e,t){return Ut(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r0&&(o=It(e[a],e[a-1]))>0&&n<=o&&r<=o&&(n+r-o)*(1-Math.pow((n-r)/o,2))o})).map(s)).concat(Ht(m(a/g)*g,i,g).filter((function(e){return d(e%y)>o})).map(c))}return w.lines=function(){return k().map((function(e){return{type:"LineString",coordinates:e}}))},w.outline=function(){return{type:"Polygon",coordinates:[f(r).concat(p(u).slice(1),f(n).reverse().slice(1),p(l).reverse().slice(1))]}},w.extent=function(e){return arguments.length?w.extentMajor(e).extentMinor(e):w.extentMinor()},w.extentMajor=function(e){return arguments.length?(r=+e[0][0],n=+e[1][0],l=+e[0][1],u=+e[1][1],r>n&&(e=r,r=n,n=e),l>u&&(e=l,l=u,u=e),w.precision(b)):[[r,l],[n,u]]},w.extentMinor=function(n){return arguments.length?(t=+n[0][0],e=+n[1][0],a=+n[0][1],i=+n[1][1],t>e&&(n=t,t=e,e=n),a>i&&(n=a,a=i,i=n),w.precision(b)):[[t,a],[e,i]]},w.step=function(e){return arguments.length?w.stepMajor(e).stepMinor(e):w.stepMinor()},w.stepMajor=function(e){return arguments.length?(v=+e[0],y=+e[1],w):[v,y]},w.stepMinor=function(e){return arguments.length?(h=+e[0],g=+e[1],w):[h,g]},w.precision=function(o){return arguments.length?(b=+o,s=Qt(a,i,90),c=Gt(t,e,b),f=Qt(l,u,90),p=Gt(r,n,b),w):b},w.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Xt(){return Yt()()}function Kt(e,t){var n=e[0]*f,r=e[1]*f,o=t[0]*f,i=t[1]*f,a=g(r),u=k(r),l=g(i),s=k(i),d=a*g(n),p=a*k(n),m=l*g(o),v=l*k(o),y=2*M(E(N(i-r)+a*l*N(o-n))),b=k(y),w=y?function(e){var t=k(e*=y)/b,n=k(y-e)/b,r=n*d+t*m,o=n*p+t*v,i=n*u+t*s;return[h(o,r)*c,h(i,E(r*r+o*o))*c]}:function(){return[n*c,r*c]};return w.distance=y,w}const Jt=e=>e;var en,tn,nn,rn,on=new r,an=new r,un={point:C,lineStart:C,lineEnd:C,polygonStart:function(){un.lineStart=ln,un.lineEnd=fn},polygonEnd:function(){un.lineStart=un.lineEnd=un.point=C,on.add(d(an)),an=new r},result:function(){var e=on/2;return on=new r,e}};function ln(){un.point=sn}function sn(e,t){un.point=cn,en=nn=e,tn=rn=t}function cn(e,t){an.add(rn*e-nn*t),nn=e,rn=t}function fn(){cn(en,tn)}const dn=un;var pn=1/0,hn=pn,gn=-pn,mn=gn,vn={point:function(e,t){egn&&(gn=e),tmn&&(mn=t)},lineStart:C,lineEnd:C,polygonStart:C,polygonEnd:C,result:function(){var e=[[pn,hn],[gn,mn]];return gn=mn=-(hn=pn=1/0),e}};const yn=vn;var bn,wn,kn,_n,En=0,Sn=0,xn=0,Mn=0,Nn=0,Cn=0,Pn=0,On=0,Tn=0,zn={point:Ln,lineStart:jn,lineEnd:In,polygonStart:function(){zn.lineStart=Fn,zn.lineEnd=Dn},polygonEnd:function(){zn.point=Ln,zn.lineStart=jn,zn.lineEnd=In},result:function(){var e=Tn?[Pn/Tn,On/Tn]:Cn?[Mn/Cn,Nn/Cn]:xn?[En/xn,Sn/xn]:[NaN,NaN];return En=Sn=xn=Mn=Nn=Cn=Pn=On=Tn=0,e}};function Ln(e,t){En+=e,Sn+=t,++xn}function jn(){zn.point=Rn}function Rn(e,t){zn.point=An,Ln(kn=e,_n=t)}function An(e,t){var n=e-kn,r=t-_n,o=E(n*n+r*r);Mn+=o*(kn+e)/2,Nn+=o*(_n+t)/2,Cn+=o,Ln(kn=e,_n=t)}function In(){zn.point=Ln}function Fn(){zn.point=Un}function Dn(){Bn(bn,wn)}function Un(e,t){zn.point=Bn,Ln(bn=kn=e,wn=_n=t)}function Bn(e,t){var n=e-kn,r=t-_n,o=E(n*n+r*r);Mn+=o*(kn+e)/2,Nn+=o*(_n+t)/2,Cn+=o,Pn+=(o=_n*e-kn*t)*(kn+e),On+=o*(_n+t),Tn+=3*o,Ln(kn=e,_n=t)}const $n=zn;function Zn(e){this._context=e}Zn.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,s)}},result:C};var Vn,qn,Wn,Hn,Qn,Gn=new r,Yn={point:C,lineStart:function(){Yn.point=Xn},lineEnd:function(){Vn&&Kn(qn,Wn),Yn.point=C},polygonStart:function(){Vn=!0},polygonEnd:function(){Vn=null},result:function(){var e=+Gn;return Gn=new r,e}};function Xn(e,t){Yn.point=Kn,qn=Hn=e,Wn=Qn=t}function Kn(e,t){Hn-=e,Qn-=t,Gn.add(E(Hn*Hn+Qn*Qn)),Hn=e,Qn=t}const Jn=Yn;function er(){this._string=[]}function tr(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function nr(e,t){var n,r,o=4.5;function i(e){return e&&("function"==typeof o&&r.pointRadius(+o.apply(this,arguments)),j(e,n(r))),r.result()}return i.area=function(e){return j(e,n(dn)),dn.result()},i.measure=function(e){return j(e,n(Jn)),Jn.result()},i.bounds=function(e){return j(e,n(yn)),yn.result()},i.centroid=function(e){return j(e,n($n)),$n.result()},i.projection=function(t){return arguments.length?(n=null==t?(e=null,Jt):(e=t).stream,i):e},i.context=function(e){return arguments.length?(r=null==e?(t=null,new er):new Zn(t=e),"function"!=typeof o&&r.pointRadius(o),i):t},i.pointRadius=function(e){return arguments.length?(o="function"==typeof e?e:(r.pointRadius(+e),+e),i):o},i.projection(e).context(t)}function rr(e){return{stream:or(e)}}function or(e){return function(t){var n=new ir;for(var r in e)n[r]=e[r];return n.stream=t,n}}function ir(){}function ar(e,t,n){var r=e.clipExtent&&e.clipExtent();return e.scale(150).translate([0,0]),null!=r&&e.clipExtent(null),j(n,e.stream(yn)),t(yn.result()),null!=r&&e.clipExtent(r),e}function ur(e,t,n){return ar(e,(function(n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],i=Math.min(r/(n[1][0]-n[0][0]),o/(n[1][1]-n[0][1])),a=+t[0][0]+(r-i*(n[1][0]+n[0][0]))/2,u=+t[0][1]+(o-i*(n[1][1]+n[0][1]))/2;e.scale(150*i).translate([a,u])}),n)}function lr(e,t,n){return ur(e,[[0,0],t],n)}function sr(e,t,n){return ar(e,(function(n){var r=+t,o=r/(n[1][0]-n[0][0]),i=(r-o*(n[1][0]+n[0][0]))/2,a=-o*n[0][1];e.scale(150*o).translate([i,a])}),n)}function cr(e,t,n){return ar(e,(function(n){var r=+t,o=r/(n[1][1]-n[0][1]),i=-o*n[0][0],a=(r-o*(n[1][1]+n[0][1]))/2;e.scale(150*o).translate([i,a])}),n)}er.prototype={_radius:4.5,_circle:tr(4.5),pointRadius:function(e){return(e=+e)!==this._radius&&(this._radius=e,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:null==this._circle&&(this._circle=tr(this._radius)),this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}return null}},ir.prototype={constructor:ir,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var fr=g(30*f);function dr(e,t){return+t?function(e,t){function n(r,i,a,u,l,s,c,f,p,g,m,v,y,b){var w=c-r,k=f-i,_=w*w+k*k;if(_>4*t&&y--){var S=u+g,x=l+m,N=s+v,C=E(S*S+x*x+N*N),P=M(N/=C),O=d(d(N)-1)t||d((w*j+k*R)/_-.5)>.3||u*g+l*m+s*v2?e[2]%360*f:0,z()):[y*c,b*c,w*c]},O.angle=function(e){return arguments.length?(k=e%360*f,z()):k*c},O.reflectX=function(e){return arguments.length?(_=e?-1:1,z()):_<0},O.reflectY=function(e){return arguments.length?(S=e?-1:1,z()):S<0},O.precision=function(e){return arguments.length?(a=dr(u,P=e*e),L()):E(P)},O.fitExtent=function(e,t){return ur(O,e,t)},O.fitSize=function(e,t){return lr(O,e,t)},O.fitWidth=function(e,t){return sr(O,e,t)},O.fitHeight=function(e,t){return cr(O,e,t)},function(){return t=e.apply(this,arguments),O.invert=t.invert&&T,z()}}function vr(e){var t=0,n=a/3,r=mr(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*f,n=e[1]*f):[t*c,n*c]},o}function yr(e,t){var n=k(e),r=(n+k(t))/2;if(d(r)=.12&&o<.234&&r>=-.425&&r<-.214?l:o>=.166&&o<.234&&r>=-.214&&r<-.115?s:u).invert(e)},f.stream=function(n){return e&&t===n?e:(r=[u.stream(t=n),l.stream(n),s.stream(n)],o=r.length,e={point:function(e,t){for(var n=-1;++n0?t<-u+o&&(t=-u+o):t>u-o&&(t=u-o);var n=i/w(Tr(t),r);return[n*k(r*e),i-n*g(r*e)]}return l.invert=function(e,t){var n=i-t,o=_(r)*E(e*e+n*n),l=h(e,d(n))*_(n);return n*r<0&&(l-=a*_(e)*_(n)),[l/r,2*p(w(i/o,1/r))-u]},l}function Lr(){return vr(zr).scale(109.5).parallels([30,30])}function jr(e,t){return[e,t]}function Rr(){return gr(jr).scale(152.63)}function Ar(e,t){var n=g(e),r=e===t?k(e):(n-g(t))/(t-e),i=n/r+e;if(d(r)2?e[2]+90:90]):[(e=n())[0],e[1],e[2]-90]},n([0,0,90]).scale(159.155)}Zr.invert=function(e,t){for(var n,r=t,o=r*r,a=o*o*o,u=0;u<12&&(a=(o=(r-=n=(r*(Fr+Dr*o+a*(Ur+Br*o))-t)/(Fr+3*Dr*o+a*(7*Ur+9*Br*o)))*r)*o*o,!(d(n)o&&--i>0);return[e/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},Yr.invert=Er(M),Kr.invert=Er((function(e){return 2*p(e)})),eo.invert=function(e,t){return[-t,2*p(v(e))-u]}},2032:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}n.d(t,{Z:()=>r})},8076:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(1748),o=n(5285);function i(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===o.P&&t.documentElement.namespaceURI===o.P?t.createElement(e):t.createElementNS(n,e)}}function a(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function u(e){var t=(0,r.Z)(e);return(t.local?a:i)(t)}},6360:(e,t,n)=>{"use strict";n.r(t),n.d(t,{create:()=>i,creator:()=>r.Z,local:()=>u,matcher:()=>s.Z,namespace:()=>c.Z,namespaces:()=>f.Z,pointer:()=>d.Z,pointers:()=>h,select:()=>o.Z,selectAll:()=>v,selection:()=>m.ZP,selector:()=>y.Z,selectorAll:()=>b.Z,style:()=>w.S,window:()=>k.Z});var r=n(8076),o=n(6576);function i(e){return(0,o.Z)((0,r.Z)(e).call(document.documentElement))}var a=0;function u(){return new l}function l(){this._="@"+(++a).toString(36)}l.prototype=u.prototype={constructor:l,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var s=n(74),c=n(1748),f=n(5285),d=n(3347),p=n(8780);function h(e,t){return e.target&&(e=(0,p.Z)(e),void 0===t&&(t=e.currentTarget),e=e.touches||[e]),Array.from(e,(e=>(0,d.Z)(e,t)))}var g=n(2032),m=n(5433);function v(e){return"string"==typeof e?new m.Y1([document.querySelectorAll(e)],[document.documentElement]):new m.Y1([null==e?[]:(0,g.Z)(e)],m.Jz)}var y=n(6339),b=n(5460),w=n(9123),k=n(9921)},74:(e,t,n)=>{"use strict";function r(e){return function(){return this.matches(e)}}function o(e){return function(t){return t.matches(e)}}n.d(t,{P:()=>o,Z:()=>r})},1748:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(5285);function o(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),r.Z.hasOwnProperty(t)?{space:r.Z[t],local:e}:e}},5285:(e,t,n)=>{"use strict";n.d(t,{P:()=>r,Z:()=>o});var r="http://www.w3.org/1999/xhtml";const o={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},3347:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(8780);function o(e,t){if(e=(0,r.Z)(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var o=n.createSVGPoint();return o.x=e.clientX,o.y=e.clientY,[(o=o.matrixTransform(t.getScreenCTM().inverse())).x,o.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}},6576:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(5433);function o(e){return"string"==typeof e?new r.Y1([[document.querySelector(e)]],[document.documentElement]):new r.Y1([[e]],r.Jz)}},5433:(e,t,n)=>{"use strict";n.d(t,{Y1:()=>oe,ZP:()=>ae,Jz:()=>re});var r=n(6339),o=n(2032),i=n(5460),a=n(74),u=Array.prototype.find;function l(){return this.firstElementChild}var s=Array.prototype.filter;function c(){return this.children}function f(e){return new Array(e.length)}function d(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function p(e){return function(){return e}}function h(e,t,n,r,o,i){for(var a,u=0,l=t.length,s=i.length;ut?1:e>=t?0:NaN}d.prototype={constructor:d,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var y=n(1748);function b(e){return function(){this.removeAttribute(e)}}function w(e){return function(){this.removeAttributeNS(e.space,e.local)}}function k(e,t){return function(){this.setAttribute(e,t)}}function _(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function E(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function S(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}var x=n(9123);function M(e){return function(){delete this[e]}}function N(e,t){return function(){this[e]=t}}function C(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function P(e){return e.trim().split(/^|\s+/)}function O(e){return e.classList||new T(e)}function T(e){this._node=e,this._names=P(e.getAttribute("class")||"")}function z(e,t){for(var n=O(e),r=-1,o=t.length;++r=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var q=n(8076);function W(){return null}function H(){var e=this.parentNode;e&&e.removeChild(this)}function Q(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function G(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Y(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}function X(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,i=t.length;r=M&&(M=x+1);!(S=k[M])&&++M=0;)(r=o[i])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=v);for(var n=this._groups,r=n.length,o=new Array(r),i=0;i1?this.each((null==t?M:"function"==typeof t?C:N)(e,t)):this.node()[e]},classed:function(e,t){var n=P(e+"");if(arguments.length<2){for(var r=O(this.node()),o=-1,i=n.length;++o{"use strict";n.d(t,{S:()=>l,Z:()=>u});var r=n(9921);function o(e){return function(){this.style.removeProperty(e)}}function i(e,t,n){return function(){this.style.setProperty(e,t,n)}}function a(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function u(e,t,n){return arguments.length>1?this.each((null==t?o:"function"==typeof t?a:i)(e,t,null==n?"":n)):l(this.node(),e)}function l(e,t){return e.style.getPropertyValue(t)||(0,r.Z)(e).getComputedStyle(e,null).getPropertyValue(t)}},6339:(e,t,n)=>{"use strict";function r(){}function o(e){return null==e?r:function(){return this.querySelector(e)}}n.d(t,{Z:()=>o})},5460:(e,t,n)=>{"use strict";function r(){return[]}function o(e){return null==e?r:function(){return this.querySelectorAll(e)}}n.d(t,{Z:()=>o})},8780:(e,t,n)=>{"use strict";function r(e){let t;for(;t=e.sourceEvent;)e=t;return e}n.d(t,{Z:()=>r})},9921:(e,t,n)=>{"use strict";function r(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}n.d(t,{Z:()=>r})},2381:(e,t,n)=>{"use strict";n.r(t),n.d(t,{zoom:()=>At,zoomIdentity:()=>Mt,zoomTransform:()=>Nt});var r={value:function(){}};function o(){for(var e,t=0,n=arguments.length,r={};t=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}function u(e,t){for(var n,r=0,o=e.length;r0)for(var n,r,o=new Array(n),i=0;i=0&&t._call.call(null,e),t=t._next;--k}()}finally{k=0,function(){for(var e,t,n=v,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:v=t);y=e,R(r)}(),x=0}}function j(){var e=N.now(),t=e-S;t>1e3&&(M-=t,S=e)}function R(e){k||(_&&(_=clearTimeout(_)),e-x>24?(e<1/0&&(_=setTimeout(L,e-N.now()-M)),E&&(E=clearInterval(E))):(E||(S=N.now(),E=setInterval(j,1e3)),k=1,C(L)))}function A(e,t,n){var r=new T;return t=null==t?0:+t,r.restart((function(n){r.stop(),e(n+t)}),t,n),r}T.prototype=z.prototype={constructor:T,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?P():+n)+(null==t?0:+t),this._next||y===this||(y?y._next=this:v=this,y=this),this._call=e,this._time=n,R()},stop:function(){this._call&&(this._call=null,this._time=1/0,R())}};var I=s("start","end","cancel","interrupt"),F=[];function D(e,t,n,r,o,i){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,o=e.__transition;function i(l){var s,c,f,d;if(1!==n.state)return u();for(s in o)if((d=o[s]).name===n.name){if(3===d.state)return A(i);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",e,e.__data__,d.index,d.group),delete o[s]):+s0)throw new Error("too late; already scheduled");return n}function B(e,t){var n=$(e,t);if(n.state>3)throw new Error("too late; already running");return n}function $(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function Z(e,t){var n,r,o,i=e.__transition,a=!0;if(i){for(o in t=null==t?null:t+"",i)(n=i[o]).name===t?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete i[o]):a=!1;a&&delete e.__transition}}function V(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var q,W,H,Q,G=180/Math.PI,Y={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function X(e,t,n,r,o,i){var a,u,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,l/=u),e*r180?t+=360:t-e>180&&(e+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:V(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}(i.rotate,a.rotate,u,l),function(e,t,n,i){e!==t?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:V(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}(i.skewX,a.skewX,u,l),function(e,t,n,r,i,a){if(e!==n||t!==r){var u=i.push(o(i)+"scale(",null,",",null,")");a.push({i:u-4,x:V(e,n)},{i:u-2,x:V(t,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,u,l),i=a=null,function(e){for(var t,n=-1,r=l.length;++n>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?xe(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?xe(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=he.exec(e))?new Ce(t[1],t[2],t[3],1):(t=ge.exec(e))?new Ce(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=me.exec(e))?xe(t[1],t[2],t[3],t[4]):(t=ve.exec(e))?xe(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=ye.exec(e))?ze(t[1],t[2]/100,t[3]/100,1):(t=be.exec(e))?ze(t[1],t[2]/100,t[3]/100,t[4]):we.hasOwnProperty(e)?Se(we[e]):"transparent"===e?new Ce(NaN,NaN,NaN,0):null}function Se(e){return new Ce(e>>16&255,e>>8&255,255&e,1)}function xe(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ce(e,t,n,r)}function Me(e){return e instanceof ue||(e=Ee(e)),e?new Ce((e=e.rgb()).r,e.g,e.b,e.opacity):new Ce}function Ne(e,t,n,r){return 1===arguments.length?Me(e):new Ce(e,t,n,null==r?1:r)}function Ce(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Pe(){return"#"+Te(this.r)+Te(this.g)+Te(this.b)}function Oe(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Te(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function ze(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new je(e,t,n,r)}function Le(e){if(e instanceof je)return new je(e.h,e.s,e.l,e.opacity);if(e instanceof ue||(e=Ee(e)),!e)return new je;if(e instanceof je)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,u=i-o,l=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n0&&l<1?0:a,new je(a,u,l,e.opacity)}function je(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Re(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Ae(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}function Ie(e){return function(){return e}}function Fe(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):Ie(isNaN(e)?t:e)}ie(ue,Ee,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:ke,formatHex:ke,formatHsl:function(){return Le(this).formatHsl()},formatRgb:_e,toString:_e}),ie(Ce,Ne,ae(ue,{brighter:function(e){return e=null==e?se:Math.pow(se,e),new Ce(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?le:Math.pow(le,e),new Ce(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pe,formatHex:Pe,formatRgb:Oe,toString:Oe})),ie(je,(function(e,t,n,r){return 1===arguments.length?Le(e):new je(e,t,n,null==r?1:r)}),ae(ue,{brighter:function(e){return e=null==e?se:Math.pow(se,e),new je(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?le:Math.pow(le,e),new je(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ce(Re(e>=240?e-240:e+120,o,r),Re(e,o,r),Re(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));const De=function e(t){var n=function(e){return 1==(e=+e)?Fe:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Ie(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Ne(e)).r,(t=Ne(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Fe(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function Ue(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,u=ri&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,l.push({i:a,x:V(n,r)})),i=$e.lastIndex;return i=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?U:B;return function(){var a=i(this,e),u=a.on;u!==r&&(o=(r=u).copy()).on(t,n),a.on=o}}var lt=n(6339),st=n(5460),ct=w.ZP.prototype.constructor,ft=n(9123);function dt(e){return function(){this.style.removeProperty(e)}}function pt(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function ht(e,t,n){var r,o;function i(){var i=t.apply(this,arguments);return i!==o&&(r=(o=i)&&pt(e,i,n)),r}return i._value=t,i}function gt(e){return function(t){this.textContent=e.call(this,t)}}function mt(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&>(r)),t}return r._value=e,r}var vt=0;function yt(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function bt(){return++vt}var wt=w.ZP.prototype;yt.prototype=function(e){return(0,w.ZP)().transition(e)}.prototype={constructor:yt,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=(0,lt.Z)(e));for(var r=this._groups,o=r.length,i=new Array(o),a=0;a()=>e;function St(e,{sourceEvent:t,target:n,transform:r,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:o}})}function xt(e,t,n){this.k=e,this.x=t,this.y=n}xt.prototype={constructor:xt,scale:function(e){return 1===e?this:new xt(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new xt(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Mt=new xt(1,0,0);function Nt(e){for(;!e.__zoom;)if(!(e=e.parentNode))return Mt;return e.__zoom}function Ct(e){e.stopImmediatePropagation()}function Pt(e){e.preventDefault(),e.stopImmediatePropagation()}function Ot(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function Tt(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function zt(){return this.__zoom||Mt}function Lt(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function jt(){return navigator.maxTouchPoints||"ontouchstart"in this}function Rt(e,t,n){var r=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],i=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),a>i?(i+a)/2:Math.min(0,i)||Math.max(0,a))}function At(){var e,t,n,r=Ot,o=Tt,i=Rt,a=Lt,u=jt,l=[0,1/0],f=[[-1/0,-1/0],[1/0,1/0]],h=250,g=m,v=s("start","zoom","end"),y=500,w=0,k=10;function _(e){e.property("__zoom",zt).on("wheel.zoom",P).on("mousedown.zoom",O).on("dblclick.zoom",T).filter(u).on("touchstart.zoom",z).on("touchmove.zoom",L).on("touchend.zoom touchcancel.zoom",j).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function E(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new xt(t,e.x,e.y)}function S(e,t,n){var r=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k;return r===e.x&&o===e.y?e:new xt(e.k,r,o)}function x(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function M(e,t,n,r){e.on("start.zoom",(function(){N(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){N(this,arguments).event(r).end()})).tween("zoom",(function(){var e=this,i=arguments,a=N(e,i).event(r),u=o.apply(e,i),l=null==n?x(u):"function"==typeof n?n.apply(e,i):n,s=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),c=e.__zoom,f="function"==typeof t?t.apply(e,i):t,d=g(c.invert(l).concat(s/c.k),f.invert(l).concat(s/f.k));return function(e){if(1===e)e=f;else{var t=d(e),n=s/t[2];e=new xt(n,l[0]-t[0]*n,l[1]-t[1]*n)}a.zoom(null,e)}}))}function N(e,t,n){return!n&&e.__zooming||new C(e,t)}function C(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=o.apply(e,t),this.taps=0}function P(e,...t){if(r.apply(this,arguments)){var n=N(this,t).event(e),o=this.__zoom,u=Math.max(l[0],Math.min(l[1],o.k*Math.pow(2,a.apply(this,arguments)))),s=(0,b.Z)(e);if(n.wheel)n.mouse[0][0]===s[0]&&n.mouse[0][1]===s[1]||(n.mouse[1]=o.invert(n.mouse[0]=s)),clearTimeout(n.wheel);else{if(o.k===u)return;n.mouse=[s,o.invert(s)],Z(this),n.start()}Pt(e),n.wheel=setTimeout(c,150),n.zoom("mouse",i(S(E(o,u),n.mouse[0],n.mouse[1]),n.extent,f))}function c(){n.wheel=null,n.end()}}function O(e,...t){if(!n&&r.apply(this,arguments)){var o=N(this,t,!0).event(e),a=(0,c.Z)(e.view).on("mousemove.zoom",g,!0).on("mouseup.zoom",m,!0),u=(0,b.Z)(e,l),l=e.currentTarget,s=e.clientX,h=e.clientY;d(e.view),Ct(e),o.mouse=[u,this.__zoom.invert(u)],Z(this),o.start()}function g(e){if(Pt(e),!o.moved){var t=e.clientX-s,n=e.clientY-h;o.moved=t*t+n*n>w}o.event(e).zoom("mouse",i(S(o.that.__zoom,o.mouse[0]=(0,b.Z)(e,l),o.mouse[1]),o.extent,f))}function m(e){a.on("mousemove.zoom mouseup.zoom",null),p(e.view,o.moved),Pt(e),o.event(e).end()}}function T(e,...t){if(r.apply(this,arguments)){var n=this.__zoom,a=(0,b.Z)(e.changedTouches?e.changedTouches[0]:e,this),u=n.invert(a),l=n.k*(e.shiftKey?.5:2),s=i(S(E(n,l),a,u),o.apply(this,t),f);Pt(e),h>0?(0,c.Z)(this).transition().duration(h).call(M,s,a,e):(0,c.Z)(this).call(_.transform,s,a,e)}}function z(n,...o){if(r.apply(this,arguments)){var i,a,u,l,s=n.touches,c=s.length,f=N(this,o,n.changedTouches.length===c).event(n);for(Ct(n),a=0;a{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,u,l=o(e),s=1;s{"use strict";var r=n(5148);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},7862:(e,t,n)=>{e.exports=n(1772)()},5148:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2340:(e,t,n)=>{"use strict";var r=n(9901),o=n(2458),i=n(6803);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(g,e)||!p.call(h,e)&&(d.test(e)?g[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=60103,E=60106,S=60107,x=60108,M=60114,N=60109,C=60110,P=60112,O=60113,T=60120,z=60115,L=60116,j=60121,R=60128,A=60129,I=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var D=Symbol.for;_=D("react.element"),E=D("react.portal"),S=D("react.fragment"),x=D("react.strict_mode"),M=D("react.profiler"),N=D("react.provider"),C=D("react.context"),P=D("react.forward_ref"),O=D("react.suspense"),T=D("react.suspense_list"),z=D("react.memo"),L=D("react.lazy"),j=D("react.block"),D("react.scope"),R=D("react.opaque.id"),A=D("react.debug_trace_mode"),I=D("react.offscreen"),F=D("react.legacy_hidden")}var U,B="function"==typeof Symbol&&Symbol.iterator;function $(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=B&&e[B]||e["@@iterator"])?e:null}function Z(e){if(void 0===U)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var V=!1;function q(e,t){if(!e||V)return"";V=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,u=i.length-1;1<=a&&0<=u&&o[a]!==i[u];)u--;for(;1<=a&&0<=u;a--,u--)if(o[a]!==i[u]){if(1!==a||1!==u)do{if(a--,0>--u||o[a]!==i[u])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=u);break}}}finally{V=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Z(e):""}function W(e){switch(e.tag){case 5:return Z(e.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return q(e.type,!1);case 11:return q(e.type.render,!1);case 22:return q(e.type._render,!1);case 1:return q(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case E:return"Portal";case M:return"Profiler";case x:return"StrictMode";case O:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case z:return H(e.type);case j:return H(e._render);case L:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function Q(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function G(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Y(e){e._valueTracker||(e._valueTracker=function(e){var t=G(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=G(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=Q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,Q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&K(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Q(n)}}function se(e,t){var n=Q(t.value),r=Q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ce(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml";function de(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function pe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?de(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var he,ge,me=(ge=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((he=he||document.createElement("div")).innerHTML="",t=he.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=["Webkit","ms","Moz","O"];function we(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function ke(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=we(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ye).forEach((function(e){be.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var _e=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ee(e,t){if(t){if(_e[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function Se(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Me=null,Ne=null,Ce=null;function Pe(e){if(e=Jr(e)){if("function"!=typeof Me)throw Error(a(280));var t=e.stateNode;t&&(t=to(t),Me(e.stateNode,e.type,t))}}function Oe(e,t){return e(t)}function Te(e,t,n,r,o){return e(t,n,r,o)}function ze(){}var Le=Oe,je=!1,Re=!1;function Ae(){null===Ne&&null===Ce||(ze(),function(){if(Ne){var e=Ne,t=Ce;if(Ce=Ne=null,Pe(e),t)for(e=0;e(r=31-Ut(r))?0:1<n;n++)t.push(e);return t}function Dt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ut(t)]=n}var Ut=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Bt(e)/$t|0)|0},Bt=Math.log,$t=Math.LN2,Zt=i.unstable_UserBlockingPriority,Vt=i.unstable_runWithPriority,qt=!0;function Wt(e,t,n,r){je||ze();var o=Qt,i=je;je=!0;try{Te(o,e,t,n,r)}finally{(je=i)||Ae()}}function Ht(e,t,n,r){Vt(Zt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){var o;if(qt)if((o=0==(4&t))&&0=jn),In=String.fromCharCode(32),Fn=!1;function Dn(e,t){switch(e){case"keyup":return-1!==zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Bn=!1,$n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Vn(e,t,n,r){(function(e){Ne?Ce?Ce.push(e):Ce=[e]:Ne=e})(r),0<(t=Lr(t,"onChange")).length&&(n=new sn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Wn=null;function Hn(e){xr(e,0)}function Qn(e){if(X(eo(e)))return e}function Gn(e,t){if("change"===e)return t}var Yn=!1;if(f){var Xn;if(f){var Kn="oninput"in document;if(!Kn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Kn="function"==typeof Jn.oninput}Xn=Kn}else Xn=!1;Yn=Xn&&(!document.documentMode||9=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=K((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var hr=f&&"documentMode"in document&&11>=document.documentMode,gr=null,mr=null,vr=null,yr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==K(r)||(r="selectionStart"in(r=gr)&&pr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Lr(mr,"onSelect")).length&&(t=new sn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}Tt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Tt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Tt(Ot,2);for(var wr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),kr=0;kroo||(e.current=ro[oo],ro[oo]=null,oo--)}function uo(e,t){oo++,ro[oo]=e.current,e.current=t}var lo={},so=io(lo),co=io(!1),fo=lo;function po(e,t){var n=e.type.contextTypes;if(!n)return lo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ho(e){return null!=e.childContextTypes}function go(){ao(co),ao(so)}function mo(e,t,n){if(so.current!==lo)throw Error(a(168));uo(so,t),uo(co,n)}function vo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,H(t)||"Unknown",i));return o({},n,r)}function yo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||lo,fo=so.current,uo(so,e),uo(co,co.current),!0}function bo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=vo(e,t,fo),r.__reactInternalMemoizedMergedChildContext=e,ao(co),ao(so),uo(so,e)):ao(co),uo(co,n)}var wo=null,ko=null,_o=i.unstable_runWithPriority,Eo=i.unstable_scheduleCallback,So=i.unstable_cancelCallback,xo=i.unstable_shouldYield,Mo=i.unstable_requestPaint,No=i.unstable_now,Co=i.unstable_getCurrentPriorityLevel,Po=i.unstable_ImmediatePriority,Oo=i.unstable_UserBlockingPriority,To=i.unstable_NormalPriority,zo=i.unstable_LowPriority,Lo=i.unstable_IdlePriority,jo={},Ro=void 0!==Mo?Mo:function(){},Ao=null,Io=null,Fo=!1,Do=No(),Uo=1e4>Do?No:function(){return No()-Do};function Bo(){switch(Co()){case Po:return 99;case Oo:return 98;case To:return 97;case zo:return 96;case Lo:return 95;default:throw Error(a(332))}}function $o(e){switch(e){case 99:return Po;case 98:return Oo;case 97:return To;case 96:return zo;case 95:return Lo;default:throw Error(a(332))}}function Zo(e,t){return e=$o(e),_o(e,t)}function Vo(e,t,n){return e=$o(e),Eo(e,t,n)}function qo(){if(null!==Io){var e=Io;Io=null,So(e)}Wo()}function Wo(){if(!Fo&&null!==Ao){Fo=!0;var e=0;try{var t=Ao;Zo(99,(function(){for(;eg?(m=f,f=null):m=f.sibling;var v=p(o,f,u[g],l);if(null===v){null===f&&(f=m);break}e&&f&&null===v.alternate&&t(o,f),a=i(v,a,g),null===c?s=v:c.sibling=v,c=v,f=m}if(g===u.length)return n(o,f),s;if(null===f){for(;gm?(v=g,g=null):v=g.sibling;var b=p(o,g,y.value,s);if(null===b){null===g&&(g=v);break}e&&g&&null===b.alternate&&t(o,g),u=i(b,u,m),null===f?c=b:f.sibling=b,f=b,g=v}if(y.done)return n(o,g),c;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=d(o,y.value,s))&&(u=i(y,u,m),null===f?c=y:f.sibling=y,f=y);return c}for(g=r(o,g);!y.done;m++,y=l.next())null!==(y=h(g,o,m,y.value,s))&&(e&&null!==y.alternate&&g.delete(null===y.key?m:y.key),u=i(y,u,m),null===f?c=y:f.sibling=y,f=y);return e&&g.forEach((function(e){return t(o,e)})),c}return function(e,r,i,l){var s="object"==typeof i&&null!==i&&i.type===S&&null===i.key;s&&(i=i.props.children);var c="object"==typeof i&&null!==i;if(c)switch(i.$$typeof){case _:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(7===s.tag){if(i.type===S){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}}else if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=wi(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===S?((r=Ul(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Dl(i.type,i.key,i.props,null,e.mode,l)).ref=wi(e,r,i),l.return=e,e=l)}return u(e);case E:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Zl(i,e.mode,l)).return=e,e=r}return u(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=$l(i,e.mode,l)).return=e,e=r),u(e);if(bi(i))return g(e,r,i,l);if($(i))return m(e,r,i,l);if(c&&ki(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,H(e.type)||"Component"))}return n(e,r)}}var Ei=_i(!0),Si=_i(!1),xi={},Mi=io(xi),Ni=io(xi),Ci=io(xi);function Pi(e){if(e===xi)throw Error(a(174));return e}function Oi(e,t){switch(uo(Ci,t),uo(Ni,e),uo(Mi,xi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:pe(null,"");break;default:t=pe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ao(Mi),uo(Mi,t)}function Ti(){ao(Mi),ao(Ni),ao(Ci)}function zi(e){Pi(Ci.current);var t=Pi(Mi.current),n=pe(t,e.type);t!==n&&(uo(Ni,e),uo(Mi,n))}function Li(e){Ni.current===e&&(ao(Mi),ao(Ni))}var ji=io(0);function Ri(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ai=null,Ii=null,Fi=!1;function Di(e,t){var n=Al(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Bi(e){if(Fi){var t=Ii;if(t){var n=t;if(!Ui(e,t)){if(!(t=Vr(n.nextSibling))||!Ui(e,t))return e.flags=-1025&e.flags|2,Fi=!1,void(Ai=e);Di(Ai,n)}Ai=e,Ii=Vr(t.firstChild)}else e.flags=-1025&e.flags|2,Fi=!1,Ai=e}}function $i(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ai=e}function Zi(e){if(e!==Ai)return!1;if(!Fi)return $i(e),Fi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ur(t,e.memoizedProps))for(t=Ii;t;)Di(e,t),t=Vr(t.nextSibling);if($i(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ii=Vr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ii=null}}else Ii=Ai?Vr(e.stateNode.nextSibling):null;return!0}function Vi(){Ii=Ai=null,Fi=!1}var qi=[];function Wi(){for(var e=0;ei))throw Error(a(301));i+=1,Ki=Xi=null,t.updateQueue=null,Hi.current=Ta,e=n(r,o)}while(ea)}if(Hi.current=Ca,t=null!==Xi&&null!==Xi.next,Gi=0,Ki=Xi=Yi=null,Ji=!1,t)throw Error(a(300));return e}function oa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ki?Yi.memoizedState=Ki=e:Ki=Ki.next=e,Ki}function ia(){if(null===Xi){var e=Yi.alternate;e=null!==e?e.memoizedState:null}else e=Xi.next;var t=null===Ki?Yi.memoizedState:Ki.next;if(null!==t)Ki=t,Xi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Xi=e).memoizedState,baseState:Xi.baseState,baseQueue:Xi.baseQueue,queue:Xi.queue,next:null},null===Ki?Yi.memoizedState=Ki=e:Ki=Ki.next=e}return Ki}function aa(e,t){return"function"==typeof t?t(e):t}function ua(e){var t=ia(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Xi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var u=o.next;o.next=i.next,i.next=u}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=u=i=null,s=o;do{var c=s.lane;if((Gi&c)===c)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(u=l=f,i=r):l=l.next=f,Yi.lanes|=c,Ru|=c}s=s.next}while(null!==s&&s!==o);null===l?i=r:l.next=u,ar(r,t.memoizedState)||(La=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function la(e){var t=ia(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var u=o=o.next;do{i=e(i,u.action),u=u.next}while(u!==o);ar(i,t.memoizedState)||(La=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function sa(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Gi&e)===e)&&(t._workInProgressVersionPrimary=r,qi.push(t))),e)return n(t._source);throw qi.push(t),Error(a(350))}function ca(e,t,n,r){var o=Nu;if(null===o)throw Error(a(349));var i=t._getVersion,u=i(t._source),l=Hi.current,s=l.useState((function(){return sa(o,t,n)})),c=s[1],f=s[0];s=Ki;var d=e.memoizedState,p=d.refs,h=p.getSnapshot,g=d.source;d=d.subscribe;var m=Yi;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=c;var e=i(t._source);if(!ar(u,e)){e=n(t._source),ar(f,e)||(c(e),e=ul(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0n?98:n,(function(){e(!0)})),Zo(97<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),"select"===n&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Qr]=t,e[Gr]=r,Va(e,t),t.stateNode=e,s=Se(n,r),n){case"dialog":Mr("cancel",e),Mr("close",e),i=r;break;case"iframe":case"object":case"embed":Mr("load",e),i=r;break;case"video":case"audio":for(i=0;i<_r.length;i++)Mr(_r[i],e);i=r;break;case"source":Mr("error",e),i=r;break;case"img":case"image":case"link":Mr("error",e),Mr("load",e),i=r;break;case"details":Mr("toggle",e),i=r;break;case"input":ee(e,r),i=J(e,r),Mr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Mr("invalid",e);break;case"textarea":le(e,r),i=ue(e,r),Mr("invalid",e);break;default:i=r}Ee(n,i);var c=i;for(u in c)if(c.hasOwnProperty(u)){var f=c[u];"style"===u?ke(e,f):"dangerouslySetInnerHTML"===u?null!=(f=f?f.__html:void 0)&&me(e,f):"children"===u?"string"==typeof f?("textarea"!==n||""!==f)&&ve(e,f):"number"==typeof f&&ve(e,""+f):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(l.hasOwnProperty(u)?null!=f&&"onScroll"===u&&Mr("scroll",e):null!=f&&w(e,u,f,s))}switch(n){case"input":Y(e),re(e,r,!1);break;case"textarea":Y(e),ce(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(u=r.value)?ae(e,!!r.multiple,u,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Ar)}Dr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Wa(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Pi(Ci.current),Pi(Mi.current),Zi(t)?(r=t.stateNode,n=t.memoizedProps,r[Qr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qr]=t,t.stateNode=r)}return null;case 13:return ao(ji),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Zi(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&ji.current)?0===zu&&(zu=3):(0!==zu&&3!==zu||(zu=4),null===Nu||0==(134217727&Ru)&&0==(134217727&Au)||dl(Nu,Pu))),(r||n)&&(t.flags|=4),null);case 4:return Ti(),null===e&&Cr(t.stateNode.containerInfo),null;case 10:return ei(t),null;case 19:if(ao(ji),null===(r=t.memoizedState))return null;if(u=0!=(64&t.flags),null===(s=r.rendering))if(u)eu(r,!1);else{if(0!==zu||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(s=Ri(e))){for(t.flags|=64,eu(r,!1),null!==(u=s.updateQueue)&&(t.updateQueue=u,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(u=n).flags&=2,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(s=u.alternate)?(u.childLanes=0,u.lanes=e,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null,u.stateNode=null):(u.childLanes=s.childLanes,u.lanes=s.lanes,u.child=s.child,u.memoizedProps=s.memoizedProps,u.memoizedState=s.memoizedState,u.updateQueue=s.updateQueue,u.type=s.type,e=s.dependencies,u.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return uo(ji,1&ji.current|2),t.child}e=e.sibling}null!==r.tail&&Uo()>Uu&&(t.flags|=64,u=!0,eu(r,!1),t.lanes=33554432)}else{if(!u)if(null!==(e=Ri(s))){if(t.flags|=64,u=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),eu(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate&&!Fi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Uo()-r.renderingStartTime>Uu&&1073741824!==n&&(t.flags|=64,u=!0,eu(r,!1),t.lanes=33554432);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Uo(),n.sibling=null,t=ji.current,uo(ji,u?1&t|2:1&t),n):null;case 23:case 24:return gl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function nu(e){switch(e.tag){case 1:ho(e.type)&&go();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ti(),ao(co),ao(so),Wi(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Li(e),null;case 13:return ao(ji),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ao(ji),null;case 4:return Ti(),null;case 10:return ei(e),null;case 23:case 24:return gl(),null;default:return null}}function ru(e,t){try{var n="",r=t;do{n+=W(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function ou(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Va=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qa=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Pi(Mi.current);var a,u=null;switch(n){case"input":i=J(e,i),r=J(e,r),u=[];break;case"option":i=ie(e,i),r=ie(e,r),u=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),u=[];break;case"textarea":i=ue(e,i),r=ue(e,r),u=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Ar)}for(f in Ee(n,r),n=null,i)if(!r.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var s=i[f];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?u||(u=[]):(u=u||[]).push(f,null));for(f in r){var c=r[f];if(s=null!=i?i[f]:void 0,r.hasOwnProperty(f)&&c!==s&&(null!=c||null!=s))if("style"===f)if(s){for(a in s)!s.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&s[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(u||(u=[]),u.push(f,n)),n=c;else"dangerouslySetInnerHTML"===f?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(u=u||[]).push(f,c)):"children"===f?"string"!=typeof c&&"number"!=typeof c||(u=u||[]).push(f,""+c):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=c&&"onScroll"===f&&Mr("scroll",e),u||s===c||(u=[])):"object"==typeof c&&null!==c&&c.$$typeof===R?c.toString():(u=u||[]).push(f,c))}n&&(u=u||[]).push("style",n);var f=u;(t.updateQueue=f)&&(t.flags|=4)}},Wa=function(e,t,n,r){n!==r&&(t.flags|=4)};var iu="function"==typeof WeakMap?WeakMap:Map;function au(e,t,n){(n=ui(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vu||(Vu=!0,qu=r),ou(0,t)},n}function uu(e,t,n){(n=ui(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return ou(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Wu?Wu=new Set([this]):Wu.add(this),ou(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var lu="function"==typeof WeakSet?WeakSet:Set;function su(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){zl(e,t)}else t.current=null}function cu(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Qo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Zr(t.stateNode.containerInfo))}throw Error(a(163))}function fu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Pl(n,e),Cl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Qo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&fi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}fi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Dr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&yt(n)))))}throw Error(a(163))}function du(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=we("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function pu(e,t){if(ko&&"function"==typeof ko.onCommitFiberUnmount)try{ko.onCommitFiberUnmount(wo,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Pl(t,n);else{r=t;try{o()}catch(e){zl(r,e)}}n=n.next}while(n!==e)}break;case 1:if(su(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){zl(t,e)}break;case 5:su(t);break;case 4:bu(e,t)}}function hu(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function gu(e){return 5===e.tag||3===e.tag||4===e.tag}function mu(e){e:{for(var t=e.return;null!==t;){if(gu(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||gu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?vu(e,n,t):yu(e,n,t)}function vu(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Ar));else if(4!==r&&null!==(e=e.child))for(vu(e,t,n),e=e.sibling;null!==e;)vu(e,t,n),e=e.sibling}function yu(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(yu(e,t,n),e=e.sibling;null!==e;)yu(e,t,n),e=e.sibling}function bu(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var u=e,l=o,s=l;;)if(pu(u,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(u=n,l=o.stateNode,8===u.nodeType?u.parentNode.removeChild(l):u.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(pu(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function wu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Gr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Se(e,o),t=Se(e,r),o=0;oo&&(o=u),n&=~i}if(n=o,10<(n=(120>(n=Uo()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Eu(n/1960))-n)){e.timeoutHandle=Br(Sl.bind(null,e),n);break}Sl(e);break;default:throw Error(a(329))}}return cl(e,Uo()),e.callbackNode===t?fl.bind(null,e):null}function dl(e,t){for(t&=~Iu,t&=~Au,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0 component higher in the tree to provide a loading indicator or placeholder to display.")}5!==zu&&(zu=2),l=ru(l,u),d=a;do{switch(d.tag){case 3:i=l,d.flags|=4096,t&=-t,d.lanes|=t,si(d,au(0,i,t));break e;case 1:i=l;var k=d.type,_=d.stateNode;if(0==(64&d.flags)&&("function"==typeof k.getDerivedStateFromError||null!==_&&"function"==typeof _.componentDidCatch&&(null===Wu||!Wu.has(_)))){d.flags|=4096,t&=-t,d.lanes|=t,si(d,uu(d,i,t));break e}}d=d.return}while(null!==d)}El(n)}catch(e){t=e,Cu===n&&null!==n&&(Cu=n=n.return);continue}break}}function yl(){var e=Su.current;return Su.current=Ca,null===e?Ca:e}function bl(e,t){var n=Mu;Mu|=16;var r=yl();for(Nu===e&&Pu===t||ml(e,t);;)try{wl();break}catch(t){vl(e,t)}if(Jo(),Mu=n,Su.current=r,null!==Cu)throw Error(a(261));return Nu=null,Pu=0,zu}function wl(){for(;null!==Cu;)_l(Cu)}function kl(){for(;null!==Cu&&!xo();)_l(Cu)}function _l(e){var t=$u(e.alternate,e,Ou);e.memoizedProps=e.pendingProps,null===t?El(e):Cu=t,xu.current=null}function El(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=tu(n,t,Ou)))return void(Cu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ou)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1u&&(l=u,u=_,_=l),l=cr(b,_),i=cr(b,u),l&&i&&(1!==k.rangeCount||k.anchorNode!==l.node||k.anchorOffset!==l.offset||k.focusNode!==i.node||k.focusOffset!==i.offset)&&((w=w.createRange()).setStart(l.node,l.offset),k.removeAllRanges(),_>u?(k.addRange(w),k.extend(i.node,i.offset)):(w.setEnd(i.node,i.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;bUo()-Du?ml(e,0):Iu|=n),cl(e,t)}function jl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Bo()?1:2:(0===nl&&(nl=ju),0===(t=It(62914560&~nl))&&(t=4194304))),n=al(),null!==(e=sl(e,t))&&(Dt(e,t,n),cl(e,n))}function Rl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Al(e,t,n,r){return new Rl(e,t,n,r)}function Il(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fl(e,t){var n=e.alternate;return null===n?((n=Al(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Dl(e,t,n,r,o,i){var u=2;if(r=e,"function"==typeof e)Il(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case S:return Ul(n.children,o,i,t);case A:u=8,o|=16;break;case x:u=8,o|=1;break;case M:return(e=Al(12,n,t,8|o)).elementType=M,e.type=M,e.lanes=i,e;case O:return(e=Al(13,n,t,o)).type=O,e.elementType=O,e.lanes=i,e;case T:return(e=Al(19,n,t,o)).elementType=T,e.lanes=i,e;case I:return Bl(n,o,i,t);case F:return(e=Al(24,n,t,o)).elementType=F,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case N:u=10;break e;case C:u=9;break e;case P:u=11;break e;case z:u=14;break e;case L:u=16,r=null;break e;case j:u=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Al(u,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Ul(e,t,n,r){return(e=Al(7,e,r,t)).lanes=n,e}function Bl(e,t,n,r){return(e=Al(23,e,r,t)).elementType=I,e.lanes=n,e}function $l(e,t,n){return(e=Al(6,e,null,t)).lanes=n,e}function Zl(e,t,n){return(t=Al(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Vl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ft(0),this.expirationTimes=Ft(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ft(0),this.mutableSourceEagerHydrationData=null}function ql(e,t,n,r){var o=t.current,i=al(),u=ul(o);e:if(n){t:{if(He(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ho(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var s=n.type;if(ho(s)){n=vo(n,s,l);break e}}n=l}else n=lo;return null===t.context?t.context=n:t.pendingContext=n,(t=ui(i,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),li(o,t),ll(o,u,i),u}function Wl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Hl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2340)},7789:function(e,t,n){!function(e,t,n,r,o,i,a){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=u(t),s=u(n),c=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}(r);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&o({geographies:h,outline:v,borders:y,path:f,projection:d}))}));z.displayName="Geographies",z.propTypes={geography:s.default.oneOfType([s.default.string,s.default.object,s.default.array]),children:s.default.func,parseGeographies:s.default.func,className:s.default.string};var L=["geography","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],j=t.forwardRef((function(e,n){var r=e.geography,o=e.onMouseEnter,i=e.onMouseLeave,a=e.onMouseDown,u=e.onMouseUp,s=e.onFocus,c=e.onBlur,f=e.style,d=void 0===f?{}:f,p=e.className,h=void 0===p?"":p,y=m(e,L),b=v(t.useState(!1),2),w=b[0],k=b[1],_=v(t.useState(!1),2),E=_[0],S=_[1];return l.default.createElement("path",g({ref:n,tabIndex:"0",className:"rsm-geography ".concat(h),d:r.svgPath,onMouseEnter:function(e){S(!0),o&&o(e)},onMouseLeave:function(e){S(!1),w&&k(!1),i&&i(e)},onFocus:function(e){S(!0),s&&s(e)},onBlur:function(e){S(!1),w&&k(!1),c&&c(e)},onMouseDown:function(e){k(!0),a&&a(e)},onMouseUp:function(e){k(!1),u&&u(e)},style:d[w||E?w?"pressed":"hover":"default"]},y))}));j.displayName="Geography",j.propTypes={geography:s.default.object,onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onMouseUp:s.default.func,onFocus:s.default.func,onBlur:s.default.func,style:s.default.object,className:s.default.string};var R=t.memo(j),A=["fill","stroke","step","className"],I=t.forwardRef((function(e,n){var o=e.fill,i=void 0===o?"transparent":o,a=e.stroke,u=void 0===a?"currentcolor":a,s=e.step,c=void 0===s?[10,10]:s,f=e.className,d=void 0===f?"":f,p=m(e,A),h=t.useContext(_).path;return l.default.createElement("path",g({ref:n,d:h(r.geoGraticule().step(c)()),fill:i,stroke:u,className:"rsm-graticule ".concat(d)},p))}));I.displayName="Graticule",I.propTypes={fill:s.default.string,stroke:s.default.string,step:s.default.array,className:s.default.string};var F=t.memo(I),D=["value"],U=t.createContext(),B={x:0,y:0,k:1,transformString:"translate(0 0) scale(1)"},$=function(e){var t=e.value,n=void 0===t?B:t,r=m(e,D);return l.default.createElement(U.Provider,g({value:n},r))};function Z(e){var n=e.center,r=e.filterZoomEvent,o=e.onMoveStart,u=e.onMoveEnd,l=e.onMove,s=e.translateExtent,c=void 0===s?[[-1/0,-1/0],[1/0,1/0]]:s,f=e.scaleExtent,d=void 0===f?[1,8]:f,p=e.zoom,h=void 0===p?1:p,g=t.useContext(_),m=g.width,y=g.height,b=g.projection,w=v(n,2),k=w[0],E=w[1],S=v(t.useState({x:0,y:0,k:1}),2),x=S[0],N=S[1],C=t.useRef({x:0,y:0,k:1}),P=t.useRef(),O=t.useRef(),T=t.useRef(!1),z=v(c,2),L=z[0],j=z[1],R=v(L,2),A=R[0],I=R[1],F=v(j,2),D=F[0],U=F[1],B=v(d,2),$=B[0],Z=B[1];return t.useEffect((function(){var e=a.select(P.current),t=i.zoom().filter((function(e){return r?r(e):!!e&&!e.ctrlKey&&!e.button})).scaleExtent([$,Z]).translateExtent([[A,I],[D,U]]).on("start",(function(e){o&&!T.current&&o({coordinates:b.invert(M(m,y,e.transform)),zoom:e.transform.k},e)})).on("zoom",(function(e){if(!T.current){var t=e.transform,n=e.sourceEvent;N({x:t.x,y:t.y,k:t.k,dragging:n}),l&&l({x:t.x,y:t.y,zoom:t.k,dragging:n},e)}})).on("end",(function(e){if(T.current)T.current=!1;else{var t=v(b.invert(M(m,y,e.transform)),2),n=t[0],r=t[1];C.current={x:n,y:r,k:e.transform.k},u&&u({coordinates:[n,r],zoom:e.transform.k},e)}}));O.current=t,e.call(t)}),[m,y,A,I,D,U,$,Z,b,o,l,u,r]),t.useEffect((function(){if(k!==C.current.x||E!==C.current.y||h!==C.current.k){var e=b([k,E]),t=e[0]*h,n=e[1]*h,r=a.select(P.current);T.current=!0,r.call(O.current.transform,i.zoomIdentity.translate(m/2-t,y/2-n).scale(h)),N({x:m/2-t,y:y/2-n,k:h}),C.current={x:k,y:E,k:h}}}),[k,E,h,m,y,b]),{mapRef:P,position:x,transformString:"translate(".concat(x.x," ").concat(x.y,") scale(").concat(x.k,")")}}$.propTypes={x:s.default.number,y:s.default.number,k:s.default.number,transformString:s.default.string};var V=["center","zoom","minZoom","maxZoom","translateExtent","filterZoomEvent","onMoveStart","onMove","onMoveEnd","className"],q=t.forwardRef((function(e,n){var r=e.center,o=void 0===r?[0,0]:r,i=e.zoom,a=void 0===i?1:i,u=e.minZoom,s=void 0===u?1:u,c=e.maxZoom,f=void 0===c?8:c,d=e.translateExtent,p=e.filterZoomEvent,h=e.onMoveStart,v=e.onMove,y=e.onMoveEnd,b=e.className,w=m(e,V),k=t.useContext(_),E=k.width,S=k.height,x=Z({center:o,filterZoomEvent:p,onMoveStart:h,onMove:v,onMoveEnd:y,scaleExtent:[s,f],translateExtent:d,zoom:a}),M=x.mapRef,N=x.transformString,C=x.position;return l.default.createElement($,{value:{x:C.x,y:C.y,k:C.k,transformString:N}},l.default.createElement("g",{ref:M},l.default.createElement("rect",{width:E,height:S,fill:"transparent"}),l.default.createElement("g",g({ref:n,transform:N,className:"rsm-zoomable-group ".concat(b)},w))))}));q.displayName="ZoomableGroup",q.propTypes={center:s.default.array,zoom:s.default.number,minZoom:s.default.number,maxZoom:s.default.number,translateExtent:s.default.arrayOf(s.default.array),onMoveStart:s.default.func,onMove:s.default.func,onMoveEnd:s.default.func,className:s.default.string};var W=["id","fill","stroke","strokeWidth","className"],H=t.forwardRef((function(e,n){var r=e.id,o=void 0===r?"rsm-sphere":r,i=e.fill,a=void 0===i?"transparent":i,u=e.stroke,s=void 0===u?"currentcolor":u,c=e.strokeWidth,f=void 0===c?.5:c,d=e.className,p=void 0===d?"":d,h=m(e,W),v=t.useContext(_).path,y=t.useMemo((function(){return v({type:"Sphere"})}),[v]);return l.default.createElement(t.Fragment,null,l.default.createElement("defs",null,l.default.createElement("clipPath",{id:o},l.default.createElement("path",{d:y}))),l.default.createElement("path",g({ref:n,d:y,fill:a,stroke:s,strokeWidth:f,style:{pointerEvents:"none"},className:"rsm-sphere ".concat(p)},h)))}));H.displayName="Sphere",H.propTypes={id:s.default.string,fill:s.default.string,stroke:s.default.string,strokeWidth:s.default.number,className:s.default.string};var Q=t.memo(H),G=["coordinates","children","onMouseEnter","onMouseLeave","onMouseDown","onMouseUp","onFocus","onBlur","style","className"],Y=t.forwardRef((function(e,n){var r=e.coordinates,o=e.children,i=e.onMouseEnter,a=e.onMouseLeave,u=e.onMouseDown,s=e.onMouseUp,c=e.onFocus,f=e.onBlur,d=e.style,p=void 0===d?{}:d,h=e.className,y=void 0===h?"":h,b=m(e,G),w=t.useContext(_).projection,k=v(t.useState(!1),2),E=k[0],S=k[1],x=v(t.useState(!1),2),M=x[0],N=x[1],C=v(w(r),2),P=C[0],O=C[1];return l.default.createElement("g",g({ref:n,transform:"translate(".concat(P,", ").concat(O,")"),className:"rsm-marker ".concat(y),onMouseEnter:function(e){N(!0),i&&i(e)},onMouseLeave:function(e){N(!1),E&&S(!1),a&&a(e)},onFocus:function(e){N(!0),c&&c(e)},onBlur:function(e){N(!1),E&&S(!1),f&&f(e)},onMouseDown:function(e){S(!0),u&&u(e)},onMouseUp:function(e){S(!1),s&&s(e)},style:p[E||M?E?"pressed":"hover":"default"]},b),o)}));Y.displayName="Marker",Y.propTypes={coordinates:s.default.array,children:s.default.oneOfType([s.default.node,s.default.arrayOf(s.default.node)]),onMouseEnter:s.default.func,onMouseLeave:s.default.func,onMouseDown:s.default.func,onMouseUp:s.default.func,onFocus:s.default.func,onBlur:s.default.func,style:s.default.object,className:s.default.string};var X=["from","to","coordinates","stroke","strokeWidth","fill","className"],K=t.forwardRef((function(e,n){var r=e.from,o=void 0===r?[0,0]:r,i=e.to,a=void 0===i?[0,0]:i,u=e.coordinates,s=e.stroke,c=void 0===s?"currentcolor":s,f=e.strokeWidth,d=void 0===f?3:f,p=e.fill,h=void 0===p?"transparent":p,v=e.className,y=void 0===v?"":v,b=m(e,X),w=t.useContext(_).path,k={type:"LineString",coordinates:u||[o,a]};return l.default.createElement("path",g({ref:n,d:w(k),className:"rsm-line ".concat(y),stroke:c,strokeWidth:d,fill:h},b))}));K.displayName="Line",K.propTypes={from:s.default.array,to:s.default.array,coordinates:s.default.array,stroke:s.default.string,strokeWidth:s.default.number,fill:s.default.string,className:s.default.string};var J=["subject","children","connectorProps","dx","dy","curve","className"],ee=t.forwardRef((function(e,n){var r=e.subject,o=e.children,i=e.connectorProps,a=e.dx,u=void 0===a?30:a,s=e.dy,c=void 0===s?30:s,f=e.curve,d=void 0===f?0:f,p=e.className,h=void 0===p?"":p,y=m(e,J),b=v((0,t.useContext(_).projection)(r),2),w=b[0],k=b[1],E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,r=Array.isArray(n)?n:[n,n],o=e/2*r[0],i=t/2*r[1];return"M".concat(0,",",0," Q",-e/2-o,",").concat(-t/2+i," ").concat(-e,",").concat(-t)}(u,c,d);return l.default.createElement("g",g({ref:n,transform:"translate(".concat(w+u,", ").concat(k+c,")"),className:"rsm-annotation ".concat(h)},y),l.default.createElement("path",g({d:E,fill:"transparent",stroke:"#000"},i)),o)}));ee.displayName="Annotation",ee.propTypes={subject:s.default.array,children:s.default.oneOfType([s.default.node,s.default.arrayOf(s.default.node)]),dx:s.default.number,dy:s.default.number,curve:s.default.number,connectorProps:s.default.object,className:s.default.string},e.Annotation=ee,e.ComposableMap=x,e.Geographies=z,e.Geography=R,e.Graticule=F,e.Line=K,e.MapContext=_,e.MapProvider=E,e.Marker=Y,e.Sphere=Q,e.ZoomPanContext=U,e.ZoomPanProvider=$,e.ZoomableGroup=q,e.useGeographies=O,e.useMapContext=function(){return t.useContext(_)},e.useZoomPan=Z,e.useZoomPanContext=function(){return t.useContext(U)},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(9901),n(7862),n(4389),n(3273),n(2381),n(6360))},5472:(e,t,n)=>{"use strict";n(2458);var r=n(9901),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,i={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)u.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:c,props:i,_owner:a.current}}t.jsx=s,t.jsxs=s},3714:(e,t,n)=>{"use strict";var r=n(2458),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,u=60110,l=60112;t.Suspense=60113;var s=60115,c=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;o=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),a=f("react.provider"),u=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),s=f("react.memo"),c=f("react.lazy")}var d="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n{"use strict";e.exports=n(3714)},1250:(e,t,n)=>{"use strict";e.exports=n(5472)},2188:(e,t)=>{"use strict";var n,r,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var u=Date,l=u.now();t.unstable_now=function(){return u.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,f=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(f,0))},r=function(e,t){c=setTimeout(e,t)},o=function(){clearTimeout(c)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,m=null,v=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125>>1,o=e[r];if(!(void 0!==o&&0x(a,n))void 0!==l&&0>x(l,a)?(e[r]=l,e[u]=n,r=u):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>x(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function x(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var M=[],N=[],C=1,P=null,O=3,T=!1,z=!1,L=!1;function j(e){for(var t=E(N);null!==t;){if(null===t.callback)S(N);else{if(!(t.startTime<=e))break;S(N),t.sortIndex=t.expirationTime,_(M,t)}t=E(N)}}function R(e){if(L=!1,j(e),!z)if(null!==E(M))z=!0,n(A);else{var t=E(N);null!==t&&r(R,t.startTime-e)}}function A(e,n){z=!1,L&&(L=!1,o()),T=!0;var i=O;try{for(j(n),P=E(M);null!==P&&(!(P.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=P.callback;if("function"==typeof a){P.callback=null,O=P.priorityLevel;var u=a(P.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?P.callback=u:P===E(M)&&S(M),j(n)}else S(M);P=E(M)}if(null!==P)var l=!0;else{var s=E(N);null!==s&&r(R,s.startTime-n),l=!1}return l}finally{P=null,O=i,T=!1}}var I=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){z||T||(z=!0,n(A))},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_getFirstCallbackNode=function(){return E(M)},t.unstable_next=function(e){switch(O){case 1:case 2:case 3:var t=3;break;default:t=O}var n=O;O=t;try{return e()}finally{O=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=I,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=O;O=e;try{return t()}finally{O=n}},t.unstable_scheduleCallback=function(e,i,a){var u=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0u?(e.sortIndex=a,_(N,e),null===E(M)&&e===E(N)&&(L?o():L=!0,r(R,a-u))):(e.sortIndex=l,_(M,e),z||T||(z=!0,n(A))),e},t.unstable_wrapCallback=function(e){var t=O;return function(){var n=O;O=t;try{return e.apply(this,arguments)}finally{O=n}}}},6803:(e,t,n)=>{"use strict";e.exports=n(2188)},3273:(e,t,n)=>{"use strict";function r(e){return e}function o(e){if(null==e)return r;var t,n,o=e.scale[0],i=e.scale[1],a=e.translate[0],u=e.translate[1];return function(e,r){r||(t=n=0);var l=2,s=e.length,c=new Array(s);for(c[0]=(t+=e[0])*o+a,c[1]=(n+=e[1])*i+u;la&&(a=e[0]),e[1]u&&(u=e[1])}function s(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(s);break;case"Point":l(e.coordinates);break;case"MultiPoint":e.coordinates.forEach(l)}}for(t in e.arcs.forEach((function(e){for(var t,o=-1,l=e.length;++oa&&(a=t[0]),t[1]u&&(u=t[1])})),e.objects)s(e.objects[t]);return[r,i,a,u]}function a(e,t){return"string"==typeof t&&(t=e.objects[t]),"GeometryCollection"===t.type?{type:"FeatureCollection",features:t.geometries.map((function(t){return u(e,t)}))}:u(e,t)}function u(e,t){var n=t.id,r=t.bbox,o=null==t.properties?{}:t.properties,i=l(e,t);return null==n&&null==r?{type:"Feature",properties:o,geometry:i}:null==r?{type:"Feature",id:n,properties:o,geometry:i}:{type:"Feature",id:n,bbox:r,properties:o,geometry:i}}function l(e,t){var n=o(e.transform),r=e.arcs;function i(e,t){t.length&&t.pop();for(var o=r[e<0?~e:e],i=0,a=o.length;i1)r=d(0,t,n);else for(o=0,r=new Array(i=e.arcs.length);o1)for(var i,u,l=1,c=a(o[0]);lc&&(u=o[0],o[0]=o[l],o[l]=u,c=i);return o})).filter((function(e){return e.length>0}))}}function g(e,t){for(var n=0,r=e.length;n>>1;e[o]=2))throw new Error("n must be ≥2");var n,r=(l=e.bbox||i(e))[0],o=l[1],a=l[2],u=l[3];t={scale:[a-r?(a-r)/(n-1):1,u-o?(u-o)/(n-1):1],translate:[r,o]}}var l,s,c=v(t),f=e.objects,d={};function p(e){return c(e)}function h(e){var t;switch(e.type){case"GeometryCollection":t={type:"GeometryCollection",geometries:e.geometries.map(h)};break;case"Point":t={type:"Point",coordinates:p(e.coordinates)};break;case"MultiPoint":t={type:"MultiPoint",coordinates:e.coordinates.map(p)};break;default:return e}return null!=e.id&&(t.id=e.id),null!=e.bbox&&(t.bbox=e.bbox),null!=e.properties&&(t.properties=e.properties),t}for(s in f)d[s]=h(f[s]);return{type:"Topology",bbox:l,transform:t,objects:d,arcs:e.arcs.map((function(e){var t,n=0,r=1,o=e.length,i=new Array(o);for(i[0]=c(e[0],0);++ni,feature:()=>a,merge:()=>p,mergeArcs:()=>h,mesh:()=>c,meshArcs:()=>f,neighbors:()=>m,quantize:()=>y,transform:()=>o,untransform:()=>v})},4885:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ComponentApi=void 0;var r=n(2587),o=n(1890),i=n(8308),a=function(){function e(){this.bus=new r.BrowserComponentBus,this.controller=new o.DashbuilderComponentController(this.bus),this.listener=new i.DashbuilderComponentDispatcher(this.bus,this.controller),this.listener.init()}return e.prototype.getComponentController=function(e,t){return e&&this.controller.setOnInit(e),t&&this.controller.setOnDataSet(t),this.controller},e.prototype.restart=function(){this.destroy(),this.listener.init()},e.prototype.destroy=function(){this.listener.stop()},e}();t.ComponentApi=a},2587:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserComponentBus=void 0;var r=n(9233),o=function(){function e(){var e=this;this.messageListener=function(t){e.listener(t.data)}}return e.prototype.start=function(){window.addEventListener("message",this.messageListener,!1)},e.prototype.send=function(e,t){console.debug("[BrowserComponentBus] Sending Message"),console.debug(t),t.properties.set(r.MessageProperty.COMPONENT_ID,e),window.parent.postMessage(t,window.location.href)},e.prototype.setListener=function(e){this.listener=e},e.prototype.destroy=function(){window.removeEventListener("message",this.messageListener,!1)},e}();t.BrowserComponentBus=o},3743:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1890:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DashbuilderComponentController=void 0;var r=n(8395),o=n(9233),i=n(7050),a=function(){function e(e,t){this.bus=e,this.componentId=t,this.callbacks=new Map,this.onInit=function(e){console.debug("Received INIT."),console.debug(e)},this.onDataSet=function(e){console.debug("Received DataSet."),console.debug(e)}}return e.prototype.init=function(e){this.componentId=e.get(i.MessageProperty.COMPONENT_ID),this.onInit(e)},e.prototype.setOnDataSet=function(e){this.onDataSet=e},e.prototype.setOnInit=function(e){this.onInit=e},e.prototype.ready=function(){},e.prototype.requireConfigurationFix=function(e){var t=new Map;t.set(i.MessageProperty.CONFIGURATION_ISSUE,e),this.bus.send(this.componentId,{type:o.MessageType.FIX_CONFIGURATION,properties:t})},e.prototype.configurationOk=function(){this.bus.send(this.componentId,{type:o.MessageType.CONFIGURATION_OK,properties:new Map})},e.prototype.filter=function(e){var t=new Map;t.set(i.MessageProperty.FILTER,e),this.bus.send(this.componentId,{type:o.MessageType.FILTER,properties:t})},e.prototype.callFunction=function(e){var t=this,n=new Map;return n.set(i.MessageProperty.FUNCTION_CALL,e),this.bus.send(this.componentId,{type:o.MessageType.FUNCTION_CALL,properties:n}),new Promise((function(n,r){var o=t.buildFunctionKey(e);t.callbacks.set(o,{onSucess:n,onError:r})}))},e.prototype.receiveFunctionResponse=function(e){var t=this.buildFunctionKey(e.request),n=this.callbacks.get(t);n?e.resultType===r.FunctionResultType.ERROR||e.resultType===r.FunctionResultType.NOT_FOUND?n.onError(e.message):n.onSucess(e.result):console.warn("Callbacks for function call not found. Key: "+t),this.callbacks.delete(t)},e.prototype.setComponentBus=function(e){this.bus=e},e.prototype.buildFunctionKey=function(e){return e.functionName},e}();t.DashbuilderComponentController=a},8308:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DashbuilderComponentDispatcher=void 0;var r=n(9233),o=n(7050),i=function(){function e(e,t){var n=this;this.bus=e,this.componentController=t,this.messageDispatcher=function(e){if(e.type===r.MessageType.INIT&&(n.componentId=e.properties.get(o.MessageProperty.COMPONENT_ID),n.componentController.init(e.properties)),e.type===r.MessageType.DATASET){var t=e.properties.get(o.MessageProperty.DATASET);n.componentController.onDataSet(t,e.properties)}if(e.type===r.MessageType.FUNCTION_RESPONSE){var i=e.properties.get(o.MessageProperty.FUNCTION_RESPONSE);n.componentController.receiveFunctionResponse(i)}}}return e.prototype.isAutoReady=function(){return!0},e.prototype.init=function(){this.bus.setListener(this.messageDispatcher),this.bus.start()},e.prototype.sendMessage=function(e){e.properties.set(o.MessageProperty.COMPONENT_ID,this.componentId),window.parent.postMessage(e,window.location.href)},e.prototype.stop=function(){this.bus.destroy()},e}();t.DashbuilderComponentDispatcher=i},4331:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9208),t),o(n(3743),t)},8200:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2379:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2130:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ColumnType=void 0,(n=t.ColumnType||(t.ColumnType={})).TEXT="TEXT",n.LABEL="LABEL",n.DATE="DATE",n.NUMBER="NUMBER"},2882:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},5878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9083:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(2379),t),o(n(2130),t),o(n(8200),t),o(n(2882),t),o(n(5878),t)},3219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3008:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9028:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.FunctionResultType=void 0,(n=t.FunctionResultType||(t.FunctionResultType={})).SUCCESS="SUCCESS",n.ERROR="ERROR",n.NOT_FOUND="NOT_FOUND"},8395:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(3219),t),o(n(3008),t),o(n(9028),t)},2745:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(9233),t),o(n(9083),t),o(n(8395),t),o(n(4331),t),o(n(4885),t)},1621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7050:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MessageProperty=void 0,(n=t.MessageProperty||(t.MessageProperty={})).COMPONENT_ID="component_id",n.DATASET="dataSet",n.CONFIGURATION_ISSUE="configurationIssue",n.FILTER="filter",n.FUNCTION_CALL="functionCallRequest",n.FUNCTION_RESPONSE="functionResponse",n.MODE="mode"},4316:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MessageType=void 0,(n=t.MessageType||(t.MessageType={})).INIT="INIT",n.DATASET="DATASET",n.FUNCTION_RESPONSE="FUNCTION_RESPONSE",n.FUNCTION_CALL="FUNCTION_CALL",n.FILTER="FILTER",n.FIX_CONFIGURATION="FIX_CONFIGURATION",n.CONFIGURATION_OK="CONFIGURATION_OK",n.READY="READY"},9233:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(4316),t),o(n(7050),t),o(n(1621),t)}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=n(1250),t=n(571),r=n(2745),o=n(9901),i=n(7789);const a=Math.sqrt(50),u=Math.sqrt(10),l=Math.sqrt(2);function s(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),i=r/Math.pow(10,o),c=i>=a?10:i>=u?5:i>=l?2:1;let f,d,p;return o<0?(p=Math.pow(10,-o)/c,f=Math.round(e*p),d=Math.round(t*p),f/pt&&--d,p=-p):(p=Math.pow(10,o)*c,f=Math.round(e/p),d=Math.round(t/p),f*pt&&--d),dt?1:e>=t?0:NaN}function d(e,t){return null==e||null==t?NaN:te?1:t>=e?0:NaN}function p(e){let t,n,r;function o(e,r,o=0,i=e.length){if(o>>1;n(e[t],r)<0?o=t+1:i=t}while(of(e(t),n),r=(t,n)=>e(t)-n):(t=e===f||e===d?e:h,n=e,r=e),{left:o,center:function(e,t,n=0,i=e.length){const a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,o=0,i=e.length){if(o>>1;n(e[t],r)<=0?o=t+1:i=t}while(o>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?F(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?F(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=N.exec(e))?new B(t[1],t[2],t[3],1):(t=C.exec(e))?new B(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=P.exec(e))?F(t[1],t[2],t[3],t[4]):(t=O.exec(e))?F(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=T.exec(e))?H(t[1],t[2]/100,t[3]/100,1):(t=z.exec(e))?H(t[1],t[2]/100,t[3]/100,t[4]):L.hasOwnProperty(e)?I(L[e]):"transparent"===e?new B(NaN,NaN,NaN,0):null}function I(e){return new B(e>>16&255,e>>8&255,255&e,1)}function F(e,t,n,r){return r<=0&&(e=t=n=NaN),new B(e,t,n,r)}function D(e){return e instanceof w||(e=A(e)),e?new B((e=e.rgb()).r,e.g,e.b,e.opacity):new B}function U(e,t,n,r){return 1===arguments.length?D(e):new B(e,t,n,null==r?1:r)}function B(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function $(){return`#${W(this.r)}${W(this.g)}${W(this.b)}`}function Z(){const e=V(this.opacity);return`${1===e?"rgb(":"rgba("}${q(this.r)}, ${q(this.g)}, ${q(this.b)}${1===e?")":`, ${e})`}`}function V(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function q(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function W(e){return((e=q(e))<16?"0":"")+e.toString(16)}function H(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new G(e,t,n,r)}function Q(e){if(e instanceof G)return new G(e.h,e.s,e.l,e.opacity);if(e instanceof w||(e=A(e)),!e)return new G;if(e instanceof G)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,u=i-o,l=(i+o)/2;return u?(a=t===i?(n-r)/u+6*(n0&&l<1?0:a,new G(a,u,l,e.opacity)}function G(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Y(e){return(e=(e||0)%360)<0?e+360:e}function X(e){return Math.max(0,Math.min(1,e||0))}function K(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function J(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}y(w,A,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:j,formatHex:j,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Q(this).formatHsl()},formatRgb:R,toString:R}),y(B,U,b(w,{brighter(e){return e=null==e?_:Math.pow(_,e),new B(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?k:Math.pow(k,e),new B(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new B(q(this.r),q(this.g),q(this.b),V(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$,formatHex:$,formatHex8:function(){return`#${W(this.r)}${W(this.g)}${W(this.b)}${W(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Z,toString:Z})),y(G,(function(e,t,n,r){return 1===arguments.length?Q(e):new G(e,t,n,null==r?1:r)}),b(w,{brighter(e){return e=null==e?_:Math.pow(_,e),new G(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?k:Math.pow(k,e),new G(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new B(K(e>=240?e-240:e+120,o,r),K(e,o,r),K(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new G(Y(this.h),X(this.s),X(this.l),V(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=V(this.opacity);return`${1===e?"hsl(":"hsla("}${Y(this.h)}, ${100*X(this.s)}%, ${100*X(this.l)}%${1===e?")":`, ${e})`}`}}));const ee=e=>()=>e;function te(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):ee(isNaN(e)?t:e)}const ne=function e(t){var n=function(e){return 1==(e=+e)?te:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):ee(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=U(e)).r,(t=U(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=te(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function re(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),u=new Array(o);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,u=ri&&(o=t.slice(i,o),u[a]?u[a]+=o:u[++a]=o),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,l.push({i:a,x:ae(n,r)})),i=se.lastIndex;return it&&(n=e,e=t,t=n),s=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?be:ye,o=i=null,f}function f(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),u,l)))(e(s(t)))}return f.invert=function(n){return s(t((i||(i=r(u,a.map(e),ae)))(n)))},f.domain=function(e){return arguments.length?(a=Array.from(e,he),c()):a.slice()},f.range=function(e){return arguments.length?(u=Array.from(e),c()):u.slice()},f.rangeRound=function(e){return u=Array.from(e),l=pe,c()},f.clamp=function(e){return arguments.length?(s=!!e||me,c()):s!==me},f.interpolate=function(e){return arguments.length?(l=e,c()):l},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,c()}}()(me,me)}function _e(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}var Ee,Se=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function xe(e){if(!(t=Se.exec(e)))throw new Error("invalid format: "+e);var t;return new Me({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Me(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Ne(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Ce(e){return(e=Ne(Math.abs(e)))?e[1]:NaN}function Pe(e,t){var n=Ne(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}xe.prototype=Me.prototype,Me.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const Oe={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>Pe(100*e,t),r:Pe,s:function(e,t){var n=Ne(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Ee=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Ne(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Te(e){return e}var ze,Le,je,Re,Ae=Array.prototype.map,Ie=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Fe(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t=o))return[];const u=i-o+1,l=new Array(u);if(r)if(a<0)for(let e=0;e0;){if((o=c(l,s,n))===r)return i[a]=l,i[u]=s,t(i);if(o>0)l=Math.floor(l/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,s=Math.floor(s*o)/o}r=o}return e},e}function De(){var e=ke();return e.copy=function(){return we(e,De())},_e.apply(e,arguments),Fe(e)}ze=function(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Te:(t=Ae.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,u=t[0],l=0;o>0&&u>0&&(l+u+1>r&&(u=Math.max(1,r-l)),i.push(e.substring(o-=u,o+u)),!((l+=u+1)>r));)u=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",u=void 0===e.numerals?Te:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Ae.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",s=void 0===e.minus?"−":e.minus+"",c=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=xe(e)).fill,n=e.align,f=e.sign,d=e.symbol,p=e.zero,h=e.width,g=e.comma,m=e.precision,v=e.trim,y=e.type;"n"===y?(g=!0,y="g"):Oe[y]||(void 0===m&&(m=12),v=!0,y="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var b="$"===d?o:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",w="$"===d?i:/[%p]/.test(y)?l:"",k=Oe[y],_=/[defgprs%]/.test(y);function E(e){var o,i,l,d=b,E=w;if("c"===y)E=k(e)+E,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?c:k(Math.abs(e),m),v&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),S&&0==+e&&"+"!==f&&(S=!1),d=(S?"("===f?f:s:"-"===f||"("===f?"":f)+d,E=("s"===y?Ie[8+Ee/3]:"")+E+(S&&"("===f?")":""),_)for(o=-1,i=e.length;++o(l=e.charCodeAt(o))||l>57){E=(46===l?a+e.slice(o+1):e.slice(o))+E,e=e.slice(0,o);break}}g&&!p&&(e=r(e,1/0));var x=d.length+e.length+E.length,M=x>1)+d+e+E+M.slice(x);break;default:e=M+d+e+E}return u(e)}return m=void 0===m?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),E.toString=function(){return e+""},E}return{format:f,formatPrefix:function(e,t){var n=f(((e=xe(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Ce(t)/3))),o=Math.pow(10,-r),i=Ie[8+r/3];return function(e){return n(o*e)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),Le=ze.format,je=ze.formatPrefix,function(e){e.FILL="Fill",e.BUBBLE="Bubble"}(Re||(Re={}));const Ue=t=>{const n=t.geoUrl||"world.geo.json";let r=e=>t.fill||"#F2D0A9",o=[];if(t.markers&&t.markers.length>0){const n=t.markers.map((e=>e.value)).reduce(((e,t)=>e<=t?e:t)),a=t.markers.map((e=>e.value)).reduce(((e,t)=>e>=t?e:t));if(Re.FILL===t.markType){const e=De().domain([n,a]).range([t.fillBegin||"#ffbaba",t.fillEnd||"#a70000"]);r=n=>{var r;const o=null===(r=t.markers)||void 0===r?void 0:r.find((e=>e.name===n.properties.name||e.name===n.properties.id||t.geoKey&&e.name==n.properties[t.geoKey]));return o?e(o.value):t.fill||"lightgray"}}else{const r=De().domain([n,a]).range([t.minBubbleSize||1,t.maxBubbleSize||30]);o=t.markers.map(((n,o)=>(0,e.jsx)(i.Marker,Object.assign({coordinates:[n.long||0,n.lat||0]},{children:(0,e.jsx)("circle",{r:r(n.value),fill:t.bubbleFill||"#E26D5C",stroke:t.bubbleStroke||"lightgray",strokeWidth:t.bubbleStrokeWidth||.5,opacity:t.bubbleOpacity||.8})}),o)))}}const a=(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(i.Geographies,Object.assign({geography:n},{children:({geographies:n})=>n.map((n=>(0,e.jsx)(i.Geography,{geography:n,strokeWidth:t.strokeWidth||1,stroke:t.stroke||"darkgray",style:{default:{fill:r(n),outline:"none",pointerEvents:t.hover?"all":"none"},hover:{fill:t.hover,strokeWidth:t.hoverStrokeWidth,stroke:t.hoverStrokeFill}}},n.rsmKey)))})),o]});return(0,e.jsx)(i.ComposableMap,Object.assign({projection:t.projection||"geoEqualEarth",style:{backgroundColor:t.background||"lightblue"}},{children:t.enableZoom?(0,e.jsx)(i.ZoomableGroup,Object.assign({center:[t.zoomCenterLong||0,t.zoomCenterLat||0],zoom:t.zoom||1,maxZoom:t.maxZoom||8,minZoom:t.minZoom||1},{children:a})):(0,e.jsx)(e.Fragment,{children:a})}))},Be=new r.ComponentApi;t.render((0,e.jsx)((t=>{const[n,r]=(0,o.useState)({}),i=(0,o.useCallback)(((e,n)=>{const o=e.columns,i=n.get("type");let a;i&&(a="bubble"===i.toLowerCase()?Re.BUBBLE:Re.FILL),t.controller.configurationOk(),2==o.length&&"LABEL"===o[0].type&&"NUMBER"===o[1].type?r((t=>Object.assign(Object.assign({},t),{markers:e.data.map((e=>({name:e[0],value:+e[1]}))),markType:a||Re.FILL}))):3===o.length&&"NUMBER"===o[0].type&&"NUMBER"===o[1].type&&"NUMBER"===o[2].type?r((t=>Object.assign(Object.assign({},t),{markers:e.data.map((e=>({lat:+e[0],long:+e[1],value:+e[2]}))),markType:a||Re.FILL}))):t.controller.requireConfigurationFix("You need to provide at least 2 columns containing the geo name or id (LABEL) and a value (NUMBER) or 3-4 columns containing latitude (NUMBER), longitude(NUMBER), the value(NUMBER) and an optional name (LABEL)")}),[t.controller]),a=(0,o.useCallback)((e=>{r((t=>Object.assign(Object.assign({},t),{projection:e.get("projection"),background:e.get("background"),enableZoom:"true"===e.get("enableZoom"),zoom:+(e.get("zoom")||1),maxZoom:+e.get("maxZoom"),minZoom:+e.get("minZoom"),zoomCenterLong:+(e.get("zoomCenterLong")||0),zoomCenterLat:+(e.get("zoomCenterLat")||0),fill:e.get("fill"),stroke:e.get("stroke"),strokeWidth:+e.get("strokeWidth"),hover:e.get("hover"),hoverStrokeWidth:+e.get("hoverStrokeWidth"),hoverStrokeFill:e.get("hoverStrokeFill"),geoUrl:e.get("geoUrl"),bubbleFill:e.get("bubbleFill"),bubbleStroke:e.get("bubbleStroke"),bubbleStrokeWidth:+e.get("bubbleStrokeWidth"),bubbleOpacity:+e.get("bubbleOpacity"),maxBubbleSize:+e.get("maxBubbleSize"),minBubbleSize:+e.get("minBubbleSize"),fillBegin:e.get("fillBegin"),fillEnd:e.get("fillEnd"),geoKey:e.get("geoKey")})))}),[]);return(0,o.useEffect)((()=>{t.controller.setOnInit(a),t.controller.setOnDataSet(i)}),[t.controller,i,a]),(0,e.jsx)(Ue,Object.assign({},n))}),{controller:Be.getComponentController()}),document.getElementById("app"))})()})();