UNPKG

eurostat-map

Version:

Reusable library to quickly create and customise web maps showing Eurostat data directly retrieved from Eurostat database.

2 lines 248 kB
/*! /*! eurostat-map v4.1.16 | 2025 Eurostat | EUPL License. See https://github.com/eurostat/eurostat-map/blob/master/LICENSE * / */ "use strict";(self.webpackChunkeurostatmap=self.webpackChunkeurostatmap||[]).push([[732],{15:(t,n,e)=>{var i=e(4131),r=e(3803),o=e(3279);function a(t,n){this._context=t,this._alpha=n}a.prototype={areaStart:r.A,areaEnd:r.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,i=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:(0,o.z)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new a(t,n):new i.L(t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},24:(t,n,e)=>{function i(t){return function(){return t}}e.d(n,{A:()=>i})},29:(t,n,e)=>{e.d(n,{M4:()=>y,O1:()=>v,tB:()=>p});var i,r,o=0,a=0,s=0,u=0,c=0,l=0,h="object"==typeof performance&&performance.now?performance:Date,f="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function p(){return c||(f(d),c=h.now()+l)}function d(){c=0}function y(){this._call=this._time=this._next=null}function v(t,n,e){var i=new y;return i.restart(t,n,e),i}function _(){c=(u=h.now())+l,o=a=0;try{!function(){p(),++o;for(var t,n=i;n;)(t=c-n._time)>=0&&n._call.call(void 0,t),n=n._next;--o}()}finally{o=0,function(){var t,n,e=i,o=1/0;for(;e;)e._call?(o>e._time&&(o=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:i=n);r=t,A(o)}(),c=0}}function g(){var t=h.now(),n=t-u;n>1e3&&(l-=n,u=t)}function A(t){o||(a&&(a=clearTimeout(a)),t-c>24?(t<1/0&&(a=setTimeout(_,t-h.now()-l)),s&&(s=clearInterval(s))):(s||(u=h.now(),s=setInterval(g,1e3)),o=1,f(_)))}y.prototype=v.prototype={constructor:y,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?p():+e)+(null==n?0:+n),this._next||r===this||(r?r._next=this:i=this,r=this),this._call=t,this._time=e,A()},stop:function(){this._call&&(this._call=null,this._time=1/0,A())}}},106:(t,n,e)=>{e.d(n,{A:()=>a});var i=e(4119),r=e(9065);const o=Symbol("implicit");function a(){var t=new i.B,n=[],e=[],s=o;function u(i){let r=t.get(i);if(void 0===r){if(s!==o)return s;t.set(i,r=n.push(i)-1)}return e[r%e.length]}return u.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new i.B;for(const i of e)t.has(i)||t.set(i,n.push(i)-1);return u},u.range=function(t){return arguments.length?(e=Array.from(t),u):e.slice()},u.unknown=function(t){return arguments.length?(s=t,u):s},u.copy=function(){return a(n,e).unknown(s)},r.C.apply(u,arguments),u}},123:(t,n,e)=>{e.d(n,{A:()=>a,J:()=>s});var i=e(3363);function r(t,n){var e,r;return function(){var o=(0,i.hZ)(this,t),a=o.tween;if(a!==e)for(var s=0,u=(r=e=a).length;s<u;++s)if(r[s].name===n){(r=r.slice()).splice(s,1);break}o.tween=r}}function o(t,n,e){var r,o;if("function"!=typeof e)throw new Error;return function(){var a=(0,i.hZ)(this,t),s=a.tween;if(s!==r){o=(r=s).slice();for(var u={name:n,value:e},c=0,l=o.length;c<l;++c)if(o[c].name===n){o[c]=u;break}c===l&&o.push(u)}a.tween=o}}function a(t,n){var e=this._id;if(t+="",arguments.length<2){for(var a,s=(0,i.Jt)(this.node(),e).tween,u=0,c=s.length;u<c;++u)if((a=s[u]).name===t)return a.value;return null}return this.each((null==n?r:o)(e,t,n))}function s(t,n,e){var r=t._id;return t.each((function(){var t=(0,i.hZ)(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)})),function(t){return(0,i.Jt)(t,r).value[n]}}},128:(t,n,e)=>{function i(t,n){n||(n=[]);var e,i=t?Math.min(n.length,t.length):0,r=n.slice();return function(o){for(e=0;e<i;++e)r[e]=t[e]*(1-o)+n[e]*o;return r}}function r(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}e.d(n,{A:()=>i,p:()=>r})},137:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(123);function r(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}((0,i.J)(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))}},165:(t,n,e)=>{function i(){let t=0;for(const n of this)++t;return t}e.d(n,{A:()=>i})},183:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(1882);function r(t){return"string"==typeof t?new i.LN([[document.querySelector(t)]],[document.documentElement]):new i.LN([[t]],i.zr)}},190:(t,n,e)=>{e(9260),e(6534)},202:(t,n,e)=>{e.d(n,{A:()=>s});var i=e(6747);function r(t,n,e){var r=(0,i.A)(t),o=r.CustomEvent;"function"==typeof o?o=new o(n,e):(o=r.document.createEvent("Event"),e?(o.initEvent(n,e.bubbles,e.cancelable),o.detail=e.detail):o.initEvent(n,!1,!1)),t.dispatchEvent(o)}function o(t,n){return function(){return r(this,t,n)}}function a(t,n){return function(){return r(this,t,n.apply(this,arguments))}}function s(t,n){return this.each(("function"==typeof n?a:o)(t,n))}},350:(t,n,e)=>{e.d(n,{A:()=>y});var i,r,o,a,s,u=e(1047),c=e(2080),l=e(1250),h=new u.ph,f={point:l.A,lineStart:function(){f.point=p},lineEnd:function(){i&&d(r,o),f.point=l.A},polygonStart:function(){i=!0},polygonEnd:function(){i=null},result:function(){var t=+h;return h=new u.ph,t}};function p(t,n){f.point=d,r=a=t,o=s=n}function d(t,n){a-=t,s-=n,h.add((0,c.RZ)(a*a+s*s)),a=t,s=n}const y=f},367:(t,n,e)=>{var i=0;function r(){this._="@"+(++i).toString(36)}r.prototype=function(){return new r}.prototype={constructor:r,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}}},414:(t,n,e)=>{function i(t){return+t}e.d(n,{A:()=>i})},416:(t,n,e)=>{e.d(n,{A:()=>c});var i=Math.PI,r=2*i,o=1e-6,a=r-o;function s(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function u(){return new s}s.prototype=u.prototype={constructor:s,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(t,n,e,i,r,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +i+","+(this._x1=+r)+","+(this._y1=+o)},arcTo:function(t,n,e,r,a){t=+t,n=+n,e=+e,r=+r,a=+a;var s=this._x1,u=this._y1,c=e-t,l=r-n,h=s-t,f=u-n,p=h*h+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(p>o)if(Math.abs(f*c-l*h)>o&&a){var d=e-s,y=r-u,v=c*c+l*l,_=d*d+y*y,g=Math.sqrt(v),A=Math.sqrt(p),m=a*Math.tan((i-Math.acos((v+p-_)/(2*g*A)))/2),x=m/A,w=m/g;Math.abs(x-1)>o&&(this._+="L"+(t+x*h)+","+(n+x*f)),this._+="A"+a+","+a+",0,0,"+ +(f*d>h*y)+","+(this._x1=t+w*c)+","+(this._y1=n+w*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,s,u,c){t=+t,n=+n,c=!!c;var l=(e=+e)*Math.cos(s),h=e*Math.sin(s),f=t+l,p=n+h,d=1^c,y=c?s-u:u-s;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+f+","+p:(Math.abs(this._x1-f)>o||Math.abs(this._y1-p)>o)&&(this._+="L"+f+","+p),e&&(y<0&&(y=y%r+r),y>a?this._+="A"+e+","+e+",0,1,"+d+","+(t-l)+","+(n-h)+"A"+e+","+e+",0,1,"+d+","+(this._x1=f)+","+(this._y1=p):y>o&&(this._+="A"+e+","+e+",0,"+ +(y>=i)+","+d+","+(this._x1=t+e*Math.cos(u))+","+(this._y1=n+e*Math.sin(u))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};const c=u},431:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(3834);function r(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),i.A.hasOwnProperty(n)?{space:i.A[n],local:t}:t}},440:(t,n,e)=>{e.d(n,{A:()=>i});const i=t=>()=>t},461:(t,n,e)=>{function i(t){return function(){delete this[t]}}function r(t,n){return function(){this[t]=n}}function o(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function a(t,n){return arguments.length>1?this.each((null==n?i:"function"==typeof n?o:r)(t,n)):this.node()[t]}e.d(n,{A:()=>a})},519:(t,n,e)=>{function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.d(n,{A:()=>i})},540:t=>{t.exports=function(t){var n=document.createElement("style");return t.setAttributes(n,t.attributes),t.insert(n,t.options),n}},556:(t,n,e)=>{function i(){return[]}function r(t){return null==t?i:function(){return this.querySelectorAll(t)}}e.d(n,{A:()=>r})},563:(t,n,e)=>{function i(t){t.stopImmediatePropagation()}function r(t){t.preventDefault(),t.stopImmediatePropagation()}e.d(n,{A:()=>r,G:()=>i})},574:(t,n,e)=>{function i(){}function r(t){return null==t?i:function(){return this.querySelector(t)}}e.d(n,{A:()=>r})},622:(t,n,e)=>{e(7962),e(2201)},658:(t,n,e)=>{e.d(n,{A:()=>o});var i=e(5258),r=e(1636);function o(t,n){return"string"==typeof n&&(n=t.objects[n]),"GeometryCollection"===n.type?{type:"FeatureCollection",features:n.geometries.map((function(n){return a(t,n)}))}:a(t,n)}function a(t,n){var e=n.id,o=n.bbox,a=null==n.properties?{}:n.properties,s=function(t,n){var e=(0,r.A)(t.transform),o=t.arcs;function a(t,n){n.length&&n.pop();for(var r=o[t<0?~t:t],a=0,s=r.length;a<s;++a)n.push(e(r[a],a));t<0&&(0,i.A)(n,s)}function s(t){return e(t)}function u(t){for(var n=[],e=0,i=t.length;e<i;++e)a(t[e],n);return n.length<2&&n.push(n[0]),n}function c(t){for(var n=u(t);n.length<4;)n.push(n[0]);return n}function l(t){return t.map(c)}function h(t){var n,e=t.type;switch(e){case"GeometryCollection":return{type:e,geometries:t.geometries.map(h)};case"Point":n=s(t.coordinates);break;case"MultiPoint":n=t.coordinates.map(s);break;case"LineString":n=u(t.arcs);break;case"MultiLineString":n=t.arcs.map(u);break;case"Polygon":n=l(t.arcs);break;case"MultiPolygon":n=t.arcs.map(l);break;default:return null}return{type:e,coordinates:n}}return h(n)}(t,n);return null==e&&null==o?{type:"Feature",properties:a,geometry:s}:null==o?{type:"Feature",id:e,properties:a,geometry:s}:{type:"Feature",id:e,bbox:o,properties:a,geometry:s}}},697:(t,n,e)=>{function i(){this.innerHTML=""}function r(t){return function(){this.innerHTML=t}}function o(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function a(t){return arguments.length?this.each(null==t?i:("function"==typeof t?o:r)(t)):this.node().innerHTML}e.d(n,{A:()=>a})},733:(t,n,e)=>{var i=e(3803),r=e(9177);function o(t){this._context=t}o.prototype={areaStart:i.A,areaEnd:i.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:(0,r.zx)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},747:(t,n,e)=>{function i(){return[]}function r(t){return null==t?i:function(){return this.querySelectorAll(t)}}e.d(n,{A:()=>r})},807:(t,n,e)=>{function i(){return!this.node()}e.d(n,{A:()=>i})},832:(t,n,e)=>{function i(){this.innerHTML=""}function r(t){return function(){this.innerHTML=t}}function o(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function a(t){return arguments.length?this.each(null==t?i:("function"==typeof t?o:r)(t)):this.node().innerHTML}e.d(n,{A:()=>a})},871:(t,n,e)=>{function i(t,n,e){t.prototype=n.prototype=e,e.constructor=t}function r(t,n){var e=Object.create(t.prototype);for(var i in n)e[i]=n[i];return e}e.d(n,{A:()=>i,X:()=>r})},902:(t,n,e)=>{e.d(n,{Ay:()=>g});var i=e(8946),r=e(4125),o=e(4165),a=e(9185),s=e(8233),u=e(8361),c=e(6995),l=e(3317),h=e(1838),f=e(5542),p=e(6657),d=e(7233),y=e(8027),v=e(7002),_=e(2067);a.A,s.A,u.A,h.A,p.A,d.A,v.A,a.A,l.A,_.A,y.A,o.A,f.A,c.A;function g(t,n){let e=null,o=(0,r.i)(s);function s(){let i;if(e||(e=i=o()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),i)return e=null,i+""||null}return t="function"==typeof t?t:(0,i.A)(t||a.A),n="function"==typeof n?n:(0,i.A)(void 0===n?64:+n),s.type=function(n){return arguments.length?(t="function"==typeof n?n:(0,i.A)(n),s):t},s.size=function(t){return arguments.length?(n="function"==typeof t?t:(0,i.A)(+t),s):n},s.context=function(t){return arguments.length?(e=null==t?null:t,s):e},s}},922:(t,n,e)=>{var i=e(3803);function r(t){this._context=t}r.prototype={areaStart:i.A,areaEnd:i.A,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}}},938:(t,n,e)=>{function i(t){for(var n=t.length/6|0,e=new Array(n),i=0;i<n;)e[i]="#"+t.slice(6*i,6*++i);return e}e.d(n,{A:()=>i})},965:(t,n,e)=>{function i(){this.nextSibling&&this.parentNode.appendChild(this)}function r(){return this.each(i)}e.d(n,{A:()=>r})},975:(t,n,e)=>{function i(t,n,e,i,r){this.node=t,this.x0=n,this.y0=e,this.x1=i,this.y1=r}e.d(n,{A:()=>i})},1004:(t,n,e)=>{e.d(n,{A:()=>o});var i=e(2016),r=e(9065);function o(){var t,n=[.5],e=[0,1],a=1;function s(r){return null!=r&&r<=r?e[(0,i.Ay)(n,r,0,a)]:t}return s.domain=function(t){return arguments.length?(n=Array.from(t),a=Math.min(n.length,e.length-1),s):n.slice()},s.range=function(t){return arguments.length?(e=Array.from(t),a=Math.min(n.length,e.length-1),s):e.slice()},s.invertExtent=function(t){var i=e.indexOf(t);return[n[i-1],n[i]]},s.unknown=function(n){return arguments.length?(t=n,s):t},s.copy=function(){return o().domain(n).range(e).unknown(t)},r.C.apply(s,arguments)}},1007:(t,n,e)=>{e.d(n,{FL:()=>c,G0:()=>u,Hv:()=>s,sp:()=>a});var i=e(9418),r=e(1093);function o(t,n,e){var o=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=o&&t.clipExtent(null),(0,i.A)(e,t.stream(r.A)),n(r.A.result()),null!=o&&t.clipExtent(o),t}function a(t,n,e){return o(t,(function(e){var i=n[1][0]-n[0][0],r=n[1][1]-n[0][1],o=Math.min(i/(e[1][0]-e[0][0]),r/(e[1][1]-e[0][1])),a=+n[0][0]+(i-o*(e[1][0]+e[0][0]))/2,s=+n[0][1]+(r-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([a,s])}),e)}function s(t,n,e){return a(t,[[0,0],n],e)}function u(t,n,e){return o(t,(function(e){var i=+n,r=i/(e[1][0]-e[0][0]),o=(i-r*(e[1][0]+e[0][0]))/2,a=-r*e[0][1];t.scale(150*r).translate([o,a])}),e)}function c(t,n,e){return o(t,(function(e){var i=+n,r=i/(e[1][1]-e[0][1]),o=-r*e[0][0],a=(i-r*(e[1][1]+e[0][1]))/2;t.scale(150*r).translate([o,a])}),e)}},1047:(t,n,e)=>{e.d(n,{ph:()=>i});class i{constructor(){this._partials=new Float64Array(32),this._n=0}add(t){const n=this._partials;let e=0;for(let i=0;i<this._n&&i<32;i++){const r=n[i],o=t+r,a=Math.abs(t)<Math.abs(r)?t-(o-r):r-(o-t);a&&(n[e++]=a),t=o}return n[e]=t,this._n=e+1,this}valueOf(){const t=this._partials;let n,e,i,r=this._n,o=0;if(r>0){for(o=t[--r];r>0&&(n=o,e=t[--r],o=n+e,i=e-(o-n),!i););r>0&&(i<0&&t[r-1]<0||i>0&&t[r-1]>0)&&(e=2*i,n=o+e,e==n-o&&(o=n))}return o}}},1052:(t,n,e)=>{e.d(n,{Ay:()=>v,C:()=>d,D_:()=>l,Gu:()=>y});var i=e(2016),r=e(8503),o=e(8981),a=e(9770),s=e(9279),u=e(414),c=[0,1];function l(t){return t}function h(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:(0,s.A)(isNaN(n)?NaN:.5)}function f(t,n,e){var i=t[0],r=t[1],o=n[0],a=n[1];return r<i?(i=h(r,i),o=e(a,o)):(i=h(i,r),o=e(o,a)),function(t){return o(i(t))}}function p(t,n,e){var r=Math.min(t.length,n.length)-1,o=new Array(r),a=new Array(r),s=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++s<r;)o[s]=h(t[s],t[s+1]),a[s]=e(n[s],n[s+1]);return function(n){var e=(0,i.Ay)(t,n,1,r)-1;return a[e](o[e](n))}}function d(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function y(){var t,n,e,i,s,h,d=c,y=c,v=r.A,_=l;function g(){var t,n,e,r=Math.min(d.length,y.length);return _!==l&&(t=d[0],n=d[r-1],t>n&&(e=t,t=n,n=e),_=function(e){return Math.max(t,Math.min(n,e))}),i=r>2?p:f,s=h=null,A}function A(n){return null==n||isNaN(n=+n)?e:(s||(s=i(d.map(t),y,v)))(t(_(n)))}return A.invert=function(e){return _(n((h||(h=i(y,d.map(t),o.A)))(e)))},A.domain=function(t){return arguments.length?(d=Array.from(t,u.A),g()):d.slice()},A.range=function(t){return arguments.length?(y=Array.from(t),g()):y.slice()},A.rangeRound=function(t){return y=Array.from(t),v=a.A,g()},A.clamp=function(t){return arguments.length?(_=!!t||l,g()):_!==l},A.interpolate=function(t){return arguments.length?(v=t,g()):v},A.unknown=function(t){return arguments.length?(e=t,A):e},function(e,i){return t=e,n=i,g()}}function v(){return y()(l,l)}},1086:(t,n,e)=>{function i(t){return t[0]}function r(t){return arguments.length?(this._x=t,this):this._x}e.d(n,{A:()=>r,U:()=>i})},1089:(t,n,e)=>{e.d(n,{A:()=>u});var i={value:()=>{}};function r(){for(var t,n=0,e=arguments.length,i={};n<e;++n){if(!(t=arguments[n]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new o(i)}function o(t){this._=t}function a(t,n){for(var e,i=0,r=t.length;i<r;++i)if((e=t[i]).name===n)return e.value}function s(t,n,e){for(var r=0,o=t.length;r<o;++r)if(t[r].name===n){t[r]=i,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}o.prototype=r.prototype={constructor:o,on:function(t,n){var e,i,r=this._,o=(i=r,(t+"").trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!i.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))),u=-1,c=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++u<c;)if(e=(t=o[u]).type)r[e]=s(r[e],t.name,n);else if(null==n)for(e in r)r[e]=s(r[e],t.name,null);return this}for(;++u<c;)if((e=(t=o[u]).type)&&(e=a(r[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new o(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,i,r=new Array(e),o=0;o<e;++o)r[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(i=this._[t]).length;o<e;++o)i[o].value.apply(n,r)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,o=i.length;r<o;++r)i[r].value.apply(n,e)}};const u=r},1093:(t,n,e)=>{e.d(n,{A:()=>u});var i=e(1250),r=1/0,o=r,a=-r,s=a;const u={point:function(t,n){t<r&&(r=t);t>a&&(a=t);n<o&&(o=n);n>s&&(s=n)},lineStart:i.A,lineEnd:i.A,polygonStart:i.A,polygonEnd:i.A,result:function(){var t=[[r,o],[a,s]];return a=s=-(o=r=1/0),t}}},1098:(t,n,e)=>{e.d(n,{$t:()=>r,F2:()=>l,F8:()=>y,FA:()=>u,FP:()=>p,HQ:()=>g,Ni:()=>i,RZ:()=>_,TW:()=>a,_S:()=>v,gn:()=>d,gz:()=>s,pi:()=>o,qR:()=>A,rY:()=>f,tn:()=>h,uj:()=>c});var i=1e-6,r=1e-12,o=Math.PI,a=o/2,s=o/4,u=2*o,c=180/o,l=o/180,h=Math.abs,f=Math.atan,p=Math.atan2,d=Math.cos,y=(Math.ceil,Math.exp,Math.floor,Math.hypot,Math.log,Math.pow,Math.sin),v=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt;Math.tan;function g(t){return t>1?0:t<-1?o:Math.acos(t)}function A(t){return t>1?a:t<-1?-a:Math.asin(t)}},1113:t=>{t.exports=function(t,n){if(n.styleSheet)n.styleSheet.cssText=t;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(t))}}},1118:(t,n,e)=>{function i(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}e.d(n,{A:()=>i})},1143:(t,n,e)=>{var i=e(4370),r=e(1792),o=e(4500),a=e(9810),s=e(5425),u=e(3038),c=e(7919);i.A,r.A,o.A,s.A,a.A,u.A,c.A},1180:(t,n,e)=>{function i(t,n){return null==t||null==n?NaN:n<t?-1:n>t?1:n>=t?0:NaN}e.d(n,{A:()=>i})},1197:(t,n,e)=>{e.d(n,{Ay:()=>s,Ik:()=>c});var i=e(6957),r=e(6160),o=e(9804),a=e(4709);const s=function t(n){var e=(0,a.uN)(n);function r(t,n){var r=e((t=(0,i.Qh)(t)).r,(n=(0,i.Qh)(n)).r),o=e(t.g,n.g),s=e(t.b,n.b),u=(0,a.Ay)(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=o(n),t.b=s(n),t.opacity=u(n),t+""}}return r.gamma=t,r}(1);function u(t){return function(n){var e,r,o=n.length,a=new Array(o),s=new Array(o),u=new Array(o);for(e=0;e<o;++e)r=(0,i.Qh)(n[e]),a[e]=r.r||0,s[e]=r.g||0,u[e]=r.b||0;return a=t(a),s=t(s),u=t(u),r.opacity=1,function(t){return r.r=a(t),r.g=s(t),r.b=u(t),r+""}}}var c=u(r.A);u(o.A)},1226:(t,n,e)=>{e.d(n,{P:()=>o,i:()=>a});var i,r=e(1852);function o(t){const n=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return n.isIdentity?r.D:(0,r.A)(n.a,n.b,n.c,n.d,n.e,n.f)}function a(t){return null==t?r.D:(i||(i=document.createElementNS("http://www.w3.org/2000/svg","g")),i.setAttribute("transform",t),(t=i.transform.baseVal.consolidate())?(t=t.matrix,(0,r.A)(t.a,t.b,t.c,t.d,t.e,t.f)):r.D)}},1250:(t,n,e)=>{function i(){}e.d(n,{A:()=>i})},1322:(t,n,e)=>{function*i(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var i,r=t[n],o=0,a=r.length;o<a;++o)(i=r[o])&&(yield i)}e.d(n,{A:()=>i})},1367:(t,n,e)=>{e.d(n,{A:()=>s});var i=e(1438),r=e(5245),o=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function a(t,n){var e,i=(0,r.jk)(18,36*(0,r.tn)(n)/r.pi),a=(0,r.RI)(i),s=i-a,u=(e=o[a])[0],c=e[1],l=(e=o[++a])[0],h=e[1],f=(e=o[(0,r.jk)(19,++a)])[0],p=e[1];return[t*(l+s*(f-u)/2+s*s*(f-2*l+u)/2),(n>0?r.TW:-r.TW)*(h+s*(p-c)/2+s*s*(p-2*h+c)/2)]}function s(){return(0,i.A)(a).scale(152.63)}o.forEach((function(t){t[1]*=1.0144})),a.invert=function(t,n){var e=n/r.TW,i=90*e,a=(0,r.jk)(18,(0,r.tn)(i/5)),s=(0,r.T9)(0,(0,r.RI)(a));do{var u=o[s][1],c=o[s+1][1],l=o[(0,r.jk)(19,s+2)][1],h=l-u,f=l-2*c+u,p=2*((0,r.tn)(e)-c)/h,d=f/h,y=p*(1-d*p*(1-2*d*p));if(y>=0||1===s){i=(n>=0?5:-5)*(y+a);var v,_=50;do{y=(a=(0,r.jk)(18,(0,r.tn)(i)/5))-(s=(0,r.RI)(a)),u=o[s][1],c=o[s+1][1],l=o[(0,r.jk)(19,s+2)][1],i-=(v=(n>=0?r.TW:-r.TW)*(c+y*(l-u)/2+y*y*(l-2*c+u)/2)-n)*r.uj}while((0,r.tn)(v)>r.$t&&--_>0);break}}while(--s>=0);var g=o[s][0],A=o[s+1][0],m=o[(0,r.jk)(19,s+2)][0];return[t/(A+y*(m-g)/2+y*y*(m-2*A+g)/2),i*r.F2]}},1371:(t,n,e)=>{function i(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}function r(t,n){return fetch(t,n).then(i)}e.d(n,{A:()=>r})},1374:(t,n,e)=>{e.d(n,{A:()=>c});var i=e(6946),r=e(1631),o=e(7590),a=e(8701),s=e(9460),u=e(1734);function c(t,n,e,c){var l,h=(0,i.sG)(t,n,e);switch((c=(0,r.A)(null==c?",f":c)).type){case"s":var f=Math.max(Math.abs(t),Math.abs(n));return null!=c.precision||isNaN(l=(0,o.A)(h,f))||(c.precision=l),(0,a.s)(c,f);case"":case"e":case"g":case"p":case"r":null!=c.precision||isNaN(l=(0,s.A)(h,Math.max(Math.abs(t),Math.abs(n))))||(c.precision=l-("e"===c.type));break;case"f":case"%":null!=c.precision||isNaN(l=(0,u.A)(h))||(c.precision=l-2*("%"===c.type))}return(0,a.GP)(c)}},1375:(t,n,e)=>{e.d(n,{A:()=>a});var i=e(3363);function r(t,n){return function(){(0,i.Ts)(this,t).delay=+n.apply(this,arguments)}}function o(t,n){return n=+n,function(){(0,i.Ts)(this,t).delay=n}}function a(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?r:o)(n,t)):(0,i.Jt)(this.node(),n).delay}},1392:(t,n,e)=>{e.d(n,{A:()=>a});var i=e(6561),r=e(9065),o=e(106);function a(){var t,n,e=(0,o.A)().unknown(void 0),s=e.domain,u=e.range,c=0,l=1,h=!1,f=0,p=0,d=.5;function y(){var e=s().length,r=l<c,o=r?l:c,a=r?c:l;t=(a-o)/Math.max(1,e-f+2*p),h&&(t=Math.floor(t)),o+=(a-o-t*(e-f))*d,n=t*(1-f),h&&(o=Math.round(o),n=Math.round(n));var y=(0,i.A)(e).map((function(n){return o+t*n}));return u(r?y.reverse():y)}return delete e.unknown,e.domain=function(t){return arguments.length?(s(t),y()):s()},e.range=function(t){return arguments.length?([c,l]=t,c=+c,l=+l,y()):[c,l]},e.rangeRound=function(t){return[c,l]=t,c=+c,l=+l,h=!0,y()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(h=!!t,y()):h},e.padding=function(t){return arguments.length?(f=Math.min(1,p=+t),y()):f},e.paddingInner=function(t){return arguments.length?(f=Math.min(1,t),y()):f},e.paddingOuter=function(t){return arguments.length?(p=+t,y()):p},e.align=function(t){return arguments.length?(d=Math.max(0,Math.min(1,t)),y()):d},e.copy=function(){return a(s(),[c,l]).round(h).paddingInner(f).paddingOuter(p).align(d)},r.C.apply(y(),arguments)}},1407:(t,n,e)=>{function i(t,n,e,i,r,o){var a,s=t[0],u=t[1],c=0,l=1,h=n[0]-s,f=n[1]-u;if(a=e-s,h||!(a>0)){if(a/=h,h<0){if(a<c)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>c&&(c=a)}if(a=r-s,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>c&&(c=a)}else if(h>0){if(a<c)return;a<l&&(l=a)}if(a=i-u,f||!(a>0)){if(a/=f,f<0){if(a<c)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>c&&(c=a)}if(a=o-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>c&&(c=a)}else if(f>0){if(a<c)return;a<l&&(l=a)}return c>0&&(t[0]=s+c*h,t[1]=u+c*f),l<1&&(n[0]=s+l*h,n[1]=u+l*f),!0}}}}}e.d(n,{A:()=>i})},1429:(t,n,e)=>{e.d(n,{A:()=>a});var i=e(3663),r=e(574);function o(){return null}function a(t,n){var e="function"==typeof t?t:(0,i.A)(t),a=null==n?o:"function"==typeof n?n:(0,r.A)(n);return this.select((function(){return this.insertBefore(e.apply(this,arguments),a.apply(this,arguments)||null)}))}},1438:(t,n,e)=>{e.d(n,{A:()=>y});var i=e(4798),r=e(4181),o=e(1768),a=e(8018),s=e(4994),u=e(1098),c=e(5922),l=e(6122),h=e(2449),f=e(7075),p=(0,l.G)({point:function(t,n){this.stream.point(t*u.F2,n*u.F2)}});function d(t,n,e,i,r,o){if(!o)return function(t,n,e,i,r){function o(o,a){return[n+t*(o*=i),e-t*(a*=r)]}return o.invert=function(o,a){return[(o-n)/t*i,(e-a)/t*r]},o}(t,n,e,i,r);var a=(0,u.gn)(o),s=(0,u.F8)(o),c=a*t,l=s*t,h=a/t,f=s/t,p=(s*e-a*n)/t,d=(s*n+a*e)/t;function y(t,o){return[c*(t*=i)-l*(o*=r)+n,e-l*t-c*o]}return y.invert=function(t,n){return[i*(h*t-f*n+p),r*(d-f*t-h*n)]},y}function y(t){return function(t){var n,e,y,v,_,g,A,m,x,w,b=150,M=480,N=250,k=0,T=0,S=0,E=0,j=0,P=0,O=1,C=1,F=null,R=i.A,z=null,$=s.A,q=.5;function L(t){return m(t[0]*u.F2,t[1]*u.F2)}function D(t){return(t=m.invert(t[0],t[1]))&&[t[0]*u.uj,t[1]*u.uj]}function I(){var t=d(b,0,0,O,C,P).apply(null,n(k,T)),i=d(b,M-t[0],N-t[1],O,C,P);return e=(0,c.y)(S,E,j),A=(0,a.A)(n,i),m=(0,a.A)(e,A),g=(0,f.A)(A,q),B()}function B(){return x=w=null,L}return L.stream=function(t){return x&&w===t?x:x=p(function(t){return(0,l.G)({point:function(n,e){var i=t(n,e);return this.stream.point(i[0],i[1])}})}(e)(R(g($(w=t)))))},L.preclip=function(t){return arguments.length?(R=t,F=void 0,B()):R},L.postclip=function(t){return arguments.length?($=t,z=y=v=_=null,B()):$},L.clipAngle=function(t){return arguments.length?(R=+t?(0,r.A)(F=t*u.F2):(F=null,i.A),B()):F*u.uj},L.clipExtent=function(t){return arguments.length?($=null==t?(z=y=v=_=null,s.A):(0,o.A)(z=+t[0][0],y=+t[0][1],v=+t[1][0],_=+t[1][1]),B()):null==z?null:[[z,y],[v,_]]},L.scale=function(t){return arguments.length?(b=+t,I()):b},L.translate=function(t){return arguments.length?(M=+t[0],N=+t[1],I()):[M,N]},L.center=function(t){return arguments.length?(k=t[0]%360*u.F2,T=t[1]%360*u.F2,I()):[k*u.uj,T*u.uj]},L.rotate=function(t){return arguments.length?(S=t[0]%360*u.F2,E=t[1]%360*u.F2,j=t.length>2?t[2]%360*u.F2:0,I()):[S*u.uj,E*u.uj,j*u.uj]},L.angle=function(t){return arguments.length?(P=t%360*u.F2,I()):P*u.uj},L.reflectX=function(t){return arguments.length?(O=t?-1:1,I()):O<0},L.reflectY=function(t){return arguments.length?(C=t?-1:1,I()):C<0},L.precision=function(t){return arguments.length?(g=(0,f.A)(A,q=t*t),B()):(0,u.RZ)(q)},L.fitExtent=function(t,n){return(0,h.sp)(L,t,n)},L.fitSize=function(t,n){return(0,h.Hv)(L,t,n)},L.fitWidth=function(t,n){return(0,h.G0)(L,t,n)},L.fitHeight=function(t,n){return(0,h.FL)(L,t,n)},function(){return n=t.apply(this,arguments),L.invert=n.invert&&D,I()}}((function(){return t}))()}},1454:(t,n,e)=>{function i(t,n){let e,i;if(void 0===n)for(const n of t)null!=n&&(void 0===e?n>=n&&(e=i=n):(e>n&&(e=n),i<n&&(i=n)));else{let r=-1;for(let o of t)null!=(o=n(o,++r,t))&&(void 0===e?o>=o&&(e=i=o):(e>o&&(e=o),i<o&&(i=o)))}return[e,i]}e.d(n,{A:()=>i})},1463:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(29);function r(t,n,e){var r=new i.M4;return n=null==n?0:+n,r.restart((e=>{r.stop(),t(e+n)}),n,e),r}},1468:(t,n,e)=>{e.d(n,{fu:()=>s});var i=e(3004),r=e(3357),o=e(7605);function a(t){return function(n,e,i){return 2===arguments.length&&"function"==typeof e&&(i=e,e=void 0),(0,o.A)(n,e).then((function(n){return t(n,i)}))}}var s=a(i.sw);a(r.Nu)},1539:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(975);function r(t,n,e){var r,o,a,s,u,c,l,h=this._x0,f=this._y0,p=this._x1,d=this._y1,y=[],v=this._root;for(v&&y.push(new i.A(v,h,f,p,d)),null==e?e=1/0:(h=t-e,f=n-e,p=t+e,d=n+e,e*=e);c=y.pop();)if(!(!(v=c.node)||(o=c.x0)>p||(a=c.y0)>d||(s=c.x1)<h||(u=c.y1)<f))if(v.length){var _=(o+s)/2,g=(a+u)/2;y.push(new i.A(v[3],_,g,s,u),new i.A(v[2],o,g,_,u),new i.A(v[1],_,a,s,g),new i.A(v[0],o,a,_,g)),(l=(n>=g)<<1|t>=_)&&(c=y[y.length-1],y[y.length-1]=y[y.length-1-l],y[y.length-1-l]=c)}else{var A=t-+this._x.call(null,v.data),m=n-+this._y.call(null,v.data),x=A*A+m*m;if(x<e){var w=Math.sqrt(e=x);h=t-w,f=n-w,p=t+w,d=n+w,r=v.data}}return r}},1541:(t,n,e)=>{e(6856),e(622),e(9646)},1601:t=>{t.exports=function(t){return t[1]}},1631:(t,n,e)=>{e.d(n,{A:()=>r});var i=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function r(t){if(!(n=i.exec(t)))throw new Error("invalid format: "+t);var n;return new o({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}r.prototype=o.prototype,o.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}},1636:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(4644);function r(t){if(null==t)return i.A;var n,e,r=t.scale[0],o=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,i){i||(n=e=0);var u=2,c=t.length,l=new Array(c);for(l[0]=(n+=t[0])*r+a,l[1]=(e+=t[1])*o+s;u<c;)l[u]=t[u],++u;return l}}},1683:(t,n,e)=>{e.d(n,{A:()=>a});var i=e(747),r=e(9064),o=e(3363);function a(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=(0,i.A)(t));for(var a=this._groups,s=a.length,u=[],c=[],l=0;l<s;++l)for(var h,f=a[l],p=f.length,d=0;d<p;++d)if(h=f[d]){for(var y,v=t.call(h,h.__data__,d,f),_=(0,o.Jt)(h,e),g=0,A=v.length;g<A;++g)(y=v[g])&&(0,o.Ay)(y,n,e,g,v,_);u.push(v),c.push(h)}return new r.eB(u,c,n,e)}},1712:(t,n,e)=>{function i(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function r(){return this.each(i)}e.d(n,{A:()=>r})},1721:(t,n,e)=>{e.d(n,{A:()=>v});var i=e(6946),r=e(1631),o=e(8701),a=e(8206),s=e(1052),u=e(9065);function c(t){return Math.log(t)}function l(t){return Math.exp(t)}function h(t){return-Math.log(-t)}function f(t){return-Math.exp(-t)}function p(t){return isFinite(t)?+("1e"+t):t<0?0:t}function d(t){return(n,e)=>-t(-n,e)}function y(t){const n=t(c,l),e=n.domain;let s,u,y=10;function v(){return s=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),n=>Math.log(n)/t)}(y),u=function(t){return 10===t?p:t===Math.E?Math.exp:n=>Math.pow(t,n)}(y),e()[0]<0?(s=d(s),u=d(u),t(h,f)):t(c,l),n}return n.base=function(t){return arguments.length?(y=+t,v()):y},n.domain=function(t){return arguments.length?(e(t),v()):e()},n.ticks=t=>{const n=e();let r=n[0],o=n[n.length-1];const a=o<r;a&&([r,o]=[o,r]);let c,l,h=s(r),f=s(o);const p=null==t?10:+t;let d=[];if(!(y%1)&&f-h<p){if(h=Math.floor(h),f=Math.ceil(f),r>0){for(;h<=f;++h)for(c=1;c<y;++c)if(l=h<0?c/u(-h):c*u(h),!(l<r)){if(l>o)break;d.push(l)}}else for(;h<=f;++h)for(c=y-1;c>=1;--c)if(l=h>0?c/u(-h):c*u(h),!(l<r)){if(l>o)break;d.push(l)}2*d.length<p&&(d=(0,i.Ay)(r,o,p))}else d=(0,i.Ay)(h,f,Math.min(f-h,p)).map(u);return a?d.reverse():d},n.tickFormat=(t,e)=>{if(null==t&&(t=10),null==e&&(e=10===y?"s":","),"function"!=typeof e&&(y%1||null!=(e=(0,r.A)(e)).precision||(e.trim=!0),e=(0,o.GP)(e)),t===1/0)return e;const i=Math.max(1,y*t/n.ticks().length);return t=>{let n=t/u(Math.round(s(t)));return n*y<y-.5&&(n*=y),n<=i?e(t):""}},n.nice=()=>e((0,a.A)(e(),{floor:t=>u(Math.floor(s(t))),ceil:t=>u(Math.ceil(s(t)))})),n}function v(){const t=y((0,s.Gu)()).domain([1,10]);return t.copy=()=>(0,s.C)(t,v()).base(t.base()),u.C.apply(t,arguments),t}},1728:(t,n,e)=>{function i(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}e.d(n,{A:()=>i})},1734:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(7235);function r(t){return Math.max(0,-(0,i.A)(Math.abs(t)))}},1768:(t,n,e)=>{e.d(n,{A:()=>l});var i=e(1098),r=e(5179),o=e(1407),a=e(4351),s=e(7094),u=1e9,c=-u;function l(t,n,e,l){function h(i,r){return t<=i&&i<=e&&n<=r&&r<=l}function f(i,r,o,a){var s=0,u=0;if(null==i||(s=p(i,o))!==(u=p(r,o))||y(i,r)<0^o>0)do{a.point(0===s||3===s?t:e,s>1?l:n)}while((s=(s+o+4)%4)!==u);else a.point(r[0],r[1])}function p(r,o){return(0,i.tn)(r[0]-t)<i.Ni?o>0?0:3:(0,i.tn)(r[0]-e)<i.Ni?o>0?2:1:(0,i.tn)(r[1]-n)<i.Ni?o>0?1:0:o>0?3:2}function d(t,n){return y(t.x,n.x)}function y(t,n){var e=p(t,1),i=p(n,1);return e!==i?e-i:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(i){var p,y,v,_,g,A,m,x,w,b,M,N=i,k=(0,r.A)(),T={point:S,lineStart:function(){T.point=E,y&&y.push(v=[]);b=!0,w=!1,m=x=NaN},lineEnd:function(){p&&(E(_,g),A&&w&&k.rejoin(),p.push(k.result()));T.point=S,w&&N.lineEnd()},polygonStart:function(){N=k,p=[],y=[],M=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=y.length;e<i;++e)for(var r,o,a=y[e],s=1,u=a.length,c=a[0],h=c[0],f=c[1];s<u;++s)r=h,o=f,h=(c=a[s])[0],f=c[1],o<=l?f>l&&(h-r)*(l-o)>(f-o)*(t-r)&&++n:f<=l&&(h-r)*(l-o)<(f-o)*(t-r)&&--n;return n}(),e=M&&n,r=(p=(0,s.A)(p)).length;(e||r)&&(i.polygonStart(),e&&(i.lineStart(),f(null,null,1,i),i.lineEnd()),r&&(0,a.A)(p,d,n,f,i),i.polygonEnd());N=i,p=y=v=null}};function S(t,n){h(t,n)&&N.point(t,n)}function E(i,r){var a=h(i,r);if(y&&v.push([i,r]),b)_=i,g=r,A=a,b=!1,a&&(N.lineStart(),N.point(i,r));else if(a&&w)N.point(i,r);else{var s=[m=Math.max(c,Math.min(u,m)),x=Math.max(c,Math.min(u,x))],f=[i=Math.max(c,Math.min(u,i)),r=Math.max(c,Math.min(u,r))];(0,o.A)(s,f,t,n,e,l)?(w||(N.lineStart(),N.point(s[0],s[1])),N.point(f[0],f[1]),a||N.lineEnd(),M=!1):a&&(N.lineStart(),N.point(i,r),M=!1)}m=i,x=r,w=a}return T}}},1792:(t,n,e)=>{e.d(n,{A:()=>i});const i={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},1838:(t,n,e)=>{e.d(n,{A:()=>r});var i=e(4552);const r={draw(t,n){const e=(0,i.RZ)(n),r=-e/2;t.rect(r,r,e,e)}}},1852:(t,n,e)=>{e.d(n,{A:()=>o,D:()=>r});var i=180/Math.PI,r={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function o(t,n,e,r,o,a){var s,u,c;return(s=Math.sqrt(t*t+n*n))&&(t/=s,n/=s),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(u=Math.sqrt(e*e+r*r))&&(e/=u,r/=u,c/=u),t*r<n*e&&(t=-t,n=-n,c=-c,s=-s),{translateX:o,translateY:a,rotate:Math.atan2(n,t)*i,skewX:Math.atan(c)*i,scaleX:s,scaleY:u}}},1866:(t,n,e)=>{e.d(n,{A:()=>a});var i=e(5204),r=e(3520),o=e(3554);const a={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:i.A,e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>(0,o.A)(100*t,n),r:o.A,s:r.A,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)}},1882:(t,n,e)=>{e.d(n,{Ay:()=>D,LN:()=>q,zr:()=>$});var i=e(7952),r=e(9713),o=e(7408),a=e(7867),s=e(9734),u=e(8664),c=e(4916),l=e(2672),h=e(5232),f=e(7610),p=e(4510),d=e(2920),y=e(5152),v=e(3455),_=e(4784),g=e(165),A=e(807),m=e(2901),x=e(7339),w=e(3683),b=e(461),M=e(8235),N=e(7499),k=e(697),T=e(2582),S=e(9215),E=e(8072),j=e(1429),P=e(3900),O=e(9063),C=e(9433),F=e(5233),R=e(202),z=e(1322),$=[null];function q(t,n){this._groups=t,this._parents=n}function L(){return new q([[document.documentElement]],$)}q.prototype=L.prototype={constructor:q,select:i.A,selectAll:r.A,selectChild:o.A,selectChildren:a.A,filter:s.A,data:u.A,enter:c.A,exit:l.A,join:h.A,merge:f.A,selection:function(){return this},order:p.A,sort:d.A,call:y.A,nodes:v.A,node:_.A,size:g.A,empty:A.A,each:m.A,attr:x.A,style:w.A,property:b.A,classed:M.A,text:N.A,html:k.A,raise:T.A,lower:S.A,append:E.A,insert:j.A,remove:P.A,clone:O.A,datum:C.A,on:F.A,dispatch:R.A,[Symbol.iterator]:z.A};const D=L},1907:(t,n,e)=>{function i(t,n){let e=0;if(void 0===n)for(let n of t)(n=+n)&&(e+=n);else{let i=-1;for(let r of t)(r=+n(r,++i,t))&&(e+=r)}return e}e.d(n,{A:()=>i})},1943:(t,n,e)=>{e.d(n,{A:()=>A});var i=e(1089),r=e(9274),o=e(5835),a=e(183),s=e(5970),u=e(9902),c=e(440),l=e(4430),h=e(3578),f=e(563);function p(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function d(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function y(){return this.__zoom||h.D_}function v(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function _(){return navigator.maxTouchPoints||"ontouchstart"in this}function g(t,n,e){var i=t.invertX(n[0][0])-e[0][0],r=t.invertX(n[1][0])-e[1][0],o=t.invertY(n[0][1])-e[0][1],a=t.invertY(n[1][1])-e[1][1];return t.translate(r>i?(i+r)/2:Math.min(0,i)||Math.max(0,r),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function A(){var t,n,e,A=p,m=d,x=g,w=v,b=_,M=[0,1/0],N=[[-1/0,-1/0],[1/0,1/0]],k=250,T=o.A,S=(0,i.A)("start","zoom","end"),E=0,j=10;function P(t){t.property("__zoom",y).on("wheel.zoom",q,{passive:!1}).on("mousedown.zoom",L).on("dblclick.zoom",D).filter(b).on("touchstart.zoom",I).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",Z).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function O(t,n){return(n=Math.max(M[0],Math.min(M[1],n)))===t.k?t:new h.dL(n,t.x,t.y)}function C(t,n,e){var i=n[0]-e[0]*t.k,r=n[1]-e[1]*t.k;return i===t.x&&r===t.y?t:new h.dL(t.k,i,r)}function F(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function R(t,n,e,i){t.on("start.zoom",(function(){z(this,arguments).event(i).start()})).on("interrupt.zoom end.zoom",(function(){z(this,arguments).event(i).end()})).tween("zoom",(function(){var t=this,r=arguments,o=z(t,r).event(i),a=m.apply(t,r),s=null==e?F(a):"function"==typeof e?e.apply(t,r):e,u=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),c=t.__zoom,l="function"==typeof n?n.apply(t,r):n,f=T(c.invert(s).concat(u/c.k),l.invert(s).concat(u/l.k));return function(t){if(1===t)t=l;else{var n=f(t),e=u/n[2];t=new h.dL(e,s[0]-n[0]*e,s[1]-n[1]*e)}o.zoom(null,t)}}))}function z(t,n,e){return!e&&t.__zooming||new $(t,n)}function $(t,n){this.that=t,this.args=n,this.active=0,this.sourceEvent=null,this.extent=m.apply(t,n),this.taps=0}function q(t,...n){if(A.apply(this,arguments)){var e=z(this,n).event(t),i=this.__zoom,r=Math.max(M[0],Math.min(M[1],i.k*Math.pow(2,w.apply(this,arguments)))),o=(0,s.A)(t);if(e.wheel)e.mouse[0][0]===o[0]&&e.mouse[0][1]===o[1]||(e.mouse[1]=i.invert(e.mouse[0]=o)),clearTimeout(e.wheel);else{if(i.k===r)return;e.mouse=[o,i.invert(o)],(0,u.G)(this),e.start()}(0,f.A)(t),e.wheel=setTimeout((function(){e.wheel=null,e.end()}),150),e.zoom("mouse",x(C(O(i,r),e.mouse[0],e.mouse[1]),e.extent,N))}}function L(t,...n){if(!e&&A.apply(this,arguments)){var i=t.currentTarget,o=z(this,n,!0).event(t),c=(0,a.A)(t.view).on("mousemove.zoom",(function(t){if((0,f.A)(t),!o.moved){var n=t.clientX-h,e=t.clientY-p;o.moved=n*n+e*e>E}o.event(t).zoom("mouse",x(C(o.that.__zoom,o.mouse[0]=(0,s.A)(t,i),o.mouse[1]),o.extent,N))}),!0).on("mouseup.zoom",(function(t){c.on("mousemove.zoom mouseup.zoom",null),(0,r.y)(t.view,o.moved),(0,f.A)(t),o.event(t).end()}),!0),l=(0,s.A)(t,i),h=t.clientX,p=t.clientY;(0,r.A)(t.view),(0,f.G)(t),o.mouse=[l,this.__zoom.invert(l)],(0,u.G)(this),o.start()}}function D(t,...n){if(A.apply(this,arguments)){var e=this.__zoom,i=(0,s.A)(t.changedTouches?t.changedTouches[0]:t,this),r=e.invert(i),o=e.k*(t.shiftKey?.5:2),u=x(C(O(e,o),i,r),m.apply(this,n),N);(0,f.A)(t),k>0?(0,a.A)(this).transition().duration(k).call(R,u,i,t):(0,a.A)(this).call(P.transform,u,i,t)}}function I(e,...i){if(A.apply(this,arguments)){var r,o,a,c,l=e.touches,h=l.length,p=z(this,i,e.changedTouches.length===h).event(e);for((0,f.G)(e),o=0;o<h;++o)a=l[o],c=[c=(0,s.A)(a,this),this.__zoom.invert(c),a.identifier],p.touch0?p.touch1||p.touch0[2]===c[2]||(p.touch1=c,p.taps=0):(p.touch0=c,r=!0,p.taps=1+!!t);t&&(t=clearTimeout(t)),r&&(p.taps<2&&(n=c[0],t=setTimeout((function(){t=null}),500)),(0,u.G)(this),p.start())}}function B(t,...n){if(this.__zooming){var e,i,r,o,a=z(this,n).event(t),u=t.changedTouches,c=u.length;for((0,f.A)(t),e=0;e<c;++e)i=u[e],r=(0,s.A)(i,this),a.touch0&&a.touch0[2]===i.identifier?a.touch0[0]=r:a.touch1&&a.touch1[2]===i.identifier&&(a.touch1[0]=r);if(i=a.that.__zoom,a.touch1){var l=a.touch0[0],h=a.touch0[1],p=a.touch1[0],d=a.touch1[1],y=(y=p[0]-l[0])*y+(y=p[1]-l[1])*y,v=(v=d[0]-h[0])*v+(v=d[1]-h[1])*v;i=O(i,Math.sqrt(y/v)),r=[(l[0]+p[0])/2,(l[1]+p[1])/2],o=[(h[0]+d[0])/2,(h[1]+d[1])/2]}else{if(!a.touch0)return;r=a.touch0[0],o=a.touch0[1]}a.zoom("touch",x(C(i,r,o),a.extent,N))}}function Z(t,...i){if(this.__zooming){var r,o,u=z(this,i).event(t),c=t.changedTouches,l=c.length;for((0,f.G)(t),e&&clearTimeout(e),e=setTimeout((function(){e=null}),500),r=0;r<l;++r)o=c[r],u.touch0&&u.touch0[2]===o.identifier?delete u.touch0:u.touch1&&u.touch1[2]===o.identifier&&delete u.touch1;if(u.touch1&&!u.touch0&&(u.touch0=u.touch1,delete u.touch1),u.touch0)u.touch0[1]=this.__zoom.invert(u.touch0[0]);else if(u.end(),2===u.taps&&(o=(0,s.A)(o,this),Math.hypot(n[0]-o[0],n[1]-o[1])<j)){var h=(0,a.A)(this).on("dblclick.zoom");h&&h.apply(this,arguments)}}}return P.transform=function(t,n,e,i){var r=t.selection?t.selection():t;r.property("__zoom",y),t!==r?R(t,n,e,i):r.interrupt().each((function(){z(this,arguments).event(i).start().zoom(null,"function"==typeof n?n.apply(this,arguments):n).end()}))},P.scaleBy=function(t,n,e,i){P.scaleTo(t,(function(){return this.__zoom.k*("function"==typeof n?n.apply(this,arguments):n)}),e,i)},P.scaleTo=function(t,n,e,i){P.transform(t,(function(){var t=m.apply(this,arguments),i=this.__zoom,r=null==e?F(t):"function"==typeof e?e.apply(this,arguments):e,o=i.invert(r),a="function"==typeof n?n.apply(this,arguments):n;return x(C(O(i,a),r,o),t,N)}),e,i)},P.translateBy=function(t,n,e,i){P.transform(t,(function(){return x(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof e?e.apply(this,arguments):e),m.apply(this,arguments),N)}),null,i)},P.translateTo=function(t,n,e,i,r){P.transform(t,(function(){var t=m.apply(this,arguments),r=this.__zoom,o=null==i?F(t):"function"==typeof i?i.apply(this,arguments):i;return x(h.D_.translate(o[0],o[1]).scale(r.k).translate("function"==typeof n?-n.apply(this,arguments):-n,"function"==typeof e?-e.apply(this,arguments):-e),t,N)}),i,r)},$.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,n){return this.mouse&&"mouse"!==t&&(this.mouse[1]=n.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=n.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=n.invert(this.touch1[0])),this.that.__zoom=n,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var n=(0,a.A)(this.that).datum();S.call(t,this.that,new l.A(t,{sourceEvent:this.sourceEvent,target:P,type:t,transform:this.that.__zoom,dispatch:S}),n)}},P.wheelDelta=function(t){return arguments.length?(w="function"==typeof t?t:(0,c.A)(+t),P):w},P.filter=function(t){return arguments.length?(A="function"==typeof t?t:(0,c.A)(!!t),P):A},P.touchable=function(t){return arguments.length?(b="function"==typeof t?t:(0,c.A)(!!t),P):b},P.extent=function(t){return arguments.length?(m="function"==typeof t?t:(0,c.A)([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),P):m},P.scaleExtent=function(t){return arguments.length?(M[0]=+t[0],M[1]=+t[1],P):[M[0],M[1]]},P.translateExtent=function(t){return arguments.length?(N[0][0]=+t[0][0],N[1][0]=+t[1][0],N[0][1]=+t[0][1],N[1][1]=+t[1][1],P):[[N[0][0],N[0][1]],[N[1][0],N[1][1]]]},P.constrain=function(t){return arguments.length?(x=t,P):x},P.duration=function(t){return arguments.length?(k=+t,P):k},P.interpolate=function(t){return arguments.length?(T=t,P):T},P.on=function(){var t=S.on.apply(S,arguments);return t===S?P:t},P.clickDistance=function(t){return arguments.length?(E=(t=+t)*t,P):Math.sqrt(E)},P.tapDistance=function(t){return arguments.length?(j=+t,P):j},P}},1955:(t,n,e)=>{e.d(n,{A:()=>u});var i=e(1089),r=e(29),o=e(4856);var a=10,s=Math.PI*(3-Math.sqrt(5));function u(t){var n,e=1,u=.001,c=1-Math.pow(u,1/300),l=0,h=.6,f=new Map,p=(0,r.O1)(v),d=(0,i.A)("tick","end"),y=(0,o.A)();function v(){_(),d.call("tick",n),e<u&&(p.stop(),d.call("end",n))}function _(i){var r,o,a=t.length;void 0===i&&(i=1);for(var s=0;s<i;++s)for(e+=(l-e)*c,f.forEach((function(t){t(e)})),r=0;r<a;++r)null==(o=t[r]).fx?o.x+=o.vx*=h:(o.x=o.fx,o.vx=0),null==o.fy?o.y+=o.vy*=h:(o.y=o.fy,o.vy=0);return n}function g(){for(var n,e=0,i=t.length;e<i;++e){if((n=t[e]).index=e,null!=n.fx&&(n.x=n.fx),null!=n.fy&&(n.y=n.fy),isNaN(n.x)||isNaN(n.y)){var r=a*Math.sqrt(.5+e),o=e*s;n.x=r*Math.cos(o),n.y=r*Math.sin(o)}(isNaN(n.vx)||isNaN(n.vy))&&(n.vx=n.vy=0)}}function A(n){return n.initialize&&n.initialize(t,y),n}return null==t&&(t=[]),g(),n={tick:_,restart:function(){return p.restart(v),n},stop:function(){return p.stop(),n},nodes:function(e){return arguments.length?(t=e,g(),f.forEach(A),n):t},alpha:function(t){return arguments.length?(e=+t,n):e},alphaMin:function(t){return arguments.length?(u=+t,n):u},alphaDecay:function(t){return arguments.length?(c=+t,n):+c},alphaTarget:function(t){return arguments.length?(l=+t,n):l},velocityDecay:function(t){return arguments.length?(h=1-t,n):1-h},randomSource:function(t){return arguments.length?(y=t,f.forEach(A),n):y},force:function(t,e){return arguments.length>1?(null==e?f.delete(t):f.set(t,A(e)),n):f.get(t)},find:function(n,e,i){var r,o,a,s,u,c=0,l=t.length;for(null==i?i=1/0:i*=i,c=0;c<l;++c)(a=(r=n-(s=t[c]).x)*r+(o=e-s.y)*o)<i&&(u=s,i=a);return u},on:function(t,e){return arguments.length>1?(d.on(t,e),n):d.on(t)}}}},1957:(t,n,e)=>{e.d(n,{I:()=>s,T:()=>a});var i=e(8981),r=e(1226);function o(t,n,e,r){function o(t){return t.length?t.pop()+" ":""}return function(a,s){var u=[],c=[];return a=t(a),s=t(s),function(t,r,o,a,s,u){if(t!==o||r!==a){var c=s.push("translate(",null,n,null,e);u.push({i:c-4,x:(0,i.A)(t,o)},{i:c-2,x:(0,i.A)(r,a)})}else(o||a)&&s.push("translate("+o+n+a+e)}(a.translateX,a.translateY,s.translateX,s.translateY,u,c),function(t,n,e,a){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),a.push({i:e.push(o(e)+"rotate(",null,r)-2,x:(0,i.A)(t,n)})):n&&e.push(o(e)+"rotate("+n+r)}(a.rotate,s.rotate,u,c),function(t,n,e,a){t!==n?a.push({i:e.push(o(e)+"skewX(",null,r)-2,x:(0,i.A)(t,n)}):n&&e.push(o(e)+"skewX("+n+r)}(a.skewX,s.skewX,u,c),function(t,n,e,r,a,s){if(t!==e||n!==r){var u=a.push(o(a)+"scale(",null,",",null,")");s.push({i:u-4,x:(0,i.A)(t,e)},{i:u-2,x:(0,i.A)(n,r)})}else 1===e&&1===r||a.push(o(a)+"scale("+e+","+r+")")}(a.scaleX,a.scaleY,s.scaleX,s.scaleY,u,c),a=s=null,function(t){for(var n,e=-1,i=c.length;++e<i;)u[(n=c[e]).i]=n.x(t);return u.join("")}}}var a=o(r.P,"px, ","px)","deg)"),s=o(r.i,", ",")",")")},1990:(t,n,e)=>{e.d(n,{A:()=>s});var i=e(4855),r=e(2016),o=e(2902),a=e(9065);function s(){var t,n=[],e=[],u=[];function c(){var t=0,r=Math.max(1,e.length);for(u=new Array(r-1);++t<r;)u[t-1]=(0,i.Z4)(n,t/r);return l}function l(n){return null==n||isNaN(n=+n)?t:e[(0,r.Ay)(u,n)]}return l.invertExtent=function(t){var i=e.indexOf(t);return i<0?[NaN,NaN]:[i>0?u[i-1]:n[0],i<u.length?u[i]:n[n.length-1]]},l.domain=function(t){if(!arguments.length)return n.slice();n=[];for(let e of t)null==e||isNaN(e=+e)||n.push(e);return n.sort(o.A),c()},l.range=function(t){return arguments.length?(e=Array.from(t),c()):e.slice()},l.unknown=function(n){return arguments.length?(t=n,l):t},l.quantiles=function(){return u.slice()},l.copy=function(){return s().domain(n).range(e).unknown(t)},a.C.apply(l,arguments)}},1992:(t,n,e)=>{e.d(n,{A:()=>s});var i=e(6561),r=e(2080);function o(t,n,e){var o=(0,i.A)(t,n-r.Ni,e).concat(n);return function(t){return o.map((function(n){